WO2020043209A1 - 断网状态的上报方法、装置及存储介质 - Google Patents
断网状态的上报方法、装置及存储介质 Download PDFInfo
- Publication number
- WO2020043209A1 WO2020043209A1 PCT/CN2019/103873 CN2019103873W WO2020043209A1 WO 2020043209 A1 WO2020043209 A1 WO 2020043209A1 CN 2019103873 W CN2019103873 W CN 2019103873W WO 2020043209 A1 WO2020043209 A1 WO 2020043209A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- message
- communication
- preset
- server
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 145
- 238000004891 communication Methods 0.000 claims abstract description 195
- 238000013507 mapping Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 23
- 230000015654 memory Effects 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 17
- 238000012790 confirmation Methods 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 abstract description 7
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 14
- 238000007726 management method Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 230000004048 modification Effects 0.000 description 8
- 238000012986 modification Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 230000006855 networking Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000013024 troubleshooting Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- 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
-
- 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/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- MDM mobile terminal management control system
- another method for reporting a network disconnection state including:
- Another method for reporting a network disconnection state including:
- another apparatus for reporting a disconnection state including:
- the monitoring module is configured to monitor whether the first terminal enables a preset communication method; the determination module is configured to determine that the communication identifier of the preset communication method meets a preset rule when the first terminal is monitored to enable the preset communication method, wherein The rule is set such that the second terminal senses that the first terminal is in a disconnected state and the second terminal is currently in a networked state; the first reporting module is configured to report the disconnected state of the first terminal to the server.
- a computer-readable storage medium stores a computer program, and the computer program is configured to execute any one of the foregoing method embodiments when running. Steps.
- the terminal since the terminal is in a disconnected state, it can actively report the current status of the lost terminal to the service center through a non-direct connection, so that the service center can adopt more technologies. Measures to achieve the management and control of the lost terminal, instead of just adopting the strategy of giving up the management and control, which can solve the problem that the service center in the related technology can usually only give up the management and control of the lost terminal, resulting in the loss of control of the terminal.
- the server can accurately determine the cause of the terminal's disconnection and the current status, thereby eliminating the service center or the frequently connected service failure, and performing the technical effect of further controlling the network disconnection equipment.
- FIG. 1 is a schematic diagram of an operating environment of a method for reporting a disconnected state according to an embodiment of the present disclosure
- FIG. 2 is a flowchart of a method for reporting a disconnected state according to one embodiment of the present disclosure
- FIG. 3 is a flowchart of another method for reporting a network disconnection status according to an embodiment of the present disclosure
- FIG. 5 is a flowchart of a terminal reporting a state of disconnection from the network by turning on a Wi-Fi hotspot function in a network disconnection environment according to an optional embodiment of the present disclosure
- FIG. 6 is a flowchart of a disconnected terminal connected to a surrounding networked terminal in a disconnected environment to report its disconnected state according to an optional embodiment of the present disclosure
- FIG. 7 is a flowchart of a service center maintaining a terminal password and performing a password update interaction with the terminal according to an optional embodiment of the present disclosure
- FIG. 10 is a structural block diagram of another apparatus for reporting a disconnected state according to an embodiment of the present disclosure.
- FIG. 12 is a structural block diagram of another apparatus for reporting a disconnected state according to an embodiment of the present disclosure.
- FIG. 13 is a structural block diagram of another apparatus for reporting a disconnected state according to an optional embodiment of the present disclosure.
- FIG. 1 is a schematic diagram of an operating environment of a method for reporting a disconnected state according to an embodiment of the present disclosure.
- the method for reporting a disconnected state according to the present disclosure may be run on the first terminal 1 shown in FIG. 1. (That is, the network disconnection terminal), on the second terminal 2 (that is, the network connection terminal) or on the server 3 (hereinafter also referred to as a service center).
- the interaction between the first terminal 1, the second terminal 2, and the server 3 as shown in FIG. 1 is used to report the disconnection status of the first terminal 1.
- each device in the first terminal 1, the second terminal 2, and the server 3 may include: one or more processors (the processor may include, but is not limited to, a microprocessor (MCU) or programmable logic A processing device such as a device (FPGA) and a memory provided to store data.
- the processor may include, but is not limited to, a microprocessor (MCU) or programmable logic A processing device such as a device (FPGA) and a memory provided to store data.
- each of the devices described above may further include a transmission device and an input / output device configured as a communication function.
- the memory may be configured to store a computer program, for example, a software program and module of application software, such as a computer program corresponding to the method for reporting a disconnection state in the embodiment of the present disclosure.
- the processor executes the computer program stored in the memory to execute the computer program.
- Various functional applications and data processing that is, the above-mentioned method for reporting the disconnected state is implemented.
- the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other non-volatile solid-state memory.
- the memory may further include a memory remotely disposed with respect to the processor, and these remote memories may be connected to each of the above devices through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- the transmission device is configured to receive or transmit data via a network.
- the foregoing specific network examples may include a wireless network provided by a communication provider of a terminal or a server.
- the transmission device includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network equipment through a base station so as to communicate with the Internet.
- the transmission device may be a radio frequency (RF) module, which is configured to communicate with the Internet in a wireless manner.
- RF radio frequency
- a service center system deployed on a computer network cloud and an application installed on a mobile terminal need to be deployed.
- the main functions of the service center system include the following aspects:
- the unique identifier can be the International Mobile Equipment Identity (IMEI), Mobile Equipment Identifier (MEID), International Mobile Subscriber Identification Number (IMSI) One or more combinations that can uniquely identify the identity of the terminal.
- the communication key can be a password set to a local area network or near field communication function, such as a terminal Wi-Fi hotspot, Bluetooth, and near field communication (NFC).
- the main functions of the terminal application may include the following aspects:
- the computer network refers to the computer network where the service center is located. Only the terminal and the service center in the same network environment are considered to be connected.
- the terminal finds that the network is disconnected, it actively turns on its own network or near field communication function, which can include but is not limited to: Wi-Fi hotspot, Bluetooth, NFC. These features that are turned on have certain characteristics, such as: Wi-Fi hotspot
- Wi-Fi hotspot The name meets the preset rules.
- All networked terminals monitor whether there are other terminals with Wi-Fi hotspots, Bluetooth, NFC and other networks or near field communication functions enabled, and whether the names meet the network disconnection naming rules formulated by the service center. If so, the service center is requested to connect with the password of the lost terminal in order to initiate the connection actively.
- the disconnected online reporting method described in the present disclosure is suitable for a scenario where the terminal is connected to the cloud service center. Due to business requirements, the terminal needs to maintain a constant connection with the cloud service center. When the regular connection is disconnected, the service center can receive the network disconnection information reported by the terminal to accurately determine the reason and current status of the terminal's disconnection, thereby excluding the fault of the service center or the frequently connected service, and the network disconnection. The device performs further control operations.
- Specific application scenarios may include, but are not limited to, one of the following: (1) Bring your own device (Bring, Your, Own, Device, or BYOD for short) applications, that is, mobile office, this scenario includes mobile phones, tablets, and communication with the office Other terminals of the module; (2) All kinds of intelligent hardware in the smart home are interconnected through home Wi-Fi, which helps to monitor and locate the status of the home network and the connection status of each intelligent terminal to strengthen the management and troubleshooting of the intelligent terminal; (3) Internet of vehicles; (4) Industrial Internet, for example: water and electricity monitoring terminal with wireless communication module.
- FIG. 2 is a flowchart of a method for reporting a network disconnection state according to one embodiment of the present disclosure, as shown in FIG. 2, The process includes the following steps:
- step S202 when it is determined that the first terminal is in a disconnected state, a preset communication method is started, wherein the communication identifier of the preset communication method meets a preset rule, and the preset rule is set so that the second terminal currently in the networked state perceives the A terminal is currently in a disconnected state, so as to report the disconnected state of the first terminal to the server through the second terminal.
- the terminal since the terminal is in a disconnected state, it can actively report the current status of the lost terminal to the service center through a non-direct connection, so that the service center can take more technical measures to achieve
- the management and control of the disconnected terminal instead of only adopting the strategy of giving up the control, can solve the problem that the service center in the related technology can usually only give up the management and control of the lost terminal, which leads to the loss of the ability to control and control the terminal.
- the technical effect of the server being able to accurately determine the cause of the terminal's disconnection and the current status, thereby excluding the failure of the service center or frequently connected service, and performing further management and control operations on the disconnected equipment.
- an execution subject of the method steps involved in the method embodiment may be a network disconnection terminal, etc., but is not limited thereto.
- step numbers of the method steps involved in the method embodiments do not represent the order of execution.
- the preset rule includes: a first part and a second part, wherein the first part is designated by the server, and the second part is identification information of the first terminal, so that the second terminal uses the identification information to Report the disconnected status to the server.
- the preset rule further includes one of the following: a third part, where the third part is a password for the preset communication function; a third part and a fourth part, where the fourth part is the preset communication function The password update cycle.
- Random password generation strategies include, but are not limited to, one of the following:
- this timestamp can be the Wi-Fi hotspot on time or other attributes related time of the current device;
- the current device attributes may include but is not limited to: some hardware attributes (for example: Mac address);
- the preset rule includes: a first part, wherein the first part is specified by a server.
- the disconnected terminal listens to the network disconnection and confirms, and opens a preset Wi-Fi hotspot.
- This Wi-Fi hotspot is automatically turned on by the software after the terminal is disconnected, and the Wi-Fi hotspot name meets
- the preset rule requires that the rule be specified by the service center, for example: a fixed string (equivalent to the first part above).
- the method may further include the following execution steps:
- Step S204 monitoring the connection request to the second terminal through the preset communication function
- Step S206 In response to the connection request, send a first message to the second terminal, so that the second terminal reports the first message to the server, where the first message is set to indicate that the first terminal is currently disconnected from the network, and the first message includes : Identification information of the first terminal.
- a terminal with a normal network connection monitors the surrounding Wi-Fi hotspots. If the hotspot name is found to meet the rules set by the service center, the hotspot name is sent to the service center in a specific format message, and the service center is requested to return this Wi-Fi hotspot password.
- the message contains the Wi-Fi hotspot name and the request message ID for this Wi-Fi hotspot password.
- the service center maintains the correspondence between Wi-Fi hotspot names and Wi-Fi hotspot passwords of all terminals.
- the service center parses all the messages reported by the terminal. If the type of the parsed message is a Wi-Fi hotspot password request message, it searches for the corresponding password based on the Wi-Fi hotspot name in the message and returns it.
- the connected terminal uses the password returned by the service center to connect to the Wi-Fi hotspot of the disconnected terminal.
- the disconnected terminal monitors the Wi-Fi hotspot connection event, and sends a disconnected online report message (equivalent to the above-mentioned first message) to the connected terminal after the connection is successful, where the message contains the unique identifier of the disconnected terminal.
- the first message further includes at least one of the following: the network disconnection time of the first terminal, and the geographic location of the first terminal.
- the network disconnection message sent by the network disconnected terminal to the networked terminal may be supplemented with other additional information, such as: additional network disconnection time, additional geographical location, and simultaneous network disconnection time and geographical position.
- the method may further include the following execution steps:
- Step S208 receiving a second message from the second terminal, where the second message is set to indicate that the server has learned that the first terminal is currently in a disconnected state;
- Step S210 In response to the second message, perform one of the following operations:
- the service center After the service center confirms the network disconnection terminal, it returns a message confirming the network disconnection to the networked terminal.
- the network-connected terminal forwards the network disconnection confirmation message returned by the service center to the network-disconnected terminal.
- the disconnected terminal can implement one of the following actions:
- the disconnection terminal has completed the report of disconnection and disconnection. In order to reduce power consumption or prevent other devices from discovering, the Wi-Fi hotspot is actively closed;
- the disconnected terminal has completed the report of disconnection and disconnection. However, in order to maintain subsequent communication with the service center and maintain the current connection with the networked terminal, and to prevent other devices from connecting to increase power consumption, the disconnected terminal will use Wi -Fi hotspot hiding;
- the disconnected terminal In order to avoid the disconnection of the network terminal and the disconnection of the terminal from the service center again, the disconnected terminal always keeps the Wi-Fi hotspot turned on and allows other devices to connect. Avoid power consumption caused by excessive terminal connections.
- FIG. 3 is a flowchart of another method for reporting a disconnected state according to an embodiment of the present disclosure, as shown in FIG. 3 As shown, the process includes the following steps:
- Step S302 monitoring whether the first terminal enables a preset communication mode
- step S304 when it is monitored that the first terminal starts the preset communication method, it is determined that the communication identifier of the preset communication method meets a preset rule, wherein the preset rule is set so that the second terminal perceives that the first terminal is currently in a disconnected state.
- the two terminals are currently in a networked state;
- Step S306 Report the disconnected state of the first terminal to the server.
- an execution subject of the method steps involved in the method embodiment may be a networked terminal or the like, but is not limited thereto.
- step numbers of the method steps involved in the method embodiments do not represent the order of execution.
- step S304 determining that the communication identifier satisfies a preset rule may include the following execution steps:
- Step S3041 it is determined that the communication identifier includes a first part and a second part of a preset rule, wherein the first part is designated by the server and the second part is identification information of the first terminal.
- the network disconnection terminal monitors the network disconnection and confirms, and turns on the preset Wi-Fi hotspot.
- This Wi-Fi hotspot is automatically turned on by the software after the terminal is disconnected.
- the Wi-Fi hotspot name meets the requirements of preset rules: [PREFIX] [SUFFIX], where [PREFIX] (equivalent to the first part above) is specified by the service center. For example: a fixed string, [SUFFIX] (equivalent to the second part above) is the unique identifier of each terminal, for example: the unique identifier of the terminal generated by IMEI, MEID, IMSI, or the service center. All terminals with normal networking status monitor the surrounding Wi-Fi hotspots. If the hotspot names are found to include [PREFIX] and [SUFFIX], make sure that the hotspot names meet the [PREFIX] [SUFFIX] rule.
- Step S422 if the confirmation reply from the first terminal is not received within the preset time range, the mapping relationship between the identification information of the first terminal and the first communication key is restored to the identification information of the first terminal and Mapping relationship between the second communication keys.
- step S503 all terminals with normal networking status monitor the surrounding Wi-Fi hotspots. If the hotspot name is found to meet the [PREFIX] [SUFFIX] rule, the [SUFFIX] is resolved from the hotspot name and reported to the service center in a specific format message, where , The message contains the [SUFFIX] and the disconnected online report message identifier, for example: ⁇ "type”: “disconnect”, "device”: "[SUFFIX]” ⁇ ;
- step S504 the service center parses the message reported by the terminal. If the type of the parsed message is a disconnected online report message, the unique identifier of the disconnected device is extracted from the message body and the device is further processed.
- step S604 the service center maintains the correspondence between Wi-Fi hotspot names and Wi-Fi hotspot passwords of all terminals.
- the service center parses all the messages reported by the terminal. If the type of the parsed message is a Wi-Fi hotspot password request message, it searches for the corresponding password based on the Wi-Fi hotspot name in the message and returns it.
- Step S605 The networked terminal connects to the Wi-Fi hotspot of the disconnected terminal using the password returned by the service center.
- Step S606 The disconnected terminal monitors the Wi-Fi hotspot connection event, and sends a disconnected online report message to the networked terminal after the connection is successful, where the message includes: the unique identifier of the disconnected terminal, and other additional information can be attached, for example: Additional offline time, additional geographic location, and simultaneously additional offline time and geographic location.
- step S607 the network-connected terminal forwards the network disconnection message sent by the network-disconnected terminal to the service center. Before forwarding, the network-connected terminal may add other additional information to the message sent by the network-disconnected terminal.
- Step S609 The service center returns a message confirming the disconnection to the network terminal.
- Step S610 The networked terminal forwards the network disconnection confirmation message returned by the service center to the network disconnected terminal.
- Step S611 The network disconnection terminal may implement one of the following actions according to the actual situation:
- the disconnected terminal has completed the report of disconnection and disconnection. However, in order to maintain subsequent communication with the service center and maintain the current connection with the networked terminal, and to prevent other devices from connecting to increase power consumption, the disconnected terminal will use Wi -Fi hotspot hiding;
- Step S701 The service center updates the password of the terminal, which may include but is not limited to one of the following methods:
- Method 1 The terminal requests the service center to update the password, which can be triggered periodically or by specific events, for example, the terminal is triggered after the network is disconnected and reconnected.
- Method 2 The service center periodically triggers the terminal password update operation.
- step S704 after receiving the password update success information reported by the terminal, the service center establishes a mapping relationship between the new password and the terminal.
- Step S705 After the mapping center is successfully updated, the service center sends a confirmation of the mapping relationship modification success to the terminal, and starts a timer to wait for a response from the terminal.
- step S708 if the service center does not receive a terminal confirmation response within the timeout period, the service center restores the mapping relationship between the terminal and the new password to the mapping relationship between the terminal and the old password.
- the technical solution of the present disclosure that is essentially or contributes to the existing technology can be embodied in the form of a software product that is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the embodiments of the present disclosure.
- a terminal device which may be a mobile phone, a computer, a server, or a network device, etc.
- a device for reporting a disconnected state is also provided.
- the device is configured to implement the foregoing embodiments and preferred implementations, and the descriptions will not be repeated.
- the term "module” may implement a combination of software and / or hardware for a predetermined function.
- the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and conceived.
- FIG. 8 is a structural block diagram of a device for reporting a disconnected state according to one embodiment of the present disclosure.
- the device includes a startup module 100 configured to enable a pre-connection when it is determined that a first terminal is in a disconnected state.
- a communication method is set, wherein the communication identifier of the preset communication method satisfies a preset rule, and the preset rule is set so that the second terminal currently in the networked state perceives that the first terminal is currently in the disconnected state, so that the first terminal is The network disconnection status of the terminal is reported to the server.
- the preset rule includes: a first part, wherein the first part is specified by a server.
- the preset rule further includes one of the following: a second part, wherein the second part is identification information of the first terminal; a second part and a third part, wherein the third part is a preset communication function Password; the second, third, and fourth sections, where the fourth section is the password update cycle of the preset communication function.
- FIG. 9 is a structural block diagram of a device for reporting a disconnection status according to an optional embodiment of the present disclosure.
- the device includes all modules shown in FIG. 8 and includes :
- the monitoring module 102 is configured to monitor the connection request to the second terminal through a preset communication function;
- the sending module 104 is configured to send a second message to the second terminal in response to the connection request, so that the second terminal reports the first to the server Two messages, where the second message is set to indicate that the first terminal is currently disconnected from the network, and the second message includes identification information of the first terminal.
- the second message further includes at least one of the following: the network disconnection time of the first terminal, and the geographical location of the first terminal.
- the above device further includes a receiving module 106 configured to receive a third message from the second terminal, where the third message is set to indicate that the server has learned that the first terminal is currently in Network disconnected state; the execution module 108 is set to perform one of the following operations in response to the third message: close the preset communication method; maintain the communication connection with the second terminal and hide the preset communication method; keep the preset communication method open ; Keep the preset communication method open and limit the number of terminals accessed through the preset communication method.
- a receiving module 106 configured to receive a third message from the second terminal, where the third message is set to indicate that the server has learned that the first terminal is currently in Network disconnected state
- the execution module 108 is set to perform one of the following operations in response to the third message: close the preset communication method; maintain the communication connection with the second terminal and hide the preset communication method; keep the preset communication method open ; Keep the preset communication method open and limit the number of terminals accessed through the preset communication method.
- another device for reporting a disconnection state is also provided.
- the device is configured to implement the foregoing embodiments and preferred implementation manners, and the descriptions will not be repeated.
- the term "module” may implement a combination of software and / or hardware for a predetermined function.
- the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and conceived.
- FIG. 10 is a structural block diagram of another device for reporting a disconnected state according to an embodiment of the present disclosure.
- the device includes: a monitoring module 200 configured to monitor whether a first terminal enables a preset communication method; Module 202 is configured to determine that the communication identifier of the preset communication method satisfies a preset rule when it is monitored that the first terminal starts the preset communication method, wherein the preset rule is set so that the second terminal perceives that the first terminal is disconnected from the network, The second terminal is currently in a networked state; the first reporting module 204 is configured to report the disconnected state of the first terminal to the server.
- the determining module 202 is configured to determine that the communication identifier includes a first part and a second part of a preset rule, wherein the first part is specified by the server and the second part is identification information of the first terminal.
- the first reporting module 204 includes: a parsing unit (not shown in the figure) configured to parse the identification information of the first terminal from the communication identifier; and a packaging unit (not shown in the figure) configured to The identification information of the first terminal and the report identification of the disconnected message are encapsulated into a first message; a reporting unit (not shown in the figure) is configured to report the first message to the server.
- the determining module 202 is configured to determine that the communication identifier includes a first part of a preset rule, wherein the first part is specified by the server.
- FIG. 11 is a structural block diagram of another network disconnection reporting device according to an optional embodiment of the present disclosure.
- the device includes all modules shown in FIG. 10 And further includes: an encapsulation module 206 configured to encapsulate the communication identifier and a communication password message identifier into a second message; a second reporting module 208 configured to report the second message to the server; and a first receiving module 210 configured to receive a message from The communication password corresponding to the preset communication method on the server; the sending module 212 is configured to use the communication password to send a connection request to the first terminal; and the second receiving module 214 is configured to receive the connection from the first terminal after the connection is successfully established.
- a third message wherein the third message is set to indicate that the first terminal is currently in a disconnected state, and the third message includes identification information of the first terminal.
- the first reporting module 204 is configured to forward the third message to the server.
- the above device further includes: a third receiving module 216 configured to receive a fourth message from the server, wherein the fourth message is set to indicate that the server has learned that the first terminal is currently in Network disconnection state; the forwarding module 218 is configured to forward the fourth message to the first terminal.
- This embodiment further provides another device for reporting a disconnected state.
- the device is configured to implement the foregoing embodiments and preferred implementations, and the descriptions will not be repeated.
- the term "module” may implement a combination of software and / or hardware for a predetermined function.
- the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and conceived.
- FIG. 12 is a structural block diagram of another apparatus for reporting a disconnected state according to an embodiment of the present disclosure.
- the apparatus includes a first receiving module 300 configured to receive a second established communication with a first terminal. The first message reported by the terminal, wherein the second terminal is currently in a networked state; the parsing module 302 is configured to parse the first message to obtain the first message type identifier and the identification information of the first terminal; the determination module 304 is configured to A message type identifier and identification information of the first terminal determine that the first terminal is in a disconnected state.
- the determining module 304 includes: a first determining unit (not shown in the figure), configured to determine that the first message is a message reporting a network disconnection status according to the first message type identifier; and a second determining unit (in the figure) (Not shown), configured to determine that the first terminal is in a disconnected state according to the identification information of the first terminal.
- FIG. 13 is a structural block diagram of another device for reporting a disconnected state according to an optional embodiment of the present disclosure.
- the device includes all modules shown in FIG. 12 And further includes: a second receiving module 306 configured to receive a second message reported by the second terminal, wherein the second message includes: a second message type identifier and a communication identifier of a preset communication method adopted by the first terminal; an acquisition module 308, configured to obtain a communication password corresponding to the communication identifier according to the second message type identifier and communication identifier; the first feedback module 310 is configured to return the communication password to the second terminal, wherein the communication password is set to obtain the first terminal's Identification information.
- the obtaining module 308 includes: a third determining unit (not shown in the figure) configured to determine that the second message is a message for obtaining a communication password according to the second message type identifier; and an obtaining unit (not shown in the figure) ) Is set to find a corresponding communication password from a preset correspondence relationship according to the communication identifier.
- the above device further includes: a sending module 312 configured to generate a first communication key and send the first communication key to the first terminal; and a third receiving module 314 to set
- the update result is obtained after the first terminal uses the first communication key to update the existing second communication key locally
- the update module 316 is configured to update the result if the update result indicates an update If successful, update the mapping relationship between the identification information of the first terminal and the second communication key to the mapping relationship between the identification information of the first terminal and the first communication key
- the second feedback module 318 is configured to The first terminal returns a third message, where the third message is set to indicate that the mapping relationship between the identification information of the first terminal and the first communication key has been updated successfully
- the restoration module 320 is set to be within the preset time range If no confirmation reply is received from the first terminal, the mapping relationship between the identification information of the first terminal and the first communication key is restored to the identification information of the first terminal and the second terminal.
- the above device further includes a third feedback module 322 configured to return a fourth message to the second terminal, where the fourth message is set to indicate that the server has learned that the first terminal is currently in Network disconnected status.
- the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to the above: the above modules are located in the same processor; or the above modules are arbitrarily combined The forms are located in different processors.
- the storage medium may be configured to store a computer program configured to perform the following steps:
- a preset communication method is turned on, wherein the communication identifier of the preset communication method satisfies a preset rule, and the preset rule is set so that the second terminal currently in the networked state perceives the first The terminal is currently in a disconnected state, so as to report the disconnected state of the first terminal to the server through the second terminal.
- the storage medium is further configured to store a computer program configured to perform the following steps:
- the storage medium is further configured to store a computer program configured to perform the following steps:
- the storage medium may include, but is not limited to, a USB flash drive, a read-only memory (ROM), and a random access memory (RAM) ), Mobile hard disks, magnetic disks, or compact discs, which can store computer programs.
- ROM read-only memory
- RAM random access memory
- An embodiment of the present disclosure further provides an electronic device including a memory and a processor.
- the memory stores a computer program
- the processor is configured to run the computer program to perform the steps in any one of the method embodiments described above.
- the electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the processor, and the input-output device is connected to the processor.
- the processor may be configured to execute the following steps by a computer program:
- a preset communication method is turned on, wherein the communication identifier of the preset communication method satisfies a preset rule, and the preset rule is set so that the second terminal currently in the networked state perceives the first The terminal is currently in a disconnected state, so as to report the disconnected state of the first terminal to the server through the second terminal.
- the foregoing processor may be further configured to execute the following steps by a computer program:
- the method, device, and storage medium for reporting the disconnected state provided by the embodiments of the present disclosure have the following beneficial effects: It solves that the service center in the related art usually can only give up the management of the lost terminal, so that This leads to the loss of the ability to control and control the terminal, so that the server can accurately determine the cause of the terminal's disconnection and the current status, thereby troubleshooting the service center or the frequently connected service, and performing further management and control operations on the disconnected equipment. Technical effects.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (21)
- 一种断网状态的上报方法,包括:当确定第一终端处于断网状态时,开启预设通讯方式,其中,所述预设通讯方式的通讯标识满足预设规则,所述预设规则设置为使得当前处于联网状态的第二终端感知所述第一终端当前处于断网状态,以通过所述第二终端将所述第一终端的断网状态上报至服务器。
- 根据权利要求1所述的方法,其中,所述预设规则包括:第一部分,其中,所述第一部分由所述服务器指定。
- 根据权利要求2所述的方法,其中,所述预设规则还包括以下之一:第二部分,其中,所述第二部分为所述第一终端的标识信息;第二部分和第三部分,其中,所述第三部分为所述预设通讯功能的密码;或第二部分、第三部分和第四部分,其中,所述第四部分为所述预设通讯功能的密码的更新周期。
- 根据权利要求2所述的方法,其中,在开启所述预设通讯方式之后,还包括:通过所述预设通讯功能监听到所述第二终端的连接请求;响应于所述连接请求,向所述第二终端发送第一消息,以使所述第二终端向服务器上报所述第一消息,其中,所述第一消息设置为表示所述第一终端当前处于断网状态,所述第一消息包括:所述第一终端的标识信息。
- 根据权利要求4所述的方法,其中,所述第一消息还包括以 下至少之一:所述第一终端的断网时间,所述第一终端的地理位置。
- 根据权利要求4所述的方法,其中,在开启所述预设通讯方式之后,还包括:接收来自于所述第二终端的第二消息,其中,所述第二消息设置为表示所述服务器已获知所述第一终端当前处于断网状态;响应于所述第二消息,执行以下操作之一:关闭所述预设通讯方式;保持与所述第二终端的通讯连接,并隐藏所述预设通讯方式;保持开启所述预设通讯方式;保持开启所述预设通讯方式并限制通过所述预设通讯方式接入的终端数量。
- 一种断网状态的上报方法,包括:监听第一终端是否开启预设通讯方式;当监听到所述第一终端开启所述预设通讯方式时,确定所述预设通讯方式的通讯标识满足预设规则,其中,所述预设规则设置为第二终端感知所述第一终端当前处于断网状态,所述第二终端当前处于联网状态;将所述第一终端的断网状态上报至服务器。
- 根据权利要求7所述的方法,其中,确定所述通讯标识满足所述预设规则包括:确定所述通讯标识包括所述预设规则第一部分和第二部分,其 中,所述第一部分由所述服务器指定,所述第二部分为所述第一终端的标识信息。
- 根据权利要求8所述的方法,其中,将所述第一终端的断网状态上报至所述服务器包括:从所述通讯标识中解析出所述第一终端的标识信息;将所述第一终端的标识信息和断网消息上报标识封装成第一消息;将所述第一消息上报至所述服务器。
- 根据权利要求7所述的方法,其中,确定所述通讯标识满足所述预设规则包括:确定所述通讯标识包括所述预设规则的第一部分,其中,所述第一部分由所述服务器指定。
- 根据权利要求10所述的方法,其中,在将所述第一终端的断网状态上报至所述服务器之前,还包括:将所述通讯标识和通讯密码消息标识封装成第二消息;将所述第二消息上报至所述服务器;接收来自于所述服务器的与所述预设通讯方式对应的通讯密码;采用所述通讯密码向所述第一终端发送连接请求;在连接建立成功之后,接收来自于所述第一终端的第三消息,其中,所述第三消息设置为表示所述第一终端当前处于断网状态,所述第三消息包括:所述第一终端的标识信息。
- 根据权利要求11所述的方法,其中,将所述第一终端的断网状态上报至所述服务器包括:将所述第三消息转发至所述服务器。
- 根据权利要求7或11所述的方法,其中,在将所述第一终端的断网状态上报至所述服务器之后,还包括:接收来自于所述服务器的第四消息,其中,所述第四消息设置为表示所述服务器已获知所述第一终端当前处于断网状态;将所述第四消息转发至所述第一终端。
- 一种断网状态的上报方法,包括:接收与第一终端建立通讯的第二终端上报的第一消息,其中,所述第二终端当前处于联网状态;解析所述第一消息,得到第一消息类型标识和所述第一终端的标识信息;根据所述第一消息类型标识和所述第一终端的标识信息确定所述第一终端处于断网状态。
- 根据权利要求14所述的方法,其中,根据所述第一消息类型标识和所述第一终端的标识信息确定所述第一终端处于断网状态包括:根据所述第一消息类型标识确定所述第一消息为上报断网状态的消息;根据所述第一终端的标识信息确定所述第一终端处于断网状态。
- 根据权利要求14所述的方法,其中,在接收所述第二终端 上报的所述第一消息之前,还包括:接收所述第二终端上报的第二消息,其中,所述第二消息包括:第二消息类型标识和所述第一终端采用的预设通讯方式的通讯标识;根据所述第二消息类型标识和所述通讯标识获取与所述通讯标识对应的通讯密码;将所述通讯密码返回至所述第二终端,其中,所述通讯密码设置为获取所述第一终端的标识信息。
- 根据权利要求16所述的方法,其中,根据所述第二消息类型标识和所述通讯标识获取与所述通讯标识对应的通讯密码包括:根据所述第二消息类型标识确定所述第二消息为获取通讯密码的消息;根据所述通讯标识从预设的对应关系中查找对应的通讯密码。
- 根据权利要求14所述的方法,其中,在接收所述第二终端上报的所述第一消息之前,还包括:生成第一通讯密钥并向所述第一终端下发所述第一通讯密钥;接收所述第一终端上报的更新结果,其中,所述更新结果由所述第一终端采用所述第一通讯密钥对本地已有的第二通讯密钥进行更新后得到;如果所述更新结果表示更新成功,则将所述第一终端的标识信息与所述第二通讯密钥之间的映射关系更新为所述第一终端的标识信息与所述第一通讯密钥之间的映射关系;向所述第一终端返回第三消息,其中,所述第三消息设置为表示 所述第一终端的标识信息与所述第一通讯密钥之间的映射关系已更新成功;如果在预设时间范围内未接收到来自于所述第一终端的确认回复,则将所述第一终端的标识信息与所述第一通讯密钥之间的映射关系还原为所述第一终端的标识信息与所述第二通讯密钥之间的映射关系。
- 根据权利要求14所述的方法,其中,在根据所述第一消息类型标识和所述第一终端的标识信息确定所述第一终端处于断网状态之后,还包括:向所述第二终端返回第四消息,其中,所述第四消息设置为表示服务器已获知所述第一终端当前处于断网状态。
- 一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至19任一项中所述的方法。
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至19任一项中所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811014357.XA CN110875857B (zh) | 2018-08-31 | 2018-08-31 | 断网状态的上报方法、装置及系统 |
CN201811014357.X | 2018-08-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020043209A1 true WO2020043209A1 (zh) | 2020-03-05 |
Family
ID=69643414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/103873 WO2020043209A1 (zh) | 2018-08-31 | 2019-08-30 | 断网状态的上报方法、装置及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110875857B (zh) |
WO (1) | WO2020043209A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788576A (zh) * | 2020-12-16 | 2021-05-11 | 青岛海尔科技有限公司 | 设备离线的处理方法和系统、存储介质及电子装置 |
CN117041305A (zh) * | 2023-10-10 | 2023-11-10 | 成都秦川物联网科技股份有限公司 | 基于物联网的气体流量计离线数据管理方法、设备及介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112601270A (zh) * | 2020-11-19 | 2021-04-02 | 广东沃科融合通讯有限公司 | 终端唤醒控制方法、装置、电子设备及存储介质 |
CN112615733B (zh) * | 2020-12-08 | 2023-04-18 | 广东沃科融合通讯有限公司 | 终端故障判断方法、装置、电子设备和存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2775755A1 (en) * | 2011-12-07 | 2014-09-10 | Huawei Device Co., Ltd. | Method and device for acquiring online status of terminal |
WO2014153770A1 (en) * | 2013-03-29 | 2014-10-02 | Broadcom Corporation | Method and apparatus for reestablishing communication with a network |
CN104836598A (zh) * | 2014-02-10 | 2015-08-12 | 深圳中兴网信科技有限公司 | 基于近场通信的业务处理方法、装置及系统 |
CN105337642A (zh) * | 2014-06-17 | 2016-02-17 | 阿里巴巴集团控股有限公司 | 一种离线终端访问网络数据的方法及系统 |
CN106793007A (zh) * | 2016-12-05 | 2017-05-31 | 爱国者电子科技有限公司 | 云端与蓝牙设备的交互通信方法、系统和无线路由器 |
CN108174400A (zh) * | 2017-12-27 | 2018-06-15 | 瑞斯康达科技发展股份有限公司 | 一种终端设备的数据处理方法及系统、设备 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101431761B (zh) * | 2007-11-09 | 2011-06-01 | 中国移动通信集团公司 | 网络故障上报的方法、设备及系统 |
CN106817671B (zh) * | 2017-02-14 | 2020-04-07 | 腾讯科技(深圳)有限公司 | 一种联网信息共享方法、第一终端及系统 |
JP6365732B2 (ja) * | 2017-06-08 | 2018-08-01 | 株式会社リコー | クライアント端末、コンピュータプログラム、情報処理方法 |
-
2018
- 2018-08-31 CN CN201811014357.XA patent/CN110875857B/zh active Active
-
2019
- 2019-08-30 WO PCT/CN2019/103873 patent/WO2020043209A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2775755A1 (en) * | 2011-12-07 | 2014-09-10 | Huawei Device Co., Ltd. | Method and device for acquiring online status of terminal |
WO2014153770A1 (en) * | 2013-03-29 | 2014-10-02 | Broadcom Corporation | Method and apparatus for reestablishing communication with a network |
CN104836598A (zh) * | 2014-02-10 | 2015-08-12 | 深圳中兴网信科技有限公司 | 基于近场通信的业务处理方法、装置及系统 |
CN105337642A (zh) * | 2014-06-17 | 2016-02-17 | 阿里巴巴集团控股有限公司 | 一种离线终端访问网络数据的方法及系统 |
CN106793007A (zh) * | 2016-12-05 | 2017-05-31 | 爱国者电子科技有限公司 | 云端与蓝牙设备的交互通信方法、系统和无线路由器 |
CN108174400A (zh) * | 2017-12-27 | 2018-06-15 | 瑞斯康达科技发展股份有限公司 | 一种终端设备的数据处理方法及系统、设备 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788576A (zh) * | 2020-12-16 | 2021-05-11 | 青岛海尔科技有限公司 | 设备离线的处理方法和系统、存储介质及电子装置 |
CN112788576B (zh) * | 2020-12-16 | 2022-12-02 | 青岛海尔科技有限公司 | 设备离线的处理方法和系统、存储介质及电子装置 |
CN117041305A (zh) * | 2023-10-10 | 2023-11-10 | 成都秦川物联网科技股份有限公司 | 基于物联网的气体流量计离线数据管理方法、设备及介质 |
CN117041305B (zh) * | 2023-10-10 | 2024-01-23 | 成都秦川物联网科技股份有限公司 | 基于物联网的气体流量计离线数据管理方法、设备及介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110875857B (zh) | 2023-03-07 |
CN110875857A (zh) | 2020-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020043209A1 (zh) | 断网状态的上报方法、装置及存储介质 | |
CN1985470B (zh) | 用于动态主机配置协议框架的配置管理的系统和网络实体 | |
EP3544232B1 (en) | Processing method, device and system for nf component abnormality | |
US9781579B2 (en) | Method and device for realizing terminal WIFI talkback | |
CN106341468B (zh) | 一种智能设备的远程唤醒方法、装置及系统 | |
WO2011150707A1 (zh) | 一种m2m业务中终端状态或事件管理的方法及系统 | |
CN112218342A (zh) | 一种实现核心网子切片容灾的方法、装置和系统 | |
US11140597B2 (en) | Method and apparatus for processing link establishment failure, and computer storage medium | |
US20230164234A1 (en) | Service continuity event notification method, and apparatus | |
US9699139B2 (en) | Communications system | |
WO2020043006A1 (zh) | 终端失联的恢复方法及装置 | |
CN108512679B (zh) | 一种网关设备的管理方法及装置 | |
CN114143904B (zh) | 一种基于5g融合网络分流器的cpe管理方法 | |
CN108028773B (zh) | 用于增强电信网络性能的方法和移动性管理实体池 | |
KR101456436B1 (ko) | Dhcp 서버를 이용하는 무선 통신 네트워크 내의 통지 | |
CN111385371B (zh) | Mac地址获取方法、装置和设备 | |
WO2019076793A1 (en) | METHODS AND DEVICES FOR DETERMINING A COMMUNICATION NETWORK FOR PROVIDING COMMUNICATION SERVICE TO A COMMUNICATION TERMINAL DEVICE | |
US20190312929A1 (en) | Information synchronization method and device | |
CN113660734B (zh) | 一种网络设备的连接方法、装置、网络设备和介质 | |
CN111586682B (zh) | 含两个时间控制的集成订户身份模块的移动无线通信设备 | |
CN111556484B (zh) | 具有两个iSIM的用于冗余通信的移动无线通信设备 | |
CN109982427B (zh) | 一种信息处理方法、装置 | |
WO2023186713A1 (en) | Partially connected devices | |
CN117793173A (zh) | 一种终端唤醒的处理方法、装置、设备及存储介质 | |
WO2023148124A1 (en) | Session management for redundant pdu sessions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19853718 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19853718 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13/08/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19853718 Country of ref document: EP Kind code of ref document: A1 |