Data processing methods, equipment and media

By receiving data service requests in the unitized application service device, identifying the unit to be processed, and transferring the processing unit, the problem of data access errors is solved, and timely data processing is achieved.

CN116028256BActive Publication Date: 2026-11-17INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310170603.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2026-11-17
Estimated Expiration
2043-02-27

AI Technical Summary

Technical Problem

In unitized application service equipment, data access may fail due to unit failure, resulting in data not being processed in a timely manner and causing errors.

Method used

By receiving a data service request, the system identifies the processing unit corresponding to the user identification information and determines whether the unit can continue to process the data. If not, it identifies a transfer processing unit and forwards the data service request to the transfer processing unit for processing.

Benefits of technology

This improves the accuracy of data access for unitized application service devices, ensuring that data can be processed correctly and promptly by the processing unit, thus guaranteeing the timeliness of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116028256B_ABST
    Figure CN116028256B_ABST
Patent Text Reader

Abstract

This application provides a data processing method, apparatus, and medium. The method includes: receiving a data service request, the data service request including user identification information and data to be processed; determining, from a plurality of processing units, a processing unit corresponding to the user identification information; determining whether the processing unit can continue processing the data to be processed; if not, determining a transfer processing unit capable of processing the data to be processed, and forwarding the data service request to the transfer processing unit, so that the transfer processing unit performs corresponding data processing according to the data service request. The method of this application improves the accuracy of data access for each processing unit of a unitized application service device, thereby ensuring the timeliness of data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of big data, and in particular to a data processing method, device and medium. Background Technology

[0002] Multi-location, multi-datacenter deployment is an inevitable development direction for internet systems, as it can solve problems such as traffic allocation, data splitting, and latency.

[0003] In existing technologies, unitized application service devices are commonly used for multi-site, multi-datacenter deployments. A unit (i.e., the deployment unit of the unitized application service device) is a self-contained set capable of completing all business operations. This set contains all the services required for all businesses, as well as the data allocated to that unit. The unitized application service device pre-partitions the data, meaning each unit processes the data assigned to it. Generally, a unit can complete the business operations corresponding to the user data input into it. However, units can sometimes fail. For example, when unit A experiences a data write failure, the unitized application service device typically transfers the user data currently in unit A to another unit, such as unit B. Subsequent data generated by the users corresponding to this transferred user data will continue to be processed in unit B, instead of being transferred back to unit A. However, because the processing unit for this user was unit A during data partitioning, subsequent user data generated by that user will still be accessed by unit A. Since this user data should actually be processed in unit B, this leads to errors in user data access, preventing timely processing of user data.

[0004] Therefore, there is a need for a data processing solution that enables data to be processed in a timely manner in unitized application service devices. Summary of the Invention

[0005] This application provides a data processing method, device, and medium to solve the technical problem that data access errors may occur in existing unitized application service devices, resulting in data not being processed in a timely manner.

[0006] Firstly, this application provides a data processing method, including:

[0007] Receive a data service request, the data service request including user identification information and data to be processed;

[0008] From the plurality of processing units, determine the unit to be processed corresponding to the user identification information;

[0009] Determine whether the unit to be processed is able to continue processing the data to be processed;

[0010] If not, a transfer processing unit capable of processing the data to be processed is identified, and the data service request is forwarded to the transfer processing unit so that the transfer processing unit can perform corresponding data processing according to the data service request.

[0011] In one possible implementation, determining the processing unit corresponding to the user based on the user identification information specifically includes:

[0012] Based on the preset correspondence between identification information and routing targets, determine the user routing target corresponding to the user identification information;

[0013] Based on the preset correspondence between routing labels and processing units, the processing unit corresponding to the user routing label is determined from the plurality of processing units.

[0014] In one possible implementation, the user identification information includes one or more of user number information and order number information, and the user routing identifier is the user's identification information in the unitized application service device.

[0015] In one possible implementation, determining whether the processing unit can continue processing the data to be processed specifically includes:

[0016] Based on the user routing label, determine whether there is a unit transfer history record corresponding to the user identification information in the common processing unit of the unitized application service device;

[0017] If so, then it is determined that the processing unit cannot continue to process the data to be processed;

[0018] If not, then it is determined that the processing unit can continue to process the data to be processed.

[0019] In one possible implementation, the step of determining the transfer processing unit capable of processing the data to be processed specifically includes:

[0020] Obtain the historical data corresponding to the user's identification information from the unit transfer history record corresponding to the user, and determine the new processing unit as the transfer processing unit.

[0021] In one possible implementation, determining whether the processing unit can continue processing the data to be processed specifically includes:

[0022] Based on the user routing label, determine the data processing history corresponding to the user identification information;

[0023] Identify the identifier of the data processing unit that processed the data to be processed in the most recent historical record in the data processing history.

[0024] Determine whether the identifier of the data processing unit is the identifier of the unit to be processed;

[0025] If so, then it is determined that the processing unit cannot continue to process the data to be processed;

[0026] If not, then it is determined that the processing unit is capable of continuing to process the data to be processed;

[0027] Accordingly, a transfer processing unit capable of processing the data to be processed is determined, including:

[0028] Based on the data processing unit, a transfer processing unit is determined to process the data to be processed.

[0029] In one possible implementation, forwarding the data service request to the transfer processing unit so that the transfer processing unit can perform corresponding data processing based on the data service request specifically includes:

[0030] Based on the unit transfer history or data processing history, determine the transfer route marker corresponding to the user in the transfer processing unit;

[0031] Based on the data service request and the transfer route marker, generate the transferred data service request;

[0032] The transferred data service request is sent to the transfer processing unit so that the transfer processing unit can perform corresponding data processing based on the transferred data service request.

[0033] Secondly, this application provides a unitized application service device, comprising:

[0034] The receiving module is used to receive data service requests, the data service requests including user identification information and data to be processed;

[0035] The processing module is configured to: determine, from the plurality of processing units, the unit to be processed corresponding to the user identification information; determine whether the unit to be processed can continue to process the data to be processed; if not, determine a transfer processing unit that can process the data to be processed, and forward the data service request to the transfer processing unit so that the transfer processing unit can perform corresponding data processing according to the data service request.

[0036] Thirdly, this application provides a modular application service device, including: a processor, and a memory communicatively connected to the processor;

[0037] The memory stores computer-executed instructions;

[0038] The processor executes computer execution instructions stored in the memory to implement the above-described method.

[0039] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the above-described method.

[0040] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0041] The data processing method, apparatus, and medium provided in this application can receive data service requests, which include user identification information and data to be processed. From multiple processing units, the method identifies the unit to be processed corresponding to the user identification information; determines whether the unit to be processed can continue processing the data; if not, it identifies a transfer processing unit capable of processing the data and forwards the data service request to the transfer processing unit, so that the transfer processing unit can perform corresponding data processing according to the data service request. The method of this application, after identifying the unit to be processed corresponding to the user through the user identification information in the data service request, can further determine whether the unit to be processed is a transfer processing unit capable of continuing to process the data. Through this setting, it is possible to accurately determine whether the unit to be processed pre-set based on the user identification information is still the actual transfer processing unit processing the data. If not, it can identify the transfer processing unit processing the data and forward the data service request to the transfer processing unit. This configuration allows for error correction of data access within the unit, preventing data from becoming unprocessable after the corresponding processing unit is transferred. It improves the accuracy of data access for each processing unit in the unitized application service device, ensuring that the data to be processed is processed by the correct processing unit in a timely manner, thereby guaranteeing the timeliness of data processing. Attached Figure Description

[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0043] Figure 1 This is a schematic diagram of the data processing process of a unitized application service device in the prior art.

[0044] Figure 2 This is a system architecture diagram of an embodiment of this application;

[0045] Figure 3 This is a flowchart of a data processing method according to an embodiment of this application;

[0046] Figure 4 This is a schematic diagram of the structure of a unitized application service device according to an embodiment of this application;

[0047] Figure 5 This is a schematic diagram of the structure of a unitized application service device according to another embodiment of this application.

[0048] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0049] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0050] First, let me explain the terms used in this application:

[0051] A unit (i.e., a deployment unit of the unitized application service product layer) refers to a self-contained set that can complete all business operations. This set contains all the services required by all businesses, as well as the data allocated to this unit.

[0052] A modular architecture uses units as the basic unit of deployment. Multiple units are deployed in all data centers across the entire site. The number of units in each data center is not fixed. Each unit deploys all the applications required by the system, and the data is a portion of the full data after being divided according to a certain dimension.

[0053] Data partitioning (sharding) is the process of dividing global data horizontally according to a certain dimension, with each partition containing non-overlapping data.

[0054] It should be noted that the data processing method, equipment, and media of this application can be used in the field of big data. They can also be used in any field other than big data. The application areas of the data processing method, equipment, and media of this application are not limited.

[0055] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0056] In existing technologies, unitized application service devices are commonly used for multi-site, multi-datacenter deployments. A unit (i.e., the deployment unit of a unitized application service device) is a self-contained set capable of completing all business operations. This set contains all the services required for all business operations, as well as the data allocated to that unit. Unitized application service devices pre-partition the data, meaning each unit processes the data assigned to it. Generally, a unit can complete services such as business operations corresponding to the user data input into it; however, units can sometimes fail, such as data write failures.

[0057] For example, Figure 1 This is a schematic diagram of the data processing process of a unitized application service device in the prior art, such as... Figure 1 As shown in (1), the user terminal sends a data service request 1 to the unitized application service device. After receiving the request, the processing module of the unitized application service device determines that the user corresponding to the user terminal belongs to unit A and sends the data service request 1 to unit A. At this time, unit A malfunctions and cannot write data. The processing module forwards the user's relevant data and data service request 1 to unit B, and unit B performs the corresponding data processing. When the user terminal sends a data service request 2 to the unitized application service device again, as shown in (1), the processing module forwards the user's relevant data and data service request 1 to unit B. Figure 1 As shown in (2), after the processing module receives the data service request 2, it will still send the data service request 2 to the user's unit A for processing. However, the user's data in unit A has been transferred to unit B and cannot be processed. Unit B also cannot process the data because it has not received the data service request 2.

[0058] Because the user's processing unit was assigned to unit A during data partitioning, any subsequent user data generated by that user would still be routed to unit A. However, this user data should actually be processed in unit B, leading to an error in data access and preventing timely processing of the user data.

[0059] Based on this technical problem, the inventive concept of this application is: how to provide a data processing method that enables data to be processed in a timely manner in a unitized application service device.

[0060] Specifically, the method can receive data service requests, which include user identification information and data to be processed. From multiple processing units, it identifies the processing unit corresponding to the user identification information; determines whether the processing unit can continue processing the data; if not, it identifies a transfer processing unit capable of processing the data and forwards the data service request to the transfer processing unit, so that the transfer processing unit can perform corresponding data processing according to the data service request. In this application, after identifying the processing unit corresponding to the user through the user identification information in the data service request, it can also determine whether the processing unit is a transfer processing unit capable of continuing to process the data. This setting accurately determines whether the processing unit pre-set based on the user identification information is still the actual transfer processing unit processing the data. If not, it identifies the transfer processing unit processing the data and forwards the data service request to the transfer processing unit. This setting corrects data access within the unit, preventing data from becoming unprocessable after a transfer to a different processing unit, improving the accuracy of data access for unitized application service devices, and ensuring that the data to be processed is processed by the correct processing unit in a timely manner, thus guaranteeing the timeliness of data processing.

[0061] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0062] Figure 2 This is a system architecture diagram of an embodiment of this application, as shown below. Figure 2 As shown in (1), the user terminal sends a data service request 1 to the unitized application service device. After receiving the request, the processing module of the unitized application service device determines that the user corresponding to the user terminal belongs to unit A and sends the data service request 1 to unit A. At this time, unit A malfunctions and cannot write data. The processing module forwards the user's relevant data and data service request 1 to unit B, and unit B performs the corresponding data processing. When the user terminal sends a data service request 2 to the unitized application service device again, as shown in (1), the processing module forwards the user's relevant data and data service request 1 to unit B. Figure 2As shown in Figure (2), after receiving the data, the processing module determines the user routing table corresponding to the user identification information based on the preset correspondence between the identification information and the routing table; and determines the unit to be processed corresponding to the user routing table, which is unit A, based on the preset correspondence between the routing table and the processing unit. Then, based on the user routing table, the processing module determines that there is a unit transfer history record corresponding to the user in the common processing unit of the unitized application service device, which is a transfer from unit A to unit B, that is, the transfer processing unit that processes the data to be processed is unit B. Finally, the processing module forwards the data service request to the transfer processing unit (unit B) so that the transfer processing unit can perform corresponding data processing according to the data service request.

[0063] Example 1

[0064] Figure 3 This is a flowchart of a data processing method provided in an embodiment of this application. This embodiment describes the data processing method using a unitized application service device as the executing entity. The unitized application service device may include multiple processing units. For example... Figure 3 As shown, the data processing method may include the following steps:

[0065] S101: Receive a data service request, which includes user identification information and data to be processed.

[0066] In this embodiment, a data service request can be a request sent by a user terminal to a unitized application service device after a user makes a purchase or orders a certain product. After receiving the request, the unitized application service device will call the corresponding data for data processing based on the information in the request.

[0067] S102: Determine the unit to be processed corresponding to the user identification information from multiple processing units.

[0068] In one possible implementation, step S102, which determines the processing unit corresponding to the user based on the user identification information, may include: determining the user routing table corresponding to the user identification information based on a preset correspondence between identification information and routing tables; and determining the processing unit corresponding to the user routing table from among multiple processing units based on a preset correspondence between routing tables and processing units.

[0069] In this embodiment, the unitized application service device pre-partitions the data of each user, that is, assigns a routing label to each user for identification, and then divides different users into corresponding processing units. Therefore, after determining the user's corresponding user routing label in the unitized application service device based on the user identification information, the corresponding processing unit for each user can be determined simply and accurately according to the preset correspondence between routing labels and processing units.

[0070] In one possible implementation, the user identification information may include one or more of user number information and order number information, and the user routing information may be the user's identification information in the unitized application service device.

[0071] In this embodiment, the user identification information can be information used by the user terminal side, such as a mobile phone, to identify the user. It can also be information used to identify the user themselves, such as a user ID or nickname assigned by the user when logging into the APP, or a user ID or nickname randomly assigned by the APP. Of course, it can also be the order number when the user makes a purchase. The specific user identification information can be flexibly set by those skilled in the art, as long as the user identification information can identify different users.

[0072] In this embodiment, the user routing identifier can be a unique identifier for a user in the unitized application service device. After identifying different users, the unitized application service device can use a corresponding mathematical algorithm to randomly or sequentially assign different identifiers to each user as routing identifiers for calling user-related data in the unitized application service device.

[0073] In this embodiment, the user identification information can be information used by the user terminal side, such as a mobile phone, to identify the user, and the user routing mark can be the unique identification information of the user in the unitized application service device. By using the user identification information and the user routing mark as a bridge, the identification of the user in the unitized application service device can be completed simply and accurately.

[0074] S103: Determine whether the unit to be processed can continue to process the data to be processed.

[0075] In this embodiment, the unit to be processed is a unit pre-set by the unitized application service device to process the data to be processed. Since the unit may experience data writing failure, some data to be processed may be transferred to a unit outside the unit to be processed. Therefore, after determining the unit to be processed, it is also necessary to determine whether the unit to be processed is the actual transfer processing unit that processes the data to be processed, thereby improving the accuracy and timeliness of data processing.

[0076] In one possible implementation, step S103, which determines whether the unit to be processed is a transfer processing unit that processes the data to be processed, may include: determining, based on the user routing table, whether there is a unit transfer history record corresponding to the user identification information in the common processing units of the unitized application service device; if yes, then determining that the unit to be processed cannot continue to process the data to be processed; if no, then determining that the unit to be processed can continue to process the data to be processed.

[0077] In this embodiment, the common processing unit can be a unit in the unitized application service device in which each deployment unit can perform data reading and writing operations, and can store the historical records of each unit.

[0078] In this embodiment, since the user routing mark is a unique identifier for a user in the unitized application service device, it is possible to determine whether there is a unit transfer history record corresponding to the user in the common processing unit based on the user routing mark.

[0079] In this embodiment, if the data corresponding to the user identification information is transferred to another unit due to a failure of the predetermined processing unit, the transfer process of the data corresponding to the user identification information will be recorded in the common processing unit of the unitized application service device, indicating from which unit the data was transferred to which unit. Therefore, after determining whether there is a historical record of the transfer of the user identification information in the common processing unit based on the user routing table, it is easy and accurate to determine whether the data corresponding to the user identification information has been transferred, i.e., whether the processing unit is a transfer processing unit that can continue to process the data to be processed.

[0080] S104: If not, then determine the transfer processing unit that can process the data to be processed, and forward the data service request to the transfer processing unit so that the transfer processing unit can perform corresponding data processing according to the data service request.

[0081] In this embodiment, if the unit to be processed is not a transferred processing unit capable of continuing to process the data to be processed, that is, the processing unit for the data corresponding to the user identification information has been transferred, the unit to be processed will no longer process the user's related data. Therefore, it is necessary to identify a transferred processing unit capable of continuing to process the data to be processed and forward the data service request to the transferred processing unit to ensure that the data is processed in a timely and accurate manner.

[0082] In one possible implementation, the step S104 above, which determines the transfer processing unit capable of processing the data to be processed, may include: obtaining the new processing unit to which the historical data corresponding to the user's identification information has been transferred from the user's unit transfer history, and determining the new processing unit as the transfer processing unit.

[0083] In this embodiment, the unit transfer history includes the processing unit to which the data corresponding to the user identification information is scheduled to be processed, and the transfer processing unit to which it is transferred. Therefore, based on the unit transfer history corresponding to the user, the transfer processing unit that can process the data to be processed can be easily and accurately determined.

[0084] In one possible implementation, step S103, which determines whether the unit to be processed can continue processing the data to be processed, may include: determining the data processing history corresponding to the user identification information based on the user routing label; determining the identifier of the data processing unit that processed the data to be processed in the most recent history record in the data processing history record; determining whether the identifier of the data processing unit is the identifier of the unit to be processed; if yes, then determining that the unit to be processed cannot continue processing the data to be processed; if no, then determining that the unit to be processed can continue processing the data to be processed.

[0085] Accordingly, determining the transfer processing unit capable of processing the data to be processed may include: determining the transfer processing unit for processing the data to be processed based on the data processing unit.

[0086] In this embodiment, since the user routing mark serves as a unique identifier for a user within the unitized application service device, the user's corresponding data processing history can be determined based on the user routing mark. The data processing history typically includes a generation date; the most recent historical record can be determined based on the generation date of each record.

[0087] In this embodiment, after processing the relevant data, the processing unit typically leaves a data processing history and trace in the database for subsequent data retrieval and auditing operations. Therefore, by identifying the data processing unit that processed the data corresponding to the user identification information in the most recent historical record, determining whether the data processing unit is a pending processing unit allows for a simple and accurate determination of whether the data corresponding to the user identification information has undergone a unit transfer. If the data processing unit is not a pending processing unit, then the data corresponding to the user identification information has undergone a unit transfer, and the data processing unit is the transfer processing unit. This setup allows for a simple and accurate determination of whether the data corresponding to the user identification information has undergone a unit transfer and identifies the transfer processing unit capable of processing the data to be processed.

[0088] In one possible implementation, the step S104 above, which forwards the data service request to the transfer processing unit so that the transfer processing unit can perform corresponding data processing based on the data service request, may include: determining the transfer route marker corresponding to the user in the transfer processing unit based on the unit's transfer history or data processing history; generating a transferred data service request based on the data service request and the transfer route marker; and sending the transferred data service request to the transfer processing unit so that the transfer processing unit can perform corresponding data processing based on the transferred data service request.

[0089] In this embodiment, after the data corresponding to the user's identification information is transferred to a transfer processing unit, the transferred unit assigns a transfer route marker to the user. This transfer route marker is only used by the transfer processing unit to identify the user and distinguish them within the unit. Therefore, after determining the transfer processing unit, it is necessary to determine the transfer route marker corresponding to the user within that unit based on the unit's transfer history or data processing history. Generating a post-transfer data service request based on the data service request and the transfer route marker enables the transfer processing unit to determine the data that the data service request needs to access based on the transfer route marker in the post-transfer data service request, and to perform the corresponding data processing.

[0090] S105: If so, the data service request is forwarded to the processing unit so that the processing unit can perform corresponding data processing according to the data service request.

[0091] In this embodiment, if the processing unit can continue to process the data to be processed, it means that the data corresponding to the user identification information has not been transferred to another unit, and the data service request can be directly forwarded to the processing unit for data processing.

[0092] In this embodiment, a data service request can be received, which includes user identification information and data to be processed. From multiple processing units, the processing unit corresponding to the user identification information is determined. It is determined whether the processing unit can continue processing the data to be processed. If not, a transfer processing unit capable of processing the data to be processed is determined, and the data service request is forwarded to the transfer processing unit so that the transfer processing unit can perform corresponding data processing according to the data service request. The method of this application, after determining the processing unit corresponding to the user through the user identification information in the data service request, can also determine whether the processing unit is a transfer processing unit capable of continuing to process the data to be processed. This setting allows for accurate determination of whether the processing unit pre-set based on the user identification information is still the actual transfer processing unit processing the data to be processed. If not, the transfer processing unit processing the data to be processed can be determined, and the data service request can be forwarded to the transfer processing unit. This setting can correct errors in data access within the unit, preventing data from becoming unprocessable after the processing unit corresponding to the data to be processed is transferred, improving the accuracy of data access for each processing unit of the unitized application service device, and ensuring that the data to be processed can be processed by the correct processing unit in a timely manner, thereby guaranteeing the timeliness of data processing.

[0093] The data processing method of this application is described below with a specific embodiment.

[0094] Example 2

[0095] In one specific embodiment, a user subscribes to a product offered by a bank using a bank's mobile app. After the product subscription is successful, the bank's app generates a data service request based on the product subscription information and sends the request to the bank's corresponding unitized application service device. The unitized application service device then performs relevant data processing operations to provide the corresponding product service. The specific data processing process is as follows:

[0096] The first step is for the bank's app to generate a data service request based on the product order information and send the data service request to the corresponding unitized application service device of the bank. The unitized application service device receives the data service request, which includes the user's user ID in the bank's app. This user ID is the user identification information.

[0097] The second step is that the unitized application service device determines the user routing table corresponding to the user identification information based on the preset correspondence between identification information and routing table; and determines the unit to be processed corresponding to the user routing table, which is unit A, based on the preset correspondence between routing table and processing unit.

[0098] The third step involves the unitized application service device determining, based on the user routing label, that there is a corresponding unit transfer history record for the user in the common processing unit of the unitized application service device, indicating a transfer from unit A to unit B.

[0099] The fourth step is for the unitized application service device to determine the transfer processing unit for processing the data to be processed as Unit B, and to determine the transfer route corresponding to the user in the transfer processing unit based on the unit's transfer history.

[0100] Fifth, the unitized application service device generates a transferred data service request based on the data service request and the transfer route marker, and sends the transferred data service request to the transfer processing unit.

[0101] Step 6: The transfer processing unit (Unit B) retrieves relevant data based on the transferred data service request and performs corresponding data processing.

[0102] Figure 4 This is a schematic diagram of the structure of a unitized application service device according to an embodiment of this application, such as... Figure 4As shown, the unitized application service device includes multiple processing units and may further include: a receiving module 41, used to receive a data service request, the data service request including user identification information and data to be processed; a processing module 42, used to determine the unit to be processed corresponding to the user identification information from the multiple processing units; determine whether the unit to be processed can continue to process the data to be processed; if not, determine a transfer processing unit that can process the data to be processed, and forward the data service request to the transfer processing unit so that the transfer processing unit can perform corresponding data processing according to the data service request. In one embodiment, the specific implementation function of the unitized application service device can be described in steps S101-S105 of Embodiment 1, and will not be repeated here.

[0103] Figure 5 This is a schematic diagram of the structure of a unitized application service device according to another embodiment of this application, such as... Figure 5 As shown, the modular application service device includes: a processor 101 and a memory 102 communicatively connected to the processor 101; the memory 102 stores computer-executable instructions; the processor 101 executes the computer-executable instructions stored in the memory 102 to implement the steps of the data processing methods in the above-described method embodiments.

[0104] The unitized application service device can be standalone or part of a server, and the processor 101 and memory 102 can utilize existing server hardware.

[0105] In the aforementioned modular application service device, the memory 102 and the processor 101 are electrically connected directly or indirectly to enable data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines, such as a bus connection. The memory 102 stores computer execution instructions that implement data access control methods, including at least one software function module that can be stored in the memory 102 in the form of software or firmware. The processor 101 executes various functional applications and data processing by running the software programs and modules stored in the memory 102.

[0106] The memory 102 may be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory 102 stores programs, which are executed by the processor 101 upon receiving execution instructions. Furthermore, the software programs and modules within the memory 102 may include an operating system, which may include various software components and / or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.) and can communicate with various hardware or software components to provide an operating environment for other software components.

[0107] Processor 101 can be an integrated circuit chip with signal processing capabilities. The aforementioned processor 101 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor.

[0108] An embodiment of this application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the steps of the various method embodiments of this application.

[0109] An embodiment of this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the various method embodiments of this application.

[0110] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the appended claims.

[0111] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A data processing method, characterized in that, Applied to a unitized application service device, the unitized application service device comprising multiple processing units, the method includes: Receive a data service request, the data service request including user identification information and data to be processed; Based on the preset correspondence between identifier information and routing table, determine the user routing table corresponding to the user identifier information; based on the preset correspondence between routing table and processing unit, determine the processing unit corresponding to the user routing table from the plurality of processing units. Determine whether the unit to be processed is able to continue processing the data to be processed; If not, then a transfer processing unit capable of processing the data to be processed is determined, and the data service request is forwarded to the transfer processing unit so that the transfer processing unit can perform corresponding data processing according to the data service request; Specifically, determining whether the processing unit can continue processing the data to be processed includes: Based on the user routing label, determine whether there is a unit transfer history record corresponding to the user identification information in the common processing unit of the unitized application service device; if yes, determine that the unit to be processed cannot continue to process the data to be processed; if no, determine that the unit to be processed can continue to process the data to be processed. or, Based on the user routing label, determine the data processing history corresponding to the user identification information; determine the identifier of the data processing unit that processed the data to be processed in the most recent history in the data processing history; determine whether the identifier of the data processing unit is the identifier of the data to be processed; if not, determine that the data to be processed cannot continue to process the data to be processed; if so, determine that the data to be processed can continue to process the data to be processed.

2. The method according to claim 1, characterized in that, The user identification information includes one or more of user ID information and order ID information, and the user routing identifier is the user's identification information in the unitized application service device.

3. The method according to claim 1, characterized in that, When it is determined, based on the user routing label, that a unit transfer history record corresponding to the user identification information exists in the common processing unit of the unitized application service device, the step of determining the transfer processing unit capable of processing the data to be processed specifically includes: Obtain the historical data corresponding to the user's identification information from the unit transfer history record corresponding to the user, and determine the new processing unit as the transfer processing unit.

4. The method according to claim 1, characterized in that, Based on the user routing label, determine the data processing history corresponding to the user identification information; determine the identifier of the data processing unit that processed the data to be processed in the most recent history record in the data processing history record; When it is determined that the identifier of the data processing unit is not the identifier of the unit to be processed, the step of determining the transfer processing unit capable of processing the data to be processed includes: The data processing unit is used as a transfer processing unit to process the data to be processed.

5. The method according to claim 3 or 4, characterized in that, The step of forwarding the data service request to the transfer processing unit, so that the transfer processing unit can perform corresponding data processing according to the data service request, specifically includes: Based on the unit transfer history or data processing history, determine the transfer route marker corresponding to the user in the transfer processing unit; Based on the data service request and the transfer route marker, generate the transferred data service request; The transferred data service request is sent to the transfer processing unit so that the transfer processing unit can perform corresponding data processing based on the transferred data service request.

6. A unitized application service device, characterized in that, The unitized application service device includes multiple processing units, and also includes: The receiving module is used to receive data service requests, the data service requests including user identification information and data to be processed; The processing module is configured to: determine the user routing table corresponding to the user identification information based on a preset correspondence between identification information and routing tables; determine the processing unit corresponding to the user routing table from among the plurality of processing units based on a preset correspondence between routing tables and processing units; determine whether the processing unit can continue to process the data to be processed; if not, determine a transfer processing unit that can process the data to be processed, and forward the data service request to the transfer processing unit so that the transfer processing unit can perform corresponding data processing according to the data service request; Specifically, when determining whether the unit to be processed can continue processing the data to be processed, the processing module is used to determine, based on the user routing label, whether there is a unit transfer history record corresponding to the user identification information in the common processing unit of the unitized application service device; if yes, then it is determined that the unit to be processed cannot continue processing the data to be processed; if no, then it is determined that the unit to be processed can continue processing the data to be processed. or, Based on the user routing label, determine the data processing history corresponding to the user identification information; determine the identifier of the data processing unit that processed the data to be processed in the most recent history in the data processing history; determine whether the identifier of the data processing unit is the identifier of the data to be processed; if not, determine that the data to be processed cannot continue to process the data to be processed; if so, determine that the data to be processed can continue to process the data to be processed.

7. A modular application service device, characterized in that, Includes a processor and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Service processing method and device and computer readable storage medium

    CN111221653A

  • Service calling method and device and service processing method and device under unitized architecture

    CN114172966A