CN115190164B - Network communication method, device, computer equipment and storage medium - Google Patents

Network communication method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN115190164B
CN115190164B CN202210730357.XA CN202210730357A CN115190164B CN 115190164 B CN115190164 B CN 115190164B CN 202210730357 A CN202210730357 A CN 202210730357A CN 115190164 B CN115190164 B CN 115190164B
Authority
CN
China
Prior art keywords
data information
receiving end
message
information
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210730357.XA
Other languages
Chinese (zh)
Other versions
CN115190164A (en
Inventor
申国莉
缪峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mifei Technology Shanghai Co ltd
Original Assignee
Mifei Technology Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mifei Technology Shanghai Co ltd filed Critical Mifei Technology Shanghai Co ltd
Priority to CN202210730357.XA priority Critical patent/CN115190164B/en
Publication of CN115190164A publication Critical patent/CN115190164A/en
Application granted granted Critical
Publication of CN115190164B publication Critical patent/CN115190164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Abstract

The application provides a network communication method, a device, a computer device and a storage medium, which belong to the field of networks, wherein the method comprises the steps of receiving first data information sent by a sending end through a message channel, wherein the first data information carries the information of the sending end, a subject message and a corresponding message execution queue; the control receiving end monitors and checks the first data information through the network port and judges whether the subject message is subscribed or not; the control receiving end receives first data information containing subscribed subject messages and sorts the subject messages according to the message execution queue; the control receiving end generates feedback information according to the ordered subject messages, and generates second data information according to the feedback information and the sending end information; and receiving the second data information sent by the receiving end through the message channel. By the processing scheme of the application, the complexity and system resources of both communication parties are reduced by establishing the public message channel.

Description

Network communication method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of networks, and in particular, to a network communication method, apparatus, computer device, and storage medium.
Background
The transmission of messages between different applications, in particular applications on different hosts, is required, in which case a dedicated message transmission channel needs to be established for transmitting the messages. The current technology is that the detailed address (IP, PORT) party that needs to know the two parties of the message can communicate, and when the message transmission needs one to many or many to one, the number of address information that the two parties need to know or the number of message channels that need to be established increases exponentially. Therefore, how to mask these network details, so that the two information transfer parties can quickly obtain the subscribed subject matter from the exponential information, has become a urgent difficulty to be solved.
Disclosure of Invention
Accordingly, in order to overcome the above-mentioned drawbacks of the prior art, the present application provides a network communication method, apparatus, computer device and storage medium that reduce complexity of both parties of communication and occupation of system resources by establishing a common message channel.
In order to achieve the above object, the present application provides a network communication method, applied to message transmission between different application programs, comprising: receiving first data information sent by a sending end through a message channel, wherein the first data information carries the information of the sending end, a subject message and a corresponding message execution queue; the control receiving end monitors and checks the first data information through a network port and judges whether the subject message is subscribed or not; the control receiving end receives the first data information containing subscribed subject messages and sorts the subject messages according to the message execution queue; the receiving end is controlled to generate feedback information according to the sequenced subject messages, and second data information is generated according to the feedback information and the sending end information; and receiving second data information sent by the receiving end through the message channel.
In one embodiment, the first data information is encrypted by the sending end according to preset protocol information with the receiving end, and the receiving end determines an application program of the sending end through the protocol information.
In one embodiment, the method further comprises: controlling the same application program of at least two different devices to respectively receive the subscribed first data information; the receiving end generates feedback information according to the subject message, and generates second data information according to the transmitting end information and the feedback information; receiving second data information sent by the receiving end through the message channel; the sending end is controlled to monitor and check the second data information through a network port, and whether the subject message is fed back or not is judged; and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the distribution strategy weight based on the feedback information.
In one embodiment, the controlling, based on the feedback information, the sending end to generate first data information corresponding to the receiving end one to one according to a distribution policy weight includes: determining an execution state of the receiving end based on the feedback information; when the receiving end is determined to be abnormal in execution, adjusting distribution strategy weight according to the feedback information; and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the adjusted distribution strategy weight.
In one embodiment, the first data information further includes program identifiers corresponding to the application programs one by one.
The network communication device comprises a transmitting end, a receiving end and a message channel, wherein the message channel is respectively matched with the transmitting end and the receiving end in a working way; the sending end generates first data information according to the theme, wherein the first data information carries the information of the sending end, the theme message and a corresponding message execution queue; the message channel receives first data information sent by a sending end; the receiving end monitors and checks the first data information in the message channel through a network port and judges whether the subject message is subscribed or not; the receiving end receives the subscribed first data information and sorts the subject messages according to the message execution queue so as to be executed later; the receiving end generates feedback information according to the subject message, and generates second data information according to the transmitting end information and the feedback information; the message channel receives second data information sent by the receiving end; and the sending end monitors and checks the second data information through a network port and judges whether the subject message is fed back or not.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
Compared with the prior art, the application has the advantages that: by establishing a public message channel, the two communication parties do not need to know the detailed address of the other party, only need to subscribe to the subject message, the subject message is sent to the public channel in a broadcasting mode through a data packet, and the receiver only needs to check whether the subscribed message is received or not, so that the establishment of a dedicated channel can be reduced, and the complexity of the two communication parties and the occupancy rate of system resources are reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a network communication device in an embodiment of the application;
FIG. 2 is a flow chart of a network communication method in an embodiment of the application; and
FIG. 3 is a flowchart illustrating a strategy weight adjustment procedure according to an embodiment of the present application;
fig. 4 is an internal structural view of a computer device in one embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Other advantages and effects of the present application will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present application with reference to specific examples. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It is noted that various aspects of the embodiments are described below within the scope of the following claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the present disclosure, one skilled in the art will appreciate that one aspect described herein may be implemented independently of any other aspect, and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. In addition, such apparatus may be implemented and/or such methods practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should also be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present application by way of illustration, and only the components related to the present application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided in order to provide a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the application provides a network communication method which is applied to message transmission among different application programs and can be applied to a network communication device shown in fig. 1. Wherein the network communication device includes: a transmitting end, a receiving end and a message channel. The figure is divided into two layers according to a layering mode: an application layer and a transport layer. The application layer comprises at least two hosts, and the sending end and the receiving end belong to different hosts. In one embodiment, each host contains a plurality of different applications. The application layer can generate the first data information or the second data information of the appointed theme according to the convention, and the preset packet field is used for representing the cooperative control command and the calculation data in the first data information or the second data information. The application layer transmits the first data information or the second data information to the transport layer. The application layer comprises a transmitting end and a receiving end. The method comprises the steps that a sending end generates first data information according to a theme, wherein the first data information carries information of the sending end, the theme message and a corresponding message execution queue; the sending end listens to the second data information through the network port and checks the second data information to judge whether the subject message is fed back or not. The receiving end monitors and checks the first data information in the message channel through the network port to judge whether the subject message is subscribed; the receiving end receives the subscribed first data information and sorts the subject information according to the information execution queue so as to be executed later; the receiving end generates feedback information according to the subject message, and generates second data information according to the sending end information and the feedback information. In the embodiments of the present application, the theme message is set in a user-defined manner according to different usage scenarios, the sender sends the theme a, and the receiver can receive the information by subscribing to the theme a. In one embodiment, the transport layer is a message channel that is operatively associated with the sender and receiver, respectively. The message channel can provide a server-free and expandable network communication capability for the nodes of each application layer, and broadcast all the first data information or the second data information. The message channel receives first data information sent by a sending end; the message channel receives second data information sent by the receiving end. The host may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable smart devices.
In one embodiment, as shown in fig. 2, a network communication method is provided, and the method is applied to the network communication device in fig. 1, for illustration, and includes the following steps:
step 201, receiving, through a message channel, first data information sent by a sender, where the first data information carries sender information, a subject message, and a corresponding message execution queue.
The first data information carries the information of the transmitting end, the subject message and the corresponding message execution queue. The subject message may be a string or other structure that classifies the type of information that the system notification encapsulates. The sender information is a sender identifier, and is used for indicating the source of the subject message of the receiving end. When the sender packages the subject message into the first data information, the sender can unpack the subject message into a plurality of data packets, and each data packet carries a message execution queue corresponding to the subject message because the maximum lengths of the first data information and the second data information are fixed in the application.
The message channel receives first data information sent by the sending end. When the communication is multiparty, namely when the sending end needs to send one piece of information to a plurality of receiving ends in the network, the sending end adopts a theme communication mode, packages the theme message into first data information, and sends the first data information into a message channel in a broadcast address mode, so that the receiving end can acquire the first data information conveniently. The receiving end can monitor all the first data information according to the message execution queue and integrate all the first data information to obtain the corresponding subject message.
Step 202, the control receiving end listens to the first data information through the network port and checks the first data information to judge whether the subject message is subscribed.
The receiving end listens to the first data information through the network port and checks the first data information to judge whether the topic message is subscribed. The receiving end checks all the data of the sent first data information and matches the data through the subject information, so that whether the first data information is needed data information or not is judged. The receiving end can only analyze the packet header data of the first data information, thereby realizing the rapid identification of the first data information. The header data may carry the type of information.
In step 203, the control receiving end receives the first data information containing the subscribed subject message, and sorts the subject message according to the message execution queue.
The receiving end can set the buffer space of the first data information, so that the first data information is ensured not to be lost due to the size of the buffer space. The memory of the cache space may be a memory of the first data information. When splitting each first data information, the first data information includes a packet header information, where the packet header information may include information such as a total length of a data packet, a number of split packets (i.e., a total number of message execution queues), a split sequence number (i.e., a sequence number in a message execution queue), a check code, and the like. The receiving end analyzes the data in the packet header for reorganization when receiving the first data information. The time when the receiving end receives the first data information of the same subject message can be different, and when the first data information belonging to the same message execution queue is completely received, the receiving end reorganizes the received first data information according to the message execution queue. The receiving end guarantees the consistency of the sending and receiving sequence of each message in a first-in first-out queue mode in each message execution queue through the message execution queue.
Step 204, the control receiving end generates feedback information according to the ordered subject message, and generates second data information according to the sending end information and the feedback information.
The receiving end generates feedback information according to the ordered subject messages, and generates second data information according to the sending end information and the feedback information. The second data information may or may not be encrypted. In one embodiment, the first data information is encrypted by the transmitting end according to preset protocol information with the receiving end, and the receiving end determines an application program of the transmitting end through the protocol information. The protocol information may be network details such as IP, PORT, application identifier, etc. When the sending end packs the first data information, the network details can be encrypted in a certain mode, the encrypted data and the information to be sent are packed and sent to the information channel, the receiving end unpacks the data packet according to the agreed check and then the network information of the sending end is contained in the data packet, and the corresponding application program of which sending end can know when the information is returned.
In one embodiment, different encryption modes of the sending end can be set to be different, so that the receiving end can conveniently and quickly identify the sending end. In one embodiment, the first data information further includes program identifiers corresponding to the application programs one by one, and different protocol information can be set to correspond to different application programs, so that the receiving end can conveniently and quickly identify the corresponding application programs. Therefore, different application programs of the same host can be provided with corresponding message queues, the concurrent processing capacity of the same host is improved, and the situation that different application programs are always in a waiting state when other programs run is avoided.
Step 205, receiving the second data information sent by the receiving end through the message channel.
The message channel receives second data information sent by the receiving end. The second data information carries the sending end information of the first data information, the receiving end information of the executed subject message, the feedback information and the corresponding message execution queue. The transmitting end and the receiving end in the embodiment are not fixed, and the transmitting end and the receiving end may be inverted for different subject information or different information. For example, in the same subject information, the transmitting end of the first data information is the receiving end of the second data information, and the receiving end of the first data information is the transmitting end of the second data information.
According to the method, through establishing the public message channel, the two communication parties do not need to know the detailed address of the other party, only need to subscribe to the subject message, the subject message is sent to the public channel in a broadcasting mode through the data packet, and the receiver only needs to check whether the message subscribed by the receiver is received or not, so that the establishment of the exclusive channel can be reduced, and the complexity of the two communication parties and the occupancy rate of system resources are reduced.
In one embodiment, the method further comprises the steps of:
controlling the same application program of at least two different devices to respectively receive subscribed first data information;
the receiving end generates feedback information according to the subject message, and generates second data information according to the transmitting end information and the feedback information;
receiving second data information sent by a receiving end through a message channel;
the control sending end monitors and checks the second data information through the network port and judges whether the subject message is fed back or not;
and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the distribution strategy weight based on the feedback information.
According to the method, the same application program can be started on two different hosts at the same time, so that the program safety can be improved, and the usability of the application program can be improved. When the same application program starts one of the two hosts respectively, for example, when the distribution strategy weight is configured to be 50, the sending end distributes the messages to different hosts for processing respectively in five times, so that the aim of balancing the load of message processing is achieved. The value range of the distribution strategy weight can be from 0 to 100, and can be determined according to the processing efficiency of the receiving end. And may be used simultaneously on more than two devices as long as the sum of the values of the distribution policy weights of all devices is 100.
As shown in fig. 3, in one embodiment, based on feedback information, the sending end is controlled to generate first data information corresponding to the receiving end one by one according to the distribution policy weight, which includes the following steps:
step 301, determining an execution state of the receiving end based on the feedback information.
The transmitting end determines the execution state of the receiving end based on the feedback information. The transmitting end at least stores all the theme information transmitted to the receiving end and the transmitting time of the theme information. The sending end can determine the time, execution time, feedback time and the like of the receiving end to receive the theme information according to the feedback information.
The sending end can determine whether the receiving end normally executes and the execution efficiency according to the feedback information of the receiving end and the subject information sent to the receiving end. When the execution efficiency is lower than a preset threshold, the sending end judges that the receiving end is abnormal in execution and needs to adjust the distribution strategy weight. When the transmitting end transmits the first data information to the receiving end, but does not receive the second data information fed back by the receiving end within a preset time, the transmitting end judges that the receiving end fails, the executing abnormality occurs, and the distribution strategy weight also needs to be adjusted.
Step 302, when it is determined that the receiving end performs abnormality, the distribution policy weight is adjusted according to the feedback information.
When the receiving end is determined to be abnormal, the sending end adjusts the distribution strategy weight according to the feedback information. For example, when the receiving end fails, the sending end may adjust the distribution policy weight to be a full value, so as to forward all the subject information originally predicted to be distributed to the receiving end to another host; when the processing efficiency of the receiving end is too low, the sending end can properly adjust the distribution strategy weight to be a low value so as to forward the theme information part originally pre-distributed to the receiving end to another host.
Step 303, the sending end is controlled to generate first data information corresponding to the receiving end one by one according to the adjusted distribution strategy weight.
And the sending end controls the sending end to generate first data information corresponding to the receiving end one by one according to the adjusted distribution strategy weight.
In one embodiment, a network communication method includes:
the message channel is respectively matched with the sending end and the receiving end in a working way;
the method comprises the steps that a sending end generates first data information according to a theme, wherein the first data information carries information of the sending end, the theme message and a corresponding message execution queue;
the message channel receives first data information sent by a sending end;
the receiving end monitors and checks the first data information in the message channel through the network port to judge whether the subject message is subscribed;
the receiving end receives the subscribed first data information and sorts the subject information according to the information execution queue so as to be executed later;
the receiving end generates feedback information according to the subject message, and generates second data information according to the transmitting end information and the feedback information;
the message channel receives second data information sent by the receiving end;
the sending end listens to the second data information through the network port and checks the second data information to judge whether the subject message is fed back or not.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data such as the first data information, the second data information and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a network communication method.
In one embodiment, a computer device is provided comprising a memory storing a computer program and a processor that when executing the computer program performs the steps of: receiving first data information sent by a sending end through a message channel, wherein the first data information carries the information of the sending end, a subject message and a corresponding message execution queue; the control receiving end monitors and checks the first data information through the network port and judges whether the subject message is subscribed or not; the control receiving end receives the first data information containing subscribed subject messages and sorts the subject messages according to the message execution queue; the receiving end is controlled to generate feedback information according to the sequenced subject messages, and second data information is generated according to the feedback information and the sending end information; and receiving the second data information sent by the receiving end through the message channel.
In one embodiment, the processor when executing the computer program further performs the steps of: controlling the same application program of at least two different devices to respectively receive subscribed first data information; the receiving end generates feedback information according to the subject message, and generates second data information according to the transmitting end information and the feedback information; receiving second data information sent by a receiving end through a message channel; the control sending end monitors and checks the second data information through the network port and judges whether the subject message is fed back or not; and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the distribution strategy weight based on the feedback information.
In one embodiment, based on feedback information implemented when the processor executes the computer program, the method for controlling the transmitting end to generate first data information corresponding to the receiving end one to one according to the distribution policy weight includes: determining an execution state of the receiving end based on the feedback information; when the receiving end is determined to be abnormal, adjusting distribution strategy weight according to feedback information; and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the adjusted distribution strategy weight.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving first data information sent by a sending end through a message channel, wherein the first data information carries the information of the sending end, a subject message and a corresponding message execution queue; the control receiving end monitors and checks the first data information through the network port and judges whether the subject message is subscribed or not; the control receiving end receives the first data information containing subscribed subject messages and sorts the subject messages according to the message execution queue; the receiving end is controlled to generate feedback information according to the sequenced subject messages, and second data information is generated according to the feedback information and the sending end information; and receiving the second data information sent by the receiving end through the message channel.
In one embodiment, the computer program when executed by the processor further performs the steps of: controlling the same application program of at least two different devices to respectively receive subscribed first data information; the receiving end generates feedback information according to the subject message, and generates second data information according to the transmitting end information and the feedback information; receiving second data information sent by a receiving end through a message channel; the control sending end monitors and checks the second data information through the network port and judges whether the subject message is fed back or not; and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the distribution strategy weight based on the feedback information.
In one embodiment, based on feedback information implemented when the computer program is executed by the processor, the method for controlling the sending end to generate first data information corresponding to the receiving end one to one according to the distribution policy weight includes: determining an execution state of the receiving end based on the feedback information; when the receiving end is determined to be abnormal, adjusting distribution strategy weight according to feedback information; and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the adjusted distribution strategy weight.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present application should be included in the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (8)

1. A method of network communication for messaging between different applications, comprising:
the message channel receives first data information sent by a sending end, wherein the first data information carries the information of the sending end, a subject message and a corresponding message execution queue;
the receiving end monitors and checks the first data information through a network port and judges whether the subject message is subscribed or not;
the receiving end receives the first data information containing subscribed topic messages and sorts the topic messages according to the message execution queue;
the receiving end generates feedback information according to the sequenced subject messages, and generates second data information according to the feedback information and the sending end information;
and the message channel receives second data information sent by the receiving end.
2. The network communication method according to claim 1, wherein the first data information is encrypted by the transmitting end according to protocol information preset with the receiving end, and the receiving end determines an application program of the transmitting end through the protocol information.
3. The network communication method according to claim 1, wherein the method further comprises:
the same application program of at least two different devices respectively receives the subscribed first data information;
the receiving end generates feedback information according to the subject message, and generates second data information according to the transmitting end information and the feedback information;
the message channel receives second data information sent by the receiving end;
the sending end monitors and checks the second data information through a network port and judges whether the subject message is fed back or not;
and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the distribution strategy weight based on the feedback information.
4. The network communication method according to claim 3, wherein the controlling the transmitting end to generate the first data information corresponding to the receiving end one-to-one according to the distribution policy weight based on the feedback information includes:
determining an execution state of the receiving end based on the feedback information;
when the execution state of the receiving end is abnormal, adjusting the distribution strategy weight according to the feedback information;
and controlling the sending end to generate first data information corresponding to the receiving end one by one according to the adjusted distribution strategy weight.
5. The network communication method according to claim 1, wherein the first data information further includes program identifications corresponding to the application programs one by one.
6. A network communication device is characterized by comprising a transmitting end, a receiving end and a message channel,
the message channel is respectively matched with the sending end and the receiving end in a working way;
the sending end generates first data information according to the theme, wherein the first data information carries the information of the sending end, the theme message and a corresponding message execution queue;
the message channel receives first data information sent by a sending end;
the receiving end monitors and checks the first data information in the message channel through a network port and judges whether the subject message is subscribed or not;
the receiving end receives the subscribed first data information and sorts the subject messages according to the message execution queue;
the receiving end generates feedback information according to the sequenced subject messages, and generates second data information according to the sending end information and the feedback information;
the message channel receives second data information sent by the receiving end;
and the sending end monitors and checks the second data information through a network port and judges whether the subject message is fed back or not.
7. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
CN202210730357.XA 2022-06-24 2022-06-24 Network communication method, device, computer equipment and storage medium Active CN115190164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210730357.XA CN115190164B (en) 2022-06-24 2022-06-24 Network communication method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210730357.XA CN115190164B (en) 2022-06-24 2022-06-24 Network communication method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115190164A CN115190164A (en) 2022-10-14
CN115190164B true CN115190164B (en) 2023-11-03

Family

ID=83515182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210730357.XA Active CN115190164B (en) 2022-06-24 2022-06-24 Network communication method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115190164B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004072800A2 (en) * 2003-02-06 2004-08-26 Progress Software Corporation Dynamic subscription and message routing on a topic between a publishing node and subscribing nodes
CN101160880A (en) * 2005-04-15 2008-04-09 法国电信公司 Communications device and method
CN103944924A (en) * 2014-05-15 2014-07-23 重庆邮电大学 Ubiquitous network publish-subscribe middleware model based on RESTful
CN106330744A (en) * 2016-08-23 2017-01-11 上海创景计算机系统有限公司 Network-based topic subscription system
CN106657130A (en) * 2017-01-09 2017-05-10 上海浦东软件园汇智软件发展有限公司 Access authentication method and access authentication equipment based on MQTT
CN108141404A (en) * 2015-08-07 2018-06-08 萨托里环球有限责任公司 Expansible real-time Message Passing system
CN109088723A (en) * 2018-10-26 2018-12-25 四川长虹电器股份有限公司 A kind of long-range control method based on MQTT agreement
CN109743142A (en) * 2018-09-30 2019-05-10 比亚迪股份有限公司 Information communication method and device
CN110266794A (en) * 2019-06-20 2019-09-20 四川长虹电器股份有限公司 Method for subscribing and system are acted on behalf of based on MQTT server
CN110633442A (en) * 2019-08-19 2019-12-31 阿里巴巴集团控股有限公司 Pushing method and device and electronic equipment
CN111083102A (en) * 2019-10-23 2020-04-28 全球能源互联网研究院有限公司 Internet of things data processing method, device and equipment
CN111314217A (en) * 2019-12-09 2020-06-19 上海金融期货信息技术有限公司 Multilink transmission system
CN111555893A (en) * 2020-04-22 2020-08-18 腾讯科技(深圳)有限公司 Message data transmission method and device, computer equipment and storage medium
CN111835448A (en) * 2020-07-27 2020-10-27 上海挚想科技有限公司 Multi-channel communication time sequence control method and system
CN112134915A (en) * 2020-06-29 2020-12-25 上海金融期货信息技术有限公司 Application layer protocol decoupling universal network processing system
CN112306979A (en) * 2020-10-30 2021-02-02 山东浪潮通软信息科技有限公司 Message queue-based log information processing method and device and readable medium
CN112463400A (en) * 2020-10-30 2021-03-09 中国电子科技集团公司第五十二研究所 Real-time data distribution method and device based on shared memory
CN112565342A (en) * 2020-11-13 2021-03-26 广州市百果园网络科技有限公司 Message pushing method, device, equipment and storage medium based on weight calculation
CN113301558A (en) * 2020-06-29 2021-08-24 阿里巴巴集团控股有限公司 Message transmission method, device, system and storage medium
CN113923094A (en) * 2021-09-01 2022-01-11 浙江绿城未来数智科技有限公司 Method for message intercommunication of intelligent community heterogeneous system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9660943B2 (en) * 2014-04-25 2017-05-23 International Business Machines Corporation Messaging based signaling for communications sessions
US9948739B2 (en) * 2014-08-04 2018-04-17 Cbs Interactive Inc. Techniques to aggregate and broadcast live event data in real-time
US10645181B2 (en) * 2016-12-12 2020-05-05 Sap Se Meta broker for publish-subscribe-based messaging

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004072800A2 (en) * 2003-02-06 2004-08-26 Progress Software Corporation Dynamic subscription and message routing on a topic between a publishing node and subscribing nodes
CN101160880A (en) * 2005-04-15 2008-04-09 法国电信公司 Communications device and method
CN103944924A (en) * 2014-05-15 2014-07-23 重庆邮电大学 Ubiquitous network publish-subscribe middleware model based on RESTful
CN108141404A (en) * 2015-08-07 2018-06-08 萨托里环球有限责任公司 Expansible real-time Message Passing system
CN106330744A (en) * 2016-08-23 2017-01-11 上海创景计算机系统有限公司 Network-based topic subscription system
CN106657130A (en) * 2017-01-09 2017-05-10 上海浦东软件园汇智软件发展有限公司 Access authentication method and access authentication equipment based on MQTT
CN109743142A (en) * 2018-09-30 2019-05-10 比亚迪股份有限公司 Information communication method and device
CN109088723A (en) * 2018-10-26 2018-12-25 四川长虹电器股份有限公司 A kind of long-range control method based on MQTT agreement
CN110266794A (en) * 2019-06-20 2019-09-20 四川长虹电器股份有限公司 Method for subscribing and system are acted on behalf of based on MQTT server
CN110633442A (en) * 2019-08-19 2019-12-31 阿里巴巴集团控股有限公司 Pushing method and device and electronic equipment
CN111083102A (en) * 2019-10-23 2020-04-28 全球能源互联网研究院有限公司 Internet of things data processing method, device and equipment
CN111314217A (en) * 2019-12-09 2020-06-19 上海金融期货信息技术有限公司 Multilink transmission system
CN111555893A (en) * 2020-04-22 2020-08-18 腾讯科技(深圳)有限公司 Message data transmission method and device, computer equipment and storage medium
CN112134915A (en) * 2020-06-29 2020-12-25 上海金融期货信息技术有限公司 Application layer protocol decoupling universal network processing system
CN113301558A (en) * 2020-06-29 2021-08-24 阿里巴巴集团控股有限公司 Message transmission method, device, system and storage medium
CN111835448A (en) * 2020-07-27 2020-10-27 上海挚想科技有限公司 Multi-channel communication time sequence control method and system
CN112306979A (en) * 2020-10-30 2021-02-02 山东浪潮通软信息科技有限公司 Message queue-based log information processing method and device and readable medium
CN112463400A (en) * 2020-10-30 2021-03-09 中国电子科技集团公司第五十二研究所 Real-time data distribution method and device based on shared memory
CN112565342A (en) * 2020-11-13 2021-03-26 广州市百果园网络科技有限公司 Message pushing method, device, equipment and storage medium based on weight calculation
CN113923094A (en) * 2021-09-01 2022-01-11 浙江绿城未来数智科技有限公司 Method for message intercommunication of intelligent community heterogeneous system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A cloud-hosted hybrid framework for consuming Web Services on mobile devices;Rahnuma Kazi等;2013 International Conference on Selected Topics in Mobile and Wireless Networking (MoWNeT);全文 *
基于Pub/Sub模式的智能消息中间件研究;王广泽;;信息技术(第05期);全文 *

Also Published As

Publication number Publication date
CN115190164A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US20210226902A1 (en) Time-Sensitive Networking Communication Method and Apparatus
CN113596191B (en) Data processing method, network element equipment and readable storage medium
WO2021232568A1 (en) Method, terminal and system for transceiving data over wireless local area network, and network access device
TWI396398B (en) Method and apparatus of transmission time interval bundling management
CN107306438A (en) A kind of generation method of wireless access network section, wireless access network and section manager
CN107135279B (en) Method and device for processing long connection establishment request
CN107682434B (en) Underwater sensor network architecture and implementation method thereof
WO2023000936A1 (en) Data processing method, function device and readable storage medium
CN111935017B (en) Cross-network application calling method and device and routing equipment
CN108377579B (en) Method, device, terminal and storage medium for controlling radio resource control connection
WO2011044786A1 (en) Unified message scheduling system, service message notification method and system
JP2015537454A (en) Queue scheduling method, apparatus and system
WO2020238901A1 (en) Communication method and related device
CN115190164B (en) Network communication method, device, computer equipment and storage medium
CN107104813B (en) Information transmission method, gateway and controller
WO2022100211A1 (en) Data processing method and apparatus, storage medium, terminal, and network access point device
WO2017177438A1 (en) Transmission method and apparatus for control information
CN111464448A (en) Data transmission method and device
CN114979002A (en) Flow control method and flow control device
US20230020573A1 (en) Transmission tunnel changing method, access network device, and core network device
WO2018000393A1 (en) Method, device and system for managing network slice
CN110324857B (en) Method and device for processing service quality data stream
CN116997027A (en) Resource scheduling method, device, communication equipment and storage medium
Zheng et al. Algorithms and stability analysis for content distribution over multiple multicast trees
US9391850B2 (en) Method and apparatus for quality-of-service (QoS) management

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201306 1st Floor, No. 3-4, Lane 1775, Qiushan Road, Lingang New Area, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Mifei Technology (Shanghai) Co.,Ltd.

Address before: 200131 floor 1, No. 3-4, Lane 1775, Qiushan Road, Lingang xinpian District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant before: MI FEI INDUSTRIAL (SHANGHAI) Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant