Data processing method and device, equipment and medium
By receiving business requests from the service terminal, determining the data source identifier based on the control parameters and obtaining target cached data, integrating the data acquisition method, solving the problem of delay in switching pages of stock apps, and improving data transmission efficiency and user experience.
Patent Information
- Application Number
- CN202410860184.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-11-05
AI Technical Summary
Stock apps on mobile terminals have large data processing and fast updates, which leads to delays when switching pages. How to reduce delays is an urgent problem.
By receiving service requests from the service terminal, determining the data source identification based on control parameters, and obtaining target cache data from the local database or remote terminal according to the preset data acquisition strategy, sending target cache data to the service terminal, and integrating the service line data acquisition method. Unify entrances and exits, isolate business logic and interface logic, and reduce business code coupling.
Reduces data delay phenomenon, improves data transmission efficiency, and improves user experience.
Smart Images

Figure CN118897922A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data processing method, device, equipment and medium. Background Art
[0002] At present, various applications, namely APPs, are installed on mobile terminals. People use APPs on mobile terminals to view various stocks. Since there are too many types of stocks, different stocks can be viewed by turning pages, or different performances of the same stock can be viewed by turning pages. However, stock apps process a large amount of data, update quickly, and display points are scattered. At the same time, there is a large amount of reusable data. Therefore, delays will occur during page switching. How to reduce the delay is an urgent problem to be solved. Summary of the invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a data processing method, apparatus, device and medium that overcome the above problems or at least partially solve the above problems.
[0004] In a first aspect, an embodiment of the present invention provides a data processing method, the method comprising:
[0005] Receiving a service request sent by a service terminal, wherein the service request includes at least a control parameter;
[0006] According to the control parameter, determining a data source identifier corresponding to the control parameter;
[0007] According to the data source identifier and a preset data acquisition strategy, acquiring target cache data corresponding to the data source identifier;
[0008] The target cache data is sent to the service terminal so that the service terminal displays the target cache data.
[0009] Optionally, the preset data acquisition strategy includes at least one of: acquiring data from a local database, acquiring data from a remote terminal, and acquiring data from both the local database and the remote terminal.
[0010] Optionally, acquiring the target cache data corresponding to the data source identifier according to the data source identifier and a preset data acquisition strategy includes:
[0011] According to the data source identifier, obtaining first business data corresponding to the data source identifier from a local database;
[0012] The first business data is determined as the target cache data, wherein the local database includes at least a memory cache and a disk cache, the local database includes at least a business type and business data corresponding to the business type, and the local database is stored in a bidirectional linked list mode.
[0013] Optionally, acquiring the target cache data corresponding to the data source identifier according to the data source identifier and a preset data acquisition strategy includes:
[0014] If the business data corresponding to the data source identifier is not found in the local database, a data request is sent to the remote terminal;
[0015] Receiving second service data returned by the remote terminal;
[0016] The second business data is determined as the target cache data.
[0017] Optionally, the control parameters include at least one or more of a service identifier, a support field, an interface input parameter, and a field object.
[0018] In a second aspect, an embodiment of the present invention provides a data processing device, the device comprising:
[0019] A receiving module, configured to receive a service request sent by a service terminal, wherein the service request includes at least a control parameter;
[0020] A determination module, configured to determine a data source identifier corresponding to the control parameter according to the control parameter;
[0021] An acquisition module, used to acquire target cache data corresponding to the data source identifier according to the data source identifier and a preset data acquisition strategy;
[0022] The sending module is used to send the target cache data to the service terminal so that the service terminal displays the target cache data.
[0023] Optionally, the preset data acquisition strategy includes at least one of: acquiring data from a local database, acquiring data from a remote terminal, and acquiring data from both the local database and the remote terminal.
[0024] Optionally, the acquisition module is used to:
[0025] According to the data source identifier, obtaining business data corresponding to the data source identifier from a local database;
[0026] The business data is determined as the target cache data, wherein the local database includes at least a memory cache and a disk cache, the local database includes at least a business type and business data corresponding to the business type, and the local database is stored in a bidirectional linked list mode.
[0027] Optionally, the acquisition module is used to:
[0028] If the business data corresponding to the data source identifier is not found in the local database, a data request is sent to the remote terminal;
[0029] Receiving second service data returned by the remote terminal;
[0030] The second business data is determined as the target cache data.
[0031] Optionally, the control parameters include at least one or more of a service identifier, a support field, an interface input parameter, and a field object.
[0032] In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and a memory;
[0033] The memory stores a computer program; and at least one processor executes the computer program stored in the memory to implement the data processing method provided in the first aspect.
[0034] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed, the data processing method provided in the first aspect is implemented.
[0035] The embodiments of the present invention include the following advantages:
[0036] The data processing method, apparatus, device and medium provided by the embodiments of the present invention receive a business request sent by a business terminal, wherein the business request includes at least a control parameter; determine a data source identifier corresponding to the control parameter according to the control parameter; obtain target cache data corresponding to the data source identifier according to the data source identifier and a pre-set data acquisition strategy; send the target cache data to the business terminal so that the business terminal displays the target cache data, integrate business line data acquisition methods through a scheduling center, unify entry and exit, isolate business logic and interface logic, reduce business code coupling, reduce data delay, and improve data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a flow chart of steps of an embodiment of a data processing method of the present invention;
[0038] Figure 2 It is a structural schematic diagram of the dispatching center of the present invention;
[0039] Figure 3 is a flowchart of steps of another data processing method embodiment of the present invention;
[0040] Figure 4 It is a cache object structure diagram of the present invention;
[0041] Figure 5 It is a traditional page logic flow chart;
[0042] Figure 6 It is a page logic flow diagram of the present invention;
[0043] Figure 7 is a structural block diagram of an embodiment of a data processing device of the present invention;
[0044] Figure 8 It is a structural schematic diagram of a terminal device of the present invention. DETAILED DESCRIPTION
[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0046] An embodiment of the present invention provides a data processing method for synchronizing data on a service terminal. The execution subject of this embodiment is a data processing device, which is arranged on a terminal device, wherein the terminal device at least includes a computer, a tablet terminal, a robot, etc.
[0047] Chinese translation:
[0048] QueryParam: query parameters;
[0049] provider: data provider;
[0050] Storage: storage;
[0051] Field: field;
[0052] ProviderManager: supplier management;
[0053] CompleteManager: completion management;
[0054] callback: callback;
[0055] primaryKey: business identifier;
[0056] primaryValue: data identifier;
[0057] cache: cache;
[0058] node: node;
[0059] Reference Figure 1 , shows a flow chart of steps of an embodiment of a data processing method of the present invention, the method may specifically include the following steps:
[0060] S101, receiving a service request sent by a service terminal, wherein the service request includes at least a control parameter;
[0061] Specifically, the dispatch center receives a service request sent by a service terminal, where the service request includes control parameters, and the control parameters include at least one or more of a service identifier, a support field, an interface input parameter, and a field object.
[0062] S102, determining a data source identifier corresponding to the control parameter according to the control parameter;
[0063] The dispatch center parses the control parameters, obtains each field in the control parameters, and searches for the corresponding data source identifier according to each field.
[0064] S103, acquiring target cache data corresponding to the data source identifier according to the data source identifier and a preset data acquisition strategy;
[0065] Specifically, the dispatch center obtains the target cache data corresponding to the data source identifier based on the data source identifier and the pre-set data acquisition strategy. For example, the target cache data can be obtained from the dispatch center, or from a remote terminal, or part of it can be obtained locally and part of it can be obtained from a remote terminal. No specific limitation is made in the embodiments of the present application.
[0066] S104: Send the target cache data to the service terminal, so that the service terminal displays the target cache data.
[0067] like Figure 3 As shown, the dispatch center provides a unified calling entry for users, and uses other methods such as coroutines to isolate business logic and interface logic. The user needs to pass in a custom queryParam query parameter parameter object, which contains control parameters such as primaryKey business identifier, supportField support field, data policy, interface input parameter, fields field object, etc. Subsequently, the dispatch center will parse the queryParam query parameter, find the corresponding provider data provider and cached data through dimensions such as primaryKey business identifier, supportField support field, and data field, and then obtain the data based on the data policy.
[0068] In the embodiment of the present application, remote data acquisition, cache data synchronization and business separation are carried out, and the entire system is controlled by the dispatch center. The business party only needs to specify the required data name, reading strategy, and provide business data parameters and callback methods to the dispatch center. The dispatch center will obtain data through multiple dimensions and call back to the business party. This will first greatly reduce the code redundancy of the business party. Secondly, relying on a unified management system, the latest market data synchronization can be achieved, and delayed data can be cached in a targeted manner. When delayed data is needed, the requirement of obtaining data without delay can be met, improving the user experience.
[0069] The data processing method provided by the embodiment of the present invention receives a business request sent by a business terminal, wherein the business request includes at least a control parameter; determines a data source identifier corresponding to the control parameter according to the control parameter; obtains target cache data corresponding to the data source identifier according to the data source identifier and a pre-set data acquisition strategy; sends the target cache data to the business terminal so that the business terminal displays the target cache data, integrates the business line data acquisition method through the scheduling center, unifies the entrance and exit, isolates the business logic and the interface logic, reduces the coupling of business codes, reduces data delay, and improves data transmission efficiency.
[0070] Another embodiment of the present invention further supplements the data processing method provided by the above embodiment.
[0071] like Figure 2 As shown, Figure 2 The following is a schematic diagram of the dispatch center structure, where the provider object is based on the actual business type and is a custom data provider that follows a unified interface protocol:
[0072]
[0073] primaryKey and supportField will be used as the unique identifier of the provider and registered in ProviderManager for management. You only need to implement the method with the "register_" prefix in the custom category of ProviderManager to automatically complete the registration.
[0074] The code example is as follows:
[0075]
[0076]
[0077]
[0078] In the provider protocol,
[0079] updateDataWithParameters and subscribeDataWithParameters are the specific implementations of custom http requests and socket requests respectively, which are customized by the user according to actual business needs. The requirement is that the cache method must be called for the acquired remote data and stored in a unified manner. Therefore, for business lines with the same data needs, the provider data provider object can be universal, which is also the design purpose of the providerManager supplier management, that is, through identification, the corresponding provider data provider can be found.
[0080] Optionally, the preset data acquisition strategy includes at least one of: acquiring data from a local database, acquiring data from a remote terminal, and acquiring data from both the local database and the remote terminal.
[0081] In the embodiment of the present application, manual registration or plist table configuration can also be used to generate a data management center.
[0082] Optionally, acquiring target cache data corresponding to the data source identifier according to the data source identifier and a preset data acquisition strategy includes:
[0083] According to the data source identifier, obtaining first business data corresponding to the data source identifier from a local database;
[0084] The first business data is determined as the target cache data, wherein the local database includes at least a memory cache and a disk cache, the local database includes at least a business type and business data corresponding to the business type, and the local database is stored in a bidirectional linked list mode.
[0085] Figure 4 The Storage in the Cache module is divided into memory cache and disk cache. Delayed data cache can also be implemented in the form of hash tables, etc.
[0086] In order to achieve the reuse of cached data, the actual cached data will be unbound from the business and stored in the database in an abstract dimension.
[0087] The cache object structure is as follows Figure 4 , where primaryKey refers to the business type, such as stock market data, market index data, etc., and primaryValue identifies a specific set of data, such as a certain stock, a certain market...field is a specific numeric field, such as stock price, yesterday's closing price...
[0088] In order to support delayed data caching, i.e. incremental caching, the cache structure of the field field is designed as a bidirectional linked list mode, arranged from recent to farthest according to the update time. The cache data logic is as follows:
[0089]
[0090]
[0091]
[0092] With incremental cache data, data obtained from other business lines can be shared. When business scenarios switch back and forth, the corresponding data can be directly obtained according to the delay time, which can avoid displaying blank or placeholder scenes and improve user experience.
[0093] Disk cache is an effective measure to control memory space usage. In the present invention, when the number of memory cache writes reaches a threshold, the storage operation is triggered to write the old data to the local database to free up memory space. So when reading cached data, if it is not found in the memory, it will be searched again in the local database.
[0094] Optionally, acquiring target cache data corresponding to the data source identifier according to the data source identifier and a preset data acquisition strategy includes:
[0095] If the business data corresponding to the data source identifier is not found in the local database, a data request is sent to the remote terminal;
[0096] Receiving second service data returned by the remote terminal;
[0097] The second service data is determined as the target cache data.
[0098] Optionally, the control parameters include at least one or more of a service identifier, a support field, an interface input parameter, and a field object.
[0099] like Figure 3 As shown, the data policy is defined as follows: it can be obtained locally, it can also be obtained remotely, or it can be partially obtained locally and partially obtained remotely, which is not specifically limited in this application.
[0100]
[0101] Finally, the data is called back to the user through the queryParam query parameter object.
[0102] Taking stock quotes as an example, during the trading period, the quote data changes rapidly. When the same stock exists on both page A and page B, the quote subscription logic depends on the page life cycle, and the subscription will stop when leaving the page. Before the present invention is applied, the data control process is as follows: Figure 5 When A->B, B->A, because A and B cache data separately and isolate each other, A still displays data3 before obtaining remote data, resulting in information asynchrony.
[0103] Now, pages A and B are connected to the data system of the present invention according to the following code. After the connection, the business code does not need to process the specific implementation of the interface. The business only needs to indicate the required data parameters and read the strategy:
[0104]
[0105]
[0106] At this time, when switching between pages, the data logic is as follows Figure 6 , whenever the A and B pages obtain and display data, they will all be the latest synchronized data.
[0107] The embodiment of the present application integrates the data acquisition method of the business line through the dispatch center, unifies the entrance and exit, isolates the business logic and interface logic, and reduces the coupling of business code. Through the OC runtime characteristics, the data provider is automatically registered, and the provider can exist and reuse as a separate module. The data is cached through a bidirectional linked list structure, supporting delayed data caching and reading of the same field.
[0108] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0109] The data processing method provided by the embodiment of the present invention receives a business request sent by a business terminal, wherein the business request includes at least a control parameter; determines a data source identifier corresponding to the control parameter according to the control parameter; obtains target cache data corresponding to the data source identifier according to the data source identifier and a pre-set data acquisition strategy; sends the target cache data to the business terminal so that the business terminal displays the target cache data, integrates the business line data acquisition method through the scheduling center, unifies the entrance and exit, isolates the business logic and the interface logic, reduces the coupling of business codes, reduces data delay, and improves data transmission efficiency.
[0110] Another embodiment of the present invention provides a data processing device for executing the data processing method provided in the above embodiment.
[0111] Reference Figure 7 , shows a structural block diagram of an embodiment of a data processing device of the present invention, the device may specifically include the following modules: a receiving module 701, a determining module 702, an acquiring module 703 and a sending module 704, wherein:
[0112] The receiving module 701 is used to receive a service request sent by a service terminal, wherein the service request at least includes a control parameter;
[0113] The determination module 702 is used to determine the data source identifier corresponding to the control parameter according to the control parameter;
[0114] The acquisition module 703 is used to acquire the target cache data corresponding to the data source identifier according to the data source identifier and the preset data acquisition strategy;
[0115] The sending module 704 is used to send the target cache data to the service terminal so that the service terminal displays the target cache data.
[0116] The data processing device provided by the embodiment of the present invention receives a business request sent by a business terminal, wherein the business request includes at least a control parameter; determines a data source identifier corresponding to the control parameter according to the control parameter; obtains target cache data corresponding to the data source identifier according to the data source identifier and a pre-set data acquisition strategy; sends the target cache data to the business terminal so that the business terminal displays the target cache data, integrates the business line data acquisition method through the scheduling center, unifies the entrance and exit, isolates the business logic and the interface logic, reduces the coupling of business codes, reduces data delay, and improves data transmission efficiency.
[0117] Another embodiment of the present invention further supplements the data processing device provided in the above embodiment.
[0118] Optionally, the preset data acquisition strategy includes at least one of: acquiring data from a local database, acquiring data from a remote terminal, and acquiring data from both the local database and the remote terminal.
[0119] Optionally, the acquisition module is used to:
[0120] According to the data source identifier, obtain the business data corresponding to the data source identifier from the local database;
[0121] The business data is determined as the target cache data, wherein the local database includes at least a memory cache and a disk cache, the local database includes at least a business type and business data corresponding to the business type, and the local database is stored in a bidirectional linked list mode.
[0122] Optionally, the acquisition module is used to:
[0123] If the business data corresponding to the data source identifier is not found in the local database, a data request is sent to the remote terminal;
[0124] Receiving second service data returned by the remote terminal;
[0125] The second service data is determined as the target cache data.
[0126] Optionally, the control parameters include at least one or more of a service identifier, a support field, an interface input parameter, and a field object.
[0127] It should be noted that each implementable method in this embodiment may be implemented separately, or may be implemented in combination in any combination without conflict, and this application is not limited thereto.
[0128] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0129] The data processing device provided by the embodiment of the present invention receives a business request sent by a business terminal, wherein the business request includes at least a control parameter; determines a data source identifier corresponding to the control parameter according to the control parameter; obtains target cache data corresponding to the data source identifier according to the data source identifier and a pre-set data acquisition strategy; sends the target cache data to the business terminal so that the business terminal displays the target cache data, integrates the business line data acquisition method through the scheduling center, unifies the entrance and exit, isolates the business logic and the interface logic, reduces the coupling of business codes, reduces data delay, and improves data transmission efficiency.
[0130] Yet another embodiment of the present invention provides a terminal device for executing the data processing method provided in the above embodiment.
[0131] Figure 8 is a schematic diagram of the structure of a terminal device of the present invention, such as Figure 8 As shown, the terminal device includes: at least one processor 801 and a memory 802;
[0132] The memory stores a computer program; and at least one processor executes the computer program stored in the memory to implement the data processing method provided in the above embodiment.
[0133] The terminal device provided in this embodiment receives a business request sent by a business terminal, wherein the business request includes at least a control parameter; determines a data source identifier corresponding to the control parameter according to the control parameter; obtains target cache data corresponding to the data source identifier according to the data source identifier and a pre-set data acquisition strategy; sends the target cache data to the business terminal so that the business terminal displays the target cache data, integrates the business line data acquisition method through the scheduling center, unifies the entrance and exit, isolates the business logic and the interface logic, reduces the coupling of business codes, reduces data delays, and improves data transmission efficiency.
[0134] Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed, the data processing method provided in any of the above embodiments is implemented.
[0135] According to the computer-readable storage medium of this embodiment, a business request sent by a business terminal is received, wherein the business request includes at least a control parameter; based on the control parameter, a data source identifier corresponding to the control parameter is determined; based on the data source identifier and a pre-set data acquisition strategy, target cache data corresponding to the data source identifier is acquired; the target cache data is sent to the business terminal so that the business terminal displays the target cache data, and through the scheduling center, the business line data acquisition method is integrated, the entrance and exit are unified, the business logic and the interface logic are isolated, the business code coupling is reduced, the data delay phenomenon is reduced, and the data transmission efficiency is improved.
[0136] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0137] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0138] The embodiments of the present invention are described with reference to flowcharts and / or block diagrams of methods, electronic devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing electronic device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing electronic device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing electronic device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing electronic device so that a series of operating steps are executed on the computer or other programmable electronic device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable electronic device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0141] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0142] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or electronic device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article or electronic device. In the absence of further restrictions, the elements defined by the sentence "comprises a..." do not exclude the presence of other identical elements in the process, method, article or electronic device that includes the elements.
[0143] The data processing method and the data processing device provided by the present invention are introduced in detail above. The principle and implementation mode of the present invention are explained by using specific examples in this article. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and the scope of application. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A data processing method, It is characterized in that The method comprises: Receiving a service request sent by a service terminal, wherein the service request includes at least a control parameter; According to the control parameter, determining a data source identifier corresponding to the control parameter; According to the data source identifier and a preset data acquisition strategy, acquiring target cache data corresponding to the data source identifier; The target cache data is sent to the service terminal so that the service terminal displays the target cache data.
2. The method according to claim 1, It is characterized in that The preset data acquisition strategy at least includes: acquiring data from a local database, acquiring data from a remote terminal, and acquiring data from both the local database and the remote terminal.
3. The method according to claim 2, It is characterized in that The acquiring, according to the data source identifier and a preset data acquisition strategy, target cache data corresponding to the data source identifier comprises: According to the data source identifier, obtaining first business data corresponding to the data source identifier from a local database; The first business data is determined as the target cache data, wherein the local database includes at least a memory cache and a disk cache, the local database includes at least a business type and business data corresponding to the business type, and the local database is stored in a bidirectional linked list mode.
4. The method according to claim 2, It is characterized in that The acquiring, according to the data source identifier and a preset data acquisition strategy, target cache data corresponding to the data source identifier comprises: If the business data corresponding to the data source identifier is not found in the local database, a data request is sent to the remote terminal; Receiving second service data returned by the remote terminal; The second business data is determined as the target cache data.
5. The method according to claim 1, It is characterized in that The control parameters include at least one or more of a service identifier, a support field, an interface input parameter, and a field object.
6. A data processing device, It is characterized in that The device comprises: A receiving module, configured to receive a service request sent by a service terminal, wherein the service request includes at least a control parameter; A determination module, configured to determine a data source identifier corresponding to the control parameter according to the control parameter; An acquisition module, used to acquire target cache data corresponding to the data source identifier according to the data source identifier and a preset data acquisition strategy; The sending module is used to send the target cache data to the service terminal so that the service terminal displays the target cache data.
7. The device according to claim 6, It is characterized in that The preset data acquisition strategy at least includes: acquiring data from a local database, acquiring data from a remote terminal, and acquiring data from both the local database and the remote terminal.
8. The device according to claim 6, It is characterized in that The acquisition module is used for: According to the data source identifier, obtaining business data corresponding to the data source identifier from a local database; The business data is determined as the target cache data, wherein the local database includes at least a memory cache and a disk cache, the local database includes at least a business type and business data corresponding to the business type, and the local database is stored in a bidirectional linked list mode.
9. A terminal device, It is characterized in that include: at least one processor and memory; The memory stores a computer program; The at least one processor executes the computer program stored in the memory to implement the data processing method according to any one of claims 1 to 5.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the data processing method according to any one of claims 1 to 5 is implemented.
