CN112422565B - Message processing method and device, storage medium and electronic device - Google Patents

Message processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112422565B
CN112422565B CN202011296407.5A CN202011296407A CN112422565B CN 112422565 B CN112422565 B CN 112422565B CN 202011296407 A CN202011296407 A CN 202011296407A CN 112422565 B CN112422565 B CN 112422565B
Authority
CN
China
Prior art keywords
message
substructure
network structure
target network
communication protocol
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
CN202011296407.5A
Other languages
Chinese (zh)
Other versions
CN112422565A (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011296407.5A priority Critical patent/CN112422565B/en
Publication of CN112422565A publication Critical patent/CN112422565A/en
Application granted granted Critical
Publication of CN112422565B publication Critical patent/CN112422565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The invention discloses a message processing method, a message processing device, a storage medium and an electronic device. Wherein, the method comprises the following steps: receiving a first message sent by a first terminal configured with a first communication protocol, wherein the message format of the first message is a first message format recognizable by the first terminal; inputting a first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols; and acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server. The invention solves the technical problem of poor adaptability of message processing.

Description

Message processing method, message processing device, storage medium and electronic device
Technical Field
The present invention relates to the field of computers, and in particular, to a message processing method and apparatus, a storage medium, and an electronic apparatus.
Background
Nowadays, in an internet of things system, hundreds of terminal devices are often required to be accessed, and the terminal devices are not devices of the same manufacturer. There is a problem that the background system needs to have compatibility of various protocols. At present, the commonly adopted mode is that devices with different protocols can be accessed into different background service nodes, so that a background system is not a pure distributed system any more, and service resources cannot be fully utilized. That is, in the prior art, due to incompatibility between service nodes, message processing is dispersed, and further, subsequent operation and maintenance workload is heavy.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a message processing method, a message processing device, a storage medium and an electronic device, and at least solves the technical problem of poor adaptability of message processing.
According to an aspect of an embodiment of the present invention, there is provided a message processing method, including: receiving a first message sent by a first terminal configured with a first communication protocol, wherein the message format of the first message is a first message format recognizable by the first terminal; inputting the first message into a target network structure of a target server, and determining an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the target network structure is used for converting message formats, and the target network structure comprises at least two uplink substructures corresponding to different communication protocols; and acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein a second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
According to another aspect of the embodiments of the present invention, there is also provided a message processing apparatus, including: a first receiving unit, configured to receive a first message sent by a first terminal configured with a first communication protocol, where a message format of the first message is a first message format recognizable by the first terminal; a first determining unit, configured to input the first message into a target network structure of a target server, and determine an uplink sub-structure corresponding to the first communication protocol in the target network structure, where the target network structure is used to convert a message format, and the target network structure includes at least two uplink sub-structures corresponding to different communication protocols; a first obtaining unit, configured to obtain a second message output by an uplink sub-structure corresponding to the first communication protocol in the target network structure, where a second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above message processing method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the message processing method through the computer program.
In the embodiment of the present invention, a first message sent by a first terminal configured with a first communication protocol is received, where a message format of the first message is a first message format recognizable by the first terminal; inputting the first message into a target network structure of a target server, and determining an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the target network structure is used for converting message formats, and the target network structure comprises at least two uplink substructures corresponding to different communication protocols; and acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the second message format of the second message corresponds to the first communication protocol, and is a message format recognizable by the target server, and by converting the message format of the input message into a message format recognizable by the server and corresponding to the input message protocol in a manner of converting the message format by using the network structure, the purpose of completing the processing of the message without configuring a plurality of service nodes capable of converting only a single protocol message is achieved, thereby achieving the effect of improving the uniformity of message processing and further solving the technical problem of poor adaptability of message processing.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative message processing method according to an embodiment of the invention;
FIG. 2 is a schematic illustration of a flow chart of an alternative message processing method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative message processing method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative message processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative message processing method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an alternative message processing method according to an embodiment of the invention;
FIG. 7 is a schematic diagram of an alternative message processing method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an alternative message processing method according to an embodiment of the invention;
FIG. 9 is a schematic diagram of an alternative message processing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a message processing method is provided, and optionally, as an optional implementation manner, the message processing method may be applied, but not limited, to the environment shown in fig. 1. The system may include, but is not limited to, a user equipment 102, a network 110, and a server 112, wherein the user equipment 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104. Optionally, the user device 102 may be, but is not limited to, a smart home device under the internet of things, such as the smart air conditioner shown in fig. 1. Optionally, the sensible temperature detected by the current smart air conditioner may be, but is not limited to being, displayed on the display 108.
The specific process comprises the following steps:
step S102, the user equipment 102 acquires a body sensing temperature of a current environment, which is detected by a temperature sensor installed on the user equipment 102, and generates a first message, wherein the user equipment 102 is configured with a first communication protocol, the first message comprises the body sensing temperature, and the first message corresponds to the first communication protocol;
steps S104-S106, the user equipment 102 sends a first message to the server 112 via the network 110;
steps S108-S112, the server 112 processes the first message corresponding to the first communication protocol through the processing engine 116, so as to generate a second message corresponding to the first communication protocol, wherein the second message is in a message format recognizable to the server 112; the server 112 searches preset data corresponding to the second message in the database 114, and then generates a corresponding service instruction, where the service instruction is used to instruct to adjust temperature control, and for example, if a preset temperature value is lower than 36 degrees, a service instruction used to instruct to increase temperature is generated; the server 112 processes the service instruction corresponding to the first communication protocol through the processing engine 116, so as to generate a third message corresponding to the first communication protocol, wherein the third message is in a message format recognizable by the first terminal 102.
Steps S114 to S116, the server 112 sends the third message to the user device 102 through the network 110, the processor 106 in the user device 102 adjusts the operating range according to the third message, for example, adjusts the temperature range, displays the real-time sensible temperature after the operating range is adjusted in the display 108, and stores the third message in the memory 104.
Optionally, as an optional implementation manner, as shown in fig. 2, the message processing method includes:
s202, receiving a first message sent by a first terminal configured with a first communication protocol, wherein the message format of the first message is a first message format recognizable by the first terminal;
s204, inputting the first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols;
s206, acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
Optionally, in this embodiment, the message processing method may be applied, but not limited to, in an internet of things scenario, and specifically, may be applied, but not limited to, to a background server to receive or send terminal devices configured with different protocols. At present, a common access system supporting multiple protocols generally adopts a mode that one protocol corresponds to one class of service nodes, that is, a service end access system is cut into several classes of independent subsystems which are incompatible with each other.
Optionally, in this embodiment, the communication protocol may refer to, but is not limited to, rules and conventions that must be followed by two entities to complete communication or service, and a common language must be provided between a plurality of data communication systems in different geographic locations, which are interconnected by communication channels and devices, to enable the data communication systems to cooperate to realize information interaction and resource sharing. For example, a first terminal configured with a first communication protocol cannot directly communicate or service with a service node or server configured with only a second communication protocol.
Optionally, in this embodiment, the message format may refer to, but is not limited to, a message format that can be recognized by different terminals or servers, such as a byte message format, an object message format, a service message format, and the like. The conversion of the message format may be, but is not limited to, by a decoder or encoder, wherein the decoder may be, but is not limited to, a hardware/software device capable of decoding the digital data stream back into an analog signal. An encoder may be, but is not limited to, a device that formulates, converts or otherwise transforms signals or data into a form of signals that may be used for communication, transmission, and storage.
Optionally, in this embodiment, the target server may include, but is not limited to, a plurality of sub-servers, and each sub-server may include, but is not limited to, a target network structure.
For further example, optionally as shown in fig. 3, the target server 302 includes n service nodes, and each service node includes a target network structure, where the target network structure is configured to convert message formats of messages corresponding to various protocols sent by the terminal into a message format that can be recognized by the target server, for example, the terminal a sends a message corresponding to the communication protocol a to the first service node, and then the target server 302 obtains a message corresponding to the communication protocol a that is output by the first service node and that can be recognized by the target server 302. In addition, in a case that the first service node is in the working state, messages sent by other terminals do not need to wait, and the target service node may but is not limited to send the received messages to other service nodes in the idle state, such as the second service node. Optionally, the dashed line in fig. 3 is used to indicate that the message sent by the terminal may be sent to a different serving node for conversion.
Optionally, in this embodiment, the target network structure may be, but is not limited to, convert a message format that is recognizable by the terminal but not recognizable by the server into a message format that is recognizable by the server, and may also be, but is not limited to, convert a message format that is recognizable by the server but not recognizable by the terminal into a message format that is recognizable by the terminal. For example, the target network structure may be, but is not limited to, a network structure built based on a netty network framework, and optionally, the netty network framework may be, but is not limited to, an asynchronous time-driven network application framework, which supports rapid development of maintainable high-performance protocol-oriented servers and clients, and may be, but is not limited to, suitable for a request/processing scenario with large client data, such as a web server.
By way of further illustration, an alternative target network architecture may be, but is not limited to, such as that shown in fig. 4, the target network architecture including a network layer 402, a decoder 404, a message handler 406, and an encoder 408, wherein the network layer 402 may, but is not limited to, further manage data communication in the network over the data frame transfer function between two adjacent endpoints provided by the data link layer, manage data trying to transfer from a source end to a destination end via several intermediate nodes, thereby providing the most basic end-to-end data transfer service to the transport layer, the decoder 404 may, but is not limited to, convert byte messages into message objects, the encoder 408 may, but is not limited to, convert message objects into byte messages, the message handler 406 may, but is not limited to, channel message object processing, such as the message handler 406 may, but is not limited to, a handler, wherein the handler is mainly used for asynchronous message processing, when a message is sent, a message queue is entered first, a function of sending a message is returned, and another part of the message is taken out one by one in the message queue, and then the message is processed, that is not a synchronous process, that is generally used for processing a relatively long operation.
Specifically, assuming that the target network structure is a network structure built based on a netty network architecture, and further utilizing a channelpipeine mechanism of the netty network architecture, the netty message can be intercepted in a manner of adding a ChannelHandler to the channelpipeine, and the customized logic processing is performed. Optionally, the ChannelHandler is divided into two categories: one is the InboundHandler, which is intended to handle incoming messages; the other is the outbound handler, which is intended to handle outgoing messages. As can be seen from the message flow direction of the ChannelPipeline, a message will pass through one or more inboundhandlers after entering, and a message will pass through one or more outboundhandlers when flowing out. Where both types of handlers are where customized logic can be added. In the normal protocol message processing, inboundHandler corresponds to the decoder 404, and outboundhandler corresponds to the encoder 408.
It should be noted that, a first message sent by a first terminal configured with a first communication protocol is received, where a message format of the first message is a first message format recognizable to the first terminal; inputting a first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols; and acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
By further example, optionally continuing to explain with fig. 5 based on the scenario shown in fig. 4, the scenario includes a terminal 502 and a service processing layer 504 in the target server, where the service processing layer 504 is configured to convert a message output by the target network structure into a service instruction corresponding to the target server.
Furthermore, the corresponding encoder 408 and decoder 404 may be written for different protocols, and multiple protocols may be sufficient to configure multiple decoders 404 and encoders 408 in the ChannelPipeline. Thus, compatible extension of the protocol can be conveniently realized. Assuming that two protocols (one is protocol a-custom, and one is protocol B-MQTT protocol) are taken as an example, when the netty is initialized, corresponding encoders and decoders need to be written for the two protocols and registered in the channels, for example, a custom protocol encoder, an MQTT protocol encoder, a corresponding custom protocol decoder, an MQTT protocol decoder, a corresponding custom protocol message processor, and an MQTT protocol message processor.
By way of further example, parsing for multiple protocols may be achieved by configuring each protocol with an encoder 408, decoder 404, and message processor 406. And from the flow of messages (pointed by the arrows), the messages are divided into uplink (terminal 502 to target server) messages and downlink (target server to terminal 502) messages.
According to the embodiment provided by the application, a first message sent by a first terminal configured with a first communication protocol is received, wherein the message format of the first message is a first message format which can be identified by the first terminal; inputting a first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols; the method comprises the steps of obtaining a second message output by an uplink substructure corresponding to a first communication protocol in a target network structure, wherein the second message format of the second message corresponds to the first communication protocol, the second message format is a message format which can be identified by a target server, and converting the message format of the input message into a message format which can be identified by the server and corresponds to the input message protocol by using a mode of converting the message format by the network structure, so that the purpose of completing the processing of the message without configuring a plurality of service nodes which can only convert messages with a single protocol is achieved, and the effect of improving the uniformity of message processing is further achieved.
As an optional scheme, inputting the first message to a target network structure of the target server, and determining an uplink sub-structure corresponding to the first communication protocol in the target network structure includes:
s1, determining that a first uplink substructure corresponds to a first communication protocol when a first message is input to the first uplink substructure in a target network structure and a second message output by the first uplink substructure is acquired; or the like, or a combination thereof,
s2, inputting the first message into a second uplink substructure of the target network structure under the condition that the first message is input into the first uplink substructure but the second message output by the first uplink substructure is not acquired;
and S3, determining that the second uplink substructure corresponds to the first communication protocol under the condition that the first message is input into the second uplink substructure and the second message output by the second uplink substructure is acquired.
It should be noted that, when the first message is input to the first uplink substructure in the target network structure and the second message output by the first uplink substructure is acquired, it is determined that the first uplink substructure corresponds to the first communication protocol; or, inputting the first message to the second uplink substructure of the target network structure under the condition that the first message is input to the first uplink substructure but the second message output by the first uplink substructure is not acquired; and under the condition that the first message is input into the second uplink substructure and the second message output by the second uplink substructure is acquired, determining that the second uplink substructure corresponds to the first communication protocol.
For further example, optionally, for example, based on the above assumption, the custom protocol encoder and the MQTT protocol encoder configured for the target network structure, and the corresponding custom protocol decoder and MQTT protocol decoder, and the corresponding custom protocol message processor and MQTT protocol message processor, the processing procedure for the uplink message may be, but is not limited to, as shown in fig. 6, and specifically includes the following steps:
step S602, receiving a message sent by a terminal;
step S604, decoding by a custom decoder;
step S606, determining whether the custom decoder decodes a correct custom message, if yes, performing step S608, and if no, performing step S610;
step S608, the custom message processor processes the decoded custom message;
step S610, decoding by an MQTT protocol decoder;
step S612, judging whether the MQTT decoder decodes a correct MQTT message, if so, executing step S6014, and if not, executing step S616;
step S614, the MQTT message processor processes the decoded MQTT message;
step S616, determining that the message sent by the terminal cannot be analyzed;
step S618, obtaining a custom message obtained by coding;
and step S620, acquiring the MQTT message obtained by coding.
According to the embodiment provided by the application, under the condition that the first message is input to the first uplink substructure in the target network structure and the second message output by the first uplink substructure is obtained, the first uplink substructure is determined to correspond to the first communication protocol; or, inputting the first message to the second uplink substructure of the target network structure under the condition that the first message is input to the first uplink substructure but the second message output by the first uplink substructure is not acquired; under the condition that the first message is input into the second uplink substructure and the second message output by the second uplink substructure is obtained, the second uplink substructure is determined to correspond to the first communication protocol, the purpose of efficiently and uniformly processing uplink messages corresponding to different protocols is achieved, and the effect of improving the processing efficiency of the uplink messages is achieved.
As an optional scheme, after obtaining the second message output by the uplink sub-structure corresponding to the first communication protocol in the target network structure, the method includes:
s1, inputting a second message into a target processing substructure of a target network structure, wherein the target processing substructure corresponds to a first communication protocol, the target processing substructure is used for processing the message into a service message corresponding to a target server, and the target network structure comprises at least two processing substructures corresponding to different communication protocols;
and S2, acquiring a first service message output by the target processing substructure, wherein the first service message is used for indicating the target server to generate a first service instruction, and the first service instruction is used for indicating the execution of the first service.
Optionally, the target processing sub-structure may be, but is not limited to, used to process a message recognizable by the target server into a specific service instruction or service message by combining with a service logic preset by the target server, so as to implement information processing or terminal control.
It should be noted that, the second message is input into a target processing substructure of the target network structure, where the target processing substructure corresponds to the first communication protocol, the target processing substructure is used to process the message into a service message corresponding to the target server, and the target network structure includes at least two processing substructures corresponding to different communication protocols; and acquiring a first service message output by the target processing substructure, wherein the first service message is used for indicating the target server to generate a first service instruction, and the first service instruction is used for indicating the execution of the first service.
For further example, optionally as shown in fig. 5, the target processing sub-structure may be, but is not limited to, a service processing layer 504, where a service logic of the service processing layer 504 may be, but is not limited to, flexibly set in different scenarios, for example, the terminal 502 is an intelligent air conditioner, in one scenario, the intelligent air conditioner sends the detected current sensible temperature to the target server, and processes a message carrying the current sensible temperature into a message that can be recognized by the target server through a target network structure, and then the service processing layer 504 determines the temperature data based on the preset service logic, for example, if the temperature data is lower than a target preset threshold, an up-adjustment service instruction is generated, where the up-adjustment service instruction is used to instruct the intelligent air conditioner to adjust a temperature level up until the re-detected sensible temperature reaches the target preset threshold.
According to the embodiment provided by the application, the second message is input into a target processing substructure of a target network structure, wherein the target processing substructure corresponds to the first communication protocol, the target processing substructure is used for processing the message into a service message corresponding to a target server, and the target network structure comprises at least two processing substructures corresponding to different communication protocols; and acquiring a first service message output by the target processing substructure, wherein the first service message is used for indicating the target server to generate a first service instruction, and the first service instruction is used for indicating the execution of the first service, so that the aim of combining the message processing method with a specific service scene is fulfilled, and the effect of improving the compatibility of message processing is realized.
As an optional scheme, after acquiring the first service message output by the target processing sub-structure, the method includes:
s1, inputting a first service instruction into a first downlink substructure of a target network structure, wherein the first downlink substructure is used for processing a message format corresponding to a first communication protocol into a first message format, and the target network structure comprises at least two downlink substructures corresponding to different communication protocols;
s2, acquiring a third message output by the first downlink substructure, wherein a first message format of the third message corresponds to the first communication protocol;
and S3, sending a third message to the first terminal, wherein the first terminal executes the first service based on the third message.
It should be noted that, the first service instruction is input into a first downlink substructure of the target network structure, where the first downlink substructure is used to process a message format corresponding to a first communication protocol into a first message format, and the target network structure includes at least two downlink substructures corresponding to different communication protocols; acquiring a third message output by the first downlink substructure, wherein a first message format of the third message corresponds to the first communication protocol; and sending a third message to the first terminal, wherein the first terminal executes the first service based on the third message.
For further example, optionally, for example, based on the assumption that the customized protocol encoder and the MQTT protocol encoder are configured for the target network structure, and the corresponding customized protocol decoder and the MQTT protocol decoder, and the corresponding customized protocol message processor and the MQTT protocol message processor, the processing procedure for the downlink message may be, but is not limited to, as shown in fig. 7, and includes the following specific steps:
step S702, receiving a message sent by a terminal;
step S704, self-defining encoder coding;
step S706, determining whether the custom encoder encodes a correct custom message, if yes, performing step S708, and if not, performing step S710;
step S708, obtaining a self-defined message obtained by coding;
step S710, encoding by an MQTT protocol encoder;
step S712, determining whether the MQTT encoder encodes a correct MQTT message, if yes, performing step S714, and if no, performing step S716;
step S714, MQTT information obtained by coding is obtained;
step S716, determining that the message sent by the terminal cannot be analyzed.
It should be noted that after determining the protocol corresponding to the access message, the corresponding message processor and encoder may be directly selected for the access message without further determination.
According to the embodiment provided by the application, a first service instruction is input into a first downlink substructure of a target network structure, wherein the first downlink substructure is used for processing a message format corresponding to a first communication protocol into a first message format, and the target network structure comprises at least two downlink substructures corresponding to different communication protocols; acquiring a third message output by the first downlink substructure, wherein a first message format of the third message corresponds to the first communication protocol; and sending the third message to the first terminal, wherein the first terminal executes the first service based on the third message, so that the purpose of efficiently and uniformly processing the downlink messages corresponding to different protocols is achieved, and the effect of improving the processing efficiency of the downlink messages is realized.
As an optional solution, the method further includes:
s1, generating a second service instruction, wherein the second service instruction is used for indicating to execute a second service;
s2, inputting the second service instruction into the target network structure, and determining a downlink substructure corresponding to the third communication protocol in the target network structure;
s3, acquiring a fourth message output by a downlink substructure corresponding to a third communication protocol in the target network structure, wherein a third message format of the fourth message corresponds to the third communication protocol, the third message format is a message format recognizable by the second terminal, and the second terminal is configured with the third communication protocol;
and S4, sending a third message to the second terminal, wherein the second terminal executes a second service based on the third message.
It should be noted that, a second service instruction is generated, where the second service instruction is used to instruct to execute a second service; inputting the second service instruction into the target network structure, and determining a downlink substructure corresponding to the third communication protocol in the target network structure; acquiring a fourth message output by a downlink substructure corresponding to a third communication protocol in a target network structure, wherein a third message format of the fourth message corresponds to the third communication protocol, the third message format is a message format recognizable by a second terminal, and the second terminal is configured with the third communication protocol; and sending a third message to the second terminal, wherein the second terminal executes the second service based on the third message.
For further example, optionally, for example, as shown in fig. 3, multiple terminals configured with different communication protocols may select, but are not limited to, to implement processing of an access message at one serving node, and in one scenario, the first serving node may process, but is not limited to, messages accessed by multiple terminals, such as terminal a and terminal B, simultaneously or according to an access sequence.
According to the embodiment provided by the application, a second service instruction is generated, wherein the second service instruction is used for indicating execution of a second service; inputting the second service instruction into the target network structure, and determining a downlink substructure corresponding to the third communication protocol in the target network structure; acquiring a fourth message output by a downlink substructure corresponding to a third communication protocol in a target network structure, wherein a third message format of the fourth message corresponds to the third communication protocol, the third message format is a message format recognizable by a second terminal, and the second terminal is configured with the third communication protocol; and sending a third message to the second terminal, wherein the second terminal executes the second service based on the third message, so that the purpose that one service node can process a plurality of communication protocols is achieved, and the effect of improving the message processing efficiency is realized.
As an optional scheme, inputting the second service instruction to a target network structure of the target server, and determining a downlink sub-structure corresponding to the second communication protocol in the target network structure includes:
s1, under the condition that a second service instruction is input to a second downlink substructure in a target network structure and a third message output by the second downlink substructure is obtained, determining that the second downlink substructure corresponds to a third communication protocol; or the like, or, alternatively,
s2, inputting the first message into a third downlink substructure of the target network structure under the condition that the second service instruction is input into the second downlink substructure but a third message output by the second downlink substructure is not acquired;
and S3, determining that the third downlink substructure corresponds to the third communication protocol under the condition that the second service instruction is input into the third downlink substructure and the third message output by the third downlink substructure is obtained.
And (4) optional.
It should be noted that, when the second service instruction is input to the second downlink substructure in the target network structure and the third message output by the second downlink substructure is obtained, it is determined that the second downlink substructure corresponds to the third communication protocol; or, when the second service instruction is input to the second downlink substructure but the third message output by the second downlink substructure is not obtained, the first message is input to the third downlink substructure of the target network structure; and under the condition that the second service instruction is input into the third downlink substructure and the third message output by the third downlink substructure is acquired, determining that the third downlink substructure corresponds to the third communication protocol.
By way of further example, and optionally continuing with the scenario shown in fig. 5, for example, as shown in fig. 8, the target server may, but is not limited to, actively initiate an instruction or message to the terminal 802, for example, the target server initiates a service instruction, and processes the instruction/message, which is recognizable by the terminal 802 and corresponds to the network protocol configured by the terminal 802, via the target network structure, for instructing the terminal 802 to perform a service operation.
According to the embodiment provided by the application, under the condition that a second service instruction is input to a second downlink substructure in a target network structure and a third message output by the second downlink substructure is obtained, the second downlink substructure is determined to correspond to a third communication protocol; or, when the second service instruction is input to the second downlink substructure but the third message output by the second downlink substructure is not obtained, the first message is input to the third downlink substructure of the target network structure; and under the condition that the second service instruction is input into the third downlink substructure and the third message output by the third downlink substructure is obtained, determining that the third downlink substructure corresponds to the third communication protocol, achieving the purpose of reducing the unicity of message processing and realizing the effect of improving the comprehensiveness of message processing.
It should be noted that for simplicity of description, the above-mentioned method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently preferred and that no acts or modules are required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a message processing apparatus for implementing the message processing method. As shown in fig. 9, the apparatus includes:
a first receiving unit 902, configured to receive a first message sent by a first terminal configured with a first communication protocol, where a message format of the first message is a first message format recognizable by the first terminal;
a first determining unit 904, configured to input the first message to a target network structure of the target server, and determine an uplink sub-structure corresponding to the first communication protocol in the target network structure, where the target network structure is used to convert a message format, and the target network structure includes at least two uplink sub-structures corresponding to different communication protocols;
a first obtaining unit 906, configured to obtain a second message output by an uplink sub-structure corresponding to the first communication protocol in the target network structure, where a second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
Optionally, in this embodiment, the message processing apparatus may be applied, but not limited to, in a scene of an internet of things, and specifically, may be applied, but not limited to, to a background server to receive or send terminal devices configured with different protocols. At present, a common access system supporting multiple protocols generally adopts a mode that one protocol corresponds to one class of service nodes, that is, a service end access system is cut into several classes of independent subsystems which are incompatible with each other.
Optionally, in this embodiment, the communication protocol may refer to, but is not limited to, rules and conventions that must be followed by two entities to complete communication or service, and a common language must be provided between a plurality of data communication systems in different geographic locations, which are interconnected by communication channels and devices, to enable the data communication systems to cooperate to realize information interaction and resource sharing. For example, a first terminal configured with a first communication protocol cannot directly communicate or service with a service node or server configured with only a second communication protocol.
Optionally, in this embodiment, the message format may refer to, but is not limited to, a message format that can be recognized by different terminals or servers, for example, a byte message format, an object message format, a service message format, and the like. The conversion of the message format may be, but is not limited to, by a decoder or encoder, wherein the decoder may be, but is not limited to, a hardware/software device capable of decoding the digital data stream back into an analog signal. An encoder may be, but is not limited to, a device that formulates, transforms or otherwise transforms signals or data into a form of signals that can be used for communication, transmission and storage.
Optionally, in this embodiment, the target server may include, but is not limited to, a plurality of sub-servers, and each sub-server may include, but is not limited to, a target network structure.
It should be noted that, a first message sent by a first terminal configured with a first communication protocol is received, where a message format of the first message is a first message format recognizable by the first terminal; inputting a first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols; and acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
For a specific embodiment, reference may be made to the example shown in the message processing method described above, and details are not described herein in this example.
According to the embodiment provided by the application, a first message sent by a first terminal configured with a first communication protocol is received, wherein the message format of the first message is a first message format which can be identified by the first terminal; inputting a first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols; the method comprises the steps of obtaining a second message output by an uplink substructure corresponding to a first communication protocol in a target network structure, wherein the second message format of the second message corresponds to the first communication protocol, is a message format recognizable by a target server, and converting the message format of the input message into a message format recognizable by the server and corresponding to the input message protocol by utilizing the mode of converting the message format by the network structure, so that the aim of completing the processing of the message without configuring a plurality of service nodes capable of converting only a single protocol message is fulfilled, and the effect of improving the uniformity of message processing is further realized.
As an alternative, the first determining unit 904 includes:
the first determining module is used for determining that the first uplink substructure corresponds to the first communication protocol when the first message is input into the first uplink substructure in the target network structure and the second message output by the first uplink substructure is acquired; or the like, or a combination thereof,
a second determining module, configured to input the first message to a second uplink substructure of the target network structure when the first message is input to the first uplink substructure but a second message output by the first uplink substructure is not obtained;
and the third determining module is used for determining that the second uplink substructure corresponds to the first communication protocol under the condition that the first message is input into the second uplink substructure and the second message output by the second uplink substructure is acquired.
For a specific embodiment, reference may be made to the example shown in the message processing method described above, and details are not described herein in this example.
As an alternative, the method comprises the following steps:
the system comprises an input unit, a target processing sub-structure and a processing unit, wherein the input unit is used for inputting a second message to the target processing sub-structure of a target network structure after acquiring the second message output by an uplink sub-structure corresponding to a first communication protocol in the target network structure, the target processing sub-structure corresponds to the first communication protocol and is used for processing the message into a service message corresponding to a target server, and the target network structure comprises at least two processing sub-structures corresponding to different communication protocols;
and a second obtaining unit, configured to obtain a first service message output by the target processing substructure after obtaining a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, where the first service message is used to instruct the target server to generate a first service instruction, and the first service instruction is used to instruct the target server to execute the first service.
For a specific embodiment, reference may be made to an example shown in the message processing method described above, and details in this example are not described herein again.
As an alternative, the method comprises the following steps:
the processing unit is used for inputting a first service instruction into a first downlink substructure of a target network structure after acquiring a first service message output by a target processing substructure, wherein the first downlink substructure is used for processing a message format corresponding to a first communication protocol into a first message format, and the target network structure comprises at least two downlink substructures corresponding to different communication protocols;
a third obtaining unit, configured to obtain a third message output by the first downlink sub-structure after obtaining the first service message output by the target processing sub-structure, where a first message format of the third message corresponds to the first communication protocol;
and the first sending unit is used for sending a third message to the first terminal after acquiring the first service message output by the target processing substructure, wherein the first terminal executes the first service based on the third message.
For a specific embodiment, reference may be made to an example shown in the message processing method described above, and details in this example are not described herein again.
As an optional scheme, the method further comprises the following steps:
the generating unit is used for generating a second service instruction, wherein the second service instruction is used for indicating to execute a second service;
the second determining unit is used for inputting the second service instruction into the target network structure and determining a downlink substructure corresponding to the third communication protocol in the target network structure;
a fourth obtaining unit, configured to obtain a fourth message output by a downlink sub-structure corresponding to a third communication protocol in the target network structure, where a third message format of the fourth message corresponds to the third communication protocol, the third message format is a message format recognizable by the second terminal, and the second terminal is configured with the third communication protocol;
and a second sending unit, configured to send a third message to the second terminal, where the second terminal executes the second service based on the third message.
For a specific embodiment, reference may be made to the example shown in the message processing method described above, and details are not described herein in this example.
As an alternative, the second determining unit includes:
a fourth determining module, configured to determine that the second downlink substructure corresponds to the third communication protocol when the second service instruction is input to the second downlink substructure in the target network structure and a third message output by the second downlink substructure is obtained; or the like, or, alternatively,
a fifth determining module, configured to input the first message to a third downlink sub-structure of the target network structure when the second service instruction is input to the second downlink sub-structure but a third message output by the second downlink sub-structure is not obtained;
and the sixth determining module is configured to determine that the third downlink sub-structure corresponds to the third communication protocol when the second service instruction is input to the third downlink sub-structure and the third message output by the third downlink sub-structure is acquired.
For a specific embodiment, reference may be made to an example shown in the message processing method described above, and details in this example are not described herein again.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the message processing method, as shown in fig. 10, the electronic device includes a memory 1002 and a processor 1004, the memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps in any one of the method embodiments by the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
the method comprises the steps of S1, receiving a first message sent by a first terminal configured with a first communication protocol, wherein the message format of the first message is a first message format which can be identified by the first terminal;
s2, inputting the first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols;
and S3, acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 10 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 10 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
The memory 1002 may be used to store software programs and modules, such as program instructions/modules corresponding to the message processing method and apparatus in the embodiments of the present invention, and the processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, implements the message processing method described above. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1002 may further include memory located remotely from the processor 1004, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1002 may be specifically, but not limited to, used to store information such as a first message format, a first message, a second message format, and a second message. As an example, as shown in fig. 10, the memory 1002 may include, but is not limited to, the first receiving unit 902, the first determining unit 904, and the first obtaining unit 906 in the message processing apparatus. In addition, other module units in the message processing apparatus may also be included, but are not limited to, and are not described in detail in this example.
Optionally, the above-mentioned transmission device 1006 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1006 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1008 for displaying information such as the first message format, the first message, the second message format, and the second message; and a connection bus 1010 for connecting the respective module components in the electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, receiving a first message sent by a first terminal configured with a first communication protocol, wherein the message format of the first message is a first message format recognizable by the first terminal;
s2, inputting the first message into a target network structure of a target server, and determining an uplink substructure corresponding to a first communication protocol in the target network structure, wherein the target network structure is used for converting message formats and comprises at least two uplink substructures corresponding to different communication protocols;
and S3, acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the various methods in the foregoing embodiments may be implemented by a program instructing hardware related to the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be essentially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, and the like) to execute all or part of the steps of the methods of the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is only a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be an indirect coupling or communication connection through some interfaces, units or modules, and may be electrical or in other forms.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and amendments can be made without departing from the principle of the present invention, and these modifications and amendments should also be considered as the protection scope of the present invention.

Claims (8)

1. A message processing method, comprising:
receiving a first message sent by a first terminal configured with a first communication protocol, wherein the message format of the first message is a first message format recognizable to the first terminal;
inputting the first message into a target network structure of a target server, and determining an uplink substructure corresponding to the first communication protocol in the target network structure, wherein the target network structure is used for converting message formats, and the target network structure comprises at least two uplink substructures corresponding to different communication protocols;
acquiring a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, wherein a second message format of the second message corresponds to the first communication protocol, and the second message format is a message format recognizable by the target server;
wherein the target server comprises: a plurality of serving nodes, each serving node of the plurality of serving nodes comprising a target network fabric;
wherein, the inputting the first message into a target network structure of a target server and determining an uplink substructure corresponding to the first communication protocol in the target network structure includes:
determining that the first uplink substructure corresponds to the first communication protocol when the first message is input to the first uplink substructure in the target network structure and the second message output by the first uplink substructure is acquired;
inputting the first message to a second uplink substructure of the target network structure under the condition that the first message is input to the first uplink substructure but the second message output by the first uplink substructure is not acquired;
and determining that the second uplink substructure corresponds to the first communication protocol when the first message is input to the second uplink substructure and the second message output by the second uplink substructure is acquired.
2. The method according to claim 1, wherein after said obtaining the second message output by the upstream sub-structure corresponding to the first communication protocol in the target network structure, the method comprises:
inputting the second message into a target processing substructure of the target network structure, wherein the target processing substructure corresponds to the first communication protocol, the target processing substructure is used for processing the message into a service message corresponding to the target server, and the target network structure comprises at least two processing substructures corresponding to different communication protocols;
and acquiring a first service message output by the target processing substructure, wherein the first service message is used for indicating the target server to generate a first service instruction, and the first service instruction is used for indicating to execute a first service.
3. The method of claim 2, wherein after said obtaining the first service message output by the target processing sub-structure, comprising:
inputting the first service instruction into a first downlink substructure of the target network structure, wherein the first downlink substructure is used for processing a message format corresponding to a first communication protocol into the first message format, and the target network structure comprises at least two downlink substructures corresponding to different communication protocols;
acquiring a third message output by the first downlink substructure, wherein the first message format of the third message corresponds to a first communication protocol;
and sending the third message to the first terminal, wherein the first terminal executes the first service based on the third message.
4. The method of claim 1, further comprising:
generating a second service instruction, wherein the second service instruction is used for instructing to execute a second service;
inputting the second service instruction into the target network structure, and determining a downlink substructure corresponding to a third communication protocol in the target network structure;
acquiring a fourth message output by a downlink substructure corresponding to the third communication protocol in the target network structure, wherein a third message format of the fourth message corresponds to the third communication protocol, the third message format is a message format recognizable by a second terminal, and the second terminal is configured with the third communication protocol;
and sending the third message to the second terminal, wherein the second terminal executes the second service based on the third message.
5. The method of claim 4, wherein the inputting the second service instruction into the target network structure of the target server, and determining a downlink sub-structure corresponding to the second communication protocol in the target network structure, comprises:
determining that the second downlink substructure corresponds to the third communication protocol when the second service instruction is input to the second downlink substructure in the target network structure and the third message output by the second downlink substructure is acquired; or the like, or a combination thereof,
inputting the second service instruction to a third downlink substructure of the target network structure under the condition that the second service instruction is input to the second downlink substructure but the third message output by the second downlink substructure is not acquired;
and determining that the third downlink substructure corresponds to the third communication protocol when the second service instruction is input to the third downlink substructure and the third message output by the third downlink substructure is acquired.
6. A message processing apparatus, comprising:
a first receiving unit, configured to receive a first message sent by a first terminal configured with a first communication protocol, where a message format of the first message is a first message format recognizable to the first terminal;
a first determining unit, configured to input the first message to a target network structure of a target server, and determine an uplink sub-structure corresponding to the first communication protocol in the target network structure, where the target network structure is used to convert a message format, and the target network structure includes at least two uplink sub-structures corresponding to different communication protocols;
a first obtaining unit, configured to obtain a second message output by an uplink substructure corresponding to the first communication protocol in the target network structure, where a second message format of the second message corresponds to the first communication protocol, and the second message format is a message format that can be recognized by the target server;
wherein the target server comprises: a plurality of service nodes, each service node of the plurality of service nodes comprising a target network fabric;
wherein the first determining unit includes:
a first determining module, configured to determine that a first uplink substructure in the target network structure corresponds to the first communication protocol when the first message is input to the first uplink substructure and the second message output by the first uplink substructure is acquired;
a second determining module, configured to input the first message to a second uplink substructure of the target network structure when the first message is input to the first uplink substructure but the second message output by the first uplink substructure is not obtained;
a third determining module, configured to determine that the second uplink substructure corresponds to the first communication protocol when the first message is input to the second uplink substructure and the second message output by the second uplink substructure is acquired.
7. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 5.
8. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 5 by means of the computer program.
CN202011296407.5A 2020-11-18 2020-11-18 Message processing method and device, storage medium and electronic device Active CN112422565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011296407.5A CN112422565B (en) 2020-11-18 2020-11-18 Message processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011296407.5A CN112422565B (en) 2020-11-18 2020-11-18 Message processing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112422565A CN112422565A (en) 2021-02-26
CN112422565B true CN112422565B (en) 2023-02-03

Family

ID=74773701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011296407.5A Active CN112422565B (en) 2020-11-18 2020-11-18 Message processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112422565B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257623A (en) * 2022-03-02 2022-03-29 中节能晶和智慧城市科技(浙江)有限公司 Internet of things equipment communication method based on streaming processing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634925A (en) * 2016-01-20 2016-06-01 北京乐动卓越科技有限公司 Extensible communication method and system between users
CN111064716A (en) * 2019-12-05 2020-04-24 深圳猛犸电动科技有限公司 Message conversion method, device, storage medium and server

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103518352B (en) * 2011-05-19 2017-07-04 富士通株式会社 Gateway apparatus, the communication means of gateway apparatus, node apparatus, the communication means of node apparatus and communication system
CN105072507B (en) * 2015-07-24 2019-01-25 南京信通科技有限责任公司 A kind of transmission method and system of multi-medium data
CN105915500A (en) * 2015-12-22 2016-08-31 美的集团股份有限公司 Method, protocol conversion service end and Internet of things terminal for conversion of different Internet of things protocols
CN106453342A (en) * 2016-10-21 2017-02-22 过冬 Terminal access method of Internet of Things
CN110515894B (en) * 2019-08-02 2023-07-21 济南浪潮数据技术有限公司 Data format conversion method, device, equipment and readable storage medium
CN111049854B (en) * 2019-12-25 2021-12-14 微民保险代理有限公司 Service request transmission method and device
CN111641583B (en) * 2020-04-07 2021-09-03 北京邮电大学 Internet of things resource access system and resource access method
CN111600909B (en) * 2020-06-24 2023-06-23 腾讯科技(深圳)有限公司 Data processing method, device, protocol conversion equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634925A (en) * 2016-01-20 2016-06-01 北京乐动卓越科技有限公司 Extensible communication method and system between users
CN111064716A (en) * 2019-12-05 2020-04-24 深圳猛犸电动科技有限公司 Message conversion method, device, storage medium and server

Also Published As

Publication number Publication date
CN112422565A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN108449418B (en) Hybrid cloud platform management system and method
CN109391500B (en) Configuration management method, device and equipment
CN102413150B (en) Server and virtual desktop control method and virtual desktop control system
WO2019062836A1 (en) Network slice management method, and device for same
CN111314339B (en) Data transmission method and device
EP3208974A1 (en) Power line carrier communication terminal control device, system and method
CN102236561B (en) Terminal, and bootstrap configuration method and bootstrap information processing device for terminal
CN106603506B (en) Data communication method, device and system based on multi-field bus
CN104935499A (en) Message format conversion method and equipment
CN111683066A (en) Heterogeneous system integration method and device, computer equipment and storage medium
CN111294235A (en) Data processing method, device, gateway and readable storage medium
EP3185644A1 (en) Family interconnection device wake-up method, device and storage medium
CN112422565B (en) Message processing method and device, storage medium and electronic device
CN114090388A (en) Information acquisition method, server cluster, server and equipment
CN105656643B (en) Method and equipment for performing compatible management based on network configuration protocol
EP3032801B1 (en) Method and device for generating forwarding information
CN112511621B (en) Data transmission method and device, storage medium, and electronic device
EP3691210B1 (en) Flexible ethernet message forwarding method and apparatus
CN108989157B (en) Method and device for controlling intelligent equipment
CN107231275B (en) Method for connection configuration of user equipment and household equipment
CN110149631B (en) Method and system suitable for cloud loudspeaker box connection establishment
CN110365790B (en) Message transmission method and device, cascade networking equipment and readable storage medium
CN106936937B (en) Method and device for realizing universal interface for internet service interaction
CN112565458B (en) Platform remote control method and device, storage medium and electronic equipment
CN111614612B (en) Communication protocol implementation method, device, network management server and storage medium

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
GR01 Patent grant
GR01 Patent grant