Gateway module to access different types of databases
First Claim
1. A method comprising:
- under control of one or more processors configured with instructions to perform acts comprising;
receiving, at a gateway module, a command to perform an action to data that is stored in a field of a database;
determining configuration data associated with the database, the configuration data including one or more business rules that specify;
characteristics of the field that indicate a type of the data that is stored in the field, andhow to read from the field and write to the field;
determining, based on the configuration data, a set of commands to perform the action to the data;
determining that the set of commands is valid based on the characteristics of the field;
sending the set of commands to the database;
receiving a result of sending the set of commands to the database; and
determining that the result satisfies a condition to trigger an additional command that is associated with additional data stored in an additional field of the database.
1 Assignment
0 Petitions
Accused Products
Abstract
Some implementations may include a gateway module to receive, from a software application, a command to perform an action to a database. The gateway module may translate the command to create a translated command based on configuration data associated with the database. The configuration data may enable the gateway module to determine how to perform the action to the database. The gateway module may determine whether the translated command is valid based on the configuration data. If the translated command is valid, the gateway module may send the translated command to the database. The gateway module may receive a result of performing the translated command from the database. The gateway module may determine, based on the translated command, the result, or both, whether conditions associated with a triggered command are satisfied (e.g., met). If the conditions are satisfied, the gateway module may send the triggered command to the gateway module.
-
Citations
25 Claims
-
1. A method comprising:
-
under control of one or more processors configured with instructions to perform acts comprising; receiving, at a gateway module, a command to perform an action to data that is stored in a field of a database; determining configuration data associated with the database, the configuration data including one or more business rules that specify; characteristics of the field that indicate a type of the data that is stored in the field, and how to read from the field and write to the field; determining, based on the configuration data, a set of commands to perform the action to the data; determining that the set of commands is valid based on the characteristics of the field; sending the set of commands to the database; receiving a result of sending the set of commands to the database; and determining that the result satisfies a condition to trigger an additional command that is associated with additional data stored in an additional field of the database. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computing device comprising:
-
one or more processors; one or more computer-readable storage media storing instructions executable by the one or more processors to perform acts comprising; receiving, from a software application, a first command to perform a first action on a portion of a database, wherein the first command is written in a first language that uses a lightweight data interchange format; determining configuration data associated with the database; translating the first command based on the configuration data to create a first translated command in a second language that uses a relational database language format; determining that the first translated command is valid; sending the first translated command to the database; receiving a result of performing the first translated command to the database; determining that the result of performing the first translated command satisfies a trigger condition associated with a triggered command; performing the triggered command on a different portion of the database; receiving a second command to perform a second action to a second portion of a second database, wherein the second database comprises a non-relational database, and wherein the second command is written in the first language; translating the second command to create a second translated command in a third language that uses a non-relational database language format; and sending the second translated command to the second database. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. One or more non-transitory computer-readable storage media storing instructions that are executable by one or more processors to perform acts comprising:
-
receiving, from an application, a command to perform an action to a first database of a plurality of databases, the plurality of databases including a relational database and a non-relational database, the first database comprising the relational database, wherein the command uses a lightweight data interchange format; determining first configuration data associated with the first database, the first configuration data including one or more first business rules that specify how the first database is organized and how to access the first database; creating a first translated command based at least partly on the command and the first configuration data; sending the first translated command to the first database based on determining that the first translated command is valid; determining that the first translated command was unsuccessful; performing a corrective action to synchronize the relational database with the non-relational database; determining second configuration data associated with a second database, the second configuration data including one or more second business rules that specify how the second database is organized and how to access the second database; creating a second translated command based at least in part on the command and on the second configuration data; and sending the second translated command to the second database. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. One or more non-transitory computer-readable storage media storing instructions that are executable by one or more processors to perform acts comprising:
-
receiving, from an application, a first command to be performed to a first database, wherein the first command is written in a lightweight data interchange format; identifying configuration data associated with the first database; creating a first translated command corresponding to the first command based on the configuration data; determining that the first translated command is valid based on the configuration data; determining that the first translated command satisfies a condition that triggers an additional command; sending the first translated command to the first database, the first translated command modifying a first portion of the first database; sending the additional command to the first database, the additional command modifying a second portion of the first database that is different from the first portion; receiving, from the application, a second command to be performed to a second database; creating a second translated command corresponding to the second command based on second configuration data associated with the second database; and sending the second translated command to the second database. - View Dependent Claims (21, 22, 23, 24, 25)
-
Specification