CN117056102B - Data calling method, system, computer equipment and readable storage medium - Google Patents

Data calling method, system, computer equipment and readable storage medium Download PDF

Info

Publication number
CN117056102B
CN117056102B CN202311041397.4A CN202311041397A CN117056102B CN 117056102 B CN117056102 B CN 117056102B CN 202311041397 A CN202311041397 A CN 202311041397A CN 117056102 B CN117056102 B CN 117056102B
Authority
CN
China
Prior art keywords
data
calling
sub
call
target
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
CN202311041397.4A
Other languages
Chinese (zh)
Other versions
CN117056102A (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.)
Beijing Yuanshan Intelligent Technology Co Ltd
Original Assignee
Beijing Yuanshan Intelligent 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 Beijing Yuanshan Intelligent Technology Co Ltd filed Critical Beijing Yuanshan Intelligent Technology Co Ltd
Priority to CN202311041397.4A priority Critical patent/CN117056102B/en
Publication of CN117056102A publication Critical patent/CN117056102A/en
Application granted granted Critical
Publication of CN117056102B publication Critical patent/CN117056102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a data calling method, a system, computer equipment and a readable storage medium, wherein a user side acquires a plurality of data calling sub-requests input by a user; the user combines a plurality of data calling sub-requests according to the hierarchical relation of every two target calling data to obtain a data calling request; the server side calls out the target call data indicated to be acquired by each data call sub-request from the storage position carried in each data call sub-request; the server uses the calling program carried in the data calling sub-request to send the target calling data indicated to be obtained by the data calling sub-request to the user terminal through the calling interface carried in the data calling sub-request; and the user terminal combines the target call data according to the hierarchical relationship of every two target call data to obtain target data. By adopting the method, the communication load between the user side and the server side when the data is called is reduced, and the effectiveness and the efficiency when the data is called are improved.

Description

Data calling method, system, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of computer data processing, and in particular, to a data calling method, a system, a computer device, and a readable storage medium.
Background
In the prior art, when a user side requests a plurality of data from a server side, the user side often needs to send the data request to the server side for a plurality of times, so that the communication between the user side and the server side is too frequent due to the excessive times of sending the request to the server side by the user side, and the communication load between the user side and the server side is increased when the data is called. Meanwhile, because multiple requests are required to be transmitted between the user terminal and the server terminal, the situation that partial requests are lost due to unstable communication caused by overload of communication is likely to occur, so that the server terminal cannot receive all data requests sent by the user terminal, and therefore the user terminal cannot call all data required by the user terminal from the server terminal, and the effectiveness and efficiency of data call are reduced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a data calling method, system, computer device and readable storage medium, so as to reduce the communication load between a user terminal and a server terminal when data call is performed, and improve the effectiveness and efficiency when data call is performed.
In a first aspect, an embodiment of the present application provides a data calling method, which is applied to a data calling system, where the system includes a user side and a server side, and the user side and the server side can communicate, and the method includes:
the user side obtains a plurality of data calling sub-requests input by the user, wherein different data calling sub-requests indicate to obtain different target calling data, and each data calling sub-request carries a storage position, a calling program and a calling interface of the target calling data which are respectively indicated to be obtained in the server side;
the user side combines a plurality of data calling sub-requests according to the hierarchical relation of each two target calling data to obtain a data calling request and sends the data calling request to the server side;
the server traverses each data calling sub-request in the data calling requests, and invokes the target calling data indicated to be acquired by each data calling sub-request from a storage position carried in each data calling sub-request;
for the target call data indicated to be acquired by each data call sub-request, the server sends the target call data indicated to be acquired by the data call sub-request to the user side through a call interface carried in the data call sub-request by utilizing a call program carried in the data call sub-request;
and the user terminal combines the received target call data according to the hierarchical relationship of every two target call data to obtain target data.
Optionally, the hierarchical relationship is a parent-child relationship.
Optionally, the user terminal combines a plurality of data call sub-requests to obtain a data call request according to the hierarchical relationship of each two target call data, including:
the user side obtains the hierarchical relation of every two target call data;
and the user side sequentially arranges the father-level sub-requests and the son-level sub-requests in every two data calling sub-requests to obtain the data calling requests, wherein for every two data calling sub-requests, the father-level sub-request in the two data calling sub-requests is the data calling sub-request with the indicated acquired target calling data as the father-level calling data, and the son-level sub-request in the two data calling sub-requests is the data calling sub-request with the indicated acquired target calling data as the son-level calling data.
Optionally, the user side combines the target call data received by the user side according to the hierarchical relationship of each two target call data to obtain target data, including:
the user side sequentially arranges father-level call data and son-level call data in every two received target call data to obtain the target data;
or the user side constructs a tree diagram according to the father-level call data and the son-level call data in each two target call data received by the user side, and determines the tree diagram as the target data.
In a second aspect, an embodiment of the present application provides a data calling system, where the system includes a user side and a server side, where the user side and the server side can communicate;
the user side is used for acquiring a plurality of data calling sub-requests input by a user, wherein different data calling sub-requests indicate to acquire different target calling data, and each data calling sub-request carries a storage position, a calling program and a calling interface of the target calling data which are respectively indicated to be acquired in the server side;
the user side is used for combining a plurality of data calling sub-requests according to the hierarchical relation of each two target calling data to obtain a data calling request and sending the data calling request to the server side;
the server side is used for traversing each data calling sub-request in the data calling requests and calling out the target calling data indicated to be acquired by each data calling sub-request from the storage position carried in each data calling sub-request;
the server side is used for sending the target call data indicated to be obtained by the data call sub-request to the user side through a call interface carried in the data call sub-request by using a call program carried in the data call sub-request;
and the user side is used for combining the received target call data according to the hierarchical relationship of each two target call data to obtain target data.
Optionally, the hierarchical relationship is a parent-child relationship.
Optionally, when the user side is configured to combine the plurality of data call sub-requests to obtain a data call request according to the hierarchical relationship of each two target call data, the method is specifically configured to:
acquiring the hierarchical relation of every two target call data;
and sequentially arranging parent-level sub-requests and child-level sub-requests in every two data calling sub-requests to obtain the data calling requests, wherein for every two data calling sub-requests, the parent-level sub-requests in the two data calling sub-requests are data calling sub-requests with the indicated acquired target calling data being parent-level calling data, and the child-level sub-requests in the two data calling sub-requests are data calling sub-requests with the indicated acquired target calling data being child-level calling data.
Optionally, when the user side is configured to combine the target call data received by the user side according to the hierarchical relationship between every two target call data to obtain target data, the method is specifically configured to:
sequentially arranging the father-level call data and the son-level call data in each two received target call data to obtain the target data;
or constructing a tree diagram according to the received parent-level call data and child-level call data in each two target call data, and determining the tree diagram as the target data.
In a third aspect, embodiments of the present application provide a computer device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory in communication via the bus when the computer device is running, the machine readable instructions when executed by the processor performing the steps of the data invoking method as described in any of the alternative embodiments of the first aspect above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the data recall method described in any of the alternative embodiments of the first aspect described above.
The technical scheme provided by the application comprises the following beneficial effects:
the method comprises the steps that a plurality of data calling sub-requests input by a user are combined according to the hierarchical relation of target calling data indicated by every two data calling sub-requests through a user side to obtain a data calling request, and the data calling request is sent to a server side; then the server side calls the target call data according to the call information carried in each data call sub-request and returns the call information to the user side; then, combining the target call data by the user side according to the hierarchical relationship to obtain final call data; by adopting the method, the user side can realize the calling of a plurality of data without sending the data request to the server side for a plurality of times, so that the communication load between the user side and the server side when the data is called is reduced, and the effectiveness and the efficiency when the data is called are improved.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a data calling method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data calling system according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
Example 1
For the sake of understanding the present application, the following describes in detail the first embodiment of the present application with reference to the flowchart of the first embodiment of the present invention shown in fig. 1.
Referring to fig. 1, fig. 1 shows a flowchart of a data calling method according to an embodiment of the present invention, where the data calling method is applied to a data calling system, the system includes a user side and a server side, the user side and the server side can communicate, and the method includes steps S101 to S105:
s101: the user side obtains a plurality of data calling sub-requests input by the user, wherein different data calling sub-requests indicate to obtain different target calling data, and each data calling sub-request carries a storage position, a calling program and a calling interface of the target calling data which are respectively indicated to be obtained in the server side.
Specifically, when a user needs to call a plurality of target call data, a data call sub-request corresponding to each target call data is input through a user side, each data call sub-request includes a service name identifier (indicating a storage position of the target call data in the server side), a uniform resource identifier (indicating a call interface of the target call data in the server side) and a body parameter (indicating a call program of the target call data in the server side), the service name identifier, the uniform resource identifier and the body parameter included in each data call sub-request are packaged to obtain a set of json arrays embedded in the data call sub-request corresponding to each data call sub-request, so that each data call sub-request can carry a storage position (resolving the service name identifier) of the target call data respectively indicated to be obtained, a call program (resolving the body parameter) and a call interface (resolving the uniform resource identifier).
The above analysis of body parameters includes the following steps: step one, replacing a placeholder in a body parameter with a return value; step two, replacing the reference content of the return value in the body parameter; step three, judging whether the replaced rest of contents in the body parameters refer to the current return value or not so as to determine whether multi-core parallel execution can be performed or not; and step four, if the multi-core parallel execution is possible, packaging all calling programs indicated by the body parameters after the replacement of the reference content to obtain the calling program for data call, and if the multi-core parallel execution is not possible, taking each calling program indicated by the body parameters after the replacement of the reference content as the calling program for data call.
S102: and the user terminal combines a plurality of data calling sub-requests according to the hierarchical relation of each two target calling data to obtain a data calling request and sends the data calling request to the server terminal.
Specifically, in the database of the user side, a hierarchical relationship between all data calling sub-requests available for the user to input is prestored, and the plurality of data calling sub-requests input by the user are one or more of all data calling sub-requests available for the user to input. After the user side obtains a plurality of data calling sub-requests input by the user, the user side inquires the hierarchical relation of each two target calling data from the database, and then combines the data calling sub-requests corresponding to each target calling data into a whole, namely the data calling request, according to the hierarchical relation of each two target calling data.
After the user side obtains the data call request, the data call request is integrally sent to the server side, and before sending, in order to improve the safety of data transmission, the data call request can be encrypted by using a preset encryption algorithm, and then the encrypted data call request is sent to the server side.
S103: the server traverses each data calling sub-request in the data calling requests, and invokes the target calling data indicated to be acquired by each data calling sub-request from the storage position carried in each data calling sub-request.
Specifically, after receiving the data call request, the server decrypts the encrypted data call request by using a preset decryption algorithm if the data call request is an encrypted request, and directly traverses each data call sub-request in the data call request if the data call request is not encrypted. Based on the fact that each data calling sub-request carries a group of json arrays, storage positions indicated by the json arrays in each data calling sub-request can be obtained according to the json arrays in each data calling sub-request, and then the server calls out different target calling data from different storage positions.
S104: and for the target call data indicated to be acquired by each data call sub-request, the server sends the target call data indicated to be acquired by the data call sub-request to the user side through a call interface carried in the data call sub-request by utilizing a call program carried in the data call sub-request.
Specifically, based on the fact that each data call sub-request carries a group of json arrays, a calling program and a calling interface indicated by the json arrays in each data call sub-request can be obtained according to the json arrays in each data call sub-request, and then for each data call sub-request, the server sends target call data indicated to be obtained by the data call sub-request to the user side through the calling interface indicated by the json arrays in the data call sub-request.
S105: and the user terminal combines the received target call data according to the hierarchical relationship of every two target call data to obtain target data.
Specifically, when the server sends a plurality of target call data to the user terminal, the sending sequence is not limited, so that the obtained plurality of target call data may be disordered, and when the user terminal receives the plurality of target call data, the target call data received by the user terminal are combined according to the hierarchical relationship of every two target call data in the database to obtain the target data, thereby completing the call of the data.
In addition, after step S103, that is, after the server side calls out the target call data indicated to be acquired by each data call sub-request, the method further includes: the server generates a plurality of content codes according to each target call data; the server side compiles a plurality of content codes to obtain data to be called; and the server side sends the data to be called to the user side, so that the data is called.
In one possible implementation, the hierarchical relationship is a parent-child relationship.
In a possible implementation manner, the user terminal combines a plurality of data call sub-requests to obtain a data call request according to the hierarchical relationship of each two target call data, and the method includes:
the user side obtains the hierarchical relation of every two target call data; and the user side sequentially arranges the father-level sub-requests and the son-level sub-requests in every two data calling sub-requests to obtain the data calling requests, wherein for every two data calling sub-requests, the father-level sub-request in the two data calling sub-requests is the data calling sub-request with the indicated acquired target calling data as the father-level calling data, and the son-level sub-request in the two data calling sub-requests is the data calling sub-request with the indicated acquired target calling data as the son-level calling data.
Specifically, for example, the target call data includes first data, second data and third data, the first data is target call data obtained by the first request, the second data is target call data obtained by the second request, and the third data is target call data obtained by the third call request. And if the hierarchical relationship among the first data, the second data and the third data is that the first data is a parent level of the third data and the third data is a parent level of the second data, the first request, the second request and the third request are used as data calling requests in a combination form of 'the first request-the third request-the second request'.
In a possible implementation manner, the combining, by the user side, the target call data received by the user side according to the hierarchical relationship between every two target call data to obtain target data includes:
and the user side sequentially arranges parent-level call data and child-level call data in every two received target call data to obtain the target data.
Specifically, for example, the destination call data received by the user terminal includes fourth data, fifth data and sixth data, and based on that the order of the received destination call data received by the user terminal is random (for example, the sixth data is received first, then the fifth data is received, and finally the fourth data is received), in order to obtain the destination data having a hierarchical relationship, the user terminal combines the fourth data, the fifth data and the sixth data into a form of "fourth data-fifth data-sixth data" according to the fact that the fourth data preconfigured in the database is the parent of the fifth data and the fifth data is the parent of the sixth data.
Or the user side constructs a tree diagram according to the father-level call data and the son-level call data in each two target call data received by the user side, and determines the tree diagram as the target data.
Specifically, the user side takes father-level call data in every two target call data received by the user side as father-level nodes, takes son-level call data as son-level nodes to construct a tree diagram and performs visual display, so that the user can obtain all target call data which the user wants to call, and meanwhile, the hierarchical relation between each target call data can be known more clearly.
Example two
Referring to fig. 2, fig. 2 shows a schematic structural diagram of a data call system according to a second embodiment of the present invention, where the system includes a user terminal 201 and a server terminal 202, and the user terminal and the server terminal are capable of communicating with each other:
the user side is used for acquiring a plurality of data calling sub-requests input by a user, wherein different data calling sub-requests indicate to acquire different target calling data, and each data calling sub-request carries a storage position, a calling program and a calling interface of the target calling data which are respectively indicated to be acquired in the server side;
the user side is used for combining a plurality of data calling sub-requests according to the hierarchical relation of each two target calling data to obtain a data calling request and sending the data calling request to the server side;
the server side is used for traversing each data calling sub-request in the data calling requests and calling out the target calling data indicated to be acquired by each data calling sub-request from the storage position carried in each data calling sub-request;
the server side is used for sending the target call data indicated to be obtained by the data call sub-request to the user side through a call interface carried in the data call sub-request by using a call program carried in the data call sub-request;
and the user side is used for combining the received target call data according to the hierarchical relationship of each two target call data to obtain target data.
In one possible implementation, the hierarchical relationship is a parent-child relationship.
In a possible implementation manner, when the user side is configured to combine the plurality of data call sub-requests according to the hierarchical relationship of each two target call data to obtain a data call request, the method is specifically used for:
acquiring the hierarchical relation of every two target call data;
and sequentially arranging parent-level sub-requests and child-level sub-requests in every two data calling sub-requests to obtain the data calling requests, wherein for every two data calling sub-requests, the parent-level sub-requests in the two data calling sub-requests are data calling sub-requests with the indicated acquired target calling data being parent-level calling data, and the child-level sub-requests in the two data calling sub-requests are data calling sub-requests with the indicated acquired target calling data being child-level calling data.
In a possible implementation manner, when the user side is configured to combine the target call data received by the user side according to the hierarchical relationship between every two target call data to obtain target data, the method is specifically configured to:
sequentially arranging the father-level call data and the son-level call data in each two received target call data to obtain the target data;
or constructing a tree diagram according to the received parent-level call data and child-level call data in each two target call data, and determining the tree diagram as the target data.
Example III
Based on the same application concept, referring to fig. 3, fig. 3 shows a schematic structural diagram of a computer device provided in a third embodiment of the present invention, where, as shown in fig. 3, a computer device 300 provided in the third embodiment of the present invention includes:
a processor 301, a memory 302 and a bus 303, said memory 302 storing machine readable instructions executable by said processor 301, said processor 301 and said memory 302 communicating via said bus 303 when said computer device 300 is running, said machine readable instructions being executed by said processor 301 to perform the steps of a data recall method as described in the first embodiment above.
Example IV
Based on the same application concept, the embodiments of the present application further provide a computer readable storage medium, on which a computer program is stored, which when executed by a processor performs the steps of a data calling method according to any of the above embodiments.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
The computer program product for performing data call provided by the embodiment of the present invention includes a computer readable storage medium storing program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
The data calling system provided by the embodiment of the invention can be specific hardware on the equipment or software or firmware installed on the equipment. The system provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment portion is not mentioned. It will be clear to those skilled in the art that, for convenience and brevity, the specific operation of the system, apparatus and unit described above may refer to the corresponding process in the above method embodiment, which is not described in detail herein.
In the embodiments provided herein, it should be understood that the disclosed systems and methods may be implemented in other ways. The system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions in actual implementation, and e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments provided in the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in 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 this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A data calling method, which is applied to a data calling system, wherein the system comprises a user side and a server side, the user side and the server side can communicate, and the method comprises the following steps:
the user side obtains a plurality of data calling sub-requests input by the user, wherein different data calling sub-requests indicate to obtain different target calling data, and each data calling sub-request carries a storage position, a calling program and a calling interface of the target calling data which are respectively indicated to be obtained in the server side;
the user side combines a plurality of data calling sub-requests according to the hierarchical relation of each two target calling data to obtain a data calling request and sends the data calling request to the server side;
the server traverses each data calling sub-request in the data calling requests, and invokes the target calling data indicated to be acquired by each data calling sub-request from a storage position carried in each data calling sub-request;
for the target call data indicated to be acquired by each data call sub-request, the server side sends the target call data indicated to be acquired by the data call sub-request to the user side through a call interface carried in the data call sub-request by utilizing a call program carried in the data call sub-request;
and the user terminal combines the received target call data according to the hierarchical relationship of every two target call data to obtain target data.
2. The method of claim 1, wherein the hierarchical relationship is a parent-child relationship.
3. The method according to claim 2, wherein the combining, by the user side, the plurality of data call sub-requests according to the hierarchical relationship of each two target call data to obtain the data call request includes:
the user side obtains the hierarchical relation of every two target call data;
and the user side sequentially arranges the father-level sub-requests and the son-level sub-requests in every two data calling sub-requests to obtain the data calling requests, wherein for every two data calling sub-requests, the father-level sub-request in the two data calling sub-requests is the data calling sub-request with the indicated acquired target calling data as the father-level calling data, and the son-level sub-request in the two data calling sub-requests is the data calling sub-request with the indicated acquired target calling data as the son-level calling data.
4. The method of claim 2, wherein the combining the target call data received by the user terminal according to the hierarchical relationship between each two target call data to obtain target data includes:
the user side sequentially arranges father-level call data and son-level call data in every two received target call data to obtain the target data;
or the user side constructs a tree diagram according to the father-level call data and the son-level call data in each two target call data received by the user side, and determines the tree diagram as the target data.
5. The data calling system is characterized by comprising a user side and a service side, wherein the user side and the service side can communicate;
the user side is used for acquiring a plurality of data calling sub-requests input by a user, wherein different data calling sub-requests indicate to acquire different target calling data, and each data calling sub-request carries a storage position, a calling program and a calling interface of the target calling data which are respectively indicated to be acquired in the server side;
the user side is used for combining a plurality of data calling sub-requests according to the hierarchical relation of each two target calling data to obtain a data calling request and sending the data calling request to the server side;
the server side is used for traversing each data calling sub-request in the data calling requests and calling out the target calling data indicated to be acquired by each data calling sub-request from the storage position carried in each data calling sub-request;
the server side is used for sending the target call data indicated to be obtained by the data call sub-request to the user side through a call interface carried in the data call sub-request by using a call program carried in the data call sub-request;
and the user side is used for combining the received target call data according to the hierarchical relationship of each two target call data to obtain target data.
6. The system of claim 5, wherein the hierarchical relationship is a parent-child relationship.
7. The system of claim 6, wherein the client is configured to, when configured to combine the plurality of data call sub-requests according to a hierarchical relationship between each two target call data to obtain a data call request, specifically:
acquiring the hierarchical relation of every two target call data;
and sequentially arranging parent-level sub-requests and child-level sub-requests in every two data calling sub-requests to obtain the data calling requests, wherein for every two data calling sub-requests, the parent-level sub-requests in the two data calling sub-requests are data calling sub-requests with the indicated acquired target calling data being parent-level calling data, and the child-level sub-requests in the two data calling sub-requests are data calling sub-requests with the indicated acquired target calling data being child-level calling data.
8. The system of claim 6, wherein the client is configured to, when configured to combine the target call data received by the client according to the hierarchical relationship between each two target call data to obtain the target data, specifically:
sequentially arranging the father-level call data and the son-level call data in each two received target call data to obtain the target data;
or constructing a tree diagram according to the received parent-level call data and child-level call data in each two target call data, and determining the tree diagram as the target data.
9. A computer device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when said computer device is running, said machine readable instructions when executed by said processor performing the steps of the data invoking method as claimed in any of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the data invoking method according to any of claims 1 to 4.
CN202311041397.4A 2023-08-17 2023-08-17 Data calling method, system, computer equipment and readable storage medium Active CN117056102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311041397.4A CN117056102B (en) 2023-08-17 2023-08-17 Data calling method, system, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311041397.4A CN117056102B (en) 2023-08-17 2023-08-17 Data calling method, system, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN117056102A CN117056102A (en) 2023-11-14
CN117056102B true CN117056102B (en) 2024-04-09

Family

ID=88662258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311041397.4A Active CN117056102B (en) 2023-08-17 2023-08-17 Data calling method, system, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117056102B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143352A (en) * 2019-11-28 2020-05-12 泰康保险集团股份有限公司 Data processing method and device, electronic equipment and storage medium
CN111858496A (en) * 2020-07-27 2020-10-30 北京大道云行科技有限公司 Metadata retrieval method and device, storage medium and electronic equipment
WO2021056739A1 (en) * 2019-09-25 2021-04-01 平安科技(深圳)有限公司 Performance analysis method, device, computer apparatus and storage medium
CN112866177A (en) * 2019-11-26 2021-05-28 浙江大搜车软件技术有限公司 Method, device, storage medium and computer equipment for processing service call request

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021056739A1 (en) * 2019-09-25 2021-04-01 平安科技(深圳)有限公司 Performance analysis method, device, computer apparatus and storage medium
CN112866177A (en) * 2019-11-26 2021-05-28 浙江大搜车软件技术有限公司 Method, device, storage medium and computer equipment for processing service call request
CN111143352A (en) * 2019-11-28 2020-05-12 泰康保险集团股份有限公司 Data processing method and device, electronic equipment and storage medium
CN111858496A (en) * 2020-07-27 2020-10-30 北京大道云行科技有限公司 Metadata retrieval method and device, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RESTful Web服务在云平台下的设计与实现;熊耀;《中国优秀硕士学位论文全文数据库 信息科技辑》;第第2018年卷卷(第第10期期);全文 *

Also Published As

Publication number Publication date
CN117056102A (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN102263828B (en) Load balanced sharing method and equipment
CN108173774B (en) Client upgrading method and system
CN110134889B (en) Short link generation method and device and server
CN111913738B (en) Access request processing method, device, computing equipment and medium
CN108377247B (en) Message pushing method and device
EP3531749B1 (en) Management method, management unit and system for network function
CN115516840A (en) Information processing method, device, system, medium, chip and program
CN110377440B (en) Information processing method and device
CN111988418B (en) Data processing method, device, equipment and computer readable storage medium
CN110795741A (en) Method and device for carrying out security processing on data
CN114780982A (en) Flow business circulation method, device and system
CN117056102B (en) Data calling method, system, computer equipment and readable storage medium
US20160156722A1 (en) Resource migration method and apparatus
CN109525550B (en) Data message processing method, device and system
CN112148320A (en) Application program upgrading method, device, equipment and storage medium
US20210216389A1 (en) Automatic repairs via communications with peer devices across multiple networks
EP2701068B1 (en) Network access system
CN112839108B (en) Connection establishment method, device, equipment, data network and storage medium
CN111818038B (en) Network data acquisition and identification method and device
CN110827079B (en) Order following processing method, device and storage medium
CN109688204B (en) File downloading method, node and terminal based on NDN (named data networking)
CN113392350A (en) Page routing processing method, device, equipment, storage medium and program product
CN113746918A (en) Hypertext transfer protocol proxy method and system
CN112231566A (en) Information pushing method, device and system and readable storage medium
CN114884730B (en) Request detection method, device, equipment and readable storage medium

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