CN111562992A - Message consumption method and device for client, electronic equipment and storage medium - Google Patents

Message consumption method and device for client, electronic equipment and storage medium Download PDF

Info

Publication number
CN111562992A
CN111562992A CN202010291354.1A CN202010291354A CN111562992A CN 111562992 A CN111562992 A CN 111562992A CN 202010291354 A CN202010291354 A CN 202010291354A CN 111562992 A CN111562992 A CN 111562992A
Authority
CN
China
Prior art keywords
push message
message
client
authority
consumption
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.)
Pending
Application number
CN202010291354.1A
Other languages
Chinese (zh)
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.)
Guangdong Bozhilin Robot Co Ltd
Original Assignee
Guangdong Bozhilin Robot 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 Guangdong Bozhilin Robot Co Ltd filed Critical Guangdong Bozhilin Robot Co Ltd
Priority to CN202010291354.1A priority Critical patent/CN111562992A/en
Publication of CN111562992A publication Critical patent/CN111562992A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]

Abstract

The invention discloses a message consumption method and device of a client, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving a push message sent by an MQTT server; identifying authority information of the push message, and acquiring processing authority of the push message according to the authority information; and consuming the push message after the processing authority of the push message is obtained. Therefore, the problem that in the related art, when multiple clients subscribe to the same theme, the multiple clients consume the same push message easily, so that repeated consumption or unnecessary consumption is caused, and the use experience is reduced is solved.

Description

Message consumption method and device for client, electronic equipment and storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for consuming a message at a client, an electronic device, and a storage medium.
Background
MQTT (Message queue Telemetry Transport) is an Internet of Things (IOT) protocol suitable for the Internet of Things, is a client-server based Message publishing/subscribing Transport protocol, and is widely applied to miniaturized devices.
However, because MQTT is multi-subscription, each client can receive messages under the topic of subscription, when multiple clients subscribe to the same topic, it is easy for multiple clients to consume the same push message, which results in repeated consumption or unnecessary consumption, reduces the use experience, and is urgently needed to be solved.
Disclosure of Invention
The invention provides a message consumption method and device for a client, electronic equipment and a storage medium, and aims to solve the problems that in the related art, when multiple clients subscribe to the same theme, the multiple clients consume the same push message easily, so that repeated consumption or unnecessary consumption is caused, the use experience is reduced, and the like.
An embodiment of a first aspect of the present invention provides a message consumption method for a client, including the following steps: receiving a push message sent by an MQTT server; identifying authority information of the push message, and acquiring processing authority of the push message according to the authority information; and consuming the push message after the processing authority of the push message is obtained.
The embodiment of the second aspect of the present invention provides a message consumption device of a client, including: the receiving module is used for receiving a push message sent by the MQTT server; the acquisition module is used for identifying the authority information of the push message and acquiring the processing authority of the push message according to the authority information; and the consumption module is used for consuming the push message after the processing authority of the push message is obtained.
An embodiment of a third aspect of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform a message consumption method of a client as described in the above embodiments.
A fourth aspect of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the message consumption method of a client according to the above embodiments.
The method and the device can identify the authority information of the received push message sent by the MQTT server, determine the processing authority of the push message according to the identified authority information, consume the push message if the processing authority of the push message is obtained, thereby avoiding the problem of repeated consumption or unnecessary consumption, having less influence on the architecture of the integrated system deployed in a cluster without adding an additional engineering module, improving the reliability and controllability of information processing, and effectively improving the use experience. Therefore, the problems that in the related art, when multiple clients subscribe to the same theme, the multiple clients consume the same push message easily, repeated consumption or unnecessary consumption is caused, and use experience is reduced are solved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a message consumption method according to an embodiment of the invention;
FIG. 2 is a flow diagram of a message consumption method in accordance with one embodiment of the present invention;
FIG. 3 is a flow diagram of a message consumption method according to one embodiment of the invention;
fig. 4 is a block diagram illustrating a message consumption device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A message consumption method, apparatus, electronic device, and storage medium of a client according to embodiments of the present invention are described below with reference to the accompanying drawings. In the method, authority information identification can be carried out on the received push message sent by the MQTT server, the processing authority of the push message is determined according to the identified authority information, and if the processing authority of the push message is obtained, the push message is consumed, so that the problem of repeated consumption or unnecessary consumption is avoided, an additional engineering module is not needed, the influence on an integrated system architecture deployed in a cluster is small, the reliability and the controllability of information processing are improved, and the use experience is effectively improved. Therefore, the problems that in the related art, when multiple clients subscribe to the same theme, the multiple clients consume the same push message easily, repeated consumption or unnecessary consumption is caused, and use experience is reduced are solved.
Specifically, fig. 1 is a flowchart illustrating a message consumption method of a client according to an embodiment of the present invention.
As shown in fig. 1, the message consumption method of the client includes the following steps:
in step S101, a push message sent by an MQTT server is received.
It is understood that MQTT is an IOT protocol applicable to the internet of things, and is a client-server based message publish/subscribe transmission protocol. The embodiment of the invention can establish the connection between the MQTT server and the client, subscribe the corresponding business theme, and receive the push message which is sent by the MQTT server and corresponds to the subscribed theme after the client is started.
Before receiving a push message sent by an MQTT server, according to an embodiment of the present invention, the method further includes: and subscribing the service theme corresponding to the push message. That is to say, if the client wants to receive the push message sent by the MQTT server, the client can subscribe to the corresponding service theme in advance to obtain the push message, so as to ensure the use experience.
In step S102, the authority information of the push message is identified, and the processing authority of the push message is acquired according to the authority information.
Further, according to an embodiment of the present invention, the authority information may be a unique identifier of the push message, where the authority information identifying the push message further includes: and formatting the push message into message content of a preset type according to an MQTT protocol, and acquiring a unique identifier of the push message.
It can be understood that, because MQTT is multi-subscription, each client can receive a push message corresponding to a subscribed service topic sent by an MQTT server, and therefore, when multiple clients subscribe to the same topic at the same time, the message is consumed, and a problem of repeated consumption or unnecessary consumption occurs.
The following description is given by way of example and not limitation to the unique identifier acquisition right.
Therefore, in order to avoid the problem of repeated consumption, in the embodiment of the present invention, after receiving the push message sent by the MQTT server, the authority information of the push message may be identified first, for example, the specific content of the push message may be obtained, the push message may be formatted into an identifiable type according to a communication protocol, and the unique identifier of the push message may be obtained. It should be noted that there are many types of recognizable patterns, and no specific limitation is made herein to avoid redundancy.
Further, according to an embodiment of the present invention, acquiring a processing right of a push message according to the right information includes: acquiring a corresponding distributed lock according to the unique identifier of the push message; and accessing the middleware of the distributed lock, wherein if the unique identifier is successfully accessed on the middleware, the processing authority is obtained.
Specifically, the embodiment of the present invention may obtain the corresponding distributed lock through the unique identifier MsgID contention, and access the middleware of the distributed lock, such as redis or zookeeper. Taking redis as an example, determining whether to acquire the processing permission according to a node whether the unique identifier is created on the redis, if the creation is successful, indicating that the processing permission is acquired, and if the creation is not successful, indicating that the node is created and the processing permission is not acquired.
In step S103, the push message is consumed after the processing authority of the push message is obtained.
It will be appreciated that the push message may be consumed if processing rights are obtained.
Further, according to an embodiment of the present invention, the message consumption method of the client further includes: and if the processing authority of the push message is not obtained, discarding the push message.
That is to say, after the authority is obtained, the push message is consumed, otherwise, the push message can be discarded, so that the problem of repeated consumption or unnecessary consumption is avoided, the reliability and controllability of information processing are improved, and the use experience is effectively improved.
In order to further understand the message consumption method of the client according to the embodiment of the present invention, a detailed description is provided below with respect to a specific embodiment.
In this embodiment, a system may use the same set of code to compile, and deploy a project encapsulating MQTT clients in a cluster manner that is repeatedly deployed in multiple environments. After a plurality of projects are started successively and simultaneously, the same MQTT server is connected and the same topic consumption message is subscribed, but the published same message is consumed by a plurality of clients only and is consumed once in total.
Specifically, with reference to fig. 2 and 3, the message consumption method of the client includes the following steps:
step S201: and the dependency of the MQTT is added, so that the MQTT client can be constructed by software engineering. The ordinary engineering is directly introduced into an mqtt client jar package, and the maven engineering can be introduced into a pom configuration file.
It is understood that Maven is a Project Management tool that contains a Project Object Model (POM), a set of criteria, a Project Lifecycle (Project Lifecycle), a Dependency Management System (Dependency Management System), and logic for running plug-in (plugin) objects (gold) that define the Lifecycle phase. When you use Maven, you describe your item with a well-defined item object model, and then Maven can apply the cross-cut logic from a set of shared (or custom) plug-ins.
POM is a description of Maven on a single item, and Maven is useless without POM, namely POM is the core of Maven, and is a POM implementation and drives the construction mode described by the model.
Step S202: and constructing the MQTT client in software project engineering.
Specifically, the embodiment of the invention can construct a default client, configure url and the unique identifier id of the client according to the specific information of the MQTT server, and create and complete a specific MQTT client.
Step S203: and constructing a default connection of the MQTT client, and configuring detailed parameters of the MQTT connection by setting parameters such as account passwords, connection timeout time, ssl certificates and the like.
Step S204: setting a callback function of an MQTT client, and calling the callback function when the client receives a server message after starting a project; and constructing a default MQTT client callback method, and rewriting a specific method for setting a consumption message in the callback method through a covering message delivery method.
Step S205: and establishing the connection between the MQTT client and the server.
Step S206: and subscribing the corresponding service theme, and receiving the message pushed to the theme by the server after starting.
Step S207: the project is started as per cluster deployment.
Step S208: and after receiving the server message, the MQTT client acquires the specific content of the message.
Step S209: and according to a communication protocol, formatting the message content into an identifiable type and acquiring a unique identifier of a formatted object.
Step S210: depending on the specific implementable distributed lock middleware that the project framework typically contains, the corresponding distributed lock is acquired using the MsgID contention, per step S208.
Step S211: middleware such as redis or zookeeper, etc. corresponding to the available distributed locks is accessed. For example, redis, according to the unique identifier, an un-created node is created on the redis, a success indicates that the lock is acquired, and a failure indicates that the node is created and has been acquired by other projects.
For example, a method for obtaining a message distributed lock through redis is described below by taking redis as an example.
Firstly, a reds client is introduced to the mqtt to depend on the class library spring-boot-startup-data-redis.
Next, information such as an ip port of the redis server and an access account password is configured in the project.
Again, in classes that require the use of distributed locks, a redisTemplate object is injected.
Then, when the distributed lock is acquired, calling the setIfAbsent method of the redisTemplate object (which is successful when the key value does not exist originally) to create a node, and if the setting is successful, returning true, failing to return false, returning false
Finally, a return result is judged, true indicates that the lock is acquired, and false indicates that the lock is not acquired (the node is created).
Step S212: and judging a return result, executing a message consumption method if the lock acquisition is successful, discarding the message (consumed by other projects) if the lock acquisition is failed, ending the method, and automatically entering the next message polling.
It should be noted that, in the cluster, a single engineering node is down, which does not affect the consumption of messages; after the downtime node is restarted, the consumption of the message cannot be influenced, and the high availability of the MQTT client side is realized; the MQTT client side is embedded into engineering, an independent MQTT client side engineering module does not need to be added, and the influence on the whole architecture is small.
In summary, the embodiment of the invention can set the global unique id to avoid conflict at the MQTT client side packaged in the project engineering; before consuming each message, the MQTT competitively acquires the authority of consuming the message according to the unique identifier of the message; and discarding the message by the client which cannot acquire the processing authority of the push message, consuming/processing the push message by the client which acquires the processing authority of the push message.
That is, when the application system Cluster Program Cluster is started, the subscription client Subscriber on each application subscribes to a certain topic of the MQTT Server Cluster MQTT Server. When a Publisher publishes a message to an MQTT server for the topic, a Subscriber on each application subscribed to the topic receives the message; after receiving the message, the lock is acquired in the distributed lock middleware according to the unique identifier MsgID of the message, and the message can be consumed only by acquiring the application of the distributed lock, so that the message can be consumed only once.
According to the message consumption method of the client, the authority information identification can be carried out on the received push message sent by the MQTT server, the processing authority of the push message is determined according to the identified authority information, and if the processing authority of the push message is obtained, the push message is consumed, so that the problem that repeated consumption or unnecessary consumption is caused because a plurality of client side consume the same push message easily is solved, an additional engineering module is not needed, the influence on the integrated system architecture of cluster deployment is small, the reliability and the controllability of information processing are improved, and the use experience is effectively improved.
Next, a message consumption apparatus of a client proposed according to an embodiment of the present invention is described with reference to the accompanying drawings.
Fig. 4 is a block schematic diagram of a message consumption device of a client according to an embodiment of the present invention.
As shown in fig. 4, the message consumption apparatus 10 of the client includes: a receiving module 100, an obtaining module 200 and a consuming module 300.
The receiving module 100 is configured to receive a push message sent by an MQTT server. The obtaining module 200 is configured to identify authority information of the push message, and obtain a processing authority of the push message according to the authority information. The consuming module 300 is configured to consume the push message after obtaining the processing right of the push message.
Further, according to an embodiment of the present invention, the message consumption apparatus 10 of the client further includes: and a subscription module.
The subscription module is used for subscribing a service theme corresponding to the push message before receiving the push message sent by the MQTT server.
Further, according to an embodiment of the present invention, the authority information is a unique identifier of the push message, wherein the obtaining module 200 includes: the device comprises a first acquisition unit, a second acquisition unit and an access unit.
The first obtaining unit is used for formatting the push message into message content of a preset type according to an MQTT protocol and obtaining a unique identifier of the push message.
And the second acquisition unit is used for acquiring the corresponding distributed lock according to the unique identifier of the push message.
And the access unit is used for accessing the middleware of the distributed lock, wherein if the unique identifier is successfully accessed on the middleware, the processing authority is obtained.
It should be noted that the foregoing explanation on the embodiment of the message consumption method of the client is also applicable to the message consumption device of the client in this embodiment, and details are not repeated here.
According to the message consumption device of the client, the authority information identification can be carried out on the received push message sent by the MQTT server, the processing authority of the push message is determined according to the identified authority information, and if the processing authority of the push message is obtained, the push message is consumed, so that the problem that repeated consumption or unnecessary consumption is caused because a plurality of clients consume the same push message easily is solved, an additional engineering module is not needed, the influence on the integrated system architecture of cluster deployment is small, the reliability and the controllability of information processing are improved, and the use experience is effectively improved.
In order to implement the above embodiments, the present invention further provides an electronic device, including: at least one processor and a memory. Wherein the memory is communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform the message consumption method of the client of the above embodiments, such as to:
receiving a push message sent by an MQTT server;
identifying authority information of the push message, and acquiring processing authority of the push message according to the authority information; and
and consuming the push message after the processing authority of the push message is obtained.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the message consumption method of the client of the above embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or N wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A message consumption method of a client, comprising the steps of:
receiving a push message sent by an MQTT server;
identifying authority information of the push message, and acquiring processing authority of the push message according to the authority information; and
and consuming the push message after the processing authority of the push message is obtained.
2. The method of claim 1, wherein before receiving the push message sent by the MQTT server, further comprising:
and subscribing the service theme corresponding to the push message.
3. The method of claim 1, wherein the permission information is a unique identifier of the push message, and wherein the permission information identifying the push message further comprises:
and formatting the push message into message content of a preset type according to an MQTT protocol, and acquiring a unique identifier of the push message.
4. The method of claim 3, wherein the obtaining the processing right of the push message according to the right information comprises:
acquiring a corresponding distributed lock according to the unique identifier of the push message;
and accessing the middleware of the distributed lock, wherein if the unique identifier is successfully accessed on the middleware, the processing authority is obtained.
5. The method of claim 1, further comprising:
and if the processing authority of the push message is not obtained, discarding the push message.
6. A message consumption apparatus of a client, comprising:
the receiving module is used for receiving a push message sent by the MQTT server;
the acquisition module is used for identifying the authority information of the push message and acquiring the processing authority of the push message according to the authority information; and
and the consumption module is used for consuming the push message after the processing authority of the push message is obtained.
7. The apparatus of claim 6, further comprising:
and the subscription module is used for subscribing the service theme corresponding to the push message before receiving the push message sent by the MQTT server.
8. The apparatus of claim 6, wherein the permission information is a unique identifier of the push message, and wherein the obtaining module comprises:
the first acquisition unit is used for formatting the push message into message content of a preset type according to an MQTT protocol and acquiring a unique identifier of the push message;
the second acquisition unit is used for acquiring the corresponding distributed lock according to the unique identifier of the push message;
and the access unit is used for accessing the middleware of the distributed lock, wherein if the unique identifier is successfully accessed on the middleware, the processing authority is obtained.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor executing the program to implement the message consumption method of the client as claimed in any one of claims 1 to 5.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, the program being executable by a processor for implementing a message consumption method of a client according to any one of claims 1 to 5.
CN202010291354.1A 2020-04-14 2020-04-14 Message consumption method and device for client, electronic equipment and storage medium Pending CN111562992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010291354.1A CN111562992A (en) 2020-04-14 2020-04-14 Message consumption method and device for client, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010291354.1A CN111562992A (en) 2020-04-14 2020-04-14 Message consumption method and device for client, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111562992A true CN111562992A (en) 2020-08-21

Family

ID=72071642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010291354.1A Pending CN111562992A (en) 2020-04-14 2020-04-14 Message consumption method and device for client, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111562992A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118296A (en) * 2020-08-30 2020-12-22 浪潮金融信息技术有限公司 Internet of things file transmission method based on mqtt protocol
CN112328417A (en) * 2020-11-27 2021-02-05 杭州海兴电力科技股份有限公司 Embedded multi-program communication method and system
CN113794998A (en) * 2021-08-20 2021-12-14 上海德吾信息科技有限公司 Information sending method and device based on distributed lock and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471897A (en) * 2015-12-28 2016-04-06 上海庆科信息技术有限公司 Embedded device cloud service access method and system
CN106130882A (en) * 2016-07-13 2016-11-16 北京百度网讯科技有限公司 For the method and apparatus transmitting message
US20170332421A1 (en) * 2016-05-12 2017-11-16 Convida Wireless, Llc Connecting to Virtualized Mobile Core Networks
CN109861978A (en) * 2018-12-28 2019-06-07 浙江工业大学 A kind of Internet of Things SaaS platform based on MQTT agreement
CN110336736A (en) * 2019-05-27 2019-10-15 四川长虹电器股份有限公司 The shared method subscribed to is realized based on MQTT server cluster
US20200112539A1 (en) * 2017-05-15 2020-04-09 Telefonaktiebolaget Lm Ericsson (Publ) Topic handling in mqtt networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471897A (en) * 2015-12-28 2016-04-06 上海庆科信息技术有限公司 Embedded device cloud service access method and system
US20170332421A1 (en) * 2016-05-12 2017-11-16 Convida Wireless, Llc Connecting to Virtualized Mobile Core Networks
CN106130882A (en) * 2016-07-13 2016-11-16 北京百度网讯科技有限公司 For the method and apparatus transmitting message
US20200112539A1 (en) * 2017-05-15 2020-04-09 Telefonaktiebolaget Lm Ericsson (Publ) Topic handling in mqtt networks
CN109861978A (en) * 2018-12-28 2019-06-07 浙江工业大学 A kind of Internet of Things SaaS platform based on MQTT agreement
CN110336736A (en) * 2019-05-27 2019-10-15 四川长虹电器股份有限公司 The shared method subscribed to is realized based on MQTT server cluster

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118296A (en) * 2020-08-30 2020-12-22 浪潮金融信息技术有限公司 Internet of things file transmission method based on mqtt protocol
CN112118296B (en) * 2020-08-30 2023-12-29 浪潮金融信息技术有限公司 Internet of things file transmission method based on mqtt protocol
CN112328417A (en) * 2020-11-27 2021-02-05 杭州海兴电力科技股份有限公司 Embedded multi-program communication method and system
CN112328417B (en) * 2020-11-27 2023-12-12 杭州海兴电力科技股份有限公司 Embedded multi-program communication method and system
CN113794998A (en) * 2021-08-20 2021-12-14 上海德吾信息科技有限公司 Information sending method and device based on distributed lock and storage medium
CN113794998B (en) * 2021-08-20 2022-07-15 上海德吾信息科技有限公司 Information sending method and device based on distributed lock and storage medium

Similar Documents

Publication Publication Date Title
CN111562992A (en) Message consumption method and device for client, electronic equipment and storage medium
CN111866191B (en) Message event distribution method, distribution platform, system and server
KR101342370B1 (en) Terminal and method for pefforming device managemnt scheduled based on treshold thereof
CN113141383B (en) Device information subscription method, client, server, system and storage medium
CN108363653B (en) Deployment method and device of monitoring system, computer equipment and storage medium
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN115516840A (en) Information processing method, device, system, medium, chip and program
CN113360301B (en) Message transmission system and method
CN112087475B (en) Message pushing method and device for cloud platform component application and message server
CN115150419A (en) Configuration and access method and system for hybrid cloud object storage
CN113542405B (en) Block chain-based network communication system, method, equipment and storage medium
EP3812893A1 (en) Dynamic management method for menu, server and system
CN114185558A (en) Native application master selection method and device based on K8s and storage medium
CN113946427A (en) Task processing method, processor and storage medium for multi-operating system
CN107301053B (en) Picture configuration method and device and electronic terminal
CN108170488B (en) Method and device for upgrading plug-in
CN117331576A (en) Application pre-download method, device, computer and storage medium
CN115640066A (en) Security detection method, device, equipment and storage medium
CN115185841A (en) System reconfiguration test method, device, equipment and storage medium
CN110113181B (en) Node configuration method, node configuration device, computer device, and readable storage medium
CN112055849B (en) Exclusive control system and exclusive control method
CN112153148A (en) Message accumulation processing method and device based on message receiving end
CN110839085A (en) Instruction management method, instruction management device, electronic equipment and storage medium
CN112115020B (en) Database connection pool abnormity monitoring method and device and computer equipment
CN115827392B (en) Monitoring method, device and system of distributed system

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240402