Information transmission methods and apparatus, electronic devices and computer-readable storage media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2026-08-14
AI Technical Summary
[0004]在实现本公开构思的过程中,发明人发现相关技术中至少存在如下问题:由于发送方无法得知接收方的信息接收情况,因而无法保障信息传输的安全性和准确性
[0059] According to another aspect of this disclosure, a computer program product is provided, which includes computer-executable instructions that, when executed, are used to perform the methods described in this disclosure.
Smart Images

Figure CN116668533B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of computer technology, Internet of Things technology, and communication technology, and more specifically, to an information transmission method and apparatus, electronic equipment, computer-readable storage medium, and computer program product. Background Technology
[0002] With the development of computer technology, the demand for information transmission between senders and receivers is increasing day by day.
[0003] Information transmission refers to the process of transmitting information from a sender to a receiver through one or more data links according to certain procedures. Information transmission enables the exchange and transmission of information between the sender and the receiver.
[0004] In realizing the present invention, the inventors discovered that the related technology has at least the following problems: since the sender cannot know the recipient's information reception status, the security and accuracy of information transmission cannot be guaranteed. Summary of the Invention
[0005] In view of the above, this disclosure provides an information transmission method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
[0006] According to one aspect of this disclosure, an information transmission method is provided, applied to a first communicating party, comprising:
[0007] Send an information transmission request to the server, wherein the information transmission request includes the information to be transmitted and the identifier of the first communication party;
[0008] In response to receiving the original first identifier information corresponding to the first communication party identifier from the aforementioned server, the original first identifier information is updated to obtain the current first identifier information;
[0009] The aforementioned current first identification information is sent to the aforementioned server, so that the aforementioned server can send the aforementioned current first identification information to the second communicating party; and
[0010] In response to receiving the current second identifier information from the aforementioned server, the information transmission result is determined based on the aforementioned current first identifier information and the aforementioned current second identifier information.
[0011] According to embodiments of this disclosure, the aforementioned original first identification information includes an original first identification value.
[0012] According to embodiments of this disclosure, the above response to receiving the original first identifier information corresponding to the first communication party identifier from the above-mentioned server, updating the original first identifier information to obtain the current first identifier information includes:
[0013] In response to receiving the aforementioned original first identifier information, the current first identifier value is determined based on the aforementioned original first identifier value; and
[0014] Using the current first identifier value, the original first identifier value is updated to obtain the current first identifier information.
[0015] According to embodiments of this disclosure, the above response to receiving current second identification information from the server, and determining the information transmission result based on the current first identification information and the current second identification information, includes:
[0016] In response to receiving the aforementioned current second identification information, the aforementioned current first identification information and the aforementioned current second identification information are matched to obtain an identification information matching result;
[0017] If the above identification information matching result indicates that the current first identification information and the current second identification information match, then the above information transmission result indicating that the current information to be transmitted has been successfully transmitted is determined; and
[0018] If the above identification information matching result indicates that the above current first identification information and the above current second identification information do not match, then the above information transmission result indicating that the transmission of the above current information to be transmitted has failed is determined.
[0019] According to embodiments of this disclosure, the aforementioned current second identification information includes the current second identification value.
[0020] According to embodiments of this disclosure, when the above information transmission result indicates that the transmission of the currently to-be-transmitted information has failed, the above method further includes:
[0021] Set up a scheduled task;
[0022] In response to triggering the aforementioned timed task, a current third identifier value is determined based on the aforementioned current first identifier value and the aforementioned current second identifier value; and
[0023] Using the aforementioned current third identifier value, the aforementioned current first identifier value is updated to obtain the updated current first identifier information.
[0024] According to embodiments of this disclosure, the above method further includes:
[0025] The updated current first identifier information is sent to the server, so that the server can send the updated current first identifier information to the second communicating party; and
[0026] In response to receiving the updated current second identifier information from the aforementioned server, the updated information transmission result is determined based on the updated current first identifier information and the updated current second identifier information.
[0027] According to another aspect of this disclosure, an information transmission method is provided, applied to a server, comprising:
[0028] In response to receiving an information transmission request from a first communication party, the original first identification information is sent to the first communication party corresponding to the first communication party's identification, so that the first communication party can update the original first identification information to obtain the current first identification information, wherein the information transmission request includes the information to be transmitted.
[0029] In response to receiving the current first identification information from the first communicating party, the current first identification information and the current information to be transmitted are sent to the second communicating party; and
[0030] In response to receiving current second identification information from the second communication party, the current second identification information is sent to the first communication party so that the first communication party can determine the information transmission result based on the current first identification information and the current second identification information.
[0031] According to embodiments of this disclosure, the above-mentioned response to receiving the current first identification information from the first communication party, sending the current first identification information and the current information to be transmitted to the second communication party includes:
[0032] Upon receiving the aforementioned current first identification information, determine the topic type information corresponding to the aforementioned current information to be transmitted;
[0033] Based on the aforementioned topic type information, the subscription list is queried to obtain at least one second communication party identifier corresponding to the aforementioned topic type information; and
[0034] For each of the at least one second communication party identifiers, the current information to be transmitted and the current first identifier information are sent to the second communication party corresponding to the second communication party identifier.
[0035] According to another aspect of this disclosure, an information transmission method is provided, applied to a second communicating party, comprising:
[0036] In response to receiving current first identification information and current information to be transmitted from the server, the original second identification information is updated according to the current first identification information to obtain current second identification information, wherein the current first identification information is obtained by the first communicating party updating the original first identification information; and
[0037] The aforementioned current second identification information is sent to the aforementioned server so that the aforementioned server can send the aforementioned current second identification information to the aforementioned first communication party.
[0038] According to embodiments of this disclosure, the aforementioned original second identification information includes the original second identification value.
[0039] According to embodiments of this disclosure, the above-mentioned response to receiving current first identification information and current information to be transmitted from the server, updating the original second identification information based on the current first identification information to obtain the current second identification information includes:
[0040] In response to receiving the aforementioned current first identifier information, the current first identifier value is determined based on the aforementioned current first identifier information; and
[0041] Using the current first identifier value, the original second identifier value is updated to obtain the current second identifier information.
[0042] According to another aspect of this disclosure, an information transmission apparatus is provided, applied to a first communicating party, comprising:
[0043] The first sending module is used to send an information transmission request to the server, wherein the information transmission request includes the information to be transmitted and the identifier of the first communication party;
[0044] The first update module is used to update the original first identifier information corresponding to the first communication party identifier received from the server to obtain the current first identifier information.
[0045] The second sending module is configured to send the aforementioned current first identification information to the aforementioned server, so that the aforementioned server can send the aforementioned current first identification information to the second communicating party; and
[0046] The first determining module is used to determine the information transmission result based on the current first identification information and the current second identification information in response to receiving the current second identification information from the aforementioned server.
[0047] According to another aspect of this disclosure, an information transmission apparatus is provided, applied to a server, comprising:
[0048] The third sending module is used to send the original first identification information to the first communication party corresponding to the first communication party's identification in response to receiving an information transmission request from the first communication party, so that the first communication party can update the original first identification information to obtain the current first identification information, wherein the information transmission request includes the information to be transmitted.
[0049] The fourth sending module is configured to, in response to receiving the current first identification information from the first communicating party, send the current first identification information and the current information to be transmitted to the second communicating party; and
[0050] The fifth sending module is used to send the current second identification information to the first communication party in response to receiving the current second identification information from the second communication party, so that the first communication party can determine the information transmission result based on the current first identification information and the current second identification information.
[0051] According to another aspect of this disclosure, an information transmission apparatus is provided, applied to a second communicating party, comprising:
[0052] The second update module is configured to, in response to receiving current first identification information and current information to be transmitted from the server, update the original second identification information according to the current first identification information to obtain current second identification information, wherein the current first identification information is obtained by the first communicating party updating the original first identification information; and
[0053] The sixth sending module is used to send the aforementioned current second identification information to the aforementioned server, so that the aforementioned server can send the aforementioned current second identification information to the aforementioned first communication party.
[0054] According to another aspect of this disclosure, an electronic device is provided, comprising:
[0055] One or more processors;
[0056] Memory, used to store one or more instructions.
[0057] When one or more of the above instructions are executed by one or more processors, the one or more processors cause the one or more processors to implement the method as described in this disclosure.
[0058] According to another aspect of this disclosure, a computer-readable storage medium is provided having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the methods described in this disclosure.
[0059] According to another aspect of this disclosure, a computer program product is provided, which includes computer-executable instructions that, when executed, are used to perform the methods described in this disclosure.
[0060] According to embodiments of this disclosure, since the current first identification information is obtained by updating the original first identification information, which is returned by the server to the first communicating party after receiving the information transmission request, the current first identification information can be used as a sending identifier for the current information to be transmitted corresponding to the first communicating party. Since the current second identification information is obtained by the second communicating party based on the current first identification information, the current second identification information can be used as a receiving identifier for the current information to be transmitted corresponding to the second communicating party. Based on this, by determining the information transmission result according to the current first and current second identification information, since the information transmission result can be used to characterize the transmission status of the current information to be transmitted, this at least partially overcomes the technical problem in related technologies where the sender cannot know the data reception status of the receiver, thereby improving the security and accuracy of information transmission. Attached Figure Description
[0061] The above and other objects, features and advantages of this disclosure will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0062] Figure 1 This illustration schematically shows a system architecture to which the information transmission method can be applied according to embodiments of the present disclosure;
[0063] Figure 2 A flowchart illustrating an information transmission method according to an embodiment of the present disclosure is shown schematically.
[0064] Figure 3 This illustration schematically shows an example of a process according to an embodiment of the present disclosure of updating the original first identifier information to obtain the current first identifier information in response to receiving the original first identifier information corresponding to the identifier of the first communication party from the server.
[0065] Figure 4 This illustration schematically shows an example diagram of an information transmission process according to an embodiment of the present disclosure;
[0066] Figure 5 A flowchart illustrating an information transmission method according to another embodiment of the present disclosure is shown schematically;
[0067] Figure 6 This illustration schematically depicts an example of a process, according to an embodiment of the present disclosure, in response to receiving current first identification information from a first communicating party, sending the current first identification information and current information to be transmitted to a second communicating party;
[0068] Figure 7 A flowchart illustrating an information transmission method according to another embodiment of the present disclosure is shown schematically;
[0069] Figure 8AThis illustration schematically shows an example diagram of an information transmission process according to another embodiment of the present disclosure;
[0070] Figure 8B This illustration schematically shows an example diagram of an information transmission process according to another embodiment of the present disclosure;
[0071] Figure 9 A block diagram of an information transmission apparatus according to an embodiment of the present disclosure is shown schematically;
[0072] Figure 10 A block diagram of an information transmission apparatus according to another embodiment of the present disclosure is shown schematically;
[0073] Figure 11 A block diagram of an information transmission apparatus according to another embodiment of the present disclosure is schematically shown; and
[0074] Figure 12 A block diagram of an electronic device suitable for implementing an information transmission method according to an embodiment of the present disclosure is shown schematically. Detailed Implementation
[0075] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0076] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0077] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0078] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).
[0079] In the embodiments disclosed herein, the collection, updating, analysis, processing, use, transmission, provision, disclosure, and storage of data (e.g., including but not limited to user personal information) comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures have been taken to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.
[0080] In the embodiments disclosed herein, user authorization or consent is obtained before acquiring or collecting user personal information.
[0081] For example, after obtaining the information to be transmitted, methods such as de-identification or anonymization can be used to de-identify your information in order to protect your information security.
[0082] CIDR (Classless Inter-Domain Routing) refers to the method of classifying IP addresses for assigning IP (Internet Protocol) addresses to users and for efficiently routing IP packets across the Internet.
[0083] Information transmission based on CIDR address blocks refers to the process where the sender writes information into the address block, and the server pushes the information in the address block to the receiver to realize the information transmission between the sender and the receiver.
[0084] However, since the sender cannot know the recipient's information reception status, reliable information transmission cannot be achieved, and the security and accuracy of information transmission cannot be guaranteed.
[0085] To at least partially address the technical problems existing in related technologies, this disclosure provides an information transmission method and apparatus, electronic device, and computer-readable storage medium, which can be applied to the fields of computer technology, Internet of Things technology, and communication technology. The information transmission method includes: sending an information transmission request to a server, wherein the information transmission request includes current information to be transmitted and a first communication party identifier; in response to receiving original first identifier information corresponding to the first communication party identifier from the server, updating the original first identifier information to obtain current first identifier information; sending the current first identifier information to the server so that the server can send the current first identifier information to a second communication party; and in response to receiving current second identifier information from the server, determining an information transmission result based on the current first identifier information and the current second identifier information.
[0086] Figure 1The illustration schematically depicts a system architecture to which the information transmission method can be applied according to embodiments of the present disclosure. It should be noted that... Figure 1 The examples shown are merely examples of system architectures that can be applied to the embodiments of this disclosure, in order to help those skilled in the art understand the technical content of this disclosure, but do not mean that the embodiments of this disclosure cannot be used in other devices, systems, environments or scenarios.
[0087] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0088] Users can interact with server 105 via network 104 using at least one of the first terminal device 101, second terminal device 102, and third terminal device 103 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, second terminal device 102, and third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).
[0089] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.
[0090] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (this is just an example). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.
[0091] It should be noted that the information transmission method provided in this embodiment can generally be executed by server 105. Correspondingly, the information transmission device provided in this embodiment can generally be located in server 105. The information transmission method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105. Correspondingly, the information transmission device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105.
[0092] Alternatively, the information transmission method provided in this embodiment of the present disclosure can also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or by other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Correspondingly, the information transmission device provided in this embodiment of the present disclosure can also be disposed in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or in other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.
[0093] It should be understood that Figure 1 The number of first, second, or third terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of first, second, or third terminal devices, networks, and servers may be included.
[0094] It should be noted that the sequence numbers of the operations in the following methods are for descriptive purposes only and should not be considered as indicating the execution order of the operations. Unless explicitly stated otherwise, the method does not need to be executed in the exact order shown.
[0095] Figure 2 A flowchart illustrating an information transmission method according to an embodiment of the present disclosure is shown schematically.
[0096] like Figure 2 As shown, the information transmission method 200 includes operations S210 to S240.
[0097] In operation S210, an information transmission request is sent to the server, wherein the information transmission request includes the information to be transmitted and the identifier of the first communication party.
[0098] In operation S220, in response to receiving the original first identifier information corresponding to the first communication party identifier from the server, the original first identifier information is updated to obtain the current first identifier information.
[0099] In operation S230, the current first identification information is sent to the server so that the server can send the current first identification information to the second communication party.
[0100] In operation S240, in response to receiving the current second identification information from the server, the information transmission result is determined based on the current first identification information and the current second identification information.
[0101] According to embodiments of this disclosure, the information transmission method can be applied to scenarios such as intelligent warehousing integration, where a first communicating party, a second communicating party, and a server interact to complete the information transmission process. For example, the information transmission process can refer to the process where the first communicating party transmits the currently to-be-transmitted information to the second communicating party. In this case, the first communicating party can refer to the information sender, and the second communicating party can refer to the information receiver. Alternatively, the information transmission process can also refer to the process where the second communicating party transmits the currently to-be-transmitted information to the first communicating party. In this case, the second communicating party can refer to the information sender, and the first communicating party can refer to the information receiver.
[0102] According to embodiments of this disclosure, the information sender can refer to the party that actively transmits information, and can retry in the event of information transmission failure. The information receiver can refer to the party that passively receives information, and can provide feedback in the event of successful information transmission.
[0103] According to embodiments of this disclosure, a script for generating an information transmission request can be pre-stored in the first communicating party. In response to detecting an information transmission operation initiated by the first user, the first communicating party can obtain the current information to be transmitted input by the first user and run the script to generate an information transmission request based on the current information to be transmitted and the first communicating party's identifier. After obtaining the information transmission request, the first communicating party can send the information transmission request to the server, so that the server can determine the original first identifier information based on the information transmission request and return the original first identifier information to the first communicating party.
[0104] According to embodiments of this disclosure, after the first communicating party generates an information transmission request, it can send the information transmission request to the server. The server can maintain at least a first address block corresponding to the first communicating party and a second address block corresponding to the second communicating party. The first communicating party can perform a write operation on the first address block. The second communicating party can perform a write operation on the second address block. Both the first and second communicating parties can perform read operations on the first and second address blocks.
[0105] According to embodiments of this disclosure, after receiving an information transmission request from a first communicating party, the server can determine a first address block corresponding to the first communicating party identifier in the information transmission request. The server then obtains original first identifier information corresponding to the first communicating party identifier from the first address block. The first identifier information can be used to characterize the message sending identifier of the first communicating party. The original first identifier information may correspond to original information to be transmitted. The original information to be transmitted may refer to information to be transmitted in the previous transmission operation. After determining the original first identifier information, the server can send the original first identifier information to the first communicating party corresponding to the first communicating party identifier.
[0106] According to embodiments of this disclosure, after receiving the original first identifier information from the server, the first communicating party can update the original first identifier information to obtain the current first identifier information. The current first identifier information may correspond to the information to be transmitted currently. The information to be transmitted currently may refer to the information to be transmitted in this transmission operation. After the first communicating party writes the information to be transmitted in this transmission operation to the server, the first identifier information can be updated.
[0107] According to embodiments of this disclosure, after obtaining the current first identification information, the current first identification information can be sent to the server. Upon receiving the current first identification information, the server can update the original first identification information in the first address block corresponding to the first communication party's identifier based on the current first identification information. The server can also send the current first identification information and the information to be transmitted to the second communication party.
[0108] According to embodiments of this disclosure, after receiving the current first identification information and the current information to be transmitted, the second communicating party can update the original second identification information based on the current first identification information to obtain the current second identification information, and then send the current second identification information to the server. The server can determine the second address block corresponding to the second communicating party's identifier. The server can update the original second identification information in the second address block corresponding to the second communicating party's identifier based on the current second identification information. The second identification information can be used to characterize the message receiving identifier of the second communicating party. The original second identification information may correspond to the original information to be transmitted. The current second identification information may correspond to the current information to be transmitted.
[0109] According to embodiments of this disclosure, after receiving the current second identification information, the server can send the current second identification information to the first communicating party. After receiving the current second identification information, the first communicating party can determine the information transmission result based on the current first identification information and the current second identification information. The information transmission result can be used to characterize the transmission status of the information to be transmitted.
[0110] According to embodiments of this disclosure, since the current first identification information is obtained by updating the original first identification information, which is returned by the server to the first communicating party after receiving the information transmission request, the current first identification information can be used as a sending identifier for the current information to be transmitted corresponding to the first communicating party. Since the current second identification information is obtained by the second communicating party based on the current first identification information, the current second identification information can be used as a receiving identifier for the current information to be transmitted corresponding to the second communicating party. Based on this, by determining the information transmission result according to the current first and current second identification information, since the information transmission result can be used to characterize the transmission status of the current information to be transmitted, this at least partially overcomes the technical problem in related technologies where the sender cannot know the data reception status of the receiver, thereby improving the security and accuracy of information transmission.
[0111] The following is for reference. Figure 3 and Figure 4 The information transmission method 200 according to an embodiment of the present invention will be further described.
[0112] According to embodiments of this disclosure, the original first identification information includes the original first identification value.
[0113] According to embodiments of this disclosure, operation S220 may include the following operations.
[0114] In response to receiving the original first identifier information, the current first identifier value is determined based on the original first identifier value. The original first identifier value is then updated using the current first identifier value to obtain the current first identifier information.
[0115] According to embodiments of this disclosure, the specific values of the original first identifier value and the current first identifier value can be configured according to actual business needs, as long as the original first identifier value and the current first identifier value are not equal, and no limitation is made here. The following illustratively uses FV1 to represent the first identifier value to illustrate the process by which the first communicating party updates the original first identifier information to obtain the current first identifier information.
[0116] For example, in response to receiving the original first identifier information, it can be determined that the original FV1 = 1. In this case, the current first identifier value can be determined, for example, 2. Using the current first identifier value (i.e., 2), the original FV1 is updated; for example, FV1 can be set to 2 to obtain the current first identifier information.
[0117] Alternatively, in response to receiving the original first identifier information, it can be determined that the original FV1 = 2. In this case, the current first identifier value can be determined, for example, 3. Using the current first identifier value (i.e., 3), the original FV1 can be updated; for example, FV1 can be set to 3 to obtain the current first identifier information.
[0118] For example, in response to receiving the original first identifier information, it can be determined that the original FV1 = 3. In this case, the current first identifier value can be determined, for example, 1. Using the current first identifier value (i.e., 1), the original FV1 can be updated; for example, FV1 can be set to 1 to obtain the current first identifier information.
[0119] According to embodiments of this disclosure, since the first communicating party can obtain the current first identification information by updating the original first identification information, the first communicating party can modify the message sending identifier, thereby improving the accuracy of the current first identification information.
[0120] Figure 3 The illustration shows an example of a process according to an embodiment of the present disclosure of updating the original first identifier information to obtain the current first identifier information in response to receiving the original first identifier information corresponding to the identifier of the first communication party from the server.
[0121] like Figure 3 As shown, in 300, the original first identification information 301 may include the original first identification value 301_1. In response to receiving the original first identification information 301, the current first identification value 302 can be determined based on the original first identification value 301_1. The original first identification value 301_1 is updated using the current first identification value 302 to obtain the current first identification information 303.
[0122] According to embodiments of this disclosure, operation S240 may include the following operations.
[0123] In response to receiving the current second identification information, the current first identification information and the current second identification information are matched to obtain an identification information matching result. If the identification information matching result indicates that the current first identification information and the current second identification information match, a transmission result indicating that the current information to be transmitted has been successfully transmitted is determined. If the identification information matching result indicates that the current first identification information and the current second identification information do not match, a transmission result indicating that the current information to be transmitted has failed is determined.
[0124] According to embodiments of this disclosure, the current first identification information may include a current first identification value. The current second identification information may include a current second identification value. After receiving the current second identification information, the first communicating party may, for example, match the current first identification value and the current second identification value to obtain an identification information matching result. The first communicating party can determine whether the second communicating party has received the currently transmitted information based on the identification information matching result, that is, whether the information transmission process of the currently transmitted information has been completed.
[0125] For example, if the current first identifier value and the current second identifier value are equal, it can be determined that the current first identifier information and the current second identifier information match, and thus the information transmission result indicating that the current information to be transmitted has been successfully transmitted can be determined. Alternatively, if the current first identifier value and the current second identifier value are not equal, it can be determined that the current first identifier information and the current second identifier information do not match, and thus the information transmission result indicating that the current information to be transmitted has failed can be determined.
[0126] According to embodiments of this disclosure, by separating the current first identification information of the first communicating party and the current second identification information of the second communicating party, the first communicating party can determine the transmission status of the information to be transmitted based on whether the identification information of the two communicating parties matches, thereby ensuring reliable transmission of information and improving the security of information transmission.
[0127] According to embodiments of this disclosure, the current second identification information includes the current second identification value.
[0128] According to embodiments of this disclosure, when it is determined that the information transmission result indicates that the current information to be transmitted has failed to be transmitted, the information transmission method 200 may further include the following operations.
[0129] Set a scheduled task. In response to triggering the scheduled task, determine the current third identifier value based on the current first identifier value and the current second identifier value. Update the current first identifier value using the current third identifier value to obtain the updated current first identifier information.
[0130] According to embodiments of this disclosure, a scheduled task may include triggering the execution of a target action at a predetermined time. The scheduled task may be associated with currently pending transmission information. The target action may include a first communicating party re-executing the transmission of the currently pending transmission information; in this case, the scheduled task may be used to trigger the re-transmission of the currently pending transmission information at the predetermined time. The predetermined time may include a predetermined time point and a predetermined time period. The predetermined time can be set according to actual business needs and is not limited herein.
[0131] For example, if the scheduled time is a specific point in time, the scheduled time can be set to 12:00. In this case, the scheduled task will be triggered when the current system time reaches 12:00. Alternatively, if the scheduled time is a specified time period, the scheduled time can be set to 12 hours. In this case, the scheduled task will be triggered when the current system time interval reaches 12 hours.
[0132] According to embodiments of this disclosure, the current third identifier value can be configured according to actual business needs, as long as the current third identifier value is not equal to both the current first identifier value and the current second identifier value; no limitation is imposed here. The following illustrative use of FV1 to represent the current first identifier value and FV2 to represent the current second identifier value illustrates the information retransmission process.
[0133] For example, in response to a timed task being triggered—that is, if the first sender does not receive a transmission result indicating successful transmission of the currently transmitted information within a timeout period—a retransmission mechanism is triggered. Given that FV1 == 1 and FV2 == 2, for example, the current third identifier value can be determined to be 3. Using the current third identifier value, the current first identifier value is updated, i.e., FV1 is set to 3, resulting in the updated current first identifier information.
[0134] Alternatively, in response to a timed task being triggered (i.e., if the first sender does not receive a transmission result indicating successful transmission of the currently transmitted information within a timeout period), a retransmission mechanism is triggered. If FV1 == 3 and FV2 == 1, for example, the current third identifier value can be determined to be 2. Using the current third identifier value, the current first identifier value is updated, i.e., FV1 is set to 2, resulting in the updated current first identifier information.
[0135] Alternatively, in response to a timed task being triggered (i.e., if the first sender does not receive a transmission result indicating successful transmission of the currently transmitted information within a timeout period), a retransmission mechanism is triggered. If FV1 == 2 and FV2 == 3, for example, the current third identifier value can be determined to be 1. The current first identifier value is then updated using the current third identifier value, i.e., FV1 is set to 1, resulting in the updated current first identifier information.
[0136] According to embodiments of this disclosure, the information transmission method 200 may further include the following operations.
[0137] The updated current first identifier information is sent to the server, so that the server can send the updated current first identifier information to the second communicating party. In response to receiving the updated current second identifier information from the server, the updated information transmission result is determined based on the updated current first identifier information and the updated current second identifier information.
[0138] According to embodiments of this disclosure, the updated current first identifier information may include the updated current first identifier value. The updated current second identifier information may include the updated current second identifier value. The updated information transmission result can be used to characterize whether the retransmission of the currently to-be-transmitted information has been completed.
[0139] According to embodiments of this disclosure, the first communicating party can send the updated current first identifier information to the server. After receiving the updated current first identifier information, the server can send it to the second communicating party. After receiving the updated current first identifier information, the second communicating party can determine the updated current first identifier value. The second communicating party can update the current second identifier value based on the updated current first identifier value to obtain the updated current second identifier value. The second communicating party can then send the updated current second identifier value to the server. The server can then send the updated current second identifier value to the first communicating party.
[0140] According to embodiments of this disclosure, when the updated current first identifier value and the updated current second identifier value are equal, it can be determined that the updated current first identifier information and the updated current second identifier information match, and thus the updated information transmission result representing the successful transmission of the information to be transmitted can be determined.
[0141] Alternatively, if the updated current first identifier value and the updated current second identifier value are not equal, it can be determined that the updated current first identifier information and the updated current second identifier information do not match, and thus the updated information transmission result indicating that the current information to be transmitted has failed can be determined. If the updated information transmission result indicates that the current information to be transmitted has failed, the transmission of the next piece of information can be prohibited.
[0142] Figure 4 The illustration shows an example diagram of an information transmission process according to an embodiment of the present disclosure.
[0143] like Figure 4 As shown, in step 400, the first communicating party can update the original first identification information 401 to obtain the current first identification information 402. The first communicating party can send the current first identification information 402 to the server, so that the server can send the current first identification information 402 to the second communicating party. In response to receiving the current second identification information 403 from the server, the first communicating party can determine the information transmission result 404 based on the current first identification information 402 and the current second identification information 403.
[0144] If the information transmission result 404 indicates that the current information to be transmitted has failed to be transmitted, the current third identifier value 405 can be determined based on the current first identifier value in the current first identifier information 402 and the current second identifier value in the current second identifier information 403.
[0145] Using the current third identifier value 405, the current first identifier value is updated to obtain the updated current first identifier information 406. The updated current first identifier information 406 is sent to the server so that the server can send the updated current first identifier information 406 to the second communicating party. The second communicating party can update the current second identifier information 403 according to the updated current first identifier information 406 to obtain the updated current second identifier information 407.
[0146] In response to receiving the updated current second identifier information 407 from the server, the first communicating party can determine the updated information transmission result 408 based on the updated current first identifier information 406 and the updated current second identifier information 407.
[0147] The above are merely exemplary embodiments, but are not limited thereto. Other information transmission methods known in the art may also be included, as long as they can improve the security and accuracy of information transmission.
[0148] Figure 5 A flowchart illustrating an information transmission method according to another embodiment of the present disclosure is shown.
[0149] like Figure 5 As shown, the information transmission method 500 includes operations S510 to S530.
[0150] In operation S510, in response to receiving an information transmission request from the first communication party, the original first identification information is sent to the first communication party corresponding to the first communication party's identification, so that the first communication party can update the original first identification information and obtain the current first identification information. The information transmission request includes the information to be transmitted.
[0151] In operation S520, in response to receiving the current first identification information from the first communication party, the current first identification information and the current information to be transmitted are sent to the second communication party.
[0152] In operation S530, in response to receiving the current second identification information from the second communication party, the current second identification information is sent to the first communication party so that the first communication party can determine the information transmission result based on the current first identification information and the current second identification information.
[0153] According to embodiments of this disclosure, the server may maintain a first address block corresponding to the first communicating party. The first address block may refer to the storage space corresponding to the first communicating party. For example, the first address block may support write operations performed by the first communicating party. Alternatively, the first address block may support read operations performed by both the first and second communicating parties.
[0154] According to embodiments of this disclosure, after receiving an information transmission request from a first communicating party, the server can determine a first address block corresponding to the first communicating party identifier in the information transmission request. The server then obtains the original first identifier information corresponding to the first communicating party identifier from the first address block. After determining the original first identifier information, the server can send the original first identifier information to the first communicating party corresponding to the first communicating party identifier.
[0155] According to an embodiment of this disclosure, after receiving the current first identification information, the server can update the original first identification information in the first address block corresponding to the first communication party's identifier based on the current first identification information, and send the current first identification information and the current information to be transmitted to the second communication party.
[0156] According to embodiments of this disclosure, the server may maintain a second address block corresponding to the second communicating party. The second address block may refer to the storage space corresponding to the second communicating party. For example, the second address block may support write operations performed by the second communicating party. Alternatively, the second address block may support read operations performed by both the first and second communicating parties.
[0157] According to embodiments of this disclosure, the server can determine a second address block corresponding to the second communication party identifier. The server can update the original second identifier information in the second address block corresponding to the second communication party identifier based on the current second identifier information, and send the current second identifier information to the first communication party.
[0158] The following is for reference. Figure 6 The information transmission method 500 according to an embodiment of the present invention will be further described.
[0159] According to embodiments of this disclosure, operation S520 may include the following operations.
[0160] In response to receiving the current first identifier information, the topic type information corresponding to the current information to be transmitted is determined. Based on the topic type information, the subscription list is queried to obtain at least one second communication party identifier corresponding to the topic type information. For each of the at least one second communication party identifiers, the current information to be transmitted and the current first identifier information are sent to the second communication party corresponding to the second communication party identifier.
[0161] According to embodiments of this disclosure, the server can employ a communication method based on the OPC UA (i.e., OPC Unified Architecture) protocol. OPC UA can refer to a service-based, cross-platform solution. OPC UA can be understood as address block-based message communication, where the sender writes a message into an address block, and OPC UA pushes the message to the receiver, thereby enabling communication between the sender and receiver.
[0162] According to embodiments of this disclosure, the subscription list may include at least one topic type information and at least one second communication party identifier corresponding to each of the at least one topic type information. The topic type information may refer to the information type of the information to be transmitted. If the current first identifier information changes, the OPC UA service may send the current information to be transmitted and the current first identifier information to the second communication party corresponding to the topic type information.
[0163] Figure 6 The illustration shows an example of a process according to an embodiment of the present disclosure of sending the current first identification information and the current information to be transmitted to the second communication party in response to receiving the current first identification information from the first communication party.
[0164] like Figure 6 As shown, in 600, in response to receiving the current information to be transmitted 601 and the current first identification information 606, the topic type information 602 corresponding to the current information to be transmitted 601 can be determined.
[0165] Based on topic type information 602, the subscription list 603 is queried to obtain at least one second communication party identifier 604 corresponding to topic type information 602. For each of the at least one second communication party identifier 604, the current information to be transmitted 601 and the current first identifier information 606 can be sent to the second communication party 605 corresponding to the second communication party identifier 604.
[0166] Figure 7 A flowchart illustrating an information transmission method according to another embodiment of the present disclosure is shown.
[0167] like Figure 7 As shown, the information transmission method 700 includes operations S710 to S720.
[0168] In operation S710, in response to receiving the current first identification information and the current information to be transmitted from the server, the original second identification information is updated according to the current first identification information to obtain the current second identification information, wherein the current first identification information is obtained by the first communication party updating the original first identification information.
[0169] During operation S720, the current second identification information is sent to the server so that the server can send the current second identification information to the first communication party.
[0170] According to an embodiment of this disclosure, after receiving the current first identification information and the current information to be transmitted, the second communicating party can update the original second identification information based on the current first identification information to obtain the current second identification information, and send the current second identification information to the server.
[0171] The following is for reference. Figure 8A and Figure 8B The information transmission method 700 according to an embodiment of the present invention will be further described.
[0172] According to embodiments of this disclosure, the original second identification information includes the original second identification value.
[0173] According to embodiments of this disclosure, operation S710 may include the following operations.
[0174] In response to receiving the current first identifier information, the current first identifier value is determined based on the current first identifier information. The original second identifier value is updated using the current first identifier value to obtain the current second identifier information.
[0175] According to embodiments of this disclosure, after receiving the currently transmitted information and the current first identifier information, the second communicating party can determine the current first identifier value based on the current first identifier information. The original second identifier value is then updated using the current first identifier value, i.e., the original second identifier value is replaced with the current first identifier value to obtain the current second identifier information.
[0176] According to embodiments of this disclosure, since the second communication party can obtain the current second identification information by updating the original second identification information, the second communication party can modify the message receiving identification, thereby improving the accuracy of the current second identification information.
[0177] Figure 8A The illustration shows an example diagram of an information transmission process according to another embodiment of the present disclosure.
[0178] like Figure 8A As shown, in 800A, the information transmission process may include operations S801 to S812.
[0179] When operating S801, the first communicating party can send an information transmission request to the server.
[0180] In operation S802, in response to receiving an information transmission request from the first communicating party, the server can determine the original first identification information.
[0181] During operation S803, the server can send the original first identification information to the first communication party corresponding to the first communication party identifier.
[0182] In operation S804, in response to receiving the original first identifier information corresponding to the first communication party identifier from the server, the first communication party can update the original first identifier information to obtain the current first identifier information.
[0183] When operating S805, the first communicating party can send the current first identification information to the server.
[0184] In operation S806, in response to receiving the current first identification information from the first communicating party, the server can determine the information to be transmitted.
[0185] When operating S807, the server can send the current first identification information and the current information to be transmitted to the second communication party.
[0186] In operation S808, in response to receiving the current first identification information and the current information to be transmitted from the server, the second communication party can update the original second identification information according to the current first identification information to obtain the current second identification information.
[0187] During operation S809, the second communicating party can send the current second identification information to the server.
[0188] In operation S810, in response to receiving the current second identification information from the second communication party, the server can send the current second identification information to the first communication party.
[0189] In operation S811, in response to receiving the current second identification information, the first communicating party can match the current first identification information and the current second identification information to obtain the identification information matching result.
[0190] In operation S812, if the identification information matching result indicates that the current first identification information and the current second identification information match, the first communicating party can determine the information transmission result indicating that the current information to be transmitted has been successfully transmitted.
[0191] Figure 8B The illustration shows an example diagram of an information transmission process according to another embodiment of the present disclosure.
[0192] like Figure 8B As shown, in 800B, the information transmission process may also include operations S813 to S821.
[0193] In operation S813, if the identification information matching result indicates that the current first identification information and the current second identification information do not match, the first communicating party can determine the information transmission result indicating that the current information to be transmitted has failed to be transmitted.
[0194] In operation S814, if it is determined that the information transmission result indicates that the current information to be transmitted has failed, the first communicating party can determine the current third identifier value based on the current first identifier value and the current second identifier value.
[0195] During operation S815, the first communicating party can use the current third identifier value to update the current first identifier value and obtain the updated current first identifier information.
[0196] When operating S816, the first communicating party can send the updated current first identification information to the server.
[0197] When operating S817, the server can send the updated current first identifier information to the second communication party.
[0198] In operation S818, in response to receiving the updated current first identifier information from the server, the second communicating party can update the original second identifier information according to the updated current first identifier information to obtain the updated current second identifier information.
[0199] During operation S819, the second communicating party can send the updated current second identification information to the server.
[0200] In operation S820, in response to receiving updated current second identifier information from the second communication party, the server may send the updated current second identifier information to the first communication party.
[0201] In operation S821, in response to receiving the updated current second identifier information from the server, the first communicating party can determine the updated information transmission result based on the updated current first identifier information and the updated current second identifier information.
[0202] Figure 9 A block diagram of an information transmission apparatus according to an embodiment of the present disclosure is shown schematically.
[0203] like Figure 9 As shown, the information transmission device 900, applied to the first communication party, may include a first sending module 910, a first updating module 920, a second sending module 930, and a first determining module 940.
[0204] The first sending module 910 is used to send an information transmission request to the server, wherein the information transmission request includes the information to be transmitted and the identifier of the first communication party.
[0205] The first update module 920 is used to update the original first identifier information in response to receiving the original first identifier information corresponding to the first communication party identifier from the server, so as to obtain the current first identifier information.
[0206] The second sending module 930 is used to send the current first identification information to the server so that the server can send the current first identification information to the second communication party.
[0207] The first determining module 940 is used to determine the information transmission result based on the current first identification information and the current second identification information in response to receiving the current second identification information from the server.
[0208] According to embodiments of this disclosure, the original first identification information includes the original first identification value.
[0209] According to embodiments of this disclosure, the first update module 920 may include a first determining unit and a first update unit.
[0210] The first determining unit is configured to determine the current first identifier value based on the original first identifier value in response to receiving the original first identifier information.
[0211] The first update unit is used to update the original first identifier value using the current first identifier value to obtain the current first identifier information.
[0212] According to embodiments of this disclosure, the first determining module 940 may include a matching unit, a second determining unit, and a third determining unit.
[0213] The matching unit is used to match the current first identification information and the current second identification information in response to receiving the current second identification information, and to obtain the identification information matching result.
[0214] The second determining unit is used to determine the information transmission result indicating that the current first identification information and the current second identification information are matched when the identification information matching result indicates that the current information to be transmitted is successfully transmitted.
[0215] The third determining unit is used to determine the information transmission result indicating that the current first identification information and the current second identification information do not match when the identification information matching result indicates that the current information to be transmitted has failed to be transmitted.
[0216] According to embodiments of this disclosure, the current second identification information includes the current second identification value.
[0217] According to embodiments of this disclosure, when it is determined that the information transmission result indicates that the current information to be transmitted has failed to be transmitted, the information transmission device 900 may further include a setting module, a second determining module, and a third updating module.
[0218] The settings module is used to configure scheduled tasks.
[0219] The second determining module is used to determine the current third identifier value based on the current first identifier value and the current second identifier value in response to the triggering of a timed task.
[0220] The third update module is used to update the current first identifier value using the current third identifier value, so as to obtain the updated current first identifier information.
[0221] According to embodiments of this disclosure, the information transmission device 900 may further include a seventh sending module and a third determining module.
[0222] The seventh sending module is used to send the updated current first identifier information to the server so that the server can send the updated current first identifier information to the second communication party.
[0223] The third determining module is used to respond to receiving the updated current second identifier information from the server, and determine the updated information transmission result based on the updated current first identifier information and the updated current second identifier information.
[0224] Figure 10 A block diagram of an information transmission apparatus according to another embodiment of the present disclosure is shown schematically.
[0225] like Figure 10 As shown, the information transmission device 1000, applied to the server, may include a third sending module 1010, a fourth sending module 1020, and a fifth sending module 1030.
[0226] The third sending module 1010 is used to respond to receiving an information transmission request from the first communication party by sending the original first identification information to the first communication party corresponding to the first communication party's identifier, so that the first communication party can update the original first identification information and obtain the current first identification information. The information transmission request includes the information to be transmitted.
[0227] The fourth sending module 1020 is used to send the current first identification information and the current information to be transmitted to the second communication party in response to receiving the current first identification information from the first communication party.
[0228] The fifth sending module 1030 is used to send the current second identification information to the first communication party in response to receiving the current second identification information from the second communication party, so that the first communication party can determine the information transmission result based on the current first identification information and the current second identification information.
[0229] According to embodiments of this disclosure, the fourth sending module 1020 may include a fourth determining unit, a querying unit, and a sending unit.
[0230] The fourth determining unit is used to determine the topic type information corresponding to the current information to be transmitted in response to receiving the current first identification information.
[0231] The query unit is used to query the subscription list based on topic type information to obtain at least one second communication party identifier corresponding to the topic type information.
[0232] The sending unit is configured to send the current information to be transmitted and the current first identification information to the second communication party corresponding to the second communication party for each of the at least one second communication party identifiers.
[0233] Figure 11 A block diagram of an information transmission apparatus according to another embodiment of the present disclosure is shown schematically.
[0234] like Figure 11 As shown, the information transmission device 1100, applied to the second communication party, may include a second update module 1110 and a sixth sending module 1120.
[0235] The second update module 1110 is used to respond to receiving the current first identification information and the current information to be transmitted from the server, and update the original second identification information according to the current first identification information to obtain the current second identification information, wherein the current first identification information is obtained by the first communication party updating the original first identification information.
[0236] The sixth sending module 1120 is used to send the current second identification information to the server so that the server can send the current second identification information to the first communication party.
[0237] According to embodiments of this disclosure, the original second identification information includes the original second identification value.
[0238] According to embodiments of this disclosure, the second update module 1110 may include a fifth determining unit and a second update unit.
[0239] The fifth determining unit is used to determine the current first identifier value based on the current first identifier information in response to receiving the current first identifier information.
[0240] The second update unit is used to update the original second identifier value using the current first identifier value to obtain the current second identifier information.
[0241] Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure, or at least part of the functions of any one or more of them, can be implemented in one module. Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be implemented by dividing them into multiple modules. Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be at least partially implemented as hardware circuitry, such as Field Programmable Gate Arrays (FPGAs), Programmable Logic Arrays (PLAs), Systems-on-Chip, Systems-on-Substrate, Systems-on-Package, Application-Specific Integrated Circuits (ASICs), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be at least partially implemented as computer program modules, which, when run, can perform corresponding functions.
[0242] For example, any plurality of the first transmitting module 910, the first updating module 920, the second transmitting module 930, and the first determining module 940 can be combined into one module / unit / subunit, or any one of these modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functionality of one or more of these modules / units / subunits can be combined with at least part of the functionality of other modules / units / subunits and implemented in one module / unit / subunit. According to embodiments of this disclosure, at least one of the first transmitting module 910, the first updating module 920, the second transmitting module 930, and the first determining module 940 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the first sending module 910, the first updating module 920, the second sending module 930, and the first determining module 940 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.
[0243] For example, any plurality of the third transmitting module 1010, the fourth transmitting module 1020, and the fifth transmitting module 1030 can be combined into one module / unit / subunit, or any one of these modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functionality of one or more of these modules / units / subunits can be combined with at least part of the functionality of other modules / units / subunits and implemented in one module / unit / subunit. According to embodiments of this disclosure, at least one of the third transmitting module 1010, the fourth transmitting module 1020, and the fifth transmitting module 1030 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the third sending module 1010, the fourth sending module 1020, and the fifth sending module 1030 may be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.
[0244] For example, any plurality of the second update module 1110 and the sixth transmission module 1120 can be combined into one module / unit / subunit, or any one of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functionality of one or more of these modules / units / subunits can be combined with at least part of the functionality of other modules / units / subunits and implemented in one module / unit / subunit. According to embodiments of this disclosure, at least one of the second update module 1110 and the sixth transmission module 1120 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging the circuitry, or implemented in software, hardware, or firmware, or in any one of the three implementation methods or a suitable combination of any of them. Alternatively, at least one of the second update module 1110 and the sixth sending module 1120 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.
[0245] It should be noted that the information transmission device part in the embodiments of this disclosure corresponds to the information transmission method part in the embodiments of this disclosure. The description of the information transmission device part is specifically referred to in the information transmission method part, and will not be repeated here.
[0246] Figure 12 A block diagram of an electronic device suitable for implementing an information transmission method according to an embodiment of the present disclosure is shown schematically. Figure 12 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0247] like Figure 12 As shown, a computer electronic device 1200 according to an embodiment of the present disclosure includes a processor 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage portion 1209 into a random access memory (RAM) 1203. The processor 1201 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1201 may also include onboard memory for caching purposes. The processor 1201 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0248] RAM 1203 stores various programs and data required for the operation of electronic device 1200. Processor 1201, ROM 1202, and RAM 1203 are interconnected via bus 1204. Processor 1201 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 1202 and / or RAM 1203. It should be noted that the programs may also be stored in one or more memories other than ROM 1202 and RAM 1203. Processor 1201 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0249] According to embodiments of this disclosure, the electronic device 1200 may further include an input / output (I / O) interface 1205, which is also connected to the bus 1204. The electronic device 1200 may also include one or more of the following components connected to the input / output (I / O) interface 1205: an input section 1206 including a keyboard, mouse, etc.; an output section 1207 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN card, modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the input / output (I / O) interface 1205 as needed. A removable medium 1211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1210 as needed so that computer programs read from it can be installed into the storage section 1208 as needed.
[0250] According to embodiments of this disclosure, the method flow according to embodiments of this disclosure can be implemented as a computer software program. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1209, and / or installed from removable medium 1211. When the computer program is executed by processor 1201, it performs the functions defined in the system of embodiments of this disclosure. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0251] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0252] According to embodiments of this disclosure, the computer-readable storage medium can be a non-volatile computer-readable storage medium. Examples include, but are not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0253] For example, according to embodiments of this disclosure, a computer-readable storage medium may include the ROM 1202 and / or RAM 1203 described above and / or one or more memories other than ROM 1202 and RAM 1203.
[0254] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods provided in the embodiments of this disclosure. When the computer program product is run on an electronic device, the program code is used to enable the electronic device to implement the information transmission methods provided in the embodiments of this disclosure.
[0255] When the computer program is executed by the processor 1201, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0256] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 1209, and / or installed from the removable medium 1211. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0257] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0258] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions. Those skilled in the art will understand that the features recited in the various embodiments and / or claims of this disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not expressly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure may be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0259] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. An information transmission method, applied to a first communicating party, comprising: Send an information transmission request to the server, wherein the information transmission request includes the information to be transmitted and the identifier of the first communication party; In response to receiving the original first identifier information corresponding to the first communication party identifier from the server, the original first identifier information is updated to obtain the current first identifier information; The current first identification information is sent to the server, so that the server sends the current first identification information to the second communication party; and In response to receiving current second identification information from the server, an information transmission result is determined based on the current first identification information and the current second identification information. The current second identification information is obtained by the second communicating party after receiving the current first identification information and the current information to be transmitted from the server, updating the original second identification information based on the current first identification information, and sending it to the server. The information transmission result is used to characterize the transmission status of the current information to be transmitted. If the information transmission result indicates that the current information to be transmitted has failed, in response to triggering a timed task, the current first identifier information is updated to obtain the updated current first identifier information and the transmission of the current information to be transmitted is re-executed.
2. The method according to claim 1, wherein, The original first identifier information includes the original first identifier value; The step of updating the original first identifier information corresponding to the first communication party identifier from the server to obtain the current first identifier information includes: In response to receiving the original first identifier information, the current first identifier value is determined based on the original first identifier value; and The original first identifier value is updated using the current first identifier value to obtain the current first identifier information.
3. The method according to claim 2, wherein, The step of responding to receiving current second identifier information from the server and determining the information transmission result based on the current first identifier information and the current second identifier information includes: In response to receiving the current second identification information, the current first identification information and the current second identification information are matched to obtain an identification information matching result; If the identification information matching result indicates that the current first identification information and the current second identification information match, then the information transmission result indicating that the current information to be transmitted has been successfully transmitted is determined; and If the identification information matching result indicates that the current first identification information and the current second identification information do not match, then the information transmission result indicating that the current information to be transmitted has failed is determined.
4. The method according to claim 3, wherein, The current second identification information includes the current second identification value; The step of updating the current first identifier information to obtain the updated current first identifier information includes: Determine the current third identifier value based on the current first identifier value and the current second identifier value; as well as The current first identifier value is updated using the current third identifier value to obtain the updated current first identifier information.
5. The method according to claim 4, further comprising: The updated current first identifier information is sent to the server so that the server can send the updated current first identifier information to the second communication party; as well as In response to receiving the updated current second identifier information from the server, the updated information transmission result is determined based on the updated current first identifier information and the updated current second identifier information.
6. An information transmission method, applied to a server, comprising: In response to receiving an information transmission request from a first communication party, the original first identification information is sent to the first communication party corresponding to the first communication party's identification, so that the first communication party can update the original first identification information to obtain the current first identification information, wherein the information transmission request includes the information to be transmitted. In response to receiving the current first identification information from the first communicating party, the current first identification information and the current information to be transmitted are sent to the second communicating party; and In response to receiving current second identification information from the second communication party, the first communication party sends the current second identification information to the first communication party so that the first communication party determines the information transmission result based on the current first identification information and the current second identification information, wherein the information transmission result is used to characterize the transmission status of the current information to be transmitted; the first communication party is further configured to: in the case that the information transmission result indicates that the current information to be transmitted has failed to be transmitted, in response to triggering a timed task, update the current first identification information, obtain the updated current first identification information, and re-execute the transmission of the current information to be transmitted.
7. The method according to claim 6, wherein, The step of sending the current first identification information and the current information to be transmitted to the second communication party in response to receiving the current first identification information from the first communication party includes: In response to receiving the current first identification information, determine the topic type information corresponding to the current information to be transmitted; Based on the topic type information, the subscription list is queried to obtain at least one second communication party identifier corresponding to the topic type information; and For each of the at least one second communication party identifiers, The current information to be transmitted and the current first identification information are sent to the second communication party corresponding to the second communication party identification.
8. An information transmission method, applied to a second communicating party, comprising: In response to receiving current first identification information and current information to be transmitted from the server, the original second identification information is updated according to the current first identification information to obtain current second identification information, wherein the current first identification information is obtained by the first communicating party updating the original first identification information; and The current second identifier information is sent to the server so that the server can send the current second identifier information to the first communication party. The first communication party is configured to: determine the information transmission result based on the current first identifier information and the current second identifier information, wherein the information transmission result is used to characterize the transmission status of the current information to be transmitted; the first communication party is also configured to: in the case that the information transmission result indicates that the current information to be transmitted has failed to be transmitted, in response to triggering a timed task, update the current first identifier information, obtain the updated current first identifier information, and re-execute the transmission of the current information to be transmitted.
9. The method according to claim 8, wherein, The original second identifier information includes the original second identifier value; In response to receiving current first identification information and current information to be transmitted from the server, the original second identification information is updated according to the current first identification information to obtain the current second identification information, which includes: In response to receiving the current first identifier information, determine the current first identifier value based on the current first identifier information; and The original second identifier value is updated using the current first identifier value to obtain the current second identifier information.
10. An information transmission device, applied to a first communication party, comprising: The first sending module is used to send an information transmission request to the server, wherein the information transmission request includes the information to be transmitted and the identifier of the first communication party; The first update module is configured to update the original first identifier information in response to receiving the original first identifier information corresponding to the first communication party identifier from the server, so as to obtain the current first identifier information; The second sending module is configured to send the current first identification information to the server, so that the server can send the current first identification information to the second communication party; and The first determining module is configured to, in response to receiving current second identification information from the server, determine an information transmission result based on the current first identification information and the current second identification information, wherein the current second identification information is obtained by the second communicating party after receiving the current first identification information and the current information to be transmitted from the server, updating the original second identification information based on the current first identification information and sending it to the server, and the information transmission result is used to characterize the transmission status of the current information to be transmitted; The information transmission device is further configured to: in the event that the information transmission result indicates that the current information to be transmitted has failed, in response to triggering a timed task, update the current first identification information, obtain the updated current first identification information, and re-execute the transmission of the current information to be transmitted.
11. An information transmission device, applied to a server, comprising: The third sending module is used to send the original first identification information to the first communication party corresponding to the first communication party's identification in response to receiving an information transmission request from the first communication party, so that the first communication party can update the original first identification information to obtain the current first identification information, wherein the information transmission request includes the information to be transmitted. The fourth sending module is configured to, in response to receiving the current first identification information from the first communicating party, send the current first identification information and the current information to be transmitted to the second communicating party; and The fifth sending module is configured to, in response to receiving current second identification information from the second communication party, send the current second identification information to the first communication party, so that the first communication party can determine the information transmission result based on the current first identification information and the current second identification information, wherein the information transmission result is used to characterize the transmission status of the current information to be transmitted; the first communication party is further configured to, in response to triggering a timed task, update the current first identification information, obtain the updated current first identification information, and re-execute the transmission of the current information to be transmitted if the information transmission result indicates that the transmission of the current information to be transmitted has failed, obtain the updated current first identification information, and re-execute the transmission of the current information to be transmitted.
12. An information transmission device, applied to a second communication party, comprising: The second update module is configured to, in response to receiving current first identification information and current information to be transmitted from the server, update the original second identification information according to the current first identification information to obtain current second identification information, wherein the current first identification information is obtained by the first communicating party updating the original first identification information; and The sixth sending module is used to send the current second identification information to the server, so that the server can send the current second identification information to the first communication party. The first communication party is used to: determine the information transmission result based on the current first identification information and the current second identification information, wherein the information transmission result is used to characterize the transmission status of the current information to be transmitted; the first communication party is also used to: in the case that the information transmission result indicates that the current information to be transmitted has failed to be transmitted, in response to triggering a timed task, update the current first identification information, obtain the updated current first identification information, and re-execute the transmission of the current information to be transmitted.
13. An electronic device, comprising: One or more processors; Memory, used to store one or more instructions. Wherein, when the one or more instructions are executed by the one or more processors, the one or more processors cause the one or more processors to implement the method of any one of claims 1 to 5, 6 to 7, or 8 to 9.
14. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 5, 6 to 7, or 8 to 9.
15. A computer program product comprising computer-executable instructions, which, when executed, are used to implement the method of any one of claims 1 to 5, 6 to 7, or 8 to 9.
Citation Information
Patent Citations
Message transmission method and device, server and storage medium
CN115412519A