CN110781208B - Data processing method, device, equipment and computer readable storage medium - Google Patents

Data processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110781208B
CN110781208B CN201910926370.0A CN201910926370A CN110781208B CN 110781208 B CN110781208 B CN 110781208B CN 201910926370 A CN201910926370 A CN 201910926370A CN 110781208 B CN110781208 B CN 110781208B
Authority
CN
China
Prior art keywords
dynamic
service
class instance
business
placeholder
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.)
Active
Application number
CN201910926370.0A
Other languages
Chinese (zh)
Other versions
CN110781208A (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.)
Sasi Digital Technology Beijing Co ltd
Original Assignee
Alipay Hangzhou Information Technology 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN201910926370.0A priority Critical patent/CN110781208B/en
Publication of CN110781208A publication Critical patent/CN110781208A/en
Application granted granted Critical
Publication of CN110781208B publication Critical patent/CN110781208B/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24534Query rewriting; Transformation
    • G06F16/24542Plan optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

One or more embodiments of the present specification provide a data processing method, apparatus, device and computer-readable storage medium. In one embodiment, a data processing method includes: receiving a query plan, wherein the query plan comprises a dynamic service parameter template, and the dynamic service parameter template comprises a dynamic service parameter, a placeholder corresponding to the dynamic service parameter and a placeholder default value of the placeholder; deserializing a dynamic service parameter template in a query plan to obtain a dynamic service object and template metadata, wherein the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder; and generating a service class instance according to the dynamic service object and the template metadata, wherein the service class instance is used for modifying the dynamic service object according to the received query request so as to generate a method class instance corresponding to the query request.

Description

Data processing method, device, equipment and computer readable storage medium
Technical Field
One or more embodiments of the present disclosure relate to the field of data processing technologies, and in particular, to a data processing method, apparatus, device, and computer-readable storage medium.
Background
In the interaction of smart search (SmartSearch), a user may upload a query plan in a JSON Object Notation (JSON) format to a server first, and when the user queries data using the uploaded query plan, the server may perform data query based on a real variable set by the user for a parameter in the query plan.
In the existing query plan, only part of the parameters allow the user to customize and modify, such as query conditions, filter conditions and the like. With the continuous improvement of business requirements and the continuous increase of requirements of users on dynamic configuration capacity of a server during data query, the existing query plan which is only customized and modified aiming at partial parameters cannot meet the requirements of the users.
Disclosure of Invention
One or more embodiments of the present specification provide a data processing method, apparatus, device, and computer-readable storage medium, which can modify a dynamic business object by using template metadata in a business class instance according to a user requirement in a data query process to generate a method class instance required by a user.
The technical scheme provided by one or more embodiments of the specification is as follows:
In a first aspect, a data processing method is provided, including:
receiving a query plan, wherein the query plan comprises a dynamic service parameter template, and the dynamic service parameter template comprises a dynamic service parameter, a placeholder corresponding to the dynamic service parameter and a placeholder default value of the placeholder;
deserializing a dynamic service parameter template in a query plan to obtain a dynamic service object and template metadata, wherein the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
and generating a service class instance according to the dynamic service object and the template metadata, wherein the service class instance is used for modifying the dynamic service object according to the received query request so as to generate a method class instance corresponding to the query request.
In a second aspect, a data processing method is provided, including:
acquiring a query request, wherein the query request comprises a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder;
acquiring a service class instance corresponding to the target query plan, wherein the service class instance comprises a dynamic service object and template metadata, the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
Replacing an object default value in a target dynamic business object corresponding to the target placeholder in the business class instance with a placeholder modification value according to the template metadata to obtain a modified real business object;
and generating a method class instance based on the real business object.
In a third aspect, a data processing apparatus is provided, including:
the query plan receiving module is used for receiving a query plan, wherein the query plan comprises a dynamic service parameter template, and the dynamic service parameter template comprises a dynamic service parameter, a placeholder corresponding to the dynamic service parameter and a placeholder default value of the placeholder;
the de-serialization processing module is used for de-serializing the dynamic service parameter template in the query plan to obtain a dynamic service object and template metadata, wherein the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
and the service class instance generating module is used for generating a service class instance according to the dynamic service object and the template metadata, and the service class instance is used for modifying the dynamic service object according to the received query request so as to generate a method class instance corresponding to the query request.
In a fourth aspect, there is provided a data processing apparatus comprising:
the query request acquisition module is used for acquiring a query request, wherein the query request comprises a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder;
the service class instance acquisition module is used for acquiring a service class instance corresponding to the target query plan, the service class instance comprises a dynamic service object and template metadata, the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
the service object modification module is used for replacing an object default value in a target dynamic service object corresponding to the target placeholder in the service class instance with a placeholder modification value according to the template metadata to obtain a modified real service object;
and the method class instance generating module is used for generating a method class instance based on the real business object.
In a fifth aspect, there is provided a data processing apparatus comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a data processing method as described in the first aspect or the second aspect.
A sixth aspect provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the data processing method of the first or second aspect.
In accordance with one or more embodiments of the present specification described above, since, after receiving a query plan, the dynamic business parameter templates can be deserialized to obtain dynamic business objects and template metadata, and business class instances are generated from the dynamic business objects and template metadata, and therefore, in the data query process, after the query request is obtained, the target query plan corresponding to the query request can be obtained, so as to find out the service class example corresponding to the target query plan, and directly replace the object default value of the target dynamic service object corresponding to the target placeholder with the placeholder modification value by utilizing the template metadata in the service class example, the target placeholder to be set in the query request and the placeholder modification value of the target placeholder to obtain a real service object, and the method class instance is generated, so that the replacement of the dynamic business object in the query plan can be simply and efficiently completed. In addition, in one or more embodiments of the present specification, only after the query plan is received and the service class instance is generated, the dynamic service parameter template is deserialized once, so that performance loss caused by deserialization can be reduced, and processing performance of the server can be improved.
Drawings
In order to more clearly illustrate the technical solutions of one or more embodiments of the present disclosure, the drawings needed to be used in one or more embodiments of the present disclosure will be briefly described below, and those skilled in the art may also obtain other drawings according to the drawings without any creative effort.
FIG. 1 is a system architecture diagram of a query system according to one example of the present specification;
FIG. 2 is a flow diagram of a data processing method according to one embodiment of the present description;
FIG. 3 is a schematic structural diagram of a service class example according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a service class example according to another embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a service class example according to another embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a service class example according to yet another embodiment of the present disclosure;
FIG. 7 is a flow diagram illustrating a query plan processing method according to one embodiment of the present disclosure;
FIG. 8 is a flow diagram of a data processing method according to another embodiment of the present description;
FIG. 9 is a block diagram of an example method class according to one embodiment of the present description;
FIG. 10 is a flow diagram illustrating a query request processing method according to one embodiment of the present disclosure;
FIG. 11 is a flow diagram illustrating a query request processing method according to another embodiment of the disclosure;
FIG. 12 is a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 13 is a schematic block diagram of a data processing apparatus according to another embodiment of the present disclosure;
fig. 14 is a hardware configuration diagram of a data processing device according to an embodiment of the present specification.
Detailed Description
Features and exemplary embodiments of various aspects of the present specification will be described in detail below, and in order to make objects, technical solutions and advantages of the specification more apparent, the specification will be further described in detail below with reference to the accompanying drawings and specific embodiments. It is to be understood that the embodiments described herein are only a few embodiments of the present disclosure, and not all embodiments. It will be apparent to one skilled in the art that the present description may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present specification by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
FIG. 1 illustrates a system architecture diagram of a query system of one example of the present specification. As shown in fig. 1, the query system includes a first terminal device 110, a second terminal device 120, and a server 130, where the first terminal device 110 is used by a user sending a query request, the user may input the query request to the first terminal device 110 and send the query request to the server 130 through the first terminal device 110, the second terminal device 120 is used by a user uploading a query plan, the user may input the query plan to the second terminal device 120 and send the query plan to the server 130 through the second terminal device 120, the server 130 may receive and store the query plan, the server 130 may further receive the query request, set a parameter in the query plan as a real variable set by the user in the query request according to the query request, and perform data query to obtain a data query result.
In this specification, the first terminal device and the second terminal device may be specifically a mobile phone, a tablet computer, a personal computer, or the like, and the server may be a high-performance electronic calculator for storing and processing data.
Hereinafter, a data processing method provided in one or more embodiments of the present specification will be described in detail.
Fig. 2 is a flowchart illustrating a data processing method according to an embodiment of the present specification. As shown in fig. 2, the data processing method includes:
s210, receiving a query plan, wherein the query plan comprises a dynamic service parameter template, and the dynamic service parameter template comprises a dynamic service parameter, a placeholder corresponding to the dynamic service parameter and a placeholder default value of the placeholder;
s220, deserializing a dynamic service parameter template in the query plan to obtain a dynamic service object and template metadata, wherein the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
and S230, generating a service class instance according to the dynamic service object and the template metadata, wherein the service class instance is used for modifying the dynamic service object according to the received query request so as to generate a method class instance corresponding to the query request.
In the embodiment of the present specification, after the query plan is received, deserialization may be performed on the dynamic service parameter template to obtain the dynamic service object and the template metadata, and the service class instance is generated according to the dynamic service object and the template metadata, so that, in the data query process, after the query request is obtained, the dynamic service object may be modified according to the query request to generate the method class instance corresponding to the query request, so that the replacement of the dynamic service object in the query plan may be completed simply and efficiently. In addition, in one or more embodiments of the present specification, only after the query plan is received and the service class instance is generated, the dynamic service parameter template is deserialized once, so that performance loss caused by deserialization can be reduced, and processing performance of the server can be improved.
The data processing method described in this embodiment may be applied to the server 130 shown in fig. 1, and after the server 130 receives the query plan transmitted by the second terminal device 120, the server 130 may execute the data processing method shown in fig. 2.
In step S210 in this embodiment of the present specification, the query plan received by the server and the dynamic service parameter template included in the query plan are the same as those in the prior art, and are not described herein again.
In the embodiment of the present invention, the dynamic service parameter template may include one or more dynamic service parameters, each dynamic service parameter is respectively provided with one placeholder in a one-to-one correspondence, and each placeholder has a respective placeholder default value.
Taking a specific example as an example, the format of the dynamic traffic parameter template may be { "a": "{ { x:1} }", "b": "{ { y: abc } }" }. The dynamic service parameters comprise a and b, the placeholder of the dynamic service parameter a is x, the placeholder of the dynamic service parameter b is y, the placeholder x can be of a digital type, the default value of the placeholder x is 1, the placeholder y can be of a character string type, and the default value of the placeholder y is abc.
In step S220 of the embodiment of the present invention, the dynamic service parameter templates in the query plan are deserialized, so that a dynamic service object corresponding to each dynamic service parameter in the dynamic service parameter templates and template metadata corresponding to each dynamic service object can be obtained.
Specifically, for each dynamic service parameter in the dynamic service parameter template, the specific method for performing deserialization on the dynamic service parameter template in the query plan to obtain a dynamic service object and template metadata may include:
performing deserialization processing on the dynamic service parameters by using the placeholder default values to generate dynamic service objects corresponding to the dynamic service parameter templates, and enabling the parameter default values of the dynamic service parameters to be the placeholder default values;
and generating a corresponding relation between the dynamic service parameters and the placeholders according to the dynamic service parameters and the placeholders, wherein the corresponding relation is used as template metadata corresponding to the dynamic service objects.
The method may be used to generate the dynamic service object and the template metadata corresponding to the dynamic service object at the same time, or may also be used to generate the dynamic service object and the template metadata corresponding to the dynamic service object according to a predetermined sequence, which is not limited herein.
Continuing with the example of the dynamic service parameter template being { "a": "{ { x:1} }", "b": "{ { y: abc } }", the dynamic service parameter template includes two dynamic service parameters a and b, so that a dynamic service object corresponding to the dynamic service parameter a and a dynamic service object corresponding to the dynamic service parameter b can be generated, respectively, and template metadata corresponding to each dynamic service object, thereby obtaining a dynamic service object set { "a":1 "," b ": abc" } and a template metadata set { "explicit params": { "a": x "," b ": y" }.
It should be noted that, in the embodiment of the present invention, the template metadata may represent a forward corresponding relationship between the dynamic service parameter and the placeholder, and may also represent a reverse corresponding relationship between the dynamic service parameter and the placeholder, which is not limited herein.
In step S230 of some embodiments of the present invention, a specific method for generating a service class instance according to a dynamic service object and template metadata may include:
and performing encapsulation processing according to the dynamic service object and the template metadata to obtain a service class instance.
Fig. 3 is a schematic structural diagram illustrating a service class instance according to an embodiment of the present specification. As shown in fig. 3, a service class instance 305 is obtained by directly encapsulating a dynamic service object 301, a dynamic service object 302, template metadata 303, and template metadata 304.
At this time, the template metadata can be encapsulated as an attribute of the dynamic business object, so that the dynamic business object can be modified by using the template metadata without performing other processing on the business class instance when data query is performed, thereby improving the processing efficiency and reducing the performance loss of the server.
In step S230 of another embodiment of the present invention, the specific method for generating a service class instance according to a dynamic service object and template metadata may further include:
performing encapsulation processing according to the dynamic business object to obtain a business object example;
and performing encapsulation processing according to the service object instance and the template metadata to obtain the service class instance.
Fig. 4 is a schematic structural diagram illustrating a service class example according to another embodiment of the present disclosure. As shown in fig. 4, a service object instance 403 is obtained by encapsulating a dynamic service object 401 and a dynamic service object 402, and a service class instance 406 is obtained by encapsulating the service object instance 403, template metadata 404, and template metadata 405.
At this time, the dynamic service object and the template metadata can be separated, so that the dynamic service object does not need to sense the existence of the template metadata and the dynamic service parameter template.
In some embodiments of the invention, the query plan includes a static business parameter template in addition to a dynamic business parameter template. The static service parameter template comprises static service parameters and parameter setting values of the static service parameters.
In particular, the dynamic traffic parameter templates and the static traffic parameter templates may form a set of traffic parameter templates.
In these embodiments, the data processing method may further include:
and performing deserialization on the static business parameter template in the query plan to obtain a static business object, wherein the static business object comprises static business parameters and parameter setting values.
At this time, the specific method for generating the service class instance according to the dynamic service object and the template metadata may include:
and generating a service class instance according to the dynamic service object, the static service object and the template metadata.
The specific method for generating the service class instance according to the dynamic service object, the static service object and the template metadata is similar to the specific method for generating the service class instance according to the dynamic service object and the template metadata.
In some embodiments of the present invention, the dynamic service object, the static service object, and the template metadata may be directly encapsulated to obtain the service class instance.
Fig. 5 is a schematic structural diagram illustrating a service class instance according to still another embodiment of the present disclosure. As shown in fig. 5, a service class instance 504 is obtained by directly encapsulating a dynamic service object 501, a static service object 502 and template metadata 503.
In other embodiments of the present invention, the dynamic service object and the static service object may be encapsulated to obtain the service object instance, and then the service class instance may be encapsulated according to the service object instance and the template metadata.
Fig. 6 is a schematic structural diagram illustrating a service class example according to still another embodiment of the present specification. As shown in fig. 6, a service object instance 603 is obtained by encapsulating a dynamic service object 601 and a static service object 602, and a service class instance 605 is obtained by encapsulating the service object instance 603 and template metadata 604.
In the embodiment of the present specification, the service class instance generated based on one or more embodiments described above is stored in the heap area, i.e., under the class action domain.
FIG. 7 is a flow diagram illustrating a query plan processing method according to one embodiment of the present disclosure. As shown in fig. 7, after receiving a new query plan uploaded by the second terminal device, the server processes the service parameter templates in the query plan, where the service parameter templates include a dynamic service parameter template and a static service parameter template.
Specifically, the method for processing the query plan by the server may include the following steps:
s701, acquiring a service parameter template set in a query plan;
s702, judging whether a dynamic service parameter template exists in the service parameter template set, if so, executing a step S703, and if not, executing a step S706;
s703, extracting an unprocessed dynamic service parameter in the dynamic service parameter template;
s704, performing deserialization processing on the dynamic service parameters by using the placeholder default values of the placeholders corresponding to the dynamic service parameters to obtain dynamic service objects corresponding to the dynamic service parameters, and generating template metadata corresponding to the dynamic service objects according to the corresponding relation between the dynamic service parameters and the placeholders;
s705, judging whether the dynamic service parameter is the last dynamic service parameter in the dynamic service parameter template, if so, executing a step S706, and if not, executing a step S703;
s706, judging whether a static business parameter template exists in the business parameter template set, if so, executing a step S707, and if not, executing a step S708;
s707, generating a static business object by using the static business parameters in the static business parameter template and the parameter setting values of the static business parameters;
S708, generating a business class instance based on the dynamic business object, the template metadata and the static business object.
Fig. 8 is a flowchart illustrating a data processing method according to another embodiment of the present disclosure. As shown in fig. 8, the data processing method includes:
s810, acquiring a query request, wherein the query request comprises a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder;
s820, acquiring a service class instance corresponding to the target query plan, wherein the service class instance comprises a dynamic service object and template metadata, the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
s830, replacing an object default value in a target dynamic business object corresponding to a target placeholder in a business class instance with a placeholder modification value according to template metadata to obtain a modified real business object;
and S840, generating a method class instance based on the real business object.
In the embodiment of the present specification, since the service class instance includes the dynamic service object and the template metadata, and the template metadata is used to represent the corresponding relationship between the dynamic service parameter and the placeholder, in the data query process, after the query request is obtained, the target query plan corresponding to the query request is obtained to find the service class instance corresponding to the target query plan, and the object default value of the target dynamic service object corresponding to the target placeholder is directly replaced with the placeholder modification value by using the template metadata in the service class instance, the target placeholder to be set in the query request, and the placeholder modification value of the target placeholder, so as to obtain the real service object, and generate the method class instance, thereby being capable of simply and efficiently completing the replacement of the dynamic service object in the query plan. In addition, in one or more embodiments of the present specification, only after the query plan is received and the service class instance is generated, the dynamic service parameter template is deserialized once, so that performance loss caused by deserialization can be reduced, and processing performance of the server can be improved.
The data processing method described in this embodiment may be applied to the server 130 shown in fig. 1, and after the server 130 receives the query request sent by the first terminal device 110, the server 130 may execute the data processing method shown in fig. 8.
In step S810 of this specification embodiment, the query request received by the server may include a target query plan, a target placeholder to be set, and a placeholder modification value of the target placeholder, where the target query plan is a query plan name, the target placeholder to be set is a placeholder corresponding to a target dynamic business object included in the target query plan and to which a user needs to set a real variable, and the placeholder modification value of the target placeholder is the same as the type of the target placeholder.
After the server receives the query request, the query request can be analyzed, so that a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder in the query request are obtained. Meanwhile, after the analysis, the server can determine the name of the query plan corresponding to the target query plan and the name of the business class instance corresponding to the target query plan.
In step S820 of this embodiment, the server may find the service class instance corresponding to the target query plan in the heap area based on the service class instance name. The service class instance is generated according to a method of the data processing method described in one or more embodiments in this specification. Therefore, the service class instance may include a dynamic service object and template metadata, the dynamic service object may include a dynamic service parameter and a parameter default value of the dynamic service parameter, where the parameter default value is a placeholder default value, and the template metadata is used to represent a corresponding relationship between the dynamic service parameter and the placeholder.
In some embodiments of this specification, if the service class instance is obtained by directly encapsulating the dynamic service object and the template metadata, step S830 may specifically include:
in the business class instance, determining a dynamic business object required by the target query plan;
according to the template metadata, determining a target dynamic business object corresponding to a target placeholder in the dynamic business objects required by the target query plan;
and replacing the object default value in the target dynamic business object with a placeholder modification value to obtain a modified real business object.
Specifically, after step S820, an instance address of the service class instance corresponding to the target query plan in the stack area is obtained, a method function corresponding to the target query plan is found in the method area according to the query plan name, then, according to the sequence of the service parameters involved in the method function, dynamic service objects required by the target query plan, that is, the method function, are determined in sequence in the service class instance in the stack area corresponding to the instance address, then, whether there is a target placeholder corresponding to the dynamic service object is searched in the query request through template metadata, if there is a target placeholder corresponding to the dynamic service object, and in the stack area, that is, the function domain, the object default value in the target dynamic service object is replaced with a placeholder modification value, so as to obtain a modified real service object.
Therefore, in the embodiment of the present specification, the object default value of the dynamic service object may be directly and quickly modified, and the dynamic service parameter template does not need to be deserialized repeatedly, so that the performance loss may be reduced, and the data processing efficiency may be improved.
In step S840 of these embodiments, the specific method for generating the method class instance based on the real business object may include:
and generating a method class instance based on the real business object and other dynamic business objects except the real business object in the dynamic business objects required by the target query plan.
Specifically, the method class instance may be generated in the stack area based on the instance address of the service class instance in the stack area, the real service object, and other dynamic service objects, except the real service object, in the dynamic service objects required by the target query plan.
FIG. 9 is a diagram illustrating an example of a method class according to an embodiment of the present disclosure. As shown in FIG. 9, the example of a method class is an example generated in the stack area according to the query request and the dynamic traffic parameter template as { "a" { { x:1} } "," b ":" { { y: abc } } "}. Wherein, the query request includes the target placeholder x and a placeholder modification value 5 for the target placeholder x. The method class instance 901 in fig. 9 includes a pointer 902 generated by an instance address of the service class instance in the heap area, and a real service object 903 and a dynamic service object 904 required by a method function corresponding to the target query plan.
In other embodiments of this specification, if the service class instance is obtained by first encapsulating the dynamic service object to obtain a service object instance, and then encapsulating the service object instance and the template metadata, step S830 may specifically include:
generating a duplicate service class instance according to the dynamic service object in the service class instance;
and replacing the object default value of the target dynamic service object corresponding to the target placeholder in the copied service class instance with a placeholder modified value through reflection according to the target template metadata to obtain the modified real service object.
Specifically, after step S820, the dynamic service object in the service class instance may be directly copied to generate a copied service class instance, and the copied service class instance is stored in the heap, and then, according to the target template metadata, the object default value of the target dynamic service object corresponding to the target placeholder in the copied service class instance is replaced by the placeholder modification value in a manner of reflecting and modifying the static variable to obtain the modified real service object, so as to obtain the modified copied service class instance including the real service object.
Therefore, in the embodiment of the present specification, the object default value of the dynamic service object may be directly and quickly modified, and the dynamic service parameter template does not need to be deserialized repeatedly, so that the performance loss may be reduced, and the data processing efficiency may be improved.
In these embodiments, the specific method for generating the method class instance based on the real business object may include:
and generating a method class instance based on the real business object and other dynamic business objects except the real business object in the dynamic business objects required by the target query plan.
Specifically, after obtaining the modified copy service class instance, an instance address of the copy service class instance in the stack area is obtained, a method function corresponding to the target query plan is found in the method area according to the query plan name, then, according to the sequence of the service parameters involved in the method function, the real service object and other dynamic service objects except the real service object required by the target query plan, that is, the method function, are determined in the copy service class instance in the stack area corresponding to the instance address in the stack area, and finally, the method class instance is generated based on the instance address of the copy service class instance in the stack area, the real service object and other dynamic service objects except the real service object in the dynamic service objects required by the target query plan in the stack area.
In some embodiments of the present description, a business class instance includes a static business object in addition to a dynamic business object and template metadata. Wherein the static business object comprises static business parameters and parameter setting values.
In these embodiments, the specific method for generating the method class instance based on the real business object and other dynamic business objects than the real business object in the dynamic business objects required by the target query plan may further include:
in the business class instance, determining static business objects required by a target query plan;
and generating a method class example based on the real business object, other dynamic business objects except the real business object in the dynamic business objects required by the target query plan and the static business objects required by the target query plan.
The specific process of generating the method class instance based on the other dynamic service objects, except the real service object, in the dynamic service objects required by the real service object and the target query plan and the static service object required by the target query plan is similar to the specific process of generating the method class instance based on the other dynamic service objects, except the real service object, in the dynamic service objects required by the real service object and the target query plan, and is not repeated here.
Fig. 10 is a flowchart illustrating a query request processing method according to an embodiment of the present specification. As shown in fig. 10, after the server receives an inquiry request for invoking a target inquiry plan, which is sent by a user through a first terminal device, the server generates a method class instance corresponding to the target inquiry plan based on the inquiry request.
Specifically, the method for processing the query request by the server may include the following steps:
s1001, acquiring a query request, wherein the query request comprises a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder;
s1002, analyzing the query request, and determining a query plan name corresponding to the target query plan and a business class instance name corresponding to the target query plan;
s1003, searching a business class instance corresponding to the target query plan by using the business class instance name;
s1004, acquiring an instance address of the service instance;
s1005, inquiring a method function corresponding to the target inquiry plan by using the name of the inquiry plan;
s1006, extracting unprocessed service parameters in the method function;
s1007, judging whether template metadata corresponding to the service parameters exist in the service instance corresponding to the service instance address, if so, executing step S1008, and if not, executing step S1011;
s1008, inquiring whether a target placeholder and a placeholder modified value corresponding to the service parameter exist in the inquiry request according to the template metadata, if so, executing the step S1009, and if not, executing the step S1010;
S1009, generating a real business object by using the business parameter and the placeholder modification value, and then executing the step S1012;
s1010, acquiring a dynamic service object corresponding to the service parameter in the service class instance, and then executing the step S1012;
s1011, obtaining a static business object corresponding to the business parameter in the business class instance, and then executing step S1012;
s1012, judging whether the service parameter is the last unprocessed service parameter, if so, executing the step S1013, and if not, executing the step S1006;
s1013, generating a method class instance based on the acquired real business object, dynamic business object, static business object and instance address.
Fig. 11 is a flowchart illustrating a query request processing method according to another embodiment of the present disclosure. As shown in fig. 11, after the server receives an inquiry request for invoking a target inquiry plan, which is sent by a user through a first terminal device, the server generates a method class instance corresponding to the target inquiry plan based on the inquiry request.
Specifically, the method for processing the query request by the server may include the following steps:
s1101, acquiring a query request, wherein the query request comprises a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder;
S1102, analyzing the query request, and determining a query plan name corresponding to the target query plan and a business class instance name corresponding to the target query plan;
s1103, searching a business class instance corresponding to the target query plan by using the business class instance name;
s1104, generating a duplicate service class example by using the service object in the service class example;
s1105, extracting the unprocessed service object in the example of the copy service class;
s1106, inquiring whether the business object has the template metadata in the business instance, if so, executing the step S1107, and if not, executing the step S1109;
s1107, according to the template metadata, whether a target placeholder and a modified placeholder value corresponding to the service parameter in the service object exist or not is inquired in the inquiry request, if so, the step S1108 is executed, and if not, the step S1109 is executed;
s1108, replacing the object default value of the service object in the copy service class instance with a placeholder modified value through reflection to obtain a modified copy service class instance, and then executing the step S1109;
s1109, judging whether the business object is the last unprocessed business object, if so, executing a step S1110, and if not, executing a step S1105;
S1110, acquiring an instance address of the copy service instance;
s1111, querying a method function corresponding to the target query plan by utilizing the name of the query plan;
s1112, extracting a service object corresponding to the service parameter in the method function in the copy service class instance corresponding to the instance address;
s1113, generating a method class instance based on the business object and the instance address.
Fig. 12 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present specification. As shown in fig. 12, the data processing apparatus 1200 may include:
a query plan receiving module 1210, configured to receive a query plan, where the query plan includes a dynamic service parameter template, and the dynamic service parameter template includes a dynamic service parameter, a placeholder corresponding to the dynamic service parameter, and a placeholder default value of the placeholder;
the deserialization processing module 1220 is configured to deserialize the dynamic service parameter template in the query plan to obtain a dynamic service object and template metadata, where the dynamic service object includes a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used to represent a corresponding relationship between the dynamic service parameter and the placeholder;
And a service class instance generating module 1230, configured to generate a service class instance according to the dynamic service object and the template metadata, where the service class instance is configured to modify the dynamic service object according to the received query request, so as to generate a method class instance corresponding to the query request.
In the embodiment of the present specification, after the query plan is received, deserialization may be performed on the dynamic service parameter template to obtain the dynamic service object and the template metadata, and the service class instance is generated according to the dynamic service object and the template metadata, so that, in the data query process, after the query request is obtained, the dynamic service object may be modified according to the query request to generate the method class instance corresponding to the query request, so that the replacement of the dynamic service object in the query plan may be completed simply and efficiently. In addition, in one or more embodiments of the present specification, only after the query plan is received and the service class instance is generated, the dynamic service parameter template is deserialized once, so that performance loss caused by deserialization can be reduced, and processing performance of the server can be improved.
The data processing apparatus according to the embodiment of the present specification may be applied to the server 130 shown in fig. 1, and after the server 130 receives the query plan transmitted by the second terminal device 120, the server 130 may perform data processing by the data processing apparatus shown in fig. 12.
In some embodiments of this specification, the service class instance generating module 1230 may be specifically configured to:
and performing encapsulation processing according to the dynamic service object to obtain a service object instance, and performing encapsulation processing according to the service object instance and the template metadata to obtain a service class instance.
At this time, the dynamic service object and the template metadata can be separated, so that the dynamic service object does not need to sense the existence of the template metadata and the dynamic service parameter template.
In other embodiments of this specification, the service class instance generating module 1230 may be specifically configured to:
and performing encapsulation processing according to the dynamic service object and the template metadata to obtain a service class instance.
At this time, the template metadata can be encapsulated as an attribute of the dynamic business object, so that the dynamic business object can be modified by using the template metadata without performing other processing on the business class instance when data query is performed, thereby improving the processing efficiency and reducing the performance loss of the server.
In some embodiments of the present description, the query plan further includes a static business parameter template, the static business parameter template including static business parameters and parameter settings for the static business parameters.
In these embodiments, the deserialization processing module 1220 may also be configured to:
and performing deserialization on the static business parameter template in the query plan to obtain a static business object, wherein the static business object comprises static business parameters and parameter setting values.
In these embodiments, the service class instance generating module 1230 may be further specifically configured to:
and generating a service class instance according to the dynamic service object, the static service object and the template metadata.
The specific method for generating the service class instance according to the dynamic service object, the static service object, and the template metadata is similar to the specific method for generating the service class instance according to the dynamic service object and the template metadata, and is not described herein again.
Fig. 13 is a schematic structural diagram of a data processing apparatus according to another embodiment of the present specification. As shown in fig. 13, the data processing apparatus 1300 may include:
a query request obtaining module 1310, configured to obtain a query request, where the query request includes a target query plan, a target placeholder to be set, and a placeholder modification value of the target placeholder;
a service class instance obtaining module 1320, configured to obtain a service class instance corresponding to the target query plan, where the service class instance includes a dynamic service object and template metadata, the dynamic service object includes a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used to represent a corresponding relationship between the dynamic service parameter and the placeholder;
A service object modification module 1330, configured to replace, according to the template metadata, the object default value in the target dynamic service object corresponding to the target placeholder in the service class instance with the placeholder modification value, so as to obtain a modified real service object;
the method class instance generating module 1340 is configured to generate a method class instance based on the real business object.
In the embodiment of the present specification, since the service class instance includes the dynamic service object and the template metadata, and the template metadata is used to represent the corresponding relationship between the dynamic service parameter and the placeholder, in the data query process, after the query request is obtained, the target query plan corresponding to the query request is obtained to find the service class instance corresponding to the target query plan, and the object default value of the target dynamic service object corresponding to the target placeholder is directly replaced with the placeholder modification value by using the template metadata in the service class instance, the target placeholder to be set in the query request, and the placeholder modification value of the target placeholder, so as to obtain the real service object, and generate the method class instance, thereby being capable of simply and efficiently completing the replacement of the dynamic service object in the query plan. In addition, in one or more embodiments of the present specification, only after the query plan is received and the service class instance is generated, the dynamic service parameter template is deserialized once, so that performance loss caused by deserialization can be reduced, and processing performance of the server can be improved.
The data processing apparatus according to the embodiment of the present specification may be applied to the server 130 shown in fig. 1, and after the server 130 receives the query request transmitted by the first terminal device 110, the server 130 may perform data processing by using the data processing apparatus shown in fig. 12.
In some embodiments of the present description, the business object modification module 1330 may be specifically configured to:
in the business class example, dynamic business objects required by the target query plan are determined, and in the dynamic business objects required by the target query plan, the target dynamic business objects corresponding to the target placeholders are determined according to the template metadata, so that the object default values in the target dynamic business objects are replaced by placeholder modification values, and the modified real business objects are obtained.
Therefore, in the embodiment of the present specification, the object default value of the dynamic service object may be directly and quickly modified, and the dynamic service parameter template does not need to be deserialized repeatedly, so that the performance loss may be reduced, and the data processing efficiency may be improved.
In other embodiments of this specification, the business object modification module 1330 may be specifically configured to:
and according to the dynamic service object in the service class instance, generating a copy service class instance, and replacing the object default value of the target dynamic service object corresponding to the target placeholder in the copy service class instance with a placeholder modification value through reflection according to the target template metadata to obtain the modified real service object.
Therefore, in the embodiment of the present specification, the object default value of the dynamic service object may be directly and quickly modified, and the dynamic service parameter template does not need to be deserialized repeatedly, so that the performance loss may be reduced, and the data processing efficiency may be improved.
In this embodiment of the present specification, the method class instance generating module 1340 may be specifically configured to:
and generating a method class instance based on the real business object and other dynamic business objects except the real business object in the dynamic business objects required by the target query plan.
In some embodiments of the present description, the business class instance further includes a static business object, and the static business object includes static business parameters and parameter setting values.
In these embodiments, the method class instance generating module 1340 may be further specifically configured to:
in the business class instance, the static business objects required by the target query plan are determined, and the method class instance is generated based on the real business objects, other dynamic business objects except the real business objects in the dynamic business objects required by the target query plan, and the static business objects required by the target query plan.
Fig. 14 is a schematic diagram illustrating a hardware configuration of a data processing apparatus according to an embodiment of the present specification. The data processing device described in the embodiments of the present specification may be a server or a terminal device. As shown in fig. 14, the data processing apparatus 1400 includes an input device 1401, an input interface 1402, a central processor 1403, a memory 1404, an output interface 1405, and an output device 1406. The input interface 1402, the central processor 1403, the memory 1404, and the output interface 1405 are connected to each other via a bus 1410, and the input device 1401 and the output device 1406 are connected to the bus 1410 via the input interface 1402 and the output interface 1405, respectively, and further connected to other components of the data processing device 1400.
Specifically, the input device 1401 receives input information from the outside and transmits the input information to the central processor 1403 via the input interface 1402; central processor 1403 processes the input information based on computer-executable instructions stored in memory 1404 to generate output information, stores the output information temporarily or permanently in memory 1404, and then transmits the output information to output device 1406 via output interface 1405; the output device 1406 outputs the output information to the outside of the information processing device 1400 for use by the user.
That is, the data processing apparatus shown in fig. 14 may also be implemented to include: a memory storing computer-executable instructions; and a processor which, when executing computer-executable instructions, may implement the data processing methods and apparatus described in embodiments of this specification.
Embodiments of the present specification also provide a computer-readable storage medium having computer program instructions stored thereon; the computer program instructions realize the data processing method provided by the embodiment of the specification when being executed by a processor.
The functional blocks shown in the above structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of this specification are programs or code segments that are used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the above describes certain embodiments of the specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in the order of execution in different embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
As described above, only the specific implementation manner of the present specification is provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present disclosure, and these modifications or substitutions should be covered within the scope of the present disclosure.

Claims (20)

1. A method of data processing, comprising:
receiving a query plan, wherein the query plan comprises a dynamic service parameter template, and the dynamic service parameter template comprises a dynamic service parameter, a placeholder corresponding to the dynamic service parameter and a placeholder default value of the placeholder;
deserializing the dynamic service parameter template in the query plan to obtain a dynamic service object and template metadata, wherein the dynamic service object comprises the dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is the placeholder default value, and the template metadata is used for representing the corresponding relationship between the dynamic service parameter and the placeholder;
and generating a service class instance according to the dynamic service object and the template metadata, wherein the service class instance is used for modifying the dynamic service object according to the received query request so as to generate a method class instance corresponding to the query request.
2. The method of claim 1, wherein said generating a business class instance from said dynamic business object and said template metadata comprises:
performing encapsulation processing according to the dynamic business object to obtain a business object example;
And performing encapsulation processing according to the service object instance and the template metadata to obtain the service class instance.
3. The method of claim 1, wherein said generating a business class instance from said dynamic business object and said template metadata comprises:
and performing encapsulation processing according to the dynamic service object and the template metadata to obtain the service class instance.
4. The method of claim 1, wherein the query plan further comprises a static traffic parameter template comprising static traffic parameters and parameter settings for the static traffic parameters, the method further comprising:
performing deserialization on the static business parameter template in the query plan to obtain a static business object, wherein the static business object comprises the static business parameters and the parameter setting values;
wherein, the generating a service class instance according to the dynamic service object and the template metadata comprises:
and generating the service class instance according to the dynamic service object, the static service object and the template metadata.
5. A method of data processing, comprising:
Acquiring a query request, wherein the query request comprises a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder;
acquiring a service class instance corresponding to the target query plan, wherein the service class instance comprises a dynamic service object and template metadata, the dynamic service object comprises a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
replacing an object default value in a target dynamic business object corresponding to the target placeholder in the business class instance with the placeholder modification value according to the template metadata to obtain a modified real business object;
and generating a method class instance based on the real business object.
6. The method of claim 5, wherein replacing, according to the template metadata, the object default value in the target dynamic business object corresponding to the target placeholder in the business class instance with the placeholder modification value to obtain the modified real business object comprises:
Determining dynamic business objects required by the target query plan in the business class instance;
according to the template metadata, determining the target dynamic business object corresponding to the target placeholder in the dynamic business objects required by the target query plan;
and replacing the object default value in the target dynamic business object with the placeholder modification value to obtain the modified real business object.
7. The method of claim 5, wherein replacing, according to the template metadata, the object default value in the target dynamic business object corresponding to the target placeholder in the business class instance with the placeholder modification value to obtain the modified real business object comprises:
generating a duplicate service class instance according to the dynamic service object in the service class instance;
and replacing the object default value of the target dynamic service object corresponding to the target placeholder in the copied service class instance with the placeholder modification value through reflection according to the target template metadata to obtain the modified real service object.
8. The method of claim 6 or 7, wherein said generating a method class instance based on said real business object comprises:
And generating the method class instance based on the real business object and other dynamic business objects except the real business object in the dynamic business objects required by the target query plan.
9. The method of claim 8, wherein the business class instance further comprises a static business object comprising static business parameters and parameter settings;
generating the method class instance based on the real business object and other dynamic business objects except the real business object in the dynamic business objects required by the target query plan, wherein the method class instance comprises the following steps:
in the business class instance, determining static business objects required by the target query plan;
and generating the method class instance based on the real business object, other dynamic business objects except the real business object in the dynamic business objects required by the target query plan and the static business objects required by the target query plan.
10. A data processing apparatus, comprising:
the query plan receiving module is used for receiving a query plan, wherein the query plan comprises a dynamic service parameter template, and the dynamic service parameter template comprises a dynamic service parameter, a placeholder corresponding to the dynamic service parameter and a placeholder default value of the placeholder;
The deserialization processing module is used for deserializing the dynamic service parameter template in the query plan to obtain a dynamic service object and template metadata, wherein the dynamic service object comprises the dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is the placeholder default value, and the template metadata is used for representing the corresponding relation between the dynamic service parameter and the placeholder;
and the service class instance generating module is used for generating a service class instance according to the dynamic service object and the template metadata, and the service class instance is used for modifying the dynamic service object according to the received query request so as to generate a method class instance corresponding to the query request.
11. The apparatus according to claim 10, wherein the service class instance generation module is specifically configured to:
and performing encapsulation processing according to the dynamic service object to obtain a service object instance, and performing encapsulation processing according to the service object instance and the template metadata to obtain the service class instance.
12. The apparatus according to claim 10, wherein the service class instance generation module is specifically configured to:
And performing encapsulation processing according to the dynamic service object and the template metadata to obtain the service class instance.
13. The apparatus of claim 10, wherein the query plan further comprises a static traffic parameter template comprising static traffic parameters and parameter settings for the static traffic parameters;
the deserialization processing module is further configured to:
performing deserialization on the static business parameter template in the query plan to obtain a static business object, wherein the static business object comprises the static business parameters and the parameter setting values;
the service class instance generation module is specifically configured to:
and generating the service class instance according to the dynamic service object, the static service object and the template metadata.
14. A data processing apparatus, comprising:
the query request acquisition module is used for acquiring a query request, wherein the query request comprises a target query plan, a target placeholder to be set and a placeholder modification value of the target placeholder;
a service class instance obtaining module, configured to obtain a service class instance corresponding to the target query plan, where the service class instance includes a dynamic service object and template metadata, the dynamic service object includes a dynamic service parameter and a parameter default value of the dynamic service parameter, the parameter default value is a placeholder default value, and the template metadata is used to represent a corresponding relationship between the dynamic service parameter and the placeholder;
A service object modification module, configured to replace, according to the template metadata, an object default value in a target dynamic service object corresponding to the target placeholder in the service class instance with the placeholder modification value, so as to obtain a modified real service object;
and the method class instance generating module is used for generating a method class instance based on the real business object.
15. The apparatus according to claim 14, wherein the business object modification module is specifically configured to:
in the service class instance, determining a dynamic service object required by the target query plan, and determining the target dynamic service object corresponding to the target placeholder in the dynamic service object required by the target query plan according to the template metadata, so as to replace an object default value in the target dynamic service object with the placeholder modified value, thereby obtaining the modified real service object.
16. The apparatus according to claim 14, wherein the business object modification module is specifically configured to:
and according to the dynamic service object in the service class instance, generating a copy service class instance, and according to target template metadata, replacing the object default value of the target dynamic service object corresponding to the target placeholder in the copy service class instance with the placeholder modification value through reflection to obtain a modified real service object.
17. The apparatus according to claim 15 or 16, wherein the method class instance generation module is specifically configured to:
and generating the method class instance based on the real business object and other dynamic business objects except the real business object in the dynamic business objects required by the target query plan.
18. The apparatus of claim 17, wherein the business class instance further comprises a static business object comprising static business parameters and parameter settings;
the method class instance generation module is further specifically configured to:
in the business class instance, determining a static business object required by the target query plan, and generating the method class instance based on the real business object, other dynamic business objects except the real business object in the dynamic business objects required by the target query plan, and the static business objects required by the target query plan.
19. A data processing apparatus, characterized in that the apparatus comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a data processing method as claimed in any of claims 1-4 or 5-9.
20. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, implement a data processing method according to any one of claims 1-4 or 5-9.
CN201910926370.0A 2019-09-27 2019-09-27 Data processing method, device, equipment and computer readable storage medium Active CN110781208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926370.0A CN110781208B (en) 2019-09-27 2019-09-27 Data processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926370.0A CN110781208B (en) 2019-09-27 2019-09-27 Data processing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110781208A CN110781208A (en) 2020-02-11
CN110781208B true CN110781208B (en) 2022-02-11

Family

ID=69384624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926370.0A Active CN110781208B (en) 2019-09-27 2019-09-27 Data processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110781208B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103189866A (en) * 2010-09-17 2013-07-03 甲骨文国际公司 Support for a parameterized query/view in complex event processing
CN107250983A (en) * 2015-04-15 2017-10-13 华为技术有限公司 The apparatus and method for parameterizing intermediate representation progress Just-In-Time are utilized in data base querying enforcement engine
CN107943466A (en) * 2016-10-13 2018-04-20 腾讯科技(深圳)有限公司 Database access statement generation method, device and equipment
CN109313640A (en) * 2016-03-31 2019-02-05 慧咨环球有限公司 Method and system for data base optimization
CN110008230A (en) * 2019-01-25 2019-07-12 畅捷通信息技术股份有限公司 Object Query method and device, computer readable storage medium
CN110019350A (en) * 2017-07-28 2019-07-16 北京京东尚科信息技术有限公司 Data query method and apparatus based on configuration information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8782081B2 (en) * 2011-05-11 2014-07-15 Google Inc. Query template definition and transformation
CN104050161B (en) * 2013-03-11 2017-05-17 Sap欧洲公司 Dynamic bridging of application and data servers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103189866A (en) * 2010-09-17 2013-07-03 甲骨文国际公司 Support for a parameterized query/view in complex event processing
CN107250983A (en) * 2015-04-15 2017-10-13 华为技术有限公司 The apparatus and method for parameterizing intermediate representation progress Just-In-Time are utilized in data base querying enforcement engine
CN109313640A (en) * 2016-03-31 2019-02-05 慧咨环球有限公司 Method and system for data base optimization
CN107943466A (en) * 2016-10-13 2018-04-20 腾讯科技(深圳)有限公司 Database access statement generation method, device and equipment
CN110019350A (en) * 2017-07-28 2019-07-16 北京京东尚科信息技术有限公司 Data query method and apparatus based on configuration information
CN110008230A (en) * 2019-01-25 2019-07-12 畅捷通信息技术股份有限公司 Object Query method and device, computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
结构化查询语言动态功耗解析及建模;国冰磊 等;《计算机应用》;20151210;第35卷(第12期);第3362-3367页 *
面向可视化大屏系统的数据配置平台设计与实现;齐鑫;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20180815(第(2018)08期);第I138-335页 *

Also Published As

Publication number Publication date
CN110781208A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN108846753B (en) Method and apparatus for processing data
CN107872437B (en) Method, device and server for service request
CN111859470A (en) Business data chaining method and device
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN111367870A (en) Method, device and system for sharing picture book
CN109408682A (en) A kind of method of regular expression matching, system and equipment
CN114785685A (en) Software differential upgrading method and device, electronic equipment and readable storage medium
CN114564509A (en) Serialization method, deserialization method, device, chip and medium
CN109753424B (en) AB test method and device
CN110888672B (en) Expression engine implementation method and system based on metadata architecture
CN113360300B (en) Interface call link generation method, device, equipment and readable storage medium
CN110781208B (en) Data processing method, device, equipment and computer readable storage medium
CN116339694B (en) Extension method and device of low-code platform assembly, electronic equipment and storage medium
CN112749258A (en) Data searching method and device, electronic equipment and storage medium
CN111143695A (en) Searching method, searching device, server and storage medium
CN101930437B (en) Method and equipment for reasoning inconsistent and uncertain ontology associated with specific query
US20220284060A1 (en) Question Answering Method and Apparatus Based on Knowledge Graph
CN116346777A (en) Dictionary tree domain name matching method, device, equipment and storage medium
US12001458B2 (en) Multi-cloud object store access
CN111001157B (en) Method and device for generating reference information, storage medium and electronic device
CN111143340B (en) Data processing method and device, server and client
CN111078139B (en) Method and device for realizing S3 standard object storage interface
CN114154031A (en) Paging display method, device, equipment and storage medium for tree-shaped folding table
CN101930451B (en) For storing the method and apparatus of at least one inquiry data element of efficiently searching
CN109635175B (en) Page data splicing method and device, readable storage medium and electronic equipment

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
TR01 Transfer of patent right

Effective date of registration: 20231110

Address after: Room 302, 3rd Floor, Building 1, Yard 1, Danling Street, Haidian District, Beijing, 100080

Patentee after: Sasi Digital Technology (Beijing) Co.,Ltd.

Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: Alipay (Hangzhou) Information Technology Co.,Ltd.

TR01 Transfer of patent right