Method, system, equipment and medium for ensuring sequence of sending multiple messages
By generating string identification for each picture and adding batch information, the problem of inconsistent multimedia messages in the instant messaging app is solved, and the accurate order recognition and display of the receiver is achieved.
Patent Information
- Application Number
- CN202510025128.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-05-16
AI Technical Summary
When existing instant messaging apps send multiple multimedia messages, due to factors such as file size and network delay, the order of messages seen by the receiver is inconsistent with the sender, resulting in an increase in communication costs.
By generating string identification for each image and adding batch information to the message carrier, ensure that the receiver can correctly identify and sort the message order.
It realizes that the receiver can accurately determine the display order of the picture batches, solves the problem of inconsistent order of messages viewed by both parties to the communication, and does not affect the original message sending and receiving functions.
Smart Images

Figure CN120017627A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method, system, device and medium for ensuring the order of sending multiple messages. Background Art
[0002] With the increasing popularity of the Internet, chat and communication software has become an indispensable function in life and work scenarios. In daily use, multiple multimedia (pictures, files, videos) messages are usually sent at one time to communicate. However, in mainstream instant messaging apps, there is a common problem that the order of messages seen by the sender and the receiver is not exactly the same, which will lead to some unnecessary communication costs.
[0003] At present, the timing of existing technical solutions can refer to Figure 2 The sender selects 3 pictures with a chronological order and sends them to the server at the same time. The server forwards one picture to the receiver after receiving it. Finally, the receiver receives 3 pictures that may be out of order.
[0004] According to the above existing technical solutions, when mainstream instant messaging apps send multiple multimedia messages, they send these messages independently. During the transmission process, due to objective factors such as file size and network delay, it is inevitable that the last-sent-first-served situation will occur, resulting in the message order being inconsistent between the sender and the receiver. The sender selects 3 pictures in the order of 123, hoping that the receiver will perform corresponding business processing according to this order, but the order of the messages received by the receiver may be 231, and the business cannot be processed correctly.
[0005] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention
[0006] In view of this, the present invention provides a method, system, device and medium for ensuring the order of sending multiple messages to solve the above-mentioned problems.
[0007] In order to solve the above problems, the specific technical solutions adopted by the present invention are as follows:
[0008] According to one aspect of the present invention, a method for ensuring the order of sending multiple messages is provided, the method comprising the following steps:
[0009] S1. Obtain the pictures to be sent and the picture batches corresponding to each picture, and generate a string identifier for each picture in a random manner;
[0010] S2. Generate a message identifier for each image in each image batch, and create a detection data object for each image by obtaining basic information of each image to obtain a detection data object set;
[0011] S3, according to the detection data object set and the string identifier generated for each picture, the picture message carrier data object is established by parameter injection;
[0012] S4. According to the picture message carrier data object, the sender creates a new sending thread and uses the server to send the picture message carrier data object to the receiver;
[0013] S5. The receiver receives the picture message carrier data object, identifies and sequence-checks the picture message carrier data object, and displays the picture information in the user interface.
[0014] In one embodiment, the basic information of the picture includes the width and height of the picture.
[0015] In one embodiment, the step of detecting a data object set and generating a string identifier for each image and establishing a picture message carrier data object by parameter injection includes the following steps:
[0016] S31, create a blank picture message carrier data object, obtain the local path of the picture, and inject the message identifier of each picture, the basic information of each picture and the local path of the picture into the blank picture message carrier data object;
[0017] S32, creating a blank batch sending package information data object, obtaining the total number of pictures in each picture batch and the sequential position of each picture in the picture batch, and injecting the string identifier generated for each picture, the total number of pictures in each picture batch and the sequential position of each picture in the picture batch into the blank batch sending package information data object;
[0018] S33, injecting the injected batch package information data object into the picture message carrier data object to obtain the final picture message carrier data object.
[0019] In one embodiment, according to the picture type message carrier data object, the sender creates a new sending thread and uses the server to send the picture type message carrier data object to the receiver, including the following steps:
[0020] S41, establishing a sending thread for sending picture messages according to the number of picture message carrier data objects;
[0021] S42, using the established sending thread, sending the picture message carrier data object to the server;
[0022] S43. The server forwards the received picture message carrier data object to the recipient.
[0023] In one embodiment, the receiving party receives the picture message carrier data object, identifies and sequence-checks the picture message carrier data object, and displays the picture information in the user interface, including the following steps:
[0024] S51, the receiver checks whether there is a string identifier in the message according to the received picture message carrier data object. If there is no batch unique identifier, the current picture information is displayed immediately. If there is, the total number of pictures is obtained, placeholder information is generated according to the total number of pictures, and the placeholder information is displayed in the user interface.
[0025] S52, the receiver obtains the sequence information of the current image in the image batch from the received message, updates the sequence specific items in the corresponding placeholder information according to the sequence information, and displays the image information normally in the user interface;
[0026] S53. The receiver continues to receive other messages. If the message does not contain the string identifier of the picture batch, the information is displayed after the placeholder information. If the message contains the string identifier of the picture batch, and the string identifier of the picture batch is the same as the picture batch of the placeholder information, the sequence information of the current picture message in the picture batch is obtained, the picture is updated to the corresponding position of the corresponding picture batch, and displayed through the user interface.
[0027] According to another aspect of the present invention, a system for ensuring the order of sending multiple messages is provided, the system comprising: a string identifier generation module, a detection data object creation module, a picture message carrier creation module, a picture message carrier sending module and a picture information display module;
[0028] The string identifier generation module is used to obtain the pictures to be sent and the picture batches corresponding to each picture, and generate a string identifier for each picture in a random manner;
[0029] The detection data object creation module is used to generate a message identifier for each picture in each picture batch, and to create a detection data object for each picture by acquiring basic information of each picture, thereby obtaining a detection data object set;
[0030] The picture message carrier creation module is used to create a picture message carrier data object by parameter injection according to the detection data object set and generating a string identifier for each picture;
[0031] The picture message carrier sending module is used for creating a new sending thread according to the picture message carrier data object, and sending the picture message carrier data object to the receiver by using the server;
[0032] The picture information display module is used for the receiver to receive the picture message carrier data object, and to display the picture information in the user interface by identifying and sequentially checking the picture message carrier data object.
[0033] In one embodiment, when the picture message carrier creation module detects a data object set and generates a string identifier for each picture and establishes a picture message carrier data object by parameter injection, it can create a blank picture message carrier data object, obtain the local path of the picture, and inject the message identifier of each picture, the basic information of each picture and the local path of the picture into the blank picture message carrier data object; create a blank batch sending package information data object, obtain the total number of pictures in each picture batch and the sequential position of each picture in the picture batch, and inject the string identifier generated for each picture, the total number of pictures in each picture batch and the sequential position of each picture in the picture batch into the blank batch sending package information data object; inject the injected batch sending package information data object into the picture message carrier data object to obtain the final picture message carrier data object.
[0034] In one embodiment, when the receiving party receives the picture message carrier data object, identifies and checks the order of the picture message carrier data object, and displays the picture information in the user interface, the receiving party can check whether there is a string identifier in the message based on the received picture message carrier data object. If there is no batch unique identifier, the current picture information is displayed immediately. If it exists, the total number of pictures is continuously obtained, placeholder information is generated based on the total number of pictures, and the placeholder information is displayed in the user interface; the receiving party obtains the sequence information of the current picture in the picture batch from the received message, updates the sequence specific items in the corresponding placeholder information based on the sequence information, and displays the picture information normally in the user interface; the receiving party continues to receive other messages, and if the message does not contain the string identifier of the picture batch, the information is displayed after the placeholder information; if the message contains the string identifier of the picture batch, and the string identifier of the picture batch is the same as the picture batch of the placeholder information, the sequence information of the current picture message in the picture batch is obtained, the picture is updated to the corresponding position of the corresponding picture batch, and displayed through the user interface.
[0035] According to a third aspect of an embodiment of the present invention, a computer device is provided.
[0036] In one embodiment, the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0037] According to a fourth aspect of embodiments of the present invention, a computer-readable storage medium is provided.
[0038] In one embodiment, the computer-readable storage medium stores a computer program, and the computer program implements the steps of the above method when executed by a processor.
[0039] The beneficial effects of the present invention are:
[0040] 1. The present invention enables the receiver to determine the display order of all pictures in the batch when receiving any picture message containing batch information, thereby solving the problem of inconsistent message order viewed by both communicating parties under the influence of certain objective factors.
[0041] 2. The present invention is implemented by adding additional information to the message body. The sender and the receiver perform local analysis without the server's awareness. There is no intrusion or impact on the environment that has been put into use. Even if no processing is done, the original message sending and receiving functions are not affected.
[0042] 3. The present invention does not need to interfere with the processing flow of the sender (for example, determining that the previous message is sent successfully according to the selection order before sending the next message), and does not affect the use efficiency of the sender. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0044] Figure 1 is a flow chart of a method for ensuring the order of sending multiple messages according to an embodiment of the present invention;
[0045] Figure 2 It is a timing diagram of a prior art solution in a method for ensuring the order of sending multiple messages according to an embodiment of the present invention;
[0046] Figure 3 It is a key data structure diagram in a method for ensuring the order of sending multiple messages according to an embodiment of the present invention;
[0047] Figure 4 It is a timing diagram of a technical solution in a method for ensuring the order of sending multiple messages according to an embodiment of the present invention;
[0048] Figure 5 is a principle block diagram of a system for ensuring the order of sending multiple messages according to an embodiment of the present invention;
[0049] Figure 6 FIG. 4 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention.
[0050] In the figure:
[0051] 1. String identifier generation module; 2. Detection data object creation module; 3. Picture message carrier creation module; 4. Picture message carrier sending module; 5. Picture information display module. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0053] According to an embodiment of the present invention, a method, system, device and medium for ensuring the order of sending multiple messages are provided.
[0054] The present invention will now be further described with reference to the accompanying drawings and specific embodiments. Figure 1 As shown, according to one embodiment of the present invention, a method for ensuring the order of sending multiple messages is provided, and the method comprises the following steps:
[0055] S1. Obtain the pictures to be sent and the picture batches corresponding to each picture, and generate a string identifier for each picture in a random manner;
[0056] As a preferred implementation manner, the basic information of the picture includes the width and height of the picture.
[0057] S2. Generate a message identifier for each image in each image batch, and create a detection data object for each image by obtaining basic information of each image to obtain a detection data object set;
[0058] S3, according to the detection data object set and the string identifier generated for each picture, the picture message carrier data object is established by parameter injection;
[0059] S4. According to the picture message carrier data object, the sender creates a new sending thread and uses the server to send the picture message carrier data object to the receiver;
[0060] S5. The receiver receives the picture message carrier data object, identifies and sequence-checks the picture message carrier data object, and displays the picture information in the user interface.
[0061] As a preferred implementation, the method of detecting a data object set and generating a string identifier for each image and establishing a picture message carrier data object by parameter injection includes the following steps:
[0062] S31, create a blank picture message carrier data object, obtain the local path of the picture, and inject the message identifier of each picture, the basic information of each picture and the local path of the picture into the blank picture message carrier data object;
[0063] S32, creating a blank batch sending package information data object, obtaining the total number of pictures in each picture batch and the sequential position of each picture in the picture batch, and injecting the string identifier generated for each picture, the total number of pictures in each picture batch and the sequential position of each picture in the picture batch into the blank batch sending package information data object;
[0064] S33, injecting the injected batch package information data object into the picture message carrier data object to obtain the final picture message carrier data object.
[0065] As a preferred implementation, according to the picture message carrier data object, the sender creates a new sending thread and uses the server to send the picture message carrier data object to the receiver, including the following steps:
[0066] S41, establishing a sending thread for sending picture messages according to the number of picture message carrier data objects;
[0067] S42, using the established sending thread, sending the picture message carrier data object to the server;
[0068] S43. The server forwards the received picture message carrier data object to the recipient.
[0069] As a preferred implementation, the receiving party receives the picture message carrier data object, identifies and sequence-checks the picture message carrier data object, and displays the picture information in the user interface, including the following steps:
[0070] S51, the receiver checks whether there is a string identifier in the message according to the received picture message carrier data object. If there is no batch unique identifier, the current picture information is displayed immediately. If there is, the total number of pictures is obtained, placeholder information is generated according to the total number of pictures, and the placeholder information is displayed in the user interface.
[0071] S52, the receiver obtains the sequence information of the current image in the image batch from the received message, updates the sequence specific items in the corresponding placeholder information according to the sequence information, and displays the image information normally in the user interface;
[0072] S53. The receiver continues to receive other messages. If the message does not contain the string identifier of the picture batch, the information is displayed after the placeholder information. If the message contains the string identifier of the picture batch, and the string identifier of the picture batch is the same as the picture batch of the placeholder information, the sequence information of the current picture message in the picture batch is obtained, the picture is updated to the corresponding position of the corresponding picture batch, and displayed through the user interface.
[0073] In order to better understand the above technical solutions of the present invention, the above technical solutions of the present invention are further described below through specific implementation methods.
[0074] The present invention provides a method for ensuring that the display order of a series of messages viewed by two communicating parties is consistent, so that the two communicating parties can have a consistent and correct understanding according to the message order.
[0075] The present invention is implemented by adding additional information to the message body. The key data structure diagram is as follows: Figure 3 . ImageMessageContent is a picture message carrier, and packInfo is an additional information carrier added by the present invention. String messageId: string message ID, String url is string URL, int width is integer width, intheight is integer height, String packId is string pack ID, int totalNum is integer total number, intcurrentIndex is integer current index, List <mediainfo>itemInfo is a list of <media information> item information.
[0076] The contents contained in packInfo are explained as follows: packId is the unique identifier of a batch when multiple images are sent in the same batch; totalNum is the total number of images contained in the batch; currentIndex is the sequential position of a certain image in the batch; itemInfo is the unique identifier and width and height information set of all images in the batch.
[0077] The contents contained in itemInfo are explained as follows: messageId is the unique identifier of the message corresponding to each image; width is the width information of the image; height is the height information of the image.
[0078] The timing diagram of the technical solution of the present invention can be referred to Figure 4 As shown in the figure, after the sender selects 3 pictures in sequence, the steps to add additional information to the picture message are as follows:
[0079] Step 1: Randomly generate a unique string identifier packId (for example, bspk_01), which can be used to determine which batch a certain image belongs to.
[0080] Step 2: Generate a unique identifier messageId for the batch of 3 pictures, and obtain the picture width width and height height, create a MediaInfo (detection, video parameter detection tool, used to analyze the encoding and content information of video and audio files) data object for each picture, and inject the above data into it, and finally combine it into a MediaInfo data set.
[0081] Step 3: Process three pictures at the same time. Taking Picture 2 as an example, the processing steps are as follows.
[0082] 3-1: Create an ImageMessageContent data object, inject the messageId generated in step 2 and the obtained width and height into it. Get the local path url of the image and inject it into it.
[0083] 3-2: Create a BatchSendPackInfo (picture message carrier) data object, inject the packId in step 1 into it; inject totalNum (there are 3 pictures in total, so here it is 3) into it; inject currentIndex (picture 2 is the second of the 3 pictures, so here it is 2) into it; inject the MediaInfo data set obtained in step 2 into it.
[0084] 3-3: Inject the BatchSendPackInfo generated in step 3-2 into the ImageMessageContent generated in step 3-1.
[0085] Step 4: After steps 1, 2, and 3, three ImageMessageContent data objects will be obtained. The sender creates a new sending thread for each message and starts executing it at the same time. Its function is to send these three data objects to the server at the same time. After receiving them, the server will forward them to the receiver.
[0086] Step 5: After the receiver receives one of the messages, assuming that picture 2 is received first, it will first check whether there is a batch unique identifier packId in the message. If there is no such identifier, the current message will be displayed immediately without additional processing. If there is a batch identifier, continue to obtain the total number of pictures information totalNum (here is 3), generate 3 placeholders locally, and display them immediately in the user interface. At this time, the placeholder information in the user interface is all in the loading state. Then the receiver obtains the order information currentIndex (here is 2) of the current picture in the batch of 3 pictures from the received message, and updates the second of the 3 placeholders based on this information. At this time, the user interface will be able to see that the second picture information is displayed normally.
[0087] After that, the receiver will gradually receive other messages. If the message does not contain the batch unique identifier, the information will be displayed after the three placeholder messages. If the batch unique identifier is included and is consistent with the batch, the order information of the current picture message in the batch is obtained, and the picture is updated to the corresponding position of the corresponding batch.
[0088] The end user will see three picture messages in the exact order selected by the sender.
[0089] like Figure 5 As shown, according to another embodiment of the present invention, a system for ensuring the order of sending multiple messages is provided, the system comprising: a string identifier generating module 1, a detection data object creating module 2, a picture message carrier creating module 3, a picture message carrier sending module 4 and a picture information display module 5;
[0090] The string identifier generating module 1 is used to obtain the pictures to be sent and the picture batches corresponding to each picture, and generate a string identifier for each picture in a random manner;
[0091] The detection data object creation module 2 is used to generate a message identifier for each picture in each picture batch, and to create a detection data object for each picture by acquiring basic information of each picture, thereby obtaining a detection data object set;
[0092] The picture message carrier creation module 3 is used to create a picture message carrier data object by parameter injection according to the detection data object set and generating a string identifier for each picture;
[0093] The picture message carrier sending module 4 is used for sending the picture message carrier data object to the receiver by creating a new sending thread according to the picture message carrier data object and using the server;
[0094] The picture information display module 5 is used for the receiver to receive the picture message carrier data object, and to display the picture information in the user interface by marking and sequence checking the picture message carrier data object.
[0095] As a preferred implementation, the picture message carrier creation module 3 can create a blank picture message carrier data object, obtain the local path of the picture, and inject the message identifier of each picture, the basic information of each picture and the local path of the picture into the blank picture message carrier data object when establishing the picture message carrier data object by parameter injection according to the detection data object set and the generated string identifier for each picture. Create a blank batch sending package information data object, obtain the total number of pictures in each picture batch and the sequential position of each picture in the picture batch, and inject the string identifier generated for each picture, the total number of pictures in each picture batch and the sequential position of each picture in the picture batch into the blank batch sending package information data object; inject the injected batch sending package information data object into the picture message carrier data object to obtain the final picture message carrier data object.
[0096] As a preferred embodiment, when the receiving party receives the picture message carrier data object, identifies and checks the order of the picture message carrier data object, and displays the picture information in the user interface, the receiving party can check whether there is a string identifier in the message based on the received picture message carrier data object. If there is no batch unique identifier, the current picture information is displayed immediately. If it exists, the total number of pictures is continuously obtained, placeholder information is generated based on the total number of pictures, and the placeholder information is displayed in the user interface; the receiving party obtains the sequence information of the current picture in the picture batch from the received message, updates the sequence specific items in the corresponding placeholder information based on the sequence information, and displays the picture information normally in the user interface; the receiving party continues to receive other messages, and if the message does not contain the string identifier of the picture batch, the information is displayed after the placeholder information; if the message contains the string identifier of the picture batch, and the string identifier of the picture batch is the same as the picture batch of the placeholder information, the sequence information of the current picture message in the picture batch is obtained, the picture is updated to the corresponding position of the corresponding picture batch, and displayed through the user interface.
[0097] In summary, with the aid of the above technical solution of the present invention, the present invention can enable the receiver to determine the display order of all pictures in the batch when receiving any picture message containing batch information, thereby solving the problem of inconsistent message order viewed by the communicating parties under the influence of certain objective factors. The present invention is implemented by adding additional information to the message body, which is parsed locally by the sender and the receiver without the server's perception. There is no intrusion or impact on the environment that has been put into use, and even if no processing is performed, the original message sending and receiving function is not affected. The present invention does not need to interfere with the processing flow of the sender (for example, sending the next message after the previous message is successfully sent according to the selection order), and does not affect the sender's efficiency.
[0098] Figure 6 An embodiment of a computer device of the present invention is shown. The computer device may be a server, and the computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store static information and dynamic information data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the steps in the above method embodiment are implemented.
[0099] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0100] In addition, the present invention also provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiment when executing the computer program.
[0101] In addition, the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiment are implemented.
[0102] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program code.
[0103] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.< / mediainfo>
Claims
1. A method for ensuring the order of sending multiple messages, characterized in that: The method comprises the following steps: S1. Obtain the pictures to be sent and the picture batches corresponding to each picture, and generate a string identifier for each picture in a random manner; S2. Generate a message identifier for each image in each image batch, and create a detection data object for each image by obtaining basic information of each image to obtain a detection data object set; S3, according to the detection data object set and the string identifier generated for each picture, the picture message carrier data object is established by parameter injection; S4. According to the picture message carrier data object, the sender creates a new sending thread and uses the server to send the picture message carrier data object to the receiver; S5. The receiver receives the picture message carrier data object, identifies and sequence-checks the picture message carrier data object, and displays the picture information in the user interface.
2. A method for ensuring the order of sending multiple messages according to claim 1, characterized in that: The basic information of the picture includes the width and height of the picture.
3. A method for ensuring the order of sending multiple messages according to claim 1, characterized in that: The method of detecting a data object set and generating a string identifier for each image and establishing a picture message carrier data object by parameter injection includes the following steps: S31, create a blank picture message carrier data object, obtain the local path of the picture, and inject the message identifier of each picture, the basic information of each picture and the local path of the picture into the blank picture message carrier data object; S32, creating a blank batch sending package information data object, obtaining the total number of pictures in each picture batch and the sequential position of each picture in the picture batch, and injecting the string identifier generated for each picture, the total number of pictures in each picture batch and the sequential position of each picture in the picture batch into the blank batch sending package information data object; S33, injecting the injected batch package information data object into the picture message carrier data object to obtain the final picture message carrier data object.
4. A method for ensuring the order of sending multiple messages according to claim 1, characterized in that: The sending party creates a new sending thread according to the picture message carrier data object, and uses the server to send the picture message carrier data object to the receiving party, including the following steps: S41, establishing a sending thread for sending picture messages according to the number of picture message carrier data objects; S42, using the established sending thread, sending the picture message carrier data object to the server; S43. The server forwards the received picture message carrier data object to the recipient.
5. A method for ensuring the order of sending multiple messages according to claim 1, characterized in that: The receiving party receives the picture message carrier data object, and displays the picture information in the user interface by identifying and checking the order of the picture message carrier data object, including the following steps: S51, the receiver checks whether there is a string identifier in the message according to the received picture message carrier data object. If there is no batch unique identifier, the current picture information is displayed immediately. If there is, the total number of pictures is obtained, placeholder information is generated according to the total number of pictures, and the placeholder information is displayed in the user interface. S52, the receiver obtains the sequence information of the current image in the image batch from the received message, updates the sequence specific items in the corresponding placeholder information according to the sequence information, and displays the image information normally in the user interface; S53. The receiver continues to receive other messages. If the message does not contain the string identifier of the picture batch, the information is displayed after the placeholder information. If the message contains the string identifier of the picture batch, and the string identifier of the picture batch is the same as the picture batch of the placeholder information, the sequence information of the current picture message in the picture batch is obtained, the picture is updated to the corresponding position of the corresponding picture batch, and displayed through the user interface.
6. A system for ensuring the order of sending multiple messages, used to implement the method for ensuring the order of sending multiple messages according to any one of claims 1 to 5, characterized in that: The system comprises: a character string identification generating module, a detection data object creating module, a picture message carrier creating module, a picture message carrier sending module and a picture information display module; The string identifier generation module is used to obtain the pictures to be sent and the picture batches corresponding to each picture, and generate a string identifier for each picture in a random manner; The detection data object creation module is used to generate a message identifier for each picture in each picture batch, and to create a detection data object for each picture by acquiring basic information of each picture, thereby obtaining a detection data object set; The picture message carrier creation module is used to create a picture message carrier data object by parameter injection according to the detection data object set and generating a string identifier for each picture; The picture message carrier sending module is used for creating a new sending thread according to the picture message carrier data object, and sending the picture message carrier data object to the receiver by using the server; The picture information display module is used for the receiver to receive the picture message carrier data object, and to display the picture information in the user interface by identifying and sequentially checking the picture message carrier data object.
7. A system for ensuring the order of sending multiple messages according to claim 6, characterized in that: The picture message carrier creation module can create a blank picture message carrier data object when establishing the picture message carrier data object by means of parameter injection according to the detection data object set and generating a string identifier for each picture, obtain the local path of the picture, and inject the message identifier of each picture, the basic information of each picture and the local path of the picture into the blank picture message carrier data object; Create a blank batch package information data object, obtain the total number of pictures in each picture batch and the sequential position of each picture in the picture batch, and inject the string identifier generated for each picture, the total number of pictures in each picture batch and the sequential position of each picture in the picture batch into the blank batch package information data object; inject the injected batch package information data object into the picture message carrier data object to obtain the final picture message carrier data object.
8. A system for ensuring the order of sending multiple messages according to claim 6, characterized in that: When the receiving party receives the picture message carrier data object, identifies and checks the order of the picture message carrier data object, and displays the picture information in the user interface, the receiving party can check whether there is a string identifier in the message based on the received picture message carrier data object. If there is no batch unique identifier, the current picture information is displayed immediately. If it exists, the total number of pictures is continuously obtained, placeholder information is generated based on the total number of pictures, and the placeholder information is displayed in the user interface; the receiving party obtains the sequence information of the current picture in the picture batch from the received message, updates the sequence specific items in the corresponding placeholder information based on the sequence information, and displays the picture information normally in the user interface; the receiving party continues to receive other messages, and if the message does not contain the string identifier of the picture batch, the information is displayed after the placeholder information; if the message contains the string identifier of the picture batch, and the string identifier of the picture batch is the same as the picture batch of the placeholder information, the sequence information of the current picture message in the picture batch is obtained, the picture is updated to the corresponding position of the corresponding picture batch, and displayed through the user interface.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.