CN110278248B - Method and device for distributing testament information and computer readable storage medium - Google Patents

Method and device for distributing testament information and computer readable storage medium Download PDF

Info

Publication number
CN110278248B
CN110278248B CN201910457083.XA CN201910457083A CN110278248B CN 110278248 B CN110278248 B CN 110278248B CN 201910457083 A CN201910457083 A CN 201910457083A CN 110278248 B CN110278248 B CN 110278248B
Authority
CN
China
Prior art keywords
message
client
current client
disconnected
current
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
CN201910457083.XA
Other languages
Chinese (zh)
Other versions
CN110278248A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910457083.XA priority Critical patent/CN110278248B/en
Publication of CN110278248A publication Critical patent/CN110278248A/en
Application granted granted Critical
Publication of CN110278248B publication Critical patent/CN110278248B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/2871Implementation details of single intermediate entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Abstract

The invention relates to a cloud transmission technology, and discloses a method and a device for distributing a testimony information and a computer readable storage medium, wherein the method comprises the following steps: connecting a current client based on an mqtt protocol and receiving a testimony message of a corresponding specific subject registered by the current client; sending the wishlist message to a message middleware after judging that the current client is abnormally disconnected; distributing the testimonial order message to each distribution server through the message middleware so that each distribution server can send the testimonial order message to the client matched with the specific theme.

Description

Method and device for distributing testament information and computer readable storage medium
Technical Field
The present invention relates to the field of message distribution, and in particular, to a method and an apparatus for distributing a will advice message, and a computer-readable storage medium.
Background
The mqtt protocol is currently an internet of things message standard transmission protocol, and an important requirement of the mqtt protocol is the provision of the will order message, wherein the provision of the will order message mainly comprises the following steps: the client can set a message when connecting, the message is a will order message, and the message is distributed like a common message in the following four cases: 1) the server side detects an I/O error or a network fault; 2) the client fails to communicate within the time of keeping connection (Keep Alive); 3) the client side does not send a DISCONNECT message first and directly closes the network connection; 4) the server closes the network connection due to protocol errors. For a general open source framework, support for the will information is not clustered, and if a client is connected to a certain server, the will information can only be processed and distributed on the server, which inevitably affects the distribution efficiency.
Disclosure of Invention
The invention provides a method and a device for distributing a testament order message and a computer readable storage medium, and mainly aims to improve the distribution efficiency of the testament order message.
In order to achieve the above object, the present invention provides a method for distributing a will advice message, applied to an electronic device, the method including:
connecting a current client based on an mqtt protocol and receiving a testimony message of a corresponding specific subject registered by the current client;
sending the wishlist message to a message middleware after judging that the current client is abnormally disconnected;
distributing the testimonial order message to each distribution server through the message middleware so that each distribution server can send the testimonial order message to the client matched with the specific theme.
Optionally, the step of connecting the current client includes:
receiving an access authentication request of the current client;
and feeding back an access authentication result to the current client to confirm connection.
Optionally, the access authentication request includes: the access authentication method comprises a fixed head part, a variable head part and a message body, wherein the message body comprises a client ID, a user name and a password, the access authentication result comprises the fixed head part and the variable head part, the variable head part comprises a response result, the response result is judged according to the client ID, the user name and the password of the accessed client, and if the response result is judged to be legal, the authentication is successful.
Optionally, the determining that the current client is abnormally disconnected includes:
when another accessed client and the current client have the same client identifier and DISCONNECT, when the current client accesses other unauthorized subjects and DISCONNECTs, the current client does not receive a DISCONNECT message sent by the current client and closes the network connection and DISCONNECTs, and the current client fails to communicate and DISCONNECTs within the time of keeping the connection, or DISCONNECTs when the connection of the network communication protocol is marked as an inactive state.
Optionally, the method further comprises: and deleting the advice message when the client is judged to be normally disconnected.
The present invention also provides an electronic device comprising a memory and a processor, the memory having stored thereon an order message distribution program executable on the processor, the order message distribution program when executed by the processor implementing the steps of:
connecting a current client and receiving a testimony message which is registered by the current client and corresponds to a specific theme;
sending the wishlist message to a message middleware after judging that the current client is abnormally disconnected;
distributing the testimonial order message to each distribution server through the message middleware so that each distribution server can send the testimonial order message to the client matched with the specific theme.
Optionally, the step of connecting the current client includes:
receiving an access authentication request of the current client;
and feeding back an access authentication result to the current client to confirm connection.
Optionally, the access authentication request includes: the access authentication method comprises a fixed head part, a variable head part and a message body, wherein the message body comprises a client ID, a user name and a password, the access authentication result comprises the fixed head part and the variable head part, the variable head part comprises a response result, the response result is judged according to the client ID, the user name and the password of the accessed client, and if the response result is judged to be legal, the authentication is successful.
Optionally, the determining that the current client is abnormally disconnected includes:
when another accessed client and the current client have the same client identifier and DISCONNECT, when the current client accesses other unauthorized subjects and DISCONNECTs, the current client does not receive a DISCONNECT message sent by the current client and closes the network connection and DISCONNECTs, and the current client fails to communicate and DISCONNECTs within the time of keeping the connection, or DISCONNECTs when the connection of the network communication protocol is marked as an inactive state.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon an automatic picture classification program, which is executable by one or more processors to implement the steps of the above-described will-message distribution method.
According to the method, the device and the computer readable storage medium for distributing the will order message, the will order message is sent to the message middleware after the client is judged to be abnormally disconnected, the will order message is distributed to each distribution server through the message middleware, so that each distribution server can send the will order message to the client matched with the specific theme, and therefore the efficiency of distributing the will order message is improved.
Drawings
Fig. 1 is a schematic flow chart of a method for distributing a will information according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an internal structure of an electronic device according to an embodiment of the invention;
fig. 3 is a schematic block diagram of an order message distribution program in an electronic device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a method for distributing a testament information. Fig. 1 is a schematic flow chart of an advice message distribution method according to an embodiment of the present invention. The method may be performed by an apparatus, which may be implemented by software and/or hardware, and in this embodiment, the apparatus is a server.
In this embodiment, the method for distributing the will order message includes:
s101, connecting a current client based on an mqtt protocol and receiving a testament message of a corresponding specific theme registered by the current client;
s103, sending the testament information to an information middleware after judging that the current client is abnormally disconnected;
s105, distributing the will order message to each distribution server through the message middleware, so that each distribution server can send the will order message to the client matched with the specific theme.
For example, a client accesses the system, the client subscribes to a specific topic, the client registers a testimony message, after the client is abnormally disconnected, the testimony message is sent to a message middleware (such as rocktmq), rocktmq distributes the message to each distribution server of an mqtt protocol cluster, and if the client connected with a certain distribution server matches the specific topic, the distribution server sends the testimony message to the client.
Further, in step 101, the step of connecting the current client includes:
receiving an access authentication request of the current client;
and feeding back an access authentication result to the current client to confirm connection.
In this embodiment, after the access authentication is passed, the current client may subscribe to the related topic, and the topic subscription is performed according to a preset topic format, and if the format of another topic is accessed, an error may be caused, and the subscription fails.
Further, the accessing, such as an authentication request, includes: the system comprises a fixed header, a variable header and a message body, wherein the message body comprises a client ID, a user name and a password.
Further, the access authentication result fed back comprises a fixed header and a variable header, and the variable header comprises a response result. The response result is judged according to the client ID, the user name and the password of the accessed client, if the judgment is legal, the authentication is successful, the client is successfully accessed, and further the communication with the accessed server is realized; after the access is successful, if the client needs to release the message, the server judges whether the released subject name of the Saxifraga is in a preset format or not after receiving the released message, if the server illegally uses other subject names, the server disconnects the connection with the client, and the message is failed to be released; and if the used subject name is legal, the message of the client is successfully issued.
Further, the determining that the current client is abnormally disconnected includes:
when another accessed client and the current client have the same client identifier and DISCONNECT, when the current client accesses other unauthorized subjects and DISCONNECTs, the current client does not receive a DISCONNECT message sent by the current client and closes the network connection and DISCONNECTs, and the current client fails to communicate and DISCONNECTs within the time of keeping the connection, or DISCONNECTs when the connection of the network communication protocol is marked as an inactive state.
Further, the method further comprises: and deleting the advice message when the client is judged to be normally disconnected.
Further, after the step of connecting the current client, the method further comprises:
receiving a subscription subject authentication request sent by the current client;
and feeding back a subscription theme authentication request result to the current client.
In this embodiment, after subscribing to a topic successfully, the current client may PUBLISH a message, and the topic names in the PUBLISH message for publishing the message, the PUBLISH message for replying to the control message, and the PUBLISH message for replying to the query message need to be set by the installation rule, which may result in disconnection if publishing is performed using other topic names.
In this embodiment, based on the Netty framework, a method called channelInactive is called when the connection of the client is disconnected; in the present embodiment, the file storage model of rocktmq includes: the system comprises a business processing layer, a data file storage component layer, a storage logic object layer, a packaged file memory mapping object layer and a disk storage layer.
The beneficial effects of the method for distributing the testimonial advice message provided by the embodiment are as follows: and after the client is judged to be abnormally disconnected, the will-order message is sent to a message middleware, and the will-order message is distributed to each distribution server through the message middleware, so that each distribution server can send the will-order message to the client matched with the specific theme, and the efficiency of the distribution of the will-order message is improved.
The invention also provides an electronic device 1. Fig. 2 is a schematic view of an internal structure of an electronic device according to an embodiment of the invention.
In the embodiment, the electronic device 1 may be a computer or a server. The electronic device 1 comprises at least a memory 11, a processor 13, a communication bus 15, and a network interface 17. In this embodiment, the electronic device 1 is a server.
The memory 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic apparatus in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic apparatus. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic apparatus. The memory 11 can be used not only to store application software installed in the electronic apparatus 1 and various types of data such as codes of the image will message distribution program 111, but also to temporarily store data that has been output or is to be output.
The processor 13 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 11 or Processing data.
The communication bus 15 is used to realize connection communication between these components.
The network interface 17 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), and is typically used to establish a communication link between the electronic apparatus 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may also comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device and for displaying a visualized user interface.
While FIG. 2 shows only the electronic device 1 with the components 11-17, those skilled in the art will appreciate that the configuration shown in FIG. 2 does not constitute a limitation of the electronic device, and may include fewer or more components than shown, or some components in combination, or a different arrangement of components.
In the embodiment of the electronic apparatus 1 shown in fig. 2, the memory 11 stores therein an order message distribution program 111; the processor 13 implements the following steps when executing the will message distribution program 111 stored in the memory 11:
connecting a current client based on an mqtt protocol and receiving a testimony message of a corresponding specific subject registered by the current client;
sending the wishlist message to a message middleware after judging that the current client is abnormally disconnected;
distributing the testimonial order message to each distribution server through the message middleware so that each distribution server can send the testimonial order message to the client matched with the specific theme.
For example, a client accesses the system, the client subscribes to a specific topic, the client registers a testimony message, after the client is abnormally disconnected, the testimony message is sent to a message middleware (such as rocktmq), rocktmq distributes the message to each distribution server of an mqtt protocol cluster, and if the client connected with a certain distribution server matches the specific topic, the distribution server sends the testimony message to the client.
Further, the step of connecting the current client comprises:
receiving an access authentication request of the current client;
and feeding back an access authentication result to the current client to confirm connection.
In this embodiment, after the access authentication is passed, the current client may subscribe to the related topic, and the topic subscription is performed according to a preset topic format, and if the format of another topic is accessed, an error may be caused, and the subscription fails.
Further, the accessing, such as an authentication request, includes: the system comprises a fixed header, a variable header and a message body, wherein the message body comprises a client ID, a user name and a password.
Further, the feedback authentication result comprises a fixed header and a variable header, and the variable header comprises a response result. The response result is judged according to the client ID, the user name and the password of the accessed client, if the judgment is legal, the authentication is successful, the client is successfully accessed, and further the communication with the accessed server is realized; after the access is successful, if the client needs to release the message, the server judges whether the released subject name of the Saxifraga is in a preset format or not after receiving the released message, if the server illegally uses other subject names, the server disconnects the connection with the client, and the message is failed to be released; and if the used subject name is legal, the message of the client is successfully issued.
Further, the determining that the current client is abnormally disconnected includes:
when another accessed client and the current client have the same client identifier and DISCONNECT, when the current client accesses other unauthorized subjects and DISCONNECTs, the current client does not receive a DISCONNECT message sent by the current client and closes the network connection and DISCONNECTs, and the current client fails to communicate and DISCONNECTs within the time of keeping the connection, or DISCONNECTs when the connection of the network communication protocol is marked as an inactive state.
Further, the processor 13 executes the will information distribution program 111 stored in the memory 11 to further implement the following steps: and deleting the advice message when the client is judged to be normally disconnected.
Further, when the processor 13 executes the will message distribution program 111 stored in the memory 11 after the step of connecting the current client, the following steps are also implemented:
receiving a subscription subject authentication request sent by the current client;
and feeding back a subscription theme authentication request result to the current client.
In this embodiment, after subscribing to a topic successfully, the current client may PUBLISH a message, and the topic names in the PUBLISH message for publishing the message, the PUBLISH message for replying to the control message, and the PUBLISH message for replying to the query message need to be set by the installation rule, which may result in disconnection if publishing is performed using other topic names.
In this embodiment, based on the Netty framework, a method called channelInactive is called when the connection of the client is disconnected; in the present embodiment, the file storage model of rocktmq includes: the system comprises a business processing layer, a data file storage component layer, a storage logic object layer, a packaged file memory mapping object layer and a disk storage layer.
The electronic device provided by this embodiment sends the will information to the message middleware after the client is abnormally disconnected, and distributes the will information to each distribution server through the message middleware, so that each distribution server can send the will information to the client matched with the specific theme, thereby improving the efficiency of the distribution of the will information.
Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, where a will-message distribution program 111 is stored on the computer-readable storage medium, and the will-message distribution program 111 is executable by one or more processors to implement the following operations:
connecting a current client based on an mqtt protocol and receiving a testimony message of a corresponding specific subject registered by the current client;
sending the wishlist message to a message middleware after judging that the current client is abnormally disconnected;
distributing the testimonial order message to each distribution server through the message middleware so that each distribution server can send the testimonial order message to the client matched with the specific theme.
For example, a client accesses the system, the client subscribes to a specific topic, the client registers a testimony message, after the client is abnormally disconnected, the testimony message is sent to a message middleware (such as rocktmq), rocktmq distributes the message to each distribution server of an mqtt protocol cluster, and if the client connected with a certain distribution server matches the specific topic, the distribution server sends the testimony message to the client.
The embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiments of the electronic device and the method, and will not be described herein in a repeated manner.
Alternatively, in other embodiments, the will-order message distribution program 111 may be further divided into one or more modules, and the one or more modules are stored in the memory 11 and executed by one or more processors (in this embodiment, the processor 13) to implement the present invention, where the module referred to in the present invention refers to a series of computer program instruction segments capable of performing a specific function for describing the execution process of the automatic picture classification program in the electronic device.
For example, referring to fig. 3, a schematic diagram of program modules of the will information distribution program 111 in an embodiment of the electronic apparatus according to the present invention is shown, in this embodiment, the will information distribution program 111 may be divided into a receiving module 10, a determining module 20, and a distribution module 30, and exemplarily:
the receiving module 10 is configured to connect to a current client based on an mqtt protocol and receive a testament message registered by the current client and corresponding to a specific topic;
the judging module 20 is configured to send the will advice message to a message middleware after judging that the current client is abnormally disconnected;
the distribution module 30 is configured to distribute the will order message to each distribution server through the message middleware, so that each distribution server can send the will order message to the client matching the specific topic.
For example, a client accesses the system, the client subscribes to a specific topic, the client registers a testimony message, after the client is abnormally disconnected, the testimony message is sent to a message middleware (such as rocktmq), rocktmq distributes the message to each distribution server of an mqtt protocol cluster, and if the client connected with a certain distribution server matches the specific topic, the distribution server sends the testimony message to the client.
The functions or operation steps implemented when the program modules such as the receiving module 10, the determining module 20, and the distributing module 30 are executed are substantially the same as those in the above embodiments, and are not described herein again.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for distributing a testimony message, which is applied to an electronic device, and is characterized in that the method comprises the following steps:
connecting a current client based on an mqtt protocol and receiving a testimony message of a corresponding specific subject registered by the current client;
sending the testament message to a message middleware after judging that the current client is abnormally disconnected, wherein the message middleware is Rocktmq, and a file storage model of the Rocktmq comprises: the client side comprises a service processing layer, a data file storage component layer, a storage logic object layer, a packaged file memory mapping object layer and a disk storage layer, wherein the condition that the current client side is abnormally disconnected is judged by the client side comprising the following steps:
when another accessed client and the current client have the same client identifier and are disconnected, when the current client accesses other unauthorized subjects and is disconnected, the current client does not receive a DISCONNECT message sent by the current client and closes the network connection and is disconnected, and the current client fails to communicate and is disconnected within the time of keeping connection or is disconnected when the connection of a network communication protocol is marked as an inactive state;
distributing the testimonial order message to each distribution server through the message middleware so that each distribution server can send the testimonial order message to the client matched with the specific theme.
2. The will message distribution method of claim 1, wherein the step of connecting the current client comprises:
receiving an access authentication request of the current client;
and feeding back an access authentication result to the current client to confirm connection.
3. The will message distribution method of claim 2, wherein the access authentication request comprises: the access authentication method comprises a fixed head part, a variable head part and a message body, wherein the message body comprises a client ID, a user name and a password, the access authentication result comprises the fixed head part and the variable head part, the variable head part comprises a response result, the response result is judged according to the client ID, the user name and the password of the accessed client, and if the response result is judged to be legal, the authentication is successful.
4. The method of will message distribution according to claim 1, wherein the method further comprises: and deleting the advice message when the client is judged to be normally disconnected.
5. An electronic device for guided message distribution, the electronic device comprising a memory and a processor, the memory having stored thereon a guided message distribution program executable on the processor, the guided message distribution program when executed by the processor implementing the steps of:
connecting a current client and receiving a testimony message which is registered by the current client and corresponds to a specific theme;
sending the testament message to a message middleware after judging that the current client is abnormally disconnected, wherein the message middleware is Rocktmq, and a file storage model of the Rocktmq comprises: the client side comprises a service processing layer, a data file storage component layer, a storage logic object layer, a packaged file memory mapping object layer and a disk storage layer, wherein the condition that the current client side is abnormally disconnected is judged by the client side comprising the following steps:
when another accessed client and the current client have the same client identifier and are disconnected, when the current client accesses other unauthorized subjects and is disconnected, the current client does not receive a DISCONNECT message sent by the current client and closes the network connection and is disconnected, and the current client fails to communicate and is disconnected within the time of keeping connection or is disconnected when the connection of a network communication protocol is marked as an inactive state;
distributing the testimonial order message to each distribution server through the message middleware so that each distribution server can send the testimonial order message to the client matched with the specific theme.
6. The electronic device of claim 5, wherein the step of connecting the current client comprises:
receiving an access authentication request of the current client;
and feeding back an access authentication result to the current client to confirm connection.
7. The electronic device of claim 6, wherein the access authentication request comprises: the access authentication method comprises a fixed head part, a variable head part and a message body, wherein the message body comprises a client ID, a user name and a password, the access authentication result comprises the fixed head part and the variable head part, the variable head part comprises a response result, the response result is judged according to the client ID, the user name and the password of the accessed client, and if the response result is judged to be legal, the authentication is successful.
8. A computer-readable storage medium having stored thereon a will message distribution program executable by one or more processors to implement the steps of the will message distribution method of any of claims 1-4.
CN201910457083.XA 2019-05-29 2019-05-29 Method and device for distributing testament information and computer readable storage medium Active CN110278248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910457083.XA CN110278248B (en) 2019-05-29 2019-05-29 Method and device for distributing testament information and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910457083.XA CN110278248B (en) 2019-05-29 2019-05-29 Method and device for distributing testament information and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110278248A CN110278248A (en) 2019-09-24
CN110278248B true CN110278248B (en) 2022-04-22

Family

ID=67959108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910457083.XA Active CN110278248B (en) 2019-05-29 2019-05-29 Method and device for distributing testament information and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110278248B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987871A (en) * 2022-12-19 2023-04-18 浪潮思科网络科技有限公司 MQTT-based topological relation preservation method, device and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945056A (en) * 2009-06-29 2011-01-12 软件Ag公司 System and/or method based on the JMS middleware group of strategy
CN106657130A (en) * 2017-01-09 2017-05-10 上海浦东软件园汇智软件发展有限公司 Access authentication method and access authentication equipment based on MQTT
WO2017197273A1 (en) * 2016-05-12 2017-11-16 Convida Wireless, Llc Connecting to virtualized mobile core networks
CN108173739A (en) * 2017-11-29 2018-06-15 成都东方盛行电子有限责任公司 A kind of cloud service message treatment method based on MQTT
CN108259262A (en) * 2016-12-02 2018-07-06 远升科技股份有限公司 Method and system for monitoring connection status of device
CN108494815A (en) * 2018-02-06 2018-09-04 北京极智感科技有限公司 A kind of method and system of transmission message
CN108768826A (en) * 2018-05-16 2018-11-06 华南理工大学 Based on the message route method under MQTT and Kafka high concurrent scenes
CN109286525A (en) * 2018-09-28 2019-01-29 昆明能讯科技有限责任公司 It is a kind of based on MQTT communication and it is active and standby between heartbeat two unit standby method
CN109525566A (en) * 2018-11-01 2019-03-26 北京北信智云科技有限公司 A kind of LoRaWan method for interchanging data based on enhanced MQTT message mechanism
CN109587228A (en) * 2018-11-23 2019-04-05 济南浪潮高新科技投资发展有限公司 A kind of publicly-owned agreement platform of internet of things and equipment cut-in method
CN109639642A (en) * 2018-11-12 2019-04-16 平安科技(深圳)有限公司 Safety certifying method, device and storage medium based on MQTT

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8997115B2 (en) * 2007-08-31 2015-03-31 International Business Machines Corporation Method for data delivery in a network
CN103685581B (en) * 2012-09-04 2018-03-09 华为终端有限公司 Address recovery method and terminal
WO2014134538A1 (en) * 2013-02-28 2014-09-04 Xaptum, Inc. Systems, methods, and devices for adaptive communication in a data communication network
CN108810086A (en) * 2018-04-27 2018-11-13 电子科技大学中山学院 Intelligent equipment communication platform based on MQTT message protocol

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945056A (en) * 2009-06-29 2011-01-12 软件Ag公司 System and/or method based on the JMS middleware group of strategy
WO2017197273A1 (en) * 2016-05-12 2017-11-16 Convida Wireless, Llc Connecting to virtualized mobile core networks
CN108259262A (en) * 2016-12-02 2018-07-06 远升科技股份有限公司 Method and system for monitoring connection status of device
CN106657130A (en) * 2017-01-09 2017-05-10 上海浦东软件园汇智软件发展有限公司 Access authentication method and access authentication equipment based on MQTT
CN108173739A (en) * 2017-11-29 2018-06-15 成都东方盛行电子有限责任公司 A kind of cloud service message treatment method based on MQTT
CN108494815A (en) * 2018-02-06 2018-09-04 北京极智感科技有限公司 A kind of method and system of transmission message
CN108768826A (en) * 2018-05-16 2018-11-06 华南理工大学 Based on the message route method under MQTT and Kafka high concurrent scenes
CN109286525A (en) * 2018-09-28 2019-01-29 昆明能讯科技有限责任公司 It is a kind of based on MQTT communication and it is active and standby between heartbeat two unit standby method
CN109525566A (en) * 2018-11-01 2019-03-26 北京北信智云科技有限公司 A kind of LoRaWan method for interchanging data based on enhanced MQTT message mechanism
CN109639642A (en) * 2018-11-12 2019-04-16 平安科技(深圳)有限公司 Safety certifying method, device and storage medium based on MQTT
CN109587228A (en) * 2018-11-23 2019-04-05 济南浪潮高新科技投资发展有限公司 A kind of publicly-owned agreement platform of internet of things and equipment cut-in method

Also Published As

Publication number Publication date
CN110278248A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN108572833B (en) Automatic application updates
US8112549B2 (en) Alert mechanism for notifying multiple user devices sharing a connected-data-set
CN110311983B (en) Service request processing method, device and system, electronic equipment and storage medium
EP2589179B1 (en) Apparatus and method for controlling access to multiple services
US20190034460A1 (en) Co-locating Microservice Persistence Containers within Tenant-Specific Database
US20050278384A1 (en) External authentication against a third-party directory
CN107682426B (en) Interface proxy method and application server
CN113141383B (en) Device information subscription method, client, server, system and storage medium
CN107274222B (en) Advertisement putting method and device
CN110851248A (en) Asynchronous task data processing method and device and computer readable storage medium
CN112187903B (en) Message pushing method and device and message service system
CN110278248B (en) Method and device for distributing testament information and computer readable storage medium
CN108768727B (en) Method for accessing third-party service, electronic device and readable storage medium
CN108664343B (en) State calling method and device for micro-service
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
US9077768B2 (en) Method and system for providing digital contents in a network environment
US11245567B2 (en) Electronic message adaptation
CN113783914A (en) Data processing method, device and equipment
CN113742110A (en) Message transmission method and device, electronic equipment and storage medium
CN111416795B (en) Data synchronization method, device, computing equipment and medium
WO2021103644A1 (en) Data structure, communication method and apparatus, storage medium and device
CN110413546B (en) Redis-based data storage method, device and computer readable storage medium
CN113556370A (en) Service calling method and device
CN112837156A (en) Transaction method and device with fixed execution sequence
AU2018373682A1 (en) Method for remote management of a device connected to a residential gateway

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