Breakpoint information processing method, device and system, and storage medium
By receiving and storing the pending confirmation information from the order information processing server, the problem of easy loss of breakpoint information during processing is solved, realizing reliable flow and efficient processing of breakpoint information, reducing maintenance costs and improving user experience.
Patent Information
- Application Number
- CN202210546893.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-05-18
AI Technical Summary
In existing technologies, breakpoint information is easily overlooked during processing, leading to information loss.
By receiving the pending confirmation information sent by the order information processing server, copying and saving the breakpoint information, changing its processing status to pending confirmation, sending a save success message to delete the breakpoint information, receiving and changing the processing status to execution success, and recording the breakpoint information status in real time.
This ensures reliable and unlossable information flow at breakpoints, improves processing efficiency, reduces maintenance costs, and enhances user experience.
Smart Images

Figure CN114971782B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular, the present application relates to a breakpoint information processing method, device, system and storage medium. BACKGROUND
[0002] With the development and progress of big data technology, enterprises pay more and more attention to data, effectively transform data into information, and help enterprises provide data analysis and decision-making, which helps to improve core competitiveness. Especially in processing user breakpoint messages, such as payment breakpoint messages, that is, information that the user submits an order but has not paid, such breakpoint information is easy to be ignored in the processing process, resulting in loss of information. SUMMARY
[0003] The main purpose of the present application is to provide a breakpoint information processing method, device, system and storage medium to prevent the loss of breakpoint information.
[0004] In order to achieve the above-mentioned purpose of the application, the present application provides a breakpoint information processing method, which comprises:
[0005] Receiving the order information processing server sending the to-be-confirmed information; wherein the to-be-confirmed information is the execution confirmation information of the breakpoint information generated in the processing process of the order information processing server to the order information;
[0006] According to the to-be-confirmed information, the breakpoint information is copied to obtain target breakpoint information, the target breakpoint information is saved, and the processing state of the target breakpoint information is changed to a to-be-confirmed state;
[0007] Send the target breakpoint information save success information to the order information processing server, so that the order information processing server deletes the breakpoint information; wherein the save information carries the identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information;
[0008] Receiving the processing message sent by the order information processing server that the breakpoint information is deleted, and changing the processing state of the target breakpoint information to an execution success state.
[0009] Further, after the processing state of the target breakpoint information is changed to the execution success state, it further comprises:
[0010] Send the processing message to the preset message middleware, so that the message middleware sends the processing message and target breakpoint information to the third party server; wherein the third party server is used to analyze the target breakpoint information, and save the analysis result obtained after analysis.
[0011] Preferably, the receiving the processing message sent by the order information processing server and indicating that the breakpoint information is deleted comprises:
[0012] querying a processing status of the target breakpoint information in a timing manner;
[0013] when determining that the processing status is not deleted, acquiring a continuous processing duration of the order information processing server;
[0014] determining whether the continuous processing duration of the order information processing server is greater than a preset duration;
[0015] if yes, sending an instruction of suspending processing of the breakpoint information to the order information processing server.
[0016] Further, after the sending of the instruction of suspending processing of the breakpoint information to the order information processing server, the method further comprises:
[0017] receiving the breakpoint information sent by the order information processing server and deleting the breakpoint information.
[0018] Further, the saving of the target breakpoint information comprises:
[0019] encrypting the target breakpoint information by using a preset encryption algorithm to obtain encrypted breakpoint information;
[0020] saving the encrypted breakpoint information to a preset message database.
[0021] Preferably, the encrypting of the target breakpoint information by using the preset encryption algorithm to obtain the encrypted breakpoint information comprises:
[0022] randomly generating a key, and adding mixed information to the key;
[0023] encrypting the key after the mixed information is added based on an asymmetric encryption algorithm to obtain a target key;
[0024] encrypting the target breakpoint information based on a symmetric encryption algorithm by using the target key to obtain the encrypted breakpoint information.
[0025] Preferably, the encrypting of the target breakpoint information by using the preset encryption algorithm to obtain the encrypted breakpoint information comprises:
[0026] calculating a byte length of the target breakpoint information;
[0027] determining whether the byte length of the target breakpoint information exceeds a preset byte length threshold;
[0028] If yes, the target breakpoint information is split into multiple data segments according to the byte length threshold;
[0029] Each of the data segments is encrypted by using a preset encryption algorithm, and the encrypted data segments are combined to obtain the encrypted breakpoint information.
[0030] The application further provides a breakpoint information processing device, which comprises:
[0031] The receiving module is configured to receive to-be-confirmed information sent by an order information processing server, wherein the to-be-confirmed information is execution confirmation information of breakpoint information generated in a processing process of the order information processing server on the order information;
[0032] The saving module is configured to copy the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, and change a processing state of the target breakpoint information to a to-be-confirmed state;
[0033] The sending module is configured to send saving information of successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information, wherein the saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information;
[0034] The changing module is configured to receive a processing message that the breakpoint information is deleted sent by the order information processing server, and change the processing state of the target breakpoint information to an execution success state.
[0035] The application further provides a breakpoint information processing system, which comprises a main server and an order information processing server, wherein,
[0036] The order information processing server is configured to send to-be-confirmed information to the server, wherein the to-be-confirmed information is execution confirmation information of breakpoint information generated in a processing process of the order information processing server on the order information;
[0037] The main server is configured to receive to-be-confirmed information sent by the order information processing server, copy the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, change a processing state of the target breakpoint information to a to-be-confirmed state, and send saving information of successful saving of the target breakpoint information to the order information processing server, wherein the saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information;
[0038] The order information processing server is further configured to receive saving information indicating that the target breakpoint information is saved successfully, delete the breakpoint information according to the saving information, and send a processing message indicating that the breakpoint information is deleted to the master server;
[0039] The master server is further configured to receive the processing message indicating that the breakpoint information is deleted sent by the order information processing server, and change a processing state of the target breakpoint information to a successful execution state according to the processing message.
[0040] The application further provides a computer device including a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method according to any one of the preceding embodiments when executing the computer program.
[0041] The application further provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program implements the steps of the method according to any one of the preceding embodiments when executed by a processor.
[0042] The breakpoint information processing method, device, system and storage medium provided by the application can receive to-be-confirmed information sent by an order information processing server, copy the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, change a processing state of the target breakpoint information to a to-be-confirmed state, send saving information indicating that the target breakpoint information is saved successfully to the order information processing server, so that the order information processing server deletes the breakpoint information, receive a processing message indicating that the breakpoint information is deleted sent by the order information processing server, and change the processing state of the target breakpoint information to a successful execution state, thereby backing up and saving the breakpoint information, recording the state of the breakpoint information in real time, ensuring that the breakpoint information is reliably transferred without loss, ensuring that each order information and each message can be completely processed, further improving efficiency, reducing maintenance cost, and improving user experience, deleting the breakpoint information saved successfully, avoiding long-term occupation of the processing process of the order information processing server, and affecting processing efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0043] Figure 1 The figure is a flowchart of a breakpoint information processing method according to an embodiment of the application;
[0044] Figure 2 The figure is a structural schematic block diagram of a breakpoint information processing device according to an embodiment of the application;
[0045] Figure 3 The figure is a structural schematic block diagram of a computer device according to an embodiment of the application.
[0046] The implementation, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0047] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not intended to limit the present application.
[0048] The breakpoint information processing method provided by the present application takes a master server as an execution subject, which can be an independent server or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content delivery network (CDN), and big data and artificial intelligence platform.
[0049] The breakpoint information processing method is used to solve the technical problem that the current breakpoint message is easily ignored in the processing process, causing information loss. Figure 1 In one embodiment, the breakpoint information processing method comprises:
[0050] S11, receiving the to-be-confirmed information sent by an order information processing server; wherein the to-be-confirmed information is execution confirmation information of breakpoint information generated in the processing process of the order information processing server on the order information;
[0051] S12, copying the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saving the target breakpoint information, and changing the processing state of the target breakpoint information to a to-be-confirmed state;
[0052] S13, sending saving information of successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information; wherein the saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information;
[0053] S14, receiving the processing message that the breakpoint information is deleted sent by the order information processing server, and changing the processing state of the target breakpoint information to an execution success state.
[0054] In the embodiment, the main server and the order information processing server establish a communication connection in advance. In the whole process, the order information processing server sends a "to be confirmed" state to-be-confirmed information to the server before performing a local database transaction operation, instead of directly sending the message to a designated location of the message middleware. The order information processing server is a server that directly processes the breakpoint information, such as executing or interrupting the processing of the breakpoint information.
[0055] The to-be-confirmed information is execution confirmation information of the breakpoint information generated during the processing of the order information by the order information processing server, such as whether to save, delete, track the state of, or save the user information of the user corresponding to the breakpoint information. Generally, the to-be-confirmed information is execution confirmation information of whether to delete the breakpoint information.
[0056] The main server copies the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saves the target breakpoint information in the message database of the server, and changes the processing state of the target breakpoint information to a to-be-confirmed state. After completion, the main server sends a save information of successful saving of the target breakpoint information to the order information processing server to indicate that the server has received the to-be-confirmed message. The save information carries an identifier of the successfully saved target breakpoint information, which is unique and used to distinguish different target breakpoint information.
[0057] After receiving the save information of successful saving of the target breakpoint information sent by the main server, the order information processing server extracts the identifier from the save information, determines the breakpoint information to be deleted based on the identifier, deletes the breakpoint information, and sends a processing message of deletion of the breakpoint information to the main server. At this time, the main server receives the processing message of deletion of the breakpoint information sent by the order information processing server, changes the processing state of the target breakpoint information to an execution success state, and records the state of the breakpoint information in real time to ensure the reliable flow of the breakpoint information and prevent loss.
[0058] The breakpoint information can include payment breakpoint information, i.e., information data submitted by a user but not yet paid, and can also include user purchase intention information and breakpoint information generated by purchase intention of car insurance and non-car insurance. For example, when a user applies for a car insurance purchase request but does not purchase, a breakpoint message of car insurance purchase intention of the user is recorded.
[0059] The breakpoint information processing method provided in the application comprises the following steps: receiving to-be-confirmed information sent by an order information processing server, copying breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saving the target breakpoint information, and changing a processing state of the target breakpoint information to a to-be-confirmed state; sending saving information of successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information; receiving a processing message that the breakpoint information is deleted sent by the order information processing server, and changing the processing state of the target breakpoint information to an execution success state, thereby backing up and saving the breakpoint information, and recording the state of the breakpoint information in real time, so as to ensure reliable flow and no loss of the breakpoint information, and also to ensure that each order information and each message can be completely processed, so as to further improve efficiency, reduce maintenance cost, and improve user experience; and the breakpoint information saved successfully is deleted, so as to avoid long-term occupation of the processing process of the order information processing server and affect processing efficiency.
[0060] In an embodiment, after the processing state of the target breakpoint information is changed to the execution success state, the method further comprises the following steps of:
[0061] sending the processing message to a preset message middleware, so that the message middleware sends the processing message and the target breakpoint information to a third-party server; wherein the third-party server is configured to analyze the target breakpoint information and save an analysis result obtained after the analysis.
[0062] In a normal process, the third-party server waits for the processing message and processes a local transaction, and if the processing is successful, the third-party server actively notifies the main server, and the main server updates the state of the message to "completed"; otherwise, if the processing fails, the third-party server cannot actively send a notification message to the main server. The third-party server is configured to analyze the target breakpoint information to confirm a user feature of a user corresponding to the target breakpoint information, and the user feature is configured to represent a payment feature of the user, such as long-term non-payment behavior, overtime payment, and the like, so as to understand the purchase intention of the user.
[0063] In an embodiment, the receiving of the processing message that the breakpoint information is deleted sent by the order information processing server can specifically comprise the following steps of:
[0064] periodically querying the processing state of the target breakpoint information;
[0065] when it is determined that the processing state is not deleted, acquiring a continuous processing duration of the order information processing server;
[0066] determining whether the continuous processing duration of the order information processing server is greater than a preset duration;
[0067] If yes, an instruction to suspend processing the breakpoint information is sent to the order information processing server.
[0068] The main server of the embodiment will start a corresponding background thread to query the messages in the "sent" state at a regular time interval, such as setting a timer, and when the time interval set by the timer is reached, the processing status of the order information processing server is acquired at a regular time interval. When it is determined that the processing status of the breakpoint information is not deleted, the continuous processing time length of the order information processing server is acquired.
[0069] Then, it is determined whether the continuous processing time length of the running order information processing server exceeds a preset time length, which can be set by the user, such as setting the preset time length to 30 minutes. If the preset time length is exceeded, an instruction to suspend processing the breakpoint information is sent to the order information processing server, so that the order information processing server suspends processing the breakpoint information after receiving the instruction.
[0070] In an embodiment, after the instruction to suspend processing the breakpoint information is sent to the order information processing server, the method further includes:
[0071] The breakpoint information sent by the order information processing server is received, and the breakpoint information is deleted.
[0072] In the embodiment, when it is determined that the continuous processing time length of the order information processing server is greater than the preset time length, the breakpoint information sent by the order information processing server is received, the breakpoint information is directly deleted by the main server, a preset number threshold of times of deleting the breakpoint information by the main server is set, it is determined whether the number of times of deleting the breakpoint information by the main server reaches the preset number threshold of times, and when it is monitored that the number of times of deleting the breakpoint information reaches the preset number threshold of times, a warning is given, such as deleting the breakpoint information by manual deletion.
[0073] In an embodiment, the saving the target breakpoint information can specifically include:
[0074] The target breakpoint information is encrypted by using a preset encryption algorithm to obtain encrypted breakpoint information.
[0075] The encrypted breakpoint information is saved to a preset message database.
[0076] In the embodiment, when the target breakpoint information is saved, the target breakpoint information can be encrypted by using a preset encryption algorithm to obtain encrypted breakpoint information, and the encrypted breakpoint information is saved to a preset message database, so as to ensure the security of the data. The preset encryption algorithm includes a symmetric encryption algorithm and an asymmetric encryption algorithm, and can also be a combination of the symmetric encryption algorithm and the asymmetric encryption algorithm.
[0077] In the symmetric encryption algorithm, the data sender processes the plaintext (original data) and the encryption key together through a special encryption algorithm to make the plaintext into complex encrypted ciphertext and sends it out. After receiving the ciphertext, the receiver needs to use the encryption key and the inverse algorithm of the same algorithm to decrypt the ciphertext in order to restore it to readable plaintext. In the symmetric encryption algorithm, there is only one key used by both the sender and the receiver to encrypt and decrypt data, which requires the decrypter to know the encryption key in advance.
[0078] The asymmetric encryption algorithm requires two keys: a public key (public key for short) and a private key (private key for short). The public key and the private key are a pair, and if the data is encrypted with the public key, it can only be decrypted with the corresponding private key. Because encryption and decryption use two different keys, this algorithm is called asymmetric encryption algorithm. The basic process of implementing confidential information exchange by the asymmetric encryption algorithm is as follows: Party A generates a pair of keys and makes the public key public, and other parties (Party B) that need to send information to Party A encrypt the confidential information using the key (Party A's public key) and then send it to Party A; Party A decrypts the encrypted information using its own private key. When Party A wants to reply to Party B, it encrypts the data using Party B's public key, and Party B decrypts the data using its own private key.
[0079] In an embodiment, the encryption of the target breakpoint information by using the preset encryption algorithm to obtain encrypted breakpoint information can specifically include:
[0080] Randomly generating a key, adding mixed information to the key;
[0081] Encrypting the key with added mixed information based on the asymmetric encryption algorithm to obtain a target key;
[0082] Encrypting the target breakpoint information by using the target key based on the symmetric encryption algorithm to obtain encrypted breakpoint information.
[0083] In the symmetric algorithm, there is only one key used, and in this embodiment, the main server encrypts the target breakpoint information using a randomly generated key. The key is a parameter that is input in the algorithm for converting plaintext into ciphertext or ciphertext into plaintext.
[0084] Since the key is randomly generated by the main server, the dynamic change of the key can be realized. Optionally, the symmetric encryption algorithm can be any one of DES algorithm, AES algorithm, 3DES algorithm, TDEA algorithm, Blowfish algorithm, RC5 algorithm and IDEA algorithm.
[0085] The asymmetric encryption algorithm needs a pair of keys, which includes a public key and a private key. The public key is the public part of the key pair, and the private key is the non-public part. If encrypted with the public key, it needs to be decrypted with the corresponding private key, or encrypted with the private key and decrypted with the corresponding public key. Optionally, the asymmetric encryption algorithm can be RSA algorithm, Elgamal algorithm, Rabin algorithm, D-H algorithm, ECC algorithm (Elliptic Curve Cryptography) or knapsack algorithm. Thus, by adding mixed information to the key, certain interference can be caused, making it difficult for malicious attacks to crack the key from the encrypted breakpoint information, further improving the security of the key during transmission.
[0086] The application encrypts the target breakpoint information with the key, and also encrypts the key based on the asymmetric encryption algorithm, thereby realizing double encryption of the target breakpoint information, making the target breakpoint information strong in privacy and difficult to be reversed, thereby ensuring that the user's private information in the target breakpoint information is not leaked.
[0087] Preferably, the mixed information can be any one of the length of the key, the timestamp, the hash value of the key and the random number, or any combination thereof.
[0088] In an embodiment, the target breakpoint information is encrypted using a preset encryption algorithm to obtain encrypted breakpoint information, which can specifically include:
[0089] The byte length of the target breakpoint information is calculated.
[0090] It is judged whether the byte length of the target breakpoint information exceeds a preset byte length threshold.
[0091] If yes, the target breakpoint information is split into multiple data segments according to the byte length threshold.
[0092] Each of the data segments is encrypted using a preset encryption algorithm, and the encrypted multiple data segments are combined to obtain the encrypted breakpoint information.
[0093] In this embodiment, the main server can first judge whether the byte length of the target breakpoint information exceeds a preset byte length threshold. When it is determined that the byte length of the target breakpoint information exceeds the preset byte length threshold, it indicates that the current target breakpoint information needs to be unpacked, and the target breakpoint information is split into multiple data segments according to the byte length threshold. Each of the data segments is encrypted using a preset encryption algorithm, and the encrypted multiple data segments are combined to obtain the encrypted breakpoint information. The byte length threshold can be set by the user and is not limited here.
[0094] For example, the byte length threshold can be set as 1024 bytes, if the current target breakpoint information is 2050 bytes, the current target breakpoint information can be split into: 1024 bytes, 1024 bytes and 2 bytes, to obtain three data segments. Of course, the byte length threshold can also be flexibly adjusted according to actual application.
[0095] With reference to Figure 2 In the embodiments of the present application, a breakpoint information processing device is also provided, comprising:
[0096] The receiving module 11 is configured to receive the to-be-confirmed information sent by the order information processing server; wherein the to-be-confirmed information is execution confirmation information of the breakpoint information generated in the processing process of the order information processing server on the order information;
[0097] The saving module 12 is configured to copy the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, and change the processing state of the target breakpoint information to a to-be-confirmed state;
[0098] The sending module 13 is configured to send saving information of successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information; wherein the saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information;
[0099] The changing module 14 is configured to receive a processing message that the breakpoint information is deleted sent by the order information processing server, and change the processing state of the target breakpoint information to an execution success state.
[0100] In the embodiments, the main server and the order information processing server pre-establish a communication connection, and in the whole process, the order information processing server will send a to-be-confirmed information in a to-be-confirmed state to the server before performing a local database transaction operation, instead of directly sending the message to a specified position of the message middleware. The order information processing server is a server that directly processes the breakpoint information, such as executing or interrupting the processing of the breakpoint information.
[0101] The to-be-confirmed information is execution confirmation information of the breakpoint information generated in the processing process of the order information processing server on the order information, such as whether to save the breakpoint information, delete the breakpoint information, track the state of the breakpoint information, save the user information of the user corresponding to the breakpoint information, and the like. Generally, the to-be-confirmed information is execution confirmation information of whether to delete the breakpoint information.
[0102] The main server replicates the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saves the target breakpoint information into a message database of the main server, changes a processing state of the target breakpoint information to a to-be-confirmed state, and sends saving information of successful saving of the target breakpoint information to the order information processing server after completion, so as to indicate that the server receives the to-be-confirmed message. The saving information carries an identifier of the successfully saved target breakpoint information, and the identifier is unique and used to distinguish different target breakpoint information.
[0103] After the order information processing server receives the saving information of successful saving of the target breakpoint information sent by the main server, the order information processing server extracts the identifier from the saving information, determines the breakpoint information to be deleted based on the identifier, deletes the breakpoint information, and sends a processing message of deletion of the breakpoint information to the main server. The main server receives the processing message of deletion of the breakpoint information sent by the order information processing server, changes the processing state of the target breakpoint information to a successful execution state, so as to record the state of the breakpoint information in real time and ensure reliable flow of the breakpoint information.
[0104] The breakpoint information can include payment breakpoint information, i.e., information data of a user submitting an order but not paying, and can also include user purchase intention information and breakpoint information generated by purchase intention of vehicle insurance and non-vehicle insurance. For example, when a user applies for a vehicle insurance purchase request but does not purchase, a breakpoint information of purchase intention of the user is recorded.
[0105] As described above, it can be understood that each component of the breakpoint information processing device proposed in the present application can implement the function of any one of the breakpoint information processing methods described above, and the specific structure will not be described again.
[0106] The present application also provides a breakpoint information processing system, comprising a main server and an order information processing server, wherein,
[0107] The order information processing server is configured to send to-be-confirmed information to the server, wherein the to-be-confirmed information is execution confirmation information of breakpoint information generated in a processing process of the order information by the order information processing server.
[0108] The main server is configured to receive the to-be-confirmed information sent by the order information processing server, replicate the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, change a processing state of the target breakpoint information to a to-be-confirmed state, and send saving information of successful saving of the target breakpoint information to the order information processing server. The saving information carries an identifier of the successfully saved target breakpoint information, and the identifier is used to distinguish different target breakpoint information.
[0109] The order information processing server is further configured to receive the saving information indicating that the target breakpoint information is saved successfully, delete the breakpoint information according to the saving information, and send a processing message indicating that the breakpoint information is deleted to the master server;
[0110] The master server is further configured to receive the processing message indicating that the breakpoint information is deleted sent by the order information processing server, and change the processing state of the target breakpoint information to a processing success state according to the processing message.
[0111] In the embodiment, the master server and the order information processing server are pre-established in a communication connection. In the whole process, the order information processing server sends a to-be-confirmed information in a to-be-confirmed state to the server before performing a local database transaction operation, instead of directly sending the message to a designated position of the message middleware. The order information processing server is a server directly processing the breakpoint information, such as a server performing or interrupting the processing of the breakpoint information.
[0112] The to-be-confirmed information is execution confirmation information of the breakpoint information generated in the process of the order information processing server processing the order information, such as whether to save, delete, track the state of, or save user information of a user corresponding to the breakpoint information. Generally, the to-be-confirmed information is execution confirmation information of whether to delete the breakpoint information.
[0113] The master server copies the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saves the target breakpoint information into a message database of the server, and changes the processing state of the target breakpoint information to a to-be-confirmed state. After completion, the master server sends saving information indicating that the target breakpoint information is saved successfully to the order information processing server, to indicate that the server receives the to-be-confirmed message. The saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is unique and used to distinguish different target breakpoint information.
[0114] After receiving the saving information indicating that the target breakpoint information is saved successfully sent by the master server, the order information processing server extracts the identifier from the saving information, determines the breakpoint information to be deleted based on the identifier, deletes the breakpoint information, and sends a processing message indicating that the breakpoint information is deleted to the master server. At this time, the master server receives the processing message indicating that the breakpoint information is deleted sent by the order information processing server, changes the processing state of the target breakpoint information to a processing success state, to record the state of the breakpoint information in real time, and to ensure that the flow of the breakpoint information is reliable and not lost.
[0115] The breakpoint information can include a payment breakpoint message, i.e., information data of a user submitting an order but not yet paying is called a breakpoint message, and can also include a user purchase intention message, and breakpoint messages generated by car insurance, non-car insurance purchase intention, etc. For example, when a user applies for a car insurance purchase request but does not purchase, a breakpoint message of the user's car insurance purchase intention is recorded.
[0116] The breakpoint information processing system provided by the application receives the to-be-confirmed information sent by the order information processing server, copies the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saves the target breakpoint information, and changes the processing state of the target breakpoint information to a to-be-confirmed state; sends the saved information of the successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information; receives the processing message that the breakpoint information is deleted sent by the order information processing server, and changes the processing state of the target breakpoint information to a successful execution state, thereby backing up and saving the breakpoint information, and recording the state of the breakpoint information in real time, so as to ensure that the breakpoint information circulation is reliable and not lost, and each order information and each message can be processed completely, so as to further improve the efficiency, reduce the maintenance cost, and improve the user experience; and the saved breakpoint information is deleted, so as to avoid long-term occupation of the processing process of the order information processing server and affect the processing efficiency.
[0117] Reference Figure 3 In the embodiments of the application, a computer device is also provided, and an internal structure thereof can be as shown in Figure 3 The computer device includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a storage medium and an internal memory. The storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operating system and the computer program in the storage medium to run. The database of the computer device is configured to store related data of the breakpoint information processing method. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement the breakpoint information processing method.
[0118] The processor executes the breakpoint information processing method, including:
[0119] receiving to-be-confirmed information sent by an order information processing server; wherein the to-be-confirmed information is execution confirmation information of breakpoint information generated in a processing process of the order information processing server on the order information;
[0120] copying the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saving the target breakpoint information, and changing a processing state of the target breakpoint information to a to-be-confirmed state;
[0121] sending, to the order information processing server, saving information of saving success of the target breakpoint information, so that the order information processing server deletes the breakpoint information; the saving information carries an identifier of the target breakpoint information of the saving success, and the identifier is used to distinguish different target breakpoint information;
[0122] receiving processing information that the breakpoint information is deleted, which is sent by the order information processing server, and changing the processing state of the target breakpoint information to an execution success state.
[0123] An embodiment of the application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement a breakpoint information processing method, and the method comprises the following steps:
[0124] receiving to-be-confirmed information sent by an order information processing server; the to-be-confirmed information is execution confirmation information of breakpoint information generated in a processing process of the order information processing server on the order information;
[0125] copying the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, saving the target breakpoint information, and changing a processing state of the target breakpoint information to a to-be-confirmed state;
[0126] sending, to the order information processing server, saving information of saving success of the target breakpoint information, so that the order information processing server deletes the breakpoint information; the saving information carries an identifier of the target breakpoint information of the saving success, and the identifier is used to distinguish different target breakpoint information;
[0127] receiving processing information that the breakpoint information is deleted, which is sent by the order information processing server, and changing the processing state of the target breakpoint information to an execution success state.
[0128] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, database or other medium provided by the present application and used in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM) and memory bus dynamic RAM (RDRAM) and the like.
[0129] In summary, the greatest benefit of the present application is:
[0130] The breakpoint information processing method, device and system and storage medium provided by the present application receive the to-be-confirmed information sent by the order information processing server, copy the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, and change the processing state of the target breakpoint information to a to-be-confirmed state; send the saved information of the successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information; receive the processing message that the breakpoint information is deleted sent by the order information processing server, change the processing state of the target breakpoint information to an execution success state, thereby backing up and saving the breakpoint information, and recording the state of the breakpoint information in real time, to ensure the reliable flow of the breakpoint information and prevent loss, and also ensure that each order information and each message can be processed completely, to further improve the efficiency, reduce the maintenance cost and improve the user experience; and delete the saved breakpoint information to avoid long-term occupation of the processing process of the order information processing server and affect the processing efficiency.
[0131] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a", "comprising", or "comprises" does not, without further restriction, exclude the existence of additional elements of the process, method, article, or apparatus that comprises the element.
[0132] The preferred embodiments of the present application have been described above with the specific details of the preferred embodiments to provide a thorough understanding of the application. However, it will be apparent to those skilled in the art that the application can be practiced without the specific details and features. Well known methods have not been described in detail in order not to obscure the application. Accordingly, the scope of the application is not intended to be limited to the particular embodiments described herein, but is instead understood to include all possible embodiments falling within the scope of the appended claims.
Claims
1. A breakpoint information processing method characterized by comprising: The method comprises the following steps: receiving breakpoint information to be confirmed sent by an order information processing server; wherein the breakpoint information to be confirmed is execution confirmation information of breakpoint information generated in a processing process of the order information processing server; copying the breakpoint information according to the breakpoint information to be confirmed to obtain target breakpoint information, saving the target breakpoint information, and changing a processing state of the target breakpoint information to a to-be-confirmed state; sending saving information of successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information; wherein the saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information; receiving a processing message sent by the order information processing server that the breakpoint information is deleted, and changing the processing state of the target breakpoint information to an execution success state.
2. The method of claim 1, wherein, After the processing state of the target breakpoint information is changed to the execution success state, the method further comprises the following steps: sending the processing message to a preset message middleware, so that the message middleware sends the processing message and the target breakpoint information to a third-party server; wherein the third-party server is used to analyze the target breakpoint information and save an analysis result obtained after analysis.
3. The method of claim 1, wherein, The receiving of the processing message sent by the order information processing server that the breakpoint information is deleted comprises the following steps: querying a processing state of the target breakpoint information at a time; when it is determined that the processing state is not deleted, acquiring a continuous processing duration of the order information processing server; determining whether the continuous processing duration of the order information processing server is greater than a preset duration; if yes, sending an instruction of pausing processing of the breakpoint information to the order information processing server.
4. The method of claim 3, wherein, After the instruction of pausing processing of the breakpoint information is sent to the order information processing server, the method further comprises the following steps: receiving the breakpoint information sent by the order information processing server, and deleting the breakpoint information.
5. The method of claim 1, wherein, The saving of the target breakpoint information comprises the following steps: encrypting the target breakpoint information by using a preset encryption algorithm to obtain encrypted breakpoint information; saving the encrypted breakpoint information to a preset message database.
6. The method of claim 5, wherein, The encryption of the target breakpoint information by using the preset encryption algorithm to obtain the encrypted breakpoint information comprises the following steps: randomly generating a key, and adding mixed information to the key; encrypting the key after the mixed information is added based on an asymmetric encryption algorithm to obtain a target key; encrypting the target breakpoint information based on a symmetric encryption algorithm by using the target key to obtain the encrypted breakpoint information.
7. The method of claim 5, wherein, The encryption of the target breakpoint information by using the preset encryption algorithm to obtain the encrypted breakpoint information comprises the following steps: calculating a byte length of the target breakpoint information; determining whether the byte length of the target breakpoint information exceeds a preset byte length threshold; if yes, splitting the target breakpoint information into a plurality of data segments according to the byte length threshold; The data segments are respectively encrypted by using a preset encryption algorithm, and the encrypted data segments are combined to obtain the encrypted breakpoint information.
8. A breakpoint information processing apparatus characterized by comprising: The application relates to a breakpoint information processing method and system. The receiving module is configured to receive to-be-confirmed information sent by the order information processing server, wherein the to-be-confirmed information is execution confirmation information of breakpoint information generated in a processing process of the order information processing server on the order information. The saving module is configured to copy the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, and change a processing state of the target breakpoint information to a to-be-confirmed state. The sending module is configured to send saving information of successful saving of the target breakpoint information to the order information processing server, so that the order information processing server deletes the breakpoint information, wherein the saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information. The changing module is configured to receive a processing message that the breakpoint information is deleted sent by the order information processing server, and change the processing state of the target breakpoint information to an execution success state.
9. A breakpoint information processing system, comprising a master server and an order information processing server, and characterized in that The order information processing server is configured to send to-be-confirmed information to the master server, wherein the to-be-confirmed information is execution confirmation information of breakpoint information generated in a processing process of the order information processing server on the order information. The master server is configured to receive the to-be-confirmed information sent by the order information processing server, copy the breakpoint information according to the to-be-confirmed information to obtain target breakpoint information, save the target breakpoint information, change a processing state of the target breakpoint information to a to-be-confirmed state, and send saving information of successful saving of the target breakpoint information to the order information processing server, wherein the saving information carries an identifier of the target breakpoint information saved successfully, and the identifier is used to distinguish different target breakpoint information. The order information processing server is further configured to receive the saving information of successful saving of the target breakpoint information, delete the breakpoint information according to the saving information, and send a processing message that the breakpoint information is deleted to the master server. The master server is further configured to receive the processing message that the breakpoint information is deleted sent by the order information processing server, and change the processing state of the target breakpoint information to an execution success state according to the processing message.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the breakpoint information processing method in any one of claims 1-7.
Citation Information
Patent Citations
Distributed message transmission method, device, computer equipment and storage medium
CN111666162A
Payment verification method, computer equipment and readable storage medium
CN113643036A