CN110380931A - Processing method, device, storage medium, processor and the system of connection status - Google Patents
Processing method, device, storage medium, processor and the system of connection status Download PDFInfo
- Publication number
- CN110380931A CN110380931A CN201910646698.7A CN201910646698A CN110380931A CN 110380931 A CN110380931 A CN 110380931A CN 201910646698 A CN201910646698 A CN 201910646698A CN 110380931 A CN110380931 A CN 110380931A
- Authority
- CN
- China
- Prior art keywords
- server
- terminal
- notification message
- message
- connection status
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/535—Tracking the activity of the user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of processing method of connection status, device, storage medium, processor and systems.This method comprises: monitoring the notification message got in customized title, wherein notification message is used to notify the connection status between first terminal and first server;According to the status information stored in notification message synchronized update shadow device, wherein shadow device configures in first server, and shadow device is corresponding with first terminal.The present invention, which solves, obtains the technical issues of thus online perhaps off-line state of user causes APP user online or the judgement shortage accuracy of off-line state usually using the reserved topic mode of MQTT during APP user's access MQTT server in the related technology.
Description
Technical field
The present invention relates to internet of things field, are situated between in particular to a kind of processing method of connection status, device, storage
Matter, processor and system.
Background technique
It is under International Organization for standardization (ISO) standard based on publish/subscribe normal form that (MQTT) is transmitted in message queue telemetering
Messaging protocol is the publish/subscribe type to design under the low remote equipment of hardware performance and Network status bad luck situation
Messaging protocol.MQTT, both can be in the device hardware and high net of critical constraints as a kind of lightweight, flexible network protocol
It is realized on network delay/limited network of bandwidth;Branch can also be provided with Internet of Things (IoT) equipment and the diversified application scenarios of service
It holds.
Terminal applies (APP) user can both access cloud server (such as: MQTT server) by MQTT connection
MQTT connection can also be disconnected to publish cloud server.Cloud server accesses the operation of cloud server for APP user
Or it publishes the operation of cloud server and can make and corresponding record and notify webpage (web) background monitoring page institute in time
Another terminal.
When APP user and MQTT server are established or disconnected, MQTT server can be according to the client of accessing user
End mark (ClientID) notifies preset MQTT title (topic), with mark specific ClientID be currently at it is online or
Person's off-line state.Corresponding shadow (shodow) can be recorded according to ClientID in online or off-line state by MQTT server
In equipment.ClinetID is the identity that APP user accesses MQTT server.Currently, APP user in the related technology or
Smart machine is provided with unique and fixed ClientID, and then passes through the one-to-one pass between APP user and MQTT server
Message in system and topic determines the online or off-line state of APP user or smart machine.
However, since the link information that APP user connects MQTT server is fixed and invariable, if user sends out
Raw improper operation, such as: terminal is stolen, terminal is surprisingly lost or terminal applies are by decompiling, so that lawless people
Source code and account information are got, causes personal private information to be revealed, thus will cause great security risk.In this way,
One-one relationship between APP user and MQTT server will will become many-one relationship.Therefore, it is obtained from reserved topic
The online perhaps off-line state of ClinetID and then judge that APP user or the whether online mode of smart machine will lack
Accuracy.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The present invention at least partly embodiment provides a kind of processing method of connection status, device, storage medium, processor
And system, at least to solve to reserve during APP user accesses MQTT server usually using MQTT in the related technology
Thus topic mode, which obtains the online perhaps off-line state of user, causes APP user online or the judgement shortage standard of off-line state
The technical issues of true property.
A wherein embodiment according to the present invention, provides a kind of processing method of connection status, comprising:
Monitor the notification message got in customized title, wherein notification message is for notifying first terminal and first
Connection status between server;According to the status information stored in notification message synchronized update shadow device, wherein shadow is set
Standby configuration is in first server, and shadow device is corresponding with first terminal.
Optionally, monitoring the notification message got in customized title includes: to monitor first terminal to customized title
The online notification message of middle transmission, wherein online notification message is for notifying first terminal to be currently at presence.
It optionally, include: according to online notice according to the status information stored in notification message synchronized update shadow device
The status information synchronized update stored in shadow device is presence by message.
Optionally, after according to the status information stored in notification message synchronized update shadow device, further includes: to
Two servers send the first update message, wherein the first update message is for notifying status information of the second server by storage
It is updated to presence.
Optionally, the above method further include: receive the configuration message that first terminal is sent, wherein configuration message is used for
When first server detects that first terminal is in off-line state, triggering first server sends offline logical into customized title
Know message.
Optionally, monitoring the notification message got in customized title includes: to monitor first server to customized mark
The offline notification message sent in topic, wherein offline notification message is for notifying first terminal to be currently at off-line state.
It optionally, include: according to offline notification according to the status information stored in notification message synchronized update shadow device
The status information synchronized update stored in shadow device is off-line state by message.
Optionally, after according to the status information stored in notification message synchronized update shadow device, further includes: to
Two servers send the second update message, wherein the second update message is for notifying status information of the second server by storage
It is updated to off-line state.
A wherein embodiment according to the present invention, additionally provides the processing method of another connection status, comprising:
Obtain first terminal connection status to be entered;According to customized title hair of the connection status into first server
Send notification message, wherein notification message is for triggering the status information stored in first server synchronized update shadow device, shadow
Sub- device configuration is in first server, and shadow device is corresponding with first terminal.
Optionally, sent a notification message according to connection status to customized title includes: according to presence to customized
Title sends online notification message, so that the status information synchronized update stored in shadow device is in threadiness by first server
State.
Optionally, the above method further include: send configuration message to first server, wherein configuration message is used for the
When one server detects that first terminal is in off-line state, triggering first server sends offline notification into customized title
Message.
A wherein embodiment according to the present invention, additionally provides a kind of processing unit of connection status, comprising:
Module is monitored, for monitoring the notification message got in customized title, wherein notification message is for notifying the
Connection status between one terminal and first server;Processing module, for according in notification message synchronized update shadow device
The status information of storage, wherein shadow device configures in first server, and shadow device is corresponding with first terminal.
Optionally, monitoring module, the online notification message sent for monitoring first terminal into customized title,
In, online notification message is for notifying first terminal to be currently at presence.
Optionally, processing module, for according to online notification message that the status information stored in shadow device is synchronous more
It is newly presence.
Optionally, above-mentioned apparatus further include: sending module, for sending the first update message to second server, wherein
First update message for notify second server by the state information updating of storage be presence.
Optionally, above-mentioned apparatus further include: receiving module is also used to receive the configuration message of first terminal transmission, wherein
It configures message to be used for when first server detects that first terminal is in off-line state, triggers first server to customized mark
Offline notification message is sent in topic.
Optionally, monitoring module, the offline notification message sent for monitoring first server into customized title,
In, offline notification message is for notifying first terminal to be currently at off-line state.
Optionally, processing module, for according to offline notification message that the status information stored in shadow device is synchronous more
It is newly off-line state.
Optionally, sending module is also used to send the second update message to second server, wherein the second update message
For notify second server by the state information updating of storage be off-line state.
A wherein embodiment according to the present invention, additionally provides the processing unit of another connection status, comprising:
Module is obtained, for obtaining first terminal connection status to be entered;Processing module, for according to connection status to
Customized title in first server sends a notification message, wherein notification message is for triggering first server synchronized update
The status information stored in shadow device, shadow device configures in first server, and shadow device is opposite with first terminal
It answers.
Optionally, processing module, for sending online notification message to customized title according to presence, so that first
The status information synchronized update stored in shadow device is presence by server.
Optionally, processing module is also used to send configuration message to first server, wherein configuration message is used for the
When one server detects that first terminal is in off-line state, triggering first server sends offline notification into customized title
Message.
A wherein embodiment according to the present invention additionally provides a kind of storage medium, and storage medium includes the program of storage,
In, in program operation, equipment where control storage medium executes the processing method of the connection status of above-mentioned any one.
A wherein embodiment according to the present invention additionally provides a kind of processor, and processor is for running program, wherein journey
The processing method of the connection status of above-mentioned any one is executed when sort run.
A wherein embodiment according to the present invention, additionally provides a kind of processing system of connection status, comprising: first terminal,
First server, second server and second terminal, wherein first server includes the processing unit of above-mentioned connection status,
First terminal includes the processing unit of above-mentioned another connection status.
Optionally, second server for synchronized update and stores the status information of first terminal.
Optionally, second terminal, for the status information to second server real-time query first terminal.
In the present invention at least partly embodiment, using the notification message got in the customized title of monitoring, the notice
Message is used to notify the mode of the connection shape between first terminal and first server, is set by notification message synchronized update shadow
The status information of standby middle storage, shadow device configuration is in first server and shadow device is corresponding with first terminal, reaches
Title acquisition first is reserved to substituting using the connection status of first terminal is obtained from customized title from second server
The purpose of the connection status of terminal, to realize the office for getting rid of and obtaining terminal connection status using server reserves title mode
It is sex-limited, so that the terminal connection status that gets of server and then solves related skill more accurately with reliable technical effect
In art during APP user accesses MQTT server usually using MQTT reserve topic mode obtain user it is online or
Thus off-line state causes APP user online or the technical issues of the judgement of off-line state lacks accuracy.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the wherein structural schematic diagram of the processing system of the connection status of an embodiment according to the present invention;
Fig. 2 is the wherein flow chart of the processing method of the connection status of an embodiment according to the present invention;
Fig. 3 is the wherein flow chart of the processing method of another connection status of an embodiment according to the present invention;
Fig. 4 is the wherein flow chart of the processing method of the connection status of an alternative embodiment according to the present invention;
Fig. 5 is the wherein structural block diagram of the processing unit of the connection status of an embodiment according to the present invention;
Fig. 6 is the wherein structural block diagram of the processing unit of the connection status of an alternative embodiment according to the present invention;
Fig. 7 is the wherein structural block diagram of the processing unit of another connection status of an embodiment according to the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
A wherein embodiment according to the present invention, provides a kind of embodiment of the processing system of connection status.Fig. 1 is basis
The structural schematic diagram of the present invention wherein processing system of the connection status of an embodiment, as shown in Figure 1, the processing of the connection status
System includes: first terminal, first server, second server and second terminal.
Configured with the APP for matching with second terminal and being controlled second terminal on above-mentioned first terminal.It is above-mentioned
The web background monitoring page is configured in second terminal.The first terminal and second terminal can be smart phone (such as Android
Mobile phone, iOS mobile phone etc.), tablet computer, applause computer and mobile internet device (Mobile Internet Devices,
Referred to as MID), the terminal devices such as PAD.Above-mentioned first server can be cloud MQTT server.Above-mentioned second server can
To be cloud business server.
In one alternate embodiment, above-mentioned first terminal and second terminal may each comprise one or more processors
(processor can include but is not limited to central processing unit (CPU), graphics processor (GPU), Digital Signal Processing (DSP) chip,
The processing unit of microprocessor (MCU) or programmable logic device (FPGA) etc.) and memory for storing data.It is optional
Ground, above-mentioned first terminal and second terminal can also include the communication module group for communication function, input-output equipment and show
Showing device.It will appreciated by the skilled person that above structure description is only to illustrate, not to above-mentioned first terminal and
The structure of second terminal causes to limit.For example, first terminal and second terminal may also include it is more than above structure description or
Less component, or with describing different configurations from above structure.
Memory can be used for storing computer program, for example, the software program and module of application software, such as present invention are real
Apply the corresponding computer program of processing method of the connection status in example, the calculating that processor is stored in memory by operation
Machine program realizes the processing method of above-mentioned connection status thereby executing various function application and data processing.Memory
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory can further comprise remotely setting relative to processor
The memory set, these remote memories can pass through network connection to first terminal and second terminal.The example of above-mentioned network
Including but not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Communication module group is used to that data to be received or sent via a network.Above-mentioned network specific example may include terminal
Communication providers provide wireless network.In an example, communication module group includes a network adapter (Network
Interface Controller, NIC), it can be connected by base station with other network equipments so as to be led to internet
News.In an example, communication module group can be radio frequency (Radio Frequency, RF) module, be used for wirelessly
It is communicated with internet.
Display device can such as touch-screen type liquid crystal display (LCD), which aloows user
It is interacted with the graphic user interface (GUI) of terminal.User can be by touching finger contact and/or hand on touch sensitive surface
Gesture to carry out human-computer interaction with GUI, and human-computer interaction function herein optionally includes following interaction: creation webpage, drawing, text
Processing, production electronic document, game, video conference, instant messaging, send and receive e-mail, call interface, play digital video,
Playback digital music and/or web browsing etc. are configured/are stored in for executing the executable instruction of above-mentioned human-computer interaction function
In one or more processors executable computer program product or readable storage medium storing program for executing.
Similarly, above-mentioned first server and second server also may include that (processor can be with for one or more processors
Including but not limited to central processing unit (CPU), graphics processor (GPU), Digital Signal Processing (DSP) chip, microprocessor
(MCU) or the processing unit of programmable logic device (FPGA) etc.) and memory for storing data.Optionally, above-mentioned
One server and second server can also include the communication module group and input-output equipment for communication function.This field is general
Logical technical staff is appreciated that above structure description is only to illustrate, not to above-mentioned first server and second server
Structure causes to limit.For example, first server and second server may also include described than above structure it is more or less
Component, or with describing different configurations from above structure.
Memory can be used for storing computer program, for example, the software program and module of application software, such as present invention are real
Apply the corresponding computer program of processing method of the connection status in example, the calculating that processor is stored in memory by operation
Machine program realizes the processing method of above-mentioned connection status thereby executing various function application and data processing.Memory
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory can further comprise remotely setting relative to processor
The memory set, these remote memories can pass through network connection to first server and second server.Above-mentioned network
Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Wireless Fidelity (Wi-Fi) component in communication module group includes radio frequency (Radio Frequency, referred to as RF) mould
Block is used to wirelessly be communicated with internet.
In one alternate embodiment, second server can synchronize more according to the update message that first server is sent
Status information that is new and storing first terminal.Second terminal can be believed to the state of second server real-time query first terminal
Breath.That is, second terminal can send inquiry request message to second server, wherein the inquiry request message is used for second
The newest status information of server inquiry first terminal.In response to inquiry request message, second server is read from local data base
Take the newest status information of first terminal.Then, second server returns to query response message to second terminal again, wherein should
The newest status information of first terminal is carried in query response message.Certainly, second server can also be without waiting for second
Terminal sends inquiry request message to second server, but timing issues the last state letter of first terminal to second terminal
Breath, so that second terminal is monitored and counts to the newest status information of first terminal in time.
A wherein embodiment according to the present invention, provides a kind of embodiment of the processing method of connection status, needs to illustrate
, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructions
Row, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence herein
Execute shown or described step.
A kind of processing method of connection status for running on above-mentioned first server is provided in the present embodiment, and Fig. 2 is
The wherein flow chart of the processing method of the connection status of an embodiment according to the present invention, as shown in Fig. 2, this method includes following step
It is rapid:
Step S22 monitors the notification message got in customized title, wherein notification message is for notifying that first is whole
Connection status between end and first server;
Step S24, according to the status information stored in notification message synchronized update shadow device, wherein shadow device is matched
It sets in first server, and shadow device is corresponding with first terminal.
Through the above steps, it may be implemented using the notification message got in the customized title of monitoring, the notification message
For notifying the mode of the connection shape between first terminal and first server, by notification message synchronized update shadow device
The status information of storage, shadow device configuration is in first server and shadow device is corresponding with first terminal, reaches
It is substituted using the connection status of first terminal is obtained from customized title from second server and reserves title acquisition first terminal
Connection status purpose, to realize the limitation for getting rid of and obtaining terminal connection status using server reserves title mode
Property, so that the terminal connection status that gets of server and then solves the relevant technologies more accurately with reliable technical effect
During APP user accesses MQTT server usually using MQTT reserve topic mode obtain user it is online or from
Thus linear state causes APP user online or the technical issues of the judgement of off-line state lacks accuracy.
In the related technology, MQTT server can reserve (pre-defined) title (Topic) for first terminal to realize number
According to circulation.First terminal can be subscribed to after being connected to MQTT server and reserve any disappearing in Topic in MQTT server
Breath.First terminal can also be by sending a message to give out information within the scope of the specific Topic to reserved Topic.MQTT
The message that first terminal is issued can be transmitted to other terminals for subscribing to the Topic by server.However, when APP user with
There are in the case where many-one relationship between MQTT ClinetID, pass through AM automatic monitoring in MQTT server reserves topic
The online or off-line state of ClientID lacks accuracy, can not determine that the APP that specific ClientID is actually connected is used
Family.For this purpose, user is online or the limitation of off-line state in view of being obtained using MQTT server reserves topic mode, it will
It is changed to obtain that user is online or off-line state using the customized topic mode of first terminal, so that MQTT takes
The user that business device detects is online or off-line state is more accurate and reliable.
Shadow (shodow) equipment is substantially a JSON document, for store status information that first terminal reports or
Person's expectation state information.A corresponding shadow device can be respectively configured in each terminal on MQTT server, and passes through
The status information of MQTT connection real-time synchronization each terminal and shadow device.Certainly, other terminals can also pass through shadow device
Obtain status information or expectation state information that counterpart terminal reports.
Optionally, in step S22, monitoring the notification message got in customized title may include step performed below
It is rapid:
Step S221 monitors the online notification message that first terminal is sent into customized title, wherein online notice disappears
Breath is for notifying first terminal to be currently at presence.
After APP user is online, first terminal can send online notification message into customized topic, so as to
MQTT server notice first terminal is currently at presence.The online notification message may include: fixing head, Changeable head
Portion and message body.Fixing head can be used two bytes totally 16.In first character section, 4 binary representations are used
Type of message can indicate 16 kinds of type of messages (i.e. type of message 0-15) in total.Since the online notification message is whole by first
It holds to customized topic and gives out information, therefore, which belongs to type of message 1, i.e. connection message (CONNECT
MESSAGE).In addition, opening mark (DUP flag) using 1 binary representation, be defaulted as 0, for ensure first terminal to
The message reliable transmission of customized topic publication.Variable header may include: protocol name, version number, connection mark, user
The contents such as authorization, heart time.CONNECT message body, which generallys use binary form, to be indicated, and in CONNECT
Custom properties can be used in message body.CONNECT message body may include: ClientID, customized topic
With the content of message.
If first terminal sends online notification message into customized topic, can be used in MQTT server
Rule function listens to the online notification message in the customized topic.
Optionally, in step s 24, it can wrap according to the status information stored in notification message synchronized update shadow device
Include step performed below:
Step S241, according to online notification message by the status information synchronized update stored in shadow device in threadiness
State.
The online notice that first terminal is sent into customized topic is listened to using Rule function in MQTT server to disappear
After breath, the user online status stored in shodow equipment corresponding with the first terminal in MQTT server can be updated.
Optionally, in step S24, after the status information stored in notification message synchronized update shadow device, also
May include step performed below:
Step S25 sends the first update message to second server, wherein the first update message is for notifying the second clothes
The state information updating of storage is presence by business device.
The user online status stored in shodow equipment corresponding with the first terminal in MQTT server updates
After finishing, MQTT server can also to service server send the first update message, so as to service server according to first more
The state information updating stored in local data base is presence by new information.
Optionally, the above method can also include step performed below:
Step S26 receives the configuration message that first terminal is sent, wherein configuration message is used to detect in first server
When being in off-line state to first terminal, triggering first server sends offline notification message into customized title.
Above-mentioned first terminal both individually can send configuration message to MQTT server, can also will configure disappearing in message
The message body content that breath content is attached in online notification message is sent to MQTT server together.The configuration message may include:
Will topic and Will message.Lead to first terminal disconnecting (i.e. no active transmission there is Network Abnormal
DISCONNECT message) in the case where, MQTT server is able to detect that first terminal is in off-line state, therefore, MQTT clothes
Business device last unfulfilled wish of the deceased (Last Will) according to set by first terminal actively disappears to customized topic publication offline notification
Breath.
Optionally, in step S22, monitoring the notification message got in customized title may include step performed below
It is rapid:
Step S222 monitors the offline notification message that first server is sent into customized title, wherein offline notification
Message is for notifying first terminal to be currently at off-line state.
After APP user enters off-line state, MQTT server Last Will according to set by first terminal triggering
Under, actively offline notification message is issued to customized topic.The offline notification message may include: fixing head, variable header
And message body.Fixing head can be used two bytes totally 16.In first character section, disappeared using 4 binary representations
Type is ceased, can indicate 16 kinds of type of messages (i.e. type of message 0-15) in total.Since the offline notification message is by first terminal
It gives out information to customized topic, therefore, which belongs to type of message 14, i.e. connection message (DISCONNECT
MESSAGE).In addition, opening mark (DUP flag) using 1 binary representation, be defaulted as 0, for ensure first terminal to
The message reliable transmission of customized topic publication.Variable header may include: protocol name, version number, connection mark, user
The contents such as authorization, heart time.DISCONNECT message body, which generallys use binary form, to be indicated, and
Custom properties can be used in DISCONNECT message body.DISCONNECT message body may include:
The content of ClientID, customized topic and message.
If MQTT server sends offline notification message into customized topic, in MQTT server can so that
The offline notification message in the customized topic is listened to Rule function.
Optionally, step S24, according to the status information stored in notification message synchronized update shadow device may include with
Lower execution step:
Step S242, according to offline notification message by the status information synchronized update stored in shadow device be offline shape
State.
The offline notification that MQTT server is sent into customized topic is listened to using Rule function in MQTT server
After message, the offline shape of user stored in shodow equipment corresponding with the first terminal in MQTT server can be updated
State.
Optionally, in step S24, after the status information stored in notification message synchronized update shadow device, also
May include following processing step:
Step S27 sends the second update message to second server, wherein the second update message is for notifying the second clothes
The state information updating of storage is off-line state by business device.
The user's off-line state stored in shodow equipment corresponding with the first terminal in MQTT server updates
After finishing, MQTT server can also to service server send the second update message, so as to service server according to second more
The state information updating stored in local data base is off-line state by new information.
A wherein embodiment according to the present invention, additionally provides the embodiment of the processing method of another connection status, needs
Illustrate, step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
The processing method of another connection status for running on above-mentioned first terminal is provided in the present embodiment, and Fig. 3 is
The wherein flow chart of the processing method of another connection status of an embodiment according to the present invention, as shown in figure 3, this method includes
Following steps:
Step S32 obtains first terminal connection status to be entered;
Step S34 sends a notification message according to customized title of the connection status into first server, wherein notice
Message is configured for triggering the status information stored in first server synchronized update shadow device, shadow device in first service
In device, and shadow device is corresponding with first terminal.
Through the above steps, it may be implemented to pass through connection by the way of obtaining first terminal connection status to be entered
Customized title of the state into first server sends a notification message, wherein notification message is same for triggering first server
Step updates the status information stored in shadow device, and shadow device configures in first server, and shadow device and first is eventually
It holds corresponding, has reached using the connection status of first terminal is obtained from customized title and substituted from the reserved mark of second server
Topic obtains the purpose of the connection status of first terminal, obtains terminal company using server reserves title mode to realize and get rid of
The limitation of state is connect, so that the terminal connection status that gets of server and then solves more accurately with reliable technical effect
It has determined and has obtained use usually using the reserved topic mode of MQTT during APP user accesses MQTT server in the related technology
The technical issues of thus online perhaps off-line state in family causes APP user online or the judgement shortage accuracy of off-line state.
Optionally, in step S34, being sent a notification message according to connection status to customized title may include following hold
Row step:
Step S341 sends online notification message to customized title according to presence, so that first server is by shadow
The status information synchronized update stored in sub- equipment is presence.
After APP user is online, first terminal can send online notification message into customized topic, so as to
MQTT server notice first terminal is currently at presence.The online notification message may include: fixing head, Changeable head
Portion and message body.Fixing head can be used two bytes totally 16.In first character section, 4 binary representations are used
Type of message can indicate 16 kinds of type of messages (i.e. type of message 0-15) in total.Since the online notification message is whole by first
It holds to customized topic and gives out information, therefore, which belongs to type of message 1, i.e. connection message (CONNECT
MESSAGE).In addition, opening mark (DUP flag) using 1 binary representation, be defaulted as 0, for ensure first terminal to
The message reliable transmission of customized topic publication.Variable header may include: protocol name, version number, connection mark, user
The contents such as authorization, heart time.CONNECT message body, which generallys use binary form, to be indicated, and in CONNECT
Custom properties can be used in message body.CONNECT message body may include: ClientID, customized topic
With the content of message.
If first terminal sends online notification message into customized topic, can be used in MQTT server
Rule function listens to the online notification message in the customized topic.Is listened to using Rule function in MQTT server
After the online notification message that one terminal is sent into customized topic, can also update in MQTT server with this first eventually
Hold the user online status stored in corresponding shodow equipment.In addition, MQTT server can also send the to service server
One update message, so as to service server according to the first update message by the state information updating stored in local data base be
Linear state.
Optionally, the above method can also include step performed below:
Step S35 sends configuration message to first server, wherein configuration message in first server for detecting
When first terminal is in off-line state, triggering first server sends offline notification message into customized title.
Above-mentioned first terminal both individually can send configuration message to MQTT server, can also will configure disappearing in message
The message body content that breath content is attached in online notification message is sent to MQTT server together.The configuration message may include:
Will topic and Will message.Lead to first terminal disconnecting (i.e. no active transmission there is Network Abnormal
DISCONNECT message) in the case where, MQTT server is able to detect that first terminal is in off-line state, therefore, MQTT clothes
Be engaged in device Last Will according to set by first terminal, actively issues offline notification message to customized topic.
Above-mentioned implementation process is done below in conjunction with optional embodiment shown in Fig. 4 and is further described in detail.Fig. 4 is
The wherein flow chart of the processing method of the connection status of an alternative embodiment according to the present invention, as shown in figure 4, the process includes such as
Lower step:
Step S402, after APP user is online, first terminal can send online notice into customized topic and disappear
Breath, to be currently at presence to MQTT server notice first terminal;
Step S404, if first terminal sends online notification message into customized topic, in MQTT server just
The online notification message that Rule function listens in the customized topic can be used;Rule function is used in MQTT server
It listens to after the online notification message that first terminal is sent into customized topic, can update in MQTT server and is somebody's turn to do
The user online status stored in the corresponding shodow equipment of first terminal;
Step S406, the user stored in shodow equipment corresponding with the first terminal in MQTT server are online
After state update finishes, MQTT server can also send the first update message to service server, so as to service server root
According to the first update message by the state information updating stored in local data base be presence;
Step S408, first terminal send configuration message to MQTT server, lead to first terminal there is Network Abnormal
In the case where disconnecting (i.e. no active transmission DISCONNECT message), MQTT server is able to detect that at first terminal
In off-line state, therefore, MQTT server Last Will according to set by first terminal is actively issued to customized topic
Offline notification message;
Step S410, MQTT server is able to detect that first terminal is in off-line state;
Under step S412, MQTT server Last Will according to set by first terminal triggering, actively to customized
Topic issues offline notification message;
Step S414 listens to MQTT server into customized topic using Rule function in MQTT server and sends
Offline notification message after, the use stored in shodow equipment corresponding with the first terminal in MQTT server can be updated
Family off-line state;
Step S416, the user stored in shodow equipment corresponding with the first terminal in MQTT server are offline
After state update finishes, MQTT server can also send the second update message to service server, so as to service server root
According to the second update message by the state information updating stored in local data base be off-line state;
Step S418, second terminal can send inquiry request message to service server, wherein the inquiry request message
For the newest status information to service server inquiry first terminal;
Step S420, in response to inquiry request message, service server reads the newest of first terminal from local data base
Status information;
Step S422, service server return to query response message to second terminal again, wherein in the query response message
Carry the newest status information of first terminal.
It can be seen that no matter how the ClientID of user changes, as long as listening in the customized topic of APP user
Notification message all changes the presence for being confirmed as the APP user or off-line state.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Additionally provide a kind of processing unit of connection status in the present embodiment, the device for realizing above-described embodiment and
Preferred embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "
The combination of the software and/or hardware of energy.It is hard although device described in following embodiment is preferably realized with software
The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 5 is the wherein structural block diagram of the processing unit of the connection status of an embodiment according to the present invention, as shown in figure 5,
The device includes: to monitor module 10, for monitoring the notification message got in customized title, wherein notification message is used for
Notify the connection status between first terminal and first server;Processing module 20, for according to notification message synchronized update shadow
The status information stored in sub- equipment, wherein shadow device configures in first server, and shadow device and first terminal phase
It is corresponding.
Optionally, monitoring module 10, the online notification message sent for monitoring first terminal into customized title,
In, online notification message is for notifying first terminal to be currently at presence.
Optionally, processing module 20, for according to online notification message that the status information stored in shadow device is synchronous
It is updated to presence.
Optionally, Fig. 6 is the wherein structural block diagram of the processing unit of the connection status of an alternative embodiment according to the present invention,
As shown in fig. 6, above-mentioned apparatus further include: sending module 30, for sending the first update message to second server, wherein the
One update message for notify second server by the state information updating of storage be presence.
Optionally, as shown in fig. 6, above-mentioned apparatus further include: receiving module 40 is also used to receive matching for first terminal transmission
Set message, wherein configuration message is used for when first server detects that first terminal is in off-line state, triggers first service
Device sends offline notification message into customized title.
Optionally, monitoring module 10, the offline notification message sent for monitoring first server into customized title,
Wherein, offline notification message is for notifying first terminal to be currently at off-line state.
Optionally, processing module 20, for according to offline notification message that the status information stored in shadow device is synchronous
It is updated to off-line state.
Optionally, sending module 30 are also used to send the second update message to second server, wherein the second update disappears
Breath for notify second server by the state information updating of storage be off-line state.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
The processing unit of another connection status is additionally provided in the present embodiment, and the device is for realizing above-described embodiment
And preferred embodiment, the descriptions that have already been made will not be repeated.As used below, term " module " may be implemented to make a reservation for
The combination of the software and/or hardware of function.It is hard although device described in following embodiment is preferably realized with software
The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 7 is the wherein structural block diagram of the processing unit of another connection status of an embodiment according to the present invention, such as Fig. 7
Shown, which includes: to obtain module 50, for obtaining first terminal connection status to be entered;Processing module 60 is used for root
It sends a notification message according to customized title of the connection status into first server, wherein notification message is for triggering the first clothes
The status information that stores in business device synchronized update shadow device, shadow device configure in first server, and shadow device with
First terminal is corresponding.
Optionally, processing module 60, for sending online notification message to customized title according to presence, so that the
The status information synchronized update stored in shadow device is presence by one server.
Optionally, processing module 60 are also used to send configuration message to first server, wherein configuration message is used for
When first server detects that first terminal is in off-line state, triggering first server sends offline logical into customized title
Know message.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1 monitors the notification message got in customized title, wherein notification message is for notifying first terminal and the
Connection status between one server;
S2, according to the status information stored in notification message synchronized update shadow device, wherein shadow device configuration is the
In one server, and shadow device is corresponding with first terminal.
Optionally, storage medium is also configured to store the computer program for executing following steps:
S1 obtains first terminal connection status to be entered;
S2 sends a notification message according to customized title of the connection status into first server, wherein notification message is used
The status information stored in triggering first server synchronized update shadow device, shadow device configure in first server,
And shadow device is corresponding with first terminal.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of processor, which is arranged to run computer program to execute
Step in any of the above-described embodiment of the method.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 monitors the notification message got in customized title, wherein notification message is for notifying first terminal and the
Connection status between one server;
S2, according to the status information stored in notification message synchronized update shadow device, wherein shadow device configuration is the
In one server, and shadow device is corresponding with first terminal.
Optionally, in the present embodiment, above-mentioned processor may be also configured to execute following step by computer program
It is rapid:
S1 obtains first terminal connection status to be entered;
S2 sends a notification message according to customized title of the connection status into first server, wherein notification message is used
The status information stored in triggering first server synchronized update shadow device, shadow device configure in first server,
And shadow device is corresponding with first terminal.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (18)
1. a kind of processing method of connection status characterized by comprising
Monitor the notification message got in customized title, wherein the notification message is for notifying first terminal and first
Connection status between server;
According to the status information stored in the notification message synchronized update shadow device, wherein the shadow device configuration exists
In the first server, and the shadow device is corresponding with the first terminal.
2. the method according to claim 1, wherein monitoring the notice got in the customized title
Message includes:
Monitor the online notification message that the first terminal is sent into the customized title, wherein the online notice disappears
Breath is for notifying the first terminal to be currently at presence.
3. according to the method described in claim 2, it is characterized in that, the shadow device according to the notification message synchronized update
The status information of middle storage includes:
It by the status information synchronized update stored in the shadow device is described online according to the online notification message
State.
4. according to the method described in claim 3, it is characterized in that, being set in the shadow according to the notification message synchronized update
After the status information of standby middle storage, further includes:
The first update message is sent to second server, wherein first update message is for notifying the second server
It is the presence by the state information updating of storage.
5. the method according to claim 1, wherein the method also includes:
Receive the configuration message that the first terminal is sent, wherein the configuration message is used to detect in the first server
When being in off-line state to the first terminal, triggers the first server and send offline notification into the customized title
Message.
6. the method according to claim 1, wherein monitoring the notice got in the customized title
Message includes:
Monitor the offline notification message that the first server is sent into the customized title, wherein the offline notification
Message is for notifying the first terminal to be currently at off-line state.
7. according to the method described in claim 6, it is characterized in that, the shadow device according to the notification message synchronized update
The status information of middle storage includes:
It by the status information synchronized update stored in the shadow device is described offline according to the offline notification message
State.
8. the method according to the description of claim 7 is characterized in that being set in the shadow according to the notification message synchronized update
After the status information of standby middle storage, further includes:
The second update message is sent to second server, wherein second update message is for notifying the second server
It is the off-line state by the state information updating of storage.
9. a kind of processing method of connection status characterized by comprising
Obtain first terminal connection status to be entered;
It is sent a notification message according to customized title of the connection status into first server, wherein the notification message
For triggering the status information stored in the first server synchronized update shadow device, the shadow device configuration is described
In first server, and the shadow device is corresponding with the first terminal.
10. according to the method described in claim 9, it is characterized in that, being sent out according to the connection status to the customized title
The notification message is sent to include:
Online notification message is sent to the customized title according to presence, so that the first server is by the shadow
The status information synchronized update stored in equipment is the presence.
11. according to the method described in claim 9, it is characterized in that, the method also includes:
Configuration message is sent to the first server, wherein the configuration message in the first server for detecting
When the first terminal is in off-line state, triggers the first server and send offline notification into the customized title and disappear
Breath.
12. a kind of processing unit of connection status characterized by comprising
Module is monitored, for monitoring the notification message got in customized title, wherein the notification message is for notifying the
Connection status between one terminal and first server;
Processing module, for according to the status information stored in the notification message synchronized update shadow device, wherein the shadow
Sub- device configuration is in the first server, and the shadow device is corresponding with the first terminal.
13. a kind of processing unit of connection status characterized by comprising
Module is obtained, for obtaining first terminal connection status to be entered;
Processing module, for being sent a notification message according to customized title of the connection status into first server, wherein
For triggering the status information stored in the first server synchronized update shadow device, the shadow is set the notification message
Standby configuration is in the first server, and the shadow device is corresponding with the first terminal.
14. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 8 described in connection status processing method
Or the processing method of connection status described in any one of claim 9 to 11.
15. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 8 described in connection status processing method or the company described in any one of claim 9 to 11
Connect the processing method of state.
16. a kind of processing system of connection status characterized by comprising first terminal, first server, second server
And second terminal, wherein the first server includes the processing unit of connection status described in claim 12, and described
One terminal includes the processing unit of connection status described in claim 13.
17. system according to claim 16, which is characterized in that the second server for synchronized update and stores
The status information of the first terminal.
18. system according to claim 17, which is characterized in that the second terminal is used for the second server
The status information of first terminal described in real-time query.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910646698.7A CN110380931A (en) | 2019-07-17 | 2019-07-17 | Processing method, device, storage medium, processor and the system of connection status |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910646698.7A CN110380931A (en) | 2019-07-17 | 2019-07-17 | Processing method, device, storage medium, processor and the system of connection status |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110380931A true CN110380931A (en) | 2019-10-25 |
Family
ID=68253745
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910646698.7A Pending CN110380931A (en) | 2019-07-17 | 2019-07-17 | Processing method, device, storage medium, processor and the system of connection status |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110380931A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110958142A (en) * | 2019-11-26 | 2020-04-03 | 华为技术有限公司 | Device maintenance method, maintenance device, storage medium, and computer program product |
| CN111010318A (en) * | 2019-12-19 | 2020-04-14 | 北京首信科技股份有限公司 | Method and system for discovering loss of connection of terminal equipment of Internet of things and equipment shadow server |
| CN111478965A (en) * | 2020-04-07 | 2020-07-31 | 四川虹美智能科技有限公司 | Method, device and system for processing device shadow |
| CN112788125A (en) * | 2020-12-31 | 2021-05-11 | 浙江航天恒嘉数据科技有限公司 | Internet of things platform and method based on data access, circulation and linkage |
| CN113037771A (en) * | 2021-03-29 | 2021-06-25 | 北京金山云网络技术有限公司 | Method and device for controlling device shadow, storage medium and electronic device |
| CN113905074A (en) * | 2020-07-06 | 2022-01-07 | 上海庆科信息技术有限公司 | Feeding equipment monitoring method and device, storage medium, processor and system |
| CN118573725A (en) * | 2024-05-24 | 2024-08-30 | 福建时代星云科技有限公司 | Equipment offline monitoring method and system |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101022451A (en) * | 2006-02-14 | 2007-08-22 | 杭州华为三康技术有限公司 | Connection state synchronizing method in data communication and applied communication node thereof |
| CN103905409A (en) * | 2012-12-30 | 2014-07-02 | 青岛海尔软件有限公司 | Automatic registration and discovery method based on wide area network devices |
| CN104320425A (en) * | 2014-08-28 | 2015-01-28 | 海视云(北京)科技有限公司 | Method and device for receiving and sending message |
| US20170104792A1 (en) * | 2015-10-08 | 2017-04-13 | Verizon Patent And Licensing Inc. | Establishing media sessions via mqtt and sip |
| CN108123940A (en) * | 2017-12-18 | 2018-06-05 | 中国科学院深圳先进技术研究院 | Asynchronous communication method, storage medium and processor based on socket |
| CN108768826A (en) * | 2018-05-16 | 2018-11-06 | 华南理工大学 | Based on the message route method under MQTT and Kafka high concurrent scenes |
-
2019
- 2019-07-17 CN CN201910646698.7A patent/CN110380931A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101022451A (en) * | 2006-02-14 | 2007-08-22 | 杭州华为三康技术有限公司 | Connection state synchronizing method in data communication and applied communication node thereof |
| CN103905409A (en) * | 2012-12-30 | 2014-07-02 | 青岛海尔软件有限公司 | Automatic registration and discovery method based on wide area network devices |
| CN104320425A (en) * | 2014-08-28 | 2015-01-28 | 海视云(北京)科技有限公司 | Method and device for receiving and sending message |
| US20170104792A1 (en) * | 2015-10-08 | 2017-04-13 | Verizon Patent And Licensing Inc. | Establishing media sessions via mqtt and sip |
| CN108123940A (en) * | 2017-12-18 | 2018-06-05 | 中国科学院深圳先进技术研究院 | Asynchronous communication method, storage medium and processor based on socket |
| CN108768826A (en) * | 2018-05-16 | 2018-11-06 | 华南理工大学 | Based on the message route method under MQTT and Kafka high concurrent scenes |
Non-Patent Citations (2)
| Title |
|---|
| 璃茉浅浅: "设备影子", 《CSDN博客》 * |
| 网友: "获得从MQTT客户端连接的客户端ID列表", 《百度》 * |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110958142A (en) * | 2019-11-26 | 2020-04-03 | 华为技术有限公司 | Device maintenance method, maintenance device, storage medium, and computer program product |
| CN111010318A (en) * | 2019-12-19 | 2020-04-14 | 北京首信科技股份有限公司 | Method and system for discovering loss of connection of terminal equipment of Internet of things and equipment shadow server |
| CN111478965A (en) * | 2020-04-07 | 2020-07-31 | 四川虹美智能科技有限公司 | Method, device and system for processing device shadow |
| CN113905074A (en) * | 2020-07-06 | 2022-01-07 | 上海庆科信息技术有限公司 | Feeding equipment monitoring method and device, storage medium, processor and system |
| CN113905074B (en) * | 2020-07-06 | 2023-10-24 | 上海庆科信息技术有限公司 | Food throwing equipment monitoring method, device, storage medium, processor and system |
| CN112788125A (en) * | 2020-12-31 | 2021-05-11 | 浙江航天恒嘉数据科技有限公司 | Internet of things platform and method based on data access, circulation and linkage |
| CN113037771A (en) * | 2021-03-29 | 2021-06-25 | 北京金山云网络技术有限公司 | Method and device for controlling device shadow, storage medium and electronic device |
| CN113037771B (en) * | 2021-03-29 | 2022-11-08 | 北京金山云网络技术有限公司 | Method and device for controlling device shadow, storage medium and electronic device |
| CN118573725A (en) * | 2024-05-24 | 2024-08-30 | 福建时代星云科技有限公司 | Equipment offline monitoring method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110380931A (en) | Processing method, device, storage medium, processor and the system of connection status | |
| CN111611091B (en) | A service calling method, device and medium for a business object | |
| CN103581276B (en) | Cluster management device, system, service customer end and correlation method | |
| CN109743358A (en) | Asynchronous message interface fusing control method, device, computer equipment and storage medium | |
| CN109391649A (en) | The methods, devices and systems of page load | |
| CN103024698B (en) | A kind of method, system and the mobile terminal of information that integrating each contact person | |
| US20130055271A1 (en) | Apparatus and method for controlling polling | |
| CN106993043B (en) | Data communication system and method based on agency | |
| CN110032451A (en) | Distributed multilingual message realization method, device and server | |
| CN105208047A (en) | Online and off line methods of distributed system server, and server | |
| CN110446273A (en) | A kind of method and apparatus based on electronics price tag networking | |
| CN109660421A (en) | Method, apparatus, server and the storage medium of flexible scheduling resource | |
| CN103634327B (en) | The long-range control method and device of terminal | |
| KR101545626B1 (en) | System for interoperation between dds and dbms | |
| CN110740155B (en) | Request processing method and device in distributed system | |
| CN103139157A (en) | Network communication method based on socket, device and system | |
| CN107357571A (en) | Maintenance method and system of equipment component program and component server | |
| CN109558239A (en) | A kind of method for scheduling task, device, system, computer equipment and storage medium | |
| KR20180069087A (en) | Social media product reservation | |
| CN105553762B (en) | Communication means, system and related device between household electrical appliance and mobile terminal | |
| CN110381057A (en) | Processing method, device, storage medium, processor and the system of communication connection | |
| CN114157725B (en) | Method, device, server, electronic equipment and storage medium for equipment linkage | |
| CN115951923A (en) | Subscription event management method and related product | |
| CN109688402A (en) | A kind of exchange method based on hologram, client and system | |
| CN113743879B (en) | Automatic rule processing method, system and related equipment |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191025 |
|
| RJ01 | Rejection of invention patent application after publication |