CN115190164A - Network communication method, device, computer equipment and storage medium - Google Patents
Network communication method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115190164A CN115190164A CN202210730357.XA CN202210730357A CN115190164A CN 115190164 A CN115190164 A CN 115190164A CN 202210730357 A CN202210730357 A CN 202210730357A CN 115190164 A CN115190164 A CN 115190164A
- Authority
- CN
- China
- Prior art keywords
- data information
- message
- receiving end
- information
- sending end
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
The application provides a network communication method, a device, computer equipment and a storage medium, belonging to the network field, 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 sending end information, a theme message and a corresponding message execution queue; the control receiving end intercepts 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 the subscribed theme messages and sorts the theme messages according to the message execution queue; the control receiving end generates feedback information according to the sequenced theme messages and generates second data information according to the feedback information and the sending end information; and receiving second data information sent by the receiving end through the message channel. By the processing scheme, the complexity and system resources of the two communication parties are reduced by establishing the common message channel.
Description
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
When messages are transmitted between different applications (especially, between applications on different hosts), a dedicated message channel is established for transmitting messages. The prior art needs to know the detailed addresses (IP, PORT) of both message transmission parties for communication, and when message transmission needs one-to-many or many-to-one, the number of address information or message channels to be established, which both message transmission parties need to know, increases exponentially. Therefore, how to shield these network details and let both parties of information delivery quickly obtain subscribed subject contents from exponential information becomes a difficult point to be solved urgently.
Disclosure of Invention
Therefore, in order to overcome the above drawbacks of the prior art, the present application provides a network communication method, apparatus, computer device and storage medium for reducing complexity of both communication parties 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 applications, including: receiving first data information sent by a sending end through a message channel, wherein the first data information carries the sending end information, a subject message and a corresponding message execution queue; a control receiving end intercepts and checks the first data information through a network port, and judges whether the theme message is subscribed or not; a control receiving end receives the first data information containing the subscribed theme messages and sorts the theme messages according to the message execution queue; controlling the receiving end to generate feedback information according to the sequenced theme messages, and generating second data information 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 a sending end according to protocol information preset between the sending end and the receiving end, and the receiving end determines an application program of the sending end according to 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 theme message and generates second data information according to the sending end information and the feedback information; receiving second data information sent by the receiving end through the message channel; controlling the sending end to intercept and check the second data information through a network port and judging 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, the controlling, by the sending end according to the distribution policy weight and based on the feedback information, the generating of the first data information corresponding to the receiving end one to one includes: determining an execution state of the receiving end based on the feedback information; when the receiving end is determined to execute the abnormity, the weight of the distribution strategy is adjusted according to the feedback information; and controlling the sending end to generate first data information which corresponds 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 to one.
A network communication device comprises a sending end, a receiving end and a message channel, wherein 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 sending end information, 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 theme messages according to the message execution queue for subsequent execution; the receiving end generates feedback information according to the theme message 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 intercepts and checks the second data information through a network port and judges whether the theme message is fed back.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
Compared with the prior art, the application has the advantages that: by proposing a common message channel, two communication parties do not need to know the detailed address of the other party, only need to subscribe the theme message, the theme message is sent to the common channel in a broadcasting way through a data packet, and a receiver only needs to check whether the message is received by the self-subscribed message, 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 can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used 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 it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a network communication device in an embodiment of the present application;
fig. 2 is a flow chart illustrating a network communication method according to an embodiment of the present application; and
FIG. 3 is a schematic flow chart of the policy weight adjustment step in an embodiment of the present application;
fig. 4 is an internal structural diagram of a computer device in one embodiment of the present application.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The following description of the embodiments of the present application is provided by way of specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure herein. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. The application is capable of other and different embodiments and its several details are capable of modifications and various changes in detail without departing from the spirit of the application. It should be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that various aspects of the embodiments are described below within the scope of the appended 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 application, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects 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 of the several aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present application, and the drawings only show the components related to the present application rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided 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 present application provides a network communication method, which is applied to message transmission between different applications and can be applied to a network communication device as shown in fig. 1. Wherein the network communication device comprises: a sending end, a receiving end and a message channel. The drawing 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 respectively. In one embodiment, each host contains a plurality of different applications. The application layer can generate first data information or second data information according to appointed subjects, and the preset packet fields in the first data information or the second data information are used for representing the cooperative control command and the calculation data. And the application layer sends the first data information or the second data information to the transmission layer. The application layer comprises a sending 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 the sending end information, the theme message and a corresponding message execution queue; the sending end intercepts and checks the second data information through the network port, and judges whether the theme message is fed back. The receiving end monitors and checks the first data information in the message channel through the network port and judges whether the subject message is subscribed or not; a receiving end receives the subscribed first data information and sorts the subject messages according to the message execution queue for subsequent execution; and the receiving terminal generates feedback information according to the theme message and generates second data information according to the sending terminal information and the feedback information. In each embodiment of the application, the theme message is self-defined according to different use scenes, the sending end sends the theme A, and the receiving end can receive the message only by subscribing the theme A. In one embodiment, the transport layer is a message channel, and the message channel is respectively in working cooperation with the sending end and the receiving end. The message channel can provide a server-free and expandable network communication capability for the nodes of each application layer, and all the first data information or the second data information is broadcasted. A message channel receives first data information sent by a sending end; and the message channel receives the 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, which is described by taking the method as an example applied to the network communication device in fig. 1, and includes the following steps:
The first data information carries sending end information, a theme message and a corresponding message execution queue. The subject message may be a string or other structure that classifies the type of information encapsulated by the system notification. The sender information is a sender identifier for indicating the source of the receiver topic message. When the sending end packs the subject message into the first data information, in the application, because the maximum length of the first data information and the second data information is fixed, the sending end 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.
The message channel receives first data information sent by a sending end. When the communication is multiparty, that is, when the sending end needs to send a message to multiple receiving ends in the network, the sending end adopts the mode of theme communication, packs the theme message into the first data message, and sends the first data message to the message channel in the form of broadcast address, so that the receiving end can obtain the first data message conveniently. The receiving end can intercept all the first data information according to the message execution queue and integrate all the first data information to obtain the corresponding theme message.
The receiving end intercepts and checks the first data information through the network port and judges whether the subject message is subscribed or not. And the receiving end checks all the data of the first data information sent, and matches the data through the subject information, so as to judge whether the first data information is the required data information. The receiving end can only analyze the 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.
The receiving end can set the buffer space of the first data information, thereby ensuring that the first data information is not 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 each piece of first data information is split, the first data information includes a piece of header information, and the header information may include information such as a total length of the data packet, a number of split packets (i.e., a total number of the message execution queue), a split sequence number (i.e., a sequence number in the message execution queue), and a check code. And the receiving end analyzes the data in the packet header for recombination when receiving the first data information. The receiving end receives the first data information of the same subject message at different times, and when the first data information of the same message execution queue is completely received, the receiving end recombines the received first data information according to the message execution queue. The receiving end ensures the consistency of the order of sending and receiving the messages every day in a first-in first-out queue mode in each message execution queue through the message execution queue.
And 204, controlling the receiving end to generate feedback information according to the sequenced theme messages, and generating second data information according to the sending end information and the feedback information.
And the receiving terminal generates feedback information according to the sequenced theme messages and generates second data information according to the sending terminal 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 sending end according to protocol information preset between the sending end and the receiving end, and the receiving end determines the application program of the sending end according to the protocol information. The protocol information may be IP, PORT, application identifier, etc. network details. When the sending end packs the first data information, network details can be encrypted in a certain mode, the encrypted data and the message to be sent are packed and sent to the message channel, the receiving end unpacks according to an agreed format and receives the data packet containing the network information of the sending end, and when the message is returned, the sending end can know which corresponding application program of the sending end sends the message.
In one embodiment, different encryption modes of different sending ends can be set, so that the receiving end can quickly identify the sending end. In one embodiment, the first data information further includes program identifiers corresponding to the application programs one to 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 set corresponding message queues, the concurrent processing capacity of the application programs is increased, and the situation that different application programs are always in a waiting state when other programs run is avoided.
And step 205, receiving the second data information sent by the receiving end through the message channel.
And the message channel receives the 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. In the embodiment, the sending end and the receiving end are not fixed, and may be inverted for different subject information or different information. For example, in the same subject information, the sending 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 sending end of the second data information.
According to the method, a common message channel is suggested, two communication parties do not need to know the detailed address of the other communication party and only need to subscribe the theme message, the theme message is sent to the common channel in a broadcasting mode through the data packet, and a receiving party only needs to check whether the message is subscribed by the receiving party or not to receive the message, 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 the subscribed first data information;
the receiving end generates feedback information according to the theme message and generates second data information according to the sending 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 theme 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. And when the same application program starts one branch on two hosts respectively, for example, when the weight of the distribution strategy is configured to be 50, the sender will distribute the messages to different hosts for processing respectively in five or five divisions, thereby achieving the purpose of load balancing of message processing. The value range of the distribution strategy weight can be from 0 to 100, and can be determined according to the processing efficiency of a receiving end. And may be used on more than two devices simultaneously 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, controlling the sending 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 the following steps:
The transmitting end determines the execution state of the receiving end based on the feedback information. The sending end at least stores all the theme information sent to the receiving end and the sending time of the theme information. The sending end can determine the time, execution time, feedback time and the like of the receiving end for receiving the theme information according to the feedback information.
The sending end can determine whether the receiving end executes normally and the execution efficiency according to the feedback information of the receiving end and the theme information sent to the receiving end. And when the execution efficiency is lower than a preset threshold value, the sending end judges that the receiving end is abnormal in execution and needs to adjust the weight of the distribution strategy. When the sending end sends the first data information to the receiving end but does not receive the second data information fed back by the receiving end within the preset time, the sending end judges that the receiving end is in failure, the execution is abnormal, and the weight of the distribution strategy also needs to be adjusted.
And when the receiving end is determined to execute the abnormity, the sending end adjusts the weight of the distribution strategy according to the feedback information. For example, when the receiving end fails, the sending end may adjust the distribution policy weight to a full value, so as to completely forward the theme information originally intended to be distributed to the receiving end to another host; when the receiving end has low processing efficiency, the sending end can appropriately adjust the distribution strategy weight to a low value so as to forward the theme information part originally expected to be distributed to the receiving end to another host.
And the sending end controls the sending end to generate first data information which corresponds 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 the sending end information, the theme message and a corresponding message execution queue;
a 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 and judges whether the subject message is subscribed or not;
a receiving terminal receives the subscribed first data information and sorts the subject messages according to the message execution queue for subsequent execution;
the receiving end generates feedback information according to the theme message 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;
the sending end intercepts and checks the second data information through the network port, and judges 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 comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as first data information, 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, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: receiving first data information sent by a sending end through a message channel, wherein the first data information carries the sending end information, 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; a control receiving end receives the first data information containing the subscribed theme messages and sorts the theme messages according to the message execution queue; controlling the receiving end to generate feedback information according to the sequenced theme messages, and generating second data information 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 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 the subscribed first data information; the receiving end generates feedback information according to the theme message and generates second data information according to the sending 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 theme message is fed back or not; and controlling the sending end to generate first data information which corresponds to the receiving end one by one according to the distribution strategy weight based on the feedback information.
In one embodiment, the controlling, by a processor executing a computer program, a sending end to generate first data information corresponding to a receiving end one to one according to a distribution policy weight based on feedback information includes: determining an execution state of a receiving end based on the feedback information; when the receiving end is determined to execute the abnormity, the weight of the distribution strategy is adjusted according to the feedback information; and controlling the sending end to generate first data information which corresponds 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 sending end information, a theme 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; a control receiving end receives the first data information containing the subscribed theme messages and sorts the theme messages according to the message execution queue; controlling the receiving end to generate feedback information according to the sequenced theme messages, and generating second data information 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 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 the subscribed first data information; the receiving end generates feedback information according to the theme message and generates second data information according to the sending end information and the feedback information; receiving second data information sent by a receiving end through a message channel; the control sending end intercepts 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 which corresponds to the receiving end one by one according to the distribution strategy weight based on the feedback information.
In one embodiment, a method for controlling a sending end to generate first data information corresponding to a receiving end in a one-to-one manner according to a distribution policy weight based on feedback information, when a computer program is executed by a processor, includes: determining an execution state of a receiving end based on the feedback information; when the receiving end is determined to execute the abnormity, the weight of the distribution strategy is adjusted according to the feedback information; and controlling the sending end to generate first data information which corresponds to the receiving end one by one according to the adjusted distribution strategy weight.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (8)
1. A network communication method for message transmission between different applications, comprising:
receiving first data information sent by a sending end through a message channel, wherein the first data information carries the sending end information, a theme message and a corresponding message execution queue;
the control receiving end intercepts and checks the first data information through a network port and judges whether the theme message is subscribed or not;
a control receiving end receives the first data information containing the subscribed theme messages and sorts the theme messages according to the message execution queue;
controlling the receiving end to generate feedback information according to the sequenced theme messages, and generating second data information according to the feedback information and the sending end information;
and receiving second data information sent by the receiving end through the message channel.
2. The network communication method according to claim 1, wherein the first data message is encrypted by a sending end according to protocol information preset between the sending end and the receiving end, and the receiving end determines an application program of the sending end according to the protocol information.
3. The network communication method of claim 1, wherein 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 theme message and generates second data information according to the sending end information and the feedback information;
receiving second data information sent by the receiving end through the message channel;
controlling the sending end to intercept and check the second data information through a network port, and judging whether the theme message is fed back;
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 sending end to generate the first data information in one-to-one correspondence with the receiving end according to the distribution policy weight based on the feedback information comprises:
determining an execution state of the receiving end based on the feedback information;
when the execution state of the receiving end is abnormal, the weight of the distribution strategy is adjusted according to the feedback information;
and controlling the sending end to generate first data information which corresponds 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 a program identifier corresponding to an application program one to one.
6. A network communication device is characterized by comprising a sending 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 sending end information, 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 theme messages according to the message execution queue for subsequent execution;
the receiving end generates feedback information according to the theme message 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 intercepts 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, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
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 true CN115190164A (en) | 2022-10-14 |
CN115190164B 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 (23)
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 |
US20150312177A1 (en) * | 2014-04-25 | 2015-10-29 | International Business Machines Corporation | Messaging based signaling for communications sessions |
US20160036896A1 (en) * | 2014-08-04 | 2016-02-04 | Cbs Interactive Inc. | Techniques to aggregate and broadcast live event data in real-time |
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 |
US20180167476A1 (en) * | 2016-12-12 | 2018-06-14 | Sap Se | Meta broker for publish-subscribe-based messaging |
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 |
-
2022
- 2022-06-24 CN CN202210730357.XA patent/CN115190164B/en active Active
Patent Citations (23)
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 |
US20150312177A1 (en) * | 2014-04-25 | 2015-10-29 | International Business Machines Corporation | Messaging based signaling for communications sessions |
CN103944924A (en) * | 2014-05-15 | 2014-07-23 | 重庆邮电大学 | Ubiquitous network publish-subscribe middleware model based on RESTful |
US20160036896A1 (en) * | 2014-08-04 | 2016-02-04 | Cbs Interactive Inc. | Techniques to aggregate and broadcast live event data in real-time |
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 |
US20180167476A1 (en) * | 2016-12-12 | 2018-06-14 | Sap Se | Meta broker for publish-subscribe-based messaging |
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 |
CN113301558A (en) * | 2020-06-29 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Message transmission method, device, system and storage medium |
CN112134915A (en) * | 2020-06-29 | 2020-12-25 | 上海金融期货信息技术有限公司 | Application layer protocol decoupling universal network processing system |
CN111835448A (en) * | 2020-07-27 | 2020-10-27 | 上海挚想科技有限公司 | Multi-channel communication time sequence control method and system |
CN112463400A (en) * | 2020-10-30 | 2021-03-09 | 中国电子科技集团公司第五十二研究所 | Real-time data distribution method and device based on shared memory |
CN112306979A (en) * | 2020-10-30 | 2021-02-02 | 山东浪潮通软信息科技有限公司 | Message queue-based log information processing method and device and readable medium |
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)
Title |
---|
RAHNUMA KAZI等: "A cloud-hosted hybrid framework for consuming Web Services on mobile devices", 2013 INTERNATIONAL CONFERENCE ON SELECTED TOPICS IN MOBILE AND WIRELESS NETWORKING (MOWNET) * |
王广泽;: "基于Pub/Sub模式的智能消息中间件研究", 信息技术, no. 05 * |
Also Published As
Publication number | Publication date |
---|---|
CN115190164B (en) | 2023-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107135279B (en) | Method and device for processing long connection establishment request | |
US9565681B2 (en) | Low power and fast application service transmission | |
CN112039796B (en) | Data packet transmission method and device, storage medium and electronic equipment | |
CN106953797B (en) | RDMA data transmission method and device based on dynamic connection | |
WO2021120374A1 (en) | Message processing method, processing unit, and a virtual private network server | |
CN112822724B (en) | Message forwarding method and device | |
CN112788060A (en) | Data packet transmission method and device, storage medium and electronic equipment | |
CN111935017B (en) | Cross-network application calling method and device and routing equipment | |
CN114363351A (en) | Proxy connection suppression method, network architecture and proxy server | |
CN112702362B (en) | Method and device for enhancing TCP/IP protocol stack, electronic equipment and storage medium | |
CN107426109B (en) | Traffic scheduling method, VNF module and traffic scheduling server | |
US10154116B1 (en) | Efficient synchronization of locally-available content | |
CN115190164A (en) | Network communication method, device, computer equipment and storage medium | |
CN113904871B (en) | Access method of network slice, PCF entity, terminal and communication system | |
CN115633037A (en) | Method, device, virtual gateway equipment, medium and system for forwarding data packet | |
WO2022100211A1 (en) | Data processing method and apparatus, storage medium, terminal, and network access point device | |
US10728291B1 (en) | Persistent duplex connections and communication protocol for content distribution | |
CN111245794B (en) | Data transmission method and device | |
WO2023222077A1 (en) | Resource configuration method and apparatus, and related device | |
CN113891398B (en) | Resource determination method, equipment and storage medium | |
CN115955437B (en) | Data transmission method, device, equipment and medium | |
CN111918365B (en) | Network distribution method, device and system of Internet of things and storage medium | |
US20240007895A1 (en) | Communication control device, communication control method and recording medium | |
WO2023152980A1 (en) | Resource sharing system | |
CN110446263B (en) | Data transmission method and device |
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 |