WO2020043006A1 - Terminal connection restoration method and apparatus - Google Patents

Terminal connection restoration method and apparatus Download PDF

Info

Publication number
WO2020043006A1
WO2020043006A1 PCT/CN2019/102053 CN2019102053W WO2020043006A1 WO 2020043006 A1 WO2020043006 A1 WO 2020043006A1 CN 2019102053 W CN2019102053 W CN 2019102053W WO 2020043006 A1 WO2020043006 A1 WO 2020043006A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
message
field communication
communication connection
wake
Prior art date
Application number
PCT/CN2019/102053
Other languages
French (fr)
Chinese (zh)
Inventor
赵慧
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020043006A1 publication Critical patent/WO2020043006A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and device for recovering a terminal disconnection.
  • the server In the process of mobile device management (MDM) projects, it is often necessary to access the PUSH delivery function. That is, the server unidirectionally sends a notification or a control command to the terminal, and the terminal performs a corresponding operation after receiving the notification or the control command.
  • MDM mobile device management
  • the terminal runs for a period of time, it often happens that the PUSH server is disconnected. If the terminal does not succeed after retrying multiple connections, it will be completely disconnected from the server. After disconnecting the network connection, the terminal will not be able to receive any notifications or control commands issued by the server, which will cause the terminal to leave the control range.
  • the terminal is usually restarted and the connection is retried.
  • the user cannot know that the terminal has lost contact with the server. It can be seen that when the terminal is disconnected from the server, the terminal cannot know the notification or management control command issued by the server. As for how to ensure that the lost terminal can recover quickly, the related technology does not provide an effective solution.
  • Embodiments of the present invention provide a method and a device for recovering a terminal disconnection, so as to at least solve the problem in the related art that simply relying on the reconnected terminal repeatedly to retry to connect to the server cannot ensure the rapid recovery of the disconnected terminal.
  • a method for recovering a terminal disconnection which is applied to a server side and includes:
  • the second terminal After determining that the first terminal is currently in a disconnected state, the second terminal is searched for according to the device information of the first terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal;
  • the second terminal sends a wake-up message to cause the second terminal to wake up the first terminal, where the wake-up message includes at least: a near field communication connection mode identifier.
  • another method for recovering a terminal loss of contact including:
  • the wake-up message includes at least: a near-field communication connection mode identifier to be forwarded to the lost terminal; a near-field communication connection mode identifier is parsed from the wake-up message; and the near-field communication connection mode identifier matches To the lost terminal to wake up the lost terminal.
  • another method for recovering a terminal disconnection including:
  • the wake-up message forwarded by the networked terminal through the near field communication connection method, wherein the wake-up message is issued by the server, and the near-field communication connection method is determined by the near-field communication connection mode identifier reported by the local application of the lost terminal; in response to the wake-up message, Restart the local application to try to restore the connection to the server.
  • a device for recovering terminal disconnection which is applied to a server side and includes:
  • the search module is configured to search for the second terminal according to the device information of the first terminal after determining that the first terminal is currently in a disconnected state, where the device information includes at least the geographic location of the first terminal and the near field communication of the first terminal Connection mode identification; a delivery module configured to send a wake-up message to the second terminal to make the second terminal wake up the first terminal, wherein the wake-up message includes at least: a near-field communication connection mode identification.
  • another apparatus for recovering terminal disconnection including:
  • the receiving module is configured to receive a wake-up message issued by the server, wherein the message includes at least: a near field communication connection mode identifier to be forwarded to the lost terminal; and a parsing module configured to parse the near field communication connection mode identifier from the wake-up message.
  • a processing module configured to identify and match the lost terminal according to the near field communication connection mode to wake up the lost terminal.
  • another apparatus for recovering terminal disconnection including:
  • the receiving module is configured to receive the wake-up message forwarded by the networked terminal through a near field communication connection method, wherein the wake-up message is issued by the server, and the near field communication connection method is determined by the near field communication connection mode identifier reported by the local application of the lost terminal;
  • the execution module is set to restart the local application in response to the wake-up message to attempt to restore the connection with the server.
  • a storage medium is also provided, and the storage medium stores a computer program, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
  • an electronic device which includes a memory and a processor.
  • the memory stores a computer program
  • the processor is configured to run the computer program to execute any one of the foregoing. Steps in a method embodiment.
  • the server can send a wake-up message to the second terminal.
  • the server can solve the problem in the related art that simply relying on the reconnected terminal to repeatedly try to connect to the server cannot ensure the rapid recovery of the lost terminal, so that the lost terminal can perform the instructions indicated by the server. The effect of operating and being able to quickly restore the connection to the server.
  • FIG. 1 is a schematic diagram of an operating environment of a method for recovering a lost connection of a terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for recovering a terminal from being disconnected according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a processing process of a server for a lost terminal according to an optional embodiment of the present invention
  • FIG. 4 is a flowchart of another method for recovering a terminal from being disconnected according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a process for a server to wake up a lost terminal by sending a message to a normal terminal according to an optional embodiment of the present invention
  • FIG. 6 is a flowchart of still another method for recovering a terminal from being disconnected according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a process for waking up a lost terminal by sending a message through a normal terminal according to an optional embodiment of the present invention
  • FIG. 8 is a structural block diagram of a terminal disconnection recovery device according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a device for recovering a lost connection of a terminal according to an optional embodiment of the present invention.
  • FIG. 10 is a structural block diagram of another terminal disconnection recovery apparatus according to an embodiment of the present invention.
  • FIG. 11 is a structural block diagram of another terminal disconnection recovery device according to an embodiment of the present invention.
  • FIG. 12 is a structural block diagram of another device for recovering from a terminal disconnection according to an optional embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an operating environment of a method for recovering a terminal disconnection according to an embodiment of the present invention.
  • the method for recovering a terminal disconnection according to the present invention may be run on the server 1 shown in FIG. 1, On the first terminal 2 (that is, the lost terminal), or on the second terminal 3 (that is, the normal terminal / networked terminal).
  • the interaction between the server 1, the first terminal 2, and the second terminal 3 shown in FIG. 1 is used to implement recovery of the server-side terminal out-of-connection.
  • the server 1, the first terminal 2, and the second terminal 3 may each include one or more processors (the processors may include but are not limited to a microprocessor (MCU) or a programmable logic device (FPGA), etc. Processing device) and a memory for storing data.
  • the terminal may further include a transmission device for a communication function and an input / output device.
  • the memory may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to a method for recovering a terminal disconnection in an embodiment of the present invention.
  • the processor runs the computer program stored in the memory to execute each program.
  • a kind of functional application and data processing that is, the method for recovering the terminal disconnection described above.
  • 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 the terminal 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 used to receive or transmit data via a network.
  • the above specific examples of the network may include a wireless network provided by a communication provider of the terminal.
  • 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 used to communicate with the Internet in a wireless manner.
  • RF radio frequency
  • This method embodiment mainly solves the problem of how to restore the connection between the lost terminal and the server after the terminal loses contact with the server and cannot normally receive messages sent by the server.
  • the application scenario of the embodiment of the present invention is mainly applicable to a scenario in which multiple terminals are relatively concentrated (for example, between terminals used by colleagues of the same company), and the server sends a message at a fixed time (for example, during office hours). In this way, it is easy to match through the near field communication connection between different terminals.
  • the connection between the lost terminal and the server can be quickly restored, so as to ensure that the lost terminal can receive the server's message in time, thereby reducing the cause of the problem.
  • Adverse effects caused by message loss can be quickly restored, so as to ensure that the lost terminal can receive the server's message in time, thereby reducing the cause of the problem.
  • Examples of specific application scenarios of the foregoing method for recovering terminal disconnection (1) Bring your own device (Bring, Your, Own, Device, or BYOD for short) application, that is, mobile office, this scenario includes mobile phones, tablets, and communication 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, such as water and electricity monitoring terminals with wireless communication modules; (5) Shared bicycles.
  • the normal terminal In the method for recovering the terminal disconnection, the normal terminal is used to wake up the lost terminal and send a message issued by the server in the lost connection state to the lost terminal.
  • the subsequent method embodiments of the embodiments of the present invention involve the cooperation of the terminal application and the server. The following describes the processing procedures of the terminal application and the server, respectively, and sends a message sent by the server to the normal terminal and how the normal terminal wakes up. The terminal is explained in detail.
  • FIG. 2 is a flowchart of a method for recovering a terminal from being disconnected according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S22 After determining that the first terminal is currently in a disconnected state, search for the second terminal according to the device information of the first terminal, where the device information includes at least the geographic location of the first terminal and the near field communication connection method of the first terminal Identification
  • step S24 a wake-up message is sent to the second terminal so that the second terminal wakes up the first terminal, where the wake-up message includes at least: a near field communication connection mode identifier.
  • the server is usually reconnected by retrying or restarting the lost terminal.
  • the lost terminal is not clear whether the connection failure is caused by the terminal itself or the server, the lost terminal will choose to perform the restart operation after retrying a few times for a long time. Waste a lot of time. If the server sends a very important message during this time period, the terminal cannot receive it normally, which will have an immeasurable serious impact on subsequent operations.
  • the server can determine that the message sent by the server to the first terminal has not been received by the first terminal, it can send a wake-up message to the second terminal to make the first terminal The second terminal wakes up the first terminal and reconnects to the server.
  • the execution subject of the above steps may be a server, but is not limited thereto.
  • the wake-up message further includes a message (for example, a notification or a control command) issued by the server to the first terminal to instruct the first terminal to perform a corresponding operation.
  • a message for example, a notification or a control command issued by the server to the first terminal to instruct the first terminal to perform a corresponding operation.
  • the server may both carry the specific message part in the wake-up message, so that the second terminal forwards the specific message part to the first terminal, so that the first The terminal completes the operation previously instructed by the server.
  • the server may no longer carry the specific message part in the wake-up message, but only sends the wake-up message to the second terminal, so that the second terminal wakes up the first terminal.
  • the server may receive a message originally intended to be sent to the first terminal again from the server, so as to perform a corresponding operation.
  • step S22 finding the second terminal according to the device information of the first terminal may include the following execution steps:
  • Step S221 Find a plurality of terminals in a preset range where the first terminal is located according to the geographic location, where the plurality of terminals maintain a connection state with the server;
  • step S222 a second terminal to be used is selected from a plurality of terminals.
  • the server After the server issues the PUSH command, it will check which terminals did not return a receipt message. For a terminal that does not return a receipt message, the server will find the geographical location and near-field communication connection identifier reported by the most recently lost terminal that did not return a receipt message, and find a normal terminal that is closest to the geographical location of the lost terminal , And then send the no-acknowledgement message just sent to the normal terminal together with the near field communication connection mode identifier of the lost terminal.
  • the method may further include the following execution steps:
  • Step S21 Receive device information reported by the first terminal, where the device information further includes: a password generating element, which is used to determine an encrypted password identified by a near field communication connection mode.
  • the terminal normally reports device information before being in a disconnected state, where the device information includes but is not limited to: geographic location, identification of the near field communication connection method (for example: Bluetooth address, wireless fidelity (WiFi) address, near field communication (NFC) ) Tag, etc.), and the receipt message returned to the server after receiving the message from the server to inform the server that the terminal has received the issued message.
  • the server finds that the specific terminal (for example, the first terminal) has not sent a receipt message, it sends a message to another terminal (for example, the second terminal) near the first terminal according to the geographical location previously reported by the terminal.
  • the wake-up message may further include: a password generation element.
  • the server After the terminal loses contact, the server sends the encrypted password and the elements that generate the encrypted password to the normal terminal, so that the normal terminal parses out the encrypted password according to a predetermined policy and the element that generates the encrypted password.
  • the foregoing pre-agreed policy may be a random password generation policy
  • the random password generation policy includes but is not limited to one of the following ways:
  • this timestamp can be the Wi-Fi hotspot on time or other attributes related time of the current device;
  • FIG. 3 is a flowchart of a server processing procedure for a disconnected terminal according to an optional embodiment of the present invention. As shown in FIG. 3, the process may include the following processing steps:
  • Step S302 The server sends a message to the terminal according to the terminal identifier.
  • step S304 the server queries whether the terminal returns a receipt. If yes, then the issuing process ends, and if no, proceed to step S306.
  • Step S306 For a terminal that does not return a receipt, the server finds out the device information reported by the terminal, which is mainly the geographic location and the near-field communication connection mode identifier.
  • Step S308 The server finds a normal terminal in the vicinity of the lost terminal according to the geographic location of the lost terminal.
  • Step S310 The server encapsulates the message just sent to the lost terminal and the near field communication connection mode identifier of the terminal into a specific message.
  • Step S312 The server sends the encapsulated message to a normal terminal near the lost terminal.
  • FIG. 4 is a flowchart of another method for recovering a terminal disconnection according to an embodiment of the present invention, as shown in FIG. 4. The process includes the following steps:
  • Step S42 Receive a wake-up message issued by the server, where the wake-up message includes at least: a near field communication connection mode identifier to be forwarded to the lost terminal;
  • Step S44 analyzing the near field communication connection mode identifier from the wake-up message
  • step S46 the identifier of the lost terminal is matched according to the near field communication connection mode to wake up the lost terminal.
  • the server After the server sends the PUSH message, it checks which terminals have not sent a receipt message to determine that these terminals are in a disconnected state, and then finds the geographical location reported by these lost terminals before it then connects the near field communication method of the lost terminals. The identification is sent to normal terminals near these lost terminals.
  • the normal terminal After receiving the message sent by the server, the normal terminal matches the identification of the near field communication connection method (for example, Bluetooth address) of the lost terminal, and matches the lost terminal through the near field communication method (for example, Bluetooth), so that the lost terminal restarts.
  • the local application reconnects with the server.
  • the wake-up message further includes: a message part to be forwarded to the lost terminal;
  • step S44 the method further includes: parsing the message part from the wake-up message;
  • step S46 the method further includes: forwarding the message part to the lost contact terminal, so that the lost contact terminal performs an operation corresponding to the message part.
  • the server can either carry the specific message part in the wake-up message, so that the network-connected terminal forwards the specific message part to the lost-connection terminal, so that the lost-connection terminal completes the operation previously instructed by the server.
  • the server may no longer carry the specific message part in the wake-up message, but only sends the wake-up message to the networked terminal, so that the networked terminal wakes up the disconnected terminal.
  • the server may again receive the message originally intended to be sent to the lost terminal, so as to perform the corresponding operation.
  • the message further includes: a password generation element, which is used to determine an encrypted password for the near field communication connection mode identification.
  • a password generation element which is used to determine an encrypted password for the near field communication connection mode identification.
  • Step S441 Determine the encryption password according to the password generation element.
  • step S442 the identification of the near field communication connection mode is parsed by using the encrypted password and a predetermined password generation strategy.
  • the terminals For the connection between the terminals, specific security mechanisms need to be followed, such as Bluetooth addresses, WiFi hotspot passwords, etc., which all need to be generated in accordance with specific security policies.
  • the terminals need to comply with the security policy at the same time. For example, in a normal working state, the lost terminal reports the encrypted Bluetooth address or WiFi hotspot password and other elements (such as IMEI) to the server. After the terminal is disconnected, the server sends the password and the element generating the encrypted password to the normal terminal, and the normal terminal parses the encrypted password according to a predetermined policy and the element generating the encrypted password.
  • the foregoing pre-agreed policy may be a random password generation policy
  • the random password generation policy includes but is not limited to one of the following ways:
  • this timestamp can be the Wi-Fi hotspot on time or other attributes related time of the current device;
  • step S46 forwarding the message part to the terminal may include the following execution steps:
  • Step S461 when the end time of the preset time interval is reached, the near field communication connection mode corresponding to the near field communication connection mode identifier is turned on;
  • step S462 the message part is forwarded to the terminal through the near field communication connection method, and after it is determined that the message part is sent, the near field communication connection method is closed.
  • WiFi or Bluetooth will always have higher power consumption, so you can consider turning on WiFi or Bluetooth at preset time intervals, for example, at half an hour or the entire hour At any time, turn on for a few minutes at a time.
  • WiFi or Bluetooth will be turned off immediately after the message is processed.
  • WiFi or Bluetooth After receiving a message from the server to wake up the lost terminal, when the opening time is reached, send a message to the lost terminal, and immediately turn off WiFi or Bluetooth after sending the message to the lost terminal. If no message is received, turn off WiFi or Bluetooth in a short time.
  • the terminal periodically reports the geographic location and the near field communication connection mode identifier to the server under normal circumstances.
  • the normal terminal After receiving a message from the server, the normal terminal first needs to parse the message issued by the server. If it is a control command on the normal terminal, execute the command. If it is a message to wake up other devices, the near-field communication connection mode identifier is parsed for matching, and a message or file is sent after the matching is successful.
  • FIG. 5 is a flowchart of a process for a server to wake up a lost terminal by sending a message to a normal terminal according to an optional embodiment of the present invention. As shown in FIG. 5, the process may include the following processing steps:
  • Step S502 The normal terminal receives a message delivered by the server.
  • Step S504 The normal terminal checks the type of the message by analyzing the message.
  • step S506 the normal terminal determines whether it is a message to wake up other terminals, and if not, performs related operations, and if so, proceeds to step S508.
  • step S508 the normal terminal encapsulates the message that needs to be sent to the lost terminal, which can be assembled into a file, and the encapsulation form is not limited to this.
  • Step S510 The normal terminal matches the surrounding terminals according to the resolved near-field communication connection mode, and connects the lost terminals.
  • step S512 the normal terminal sends a message that has been encapsulated to the lost terminal.
  • FIG. 6 is a flowchart of another method for recovering a terminal disconnection according to an embodiment of the present invention, as shown in FIG. 6. The process includes the following steps:
  • step S62 the wake-up message forwarded by the networked terminal is received through the near field communication connection method, wherein the wake-up message is issued by the server, and the near field communication connection method is determined by the near field communication connection mode identifier reported by the local application of the lost terminal.
  • the connection status between the servers is maintained;
  • step S64 in response to the wake-up message, the local application is restarted to try to restore the connection with the server.
  • the method of restoring the contact between the lost terminal and the server through other normal terminals uses the geographical location to filter which normal terminals are near the lost terminal. Neither the lost terminal nor the normal terminal need to report other hardware information and install third-party applications APP).
  • the terminal Before the connection is lost, the terminal normally reports the device information (including the geographical location and the identification of the near field communication connection mode). After the terminal loses contact, it will be woken up by a normal terminal and restart the application to connect to the server.
  • the method may further include: parsing the message part from the wake-up message, and performing an operation corresponding to the message part.
  • the server can either carry the specific message part in the wake-up message, so that the network-connected terminal forwards the specific message part to the lost-connection terminal, so that the lost-connection terminal completes the operation previously indicated by the server.
  • the server may no longer carry the specific message part in the wake-up message, but only sends the wake-up message to the networked terminal, so that the networked terminal wakes up the disconnected terminal.
  • the server may again receive the message originally intended to be sent to the lost terminal, so as to perform the corresponding operation.
  • FIG. 7 is a flowchart of a process for waking up a disconnected terminal by sending a message through a normal terminal according to an alternative embodiment of the present invention. As shown in FIG. 7, the process may include the following processing steps :
  • Step S702 The lost terminal receives a message sent by a normal terminal through a near field communication connection.
  • step S704 the APP of the disconnected terminal monitors the message, and the message can be monitored through broadcast or other methods.
  • Step S706 The lost terminal parses the message received from the normal terminal.
  • Step S708 The lost terminal performs corresponding actions according to the content of the message, for example, turning off WiFi, cameras, and the like for management and control.
  • step S710 after performing the corresponding action, the lost terminal restarts the local application to try to reconnect to the server.
  • the device information further includes: a password generation element, which is used to determine an encrypted password identified by the near field communication connection method.
  • a password generation element which is used to determine an encrypted password identified by the near field communication connection method.
  • Step S60 Generate an encrypted password according to the password generation element and a predetermined password generation policy
  • step S61 the near field communication connection mode identifier is encrypted by using an encryption password.
  • the terminals For the connection between the terminals, specific security mechanisms need to be followed, such as Bluetooth addresses, WiFi hotspot passwords, etc., which all need to be generated in accordance with specific security policies.
  • the terminals need to comply with the security policy at the same time. For example, in a normal working state, the lost terminal reports the encrypted Bluetooth address or WiFi hotspot password and other elements (such as IMEI) to the server. After the terminal is disconnected, the server sends the password and the element generating the encrypted password to the normal terminal, and the normal terminal parses the encrypted password according to a predetermined policy and the element generating the encrypted password.
  • the foregoing pre-agreed policy may be a random password generation policy
  • the random password generation policy includes but is not limited to one of the following ways:
  • this timestamp can be the Wi-Fi hotspot on time or other attributes related time of the current device;
  • step S62 receiving the message forwarded by the terminal through a near field communication connection may include the following execution steps:
  • Step S621 when the end time of the preset time interval is reached, the near field communication connection mode is turned on;
  • step S622 the message is received through the near field communication connection mode, and after it is determined that the message is sent, the near field communication connection mode is closed.
  • WiFi or Bluetooth will always have higher power consumption, so you can consider turning on WiFi or Bluetooth at preset time intervals, for example, at half an hour or the entire hour At any time, turn on for a few minutes at a time.
  • WiFi or Bluetooth will be turned off immediately after the message is processed.
  • the WiFi or Bluetooth is turned off immediately. If no message is received, the WiFi or Bluetooth is turned off in a short time.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM / RAM, (Disc, optical disc), including a number of 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 invention.
  • a device for recovering terminal disconnection is also provided, which is applied to the server side.
  • This device is used 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.
  • FIG. 8 is a structural block diagram of a device for recovering from a disconnection of a terminal according to an embodiment of the present invention.
  • the device includes a search module 11 configured to determine that the first terminal is currently in a disconnected state according to FIG. 8.
  • the device information of the first terminal searches for the second terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal; and a sending module 12 configured to send a wake-up call to the second terminal Message to cause the second terminal to wake up the first terminal, wherein the wake-up message includes at least: a near field communication connection mode identifier.
  • the wake-up message further includes a message sent by the server to the first terminal to instruct the first terminal to perform a corresponding operation.
  • the search module 11 includes a search unit (not shown in the figure) configured to search for multiple terminals in a preset range where the first terminal is located according to the geographic location, where the multiple terminals are in a connected state with the server.
  • a selection unit (not shown in the figure) configured to select a second terminal closest to the first terminal from a plurality of terminals.
  • FIG. 9 is a structural block diagram of a device for recovering from a terminal disconnection according to an optional embodiment of the present invention.
  • the device includes all modules shown in FIG. 8 and includes The receiving module 13 is configured to receive the device information reported by the first terminal.
  • the device information further includes: a password generating element, and the password generating element is used to determine an encrypted password identified by a near field communication connection mode.
  • the second message further includes: a password generation element.
  • 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 terminal disconnection recovery apparatus according to an embodiment of the present invention.
  • the apparatus includes: a receiving module 21 configured to receive a wake-up message issued by a server, where: The wake-up message includes at least the identification of the near-field communication connection method to be forwarded to the terminal; the analysis module 22 is configured to parse the near-field communication connection method identifier from the wake-up message; and the processing module 23 is configured to match the identification of the near-field communication connection method To the lost terminal to wake up the lost terminal.
  • the wake-up message further includes: a message part to be forwarded to the lost terminal; a parsing module 22 further configured to parse the message part from the wake-up message; a processing module 23 further configured to forward the message part to The lost terminal, so that the lost terminal performs an operation corresponding to the message part.
  • the above message further includes a password generation element, which is used to determine an encrypted password identified by the near field communication connection mode.
  • the analysis module 22 includes a determination unit (not shown in the figure), configured to The generating element determines the encrypted password; the analysis unit (not shown in the figure) is set to use the encrypted password and a predetermined password generation strategy to resolve the near field communication connection mode identifier.
  • the processing module 23 includes: a starting unit (not shown in the figure) configured to enable the near field communication connection mode corresponding to the near field communication connection mode identifier when the end time of the preset time interval is reached;
  • the processing unit (not shown in the figure) is configured to forward the message part to the terminal through a near field communication connection method, and after determining that the message part is sent, close the near field communication connection method.
  • This embodiment further provides another device for recovering the terminal from being disconnected.
  • the device is used 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. 11 is a structural block diagram of another device for recovering terminal disconnection according to an embodiment of the present invention.
  • the device includes a receiving module 31 configured to receive a forwarded connection from a networked terminal through a near field communication connection.
  • the wake-up message is issued by the server, and the near-field communication connection mode is determined by the near-field communication connection mode reported by the local application of the lost terminal terminal; the execution module 32 is set to restart the local application in response to the wake-up message, To try to restore the connection to the server.
  • the execution module 32 is further configured to parse the message part from the wake-up message and perform an operation corresponding to the message part.
  • FIG. 12 is a structural block diagram of another terminal disconnection recovery device according to an optional embodiment of the present invention.
  • the device includes all modules shown in FIG. 11 It also includes a reporting module 33 configured to report device information through a local application, where the device information includes at least: a geographical location and a near field communication connection mode identifier.
  • the device information further includes: a password generation element, which is used to determine an encrypted password identified by the near field communication connection mode.
  • a password generation element which is used to determine an encrypted password identified by the near field communication connection mode.
  • the device includes all modules shown in FIG. 11, It also includes: a generation module 34 configured to generate an encrypted password according to a password generation element and a predetermined password generation strategy; an encryption module 35 configured to use an encrypted password to encrypt the near field communication connection mode identifier.
  • the receiving module 31 includes: a starting unit (not shown in the figure), configured to enable the near field communication connection mode when the end of the preset time interval is reached; and a receiving unit (not shown in the figure) , Set to receive messages through the near field communication connection, and close the near field communication connection after determining that the message is sent.
  • 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.
  • One embodiment of the present invention further provides a storage medium.
  • the storage medium stores a computer program, and the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
  • the storage medium may be configured to store a computer program for performing the following steps:
  • search for the second terminal After determining that the first terminal is currently in a disconnected state, search for the second terminal according to the device information of the first terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal. ;
  • the storage medium may be further configured to store a computer program for performing the following steps:
  • the terminal is matched to the lost terminal to wake up the lost terminal.
  • the storage medium may be further configured to store a computer program for performing the following steps:
  • S1 Receive a wake-up message forwarded by a networked terminal through a near-field communication connection method, wherein the wake-up message is issued by a server, and the near-field communication connection method is determined by a near-field communication connection method identifier reported by a local application of the lost terminal;
  • the storage medium may include, but is not limited to, a U disk, a read-only memory (ROM), and a random access memory (RAM) ), Mobile hard disks, magnetic disks, or compact discs, which can store computer programs.
  • An embodiment of the present invention 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 foregoing method embodiments.
  • 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:
  • search for the second terminal After determining that the first terminal is currently in a disconnected state, search for the second terminal according to the device information of the first terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal. ;
  • the processor may be further configured to execute the following steps by a computer program:
  • the terminal is matched to the lost terminal to wake up the lost terminal.
  • the processor may be further configured to execute the following steps by a computer program:
  • S1 Receive a wake-up message forwarded by a networked terminal through a near-field communication connection method, wherein the wake-up message is issued by a server, and the near-field communication connection method is determined by a near-field communication connection method identifier reported by a local application of the lost terminal;
  • modules or steps of the present invention can be implemented by a general-purpose computing device, and they can be concentrated on a single computing device or distributed on a network composed of multiple computing devices.
  • they may be implemented with program code executable by a computing device, so that they may be stored in a storage device and executed by the computing device, and in some cases, may be different from here
  • the steps shown or described are performed sequentially, or they are separately made into individual integrated circuit modules, or multiple modules or steps in them are made into a single integrated circuit module to implement.
  • the invention is not limited to any particular combination of hardware and software.
  • the server may send a wake-up message to the second terminal, so that the first terminal The second terminal wakes up the first terminal and reconnects to the server, which can solve the problem in the related technology that simply relying on the reconnected terminal to reconnect to the server can not ensure the rapid recovery of the lost terminal, so that the lost terminal can perform the operation indicated by the server and can recover quickly The effect of the connection to the server.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the invention provide a terminal connection restoration method and apparatus. The method comprises: after it is determined that a first terminal is currently in a disconnected state, searching for a second terminal according to device information of the first terminal, wherein the device information comprises at least a geographical position of the first terminal and a near field communication connection method identifier of the first terminal; delivering a wakeup message to the second terminal, allowing the second terminal to wake up the first terminal, wherein the wakeup message comprises at least a near field communication connection method identifier. The embodiments of the invention solve the issue in the prior art in which connection of a terminal cannot be rapidly restored by means of relying on a disconnected terminal to repeatedly retry to connect to a server, and enables a disconnected terminal to execute operations indicated by a server and rapidly restores connection to the server.

Description

终端失联的恢复方法及装置Method and device for recovering terminal disconnection 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种终端失联的恢复方法及装置。The present invention relates to the field of communications, and in particular, to a method and device for recovering a terminal disconnection.
背景技术Background technique
在移动设备管控(MDM)项目进行过程中,经常需要接入PUSH下发功能。即,服务器单方向终端下发通知或管控命令,终端在接收到通知或管控命令之后执行相应的操作。In the process of mobile device management (MDM) projects, it is often necessary to access the PUSH delivery function. That is, the server unidirectionally sends a notification or a control command to the terminal, and the terminal performs a corresponding operation after receiving the notification or the control command.
然而,在实际的应用情况下,终端在运行一段时间后,经常会出现与PUSH服务器断开连接的情况。如果在终端重新尝试多次连接后仍未成功,则会与服务器彻底断开连接。在断开网络连接后,服务器下发的任何通知或管控命令,终端都将无法接收,由此造成终端脱离管控范围。目前,对于失联恢复的方法,通常采用终端重启、重新尝试连接,然而在很多情况下,用户无法获知终端已经与服务器失联。由此可见,在终端与服务器失联的情况下,对于服务器下发的通知或管控命令,终端便无从知晓。而对于如何确保失联终端能够快速恢复过来,相关技术中并未提供有效的解决方案。However, in practical applications, after the terminal runs for a period of time, it often happens that the PUSH server is disconnected. If the terminal does not succeed after retrying multiple connections, it will be completely disconnected from the server. After disconnecting the network connection, the terminal will not be able to receive any notifications or control commands issued by the server, which will cause the terminal to leave the control range. At present, for the method of recovering from the disconnection, the terminal is usually restarted and the connection is retried. However, in many cases, the user cannot know that the terminal has lost contact with the server. It can be seen that when the terminal is disconnected from the server, the terminal cannot know the notification or management control command issued by the server. As for how to ensure that the lost terminal can recover quickly, the related technology does not provide an effective solution.
发明内容Summary of the Invention
本发明实施例提供了一种终端失联的恢复方法及装置,以至少解决相关技术中单纯依靠失联终端反复重新尝试连接服务器无法确保失联终端快速恢复的问题。Embodiments of the present invention provide a method and a device for recovering a terminal disconnection, so as to at least solve the problem in the related art that simply relying on the reconnected terminal repeatedly to retry to connect to the server cannot ensure the rapid recovery of the disconnected terminal.
根据本发明的一个实施例,提供了一种终端失联的恢复方法,应用于服务器侧,包括:According to an embodiment of the present invention, a method for recovering a terminal disconnection is provided, which is applied to a server side and includes:
在确定第一终端当前处于失联状态之后,根据第一终端的设备信息查找第二终端,其中,设备信息至少包括:第一终端的地理位置、第一终端 的近场通讯连接方式标识;向第二终端下发唤醒消息,以使第二终端唤醒第一终端,其中,唤醒消息至少包括:近场通讯连接方式标识。After determining that the first terminal is currently in a disconnected state, the second terminal is searched for according to the device information of the first terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal; The second terminal sends a wake-up message to cause the second terminal to wake up the first terminal, where the wake-up message includes at least: a near field communication connection mode identifier.
根据本发明的另一个实施例,提供了另一种终端失联的恢复方法,包括:According to another embodiment of the present invention, there is provided another method for recovering a terminal loss of contact, including:
接收服务器下发的唤醒消息,其中,唤醒消息至少包括:待转发至失联终端的近场通讯连接方式标识;从唤醒消息中解析出近场通讯连接方式标识;根据近场通讯连接方式标识匹配到失联终端,以唤醒失联终端。Receive a wake-up message issued by the server, where the wake-up message includes at least: a near-field communication connection mode identifier to be forwarded to the lost terminal; a near-field communication connection mode identifier is parsed from the wake-up message; and the near-field communication connection mode identifier matches To the lost terminal to wake up the lost terminal.
根据本发明的又一个实施例,提供了另一种终端失联的恢复方法,包括:According to still another embodiment of the present invention, another method for recovering a terminal disconnection is provided, including:
通过近场通讯连接方式接收联网终端转发的唤醒消息,其中,唤醒消息由服务器下发,近场通讯连接方式由失联终端本地应用上报的近场通讯连接方式标识来确定;响应于唤醒消息,重启本地应用,以尝试与服务器恢复连接。Receive the wake-up message forwarded by the networked terminal through the near field communication connection method, wherein the wake-up message is issued by the server, and the near-field communication connection method is determined by the near-field communication connection mode identifier reported by the local application of the lost terminal; in response to the wake-up message, Restart the local application to try to restore the connection to the server.
根据本发明的再一个实施例,提供了一种终端失联的恢复装置,应用于服务器侧,包括:According to still another embodiment of the present invention, a device for recovering terminal disconnection is provided, which is applied to a server side and includes:
查找模块,设置为在确定第一终端当前处于失联状态之后,根据第一终端的设备信息查找第二终端,其中,设备信息至少包括:第一终端的地理位置、第一终端的近场通讯连接方式标识;下发模块,设置为向第二终端下发唤醒消息,以使第二终端唤醒第一终端,其中,唤醒消息至少包括:近场通讯连接方式标识。The search module is configured to search for the second terminal according to the device information of the first terminal after determining that the first terminal is currently in a disconnected state, where the device information includes at least the geographic location of the first terminal and the near field communication of the first terminal Connection mode identification; a delivery module configured to send a wake-up message to the second terminal to make the second terminal wake up the first terminal, wherein the wake-up message includes at least: a near-field communication connection mode identification.
根据本发明的再一个实施例,提供了另一种终端失联的恢复装置,包括:According to still another embodiment of the present invention, another apparatus for recovering terminal disconnection is provided, including:
接收模块,设置为接收服务器下发的唤醒消息,其中,消息至少包括:待转发至失联终端的近场通讯连接方式标识;解析模块,设置为从唤醒消息中解析出近场通讯连接方式标识;处理模块,设置为根据近场通讯连接方式标识匹配到失联终端,以唤醒失联终端。The receiving module is configured to receive a wake-up message issued by the server, wherein the message includes at least: a near field communication connection mode identifier to be forwarded to the lost terminal; and a parsing module configured to parse the near field communication connection mode identifier from the wake-up message. A processing module configured to identify and match the lost terminal according to the near field communication connection mode to wake up the lost terminal.
根据本发明的再一个实施例,提供了另一种终端失联的恢复装置,包 括:According to still another embodiment of the present invention, another apparatus for recovering terminal disconnection is provided, including:
接收模块,设置为通过近场通讯连接方式接收联网终端转发的唤醒消息,其中,唤醒消息由服务器下发,近场通讯连接方式由失联终端本地应用上报的近场通讯连接方式标识来确定;执行模块,设置为响应于唤醒消息,重启本地应用,以尝试与服务器恢复连接。The receiving module is configured to receive the wake-up message forwarded by the networked terminal through a near field communication connection method, wherein the wake-up message is issued by the server, and the near field communication connection method is determined by the near field communication connection mode identifier reported by the local application of the lost terminal; The execution module is set to restart the local application in response to the wake-up message to attempt to restore the connection with the server.
根据本发明的再一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to still another embodiment of the present invention, a storage medium is also provided, and the storage medium stores a computer program, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
根据本发明的再一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to still another embodiment of the present invention, an electronic device is further provided, which includes a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to execute any one of the foregoing. Steps in a method embodiment.
通过本发明至少部分实施例,由于在第一终端失联之后,服务器如果能够确定服务器下发给第一终端的消息并没有被第一终端接收到,则可以向第二终端下发唤醒消息,以使第二终端唤醒第一终端重新连接服务器,因此,可以解决相关技术中单纯依靠失联终端反复重新尝试连接服务器无法确保失联终端快速恢复的问题,达到失联终端能够执行服务器所指示的操作并能够快速恢复与服务器之间的连接的效果。Through at least some embodiments of the present invention, after the first terminal is disconnected, if the server can determine that the message sent by the server to the first terminal has not been received by the first terminal, the server can send a wake-up message to the second terminal. In order to make the second terminal wake up the first terminal and reconnect to the server, it can solve the problem in the related art that simply relying on the reconnected terminal to repeatedly try to connect to the server cannot ensure the rapid recovery of the lost terminal, so that the lost terminal can perform the instructions indicated by the server. The effect of operating and being able to quickly restore the connection to the server.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明实施例的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the embodiments of the present invention and constitute a part of the present application. The schematic embodiments of the present invention and the descriptions thereof are used to explain the present invention, and do not constitute an improper limitation on the embodiments of the present invention. In the drawings:
图1是本发明其中一实施例的终端失联的恢复方法的运行环境示意图;FIG. 1 is a schematic diagram of an operating environment of a method for recovering a lost connection of a terminal according to an embodiment of the present invention; FIG.
图2是根据本发明实施例的一种终端失联的恢复方法的流程图;2 is a flowchart of a method for recovering a terminal from being disconnected according to an embodiment of the present invention;
图3是根据本发明其中一可选实施例的服务器针对失联终端的处理过 程流程图;FIG. 3 is a flowchart of a processing process of a server for a lost terminal according to an optional embodiment of the present invention; FIG.
图4是根据本发明实施例的另一种终端失联的恢复方法的流程图;4 is a flowchart of another method for recovering a terminal from being disconnected according to an embodiment of the present invention;
图5是根据本发明其中一可选实施例的服务器通过向正常终端下发消息来唤醒失联终端的处理过程流程图;5 is a flowchart of a process for a server to wake up a lost terminal by sending a message to a normal terminal according to an optional embodiment of the present invention;
图6是根据本发明实施例的又一种终端失联的恢复方法的流程图;6 is a flowchart of still another method for recovering a terminal from being disconnected according to an embodiment of the present invention;
图7是根据本发明其中一可选实施例的通过正常终端发送消息来唤醒失联终端的处理过程流程图;7 is a flowchart of a process for waking up a lost terminal by sending a message through a normal terminal according to an optional embodiment of the present invention;
图8是根据本发明其中一实施例的终端失联的恢复装置的结构框图;FIG. 8 is a structural block diagram of a terminal disconnection recovery device according to an embodiment of the present invention; FIG.
图9是根据本发明其中一可选实施例的终端失联的恢复装置的结构框图;FIG. 9 is a structural block diagram of a device for recovering a lost connection of a terminal according to an optional embodiment of the present invention; FIG.
图10是根据本发明其中一实施例的另一种终端失联的恢复装置的结构框图;10 is a structural block diagram of another terminal disconnection recovery apparatus according to an embodiment of the present invention;
图11是根据本发明其中一实施例的又一种终端失联的恢复装置的结构框图;FIG. 11 is a structural block diagram of another terminal disconnection recovery device according to an embodiment of the present invention; FIG.
图12是根据本发明其中一可选实施例的又一种终端失联的恢复装置的结构框图。FIG. 12 is a structural block diagram of another device for recovering from a terminal disconnection according to an optional embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明实施例。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
需要说明的是,本发明实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms “first” and “second” in the description and claims of the embodiments of the present invention and the foregoing drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. order.
实施例1Example 1
该方法实施例可以运行于服务器上和/或终端上。图1是本发明其中一 实施例的终端失联的恢复方法的运行环境示意图,如图1所示,本发明所述的终端失联的恢复方法可以运行于图1所示的服务器1上,第一终端2(即失联终端)上,或第二终端3(即正常终端/联网终端)上。在一实施方式中,利用如图1所示的服务器1、第一终端2以及第二终端3之间的交互来实现针对服务器侧的终端失联的恢复。在一实施方式中,服务器1、第一终端2以及第二终端3均可以包括一个或多个处理器(处理器可以包括但不限于微处理器(MCU)或可编程逻辑器件(FPGA)等的处理装置)和用于存储数据的存储器。在一实施方式中,上述终端还可以包括用于通信功能的传输装置以及输入输出设备。本领域普通技术人员可以理解,上述结构描述仅为示意性说明,其并不对上述终端的结构造成限定。例如,上述终端还可包括更多或者更少的组件,或者具有不同的配置。This method embodiment may run on a server and / or a terminal. FIG. 1 is a schematic diagram of an operating environment of a method for recovering a terminal disconnection according to an embodiment of the present invention. As shown in FIG. 1, the method for recovering a terminal disconnection according to the present invention may be run on the server 1 shown in FIG. 1, On the first terminal 2 (that is, the lost terminal), or on the second terminal 3 (that is, the normal terminal / networked terminal). In one embodiment, the interaction between the server 1, the first terminal 2, and the second terminal 3 shown in FIG. 1 is used to implement recovery of the server-side terminal out-of-connection. In an embodiment, the server 1, the first terminal 2, and the second terminal 3 may each include one or more processors (the processors may include but are not limited to a microprocessor (MCU) or a programmable logic device (FPGA), etc. Processing device) and a memory for storing data. In one embodiment, the terminal may further include a transmission device for a communication function and an input / output device. A person of ordinary skill in the art can understand that the foregoing structure description is only a schematic description, and does not limit the structure of the foregoing terminal. For example, the above-mentioned terminal may further include more or fewer components, or have different configurations.
存储器可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的终端失联的恢复方法对应的计算机程序,处理器通过运行存储在存储器内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的终端失联的恢复方法。存储器可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至上述终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to a method for recovering a terminal disconnection in an embodiment of the present invention. The processor runs the computer program stored in the memory to execute each program. A kind of functional application and data processing, that is, the method for recovering the terminal disconnection described above. 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. In some examples, the memory may further include a memory remotely disposed with respect to the processor, and these remote memories may be connected to the terminal 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.
传输装置用于经由一个网络接收或者发送数据。上述的网络具体实例可包括终端的通信供应商提供的无线网络。在一个实例中,传输装置包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。The transmission device is used to receive or transmit data via a network. The above specific examples of the network may include a wireless network provided by a communication provider of the terminal. In one example, 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. In one example, the transmission device may be a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
该方法实施例主要解决的问题在于:终端在与服务器失去联系,无法正常接收服务器下发的消息之后,如何恢复失联终端与服务器之间的联 系。本发明实施例的应用场景主要适用于多个终端分布比较集中的场景(例如:同一公司的同事所使用的终端之间),服务器下发消息时间也比较固定(例如:多在上班时间),这样通过不同终端之间的近场通讯连接方式很方便匹配。This method embodiment mainly solves the problem of how to restore the connection between the lost terminal and the server after the terminal loses contact with the server and cannot normally receive messages sent by the server. The application scenario of the embodiment of the present invention is mainly applicable to a scenario in which multiple terminals are relatively concentrated (for example, between terminals used by colleagues of the same company), and the server sends a message at a fixed time (for example, during office hours). In this way, it is easy to match through the near field communication connection between different terminals.
在上述应用场景下,通过使用本发明实施例所提供的技术方案,能够很快地恢复失联终端与服务器之间的联系,以确保失联终端能够及时地接收到服务器的消息,从而降低因消息丢失而造成的不良影响。In the above application scenario, by using the technical solution provided by the embodiment of the present invention, the connection between the lost terminal and the server can be quickly restored, so as to ensure that the lost terminal can receive the server's message in time, thereby reducing the cause of the problem. Adverse effects caused by message loss.
上述终端失联的恢复方法具体应用场景举例:(1)携带自己的设备办公(Bring Your Own Device,简称为BYOD)应用,即移动办公,这种场景包括办公中使用的手机、平板及带通讯模块的其它终端;(2)智能家居中各类智能硬件都是通过家庭Wi-Fi互联互通,从而有助于监控定位家庭网络状态以及各智能终端联网状态,以加强对智能终端管理和故障排查;(3)车联网;(4)工业互联网,如带有无线通讯模块的水电气监控终端;(5)共享单车。Examples of specific application scenarios of the foregoing method for recovering terminal disconnection: (1) Bring your own device (Bring, Your, Own, Device, or BYOD for short) application, that is, mobile office, this scenario includes mobile phones, tablets, and communication 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, such as water and electricity monitoring terminals with wireless communication modules; (5) Shared bicycles.
在终端失联的恢复方法中,通过其他正常终端唤醒失联终端,并将失联状态下服务器下发的消息发送给失联终端。本发明实施例后续方法实施例中涉及到终端应用和服务器侧共同配合完成,以下将分别介绍终端应用和服务器侧的处理流程,并对服务器下发给正常终端的消息以及正常终端如何唤醒失联终端进行详细说明。In the method for recovering the terminal disconnection, the normal terminal is used to wake up the lost terminal and send a message issued by the server in the lost connection state to the lost terminal. The subsequent method embodiments of the embodiments of the present invention involve the cooperation of the terminal application and the server. The following describes the processing procedures of the terminal application and the server, respectively, and sends a message sent by the server to the normal terminal and how the normal terminal wakes up. The terminal is explained in detail.
在本实施例中提供了一种运行于上述服务器的终端失联的恢复方法,应用于服务器侧。图2是根据本发明实施例的一种终端失联的恢复方法的流程图,如图2所示,该流程包括如下步骤:This embodiment provides a method for recovering a terminal disconnection running on the server, which is applied to the server side. FIG. 2 is a flowchart of a method for recovering a terminal from being disconnected according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S22,在确定第一终端当前处于失联状态之后,根据第一终端的设备信息查找第二终端,其中,设备信息至少包括:第一终端的地理位置、第一终端的近场通讯连接方式标识;Step S22: After determining that the first terminal is currently in a disconnected state, search for the second terminal according to the device information of the first terminal, where the device information includes at least the geographic location of the first terminal and the near field communication connection method of the first terminal Identification
步骤S24,向第二终端下发唤醒消息,以使第二终端唤醒第一终端, 其中,唤醒消息至少包括:近场通讯连接方式标识。In step S24, a wake-up message is sent to the second terminal so that the second terminal wakes up the first terminal, where the wake-up message includes at least: a near field communication connection mode identifier.
目前相关技术中通常是通过失联终端重试或重启方式来重新连接服务器。但是由于失联终端并不清楚连接失败是由终端自身原因引起的还是由服务器原因引起的,因此,失联终端在很长一段时间内重试几次之后才会选择执行重启操作,这样便会浪费很多时间。如果服务器在这个时间段下发了很重要的消息,由于终端无法正常接收,因此将会给后续操作带来不可估量的严重影响。通过上述步骤,由于在第一终端失联之后,服务器如果能够确定服务器下发给第一终端的消息并没有被第一终端接收到,则可以通过向第二终端下发唤醒消息,以使第二终端唤醒第一终端重新连接服务器,因此,可以解决相关技术中单纯依靠失联终端反复重新尝试连接服务器无法确保失联终端快速恢复的问题,达到失联终端能够执行服务器所指示的操作并能够快速恢复与服务器之间的连接的效果。In the related art, the server is usually reconnected by retrying or restarting the lost terminal. However, because the lost terminal is not clear whether the connection failure is caused by the terminal itself or the server, the lost terminal will choose to perform the restart operation after retrying a few times for a long time. Waste a lot of time. If the server sends a very important message during this time period, the terminal cannot receive it normally, which will have an immeasurable serious impact on subsequent operations. Through the above steps, after the first terminal is disconnected, if the server can determine that the message sent by the server to the first terminal has not been received by the first terminal, it can send a wake-up message to the second terminal to make the first terminal The second terminal wakes up the first terminal and reconnects to the server. Therefore, the problem of simply relying on the disconnected terminal to retry to connect to the server repeatedly in the related technology cannot ensure the rapid recovery of the lost terminal, so that the lost terminal can perform the operation indicated by the server and be able to The effect of quickly restoring the connection to the server.
在一实施方式中,上述步骤的执行主体可以为服务器,但不限于此。In an embodiment, the execution subject of the above steps may be a server, but is not limited thereto.
在一实施方式中,上述唤醒消息还包括:服务器向第一终端下发的消息(例如:通知或管控命令),以指示第一终端执行对应的操作。In an embodiment, the wake-up message further includes a message (for example, a notification or a control command) issued by the server to the first terminal to instruct the first terminal to perform a corresponding operation.
在一实施方式中,服务器在下第二终端下发唤醒消息的过程中,服务器既可以在唤醒消息中携带特定消息部分,以便在第二终端将特定消息部分转发至第一终端,进而使得第一终端完成服务器先前指示的操作。当然,服务器也可以不再唤醒消息中携带特定消息部分,而只是通过向第二终端下发唤醒消息,以使第二终端唤醒第一终端。在第一终端与服务器重新连接成功之后,可以再次从服务器接收到原先希望下发至第一终端的消息,从而执行对应的操作。In an embodiment, during the process of sending the wake-up message by the server to the second terminal, the server may both carry the specific message part in the wake-up message, so that the second terminal forwards the specific message part to the first terminal, so that the first The terminal completes the operation previously instructed by the server. Of course, the server may no longer carry the specific message part in the wake-up message, but only sends the wake-up message to the second terminal, so that the second terminal wakes up the first terminal. After the first terminal successfully reconnects with the server, the server may receive a message originally intended to be sent to the first terminal again from the server, so as to perform a corresponding operation.
在一实施方式中,在步骤S22中,根据第一终端的设备信息查找第二终端可以包括以下执行步骤:In an embodiment, in step S22, finding the second terminal according to the device information of the first terminal may include the following execution steps:
步骤S221,根据地理位置查找第一终端所在预设范围的多个终端,其中,多个终端均与服务器保持连接状态;Step S221: Find a plurality of terminals in a preset range where the first terminal is located according to the geographic location, where the plurality of terminals maintain a connection state with the server;
步骤S222,从多个终端中选择待使用的第二终端。In step S222, a second terminal to be used is selected from a plurality of terminals.
服务器端在下发PUSH命令之后,将会查看哪些终端没有返回回执消息。对于未返回回执消息的终端,服务器将会查找出最近一次未返回回执消息的失联终端上报的地理位置和近场通讯连接方式标识,并查找出与该失联终端的地理位置最近的正常终端,然后再将刚才下发的无回执消息和失联终端的近场通讯连接方式标识一同发送给正常终端。After the server issues the PUSH command, it will check which terminals did not return a receipt message. For a terminal that does not return a receipt message, the server will find the geographical location and near-field communication connection identifier reported by the most recently lost terminal that did not return a receipt message, and find a normal terminal that is closest to the geographical location of the lost terminal , And then send the no-acknowledgement message just sent to the normal terminal together with the near field communication connection mode identifier of the lost terminal.
当然,除了选择地理位置最近的正常终端之外,还可以采用其他选取正常终端的方式,例如:选取与服务器之间保持连接状态的时间最长的终端,或者,选取与服务器之间保持连接状态的信号最强的终端,其并不构成对本发明实施例的不当限制。Of course, in addition to selecting the normal terminal with the nearest geographic location, other methods of selecting a normal terminal can also be used, such as: selecting the terminal that has the longest connection status with the server, or selecting the connection status with the server The terminal with the strongest signal does not constitute an improper limitation on the embodiment of the present invention.
在一实施方式中,在步骤S22,确定第一终端当前处于失联状态之前,还可以包括以下执行步骤:In an embodiment, before determining that the first terminal is currently in a disconnected state in step S22, the method may further include the following execution steps:
步骤S21,接收第一终端上报的设备信息,其中,设备信息还包括:密码生成元素,密码生成元素用于确定近场通讯连接方式标识的加密密码。Step S21: Receive device information reported by the first terminal, where the device information further includes: a password generating element, which is used to determine an encrypted password identified by a near field communication connection mode.
终端在处于失联状态之前正常地上报设备信息,其中,设备信息包括但不限于:地理位置、近场通讯连接方式标识(例如:蓝牙地址、无线保真(WiFi)地址、近场通讯(NFC)标签等),以及在接收到服务器下发消息后向服务器返回的回执消息,以告知服务器该终端已经接收到下发消息。当服务器发现特定终端(例如:第一终端)未发送回执消息之后,根据该终端先前上报的地理位置,向第一终端附近的另一终端(例如:第二终端)发送消息。The terminal normally reports device information before being in a disconnected state, where the device information includes but is not limited to: geographic location, identification of the near field communication connection method (for example: Bluetooth address, wireless fidelity (WiFi) address, near field communication (NFC) ) Tag, etc.), and the receipt message returned to the server after receiving the message from the server to inform the server that the terminal has received the issued message. When the server finds that the specific terminal (for example, the first terminal) has not sent a receipt message, it sends a message to another terminal (for example, the second terminal) near the first terminal according to the geographical location previously reported by the terminal.
在一个可选实施例中,对于终端之间连接而言,需要遵循特定的安全机制,例如:蓝牙地址,WiFi热点密码等,都需要遵循特定的安全策略生成。终端之间需要同时遵守该安全策略,例如:失联终端在正常工作状态下,将加密后的WiFi热点密码或蓝牙地址等信息,以及生成加密密码的元素,例如:国际移动设备识别码(IMEI),上报给服务器。In an optional embodiment, for the connection between the terminals, specific security mechanisms need to be followed, such as Bluetooth addresses, WiFi hotspot passwords, etc., which need to be generated in accordance with specific security policies. Terminals need to abide by this security policy at the same time. For example, in a normal working state, the lost terminal will encrypt the information such as the WiFi hotspot password or Bluetooth address, and the elements that generate the encrypted password, such as the International Mobile Equipment Identity ), Report to the server.
在一个可选实施例中,上述唤醒消息还可以包括:密码生成元素。In an optional embodiment, the wake-up message may further include: a password generation element.
服务器在该终端失联后将加密密码和生成加密密码的元素下发给正常终端,以便正常终端根据预先约定的策略和生成加密密码的元素解析出加密密码。After the terminal loses contact, the server sends the encrypted password and the elements that generate the encrypted password to the normal terminal, so that the normal terminal parses out the encrypted password according to a predetermined policy and the element that generates the encrypted password.
在一个可选实施例中,上述预先约定的策略可以是随机密码生成策略,该随机密码生成策略包括但不限于以下方式之一:In an optional embodiment, the foregoing pre-agreed policy may be a random password generation policy, and the random password generation policy includes but is not limited to one of the following ways:
(1)基于时间戳生成,此时间戳可以为Wi-Fi热点开启时间或当前设备其它属性相关时间;(1) Generated based on the timestamp, this timestamp can be the Wi-Fi hotspot on time or other attributes related time of the current device;
(2)基于当前设备属性,其包括但不限于:硬件属性(例如:媒体接入控制(Mac)地址等);(2) Based on the current device attributes, including but not limited to: hardware attributes (for example: media access control (Mac) address, etc.);
(3)多种信息组合,例如:时间戳+设备属性;(3) Multiple information combinations, such as: time stamp + device attributes;
(4)在上述(1)-(3)所列举的各项信息的基础上编码或加密。(4) Encoding or encryption based on the information listed in (1)-(3) above.
图3是根据本发明其中一可选实施例的服务器针对失联终端的处理过程流程图,如图3所示,该流程可以包括以下处理步骤:FIG. 3 is a flowchart of a server processing procedure for a disconnected terminal according to an optional embodiment of the present invention. As shown in FIG. 3, the process may include the following processing steps:
步骤S302,服务器根据终端标识向终端下发消息。Step S302: The server sends a message to the terminal according to the terminal identifier.
步骤S304,服务器查询终端是否返回回执。如果是,则此次下发流程结束,如果否,则继续执行步骤S306。In step S304, the server queries whether the terminal returns a receipt. If yes, then the issuing process ends, and if no, proceed to step S306.
步骤S306,对于未返回回执的终端,服务器查找出该终端上报的设备信息,主要是地理位置和近场通讯连接方式标识。Step S306: For a terminal that does not return a receipt, the server finds out the device information reported by the terminal, which is mainly the geographic location and the near-field communication connection mode identifier.
步骤S308,服务器根据失联终端的地理位置,查找出其附近的正常终端。Step S308: The server finds a normal terminal in the vicinity of the lost terminal according to the geographic location of the lost terminal.
步骤S310,服务器将刚才下发给失联终端的消息,以及该终端的近场通讯连接方式标识封装成具体的消息。Step S310: The server encapsulates the message just sent to the lost terminal and the near field communication connection mode identifier of the terminal into a specific message.
步骤S312,服务器将封装后的消息下发给失联终端附近的正常终端。Step S312: The server sends the encapsulated message to a normal terminal near the lost terminal.
在本实施例中提供了另一种运行于上述联网终端的终端失联的恢复方法,图4是根据本发明实施例的另一种终端失联的恢复方法的流程图, 如图4所示,该流程包括如下步骤:In this embodiment, another method for recovering a terminal disconnection running on the networked terminal is provided. FIG. 4 is a flowchart of another method for recovering a terminal disconnection according to an embodiment of the present invention, as shown in FIG. 4. The process includes the following steps:
步骤S42,接收服务器下发的唤醒消息,其中,唤醒消息至少包括:待转发至失联终端的近场通讯连接方式标识;Step S42: Receive a wake-up message issued by the server, where the wake-up message includes at least: a near field communication connection mode identifier to be forwarded to the lost terminal;
步骤S44,从唤醒消息中解析出近场通讯连接方式标识;Step S44, analyzing the near field communication connection mode identifier from the wake-up message;
步骤S46,根据近场通讯连接方式标识匹配到失联终端,以唤醒失联终端。In step S46, the identifier of the lost terminal is matched according to the near field communication connection mode to wake up the lost terminal.
服务器端在下发PUSH消息后,查看哪些终端没有发送回执消息,以确定这些终端处于失联状态,其次查找到这些失联终端之前上报的地理位置,然后再将失联终端的近场通讯连接方式标识发送给这些失联终端附近的正常终端。After the server sends the PUSH message, it checks which terminals have not sent a receipt message to determine that these terminals are in a disconnected state, and then finds the geographical location reported by these lost terminals before it then connects the near field communication method of the lost terminals. The identification is sent to normal terminals near these lost terminals.
正常终端在接收到服务器发送的消息之后,匹配失联终端的近场通讯连接方式标识(例如:蓝牙地址),通过近场通讯连接方式(例如:蓝牙)匹配失联终端,以便失联终端重启本地应用与服务器重新进行连接。After receiving the message sent by the server, the normal terminal matches the identification of the near field communication connection method (for example, Bluetooth address) of the lost terminal, and matches the lost terminal through the near field communication method (for example, Bluetooth), so that the lost terminal restarts. The local application reconnects with the server.
在一实施方式中,上述唤醒消息还包括:待转发至失联终端的消息部分;In an embodiment, the wake-up message further includes: a message part to be forwarded to the lost terminal;
在步骤S44中,还包括:从唤醒消息中解析出消息部分;In step S44, the method further includes: parsing the message part from the wake-up message;
在步骤S46中,还包括:将消息部分转发至失联终端,以使失联终端执行与消息部分对应的操作。In step S46, the method further includes: forwarding the message part to the lost contact terminal, so that the lost contact terminal performs an operation corresponding to the message part.
服务器在下联网终端下发唤醒消息的过程中,服务器既可以在唤醒消息中携带特定消息部分,以便在联网终端将特定消息部分转发至失联终端,进而使得失联终端完成服务器先前指示的操作。当然,服务器也可以不再唤醒消息中携带特定消息部分,而只是通过向联网终端下发唤醒消息,以使联网终端唤醒失联终端。在失联终端与服务器重新连接成功之后,可以再次从服务器接收到原先希望下发至失联终端的消息,从而执行对应的操作。In the process of sending the wake-up message by the server to the network-connected terminal, the server can either carry the specific message part in the wake-up message, so that the network-connected terminal forwards the specific message part to the lost-connection terminal, so that the lost-connection terminal completes the operation previously instructed by the server. Of course, the server may no longer carry the specific message part in the wake-up message, but only sends the wake-up message to the networked terminal, so that the networked terminal wakes up the disconnected terminal. After the reconnected terminal and the server are successfully reconnected, the server may again receive the message originally intended to be sent to the lost terminal, so as to perform the corresponding operation.
在一实施方式中,上述消息还包括:密码生成元素,密码生成元素用 于确定近场通讯连接方式标识的加密密码,在步骤S44中,从消息中解析出近场通讯连接方式标识可以包括以下执行步骤:In one embodiment, the message further includes: a password generation element, which is used to determine an encrypted password for the near field communication connection mode identification. In step S44, parsing the near field communication connection mode identification from the message may include the following: Steps:
步骤S441,根据密码生成元素确定加密密码;Step S441: Determine the encryption password according to the password generation element.
步骤S442,采用加密密码以及预先约定的密码生成策略解析出近场通讯连接方式标识。In step S442, the identification of the near field communication connection mode is parsed by using the encrypted password and a predetermined password generation strategy.
对于终端之间连接而言,需要遵循特定的安全机制,例如:蓝牙地址,WiFi热点密码等,都需要遵循特定的安全策略生成。终端之间需要同时遵守该安全策略,例如:失联终端在正常工作状态下,将加密后的蓝牙地址或WiFi热点密码等信息,以及生成加密密码的元素(例如:IMEI),上报给服务器。服务器在该终端失联后将密码和生成加密密码的元素下发给正常终端,正常终端根据预先约定的策略和生成加密密码的元素解析出加密密码。For the connection between the terminals, specific security mechanisms need to be followed, such as Bluetooth addresses, WiFi hotspot passwords, etc., which all need to be generated in accordance with specific security policies. The terminals need to comply with the security policy at the same time. For example, in a normal working state, the lost terminal reports the encrypted Bluetooth address or WiFi hotspot password and other elements (such as IMEI) to the server. After the terminal is disconnected, the server sends the password and the element generating the encrypted password to the normal terminal, and the normal terminal parses the encrypted password according to a predetermined policy and the element generating the encrypted password.
在一个可选实施例中,上述预先约定的策略可以是随机密码生成策略,该随机密码生成策略包括但不限于以下方式之一:In an optional embodiment, the foregoing pre-agreed policy may be a random password generation policy, and the random password generation policy includes but is not limited to one of the following ways:
(1)基于时间戳生成,此时间戳可以为Wi-Fi热点开启时间或当前设备其它属性相关时间;(1) Generated based on the timestamp, this timestamp can be the Wi-Fi hotspot on time or other attributes related time of the current device;
(2)基于当前设备属性,其包括但不限于:硬件属性(例如:媒体接入控制(Mac)地址等);(2) Based on the current device attributes, including but not limited to: hardware attributes (for example: media access control (Mac) address, etc.);
(3)多种信息组合,例如:时间戳+设备属性;(3) Multiple information combinations, such as: time stamp + device attributes;
(4)在上述(1)-(3)所列举的各项信息的基础上编码或加密。(4) Encoding or encryption based on the information listed in (1)-(3) above.
在一实施方式中,在步骤S46中,将消息部分转发至终端可以包括以下执行步骤:In an embodiment, in step S46, forwarding the message part to the terminal may include the following execution steps:
步骤S461,在预设时间间隔的结束时刻达到时,开启与近场通讯连接方式标识对应的近场通讯连接方式;Step S461, when the end time of the preset time interval is reached, the near field communication connection mode corresponding to the near field communication connection mode identifier is turned on;
步骤S462,通过近场通讯连接方式将消息部分转发至终端,并在确定消息部分发送完毕后,关闭近场通讯连接方式。In step S462, the message part is forwarded to the terminal through the near field communication connection method, and after it is determined that the message part is sent, the near field communication connection method is closed.
对于物联网等对功耗很敏感的终端设备,WiFi或蓝牙一直开启会有较高的功耗,因此可以考虑按照预设时间间隔开启WiFi或蓝牙,例如:在每个小时的半点时刻或整点时刻,每次开启几分钟。当检测到需要处理的消息后,待消息处理完毕后即刻关闭WiFi或蓝牙。对于正常终端而言,便是在接收到服务器唤醒失联终端的消息之后,等到开启时刻达到时,向失联终端发送消息,并在将消息发送给失联终端之后,即刻关闭WiFi或蓝牙。如果没有接收到消息,则在较短时间内关闭WiFi或蓝牙。For terminal devices that are sensitive to power consumption, such as the Internet of Things, WiFi or Bluetooth will always have higher power consumption, so you can consider turning on WiFi or Bluetooth at preset time intervals, for example, at half an hour or the entire hour At any time, turn on for a few minutes at a time. When a message to be processed is detected, WiFi or Bluetooth will be turned off immediately after the message is processed. For a normal terminal, after receiving a message from the server to wake up the lost terminal, when the opening time is reached, send a message to the lost terminal, and immediately turn off WiFi or Bluetooth after sending the message to the lost terminal. If no message is received, turn off WiFi or Bluetooth in a short time.
在一个可选实施例中,终端在正常情况下会定时向服务器上报地理位置和近场通讯连接方式标识。正常终端在接收到服务器下发消息后,首先需要解析服务器下发的消息,如果是对正常终端自身的管控命令,则执行命令。如果是唤醒其他设备的消息,则解析出近场通讯连接方式标识进行匹配,并待匹配成功后进行消息发送或者文件发送。In an optional embodiment, the terminal periodically reports the geographic location and the near field communication connection mode identifier to the server under normal circumstances. After receiving a message from the server, the normal terminal first needs to parse the message issued by the server. If it is a control command on the normal terminal, execute the command. If it is a message to wake up other devices, the near-field communication connection mode identifier is parsed for matching, and a message or file is sent after the matching is successful.
图5是根据本发明其中一可选实施例的服务器通过向正常终端下发消息来唤醒失联终端的处理过程流程图,如图5所示,该流程可以包括以下处理步骤:FIG. 5 is a flowchart of a process for a server to wake up a lost terminal by sending a message to a normal terminal according to an optional embodiment of the present invention. As shown in FIG. 5, the process may include the following processing steps:
步骤S502,正常终端接收到服务器下发的消息。Step S502: The normal terminal receives a message delivered by the server.
步骤S504,正常终端通过解析消息查看消息的类别。Step S504: The normal terminal checks the type of the message by analyzing the message.
步骤S506,正常终端判断是否为唤醒其他终端的消息,如果不是则执行相关的操作,如果是,则继续执行步骤S508。In step S506, the normal terminal determines whether it is a message to wake up other terminals, and if not, performs related operations, and if so, proceeds to step S508.
步骤S508,正常终端将需要发送给失联终端的消息进行封装,可以组装成文件,其封装形式不限于此。In step S508, the normal terminal encapsulates the message that needs to be sent to the lost terminal, which can be assembled into a file, and the encapsulation form is not limited to this.
步骤S510,正常终端根据解析到的近场通讯连接方式对周围的终端进行匹配,连接失联终端。Step S510: The normal terminal matches the surrounding terminals according to the resolved near-field communication connection mode, and connects the lost terminals.
步骤S512,正常终端向失联终端发送经过封装处理的消息。In step S512, the normal terminal sends a message that has been encapsulated to the lost terminal.
在本实施例中提供了又一种运行于上述失联终端的终端失联的恢复 方法,图6是根据本发明实施例的又一种终端失联的恢复方法的流程图,如图6所示,该流程包括如下步骤:In this embodiment, another method for recovering a terminal disconnection running on the disconnected terminal is provided. FIG. 6 is a flowchart of another method for recovering a terminal disconnection according to an embodiment of the present invention, as shown in FIG. 6. The process includes the following steps:
步骤S62,通过近场通讯连接方式接收联网终端转发的唤醒消息,其中,唤醒消息由服务器下发,近场通讯连接方式由失联终端本地应用上报的近场通讯连接方式标识来确定,终端与服务器之间保持连接状态;In step S62, the wake-up message forwarded by the networked terminal is received through the near field communication connection method, wherein the wake-up message is issued by the server, and the near field communication connection method is determined by the near field communication connection mode identifier reported by the local application of the lost terminal. The connection status between the servers is maintained;
步骤S64,响应于唤醒消息,重启本地应用,以尝试与服务器恢复连接。In step S64, in response to the wake-up message, the local application is restarted to try to restore the connection with the server.
通过其他正常终端恢复失联终端跟服务器联系的方法,由服务器通过地理位置来进行筛选有哪些正常终端在失联终端附近,失联终端和正常终端均无需上报其他硬件信息和安装第三方应用(APP)。The method of restoring the contact between the lost terminal and the server through other normal terminals. The server uses the geographical location to filter which normal terminals are near the lost terminal. Neither the lost terminal nor the normal terminal need to report other hardware information and install third-party applications APP).
失联前终端正常上报设备信息(包括:地理位置和近场通讯连接方式标识)。该终端失联后将会被正常终端唤醒,重启应用,以连接服务器。Before the connection is lost, the terminal normally reports the device information (including the geographical location and the identification of the near field communication connection mode). After the terminal loses contact, it will be woken up by a normal terminal and restart the application to connect to the server.
在一实施方式中,在步骤S64中,还可以包括:从唤醒消息中解析出消息部分,并执行与消息部分对应的操作。In an embodiment, in step S64, the method may further include: parsing the message part from the wake-up message, and performing an operation corresponding to the message part.
服务器在下联网终端下发唤醒消息的过程中,服务器既可以在唤醒消息中携带特定消息部分,以便在联网终端将特定消息部分转发至失联终端,进而使得失联终端完成服务器先前指示的操作。当然,服务器也可以不再唤醒消息中携带特定消息部分,而只是通过向联网终端下发唤醒消息,以使联网终端唤醒失联终端。在失联终端与服务器重新连接成功之后,可以再次从服务器接收到原先希望下发至失联终端的消息,从而执行对应的操作。In the process of sending the wake-up message by the server to the network-connected terminal, the server can either carry the specific message part in the wake-up message, so that the network-connected terminal forwards the specific message part to the lost-connection terminal, so that the lost-connection terminal completes the operation previously indicated by the server. Of course, the server may no longer carry the specific message part in the wake-up message, but only sends the wake-up message to the networked terminal, so that the networked terminal wakes up the disconnected terminal. After the reconnected terminal and the server are successfully reconnected, the server may again receive the message originally intended to be sent to the lost terminal, so as to perform the corresponding operation.
在一个可选实施例中,图7是根据本发明其中一可选实施例的通过正常终端发送消息来唤醒失联终端的处理过程流程图,如图7所示,该流程可以包括以下处理步骤:In an alternative embodiment, FIG. 7 is a flowchart of a process for waking up a disconnected terminal by sending a message through a normal terminal according to an alternative embodiment of the present invention. As shown in FIG. 7, the process may include the following processing steps :
步骤S702,失联终端接收到正常终端通过近场通讯连接方式发送的消息。Step S702: The lost terminal receives a message sent by a normal terminal through a near field communication connection.
步骤S704,失联终端的APP监听到该消息,其中,既可以通过广播 的方式来监听,也可以通过其他方式来监听。In step S704, the APP of the disconnected terminal monitors the message, and the message can be monitored through broadcast or other methods.
步骤S706,失联终端解析从正常终端接收到的消息。Step S706: The lost terminal parses the message received from the normal terminal.
步骤S708,失联终端根据消息内容执行对应的动作,例如:管控类的关闭WiFi,摄像头等。Step S708: The lost terminal performs corresponding actions according to the content of the message, for example, turning off WiFi, cameras, and the like for management and control.
步骤S710,失联终端在执行完毕对应动作后,重启本地应用以尝试重新连接服务器。In step S710, after performing the corresponding action, the lost terminal restarts the local application to try to reconnect to the server.
在一实施方式中,上述设备信息还包括:密码生成元素,密码生成元素用于确定近场通讯连接方式标识的加密密码,在步骤S62,通过近场通讯连接方式接收终端转发的消息之前,还可以包括以下执行步骤:In one embodiment, the device information further includes: a password generation element, which is used to determine an encrypted password identified by the near field communication connection method. Before receiving the message forwarded by the terminal through the near field communication connection method in step S62, It can include the following steps:
步骤S60,根据密码生成元素以及预先约定的密码生成策略生成加密密码;Step S60: Generate an encrypted password according to the password generation element and a predetermined password generation policy;
步骤S61,采用加密密码对近场通讯连接方式标识进行加密。In step S61, the near field communication connection mode identifier is encrypted by using an encryption password.
对于终端之间连接而言,需要遵循特定的安全机制,例如:蓝牙地址,WiFi热点密码等,都需要遵循特定的安全策略生成。终端之间需要同时遵守该安全策略,例如:失联终端在正常工作状态下,将加密后的蓝牙地址或WiFi热点密码等信息,以及生成加密密码的元素(例如:IMEI),上报给服务器。服务器在该终端失联后将密码和生成加密密码的元素下发给正常终端,正常终端根据预先约定的策略和生成加密密码的元素解析出加密密码。For the connection between the terminals, specific security mechanisms need to be followed, such as Bluetooth addresses, WiFi hotspot passwords, etc., which all need to be generated in accordance with specific security policies. The terminals need to comply with the security policy at the same time. For example, in a normal working state, the lost terminal reports the encrypted Bluetooth address or WiFi hotspot password and other elements (such as IMEI) to the server. After the terminal is disconnected, the server sends the password and the element generating the encrypted password to the normal terminal, and the normal terminal parses the encrypted password according to a predetermined policy and the element generating the encrypted password.
在一个可选实施例中,上述预先约定的策略可以是随机密码生成策略,该随机密码生成策略包括但不限于以下方式之一:In an optional embodiment, the foregoing pre-agreed policy may be a random password generation policy, and the random password generation policy includes but is not limited to one of the following ways:
(1)基于时间戳生成,此时间戳可以为Wi-Fi热点开启时间或当前设备其它属性相关时间;(1) Generated based on the timestamp, this timestamp can be the Wi-Fi hotspot on time or other attributes related time of the current device;
(2)基于当前设备属性,其包括但不限于:硬件属性(例如:媒体接入控制(Mac)地址等);(2) Based on the current device attributes, including but not limited to: hardware attributes (for example: media access control (Mac) address, etc.);
(3)多种信息组合,例如:时间戳+设备属性;(3) Multiple information combinations, such as: time stamp + device attributes;
(4)在上述(1)-(3)所列举的各项信息的基础上编码或加密。(4) Encoding or encryption based on the information listed in (1)-(3) above.
在一实施方式中,在步骤S62中,通过近场通讯连接方式接收终端转发的消息可以包括以下执行步骤:In an embodiment, in step S62, receiving the message forwarded by the terminal through a near field communication connection may include the following execution steps:
步骤S621,在预设时间间隔的结束时刻达到时,开启近场通讯连接方式;Step S621, when the end time of the preset time interval is reached, the near field communication connection mode is turned on;
步骤S622,通过近场通讯连接方式接收消息,并在确定消息发送完毕后,关闭近场通讯连接方式。In step S622, the message is received through the near field communication connection mode, and after it is determined that the message is sent, the near field communication connection mode is closed.
对于物联网等对功耗很敏感的终端设备,WiFi或蓝牙一直开启会有较高的功耗,因此可以考虑按照预设时间间隔开启WiFi或蓝牙,例如:在每个小时的半点时刻或整点时刻,每次开启几分钟。当检测到需要处理的消息后,待消息处理完毕后即刻关闭WiFi或蓝牙。对于失联终端而言,等到开启时刻达到时,接收到正常终端发送的消息之后,即刻关闭WiFi或蓝牙,如果没有接收到消息,则在较短时间内关闭WiFi或蓝牙。For terminal devices that are sensitive to power consumption, such as the Internet of Things, WiFi or Bluetooth will always have higher power consumption, so you can consider turning on WiFi or Bluetooth at preset time intervals, for example, at half an hour or the entire hour At any time, turn on for a few minutes at a time. When a message to be processed is detected, WiFi or Bluetooth will be turned off immediately after the message is processed. For the disconnected terminal, when the opening time is reached, after receiving the message sent by the normal terminal, the WiFi or Bluetooth is turned off immediately. If no message is received, the WiFi or Bluetooth is turned off in a short time.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is Better implementation. Based on such an understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM / RAM, (Disc, optical disc), including a number of 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 invention.
实施例2Example 2
在本实施例中还提供了一种终端失联的恢复装置,应用于服务器侧。该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或 者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for recovering terminal disconnection is also provided, which is applied to the server side. This device is used to implement the foregoing embodiments and preferred implementation manners, and the descriptions will not be repeated. As used below, the term "module" may implement a combination of software and / or hardware for a predetermined function. Although 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.
图8是根据本发明其中一实施例的终端失联的恢复装置的结构框图,如图8所示,该装置包括:查找模块11,设置为在确定第一终端当前处于失联状态之后,根据第一终端的设备信息查找第二终端,其中,设备信息至少包括:第一终端的地理位置、第一终端的近场通讯连接方式标识;下发模块12,设置为向第二终端下发唤醒消息,以使第二终端唤醒第一终端,其中,唤醒消息至少包括:近场通讯连接方式标识。FIG. 8 is a structural block diagram of a device for recovering from a disconnection of a terminal according to an embodiment of the present invention. As shown in FIG. 8, the device includes a search module 11 configured to determine that the first terminal is currently in a disconnected state according to FIG. 8. The device information of the first terminal searches for the second terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal; and a sending module 12 configured to send a wake-up call to the second terminal Message to cause the second terminal to wake up the first terminal, wherein the wake-up message includes at least: a near field communication connection mode identifier.
在一实施方式中,上述唤醒消息还包括:服务器向第一终端下发的消息,以指示第一终端执行对应的操作。In an embodiment, the wake-up message further includes a message sent by the server to the first terminal to instruct the first terminal to perform a corresponding operation.
在一实施方式中,查找模块11包括:查找单元(图中未示出),设置为根据地理位置查找第一终端所在预设范围的多个终端,其中,多个终端均与服务器保持连接状态;选择单元(图中未示出),设置为从多个终端中选择与第一终端距离最近的第二终端。In an embodiment, the search module 11 includes a search unit (not shown in the figure) configured to search for multiple terminals in a preset range where the first terminal is located according to the geographic location, where the multiple terminals are in a connected state with the server. A selection unit (not shown in the figure) configured to select a second terminal closest to the first terminal from a plurality of terminals.
在一实施方式中,图9是根据本发明其中一可选实施例的终端失联的恢复装置的结构框图,如图9所示,该装置除包括图8所示的所有模块外,还包括:接收模块13,设置为接收第一终端上报的设备信息,其中,设备信息还包括:密码生成元素,密码生成元素用于确定近场通讯连接方式标识的加密密码。In an embodiment, FIG. 9 is a structural block diagram of a device for recovering from a terminal disconnection according to an optional embodiment of the present invention. As shown in FIG. 9, the device includes all modules shown in FIG. 8 and includes The receiving module 13 is configured to receive the device information reported by the first terminal. The device information further includes: a password generating element, and the password generating element is used to determine an encrypted password identified by a near field communication connection mode.
在一实施方式中,第二消息还包括:密码生成元素。In an embodiment, the second message further includes: a password generation element.
在本实施例中还提供了另一种终端失联的恢复装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, another device for recovering the terminal from being disconnected is also provided. The device is used to implement the foregoing embodiments and preferred implementation manners, and the descriptions will not be repeated. As used below, the term "module" may implement a combination of software and / or hardware for a predetermined function. Although 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.
图10是根据本发明其中一实施例的另一种终端失联的恢复装置的结构框图,如图10所示,该装置包括:接收模块21,设置为接收服务器下 发的唤醒消息,其中,唤醒消息至少包括:待转发至终端的近场通讯连接方式标识;解析模块22,设置为从唤醒消息中解析出近场通讯连接方式标识;处理模块23,设置为根据近场通讯连接方式标识匹配到失联终端,以唤醒失联终端。FIG. 10 is a structural block diagram of another terminal disconnection recovery apparatus according to an embodiment of the present invention. As shown in FIG. 10, the apparatus includes: a receiving module 21 configured to receive a wake-up message issued by a server, where: The wake-up message includes at least the identification of the near-field communication connection method to be forwarded to the terminal; the analysis module 22 is configured to parse the near-field communication connection method identifier from the wake-up message; and the processing module 23 is configured to match the identification of the near-field communication connection method To the lost terminal to wake up the lost terminal.
在一实施方式中,上述唤醒消息还包括:待转发至失联终端的消息部分;解析模块22,还设置为从唤醒消息中解析出消息部分;处理模块23,还设置为将消息部分转发至失联终端,以使失联终端执行与消息部分对应的操作。In one embodiment, the wake-up message further includes: a message part to be forwarded to the lost terminal; a parsing module 22 further configured to parse the message part from the wake-up message; a processing module 23 further configured to forward the message part to The lost terminal, so that the lost terminal performs an operation corresponding to the message part.
在一实施方式中,上述消息还包括:密码生成元素,密码生成元素用于确定近场通讯连接方式标识的加密密码,解析模块22包括:确定单元(图中未示出),设置为根据密码生成元素确定加密密码;解析单元(图中未示出),设置为采用加密密码以及预先约定的密码生成策略解析出近场通讯连接方式标识。In an embodiment, the above message further includes a password generation element, which is used to determine an encrypted password identified by the near field communication connection mode. The analysis module 22 includes a determination unit (not shown in the figure), configured to The generating element determines the encrypted password; the analysis unit (not shown in the figure) is set to use the encrypted password and a predetermined password generation strategy to resolve the near field communication connection mode identifier.
在一实施方式中,处理模块23包括:启动单元(图中未示出),设置为在预设时间间隔的结束时刻达到时,开启与近场通讯连接方式标识对应的近场通讯连接方式;处理单元(图中未示出),设置为通过近场通讯连接方式将消息部分转发至终端,并在确定消息部分发送完毕后,关闭近场通讯连接方式。In one embodiment, the processing module 23 includes: a starting unit (not shown in the figure) configured to enable the near field communication connection mode corresponding to the near field communication connection mode identifier when the end time of the preset time interval is reached; The processing unit (not shown in the figure) is configured to forward the message part to the terminal through a near field communication connection method, and after determining that the message part is sent, close the near field communication connection method.
在本实施例中还提供了又一种终端失联的恢复装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。This embodiment further provides another device for recovering the terminal from being disconnected. The device is used to implement the foregoing embodiments and preferred implementation manners, and the descriptions will not be repeated. As used below, the term "module" may implement a combination of software and / or hardware for a predetermined function. Although 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.
图11是根据本发明其中一实施例的又一种终端失联的恢复装置的结构框图,如图11所示,该装置包括:接收模块31,设置为通过近场通讯连接方式接收联网终端转发的唤醒消息,其中,唤醒消息由服务器下发, 近场通讯连接方式由失联终端本地应用上报的近场通讯连接方式标识来确定;执行模块32,设置为响应于唤醒消息,重启本地应用,以尝试与服务器恢复连接。FIG. 11 is a structural block diagram of another device for recovering terminal disconnection according to an embodiment of the present invention. As shown in FIG. 11, the device includes a receiving module 31 configured to receive a forwarded connection from a networked terminal through a near field communication connection. The wake-up message is issued by the server, and the near-field communication connection mode is determined by the near-field communication connection mode reported by the local application of the lost terminal terminal; the execution module 32 is set to restart the local application in response to the wake-up message, To try to restore the connection to the server.
在一实施方式中,执行模块32,还设置为从唤醒消息中解析出消息部分,并执行与消息部分对应的操作。In one embodiment, the execution module 32 is further configured to parse the message part from the wake-up message and perform an operation corresponding to the message part.
在一实施方式中,图12是根据本发明其中一可选实施例的又一种终端失联的恢复装置的结构框图,如图12所示,该装置除包括图11所示的所有模块外,还包括:上报模块33,设置为通过本地应用上报设备信息,其中,设备信息至少包括:地理位置、近场通讯连接方式标识。In an embodiment, FIG. 12 is a structural block diagram of another terminal disconnection recovery device according to an optional embodiment of the present invention. As shown in FIG. 12, the device includes all modules shown in FIG. 11 It also includes a reporting module 33 configured to report device information through a local application, where the device information includes at least: a geographical location and a near field communication connection mode identifier.
在一实施方式中,设备信息还包括:密码生成元素,密码生成元素用于确定近场通讯连接方式标识的加密密码,如图12所示,该装置除包括图11所示的所有模块外,还包括:生成模块34,设置为根据密码生成元素以及预先约定的密码生成策略生成加密密码;加密模块35,设置为采用加密密码对近场通讯连接方式标识进行加密。In an embodiment, the device information further includes: a password generation element, which is used to determine an encrypted password identified by the near field communication connection mode. As shown in FIG. 12, the device includes all modules shown in FIG. 11, It also includes: a generation module 34 configured to generate an encrypted password according to a password generation element and a predetermined password generation strategy; an encryption module 35 configured to use an encrypted password to encrypt the near field communication connection mode identifier.
在一实施方式中,接收模块31包括:启动单元(图中未示出),设置为在预设时间间隔的结束时刻达到时,开启近场通讯连接方式;接收单元(图中未示出),设置为通过近场通讯连接方式接收消息,并在确定消息发送完毕后,关闭近场通讯连接方式。In one embodiment, the receiving module 31 includes: a starting unit (not shown in the figure), configured to enable the near field communication connection mode when the end of the preset time interval is reached; and a receiving unit (not shown in the figure) , Set to receive messages through the near field communication connection, and close the near field communication connection after determining that the message is sent.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that 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.
实施例3Example 3
本发明其中一实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。One embodiment of the present invention further provides a storage medium. The storage medium stores a computer program, and the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
在一实施方式中,在其中一实施例中,上述存储介质可以被设置为存 储用于执行以下步骤的计算机程序:In an implementation manner, in one of the examples, the storage medium may be configured to store a computer program for performing the following steps:
S1,在确定第一终端当前处于失联状态之后,根据第一终端的设备信息查找第二终端,其中,设备信息至少包括:第一终端的地理位置、第一终端的近场通讯连接方式标识;S1. After determining that the first terminal is currently in a disconnected state, search for the second terminal according to the device information of the first terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal. ;
S2,向第二终端下发唤醒消息,以使第二终端唤醒第一终端,其中,唤醒消息至少包括:近场通讯连接方式标识。S2. Send a wake-up message to the second terminal to cause the second terminal to wake up the first terminal, where the wake-up message includes at least: a near field communication connection mode identifier.
在一实施方式中,在其中一实施例中,上述存储介质还可以被设置为存储用于执行以下步骤的计算机程序:In an implementation manner, in one of the embodiments, the storage medium may be further configured to store a computer program for performing the following steps:
S1,接收服务器下发的唤醒消息,其中,唤醒消息至少包括:待转发至失联终端的近场通讯连接方式标识;S1. Receive a wake-up message issued by a server, where the wake-up message includes at least: a near-field communication connection mode identifier to be forwarded to the lost terminal;
S2,从唤醒消息中解析出近场通讯连接方式标识;S2. Parse the near-field communication connection mode identifier from the wake-up message;
S3,根据近场通讯连接方式标识匹配到失联终端,以唤醒失联终端。S3. According to the near field communication connection mode, the terminal is matched to the lost terminal to wake up the lost terminal.
在一实施方式中,在其中一实施例中,上述存储介质还可以被设置为存储用于执行以下步骤的计算机程序:In an implementation manner, in one of the embodiments, the storage medium may be further configured to store a computer program for performing the following steps:
S1,通过近场通讯连接方式接收联网终端转发的唤醒消息,其中,唤醒消息由服务器下发,近场通讯连接方式由失联终端本地应用上报的近场通讯连接方式标识来确定;S1. Receive a wake-up message forwarded by a networked terminal through a near-field communication connection method, wherein the wake-up message is issued by a server, and the near-field communication connection method is determined by a near-field communication connection method identifier reported by a local application of the lost terminal;
S2,响应于唤醒消息,重启本地应用,以尝试与服务器恢复连接。S2. In response to the wake-up message, restart the local application to try to restore the connection with the server.
在一实施方式中,在上述实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an implementation manner, in the foregoing embodiment, the storage medium may include, but is not limited to, a U disk, a read-only memory (ROM), and a random access memory (RAM) ), Mobile hard disks, magnetic disks, or compact discs, which can store computer programs.
实施例4Example 4
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述 任一项方法实施例中的步骤。An embodiment of the present invention further provides an electronic device including a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the foregoing method embodiments.
在一实施方式中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In one embodiment, 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.
在一实施方式中,在其中一实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:In an implementation manner, in one of the embodiments, the processor may be configured to execute the following steps by a computer program:
S1,在确定第一终端当前处于失联状态之后,根据第一终端的设备信息查找第二终端,其中,设备信息至少包括:第一终端的地理位置、第一终端的近场通讯连接方式标识;S1. After determining that the first terminal is currently in a disconnected state, search for the second terminal according to the device information of the first terminal, where the device information includes at least: the geographic location of the first terminal, and a near-field communication connection identifier of the first terminal. ;
S2,向第二终端下发唤醒消息,以使第二终端唤醒第一终端,其中,唤醒消息至少包括:近场通讯连接方式标识。S2. Send a wake-up message to the second terminal to cause the second terminal to wake up the first terminal, where the wake-up message includes at least: a near field communication connection mode identifier.
在一实施方式中,在其中一实施例中,上述处理器还可以被设置为通过计算机程序执行以下步骤:In an implementation manner, in one embodiment, the processor may be further configured to execute the following steps by a computer program:
S1,接收服务器下发的唤醒消息,其中,唤醒消息至少包括:待转发至失联终端的近场通讯连接方式标识;S1. Receive a wake-up message issued by a server, where the wake-up message includes at least: a near-field communication connection mode identifier to be forwarded to the lost terminal;
S2,从唤醒消息中解析出近场通讯连接方式标识;S2. Parse the near-field communication connection mode identifier from the wake-up message;
S3,根据近场通讯连接方式标识匹配到失联终端,以唤醒失联终端。S3. According to the near field communication connection mode, the terminal is matched to the lost terminal to wake up the lost terminal.
在一实施方式中,在其中一实施例中,上述处理器还可以被设置为通过计算机程序执行以下步骤:In an implementation manner, in one embodiment, the processor may be further configured to execute the following steps by a computer program:
S1,通过近场通讯连接方式接收联网终端转发的唤醒消息,其中,唤醒消息由服务器下发,近场通讯连接方式由失联终端本地应用上报的近场通讯连接方式标识来确定;S1. Receive a wake-up message forwarded by a networked terminal through a near-field communication connection method, wherein the wake-up message is issued by a server, and the near-field communication connection method is determined by a near-field communication connection method identifier reported by a local application of the lost terminal;
S2,响应于唤醒消息,重启本地应用,以尝试与服务器恢复连接。S2. In response to the wake-up message, restart the local application to try to restore the connection with the server.
在一实施方式中,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。In an implementation manner, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and this embodiment is not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,在一实施方式中,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, and they can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Above, in an embodiment, they may be implemented with program code executable by a computing device, so that they may be stored in a storage device and executed by the computing device, and in some cases, may be different from here The steps shown or described are performed sequentially, or they are separately made into individual integrated circuit modules, or multiple modules or steps in them are made into a single integrated circuit module to implement. As such, the invention is not limited to any particular combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, or improvement made within the principle of the present invention shall be included in the protection scope of the present invention.
工业实用性Industrial applicability
本发明实施例,由于在第一终端失联之后,服务器如果能够确定服务器下发给第一终端的消息并没有被第一终端接收到,则可以向第二终端下发唤醒消息,以使第二终端唤醒第一终端重新连接服务器,可以解决相关技术中单纯依靠失联终端反复重新尝试连接服务器无法确保失联终端快速恢复的问题,达到失联终端能够执行服务器所指示的操作并能够快速恢复与服务器之间的连接的效果。In the embodiment of the present invention, after the first terminal is disconnected, if the server can determine that the message sent by the server to the first terminal has not been received by the first terminal, the server may send a wake-up message to the second terminal, so that the first terminal The second terminal wakes up the first terminal and reconnects to the server, which can solve the problem in the related technology that simply relying on the reconnected terminal to reconnect to the server can not ensure the rapid recovery of the lost terminal, so that the lost terminal can perform the operation indicated by the server and can recover quickly The effect of the connection to the server.

Claims (20)

  1. 一种终端失联的恢复方法,应用于服务器侧,包括:A method for recovering terminal disconnection, which is applied to the server side and includes:
    在确定第一终端当前处于失联状态之后,根据所述第一终端的设备信息查找第二终端,其中,所述设备信息至少包括:所述第一终端的地理位置、所述第一终端的近场通讯连接方式标识;After determining that the first terminal is currently in a disconnected state, the second terminal is searched according to the device information of the first terminal, where the device information includes at least: the geographic location of the first terminal, the Near field communication connection mode identification;
    向所述第二终端下发唤醒消息,以使所述第二终端唤醒所述第一终端,其中,所述唤醒消息至少包括:所述近场通讯连接方式标识。Sending a wake-up message to the second terminal to cause the second terminal to wake-up the first terminal, wherein the wake-up message includes at least the near-field communication connection mode identifier.
  2. 根据权利要求1所述的方法,其中,根据所述第一终端的设备信息查找所述第二终端包括:The method according to claim 1, wherein finding the second terminal according to the device information of the first terminal comprises:
    根据所述地理位置查找所述第一终端所在预设范围的多个终端,其中,所述多个终端均与服务器保持连接状态;Find a plurality of terminals in a preset range where the first terminal is located according to the geographic location, where the plurality of terminals are in a connected state with the server;
    从所述多个终端中选择待使用的所述第二终端。The second terminal to be used is selected from the plurality of terminals.
  3. 根据权利要求1所述的方法,其中,所述唤醒消息还包括:服务器向所述第一终端下发的消息,以指示所述第一终端执行对应的操作。The method according to claim 1, wherein the wake-up message further comprises: a message sent by the server to the first terminal to instruct the first terminal to perform a corresponding operation.
  4. 根据权利要求1所述的方法,其中,在确定所述第一终端当前处于所述失联状态之前,还包括:The method according to claim 1, wherein before determining that the first terminal is currently in the disconnected state, further comprising:
    接收所述第一终端上报的所述设备信息,其中,所述设备信息还包括:密码生成元素,所述密码生成元素用于确定所述近场通讯连接方式标识的加密密码。Receiving the device information reported by the first terminal, wherein the device information further includes a password generating element, which is used to determine an encrypted password identified by the near field communication connection mode.
  5. 根据权利要求4所述的方法,其中,所述唤醒消息还包括:所述密码生成元素。The method according to claim 4, wherein the wake-up message further comprises: the password generation element.
  6. 一种终端失联的恢复方法,包括:A method for recovering terminal disconnection includes:
    接收服务器下发的唤醒消息,其中,所述唤醒消息至少包括:待转发至失联终端的近场通讯连接方式标识;Receiving a wake-up message issued by a server, where the wake-up message includes at least: a near-field communication connection mode identifier to be forwarded to the lost terminal;
    从所述唤醒消息中解析出所述近场通讯连接方式标识;Parsing the near field communication connection mode identifier from the wake-up message;
    根据所述近场通讯连接方式标识匹配到所述失联终端,以唤醒所述失联终端。According to the identification of the near field communication connection mode, the lost terminal is matched to wake up the lost terminal.
  7. 根据权利要求6所述的方法,其中,所述唤醒消息还包括:待转发至所述失联终端的消息部分,所述方法还包括:The method according to claim 6, wherein the wakeup message further comprises: a message part to be forwarded to the lost terminal, and the method further comprises:
    从所述唤醒消息中解析出所述消息部分;Parse out the message part from the wake-up message;
    将所述消息部分转发至所述失联终端,以使所述失联终端执行与所述消息部分对应的操作。Forwarding the message part to the lost contact terminal, so that the lost contact terminal performs an operation corresponding to the message part.
  8. 根据权利要求6所述的方法,其中,所述消息还包括:密码生成元素,所述密码生成元素用于确定所述近场通讯连接方式标识的加密密码,从所述消息中解析出所述近场通讯连接方式标识包括:The method according to claim 6, wherein the message further comprises: a password generating element, the password generating element is used to determine an encrypted password identified by the near field communication connection mode, and the message is parsed from the message The near field communication connection identification includes:
    根据所述密码生成元素确定所述加密密码;Determining the encrypted password according to the password generating element;
    采用所述加密密码以及预先约定的密码生成策略解析出所述近场通讯连接方式标识。The encryption password and a predetermined password generation strategy are used to resolve the near field communication connection mode identifier.
  9. 根据权利要求6所述的方法,其中,将所述消息部分转发至所述终端包括:The method according to claim 6, wherein forwarding the message part to the terminal comprises:
    在预设时间间隔的结束时刻达到时,开启与所述近场通讯连接方式标识对应的近场通讯连接方式;When the end time of the preset time interval is reached, opening a near field communication connection mode corresponding to the near field communication connection mode identifier;
    通过所述近场通讯连接方式将所述消息部分转发至所述终端,并在确定所述消息部分发送完毕后,关闭所述近场通讯连接方式。The message part is forwarded to the terminal through the near field communication connection method, and after it is determined that the message part is sent, the near field communication connection method is closed.
  10. 一种终端失联的恢复方法,包括:A method for recovering terminal disconnection includes:
    通过近场通讯连接方式接收联网终端转发的唤醒消息,其中,所述唤醒消息由服务器下发,所述近场通讯连接方式由失联终端本地应用上报的近场通讯连接方式标识来确定;Receiving a wake-up message forwarded by a networked terminal through a near-field communication connection method, wherein the wake-up message is issued by a server, and the near-field communication connection method is determined by a near-field communication connection method identifier reported by a local application of the lost terminal;
    响应于所述唤醒消息,重启所述本地应用,以尝试与所述服务器恢复连接。Responsive to the wake-up message, restart the local application to attempt to resume connection with the server.
  11. 根据权利要求10所述的方法,其中,在重启所述本地应用之前,还包括:The method according to claim 10, wherein before restarting the local application, further comprising:
    从所述唤醒消息中解析出消息部分;Parsing a message part from the wake-up message;
    执行与所述消息部分对应的操作。Performing an operation corresponding to the message part.
  12. 根据权利要求10所述的方法,其中,在通过所述近场通讯连接方式接收所述终端转发的所述消息之前,还包括:The method according to claim 10, wherein before receiving the message forwarded by the terminal through the near field communication connection method, further comprising:
    通过所述本地应用上报设备信息,其中,所述设备信息至少包括:地理位置、所述近场通讯连接方式标识。The device information is reported through the local application, where the device information includes at least: a geographic location and an identification of the near field communication connection mode.
  13. 根据权利要求12所述的方法,其中,所述设备信息还包括:密码生成元素,所述密码生成元素用于确定所述近场通讯连接方式标识的加密密码,在通过所述近场通讯连接方式接收所述终端转发的所述消息之前,还包括:The method according to claim 12, wherein the device information further comprises: a password generating element, the password generating element is used to determine an encrypted password identified by the near field communication connection mode, and is connected through the near field communication Before receiving the message forwarded by the terminal, the method further includes:
    根据所述密码生成元素以及预先约定的密码生成策略生成加密密码;Generating an encrypted password according to the password generation element and a predetermined password generation policy;
    采用所述加密密码对所述近场通讯连接方式标识进行加密。And encrypting the near field communication connection mode identifier by using the encryption password.
  14. 根据权利要求10所述的方法,其中,通过所述近场通讯连 接方式接收所述终端转发的所述消息包括:The method according to claim 10, wherein receiving the message forwarded by the terminal through the near field communication connection mode comprises:
    在预设时间间隔的结束时刻达到时,开启所述近场通讯连接方式;When the end time of the preset time interval is reached, enabling the near field communication connection mode;
    通过所述近场通讯连接方式接收所述消息,并在确定所述消息发送完毕后,关闭所述近场通讯连接方式。Receiving the message through the near field communication connection method, and after determining that the message is sent, closing the near field communication connection method.
  15. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至5任一项中所述的方法。A storage medium stores a computer program therein, wherein the computer program is configured to execute the method described in any one of claims 1 to 5 when running.
  16. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求6至9任一项中所述的方法。A storage medium stores a computer program in the storage medium, wherein the computer program is configured to execute the method described in any one of claims 6 to 9 when running.
  17. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求10至14任一项中所述的方法。A storage medium having a computer program stored therein, wherein the computer program is configured to execute the method according to any one of claims 10 to 14 when run.
  18. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至5任一项中所述的方法。An electronic device includes a memory and a processor, and a computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.
  19. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求6至9任一项中所述的方法。An electronic device includes a memory and a processor, and a computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 6 to 9.
  20. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求10至14任一项中所述的方法。An electronic device includes a memory and a processor, and a computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 10 to 14.
PCT/CN2019/102053 2018-08-31 2019-08-22 Terminal connection restoration method and apparatus WO2020043006A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811015514.9A CN110876117A (en) 2018-08-31 2018-08-31 Method and device for recovering lost connection of terminal
CN201811015514.9 2018-08-31

Publications (1)

Publication Number Publication Date
WO2020043006A1 true WO2020043006A1 (en) 2020-03-05

Family

ID=69643905

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/102053 WO2020043006A1 (en) 2018-08-31 2019-08-22 Terminal connection restoration method and apparatus

Country Status (2)

Country Link
CN (1) CN110876117A (en)
WO (1) WO2020043006A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112601270A (en) * 2020-11-19 2021-04-02 广东沃科融合通讯有限公司 Terminal wake-up control method and device, electronic equipment and storage medium
CN112615733B (en) * 2020-12-08 2023-04-18 广东沃科融合通讯有限公司 Terminal fault judgment method and device, electronic equipment and storage medium
CN113194353A (en) * 2021-04-29 2021-07-30 广州朗国电子科技有限公司 Wireless screen projection method, device, medium and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150133049A1 (en) * 2012-05-10 2015-05-14 Lg Electronics Inc. Method and apparatus for downloading content using nfc
CN104808522A (en) * 2015-03-02 2015-07-29 小米科技有限责任公司 State switching method and device
CN105357283A (en) * 2015-10-20 2016-02-24 北京奇虎科技有限公司 Long connection establishing method for intelligent wearable device, server and terminal
CN106200902A (en) * 2016-06-27 2016-12-07 努比亚技术有限公司 A kind of terminal control method and terminal
CN106817671A (en) * 2017-02-14 2017-06-09 腾讯科技(深圳)有限公司 A kind of networked information sharing method, first terminal and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8842648B2 (en) * 2011-08-12 2014-09-23 International Business Machines Corporation Apparatus, method and program product for seamless WiFi network transitions
CN103049850A (en) * 2013-01-05 2013-04-17 深圳市中兴移动通信有限公司 Mobile payment terminal, system and payment method thereof based on NFC (Near Field Communication)
CN104009980B (en) * 2014-05-13 2015-07-22 腾讯科技(深圳)有限公司 Communication method and device based on social application
CN104270244B (en) * 2014-09-12 2017-11-14 广东安居宝数码科技股份有限公司 NFC communication encryption method and system
CN105050046A (en) * 2015-07-23 2015-11-11 小米科技有限责任公司 Disconnection processing method and system for anti-lost device, and equipment
US9578157B1 (en) * 2015-12-29 2017-02-21 The Directv Group, Inc. Method and system for resuming content playback after content playback at an in-vehicle infotainment system
CN106231567B (en) * 2016-07-29 2020-10-16 宇龙计算机通信科技(深圳)有限公司 Communication method and communication management device
CN106792127A (en) * 2016-12-19 2017-05-31 深圳Tcl数字技术有限公司 Network wake-up method and device, wake-up terminal and television set
CN108307362B (en) * 2017-07-19 2021-01-08 深圳天珑无线科技有限公司 Terminal, standby method thereof, server and device with storage function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150133049A1 (en) * 2012-05-10 2015-05-14 Lg Electronics Inc. Method and apparatus for downloading content using nfc
CN104808522A (en) * 2015-03-02 2015-07-29 小米科技有限责任公司 State switching method and device
CN105357283A (en) * 2015-10-20 2016-02-24 北京奇虎科技有限公司 Long connection establishing method for intelligent wearable device, server and terminal
CN106200902A (en) * 2016-06-27 2016-12-07 努比亚技术有限公司 A kind of terminal control method and terminal
CN106817671A (en) * 2017-02-14 2017-06-09 腾讯科技(深圳)有限公司 A kind of networked information sharing method, first terminal and system

Also Published As

Publication number Publication date
CN110876117A (en) 2020-03-10

Similar Documents

Publication Publication Date Title
US10523432B2 (en) Power management and security for wireless modules in “machine-to-machine” communications
WO2020043006A1 (en) Terminal connection restoration method and apparatus
US10230807B2 (en) Method and apparatus for energy-optimized data transmission using the OPC UA protocol in radio networks
CN111190747A (en) Message loss detection method and device for message queue
CN105916100B (en) Method, device and communication system for acting heartbeat packet
TW201943311A (en) Method, device for controlling RRC state and computer storage medium thereof
WO2020043209A1 (en) Disconnected network state reporting method and apparatus, and storage medium
US11983522B2 (en) Edge-based intelligence for over the air update
JP2017521908A (en) Profile management method and server
CN112423322B (en) Model information sending method, device, storage medium and electronic device
WO2018141172A1 (en) Method for controlling web browsing on terminal and for web browsing on terminal, router device, and terminal
US20210160344A1 (en) Communication between client device and server
US20170116094A1 (en) Fault handling methods in a home service system, and associated household appliances and servers
CN114258053A (en) Wireless device and method for automatic recovery from failure
US20080268880A1 (en) System and method for remote operation of a node
JP3944491B2 (en) Context synchronization method for mobile communication system
KR102252562B1 (en) Service subscription method and device
WO2024046049A1 (en) Communication method and apparatus, storage medium and terminal device
US20180184291A1 (en) Terminal Communication Method, Device, Control Terminal, and Controlled Terminal
US9646180B2 (en) Device monitoring using multiple servers optimized for different types of communications
US11812487B2 (en) Method, device, extender, and computer medium for automatically restoring connection
CN114143904B (en) CPE management method based on 5G fusion network shunt
CN113259468B (en) Network equipment configuration method and device
US20210357233A1 (en) Method for computing device maintenance, apparatus, storage medium and program product
KR102624642B1 (en) Methods for updating a lifetime in M2M system and Apparatuses thereof

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: 19854560

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: 19854560

Country of ref document: EP

Kind code of ref document: A1