CN114996539A - Information processing method, device and equipment - Google Patents

Information processing method, device and equipment Download PDF

Info

Publication number
CN114996539A
CN114996539A CN202210908639.4A CN202210908639A CN114996539A CN 114996539 A CN114996539 A CN 114996539A CN 202210908639 A CN202210908639 A CN 202210908639A CN 114996539 A CN114996539 A CN 114996539A
Authority
CN
China
Prior art keywords
target data
data information
processing
target
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210908639.4A
Other languages
Chinese (zh)
Other versions
CN114996539B (en
Inventor
孟越
田春华
胡坤
张硕
袁文飞
徐地
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunlun Intellectual Exchange Data Technology Beijing Co ltd
Original Assignee
Kunlun Intellectual Exchange Data Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunlun Intellectual Exchange Data Technology Beijing Co ltd filed Critical Kunlun Intellectual Exchange Data Technology Beijing Co ltd
Priority to CN202210908639.4A priority Critical patent/CN114996539B/en
Publication of CN114996539A publication Critical patent/CN114996539A/en
Application granted granted Critical
Publication of CN114996539B publication Critical patent/CN114996539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9032Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides an information processing method, an information processing device and information processing equipment, wherein the method comprises the following steps: acquiring an operation request for operating and processing target data information; the operation request comprises an operation identifier of target data information based on a query language for querying the graph data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types; according to the target identifier, at least two operations of the target data information are placed in a transaction object for operation processing, a processing result is obtained and output; wherein a second operation of the at least two operations of the target data information is implemented based on a result of the first operation. The embodiment of the invention improves the accuracy of information processing based on the query language for querying the image-like data.

Description

Information processing method, device and equipment
Technical Field
The present invention relates to the field of computer information processing technologies, and in particular, to an information processing method, apparatus, and device.
Background
GraphQL (query language for querying graph-like data) is a query language for API (application program interface), but GraphQL query language does not support transactional native of data processing requests; in specific application, the data processing request needs to be operated and processed through a special customized interface; at present, when a data processing request is executed, the graph ql query language can only convert the data processing request into a database for execution, and a plurality of different operations in the data processing request are executed independently, so that the timeliness and the accuracy of a final processing result of the data processing request cannot be ensured; meanwhile, the traditional infrastructure (such as nginx) is difficult to perform gateway problems of traffic segmentation, isolation, monitoring and the like on the GraphQL request.
Disclosure of Invention
The invention provides an information processing method, device and equipment. The processing of the operation instruction based on the GraphQL query language in the transaction object is realized, and the accuracy of the information processing based on the GraphQL language is improved.
To solve the above technical problem, an embodiment of the present invention provides the following solutions:
an information processing method, the method comprising:
acquiring an operation request for operating and processing target data information; the operation request comprises an operation identifier of target data information based on a query language for querying the image data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types;
according to the target identifier, at least two operations of the target data information are placed in a transaction object for operation processing, and a processing result is obtained and output; wherein a second operation of the at least two operations of the target data information is implemented based on a result of the first operation.
Optionally, the target data information operation body includes: and each of the at least two operations of the target data information is operated by the corresponding operation instruction.
Optionally, the preset keyword is a mutation feature keyword for operating the target data information, and the preset keyword and the target identifier are connected by a target connector; the preset instruction type is a directive instruction type.
Optionally, the target identifier is: a transaction identifier.
Optionally, the placing at least two operations of the target data information in one transaction object for operation processing to obtain a processing result includes:
placing operation instructions of at least two operations on the target data information in the transaction object for operation processing to obtain at least two processing results; wherein, the operation instruction of one operation corresponds to one processing result.
Optionally, after obtaining at least two processing results, the method further includes:
detecting the at least two processing results to obtain a detection result;
and returning the at least two processing results to the user according to the detection result.
Optionally, the at least two processing results are returned to the user according to the detection result, which includes one of the following:
when the transaction object exists in the context of the target data information operation body and the detection result indicates that no operation error is generated in the at least two processing results, returning the at least two processing results to the user;
when the transaction object exists in the context of the target data information operation body, the detection result indicates that the transaction object exists in the integrated processing result, and the detection result indicates that an operation error exists in the at least two processing results, rolling back the transaction object;
and when the transaction object does not exist in the context of the target data information operation body, generating target information, wherein the target information is used for indicating the end of the operation of the target data information operation body.
An embodiment of the present invention also provides an information processing apparatus, including:
the acquisition module is used for acquiring an operation request for operating and processing the target data information; the operation request comprises an operation identifier of target data information based on a query language for querying the graph data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types;
the processing module is used for placing at least two operations of the target data information in a transaction object for operation processing according to the target identifier to obtain a processing result and outputting the processing result; wherein a second operation of the at least two operations of the target data information is implemented based on a result of the first operation.
The present invention also provides a computing device comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the corresponding operation of the method.
The present invention also provides a computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to perform the method as described above.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, the operation request for operating and processing the target data information is acquired; the operation request comprises an operation identifier of target data information based on a query language for querying the graph data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types; according to the target identifier, at least two operations of the target data information are placed in a transaction object for operation processing, and a processing result is obtained and output; wherein a second operation of the at least two operations of the target data information is implemented based on a result of the first operation. The information processing based on the query language for querying the graphic data is realized, and the accuracy of the information processing based on the query language for querying the graphic data is improved.
Drawings
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, the present invention provides an information processing method, including:
step 11, acquiring an operation request for performing operation processing on target data information; the operation request comprises an operation identifier of target data information based on a query language for querying the graph data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types;
step 12, according to the target identifier, placing at least two operations of the target data information in a transaction object for operation processing, obtaining and outputting a processing result; wherein a second operation of the at least two operations of the target data information is implemented based on a result of the first operation.
In this embodiment, the operation processing of the target data information is data information processing implemented based on GraphQL (query language for querying graph data); during actual application, a client generates an operation request for processing the target data information based on GraphQL, wherein the operation request comprises an operation identifier of the target data information and an operation body of the target data information; further, the operation identifier of the target data information includes: presetting keywords and target identifiers of preset instruction types;
before the client sends the operation request, preferably, the operation request can be sent to the server in a preset mode after being packaged by a hypertext transfer protocol (HTTP);
when a server receives an operation request of the target data information, the operation request can be intercepted through a first interceptor, and the operation request is analyzed through a preset analyzer, so that a target identifier of the preset instruction type in the operation request is obtained;
creating a transaction object according to the target identifier, and placing at least two operations of the target data information in the transaction object; the transaction object can also be regarded as the same execution operation window of at least two operations of the target data information; at least two operations of the operation body of the target data information form a context of operation processing in the transaction object so as to execute the at least two operations in sequence in the transaction object; placing at least two operations of the target data information into a transaction object for operation processing; so that the continuity of at least two operations of the target data information during execution and the integrity and consistency of the data information before and after execution of different operations are realized; meanwhile, the transaction object can isolate the operation in the transaction object from the operation in other transaction objects except the transaction object, so that the interference of other transaction objects is avoided, the accuracy of a final output result is ensured, the information processing based on GraphQL is realized, and the accuracy and the efficiency of the information processing based on the query of the graphic data are improved;
it should be noted that the Graph ql Query Language is a Query Language for querying Graph (Graph data).
Further, an operation body of the target data information is explained, and the target data information operation body includes: and each of the at least two operations of the target data information is operated by the corresponding operation instruction.
In this embodiment, the operation body of the target data information may include multiple different operations, and the operations may also be regarded as specific operations, and each operation corresponds to a set of operation instructions, and after the server receives the operation request of the target data information, the server executes the operation request of the target data information in the same transaction object according to the operation instruction corresponding to each operation in the operation body;
because various different operations are in the same transaction object, different operations can be executed to jointly complete a transaction function, and the fundamental logical errors of errors among multiple operations caused by the fact that various different operations are not processed in the same transaction object in the prior art are solved, in the embodiment, the operation instructions of various different operations are executed in the same transaction object, so that the operation results of the different operations have logical relations, and the accuracy of the final output result is ensured; when all the different operations are completed, the transaction object processing is indicated to be completed.
Further, the preset keyword is explained as follows: the preset keywords are as follows: a mutation keyword for operating the target data information; the preset keyword and the target identifier can be connected through a target connector;
explaining the type of the preset instruction: the preset instruction type is a directive instruction type of GraphQL; the target identifier may be: a transaction identifier, but is not limited to a transaction identifier;
in this embodiment, the target identifier acts after the mutation key and can be connected by a target connector; preferably, the target connector may be an @ connector;
the preset instruction type may be set after the grammar in any form of the GraphQL query language or the schema language, and may be marked in the sentence of the GraphQL query language or the schema language (that is, marked by the target identifier), for example, when a rotation keyword is marked, the preset instruction type may be expressed as: the transaction is characterized by comprising the following steps of (1) rotation @ translation, so that the functions of expanding and enriching the execution and verification capability of a GraphQL query language or a pattern language and the like are realized, and the operation processing of various different operations based on the GraphQL in the same transaction object is further realized;
it should be noted that, the target identifier may be set in multiple types as the naming parameter type of the preset instruction type, that is, multiple different naming parameter types may be set at the right end of the target connector; in this embodiment, the target identifier is a transaction identifier, and may mark a mutation keyword, so that operation instructions of different operations are executed in the same transaction object, so as to implement a function of executing operations in the same transaction object based on multiple different operations of the GraphQL, and when the target identifier is another identifier, other functions based on the GraphQL are correspondingly implemented.
In an optional embodiment of the present invention, the step 12 may include:
step 121, placing operation instructions of at least two operations on the target data information in the transaction object for operation processing to obtain at least two processing results; wherein, the operation instruction of one operation corresponds to one processing result.
In this embodiment, when at least two operations in the operation request are executed, an operation instruction corresponding to each of the at least two operations is placed in the transaction object, and the operations corresponding to the operation instructions are sequentially operated and processed according to each operation instruction, so that the logicality of various operations and the accuracy of a final output result in the operation processing process are ensured; and when all the different operation instructions are executed, the transaction object is indicated to be processed, and a plurality of different processing results are obtained.
In an optional embodiment of the present invention, after obtaining at least two processing results, the method may further include:
step 122, detecting the at least two processing results to obtain a detection result;
and step 123, returning the at least two processing results to the user according to the detection result.
In this embodiment, the at least two processing results are detected, specifically, the contexts of the operation processing formed by different operations and the execution results of the operation instructions included in the contexts are detected; detecting the context, which may be detecting whether there is a transaction object in the context according to the target identifier; when any operation in the context is detected, detecting according to the execution process of the operation instruction of the operation; that is, if the operation is wrong during execution, the processing result corresponding to the operation is marked as a mistake; if the operation is not wrong during execution, the processing result corresponding to the operation is marked as correct;
when the detection is carried out, the at least two processing results can be intercepted and detected through a preset second interceptor; obtaining a detection result, and feeding back a processing result to a user according to the detection result so as to ensure the accuracy of the feedback processing result;
in an optional embodiment of the present invention, when the at least two processing results are returned to the user, when all the processing results obtained after all the operations are executed are correct, it is determined that the at least two processing results are correct; when the processing results obtained after all operations are executed are only partially correct or are not correct, at least two processing results are determined to be errors.
In an optional embodiment of the present invention, the step 123 may further include one of:
step 123a, when the transaction object exists in the context of the target data information operation body and the detection result indicates that the at least two processing results have no operation error, returning the at least two processing results to the user;
step 123b, rolling back the whole transaction object when the transaction object exists in the context of the target data information operation body and the detection result indicates that an operation error exists in the at least two processing results;
step 123c, when the transaction object does not exist in the context of the target data information operation body, generating target information, where the target information is used to indicate that the operation of the target data information operation body is finished.
In this embodiment, when the detection result indicates that the transaction object exists in the context of the operation processing, and the detection result indicates that there is no operation error in the at least two processing results, that is, when the processing results corresponding to all the operations are marked as correct, the at least two processing results are returned to the user, and the transaction object is submitted at the same time, that is, all the operations in the context of the operation processing are submitted and stored in the database through the transaction object;
when the detection result indicates that there is an operation error in the at least two processing results, at this time, the processing results corresponding to all operations may be marked as errors or the processing results corresponding to part of the operations may be marked as errors, and then the whole transaction object is rolled back;
when the detection result indicates that the transaction object does not exist in the at least two processing results, generating target information, wherein the target information is used for indicating the end of the operation of the target data information operation body, and at the moment, the integrated processing result is not returned to a user, the transaction object is not submitted, and the whole process is directly ended; the accuracy of the feedback result and the accuracy of the stored transaction object are ensured by detecting at least two processing results.
In a specific implementation example of the present invention, the method is described by taking an operation request of 100 yuan for the transfer of four shares, namely zhang san and li as an example:
in this embodiment, the operation request includes two operations, the first operation is: zhang three accounts deduction 100, the second operation is: the money is paid from the lee four account to 100,
the method provided by the above embodiment of the present invention may be implemented by the following codes when processing the two operation requests:
mutation@transaction{
PayAccount (accountId: "Zhang three", amount: 100) retaining opening
accountId
amount
}
takeAccount (accountId: "Liquan", amount: 100) final arch
accountId
amount
}
}
In the above codes, transaction is the target identifier of the mutation keyword, and "@" is the connector between transaction and mutation keyword;
the contents in "payAccount" and "()", "{ }" thereafter are the first operation;
the content in the "takeAccount" and the "()", "{ }" thereafter is the second operation;
the content in the { }' is an operation instruction corresponding to an operation, and the first operation and the second operation are two different operations corresponding to an operation body of an operation request;
placing the first operation and the second operation in the same transaction object, wherein the first operation and the second operation are in the same transaction object at the moment, and a context for performing operation processing on an operation request is formed;
in the same transaction object, performing operation processing according to the respective corresponding operation instruction, and obtaining a processing result corresponding to each operation, where, for example: when the account of lie four in the second operation is frozen and is prohibited to be transferred, an error occurs in the second operation, at this time, because the first operation and the second operation are in the same transaction object, the destination of the account deduction 100 of zhang san should be lie four, but the account of lie four is frozen, the account deduction 100 of zhang san will not succeed, and further, a logical relationship is formed between the first operation and the second operation, so that the accuracy of the operation results of the first operation and the second operation is ensured.
Further, when all the operation processing results of the user are fed back, the processing results can be detected according to the transaction target identifier, and corresponding detection results are obtained:
when the detection result indicates that the context of the operation processing has the transaction object and the detection result indicates that the operation corresponding to the processing result has no operation error, that is, the processing results of all the operations are marked as correct, returning the integrated processing result to the user, and submitting the whole transaction object at the same time, that is, submitting all the operations in the context of the operation processing through the transaction object and storing the operations in the database;
when the detection result indicates that a transaction object exists in the context of operation processing and the detection result indicates that an operation corresponding to the processing result has an operation error, the processing results of the first and second operations may be both marked as an error, or the processing result of the first operation is marked as an error, or the processing result of the second operation is marked as an error, and then the whole transaction object is rolled back;
when the detection result indicates that no transaction object exists in the context of operation processing, target information is generated, wherein the target information is used for indicating the end of the operation of the target data information operation body;
in the embodiment of the invention, different operations in the target data information operation request are placed in the same transaction object for operation through the target identifier, so that the isolation of different transaction objects during processing is realized, and meanwhile, the accuracy of results of different operations is ensured; and the processing result is detected based on the target identifier subsequently, so that the accuracy of the feedback result and the accuracy of the stored transaction object are ensured.
As shown in fig. 2, the present invention also provides an information processing apparatus 20, including:
an obtaining module 21, configured to obtain an operation request for performing operation processing on target data information; the operation request comprises an operation identifier of target data information based on a query language for querying the graph data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types;
the processing module 22 is configured to place at least two operations of the target data information in one transaction object for operation processing according to the target identifier, obtain a processing result, and output the processing result; wherein a second operation of the at least two operations of the target data information is implemented based on a result of the first operation.
Optionally, the target data information operation body includes: and each of the at least two operations of the target data information is operated by the corresponding operation instruction.
Optionally, the preset keyword is a mutation feature keyword for operating the target data information, and the preset keyword and the target identifier are connected by a target connector; the preset instruction type is a directive instruction type.
Optionally, the target identifier is: a transaction identifier.
Optionally, the processing module 22 is specifically configured to:
placing operation instructions of at least two operations on the target data information in the transaction object for operation processing to obtain at least two processing results; wherein, the operation instruction of one operation corresponds to one processing result.
Optionally, after obtaining at least two processing results, the processing module 22 is further configured to:
detecting the at least two processing results to obtain a detection result;
and returning the at least two processing results to the user according to the detection result.
Optionally, the at least two processing results are returned to the user according to the detection result, which includes one of the following:
when the transaction object exists in the context of the target data information operation body and the detection result shows that no operation error exists in the at least two processing results, returning the at least two processing results to the user;
when the transaction object exists in the context of the target data information operation body and the detection result indicates that operation errors exist in the at least two processing results, rolling back the transaction object;
and when the transaction object does not exist in the context of the target data information operation body, generating target information, wherein the target information is used for indicating the end of the operation of the target data information operation body.
It should be noted that the apparatus is an apparatus corresponding to the method, and all the implementation manners in the embodiment of the method applied to the server are applicable to the embodiment of the apparatus, and the same technical effect can be achieved.
An embodiment of the present invention provides a computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the corresponding operation of the method.
It should be noted that the computing device is an electronic device corresponding to the method, and all implementation manners in the embodiment of the method are applicable to the embodiment of the computing device, and the same technical effect can be achieved.
Embodiments of the present invention also provide a readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the steps of the data transmission method as described above.
It should be noted that the readable storage medium is a readable storage medium corresponding to the method, and all implementation manners in the method embodiments are applicable to the readable storage medium, so that the same technical effects can be achieved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
Furthermore, it is to be noted that in the device and method of the invention, it is obvious that the individual components or steps can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present invention. Also, the steps of performing the series of processes described above may naturally be performed chronologically in the order described, but need not necessarily be performed chronologically, and some steps may be performed in parallel or independently of each other. It will be understood by those skilled in the art that all or any of the steps or elements of the method and apparatus of the present invention may be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or any combination thereof, which can be implemented by those skilled in the art using their basic programming skills after reading the description of the present invention.
Thus, the objects of the invention may also be achieved by running a program or a set of programs on any computing device. The computing device may be a general purpose device as is well known. The object of the invention is thus also achieved solely by providing a program product comprising program code for implementing the method or the apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is to be understood that such storage media can be any known storage media or any storage media developed in the future. It is also noted that in the apparatus and method of the present invention, it is apparent that each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of executing the series of processes described above may naturally be executed chronologically in the order described, but need not necessarily be executed chronologically. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiment of the present invention, it will be appreciated by those skilled in the art that various changes and modifications may be made therein without departing from the principles of the invention as set forth in the appended claims.

Claims (10)

1. An information processing method characterized by comprising:
acquiring an operation request for operating and processing target data information; the operation request comprises an operation identifier of target data information based on a query language for querying the graph data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types;
according to the target identifier, at least two operations of the target data information are placed in a transaction object for operation processing, a processing result is obtained and output; wherein a second operation of the at least two operations of the target data information is implemented based on a result of the first operation.
2. The information processing method according to claim 1, wherein the target data information operand includes: and each of the at least two operations of the target data information is operated by the corresponding operation instruction.
3. The information processing method according to claim 1, wherein the preset keyword is a mutation keyword for operating on the target data information; the preset keywords and the target identifier are connected through a target connector; the preset instruction type is a directive instruction type.
4. The information processing method according to claim 3, wherein the target identifier is: a transaction identifier.
5. The information processing method according to claim 1, wherein the performing at least two operations on the target data information in one transaction object to obtain a processing result comprises:
placing operation instructions of at least two operations on the target data information in the transaction object for operation processing to obtain at least two processing results; wherein, the operation instruction of one operation corresponds to one processing result.
6. The information processing method of claim 5, wherein after obtaining at least two processing results, further comprising:
detecting the at least two processing results to obtain a detection result;
and returning the at least two processing results to the user according to the detection result.
7. The information processing method according to claim 6, wherein returning the at least two processing results to the user based on the detection result comprises one of:
when the transaction object exists in the context of the target data information operation body and the detection result shows that no operation error exists in the at least two processing results, returning the at least two processing results to the user;
when the transaction object exists in the context of the target data information operation body and the detection result indicates that operation errors exist in the at least two processing results, rolling back the transaction object;
and when the transaction object does not exist in the context of the target data information operation body, generating target information, wherein the target information is used for indicating the end of the operation of the target data information operation body.
8. An information processing apparatus characterized by comprising:
the acquisition module is used for acquiring an operation request for operating and processing the target data information; the operation request comprises an operation identifier of target data information based on a query language for querying the graph data and a target data information operator, and the operation identifier of the target data information comprises: presetting keywords and target identifiers of preset instruction types;
the processing module is used for placing at least two operations of the target data information in a transaction object for operation processing according to the target identifier to obtain a processing result and outputting the processing result; wherein a second operation of the at least two operations of the target data information implements the target data information based on a result of the first operation.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN202210908639.4A 2022-07-29 2022-07-29 Information processing method, device and equipment Active CN114996539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210908639.4A CN114996539B (en) 2022-07-29 2022-07-29 Information processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210908639.4A CN114996539B (en) 2022-07-29 2022-07-29 Information processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN114996539A true CN114996539A (en) 2022-09-02
CN114996539B CN114996539B (en) 2022-11-01

Family

ID=83022800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210908639.4A Active CN114996539B (en) 2022-07-29 2022-07-29 Information processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN114996539B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110291517A (en) * 2017-01-20 2019-09-27 亚马逊科技公司 Query language interoperability in chart database
US20200050782A1 (en) * 2018-08-08 2020-02-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for operating database
CN111414378A (en) * 2020-03-17 2020-07-14 用友网络科技股份有限公司 GraphQ L-based class metadata framework
CN113220755A (en) * 2020-12-28 2021-08-06 浙大网新科技股份有限公司 Method for flexibly generating GraphQL interface based on multi-source data
US20210248143A1 (en) * 2020-02-10 2021-08-12 Citrix Systems, Inc. Automatically executing graphql queries on databases
CN113760961A (en) * 2020-08-11 2021-12-07 北京京东振世信息技术有限公司 Data query method and device
CN114064690A (en) * 2021-11-17 2022-02-18 中国工商银行股份有限公司 Data processing method and device
CN114357276A (en) * 2021-12-23 2022-04-15 北京百度网讯科技有限公司 Data query method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110291517A (en) * 2017-01-20 2019-09-27 亚马逊科技公司 Query language interoperability in chart database
US20200050782A1 (en) * 2018-08-08 2020-02-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for operating database
US20210248143A1 (en) * 2020-02-10 2021-08-12 Citrix Systems, Inc. Automatically executing graphql queries on databases
CN111414378A (en) * 2020-03-17 2020-07-14 用友网络科技股份有限公司 GraphQ L-based class metadata framework
CN113760961A (en) * 2020-08-11 2021-12-07 北京京东振世信息技术有限公司 Data query method and device
CN113220755A (en) * 2020-12-28 2021-08-06 浙大网新科技股份有限公司 Method for flexibly generating GraphQL interface based on multi-source data
CN114064690A (en) * 2021-11-17 2022-02-18 中国工商银行股份有限公司 Data processing method and device
CN114357276A (en) * 2021-12-23 2022-04-15 北京百度网讯科技有限公司 Data query method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114996539B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
JP4218766B2 (en) Method, apparatus and program for testing scenarios
EP1582984A2 (en) Remote software support system
US8799861B2 (en) Performance-testing a system with functional-test software and a transformation-accelerator
CN107145784B (en) Vulnerability scanning method and device and computer readable medium
CN112187558B (en) Data verification method and device and electronic equipment
EP1906305A2 (en) Method and system for data preparation and communication between software applications
US9652488B2 (en) Computer product, verification support method, and verification support apparatus
CN112882844A (en) Network front-end and back-end based joint debugging method and device and storage medium
CN111679826B (en) Method, device, equipment and storage medium for previewing webpage editing content in real time
CN114168190A (en) Interface document generation method and device, computer equipment and storage medium
CN105808619B (en) Method, impact analysis computing device and the key reset apparatus that task based on impact analysis is reformed
CN112367220A (en) Interface testing method and device, storage medium and electronic equipment
CN111797020A (en) Mock data method and device based on dynamic bytecode
CN114996539B (en) Information processing method, device and equipment
CN111124937B (en) Method and system for assisting in improving test case generation efficiency based on instrumentation function
CN112181822A (en) Test method and test method for starting time consumption of application program
CN110032513B (en) Data verification method and device and electronic equipment
CN111427796A (en) System testing method and device and electronic equipment
CN109214189B (en) Method, device, storage medium and electronic equipment for identifying program bugs
EP3285179A1 (en) Data transfer method and device
CN116594887A (en) CFD software-based automatic test method and system
CN117131545A (en) Data processing method and device, storage medium and terminal
CN114238733A (en) Key information extraction method and device, computer storage medium and electronic equipment
CN112181485B (en) Script execution method and device, electronic equipment and storage medium
CN111400623B (en) Method and device for searching information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant