Information processing method and device, equipment, storage medium and program product

By segmenting and sharding identification management of service data in message queue data transmission, the stability and bandwidth efficiency problems during large data transmission are solved, and fast and stable data transmission is achieved.

CN119182780APending Publication Date: 2024-12-24CHINA CONSTRUCTION BANK +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411235131.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

When using message queue (MQ) for data transmission, when the amount of data is greater than the limit, the stability and compatibility of the transmission system are negatively affected, resulting in an increase in the risk of packet loss, and the retransmission during large-scale data transmission requires a long time to consume when transferring large quantities of data. Time leads to a reduced efficiency in dedicated network bandwidth usage.

Method used

By splitting the target service data file, multiple target message shard messages are generated, and shard identification storage and integrity detection are performed on the receiver. If the message queue is incomplete, feedback information is sent for retransmission, avoiding all Data retransmission improves data transmission rate and stability.

Benefits of technology

It realizes the shard transmission of large batches of data, reduces the amount of data transmitted in a single time, improves the data transmission rate and stability, saves transmission time and network bandwidth, and improves the robustness of the transmission system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182780A_ABST
    Figure CN119182780A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method and device, equipment, a storage medium and a program product, and is applied to the technical field of data processing. The method is applied to a receiver, and comprises the following steps: receiving a target message queue, the target message queue comprising a plurality of message fragment messages; storing a plurality of fragment identifiers corresponding to the plurality of target message fragment messages into a preset target received message fragment table, wherein the target received message fragment table is a received message fragment table corresponding to the target service tracking number; performing integrity detection on the target message queue based on a plurality of fragment identifiers in the target receiving message fragment table; and under the condition that the target message queue is incomplete, sending first feedback information to the sender, so that the sender resends the target message queue to the receiver. According to the embodiment of the invention, the data transmission rate and the use efficiency of the private line network bandwidth can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to an information processing method, device, equipment, storage medium and program product. Background Art

[0002] For security and convenience reasons, financial institutions often use message queues (MQ) as data transmission channels to transmit business reports between business systems.

[0003] When using MQ for data transmission, there is a limit on the amount of data in the message. When the amount of data exceeds the limit, the stability and compatibility of the transmission system will be negatively affected, resulting in an increased risk of packet loss. When large-volume data transmission is being performed, if packet loss occurs, all data needs to be retransmitted. This not only consumes a long transmission time, but also reduces the efficiency of dedicated network bandwidth usage. Summary of the invention

[0004] The embodiments of the present application provide an information processing method, apparatus, device and computer storage medium, which can improve the data transmission rate and the utilization efficiency of dedicated network bandwidth.

[0005] In a first aspect, an embodiment of the present application provides an information processing method, which is applied to a receiving party, and the method includes:

[0006] Receive a target message queue, the target message queue includes a plurality of target message fragment messages, the target message fragment message includes a target business tracking number and target fragment information, the target fragment information includes fragment data obtained by fragmenting the target business data file corresponding to the target business tracking number according to a preset fragmentation rule, and a fragment identifier corresponding to the fragment data;

[0007] The multiple fragment identifiers corresponding to the multiple target message fragment messages are stored in a preset target received message fragment table, where the target received message fragment table is a received message fragment table corresponding to the target service tracking number;

[0008] Based on multiple fragment identifiers in the target receiving message fragment table, the target message queue is checked for integrity;

[0009] In the case that the target message queue is incomplete, first feedback information is sent to the sender, so that the sender can resend the target message queue to the receiver.

[0010] In a possible implementation, before storing multiple fragment identifiers corresponding to multiple target message fragment messages in a preset target received message fragment table, the method further includes:

[0011] Search the target business tracking number in the preset received message summary table;

[0012] When the target business tracking number is not included in the received message summary table, table information corresponding to the target business tracking number is added to the received message summary table;

[0013] Create a target receiving message fragment table corresponding to the target business tracking number.

[0014] In a possible implementation, receiving a target message queue includes:

[0015] Receiving a preset message fragment message, where the preset message fragment message is one of a plurality of target message fragment messages;

[0016] Obtaining preset fragmentation data and a preset fragmentation identifier corresponding to the preset fragmentation data from the preset fragmentation information corresponding to the preset message fragmentation message;

[0017] Performing format conversion on the preset fragment data corresponding to the preset message fragment message to obtain a preset data file;

[0018] When the preset fragment identifier is not the end identifier, the next target message fragment message of the preset message fragment message in the target message queue is used as the new preset message fragment message, and the preset message fragment message is returned to be received until the preset fragment identifier is the end identifier or the preset receiving time is reached.

[0019] In a possible implementation, after performing integrity detection on the target message queue based on multiple fragment identifiers in the target received message fragment table, the method further includes:

[0020] When the target message queue is complete, multiple preset data files corresponding to multiple target message fragment messages are parsed and stored in the database;

[0021] The table information corresponding to the target business tracking number in the received message summary table is updated to the target table information, so as to be used for executing the business processing flow corresponding to the target business tracking number.

[0022] In a possible implementation, the multiple target message fragment messages are multiple encrypted target message fragment messages;

[0023] Acquiring preset fragmentation data and a preset fragmentation identifier corresponding to the preset fragmentation data from preset fragmentation information corresponding to the preset message fragmentation message includes:

[0024] Decrypting the preset message fragment message to obtain the preset fragment information from the decrypted preset message fragment message;

[0025] The preset slice data and the preset slice identifier corresponding to the preset slice data are obtained from the preset slice information.

[0026] In a second aspect, an embodiment of the present application provides an information processing method, which is applied to a sender, and the method includes:

[0027] Acquire multiple split information of the target business data file from a preset target send message split table, the target send message split table is a send message split table corresponding to the target business tracking number, the target business data file is a business data file corresponding to the target business tracking number, and the split information is used to represent the corresponding split points of the split data in the target business data file;

[0028] The target business data file is segmented according to the multiple segmentation information to obtain multiple target segmentation information, where the target segmentation information includes the segmentation data and the segmentation identifiers corresponding to the segmentation data;

[0029] Assembling each target fragment information and the target service tracking number into a message fragment message to obtain multiple target message fragment messages;

[0030] Assemble multiple target message fragments into a target message queue in a preset order;

[0031] Send the target message queue to the receiver;

[0032] In the case of receiving the first feedback information sent by the receiver, the target message queue is resent to the receiver, where the first feedback information is used to feed back to the receiver that the target message queue received is incomplete.

[0033] In a possible implementation, before obtaining multiple segmentation information of the target business data file from the preset target message sending segmentation table, the method further includes:

[0034] Determine multiple split information corresponding to the target business data file according to a preset data volume threshold;

[0035] The multiple segmentation information is stored in the preset target sending message segmentation table.

[0036] In a possible implementation, before storing the plurality of segmentation information in a preset target message sending segment table, the method further includes:

[0037] Find the target business tracking number in the preset sent message summary table;

[0038] When the target business tracking number is not included in the sent message summary table, table information corresponding to the target business tracking number is added to the sent message summary table;

[0039] Create a target sending message shard table corresponding to the target business tracking number.

[0040] In a possible implementation, after each target fragment information and the target service tracking number are assembled into a message fragment message and a plurality of target message fragment messages are obtained, the method further includes:

[0041] Encrypting each target message fragment message respectively to obtain a plurality of encrypted target message fragment messages;

[0042] Multiple target message fragments are grouped into a target message queue in a preset order, including:

[0043] A plurality of encrypted target message fragment messages are formed into a target message queue in a preset order.

[0044] In a possible implementation manner, after sending the target message queue to the receiver, the method further includes:

[0045] If no feedback information sent by the receiver is received within a preset period of time, the target message queue is resent to the receiver.

[0046] In a third aspect, an embodiment of the present application provides an information processing device, applied to a receiving party, the device comprising:

[0047] A receiving module, used for receiving a target message queue, the target message queue including a plurality of target message fragment messages, the target message fragment message including a target business tracking number and target fragment information, the target fragment information including fragment data obtained by fragmenting a target business data file corresponding to the target business tracking number according to a preset fragmentation rule, and a fragment identifier corresponding to the fragment data;

[0048] A storage module, used for storing multiple fragment identifiers corresponding to multiple message fragment messages into a preset target received message fragment table, where the target received message fragment table is a received message fragment table corresponding to a target business tracking number;

[0049] A detection module, used for performing integrity detection on a target message queue based on multiple fragment identifiers in a target received message fragment table;

[0050] The sending module is used to send first feedback information to the sender when the target message queue is incomplete, so that the sender can resend the target message queue to the receiver.

[0051] In a fourth aspect, an embodiment of the present application provides an information processing device, applied to a sender, the device comprising:

[0052] An acquisition module is used to acquire multiple segmentation information of a target business data file from a preset target message sending segmentation table, where the target message sending segmentation table is a message sending segmentation table corresponding to a target business tracking number, and the target business data file is a business data file corresponding to the target business tracking number. The segmentation information is used to characterize the segmentation points corresponding to the segmentation data in the target business data file;

[0053] A segmentation module is used to segment the target business data file according to the plurality of segmentation information to obtain a plurality of target segmentation information, wherein the target segmentation information includes the segmentation data and the segmentation identifier corresponding to the segmentation data;

[0054] An assembling module, used to assemble each target fragment information and the target service tracking number into a message fragment message, so as to obtain a plurality of target message fragment messages;

[0055] The assembly module is also used to assemble multiple target message fragment messages into a target message queue in a preset order;

[0056] A sending module, used for sending a target message queue to a receiver;

[0057] The sending module is further used to resend the target message queue to the receiver when receiving first feedback information sent by the receiver, wherein the first feedback information is used to feed back that the target message queue received by the receiver is incomplete.

[0058] In a fifth aspect, an embodiment of the present application provides an information processing device, the device comprising:

[0059] A processor and a memory storing computer program instructions; when the processor executes the computer program instructions, any one of the above information processing methods is implemented.

[0060] In a sixth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any one of the above-mentioned information processing methods is implemented.

[0061] In a seventh aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to perform any one of the above-mentioned information processing methods.

[0062] The information processing method, device, equipment and computer storage medium of the embodiment of the present application are applied to the receiving party and can receive the target message queue, which includes multiple target message fragment messages, the target message fragment message includes the target business tracking number and the target fragment information, and the target fragment information includes the fragment data obtained by fragmenting the target business data file corresponding to the target business tracking number according to the preset fragmentation rule, and the fragment identification corresponding to the fragment data. In this way, large quantities of data can be transmitted in fragments, reducing the amount of data transmitted in a single time, thereby improving the rate, stability and robustness of the data transmission system. Then, multiple fragment identifications corresponding to multiple target message fragment messages can be stored in the target receiving message fragment table corresponding to the target business tracking number. In this way, the fragment identifications belonging to the same business tracking number can be uniformly managed. Then, the target message queue can be subjected to integrity detection based on the multiple fragment identifications in the target receiving message fragment table. In the case that the target message queue is incomplete, the first feedback information is sent to the sender, so that the sender can resend the target message queue to the receiver. In this way, when packet loss or other phenomena cause incomplete data of a single service, only the multiple message fragments corresponding to the service need to be retransmitted, without the need to retransmit all the data. This can save transmission time and network dedicated line bandwidth. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0064] Figure 1 It is a flowchart of an information processing method provided by an embodiment of the present application;

[0065] Figure 2 is a flowchart of an information processing method provided by another embodiment of the present application;

[0066] Figure 3 is a structural diagram of an information processing device provided by yet another embodiment of the present application;

[0067] Figure 4 is a structural diagram of an information processing device provided by yet another embodiment of the present application;

[0068] Figure 5 It is a structural diagram of an information processing device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0069] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0070] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0071] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.

[0072] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0073] When using MQ for data transmission, there is a limit on the amount of data in the message. When the amount of data exceeds the limit, the stability and compatibility of the transmission system will be negatively affected, resulting in an increased risk of packet loss. When large-volume data transmission is being performed, if packet loss occurs, all data in the entire business report needs to be retransmitted. This not only consumes a long transmission time, but also reduces the efficiency of the dedicated network bandwidth.

[0074] In order to solve the problems of the prior art, the embodiments of the present application provide an information processing method, apparatus, device and computer storage medium.

[0075] For the sake of ease of explanation, the following first briefly introduces the information transmission method in the information processing method of the embodiment of the present application.

[0076] In the embodiment of the present application, the two parties who need to interact with each other can exchange various business data, and both parties can establish an MQ service. The channel of the MQ service can include a message sending channel for sending messages and a message receiving channel for receiving messages.

[0077] In the scenario of large-scale data transmission, a transmission task usually involves the transmission of business data of multiple businesses. In an embodiment of the present application, the sender can segment the business data of each business that needs to be sent, and obtain multiple fragmentation information corresponding to the business. The fragmentation information may include fragmentation data and fragmentation identifiers corresponding to the fragmentation data. For each fragmentation information, it can be assembled into a message fragmentation message with the corresponding business tracking number. Among them, the business tracking number can represent the unique identity identifier of a business in the business flow service. By carrying the business tracking number in the message fragmentation message, it is convenient for the receiver to integrate the message fragmentation messages corresponding to each business. Arrange the multiple message fragmentation messages corresponding to each business in order, and obtain the message queue corresponding to each business. In this way, after obtaining multiple message queues corresponding to multiple businesses, the above-mentioned multiple message queues can be sent to the receiver through the message sending channel of MQ.

[0078] In the message sending channel, multiple message queues are sent in units of message fragment messages. Exemplarily, when the transmission task involves sending business data of business A and business B to the recipient, the message queues of business A and business B can be obtained in the above manner. For example, the message queue of business A can include message fragment messages A1, A2, A3 arranged in sequence, and the message queue of business B can include message fragment messages B1, B2, B3 arranged in sequence. In the message sending channel, the message fragment messages can be sent in the order of A1, A2, A3, B1, B2, B3.

[0079] Correspondingly, the receiver can receive the message fragment messages sent by the sender in sequence through the MQ message receiving channel.

[0080] In one embodiment, the message fragment message can be described in Extensible Markup Language (XML) format and encoded in 8-bit (Universal Character Set / Unicode Transformation Format, UTF-8), which can reduce the risk of character encoding errors and improve the efficiency of data transmission.

[0081] In one embodiment, the message fragment message may include a general part and a business part. The general part may be used to indicate basic information of the message fragment message, such as a fragment identifier and a business tracking number. The business part may be used to indicate specific business information, such as the above-mentioned fragment data.

[0082] In an example, the general part may also include one or more of serial number, external serial number, business type, message type, initiator, sending organization, receiving organization, date, Message Digest Algorithm MD5 code, return code, and message identification (Identity document, ID).

[0083] In one embodiment, the sender may encrypt the message fragment message, and correspondingly, the receiver may decrypt the message fragment message.

[0084] The embodiments of the present application do not limit the encryption and decryption methods, and appropriate encryption and decryption methods can be selected as needed. Exemplarily, the above encryption and decryption can be implemented by an asymmetric encryption algorithm. The above asymmetric encryption algorithm may include but is not limited to the RSA encryption algorithm (RSA algorithm), the ElGamal encryption algorithm, the backpack algorithm, the Rabin encryption algorithm, the public key encryption algorithm in the Diffie-Hellman (DH) key exchange protocol, and at least one of the elliptic curve encryption algorithm (Elliptic Curve Cryptography, ECC). Exemplarily, the above encryption and decryption can be implemented by a symmetric encryption algorithm. The above symmetric encryption algorithm may include but is not limited to at least one of the Data Encryption Standard (Data Encryption Standard, DES), 3DES (Triple DES), Advanced Encryption Standard (Advanced Encryption Standard, AES), and SM 4.0.

[0085] Exemplarily, an encryption security plug-in can be installed on both the sender system and the sender system, and the above encryption or decryption process can be implemented through an application programming interface (API) call. Specifically, the interface can be defined, for example, encryption and decryption type parameters, cryptographic operation algorithm parameters, key hash factors, message parameters, and return values ​​can be defined. Among them, the encryption type parameter can be used to indicate whether to perform an encryption operation or a decryption operation. The cryptographic operation algorithm parameter can be used to indicate the specific algorithm used for encryption and decryption. The message parameter can be determined by the encryption type parameter. When the encryption type parameter is used to indicate the execution of an encryption operation, the message parameter can indicate that the input is a plaintext message; when the encryption type parameter is used to indicate the execution of a decryption operation, the message parameter can indicate that the input is a ciphertext message. The return value can be determined by the encryption type parameter. When the encryption type parameter is used to indicate the execution of an encryption operation, the return value can indicate that the output is a ciphertext message; when the encryption type parameter is used to indicate the execution of a decryption operation, the return value can indicate that the output is a plaintext message.

[0086] The following will continue to introduce the information processing method of the embodiment of the present application with reference to the accompanying drawings.

[0087] Figure 1 FIG. 1 is a flow chart of an information processing method provided by an embodiment of the present application, which can be applied to a receiving party. Figure 1 As shown, the method may include the following steps S110 to S140.

[0088] S110, receiving a target message queue, the target message queue includes multiple target message fragment messages, the target message fragment message includes a target business tracking number and target fragment information, the target fragment information includes fragment data obtained by fragmenting the target business data file corresponding to the target business tracking number according to a preset fragmentation rule, and a fragment identifier corresponding to the fragment data.

[0089] In step S110, the target message queue may include a plurality of target message fragment messages arranged in a preset order. Exemplarily, the receiver may receive the target message queue through a message receiving channel of MQ. The plurality of message fragment messages of the target message queue may be output from the message receiving channel in order and received by the receiver in sequence.

[0090] In an embodiment of the present application, the preset segmentation rules can be formulated according to actual needs. As an example, corresponding segmentation rules can be formulated according to the characteristics of the data in the target business data file. As another example, corresponding segmentation rules can also be formulated according to a preset data volume threshold, which can be determined according to the maximum amount of data that MQ can transmit. The fragmentation identifier can be used to identify the position of the fragmentation data in the target business data file.

[0091] S120, storing multiple fragment identifiers corresponding to multiple target message fragment messages into a preset target received message fragment table, where the target received message fragment table is a received message fragment table corresponding to a target service tracking number.

[0092] In an embodiment of the present application, a received message fragmentation table may be set up in one-to-one correspondence with the business tracking number. For multiple message fragmentation messages with the same business tracking number, the corresponding multiple fragmentation identifiers may all be stored in the same received message fragmentation table. Exemplarily, the recipient may receive message queues corresponding to multiple business tracking numbers through the message receiving channel of MQ. When receiving message fragmentation messages corresponding to each business tracking number, the fragmentation identifier of each message fragmentation message may be stored in the corresponding received message fragmentation table according to the business tracking number carried by each message fragmentation message.

[0093] S130, performing integrity check on the target message queue based on multiple fragment identifiers in the target received message fragment table.

[0094] In step S130, the integrity detection result can indicate whether the received multiple fragmented data can constitute a complete target business data file.

[0095] In one example, each fragment identifier can be used to represent the specific location of the fragment data in the target service data file. Step S130 can specifically include: splicing multiple fragment identifiers in the target received message fragment table, and determining whether the received multiple fragment data can form a complete target service data file according to the splicing result.

[0096] In another example, each fragment identifier can be used to characterize whether the fragment data is located at the end position of the target business file. Among them, the fragment identifier used to characterize that the fragment data is located at the end position of the target business data file can be called an end identifier. Step S130 can specifically include: determining whether multiple fragment identifiers in the target received message fragment table include an end identifier. Since the target message fragment messages are received in sequence in the target message queue, generally speaking, when the fragment data corresponding to the end identifier is received, it can be considered that the received multiple fragment data can constitute a complete target business data file. In this way, the efficiency of integrity detection can be improved.

[0097] S140: When the target message queue is incomplete, first feedback information is sent to the sender, so that the sender can resend the target message queue to the receiver.

[0098] The information processing method of the embodiment of the present application is applied to the receiving party, and can receive a target message queue, which includes multiple target message fragment messages, the target message fragment message includes a target business tracking number and target fragment information, and the target fragment information includes fragment data obtained by fragmenting the target business data file corresponding to the target business tracking number according to a preset fragmentation rule, and a fragment identifier corresponding to the fragment data. In this way, large quantities of data can be transmitted in fragments, reducing the amount of data transmitted in a single time, thereby improving the rate, stability and robustness of the data transmission system. Then, multiple fragment identifiers corresponding to multiple target message fragment messages can be stored in the target receiving message fragment table corresponding to the target business tracking number. In this way, the fragment identifiers belonging to the same business tracking number can be uniformly managed. Then, the target message queue can be subjected to integrity detection based on the multiple fragment identifiers in the target receiving message fragment table. In the case that the target message queue is incomplete, a first feedback information is sent to the sender, so that the sender can resend the target message queue to the receiver. In this way, when packet loss or other phenomena cause incomplete data of a single service, only the multiple message fragments corresponding to the service need to be retransmitted, without the need to retransmit all the data. This can save transmission time and network dedicated line bandwidth.

[0099] In one embodiment, before storing multiple fragment identifiers corresponding to multiple target message fragment messages in a preset target received message fragment table, the information processing method may further include:

[0100] Find the target business tracking number in the preset received message summary table.

[0101] When the received message summary table does not contain the target business tracking number, table information corresponding to the target business tracking number is added to the received message summary table, and a target received message fragment table corresponding to the target business tracking number is created.

[0102] In the above implementation, the table information corresponding to the target service tracking number can be used to record the reception status of the target message queue and the service processing status corresponding to the target service tracking number.

[0103] According to the above implementation, when a message fragment message corresponding to a new business tracking number is received, the table information corresponding to the new business tracking number can be added to the received message summary table, so that the message queue reception status and business processing status of the new business tracking number can be tracked. In addition, according to the above implementation, in response to the addition of table information in the received message summary table, a corresponding received message fragment table can be created. In this way, the flexibility and scalability of the creation of the received message fragment table can be improved.

[0104] In one embodiment, receiving a target message queue may specifically include:

[0105] A preset message fragment message is received, where the preset message fragment message is one of a plurality of target message fragment messages.

[0106] The preset fragmentation data and the preset fragmentation identifier corresponding to the preset fragmentation data are obtained from the preset fragmentation information corresponding to the preset message fragmentation message.

[0107] The preset fragment data corresponding to the preset message fragment message is formatted to obtain a preset data file.

[0108] When the preset fragment identifier is not the end identifier, the next target message fragment message of the preset message fragment message in the target message queue is used as the new preset message fragment message, and the preset message fragment message is returned to be received until the preset fragment identifier is the end identifier or the preset receiving time is reached.

[0109] In the above implementation, the preset data file may be a data file in a target format. The data file in the target format may be a comma-separated values ​​(CSV) file.

[0110] In the above implementation, the preset receiving duration can be set according to actual needs. Exemplarily, the preset receiving duration may include a receiving duration threshold of the target message queue. Specifically, the moment when the target message fragment message carrying the target service tracking number is received for the first time can be used as the timing starting point, or the sending time carried in the target message fragment message can be used as the timing starting point, and the time interval between any moment in the process of receiving the target message queue and the timing starting point is the receiving duration corresponding to the moment. Exemplarily, the preset receiving duration may include a receiving duration threshold of a single target message fragment message. Specifically, the moment when the previous target message fragment message is received can be used as the timing starting point, and the time interval between any moment and the timing starting point in the process of receiving the current target message fragment message is the receiving duration corresponding to the moment.

[0111] According to the above implementation, multiple target message fragment messages in the target message queue can be received in sequence until all the target message fragment messages are received, or the target message fragment message reception times out. In this way, when performing large-scale data transmission, data can be received in units of message fragment messages. In this way, not only the stability and robustness of data transmission can be improved, but also the rate of data transmission can be improved, and the utilization efficiency of network dedicated line bandwidth can be optimized. In addition, according to the above implementation, when receiving the target message fragment message, the fragment data in the target message message can also be landed into a data file. In this way, it is convenient to manage the fragment data. When the business processing flow corresponding to the target business tracking number is subsequently executed, the data file can be directly called, which is conducive to improving the efficiency of business processing.

[0112] In one embodiment, after performing integrity detection on the target message queue based on multiple fragment identifiers in the target received message fragment table, the information processing method may further include:

[0113] When the target message queue is complete, multiple preset data files corresponding to multiple target message fragment messages are parsed and stored in the database.

[0114] The table information corresponding to the target business tracking number in the received message summary table is updated to the target table information, so as to be used for executing the business processing flow corresponding to the target business tracking number.

[0115] According to the above implementation, when the target message queue is complete, multiple preset data files corresponding to multiple target message fragment messages are parsed and stored. In this way, all data corresponding to the target business data file can be stored in the recipient's database, which is beneficial for the recipient to manage and call the business data. Subsequently, the table information corresponding to the target business tracking number in the received message summary table is updated to the target table information. The target table information can be used to indicate that all data corresponding to the target business data file has been successfully received, and the business processing flow corresponding to the target business tracking number can be executed based on the received data. In this way, it is beneficial to process and follow up the business corresponding to each business tracking number in a timely manner, thereby improving the efficiency of business processing.

[0116] In one example, after updating the table information corresponding to the target business tracking number in the received message summary table to the target table information for executing the business processing flow corresponding to the target business tracking number, the method may further include:

[0117] Obtain the business processing progress information corresponding to the target business tracking number and feed back the above business processing progress information to the sender.

[0118] In this way, the business processing flow corresponding to each business tracking number can be supervised and feedback can be given to the sender in a timely manner, which is conducive to information synchronization between the two interacting parties.

[0119] In one embodiment, the multiple target message fragment messages may be multiple encrypted target message fragment messages.

[0120] Acquiring preset fragmentation data and a preset fragmentation identifier corresponding to the preset fragmentation data from the preset fragmentation information corresponding to the preset message fragmentation message may specifically include:

[0121] The preset message fragment message is decrypted to obtain the preset fragment information from the decrypted preset message fragment message.

[0122] The preset slice data and the preset slice identifier corresponding to the preset slice data are obtained from the preset slice information.

[0123] The specific implementation method of decryption has been introduced above, and for the sake of brevity, it will not be repeated here.

[0124] According to the above implementation, after receiving the message fragment message, the receiver needs to decrypt it to obtain the corresponding fragment information. In this way, the security of data transmission can be improved.

[0125] To facilitate understanding, a specific example is given below to briefly introduce the information processing method performed by the receiving party.

[0126] In one example, the receiver can receive the message fragment message through the message receiving channel of MQ. The receiver can set a received message summary table to record the table information corresponding to each business tracking number. The information processing method may include the following steps:

[0127] The receiver receives the message fragment message, which is one of multiple message fragment messages in the message receiving channel of MQ.

[0128] The receiver decrypts the message fragment message.

[0129] The receiver performs message conversion on the message fragment message, converting the message fragment message into the format specified by the receiver's business system.

[0130] The receiver searches the received message summary table for the business tracking number of the message fragment message. If the received message summary table does not contain the business tracking number, a received message summary table information corresponding to the business tracking number is inserted into the received message summary table, and a received message fragment table corresponding to the business tracking number is created.

[0131] The receiving party parses the message fragment message and stores the fragment identifier of the message fragment message in the corresponding received message fragment table.

[0132] The receiver saves the fragmented data of the message into files.

[0133] The receiver determines whether the message fragment message corresponding to the above business tracking number has been received.

[0134] When the message fragment message corresponding to the above business tracking number has not been completely received, the receiver continues to receive the next message fragment message output by the message receiving channel until the message fragment message corresponding to the above business tracking number is completely received or the preset receiving time is reached.

[0135] The receiver performs integrity detection on the message fragment message queue corresponding to the received service tracking number according to the fragment identifier in the received message fragment table corresponding to the above service tracking number.

[0136] When the message fragment message queue corresponding to the business tracking number is complete, the receiver updates the received message summary table information corresponding to the business tracking number in the received message summary table to execute the business processing flow corresponding to the business tracking number.

[0137] In one example, when the message fragment message queue corresponding to the service tracking number is complete, the receiver can send second feedback information to the sender. The second feedback information can be used to notify the sender that the data has been successfully saved and does not need to be resent.

[0138] In one example, when the message fragment message corresponding to the business tracking number is incomplete, the receiver can send a first feedback message to the sender, so as to send all the message fragment messages corresponding to the business tracking number of the receiver. In one example, when the message fragment message queue corresponding to the business tracking number is incomplete, the receiver can also delete the message fragment message corresponding to the business tracking number that has been received, for example, delete the data file corresponding to the business tracking number and the fragment identifier in the received message fragment table. In this way, not only can the storage space of the receiver be saved, but also the resent message fragment message corresponding to the business tracking number can be managed.

[0139] Figure 2 FIG. 2 shows a flow chart of an information processing method provided by another embodiment of the present application, which can be applied to the sender. Figure 2 As shown, the method may include the following steps S210 to S260.

[0140] S210, obtain multiple segmentation information of the target business data file from the preset target sending message segmentation table, the target sending message segmentation table is the sending message segmentation table corresponding to the target business tracking number, the target business data file is the business data file corresponding to the target business tracking number, and the segmentation information is used to characterize the corresponding segmentation points of the segmented data in the target business data file.

[0141] S220, split the target business data file according to the multiple splitting information respectively to obtain multiple target sharding information, where the target sharding information includes sharding data and sharding identifiers corresponding to the sharding data.

[0142] S230, assembling each target fragment information and the target service tracking number into a message fragment message, to obtain a plurality of target message fragment messages.

[0143] S240, assembling a plurality of target message fragment messages into a target message queue in a preset order.

[0144] S250, sending the target message queue to the receiver.

[0145] S260: When first feedback information sent by the receiver is received, the target message queue is resent to the receiver, where the first feedback information is used to feed back to the receiver that the target message queue received is incomplete.

[0146] The information processing method of the embodiment of the present application is applied to the sender, and can obtain multiple segmentation information of the target business data file from the preset target message segmentation table, the target message segmentation table is the message segmentation table corresponding to the target business tracking number, the target business data file is the business data file corresponding to the target business tracking number, and the segmentation information is used to characterize the corresponding segmentation point of the segmented data in the target business data file. In this way, in the scenario of transmitting large quantities of data, the segmentation information of the corresponding business data file can be obtained from the message segmentation table corresponding to each business tracking number.

[0147] Then, the target business data file can be segmented according to the multiple segmentation information to obtain multiple target sharding information. The target sharding information includes sharding data and sharding identifiers corresponding to the sharding data. Then, each target sharding information and the target business tracking number can be assembled into a message sharding message to obtain multiple target message sharding messages. The multiple target message sharding messages are assembled into a target message queue in a preset order and sent to the receiver. In this way, the sharding data can be carried in the message sharding message for transmission, and the message sharding messages of different businesses can be distinguished by carrying the business tracking number, and the different sharding data corresponding to the same business can be distinguished by carrying the sharding identifier. In this way, the sharding and orderly transmission of large quantities of data can be realized, and the amount of data transmitted in a single time can be reduced, thereby improving the data transmission rate, stability and robustness of the transmission system.

[0148] The embodiment of the present application can also resend the target message queue to the receiver upon receiving the first feedback information sent by the receiver, and the first feedback information is used to feedback that the target message queue received by the receiver is incomplete. In this way, when the data of a single service is incomplete due to packet loss or other phenomena, it is only necessary to retransmit the multiple message fragment messages corresponding to the service, without retransmitting all the data. In this way, transmission time and bandwidth of the network dedicated line can be saved.

[0149] In one embodiment, before obtaining multiple segmentation information of the target business data file from the preset target message sending segmentation table, the method may further include:

[0150] Determine multiple segmentation information corresponding to the target business data file according to the preset data volume threshold.

[0151] The multiple segmentation information is stored in the preset target sending message segmentation table.

[0152] In the above implementation, the data volume threshold can be determined according to the maximum data volume that MQ can transmit. For example, it is recommended that each MQ message body does not exceed 1M, and data exceeding 1M can be split. It is easy to understand that if the business data file corresponding to the business tracking number is small, it can also be not split.

[0153] As an example, determining multiple splitting information corresponding to the target business data file according to a preset data volume threshold may specifically include: taking the file header of the target business data file as the splitting starting point; starting from the splitting starting point, obtaining the splitting point corresponding to the data volume threshold in the target business data file to obtain the splitting information of the fragmented data; judging whether the data volume of the unsegmented data in the target business data file is greater than the data volume threshold; when the data volume of the unsegmented data is greater than the data volume threshold, taking the data adjacent to the splitting point as the new splitting starting point, returning to the splitting starting point, obtaining the splitting point corresponding to the data volume threshold in the target business data file, until the data volume of the unsegmented data in the target business data file is less than or equal to the data volume threshold; taking the starting point of the unsegmented data in the target business data file and the file end position of the target business data as the fragmentation information of the last fragmented data to obtain multiple splitting information corresponding to the target business data file.

[0154] According to the above implementation, multiple segmentation information corresponding to the business data file can be determined according to the preset data volume threshold and stored in the corresponding message segmentation table. This is conducive to controlling the data volume of the message segmentation message, thereby improving the data transmission rate, stability and robustness of the transmission system.

[0155] In one embodiment, before storing the plurality of segmentation information into a preset target message segmentation table, the method may further include:

[0156] Find the target business tracking number in the preset sent message summary table.

[0157] In the case that the target business tracking number is not included in the sent message summary table, table information corresponding to the target business tracking number is added to the sent message summary table.

[0158] Create a target sending message shard table corresponding to the target business tracking number.

[0159] In the above implementation, the table information corresponding to the target service tracking number may include the sending status of the target message queue and the service processing status corresponding to the target service tracking number.

[0160] According to the above implementation, before sending the message fragment message corresponding to the new business tracking number, the table information corresponding to the new business tracking number can be added to the message summary table, so that the message queue sending status and business processing status of the new business tracking number can be tracked. In addition, according to the above implementation, in response to the addition of table information in the message summary table, a corresponding message fragment table can be created. In this way, the flexibility and scalability of creating the message fragment table can be improved.

[0161] In one embodiment, after assembling each fragment information and the target service tracking number into a message fragment message and obtaining multiple target message fragment messages, the method may further include:

[0162] Each target message fragment message is encrypted respectively to obtain a plurality of encrypted target message fragment messages.

[0163] Multiple target message fragments are grouped into a target message queue in a preset order, including:

[0164] A plurality of encrypted target message fragment messages are formed into a target message queue in a preset order.

[0165] The specific implementation method of encryption has been introduced above, and for the sake of brevity, it will not be repeated here.

[0166] According to the above implementation, before sending the message fragment message, the message fragment message is encrypted. Accordingly, the receiving party needs to decrypt it before obtaining the corresponding fragment information. In this way, the risk of the fragment information being illegally obtained by a third party can be reduced, thereby improving the security of data transmission.

[0167] In one embodiment, after sending the target message queue to the receiver, the method may further include:

[0168] If no feedback information sent by the receiver is received within a preset period of time, the target message queue is resent to the receiver.

[0169] The above feedback information may include any feedback information, for example, it may include second feedback information for feedback that the target message queue received by the receiver is complete, and may also include third feedback information for feedback that the receiver handles the service corresponding to the target service tracking number. Exemplarily, if the third feedback information received by the sender is used to feedback that the service process needs to resend the target message queue, since the target table message queue has been successfully received by the receiver, the receiver's internal system can resend it to the service system, and the sender does not need to resend the target message queue to the receiver.

[0170] If the sender does not receive the feedback information sent by the receiver within the preset period, there is a possibility that the receiver has not received the target message queue. According to the above implementation, the target message queue can be resent to the receiver in the case that the receiver may not have received the target message queue. In this way, the target message queue can be sent to the receiver in time, thereby reducing the risk of untimely service processing.

[0171] To facilitate understanding, a specific example is given below to briefly introduce the information processing method performed by the sender.

[0172] In the scenario of large-scale data transmission, a transmission task usually involves the transmission of business data of multiple businesses.

[0173] In one example, the sender may send the message fragment message through the MQ message sending channel. The sender may set a message sending summary table to record the table information corresponding to each business tracking number. The information processing method may include the following steps:

[0174] The sender calls the message sending component to obtain the business data corresponding to each business of the transmission task. If the business tracking number corresponding to the business is new, a message summary table is inserted.

[0175] The sender converts the business data of multiple businesses corresponding to the transmission task into business data files in sequence.

[0176] The sender determines the multiple splitting information corresponding to each business data file according to the preset data volume threshold.

[0177] The sender stores the multiple segmentation information corresponding to each business data file in the sending message segmentation table corresponding to the respective business tracking number.

[0178] When executing a transmission task, the sender obtains the sending message fragmentation table corresponding to each business data file according to the sending message summary table, extracts the fragmentation data from the corresponding business data file according to the segmentation information in the sending message fragmentation table, and assembles, encrypts, and sends the message.

[0179] After sending the message fragment message, the sender waits for feedback from the receiver. If the first feedback information is received, the complete message is resent.

[0180] Based on the information processing method provided in the above embodiment, the present application also provides a specific implementation of an information processing device. The device can be applied to a receiving party. Please refer to the following embodiments.

[0181] See first Figure 3The information processing device 300 provided in the embodiment of the present application includes a receiving module 301, a storage module 302, a detection module 303 and a sending module 304.

[0182] The receiving module 301 is used to receive a target message queue, which includes multiple target message fragment messages. The target message fragment message includes a target business tracking number and target fragment information. The target fragment information includes fragment data obtained by fragmenting the target business data file corresponding to the target business tracking number according to a preset fragmentation rule, and a fragment identifier corresponding to the fragment data.

[0183] The storage module 302 is used to store multiple fragment identifiers corresponding to multiple target message fragment messages into a preset target received message fragment table, where the target received message fragment table is a received message fragment table corresponding to a target service tracking number.

[0184] The detection module 303 is used to perform integrity detection on the target message queue based on multiple fragment identifiers in the target received message fragment table.

[0185] The sending module 304 is used to send first feedback information to the sender when the target message queue is incomplete, so that the sender can resend the target message queue to the receiver.

[0186] The information processing device of the embodiment of the present application is applied to the receiving party and can receive the target message queue, which includes multiple target message fragment messages, the target message fragment message includes the target business tracking number and the target fragment information, and the target fragment information includes the fragment data obtained by fragmenting the target business data file corresponding to the target business tracking number according to the preset fragmentation rule, and the fragment identification corresponding to the fragment data. In this way, it is possible to transmit large quantities of data in fragments, reduce the amount of data transmitted in a single time, thereby improving the rate, stability and robustness of the data transmission system. Then, the multiple fragment identifications corresponding to the multiple target message fragment messages can be stored in the target receiving message fragment table corresponding to the target business tracking number. In this way, the fragment identifications belonging to the same business tracking number can be uniformly managed. Then, the target message queue can be subjected to integrity detection based on the multiple fragment identifications in the target receiving message fragment table. In the case that the target message queue is incomplete, the first feedback information is sent to the sender, so that the sender can resend the target message queue to the receiver. In this way, when packet loss or other phenomena cause incomplete data of a single service, only the multiple message fragments corresponding to the service need to be retransmitted, without the need to retransmit all the data. This can save transmission time and network dedicated line bandwidth.

[0187] In one embodiment, the information processing device may further include:

[0188] The search module is used to search for the target business tracking number in the preset received message summary table before storing the multiple fragment identifiers corresponding to the multiple target message fragment messages in the preset target received message fragment table.

[0189] The adding module is used to add table information corresponding to the target business tracking number in the received message summary table when the received message summary table does not contain the target business tracking number.

[0190] A creation module is used to create a target receiving message fragmentation table corresponding to the target business tracking number.

[0191] In one embodiment, the receiving module is used to receive the target message queue, which may specifically include:

[0192] The receiving unit is used to receive a preset message fragment message, where the preset message fragment message is one of multiple target message fragment messages.

[0193] The obtaining unit is used to obtain the preset fragmentation data and the preset fragmentation identifier corresponding to the preset fragmentation data from the preset fragmentation information corresponding to the preset message fragmentation message.

[0194] The conversion unit is used to convert the format of the preset fragment data corresponding to the preset message fragment message to obtain a preset data file.

[0195] The return unit is used to, when the preset fragment identifier is not an end identifier, use the next target message fragment message of the preset message fragment message in the target message queue as a new preset message fragment message, and return to receive the preset message fragment message until the preset fragment identifier becomes an end identifier or the preset receiving time is reached.

[0196] In one embodiment, the information processing device may further include:

[0197] The parsing module is used to parse and store multiple preset data files corresponding to multiple target message fragment messages after performing integrity detection on the target message queue based on multiple fragment identifiers in the target received message fragment table, if the target message queue is complete.

[0198] The updating module is used to update the table information corresponding to the target business tracking number in the received message summary table to the target table information, so as to execute the business processing flow corresponding to the target business tracking number.

[0199] In one embodiment, the multiple message fragment messages may be multiple encrypted message fragment messages.

[0200] The acquisition unit can be used specifically for:

[0201] The preset message fragment message is decrypted to obtain the preset fragment information from the decrypted preset message fragment message.

[0202] The preset slice data and the preset slice identifier corresponding to the preset slice data are obtained from the preset slice information.

[0203] Each module of the information processing device provided in the embodiment of the present application can realize Figure 1 The functions of each step of the information processing method are provided, and the corresponding technical effects can be achieved. For the sake of concise description, they will not be repeated here.

[0204] Based on the information processing method provided in the above embodiment, the present application also provides a specific implementation of an information processing device. The device can be applied to the sender. Please refer to the following embodiment.

[0205] See first Figure 4 The information processing device 400 provided in the embodiment of the present application includes an acquisition module 401, a segmentation module 402, an assembly module 403 and a sending module 404.

[0206] Acquisition module 401 is used to obtain multiple segmentation information of the target business data file from a preset target sending message segmentation table. The target sending message segmentation table is the sending message segmentation table corresponding to the target business tracking number, and the target business data file is the business data file corresponding to the target business tracking number. The segmentation information is used to characterize the corresponding segmentation points of the segmented data in the target business data file.

[0207] The segmentation module 402 is used to segment the target business data file according to the multiple segmentation information to obtain multiple target sharding information, where the target sharding information includes sharding data and sharding identifiers corresponding to the sharding data.

[0208] The assembling module 403 is used to assemble each target fragment information and the target service tracking number into a message fragment message to obtain multiple target message fragment messages.

[0209] The assembling module 403 is further used to assemble multiple target message fragment messages into a target message queue according to a preset order.

[0210] The sending module 404 is used to send the target message queue to the receiver.

[0211] The sending module 404 is further used to resend the target message queue to the receiver when receiving first feedback information sent by the receiver, where the first feedback information is used to feed back to the receiver that the target message queue received is incomplete.

[0212] The information processing method of the embodiment of the present application is applied to the sender, and can obtain multiple segmentation information of the target business data file from the preset target message segmentation table, the target message segmentation table is the message segmentation table corresponding to the target business tracking number, the target business data file is the business data file corresponding to the target business tracking number, and the segmentation information is used to characterize the corresponding segmentation point of the segmented data in the target business data file. In this way, in the scenario of transmitting large quantities of data, the segmentation information of the corresponding business data file can be obtained from the message segmentation table corresponding to each business tracking number.

[0213] Then, the target business data file can be segmented according to the multiple segmentation information to obtain multiple target sharding information. The target sharding information includes sharding data and sharding identifiers corresponding to the sharding data. Then, each target sharding information and the target business tracking number can be assembled into a message sharding message to obtain multiple target message sharding messages. The multiple target message sharding messages are assembled into a target message queue in a preset order and sent to the receiver. In this way, the sharding data can be carried in the message sharding message for transmission, and the message sharding messages of different businesses can be distinguished by carrying the business tracking number, and the different sharding data corresponding to the same business can be distinguished by carrying the sharding identifier. In this way, the sharding and orderly transmission of large quantities of data can be realized, and the amount of data transmitted in a single time can be reduced, thereby improving the data transmission rate, stability and robustness of the transmission system.

[0214] The embodiment of the present application can also resend the target message queue to the receiver upon receiving the first feedback information sent by the receiver, and the first feedback information is used to feedback that the target message queue received by the receiver is incomplete. In this way, when the data of a single service is incomplete due to packet loss or other phenomena, it is only necessary to retransmit the multiple message fragment messages corresponding to the service, without retransmitting all the data. In this way, transmission time and bandwidth of the network dedicated line can be saved.

[0215] In one embodiment, the information processing device may further include:

[0216] The determination module is used to determine multiple pieces of segmentation information corresponding to the target business data file according to a preset data volume threshold before obtaining multiple pieces of segmentation information of the target business data file from a preset target message sending segmentation table.

[0217] The storage module is used to store multiple segmentation information into a preset target message sending segmentation table.

[0218] In one embodiment, the information processing device may further include:

[0219] The search module is used to search for the target business tracking number in the preset sending message summary table before storing the multiple segmentation information in the preset target sending message fragmentation table.

[0220] The adding module is used to add table information corresponding to the target business tracking number in the sending message summary table when the sending message summary table does not contain the target business tracking number.

[0221] A creation module is used to create a target sending message fragmentation table corresponding to the target business tracking number.

[0222] In one embodiment, the information processing device may further include:

[0223] The encryption module is used to encrypt each target message fragment message after assembling each target message fragment information and the target service tracking number into a message fragment message to obtain multiple target message fragment messages, and then obtain multiple encrypted target message fragment messages.

[0224] The assembly module can be used specifically for:

[0225] A plurality of encrypted target message fragment messages are formed into a target message queue in a preset order.

[0226] In one embodiment, the sending module may also be used to: after sending the target message queue to the receiver, if no feedback information sent by the receiver is received within a preset period of time, resend the target message queue to the receiver.

[0227] Each module of the information processing device provided in the embodiment of the present application can realize Figure 2 The functions of each step of the information processing method are provided, and the corresponding technical effects can be achieved. For the sake of concise description, they will not be repeated here.

[0228] Figure 5 A schematic diagram of the hardware structure of an information processing device provided in an embodiment of the present application is shown.

[0229] The information processing device may include a processor 501 and a memory 502 storing computer program instructions.

[0230] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0231] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0232] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0233] The processor 501 implements any one of the information processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .

[0234] In one example, the information processing device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0235] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0236] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0237] The information processing device can execute the information processing method in the embodiment of the present application, thereby realizing the combination Figures 1 to 4 The information processing method and device described herein. The information processing method in the above embodiments can be implemented by providing a computer storage medium in the present application embodiment. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the information processing methods in the above embodiments is implemented.

[0238] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the information processing methods in the above embodiments when the computer program is processed and executed.

[0239] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0240] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0241] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0242] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0243] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. An information processing method, characterized in that: Applied to a receiving party, the method comprises: Receive a target message queue, the target message queue including a plurality of target message fragment messages, the target message fragment message including a target service tracking number and target fragment information, the target fragment information including fragment data obtained by fragmenting a target service data file corresponding to the target service tracking number according to a preset fragmentation rule, and a fragment identifier corresponding to the fragment data; The plurality of fragment identifiers corresponding to the plurality of target message fragment messages are stored in a preset target received message fragment table, wherein the target received message fragment table is a received message fragment table corresponding to the target service tracking number; Based on multiple fragment identifiers in the target received message fragment table, performing integrity detection on the target message queue; In the case that the target message queue is incomplete, first feedback information is sent to the sender, so that the sender can resend the target message queue to the receiver.

2. The information processing method according to claim 1, characterized in that: Before storing the plurality of fragment identifiers corresponding to the plurality of target message fragment messages into a preset target received message fragment table, the method further includes: Searching for the target service tracking number in a preset received message summary table; If the target service tracking number is not included in the received message summary table, adding table information corresponding to the target service tracking number to the received message summary table; Create a target received message fragment table corresponding to the target business tracking number.

3. The information processing method according to claim 2, characterized in that: The receiving target message queue includes: Receiving a preset message fragment message, wherein the preset message fragment message is one of the multiple target message fragment messages; Acquire preset fragmentation data and a preset fragmentation identifier corresponding to the preset fragmentation data from the preset fragmentation information corresponding to the preset message fragmentation message; Performing format conversion on the preset fragment data corresponding to the preset message fragment message to obtain a preset data file; When the preset fragment identifier is not an end identifier, the next target message fragment message of the preset message fragment message in the target message queue is used as a new preset message fragment message, and the received preset message fragment message is returned until the preset fragment identifier is an end identifier or the preset receiving time is reached.

4. The information processing method according to claim 3, characterized in that: After performing integrity detection on the target message queue based on the multiple fragment identifiers in the target received message fragment table, the method further includes: When the target message queue is complete, multiple preset data files corresponding to the multiple target message fragment messages are parsed and stored; The table information corresponding to the target business tracking number in the received message summary table is updated to the target table information, so as to be used for executing the business processing flow corresponding to the target business tracking number.

5. The information processing method according to claim 3 or 4, characterized in that: The multiple target message fragment messages are multiple encrypted target message fragment messages; The obtaining preset fragmentation data and a preset fragmentation identifier corresponding to the preset fragmentation data from the preset fragmentation information corresponding to the preset message fragmentation message includes: Decrypting the preset message fragment message to obtain the preset fragment information from the decrypted preset message fragment message; The preset slice data and the preset slice identifier corresponding to the preset slice data are obtained from the preset slice information.

6. An information processing method, characterized in that: Applied to the sender, the method comprises: Acquire multiple split information of the target business data file from a preset target send message split table, wherein the target send message split table is a send message split table corresponding to a target business tracking number, the target business data file is a business data file corresponding to the target business tracking number, and the split information is used to characterize the corresponding split points of the split data in the target business data file; The target business data file is segmented according to the multiple segmentation information respectively to obtain multiple target segmentation information, wherein the target segmentation information includes segmentation data and segmentation identifiers corresponding to the segmentation data; Assembling each of the target fragment information and the target service tracking number into a message fragment message to obtain a plurality of target message fragment messages; Assembling the multiple target message fragment messages into a target message queue in a preset order; Sending the target message queue to a receiver; In the case of receiving the first feedback information sent by the receiver, the target message queue is resent to the receiver, where the first feedback information is used to feed back to the receiver that the target message queue received is incomplete.

7. The information processing method according to claim 6, characterized in that: Before obtaining multiple segmentation information of the target business data file from the preset target message sending segmentation table, the method further includes: Determine multiple split information corresponding to the target business data file according to a preset data volume threshold; The multiple segmentation information is stored in a preset target message sending segmentation table.

8. The information processing method according to claim 7, characterized in that: Before storing the plurality of segmentation information into a preset target message sending segment table, the method further includes: Searching for the target service tracking number in a preset message sending summary table; In the case where the target service tracking number is not included in the sent message summary table, adding table information corresponding to the target service tracking number in the sent message summary table; Create a target sending message fragmentation table corresponding to the target business tracking number.

9. The information processing method according to claim 6, characterized in that: After assembling each of the target fragment information and the target service tracking number into a message fragment message to obtain a plurality of target message fragment messages, the method further includes: Encrypting each of the target message fragments respectively to obtain a plurality of encrypted target message fragments; The step of forming the target message queue from the plurality of target message fragment messages in a preset order comprises: The multiple encrypted target message fragment messages are formed into the target message queue in a preset order.

10. The information processing method according to any one of claims 6 to 9, characterized in that: After sending the target message queue to the receiver, the method further includes: When no feedback information sent by the receiver is received within a preset period of time, the target message queue is resent to the receiver.

11. An information processing device, characterized in that: Applied to a receiving party, the device comprises: A receiving module, configured to receive a target message queue, wherein the target message queue includes a plurality of target message fragment messages, wherein the message fragment messages include a target service tracking number and target fragment information, wherein the target fragment information includes fragment data obtained by fragmenting a target service data file corresponding to the target service tracking number according to a preset fragmentation rule, and a fragment identifier corresponding to the fragment data; A storage module, used for storing a plurality of fragment identifiers corresponding to the plurality of target message fragment messages into a preset target received message fragment table, wherein the target received message fragment table is a received message fragment table corresponding to the target service tracking number; A detection module, configured to perform integrity detection on the target message queue based on a plurality of fragment identifiers in the target received message fragment table; The sending module is used to send first feedback information to the sender when the target message queue is incomplete, so that the sender can resend the target message queue to the receiver.

12. An information processing device, characterized in that: Applied to a sender, the device comprises: An acquisition module is used to acquire multiple segmentation information of a target business data file from a preset target message sending segmentation table, wherein the target message sending segmentation table is a message sending segmentation table corresponding to a target business tracking number, the target business data file is a business data file corresponding to the target business tracking number, and the segmentation information is used to characterize the segmentation points corresponding to the segmentation data in the target business data file; A segmentation module, used to segment the target business data file according to the multiple segmentation information respectively to obtain multiple target sharding information, wherein the target sharding information includes sharding data and sharding identifiers corresponding to the sharding data; An assembling module, used to assemble each of the target fragment information and the target service tracking number into a message fragment message, so as to obtain a plurality of target message fragment messages; The assembling module is further used to assemble the multiple target message fragment messages into a target message queue in a preset order; A sending module, used for sending the target message queue to a receiver; The sending module is further used to resend the target message queue to the receiving party when receiving first feedback information sent by the receiving party, wherein the first feedback information is used to feed back that the target message queue received by the receiving party is incomplete.

13. An information processing device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the information processing method according to any one of claims 1 to 10 is implemented.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the information processing method according to any one of claims 1 to 10 is implemented.

15. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the information processing method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Data message fragmentation method and device and data message recombination method and device

    CN107342955A

  • Communication method and device

    CN116015574A

  • Message processing method and device based on synchronous code block, equipment and storage medium

    CN116633872A

  • File transmission method and device, computer equipment and storage medium

    CN118337773A

  • Slicing method, service processing method, communication node and storage medium

    WO2024001220A1