Data processing method, device, server, terminal and storage medium
By obtaining and pushing resource storage data to the second server in advance in the live sales scenario, the problem of delay in processing resource submission instructions after the goods are put on the shelves is solved, and the processing speed and user experience are improved.
Patent Information
- Application Number
- CN202111396916.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-11-23
AI Technical Summary
In the live sales scenario, after the goods are put on the shelves, there is no relevant data in the local cache, the resource submission instruction needs to penetrate the cache and initiate a request to the remote server or database, resulting in an increase in the instruction processing time and affecting the user experience.
By receiving data statistics requests, resource information is obtained in advance and its stored data is pushed to the second server, so that it can directly process the resource submission instructions when it receives resource submission instructions, avoiding delays caused by data loss.
It improves the instruction processing speed of the second server, improves the user experience, reduces the delay caused by data loss, and improves the efficiency of resource submission.
Smart Images

Figure CN114201510B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a data processing method, device, server, terminal and storage medium. Background Art
[0002] With the development of the live streaming industry, a sales method called live streaming sales has emerged. During the live streaming, the anchor can recommend goods to users, and users can decide whether to order the relevant goods by watching the live streaming video.
[0003] Currently, in the scenario of live selling, sellers often put goods on the shelves on site. Immediately after the goods are put on the shelves, they will receive a large number of submission instructions for the resources of the newly put goods. However, because the goods have just been put on the shelves, there is no relevant data in the local cache of each server, resulting in a large number of resource submission instructions penetrating the cache to initiate requests to the remote server or database server, which takes time to send the request, thereby increasing the instruction processing time. Summary of the invention
[0004] The present disclosure provides a data processing method, device, server, terminal and storage medium to at least solve the problem of long instruction processing time in related technologies. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
[0006] receiving a data statistics request, the data statistics request carrying resource information of resources to be submitted, the data statistics request being sent by the terminal when receiving an instruction for the resources to be submitted;
[0007] According to the resource information received within a preset time period, obtaining resource storage data corresponding to the resource information;
[0008] The resource storage data is pushed to the second server, so that when the second server receives the resource submission instruction, it processes the resource submission instruction according to the resource storage data.
[0009] Optionally, acquiring resource storage data corresponding to the resource information according to the resource information received within a preset time period includes:
[0010] Obtaining the cache capacity corresponding to the second server;
[0011] Filtering the resource information received within a preset time period according to the cache capacity to determine target resource information;
[0012] Obtain resource storage data corresponding to the target resource information.
[0013] Optionally, the acquiring resource storage data corresponding to the target resource information includes:
[0014] Sending a data query request to a third server, wherein the data query request carries the target resource information;
[0015] Receive the query result returned by the third server according to the data query request, and obtain the resource storage data corresponding to the target resource information.
[0016] Optionally, screening the resource information received within a preset time period according to the cache capacity to determine the target resource information includes:
[0017] Counting the resource information received within a preset time period and determining the statistical result;
[0018] Sorting the statistical results to determine the sorting results;
[0019] The sorting results are screened according to the cache capacity to determine target resource information.
[0020] Optionally, the pushing the resource storage data to the second server so that the second server processes the resource submission instruction according to the resource storage data when receiving the resource submission instruction, includes:
[0021] The commodity storage data is pushed to the second server, so that the second server replaces the local cache data with the resource storage data; and when receiving the resource submission instruction, the resource submission instruction is processed according to the resource storage data.
[0022] Optionally, the pushing the resource storage data to the second server so that the second server processes the resource submission instruction according to the resource storage data when receiving the resource submission instruction, includes:
[0023] The resource storage data is pushed to the second server, so that the second server determines the data to be cached and the data to be upgraded in the resource storage data according to the comparison result between the resource storage data and the local cache data, updates the local cache data of the second server according to the data to be cached and the data to be upgraded, and obtains the updated local cache data; when the second server receives the submission instruction of the resource, it processes the submission instruction of the resource according to the updated local cache data.
[0024] According to a second aspect of an embodiment of the present disclosure, there is provided a data processing method, which is applied to a second server and includes:
[0025] Receive resource storage data pushed by the first server, where the resource storage data is obtained by the first server according to resource information of the resources to be submitted received within a preset time period; the resource information of the resources to be submitted is carried by the data statistics request sent by the terminal to the first server when receiving the instruction of the resources to be submitted;
[0026] Receiving a resource submission instruction sent by the terminal;
[0027] Processing the resource submission instruction according to the resource storage data to determine the resource submission result;
[0028] The resource submission result is sent to the terminal.
[0029] Optionally, before processing the resource submission instruction according to the resource storage data to determine the resource submission result, the method further includes:
[0030] The local storage data is replaced with the resource storage data.
[0031] Optionally, before processing the resource submission instruction according to the resource storage data to determine the resource submission result, the method further includes:
[0032] According to the comparison result between the resource storage data and the local cache data, determining the data to be cached and the data to be upgraded in the resource storage data;
[0033] Update the local cache data according to the data to be cached and the data to be upgraded, and obtain updated local cache data;
[0034] Then, the step of processing the resource submission instruction according to the resource storage data to determine the resource submission result includes:
[0035] The resource submission instruction is processed according to the updated local cache data to determine the resource submission result.
[0036] According to a third aspect of an embodiment of the present disclosure, there is provided a data processing method, which is applied to a terminal and includes:
[0037] In response to the terminal's instruction on the resources to be submitted, a data statistics request is sent to the first server, the data statistics request carries resource information of the resources to be submitted, so that the first server pushes the resource storage data corresponding to the resource information received within a preset time period to the second server;
[0038] In response to the resource submission instruction of the terminal, sending the resource submission instruction to the second server, so that the second server processes the resource submission instruction according to the resource storage data; and determining a resource submission result corresponding to the resource submission instruction;
[0039] Receive the resource submission result sent by the second server.
[0040] According to a fourth aspect of an embodiment of the present disclosure, there is provided a data processing device, which is disposed on a first server and includes:
[0041] A statistics request receiving module is configured to receive a data statistics request, wherein the data statistics request carries resource information of resources to be submitted, and the data statistics request is sent by the terminal when receiving an instruction of the resources to be submitted;
[0042] A storage data acquisition module is configured to acquire resource storage data corresponding to the resource information according to the resource information received within a preset time period;
[0043] The data push processing module is configured to push the resource storage data to the second server, so that the second server processes the resource submission instruction according to the resource storage data when receiving the resource submission instruction.
[0044] Optionally, the storage data acquisition module includes:
[0045] A cache capacity acquisition unit, configured to acquire a cache capacity corresponding to the second server;
[0046] An information screening processing unit, configured to screen the resource information received within a preset time period according to the cache capacity, and determine target resource information;
[0047] The storage data acquisition unit is configured to acquire the resource storage data corresponding to the target resource information.
[0048] Optionally, the storage data acquisition unit includes:
[0049] A request sending subunit is configured to send a data query request to a third server, wherein the data query request carries the target resource information;
[0050] The result receiving subunit is configured to receive the query result returned by the third server according to the data query request, and obtain the resource storage data corresponding to the target resource information.
[0051] Optionally, the information screening processing unit includes:
[0052] An information statistics subunit is configured to count the resource information received within a preset time period and determine a statistical result;
[0053] A result sorting subunit is configured to sort the statistical results and determine a sorting result;
[0054] The resource determination subunit is configured to screen the sorting results according to the cache capacity to determine target resource information.
[0055] Optionally, the data push processing module is configured to push the resource storage data to a second server so that the second server replaces local cache data with the resource storage data; and when receiving a resource submission instruction, process the resource submission instruction according to the resource storage data.
[0056] Optionally, the data push processing module is configured to push the resource storage data to a second server, so that the second server determines the data to be cached and the data to be upgraded in the resource storage data according to the comparison result between the resource storage data and the local cache data, updates the local cache data of the second server according to the data to be cached and the data to be upgraded, and obtains the updated local cache data; when the second server receives the submission instruction of the resource, it processes the submission instruction of the resource according to the updated local cache data.
[0057] According to a fifth aspect of an embodiment of the present disclosure, there is provided a data processing device, which is disposed on a second server and includes:
[0058] The storage data receiving module is configured to receive resource storage data pushed by the first server, wherein the resource storage data is obtained by the first server according to resource information of the resources to be submitted received within a preset time period; the resource information of the resources to be submitted is carried by the data statistics request sent by the terminal to the first server when receiving the instruction of the resources to be submitted;
[0059] A submission instruction receiving module, configured to receive a resource submission instruction sent by the terminal;
[0060] A submission result determination module, configured to process the submission instruction of the resource according to the resource storage data, and determine the resource submission result;
[0061] The submission result sending module is configured to send the resource submission result to the terminal.
[0062] Optionally, the device further comprises:
[0063] The storage data replacement module is configured to replace the local storage data with the resource storage data.
[0064] Optionally, the device further comprises:
[0065] An update data determination module, configured to determine the data to be cached and the data to be upgraded in the resource storage data according to a comparison result between the resource storage data and the local cache data;
[0066] A data update processing module, configured to update the local cache data according to the data to be cached and the data to be upgraded, and obtain the updated local cache data;
[0067] The submission result determination module is configured to process the submission instruction of the resource according to the updated local cache data to determine the resource submission result.
[0068] According to a sixth aspect of an embodiment of the present disclosure, there is provided a data processing device, which is disposed in a terminal and includes:
[0069] The first response processing module is configured to send a data statistics request to the first server in response to the instruction of the resource to be submitted of the terminal, wherein the data statistics request carries resource information of the resource to be submitted, so that the first server pushes the resource storage data corresponding to the resource information received within a preset time period to the second server;
[0070] A second response processing module is configured to respond to the resource submission instruction of the terminal, send the resource submission instruction to the second server, so that the second server processes the resource submission instruction according to the resource storage data; and determine the resource submission result corresponding to the resource submission instruction;
[0071] The submission result receiving module is configured to receive the resource submission result sent by the second server.
[0072] According to a seventh aspect of an embodiment of the present disclosure, a server is provided, including:
[0073] processor;
[0074] a memory for storing instructions executable by the processor;
[0075] Wherein, the processor is configured to execute the instructions to implement the data processing method as described in the first aspect, or to implement the data processing method as described in the second aspect.
[0076] According to an eighth aspect of an embodiment of the present disclosure, a terminal is provided, including:
[0077] processor;
[0078] a memory for storing instructions executable by the processor;
[0079] Wherein, the processor is configured to execute the instructions to implement the data processing method as described in the third aspect.
[0080] According to the ninth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor, the server is enabled to execute the data processing method as described in the first aspect, or the server is enabled to execute the data processing method as described in the second aspect, or the terminal is enabled to execute the data processing method as described in the third aspect.
[0081] According to the tenth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program or computer instructions, which, when executed by a processor, implements the data processing method as described in the first aspect, or enables a server to execute the data processing method as described in the second aspect, or the data processing method as described in the third aspect.
[0082] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0083] The present disclosure receives a data statistics request through a first server, and the data statistics request carries resource information of resources to be submitted. The resource information carried by the data statistics request can be used to understand the required resources of the terminal in advance. The resource information received within a preset time period is further counted to determine the resource storage data corresponding to the resource information, and then the resource storage data is pushed to the second server, so that when the second server receives the resource submission instruction, it processes the resource submission instruction according to the resource storage data. This avoids the situation where the relevant data does not exist in the second server when the terminal sends the resource submission instruction, improves the instruction processing speed of the second server, and enhances the user experience.
[0084] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0086] Figure 1 is a schematic diagram of an application environment of a data processing method according to an exemplary embodiment;
[0087] Figure 2 is a flow chart of a data processing method according to an exemplary embodiment;
[0088] Figure 3 is a flow chart of another data processing method according to an exemplary embodiment;
[0089] Figure 4is a flow chart of another data processing method according to an exemplary embodiment;
[0090] Figure 5 is a block diagram of a data processing device according to an exemplary embodiment;
[0091] Figure 6 is a block diagram of another data processing device according to an exemplary embodiment;
[0092] Figure 7 is a block diagram of yet another data processing device according to an exemplary embodiment;
[0093] Figure 8 is a block diagram of a terminal according to an exemplary embodiment;
[0094] Fig. 9 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0095] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0096] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0097] See also Figure 1 , which is a schematic diagram of an application environment of a data processing method according to an exemplary embodiment, the application environment may include at least one terminal 101, a first server 102 and a second server 103, and the at least one terminal 101 and the first server 102 and the second server 103 may be connected via a wired network or a wireless network.
[0098] The terminal 101 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal 101 is used to browse multimedia resources. Client software such as an application (Application, referred to as App) providing a human-computer interaction function may be installed on each of at least one terminal 101. The application may be an independent application or a subprogram in the application. Exemplarily, the application may be a live broadcast application.
[0099] The first server 102 and the second server 103 may be servers that provide background services for the application in the terminal 101. Specifically, the service provided by the first server 102 may be data statistics, and the service provided by the second server 103 may be order processing. The first server 102 and the second server 103 may be independent physical servers, or a server cluster or distributed system composed of multiple physical servers.
[0100] Those skilled in the art will appreciate that the number of the above terminals may be more or less. For example, the above terminal may be only one, or the above terminals may be dozens or hundreds, or more. The embodiments of the present disclosure do not limit the number of terminals and device types.
[0101] Figure 2 is a flow chart of a data processing method according to an exemplary embodiment. The data processing method can be used as follows: Figure 1 The first server shown includes the following steps.
[0102] In step S21, a data statistics request is received, the data statistics request carrying resource information of resources to be submitted, and the data statistics request is sent by the terminal when receiving an instruction for the resources to be submitted.
[0103] In one embodiment, when the terminal receives the instruction of the resource to be submitted, the terminal enters the resource submission page and sends a data statistics request at the same time. The instruction of the resource to be submitted refers to the instruction to enter the resource submission page, and the resource information carried by the resource to be submitted refers to the goods information corresponding to the resource submission page. The resource submission page is the last interface before the terminal makes the final confirmation, which can be specifically manifested as an order filling page, an order confirmation page or an order submission page. The resource information includes but is not limited to the resource name, resource quantity and resource specifications.
[0104] Specifically, the instruction for the resource to be submitted can be a rush purchase operation instruction, that is, when the terminal issues the rush purchase operation instruction, the terminal jumps to the resource submission page and issues a data statistics request. The resource information of the resource to be submitted carried in the data statistics request is the commodity information of the order to be confirmed. The rush purchase operation instruction is the operation instruction before the terminal account enters the resource submission page, which can have different forms of expression, such as immediate order, immediate purchase, immediate flash sale, immediate rush purchase, etc. The resource submission page is the last page before the terminal makes payment.
[0105] In step S22, resource storage data corresponding to the resource information is acquired according to the resource information received within a preset time period.
[0106] In one embodiment, a preset time duration is pre-set, for example 100 milliseconds, and the preset time duration is used to determine the period duration for resource storage data, that is, at every preset time duration, the resource information carried in the data statistics request received within the preset time duration will be counted, and the resource storage data refers to the information required by the server to process the resource submission instruction when receiving the resource submission instruction, including but not limited to the resource name, resource specifications, and inventory information.
[0107] In step S23, the resource storage data is pushed to the second server, so that when the second server receives the resource submission instruction, it processes the resource submission instruction according to the resource storage data.
[0108] In one embodiment, after acquiring the resource storage data, the first server pushes the resource storage data to the second server. After receiving the resource storage data, when the second server receives the resource submission instruction sent by the terminal when submitting the resource, it directly uses the resource storage data to process the resource submission instruction, wherein the resource submission instruction is the confirmation instruction of the terminal on the resource submission page, specifically manifested as a submission order instruction. In particular, the number of second servers can be at least one, and the cache data in each second server is the same. When the first server pushes the resource storage data to the second server, it can be pushed to all the second servers at the same time.
[0109] The data processing method provided by this exemplary embodiment receives a data statistics request through a first server, and the data statistics request carries resource information of resources to be submitted. The resource information carried by the data statistics request can be used to understand the required resources of the terminal in advance. The resource information received within a preset time period is further counted to determine the resource storage data corresponding to the resource information, and then the resource storage data is pushed to the second server, so that when the second server receives the resource submission instruction, the second server directly processes the resource submission instruction according to the resource storage data, thereby avoiding the situation where the relevant data does not exist in the second server when the terminal sends the resource submission instruction, improving the instruction processing speed of the second server and improving the user experience.
[0110] In an exemplary embodiment of the present disclosure, the step 22 acquires resource storage data corresponding to the resource information based on the resource information received within a preset time period, including:
[0111] In step 221, the cache capacity corresponding to the second server is obtained.
[0112] In one embodiment, the cache capacity of the second server refers to the amount of resource information data that can be stored in the second server. For example, if the cache capacity of the second server is 1000 pieces of information, the second server can store 1000 pieces of resource information. Specifically, the cache capacity of the second server can be pre-stored in the first server.
[0113] In step 222, the resource information received within a preset time period is screened according to the cache capacity to determine target resource information.
[0114] In one embodiment, resource information received within a preset time period is screened by using cache capacity to determine target resource information, so the target resource information is a part of the resources corresponding to the resource information.
[0115] Specifically, statistics are performed on the resource information received within a preset time period to determine the statistical results; the statistical results are sorted to determine the sorting results; the sorting results are screened based on the cache capacity to determine the target resource information. For example, 10,000 data statistical requests are received within a preset time period, and statistics are performed on the 10,000 resource information to determine the statistical results. In the statistical results, there are order quantities corresponding to different goods. According to the order quantities in the statistical results, the resources are sorted from large to small to determine the sorting results. According to the cache capacity of the second server, such as 1000, the resource information corresponding to the first 1000 target resources in the sorting results is determined as the target resource information.
[0116] In step 223, resource storage data corresponding to the target resource information is obtained.
[0117] In a possible implementation, various resource information is cached in the first server. Therefore, after the target resource information is determined, the cached various resource information is queried according to the target resource information to determine the resource storage data corresponding to the target resource information.
[0118] In another possible implementation, a data query request is sent to a third server, the data query request carries the target resource information; a query result returned by the third server according to the data query request is received, and resource storage data corresponding to the target resource information is acquired. The third server may be a remote server or a database server, that is, after determining the target resource information, the first server promptly sends a data query request to the remote server or the database server to acquire the resource storage data corresponding to the target resource information.
[0119] When the third server is a remote server, after receiving the data query request, the third server queries the local cache data of the third server. If the target resource information exists in the local cache data of the third server, the query result is directly determined according to the local cache data in the third server, and the query result is returned to the first server; if the target resource information does not exist in the local cache data of the third server, the third server sends a query request carrying the target resource information to the database server, and sends the query result returned by the database server to the first server, so that the first server obtains the resource storage data of the target resource information. Of course, the third server can also be a database server, so that when the third server receives the query request, it determines the query result according to the data in the database, and returns the query result to the first server, so that the first server obtains the resource storage data of the target resource information.
[0120] In the above embodiment, the target resource information with a large demand quantity is screened out by using the cache capacity. If the resource storage data corresponding to the target resource information is not cached in the second server, when a large number of submission instructions for resources carrying the target resource information arrive at the second server, the second server needs to send a data query request to the remote server or database server, thereby increasing the instruction processing time and slowing down the resource processing speed. In this embodiment, after the target resource information is screened out, the resource storage data corresponding to the target resource information is obtained, and the resource storage data is pushed to the second server, so that the second server caches the resource storage data in advance, thereby improving the instruction processing speed of the second server and enhancing the user experience. At the same time, the cache capacity is used to effectively screen the resource information, reduce the amount of resource storage data obtained by the first server, and ensure the speed at which the first server obtains the resource storage data, as well as the data caching speed of the second server.
[0121] In an exemplary embodiment of the present disclosure, the resource storage data is pushed to the second server so that the second server processes the resource submission instruction according to the resource storage data when receiving the resource submission instruction, including: pushing the resource storage data to the second server so that the second server replaces the local cache data with the resource storage data; then, when receiving the resource submission instruction, processing the resource submission instruction according to the resource storage data. Because the resource storage data is the resource information corresponding to the resource submission instruction that the second server is about to receive, the local cache data can be directly replaced with the resource storage data after the second server obtains the resource storage data, so that the resource storage data becomes the new local cache data. Specifically, if the number of target resource information obtained when obtaining the target resource information according to the cache capacity is the cache capacity of the second server, it is more efficient to directly use the resource storage data to replace the local cache data. If the cache capacity of the second server is 1000, select 1000 target resource information with a larger order quantity, and obtain 1000 resource storage data corresponding to the 1000 target resource information, and use the obtained 1000 resource storage data to replace the local cache data of the second server.
[0122] In an exemplary embodiment of the present disclosure, the resource storage data is pushed to the second server so that the second server processes the resource submission instruction according to the resource storage data when receiving the resource submission instruction, including: pushing the resource storage data to the second server so that the second server determines the data to be cached and the data to be upgraded in the resource storage data according to the comparison result of the resource storage data and the local cache data, updates the local cache data of the second server according to the data to be cached and the data to be upgraded, and obtains the updated local cache data; when the second server receives the resource submission instruction, it processes the resource submission instruction according to the updated local cache data. After receiving the resource storage data, the second server compares the resource storage data with the local cache data to determine the comparison result, determines the data to be cached that does not exist in the local cache data, and the data to be upgraded that exists in the local cache data but needs to be updated, then updates the data to be upgraded corresponding to the data to be upgraded in the local cache data, and uses the data to be cached to replace the data in the local cache data that is not related to the resource storage data to complete the update of the local cache data of the second server, and obtains the updated local cache data. The updated second server has cached the resource information corresponding to the submission instructions of the resources that will be received in large quantities in advance. When a large number of terminals simultaneously send submission instructions for resources for the goods that have just been put on the shelves, the second server can quickly process the submission instructions of a large number of resources based on the updated local cache data, thereby improving the instruction processing speed and meeting the demand for fast order processing.
[0123] Figure 3 is a flow chart of a data processing method according to an exemplary embodiment. The data processing method can be used as follows: Figure 1 The second server shown includes the following steps.
[0124] In step 31, resource storage data pushed by the first server is received, and the resource storage data is obtained by the first server based on resource information of the resources to be submitted received within a preset time period; the resource information of the resources to be submitted is carried by the data statistics request sent by the terminal to the first server when receiving the instruction of the resources to be submitted.
[0125] In one embodiment, when the terminal receives an instruction for resources to be submitted, the terminal enters the resource submission page and simultaneously sends a data statistics request to the first server. The instruction for resources to be submitted refers to an instruction for entering the resource submission page. The resource information carried by the resources to be submitted refers to the goods information corresponding to the resource submission page, wherein the resource submission page is the last interface before the terminal makes the final confirmation. The resource information includes but is not limited to the resource name, resource quantity and resource specifications. The first server counts the resource information of the resources to be submitted received within a preset time period, and obtains the resource storage data corresponding to the resource information. The resource storage data refers to the information required by the server to process the resource submission instruction when receiving the resource submission instruction, including but not limited to the resource name, resource specifications, and inventory information. The first server sends the resource storage data to the second server. Specifically, the first server is a statistics server, and the second server is an order server.
[0126] In step 32, a resource submission instruction sent by the terminal is received.
[0127] In one embodiment, the resource submission instruction is a confirmation instruction of the terminal on the resource submission page, specifically a submission order instruction. When the terminal determines that there is a demand for a certain product, the order instruction is submitted, and the second server receives the resource submission instruction sent by the terminal.
[0128] In step 33, the resource submission instruction is processed according to the resource storage data to determine the resource submission result.
[0129] In one embodiment, because the second server has received the resource storage data sent by the first server, the second server can directly use the resource storage data to quickly process the resource submission instruction and determine the resource submission result.
[0130] In step 34, the resource submission result is sent to the terminal.
[0131] In the above embodiment, when the terminal receives the instruction of the resource to be submitted, the terminal sends a data statistics request, and the data statistics request carries the resource information of the resource to be submitted. The data statistics request is received by the first server, and the resource information carried by the data statistics request can be used to understand the required resources of the terminal in advance. The first server further counts the resource information received within the preset time length, determines the resource storage data corresponding to the resource information, and then pushes the resource storage data to the second server. The second server receives the resource storage data and receives the resource submission instruction. At this time, the second server directly processes the resource submission instruction according to the resource storage data, thereby avoiding the situation where the relevant data does not exist in the second server when the terminal sends the resource submission instruction, improving the instruction processing speed of the second server and improving the user experience.
[0132] In an exemplary embodiment of the present disclosure, before the resource submission instruction is processed according to the resource storage data and the resource submission result is determined, the method further includes: replacing the local storage data with the resource storage data. Because the resource storage data is the resource information corresponding to the resource submission instruction that the second server is about to receive, the second server can directly use the resource storage data to replace the local cache data after obtaining the resource storage data, so that the resource storage data becomes the new local cache data. Specifically, the first server obtains the cache capacity of the second server, and according to the cache capacity, the resource information received within the preset time length is screened to determine the target resource information, obtain the resource storage data corresponding to the target resource information, and send the resource storage data to the second server. The second server receives the resource storage data and replaces the local cache data. If the cache capacity of the second server is 1000, the first server selects 1000 target resource information with a larger order quantity, and obtains 1000 resource storage data corresponding to the 1000 target resource information. After receiving the 1000 resource storage data, the second server uses the obtained 1000 resource storage data to replace the local cache data of the second server.
[0133] In an exemplary embodiment of the present disclosure, before the processing of the submission instruction of the resource according to the resource storage data to determine the resource submission result, the method also includes: determining the data to be cached and the data to be upgraded in the resource storage data according to the comparison result of the resource storage data and the local cache data; updating the local cache data according to the data to be cached and the data to be upgraded to obtain the updated local cache data; then the processing of the submission instruction of the resource according to the resource storage data to determine the resource submission result includes: processing the submission instruction of the resource according to the updated local cache data to determine the resource submission result.
[0134] In the above embodiment, after receiving the resource storage data, the second server compares the resource storage data with the local cache data to determine the comparison result, and determines the data to be cached that does not exist in the local cache data, and the data to be upgraded that exists in the local cache data but needs to be updated, and then updates the data to be upgraded corresponding to the data to be upgraded in the local cache data, and uses the data to be cached to replace the data in the local cache data that is not related to the resource storage data to complete the update of the local cache data of the second server, and obtain the updated local cache data. The updated second server has already cached the resource information corresponding to the submission instructions of the resources that are about to be received in large quantities in advance. When there are a large number of terminals that send submission instructions for resources for the goods that have just been put on the shelves at the same time, the second server can quickly process the submission instructions of a large number of resources according to the updated local cache data, determine the resource submission results, improve the instruction processing speed, and meet the user's needs for fast processing of orders.
[0135] Figure 4 is a flowchart of a data processing method according to an exemplary embodiment. The data processing method can be used in computers, mobile phones, tablet computers, etc. Figure 1 In the terminal shown, the following steps are included.
[0136] In step 41, in response to the terminal's instruction on resources to be submitted, a data statistics request is sent to the first server, the data statistics request carries resource information of the resources to be submitted, so that the first server pushes the resource storage data of the resource information received within a preset time period to the second server.
[0137] In step 42, in response to the resource submission instruction of the terminal, the resource submission instruction is sent to the second server, so that the second server processes the resource submission instruction according to the resource storage data; and determines the resource submission result corresponding to the resource submission instruction.
[0138] In step 43, the resource submission result sent by the second server is received.
[0139] In the above embodiment, when the terminal receives the instruction of the resource to be submitted, a data statistics request is sent to the first server, wherein the instruction of the resource to be submitted can be an operation instruction for entering the resource submission page, such as an immediate ordering operation instruction, an immediate purchase operation instruction, an immediate flash sale operation instruction and an immediate rush purchase operation instruction. If there is a selection of resource specifications and quantities, the instruction of the resource to be submitted can be a confirmation instruction after the resource specifications and quantities are selected. The first server receives the data statistics request sent by the terminal, and the data statistics request carries the resource information of the resource to be submitted. The resource demand resources can be understood in advance through the resource information carried by the data statistics request. The resource information received within the preset time is further counted to determine the resource storage data corresponding to the resource information, and then the resource storage data is pushed to the second server, and the second server receives the resource storage data. When the terminal receives the resource submission instruction, it sends the resource submission instruction to the second server, wherein the resource submission instruction can be an order confirmation operation instruction or an order submission operation instruction. After receiving the resource submission instruction, the second server processes the resource submission instruction based on the resource storage data to determine the resource submission result. And sends the resource submission result to the terminal. When the second server receives a resource submission instruction sent by the terminal, the second server has already cached the resource information corresponding to the resource submission instruction in advance, thereby avoiding the situation where relevant data does not exist in the second server when the terminal sends the resource submission instruction, thereby improving the instruction processing speed of the second server and enhancing the user experience.
[0140] Figure 5 1 is a block diagram of a data processing device according to an exemplary embodiment, the device is arranged in a first server, and includes a statistical request receiving module 51, a storage data acquisition module 52, and a data push processing module 53.
[0141] The statistical request receiving module 51 is configured to receive a data statistical request, wherein the data statistical request carries resource information of resources to be submitted, and the data statistical request is sent by the terminal when receiving an instruction of the resources to be submitted;
[0142] The storage data acquisition module 52 is configured to acquire the resource storage data corresponding to the resource information according to the resource information received within a preset time period;
[0143] The data push processing module 53 is configured to push the resource storage data to the second server, so that when the second server receives the resource submission instruction, it processes the resource submission instruction according to the resource storage data.
[0144] In an exemplary embodiment of the present disclosure, the storage data acquisition module includes:
[0145] A cache capacity acquisition unit, configured to acquire a cache capacity corresponding to the second server;
[0146] An information screening processing unit, configured to screen the resource information received within a preset time period according to the cache capacity, and determine target resource information;
[0147] The storage data acquisition unit is configured to acquire the resource storage data corresponding to the target resource information.
[0148] In an exemplary embodiment of the present disclosure, the storage data acquisition unit includes:
[0149] A request sending subunit is configured to send a data query request to a third server, wherein the data query request carries the target resource information;
[0150] The result receiving subunit is configured to receive the query result returned by the third server according to the data query request, and obtain the resource storage data corresponding to the target resource information.
[0151] In an exemplary embodiment of the present disclosure, the information screening processing unit includes:
[0152] An information statistics subunit is configured to count the resource information received within a preset time period and determine a statistical result;
[0153] A result sorting subunit is configured to sort the statistical results and determine a sorting result;
[0154] The resource determination subunit is configured to screen the sorting results according to the cache capacity to determine target resource information.
[0155] In an exemplary embodiment of the present disclosure, the data push processing module is configured to push the resource storage data to a second server so that the second server replaces local cache data with the resource storage data; and when receiving a submission instruction for a resource, processes the submission instruction for the resource according to the resource storage data.
[0156] In an exemplary embodiment of the present disclosure, the data push processing module is configured to push the resource storage data to a second server, so that the second server determines the data to be cached and the data to be upgraded in the resource storage data according to the comparison result between the resource storage data and the local cache data, updates the local cache data of the second server according to the data to be cached and the data to be upgraded, and obtains the updated local cache data; when the second server receives the submission instruction of the resource, it processes the submission instruction of the resource according to the updated local cache data.
[0157] Figure 6 The block diagram of a data processing device according to an exemplary embodiment is shown. The device is arranged on the second server. The device comprises: a storage data receiving module 61, a submission instruction receiving module 62, a submission result determining module 63, and a submission result sending module 64.
[0158] The storage data receiving module 61 is configured to receive resource storage data pushed by the first server, wherein the resource storage data is obtained by the first server according to resource information of the resources to be submitted received within a preset time period; the resource information of the resources to be submitted is carried by the data statistics request sent by the terminal to the first server when receiving the instruction of the resources to be submitted;
[0159] The submission instruction receiving module 62 is configured to receive a resource submission instruction sent by the terminal;
[0160] The submission result determination module 63 is configured to process the submission instruction of the resource according to the resource storage data to determine the resource submission result;
[0161] The submission result sending module 64 is configured to send the resource submission result to the terminal.
[0162] In an exemplary embodiment of the present disclosure, the device further includes: a storage data replacement module configured to replace the local storage data with the resource storage data.
[0163] In an exemplary embodiment of the present disclosure, the apparatus further includes: an update data determination module configured to determine, in the resource storage data, data to be cached and data to be upgraded based on a comparison result between the resource storage data and the local cache data;
[0164] A data update processing module, configured to update the local cache data according to the data to be cached and the data to be upgraded, and obtain the updated local cache data;
[0165] The submission result determination module is configured to process the submission instruction of the resource according to the updated local cache data to determine the resource submission result.
[0166] Figure 7 The block diagram of a data processing device according to an exemplary embodiment is shown. The device is arranged in a terminal. The device comprises: a first response processing module 71, a second response processing module 72 and a submission result receiving module 73.
[0167] The first response processing module 71 is configured to send a data statistics request to the first server in response to the instruction of the resource to be submitted of the terminal, wherein the data statistics request carries the resource information of the resource to be submitted, so that the first server pushes the resource storage data corresponding to the resource information received within a preset time period to the second server;
[0168] The second response processing module 72 is configured to respond to the resource submission instruction of the terminal, send the resource submission instruction to the second server, so that the second server processes the resource submission instruction according to the resource storage data; and determine the resource submission result corresponding to the resource submission instruction;
[0169] The submission result receiving module 73 is configured to receive the resource submission result sent by the second server.
[0170] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0171] Figure 8 800 is a block diagram of a terminal according to an exemplary embodiment. For example, the terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0172] Reference Figure 8 The terminal 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0173] The processing component 802 generally controls the overall operation of the terminal 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0174] The memory 804 is configured to store various types of data to support operations at the terminal 800. Examples of such data include instructions for any application or method operating on the terminal 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.
[0175] Power component 806 provides power to various components of terminal 800. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
[0176] The multimedia component 808 includes a screen that provides an output interface between the terminal 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0177] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal 800 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0178] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0179] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal 800. For example, the sensor assembly 814 can detect the open / closed state of the terminal 800, the relative positioning of the components, such as the display and keypad of the terminal 800, and the sensor assembly 814 can also detect the position change of the terminal 800 or a component of the terminal 800, the presence or absence of contact between the user and the terminal 800, the orientation or acceleration / deceleration of the terminal 800 and the temperature change of the terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0180] The communication component 816 is configured to facilitate wired or wireless communication between the terminal 800 and other devices. The terminal 800 can access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0181] In an exemplary embodiment, the terminal 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned data processing method.
[0182] Fig. 9 FIG. 1 is a schematic diagram showing a structure of a server according to an exemplary embodiment. Fig. 9 The server 900 includes a processing component 922, which further includes one or more processors, and a memory resource represented by a memory 932 for storing instructions, such as applications, that can be executed by the processing component 922. The application stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 922 is configured to execute instructions to perform the above-mentioned data processing implementation method.
[0183] The server 900 may also include a power supply component 926 configured to perform power management of the server 900, a wired or wireless network interface 950 configured to connect the server 900 to a network, and an input / output (I / O) interface 958. The electronic device 900 may operate based on an operating system stored in the memory 932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™ or the like.
[0184] In an exemplary embodiment, a storage medium including instructions is also provided, and when the instructions in the storage medium are executed by a processor of a server, the server is enabled to execute a data processing method applied to a server or a data processing method applied to a terminal as described in any of the above method embodiments. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0185] In an exemplary embodiment, a computer program product is also provided, which includes a readable program code, which can be executed by a processor of a server to complete the above-mentioned data processing method applied to the server, or by a processor of a terminal to complete the above-mentioned data processing method applied to the terminal. Optionally, the program code can be stored in a storage medium of a terminal or a server, and the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage device, etc. Those skilled in the art will easily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variants, uses, or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field that are not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0186] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A data processing method, It is characterized in that Applied to the first server, comprising: receiving a data statistics request, the data statistics request carrying resource information of resources to be submitted, the data statistics request being sent by the terminal when receiving an instruction for the resources to be submitted; the resource information for the resources to be submitted includes cargo information corresponding to a cargo submission page; the instruction for the resources to be submitted includes an instruction for entering a cargo submission page; According to the resource information received within a preset time period, obtaining resource storage data corresponding to the resource information; The resource storage data is pushed to the second server, so that when the second server receives the resource submission instruction, it processes the resource submission instruction according to the resource storage data; the resource submission instruction includes the confirmation instruction of the terminal on the goods submission page.
2. The method according to claim 1, It is characterized in that The acquiring, according to the resource information received within a preset time period, resource storage data corresponding to the resource information includes: Obtaining the cache capacity corresponding to the second server; Filtering the resource information received within a preset time period according to the cache capacity to determine target resource information; Obtain resource storage data corresponding to the target resource information.
3. The method according to claim 2, It is characterized in that The acquiring of resource storage data corresponding to the target resource information includes: Sending a data query request to a third server, wherein the data query request carries the target resource information; Receive the query result returned by the third server according to the data query request, and obtain the resource storage data corresponding to the target resource information.
4. The method according to claim 2, It is characterized in that The step of screening the resource information received within a preset time period according to the cache capacity to determine the target resource information includes: Counting the resource information received within a preset time period and determining a statistical result; Sorting the statistical results to determine the sorting results; The sorting results are screened according to the cache capacity to determine target resource information.
5. The method according to claim 1, It is characterized in that The pushing of the resource storage data to the second server so that the second server processes the resource submission instruction according to the resource storage data when receiving the resource submission instruction includes: The resource storage data is pushed to the second server so that the second server replaces the local cache data with the resource storage data; and when receiving a resource submission instruction, the resource submission instruction is processed according to the resource storage data.
6. The method according to claim 1, It is characterized in that The pushing of the resource storage data to the second server so that the second server processes the resource submission instruction according to the resource storage data when receiving the resource submission instruction includes: The resource storage data is pushed to the second server, so that the second server determines the data to be cached and the data to be upgraded in the resource storage data according to the comparison result between the resource storage data and the local cache data, updates the local cache data of the second server according to the data to be cached and the data to be upgraded, and obtains the updated local cache data; when the second server receives the submission instruction of the resource, it processes the submission instruction of the resource according to the updated local cache data.
7. A data processing method, It is characterized in that Applied to the second server, including: Receive resource storage data pushed by the first server, the resource storage data is obtained by the first server according to resource information of the resources to be submitted received within a preset time period; the resource information of the resources to be submitted is carried by the data statistics request sent by the terminal to the first server when receiving the instruction of the resources to be submitted; the resource information of the resources to be submitted includes the goods information corresponding to the goods submission page; the instruction of the resources to be submitted includes the instruction to enter the goods submission page; Receiving a resource submission instruction sent by the terminal; the resource submission instruction includes a confirmation instruction of the terminal on a goods submission page; Processing the resource submission instruction according to the resource storage data to determine the resource submission result; The resource submission result is sent to the terminal.
8. The method according to claim 7, It is characterized in that Before processing the resource submission instruction according to the resource storage data and determining the resource submission result, the method further includes: The local storage data is replaced with the resource storage data.
9. The method according to claim 7, It is characterized in that Before processing the resource submission instruction according to the resource storage data and determining the resource submission result, the method further includes: According to the comparison result between the resource storage data and the local cache data, determining the data to be cached and the data to be upgraded in the resource storage data; Update the local cache data according to the data to be cached and the data to be upgraded, and obtain updated local cache data; Then, the step of processing the resource submission instruction according to the resource storage data to determine the resource submission result includes: The resource submission instruction is processed according to the updated local cache data to determine the resource submission result.
10. A data processing method, It is characterized in that Applied to terminals, including: In response to the terminal's instruction of resources to be submitted, a data statistics request is sent to the first server, the data statistics request carries resource information of the resources to be submitted, so that the first server pushes the resource storage data corresponding to the resource information received within a preset time period to the second server; the instruction of resources to be submitted includes an instruction to enter a goods submission page; the resource information of resources to be submitted includes goods information corresponding to the goods submission page; In response to the resource submission instruction of the terminal, the resource submission instruction is sent to the second server, so that the second server processes the resource submission instruction according to the resource storage data; and determines the resource submission result corresponding to the resource submission instruction; the resource submission instruction includes the determination instruction of the terminal on the goods submission page; Receive the resource submission result sent by the second server.
11. A data processing device, It is characterized in that Set on the first server, including: The statistical request receiving module is configured to receive a data statistical request, wherein the data statistical request carries resource information of resources to be submitted, and the data statistical request is sent by the terminal when receiving an instruction of the resources to be submitted; the resource information of the resources to be submitted includes the goods information corresponding to the goods submission page; the instruction of the resources to be submitted includes an instruction to enter the goods submission page; A storage data acquisition module is configured to acquire resource storage data corresponding to the resource information according to the resource information received within a preset time period; The data push processing module is configured to push the resource storage data to the second server so that when the second server receives the resource submission instruction, it processes the resource submission instruction according to the resource storage data; the resource submission instruction includes the terminal's confirmation instruction on the goods submission page.
12. The device according to claim 11, It is characterized in that The storage data acquisition module comprises: A cache capacity acquisition unit, configured to acquire a cache capacity corresponding to the second server; An information screening processing unit, configured to screen the resource information received within a preset time period according to the cache capacity, and determine target resource information; The storage data acquisition unit is configured to acquire the resource storage data corresponding to the target resource information.
13. The device according to claim 12, It is characterized in that The storage data acquisition unit comprises: A request sending subunit is configured to send a data query request to a third server, wherein the data query request carries the target resource information; The result receiving subunit is configured to receive the query result returned by the third server according to the data query request, and obtain the resource storage data corresponding to the target resource information.
14. The device according to claim 12, It is characterized in that The information screening processing unit comprises: An information statistics subunit is configured to count the resource information received within a preset time period and determine a statistical result; A result sorting subunit is configured to sort the statistical results and determine a sorting result; The resource determination subunit is configured to screen the sorting results according to the cache capacity to determine target resource information.
15. The device according to claim 11, It is characterized in that The data push processing module is configured to push the resource storage data to the second server, so that the second server replaces the local cache data with the resource storage data; When receiving a resource submission instruction, the resource submission instruction is processed according to the resource storage data.
16. The device according to claim 11, It is characterized in that The data push processing module is configured to push the resource storage data to the second server, so that the second server determines the data to be cached and the data to be upgraded in the resource storage data according to the comparison result between the resource storage data and the local cache data, updates the local cache data of the second server according to the data to be cached and the data to be upgraded, and obtains the updated local cache data; When receiving the resource submission instruction, the second server processes the resource submission instruction according to the updated local cache data.
17. A data processing device, It is characterized in that Set on the second server, including: The storage data receiving module is configured to receive resource storage data pushed by the first server, wherein the resource storage data is obtained by the first server according to resource information of resources to be submitted received within a preset time period; the resource information of the resources to be submitted is carried by a data statistics request sent by the terminal to the first server when receiving an instruction for the resources to be submitted; the resource information of the resources to be submitted includes the goods information corresponding to the goods submission page; the instruction for the resources to be submitted includes an instruction for entering the goods submission page; A submission instruction receiving module is configured to receive a resource submission instruction sent by the terminal; the resource submission instruction includes a confirmation instruction of the terminal on the goods submission page; A submission result determination module, configured to process the submission instruction of the resource according to the resource storage data to determine the resource submission result; The submission result sending module is configured to send the resource submission result to the terminal.
18. The device according to claim 17, It is characterized in that The device also includes: The storage data replacement module is configured to replace the local storage data with the resource storage data.
19. The device according to claim 17, It is characterized in that The device also includes: An update data determination module, configured to determine the data to be cached and the data to be upgraded in the resource storage data according to a comparison result between the resource storage data and the local cache data; A data update processing module, configured to update the local cache data according to the data to be cached and the data to be upgraded, and obtain the updated local cache data; The submission result determination module is configured to process the submission instruction of the resource according to the updated local cache data to determine the resource submission result.
20. A data processing device, It is characterized in that Set in the terminal, including: The first response processing module is configured to respond to the terminal's instruction of resources to be submitted, send a data statistics request to the first server, the data statistics request carries resource information of the resources to be submitted, so that the first server pushes the resource storage data corresponding to the resource information received within a preset time period to the second server; the instruction of the resources to be submitted includes an instruction to enter a goods submission page; the resource information of the resources to be submitted includes goods information corresponding to the goods submission page; The second response processing module is configured to respond to the resource submission instruction of the terminal, send the resource submission instruction to the second server, so that the second server processes the resource submission instruction according to the resource storage data; determine the resource submission result corresponding to the resource submission instruction; the resource submission instruction includes the determination instruction of the terminal on the goods submission page; The submission result receiving module is configured to receive the resource submission result sent by the second server.
21. A server, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the data processing method according to any one of claims 1 to 6, or to implement the data processing method according to any one of claims 7 to 9.
22. A terminal, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the data processing method as claimed in claim 10.
23. A storage medium, which, when an instruction processor in the storage medium executes, enables a server to execute the data processing method as described in any one of claims 1 to 6, or enables a server to execute the data processing method as described in any one of claims 7 to 9, or enables a terminal to execute the data processing method as described in claim 10.
24. A computer program product comprising a computer program or computer instructions, It is characterized in that When the computer program or computer instruction is executed by a processor, it implements the data processing method according to any one of claims 1 to 6, or the data processing method according to any one of claims 7 to 9, or the data processing method according to claim 10.
