Embedded multi-program communication method and embedded multi-program communication system

A communication method and multi-program technology, applied in the field of communication, can solve the problems of large resources, difficult maintenance, and poor program scalability.

Pending Publication Date: 2021-02-05
HEXING ELECTRICAL +2
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the internal programs of the existing intelligent management terminals use socket communication, and each program manages multiple socket communication channels. This prior art needs to pre-define the communication channels between mutual communication programs, and needs to provide The channel allocates a unique communication port, and each program needs to manage the communication between the client and the server, which makes the communication of each program occupy a large amount of resources and is not easy to maintain, and a single communication port enables scalability between programs poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded multi-program communication method and embedded multi-program communication system
  • Embedded multi-program communication method and embedded multi-program communication system
  • Embedded multi-program communication method and embedded multi-program communication system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following description serves to disclose the present invention to enable those skilled in the art to carry out the present invention. The preferred embodiments described below are only examples, and those skilled in the art can devise other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents and other technical solutions without departing from the spirit and scope of the present invention.

[0033] It can be understood that the term "a" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element can be one, while in another embodiment, the number of the element The quantity can be multiple, and the term "a" cannot be understood as a limitation on the quantity.

[0034] Please combine Figure 1-3 , one of the preferred embodiments of the present invention discloses an embedded multi-program c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an embedded multi-program communication method and system. The method comprises the following steps: establishing an MQTT server and a plurality of MQTT clients; wherein each MQTT client is configured with an application program; the application program issues an application message to the MQTT server; and the MQTT server forwards the application message to the corresponding MQTT client according to the theme label in the application message. The application message adopts JSON format data, and the JSON format data comprises a message header, a source program theme name, a target program theme name, a frame number, a transmission direction and message content. According to the invention, mutual communication among a plurality of programs can be realized through theMQTT server, and the client does not need to manage a server communication channel, so that the resource occupation can be reduced, and the cooperative operation of the plurality of programs can be realized.

Description

technical field [0001] The invention relates to the communication field, in particular to an embedded multi-program communication method and system. Background technique [0002] At present, the internal programs of the existing intelligent management terminals use socket communication, and each program manages multiple socket communication channels. This prior art needs to pre-define the communication channels between mutual communication programs, and needs to provide The channel allocates a unique communication port, and each program needs to manage the communication between the client and the server, which makes the communication of each program occupy a large amount of resources and is not easy to maintain, and a single communication port enables scalability between programs poor. Contents of the invention [0003] One of the invention objectives of the present invention is to provide an embedded multi-program communication method and system. The method and system ad...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/547
Inventor 许辉顾林飞李卫华卢胜
Owner HEXING ELECTRICAL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products