WO2018232959A1 - 一种借助相邻节点控制终端设备升级的方法及转发节点 - Google Patents

一种借助相邻节点控制终端设备升级的方法及转发节点 Download PDF

Info

Publication number
WO2018232959A1
WO2018232959A1 PCT/CN2017/098495 CN2017098495W WO2018232959A1 WO 2018232959 A1 WO2018232959 A1 WO 2018232959A1 CN 2017098495 W CN2017098495 W CN 2017098495W WO 2018232959 A1 WO2018232959 A1 WO 2018232959A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
target terminal
forwarding node
operating system
unit
Prior art date
Application number
PCT/CN2017/098495
Other languages
English (en)
French (fr)
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 WO2018232959A1 publication Critical patent/WO2018232959A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a method for controlling terminal device upgrade by using adjacent nodes and a forwarding node.
  • the aggregation unit can be used to act as a human-machine interface for the Internet of Things, and the aggregation unit can collect a large number of terminal devices (such as hygrometers, smoke detectors, ventilation devices, rain sensors, irrigation valves, etc.) The reported IoT data is analyzed and decided, so that people can provide relevant reports such as warnings and anomalies.
  • terminal devices such as hygrometers, smoke detectors, ventilation devices, rain sensors, irrigation valves, etc.
  • terminal devices in the Internet of Things are terminal devices supporting traditional IP protocols (such as IPv6), while terminal devices supporting the traditional IP protocol usually have a processor, an operating system, a memory, and receive, transmit, and input. , output and other functions.
  • IPv6 IP version 6
  • IPv6 IP version 6
  • an operating system of a terminal device supporting a legacy IP protocol such as IPv6
  • the embodiment of the invention discloses a method for controlling terminal device upgrade by using adjacent nodes and a forwarding node, which can implement automatic upgrade of the operating system of the mass terminal device by using adjacent nodes, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • the first aspect of the embodiments of the present invention discloses a method for controlling terminal device upgrade by using a neighboring node, including:
  • the forwarding node listens to a broadcast message sent by its neighboring node, where the broadcast message includes a type of a new terminal device that accesses the neighboring node and an operating system version number of the new terminal device;
  • the forwarding node discriminates whether there is a target terminal device in its wireless coverage, the type of the target terminal device is consistent with the type of the new terminal device, and the operating system version number of the target terminal device is lower than the new terminal The operating system version number of the device;
  • the forwarding node discriminates whether the forwarding node belongs to a forwarding node that is interested in the aggregation unit, and if yes, the forwarding node reports a system upgrade package acquisition request to the aggregation unit through the filtering gateway.
  • the request includes an operating system version number of the new terminal device
  • the forwarding node discriminates that a target terminal device exists after its own wireless coverage, and the forwarding node discriminates whether the forwarding node belongs to the Before the forwarding node that is interested in the aggregation unit, the method further includes:
  • the forwarding node reads a first filtering table that is sent by the aggregation unit by using the filtering gateway, where the first filtering table includes a terminal device type that is interested in the aggregation unit;
  • the forwarding node discriminates whether the type of the target terminal device belongs to a terminal device type that is interested in the aggregation unit, and if so, performs the discriminating whether the forwarding node belongs to a forwarding node that is interested in the aggregation unit.
  • the forwarding node discriminates that the type of the target terminal device belongs to a terminal device type that is interested in the convergence unit, and the forwarding node Before the discriminating whether the forwarding node belongs to the forwarding node that is interested in the aggregation unit, the method further includes:
  • the forwarding node reads a second filtering table that is sent by the aggregation unit by using the filtering gateway, where the second filtering table includes a location of interest of the convergence unit;
  • the forwarding node acquires a location of the terminal device of the target terminal device
  • the forwarding node determines whether the location of the terminal device of the target terminal device matches the location of interest of the aggregation unit, and if so, performs the discriminating whether the forwarding node belongs to a forwarding node that is interested in the aggregation unit.
  • the forwarding node acquires the location of the terminal device of the target terminal device, including:
  • the handheld terminal of the administrator may detect whether the first action event occurs in the handheld terminal of the management personnel, if the first action of the handheld terminal of the management personnel occurs. And detecting, by the manager, the manager wearable device bound to the terminal, whether a second action event occurs, and if the manager wears the device to generate a second action event, determining the first action event and the second action event Whether the action directions included are the same, and if the action directions are the same, determining whether the action start time included in the first action event and the second action event are both within a preset duration, and the first action event and the Whether the duration of the action included in the second action event is within the preset duration, such as The action start time included in the first action event and the second action event are both within a preset duration, and the action durations included in the first action event and the second action event are all located in the Determining, by the preset duration, whether the difference between the first action event and the action start time included in the second action event is
  • the forwarding node acquires an operating system corresponding to an operating system version number of the new terminal device delivered by the aggregation unit by using the filtering gateway.
  • Upgrade package including:
  • the forwarding node receives a data packet that is sent by the aggregation unit by using the filtering gateway, where the data packet includes an operating system upgrade package corresponding to an operating system version number of the new terminal device, and the data packet further includes a terminal device upgrade permission period in which the terminal device type of interest of the convergence unit and the location of interest of the aggregation unit match at the same time;
  • the forwarding node reads, from the data packet, an operating system upgrade package corresponding to an operating system version number of the new terminal device;
  • the forwarding node reads the terminal device upgrade permission period from the data packet, and determines whether the current system time of the forwarding node is located in the terminal device upgrade permission period, if the current system time of the forwarding node
  • the operating system upgrade package is sent to the target terminal device during the terminal device upgrade permission period.
  • a second aspect of the embodiment of the present invention discloses a forwarding node, including:
  • a listening unit configured to listen to a broadcast message sent by a neighboring node of the forwarding node, where the broadcast message includes a type of a new terminal device that accesses the neighboring node and an operating system version number of the new terminal device;
  • a first discriminating unit configured to identify whether a target terminal device exists in a wireless coverage area of the forwarding node, the type of the target terminal device is consistent with a type of the new terminal device, and an operating system version of the target terminal device No. lower than the operating system version number of the new terminal device;
  • a second discriminating unit configured to: when the first discriminating unit discriminates that the target terminal device exists, discriminate whether the forwarding node belongs to a forwarding node that is interested in the convergent unit;
  • An uplink communication unit configured to report, by the filtering gateway, a system upgrade package acquisition request to the aggregation unit, where the second identification unit identifies that the forwarding node belongs to a forwarding node that is interested in the aggregation unit, where the request includes the The operating system version number of the new terminal device;
  • a data packet obtaining unit configured to acquire an operating system upgrade package corresponding to an operating system version number of the new terminal device delivered by the aggregation unit by using the filtering gateway;
  • a downlink communication unit configured to send the operating system upgrade package to the target terminal device, so that the target terminal device automatically performs an operating system upgrade according to the operating system upgrade package.
  • the forwarding node further includes:
  • a reading unit configured to read, after the first discriminating unit discriminates that the target terminal device exists, a first filtering table that is sent by the aggregation unit by using the filtering gateway, where the first filtering table includes Describe the type of terminal device that the aggregation unit is interested in;
  • a third discriminating unit configured to identify whether the type of the target terminal device belongs to a terminal device type that is interested in the aggregation unit
  • the second discriminating unit is specifically configured to: when the first discriminating unit discriminates that the target terminal device exists, and the third discriminating unit discriminates that the type of the target terminal device belongs to the convergent unit When the terminal device type is used, it is discriminated whether the forwarding node belongs to a forwarding node that is interested in the aggregation unit.
  • the reading unit is further configured to: after the third discriminating unit discriminates that the type of the target terminal device belongs to a terminal device type that is interested in the aggregation unit, reading the aggregation unit to pass the filtering gateway a second filter table, the second filter table including a location of interest of the convergence unit;
  • the forwarding node further includes:
  • a location obtaining unit configured to acquire a terminal device location of the target terminal device
  • a determining unit configured to determine whether a location of the terminal device of the target terminal device matches a location of interest of the convergence unit
  • the second discriminating unit is specifically configured to: when the first discriminating unit discriminates that the target terminal device exists, and the third discriminating unit discriminates that the type of the target terminal device belongs to the convergent unit When the terminal device type is determined, and the judging unit judges that the location of the terminal device of the target terminal device matches the location of interest of the convergence unit, it is discriminated whether the forwarding node belongs to a forwarding node of interest to the aggregation unit.
  • the location acquiring unit includes:
  • a first subunit configured to broadcast, in a wireless coverage of the forwarding node, a location acquisition request including an identifier of the target terminal device, to trigger the target terminal device to identify the target from the location acquisition request
  • the target terminal device initiates a request message to the management terminal handheld terminal associated with the target terminal device, where the request message is used to request the target terminal device to report the target terminal device to the forwarding node.
  • the target terminal device And obtaining, by the target terminal device, location information sent by the positioning server corresponding to the at least one positioning interface, and acquiring a response time from the first time to the second time, where the first time is each of the positioning interfaces a time at which the positioning request is sent, the second time is a time at which each of the positioning interfaces receives the location information; and the target terminal device compares a response time corresponding to each positioning interface with a response threshold And extracting location information with the highest positioning accuracy from the location information received by the positioning interface whose response time does not exceed the response threshold as the terminal device location of the target terminal device;
  • a second subunit configured to receive a terminal device location of the target terminal device that is sent by the target terminal device
  • the handheld terminal of the administrator may detect whether the first action event occurs in the handheld terminal of the management personnel, if the first action of the handheld terminal of the management personnel occurs. And detecting, by the manager, the manager wearable device bound to the terminal, whether a second action event occurs, and if the manager wears the device to generate a second action event, determining the first action event and the second action event Whether the action directions included are the same, and if the action directions are the same, determining whether the action start time included in the first action event and the second action event are both within a preset duration, and the first action event and the Whether the duration of the action included in the second action event is within the preset duration, if the start time of the action included in the first action event and the second action event is within a preset duration, and the first An action event and the second action event include an action duration that is within the preset duration.
  • the second action event includes a difference in duration of the action that is less than a second preset threshold, and the manager handheld terminal returns to the target terminal device to indicate that the target terminal device is allowed to report the target terminal to the forwarding node. A response message to the device's terminal location.
  • the data packet acquiring unit is configured to receive a data packet that is sent by the aggregation unit by using the filtering gateway, where the data packet includes An operating system upgrade package corresponding to an operating system version number of the new terminal device, and the data packet further includes a terminal device upgrade that simultaneously matches a terminal device type that is interested in the aggregation unit and a location that is interested in the aggregation unit a license period; and reading, from the data packet, an operating system upgrade package corresponding to an operating system version number of the new terminal device;
  • the downlink communication unit is configured to: read the terminal device upgrade permission period from the data packet, and determine whether the current system time of the forwarding node is located in the terminal device upgrade permission period, if the forwarding The current system time of the node is located in the terminal device upgrade permission period, and the operating system upgrade package is sent to the target terminal device.
  • the embodiment of the invention has the following beneficial effects:
  • the forwarding node when the forwarding node listens to the type of the new terminal device broadcasted by the neighboring node and the operating system version number of the new terminal device, it can identify whether the target terminal device exists in the wireless coverage area, and the target terminal device The type is the same as the new terminal device type, and the operating system version number of the target terminal device is lower than the operating system version number of the new terminal device. If the target terminal device exists, the forwarding node reports the operation including the new terminal device to the aggregation unit through the filtering gateway.
  • the system upgrade package of the system version obtains the request, and sends the operating system upgrade package corresponding to the operating system version number of the new terminal device delivered by the filtering gateway to the target terminal device for the operating system upgrade. It can be seen that, by implementing the embodiments of the present invention, the operating system of the mass terminal device connected to the Internet of Things can be automatically upgraded by using adjacent nodes, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • FIG. 1 is a schematic diagram of a networking architecture of an Internet of Things according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for automatically upgrading a terminal device based on a forwarding node according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for automatically upgrading a terminal device based on a forwarding node according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a forwarding node according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another forwarding node according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another forwarding node according to an embodiment of the present invention.
  • the embodiment of the invention discloses a method for controlling terminal device upgrade by using adjacent nodes and a forwarding node, which can implement automatic upgrade of the operating system of the mass terminal device by using adjacent nodes, thereby improving the upgrade efficiency of the operating system of the mass terminal device. The details are described below separately.
  • FIG. 1 is a schematic diagram of a networking architecture of an Internet of Things according to an embodiment of the present invention.
  • the networking structure of the Internet of Things may include three layers: a terminal device layer, a forwarding node layer, and an aggregation layer according to functions.
  • the terminal device layer may include a mass-scale terminal device, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, and the like;
  • the forwarding node layer may include a plurality of forwarding nodes, and the plurality of forwarding nodes may be Interconnected through the network ( Figure 1 is represented by a grid).
  • the forwarding node may include various intermediate devices, such as a router, a relay, and an access point, which are not limited by the embodiment of the present invention; the forwarding node may use any standard networking protocol, and the forwarding node may be different.
  • the data layer is implemented between the network standards; the aggregation layer may include a filtering gateway and a convergence unit, wherein the filtering gateway may directly or indirectly communicate with each forwarding node of the forwarding node layer through the Internet; the aggregation unit may filter the gateway to the forwarding node layer.
  • Each forwarding node performs high-level management to control data transmission frequency, network topology, and other networking functions.
  • the aggregation unit can not only analyze and make decisions about the Internet of Things data generated by massive terminal devices, but also obtain information by issuing commands or Configure terminal device parameters (the data is transmitted to the terminal device at this time); the aggregation unit can also introduce various services, from big data to social networks, and even from social tools "likes" to weather sharing.
  • each forwarding node can provide IoT data receiving and receiving services for a large number of terminal devices within its own wireless coverage, wherein each forwarding node has its own wireless coverage area.
  • a terminal device can have a built-in wireless communication module, which allows each forwarding node to Wireless communication is performed by wireless network communication with each terminal device within its own wireless coverage.
  • the wireless communication module built into the terminal device can input the upper frequency point 470MHz and the lower frequency point 510MHz during production, so that the wireless communication module can automatically define the communication frequency band as 470MHz ⁇ 510MHz, in line with the Chinese SRRC standard; or, you can input the upper frequency point 868MHz, the lower frequency point is 908MHz, so the wireless communication module can automatically define the communication frequency band as 868MHz ⁇ 908MHz, in order to comply with the European ETSI standard; or The upper frequency point can be input to 918MHz and the lower frequency point is 928MHz, so that the wireless communication module can automatically define the communication frequency band as 918MHz to 928MHz to meet the requirements of the US FCC standard; or, the communication frequency band of the wireless communication module can also be defined as conforming to Japanese ARIB.
  • the terminal device can adopt Frequency Division Multiple Access (FDMA), Frequency-Hopping Spread Spectrum (FHSS), and Dynamic Time Division Multiplexing (Dynamic Time).
  • FDMA Frequency Division Multiple Access
  • FHSS Frequency-Hopping Spread Spectrum
  • Dynamic Time Dynamic Time Division Multiplexing
  • DTDMA Division Multiple Access
  • CSMA Backoff Multiplexing
  • FIG. 2 is a schematic flowchart of a method for controlling terminal device upgrade by using adjacent nodes according to an embodiment of the present invention. As shown in FIG. 2, the method for controlling terminal device upgrade by using adjacent nodes may include the following steps:
  • the forwarding node listens to a broadcast message sent by its neighboring node, where the broadcast message includes a type of a new terminal device that accesses the neighboring node and an operating system version number of the new terminal device.
  • the type of the new terminal device may be used to identify the category and model of the new terminal device; the operating system version number of the new terminal device is used to identify the operating system version of the new terminal device.
  • the forwarding node discriminates whether the target terminal device exists in the wireless coverage area, where the type of the target terminal device is the same as the type of the new terminal device, and the operating system version number of the target terminal device is lower than the operating system of the new terminal device.
  • the version number if it exists, step 203 is performed; if it does not exist, the process ends.
  • the level of the operating system version of the target terminal device is lower than the level of the operating system version of the new terminal device.
  • the forwarding node discriminates whether it belongs to a forwarding node that is interested in the aggregation unit. If yes, step 204 is performed; if not, the process ends.
  • the forwarding node may encapsulate its identifier and its location information into data elements and report the information to the aggregation unit through the filtering gateway, and the aggregation unit may parse the data element after receiving the data element. And identifying whether the identifier of the forwarding node belongs to the forwarding node identifier of the aggregation unit, and if so, the aggregation unit further discriminates whether the location information of the forwarding node belongs to the forwarding node location information of interest to the aggregation unit, and if it belongs to, the aggregation unit can filter the gateway.
  • the forwarding node may identify the forwarding node that belongs to the aggregation unit according to the indication information, and perform step 204.
  • the implementation of the foregoing method accurately identifies whether the forwarding node belongs to the forwarding node that is interested in the aggregation unit, and can avoid that the forwarding node that is not interested in the aggregation unit also reports the system upgrade packet acquisition request to the aggregation unit through the filtering gateway to aggravate the aggregation unit. work load.
  • the forwarding node reports the system upgrade package acquisition request to the aggregation unit by using the filtering gateway, where the system upgrade package obtaining request includes an operating system version number of the new terminal device.
  • the manner in which the forwarding node reports the system upgrade package to the aggregation unit through the filtering gateway may be:
  • the forwarding node may detect whether the forwarding node is configured with an open time period; wherein, in the open time period, the forwarding node is allowed to report the system upgrade package acquisition request to the aggregation unit through the filtering gateway;
  • the forwarding node detects that the forwarding node is configured with an open time period, and determines whether the current system time of the forwarding node is located in the open time period, if the current system time of the forwarding node is in the open time period, the forwarding node aggregates through the filtering gateway.
  • the unit reports a system upgrade package acquisition request including the operating system version number of the above new terminal device.
  • the implementation of the foregoing manner can prevent the forwarding node from frequently reporting the system upgrade package acquisition request to the aggregation unit through the filtering gateway, thereby increasing the workload of the aggregation unit.
  • the forwarding node obtains an operating system upgrade package corresponding to an operating system version number of the new terminal device delivered by the aggregation unit by filtering the gateway.
  • the forwarding node sends the obtained operating system upgrade package to the target terminal device, so that the target terminal device automatically performs an operating system upgrade according to the operating system upgrade package.
  • the forwarding node listens to the type of the new terminal device broadcasted by its neighboring node and the operating system version number of the new terminal device, it can discern whether the target terminal device exists in the wireless coverage area, and the target The type of the terminal device is the same as the type of the new terminal device, and the operating system version number of the target terminal device is lower than the operating system version number of the new terminal device. If the target terminal device exists, the forwarding node reports the new terminal to the aggregation unit through the filtering gateway.
  • the system upgrade package of the operating system version of the device obtains the request, and sends the operating system upgrade package corresponding to the operating system version number of the new terminal device delivered by the filtering gateway to the target terminal device for operating system upgrade. It can be seen that, by implementing the method described in FIG. 2, the operating system of the mass terminal device connected to the Internet of Things can be automatically upgraded by using adjacent nodes, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • FIG. 3 is a schematic flowchart diagram of another method for automatically upgrading a terminal device based on a forwarding node according to an embodiment of the present invention.
  • the method for automatically upgrading a terminal device based on a forwarding node may include the following steps:
  • the forwarding node listens to a broadcast message sent by its neighboring node, where the broadcast message includes a type of a new terminal device that accesses the neighboring node and an operating system version number of the new terminal device.
  • the forwarding node discriminates whether the target terminal device exists in the wireless coverage area, where the type of the target terminal device is the same as the type of the new terminal device, and the operating system version number of the target terminal device is lower than the operating system of the new terminal device. Version number; if there is a target terminal device, perform steps 303 to 304; if the target terminal device does not exist, the process ends.
  • the forwarding node reads the first filtering table delivered by the aggregation unit by filtering the gateway, where the first filtering table is Includes the type of terminal device that the aggregation unit is interested in.
  • the forwarding node determines whether the type of the target terminal device belongs to the terminal device type that is interested in the aggregation unit. If yes, step 305 to step 307 are performed; if not, the process ends.
  • the forwarding node reads the second filtering table delivered by the aggregation unit by filtering the gateway, where the second filtering table includes a location of interest of the aggregation unit.
  • the forwarding node acquires a location of the terminal device of the target terminal device.
  • the manner in which the forwarding node acquires the location of the terminal device of the target terminal device may be:
  • the forwarding node broadcasts a location acquisition request including the identifier of the target terminal device in its wireless coverage to trigger the management of the association of the target terminal device to the target terminal device after the target terminal device identifies the identifier of the target terminal device from the location acquisition request
  • the person handheld terminal initiates a request message for requesting the target terminal device to report the location of the terminal device of the target terminal device to the forwarding node; and receiving, at the target terminal device, the returned by the management terminal handheld terminal to indicate that the target terminal device is allowed
  • the target terminal device acquires at least two different positioning interfaces configured by the target terminal device (such as Baidu's nlpservice positioning interface, Gaode's nlpservice positioning interface, Google's Nlpservice locates an interface, etc., and the target terminal device sends a positioning request to the at least two different positioning interfaces, so that each positioning interface separately sends the received positioning request to the corresponding positioning server;
  • the terminal acquires at least two different positioning interfaces configured by the target terminal device (
  • the first time is a time for sending a positioning request for each positioning interface
  • the second time is each positioning.
  • the time at which the interface receives the location information; and the target terminal device compares the response time corresponding to each positioning interface with the response threshold, and extracts the positioning accuracy from the location information received by the positioning interface whose response time does not exceed the response threshold.
  • the highest location information is used as the terminal device location of the target terminal device; and the forwarding node receives the terminal device location of the target terminal device transmitted by the target terminal device.
  • the manager handheld terminal can detect whether the first action event occurs in the handheld terminal of the management personnel. If the first action event occurs on the handheld terminal of the management personnel, the management terminal can further detect and manage the handheld terminal. Whether the manager wearing the terminal binding terminal wears a second action event, and if the manager wears the device to generate a second action event, it can be determined whether the action direction (such as the action direction) included in the first action event and the second action event is Similarly, if the action directions are the same, it may be further determined whether the start time of the action included in the first action event and the second action event is within a preset duration, and whether the duration of the action included in the first action event and the second action event are both Within a preset duration, if the first action event and the second action event include an action start time within a preset duration, and the first action event and the second action event include an action duration that is within a preset duration Can judge the first action event and Whether the difference between the start time of the action included
  • the manager can hold the terminal.
  • a response message indicating that the target terminal device is allowed to report the location of the terminal device of the target terminal device to the forwarding node is returned to the target terminal device.
  • the implementation of the implementation manner can accurately control the target terminal device to report the location of the terminal device of the target terminal device to the forwarding node, and prevent the target terminal device from reporting the location of the terminal device of the target terminal device to the forwarding node.
  • the forwarding node determines whether the location of the terminal device of the target terminal device matches the location of interest of the aggregation unit. If they match, step 308 is performed; if not, the process ends.
  • the forwarding node determines that the location of the terminal device of the target terminal device matches the location of interest of the convergence unit, including: the location of the terminal device of the target terminal device overlaps with the location of interest of the aggregation unit, or the terminal device of the target terminal device.
  • the location is included in the location of interest to the aggregation unit, or the distance between the location of the terminal device of the target terminal device and the location of interest of the aggregation unit is less than a specified threshold.
  • the forwarding node discriminates whether it belongs to the forwarding node that is interested in the aggregation unit. If yes, perform steps 309 to 311; if not, end the process.
  • the forwarding node reports the system upgrade package acquisition request to the aggregation unit by using the filtering gateway, where the system upgrade package obtaining request includes an operating system version number of the new terminal device.
  • the manner in which the forwarding node reports the system upgrade package to the aggregation unit through the filtering gateway may be:
  • the forwarding node may detect whether the forwarding node is configured with an open time period; wherein, in the open time period, the forwarding node is allowed to report the system upgrade package acquisition request to the aggregation unit through the filtering gateway;
  • the forwarding node detects that the forwarding node is configured with an open time period, and determines whether the current system time of the forwarding node is located in the open time period, if the current system time of the forwarding node is in the open time period, the forwarding node aggregates through the filtering gateway.
  • the unit reports a system upgrade package acquisition request including the operating system version number of the above new terminal device.
  • the implementation of the foregoing manner can prevent the forwarding node from frequently reporting the system upgrade package acquisition request to the aggregation unit through the filtering gateway, thereby increasing the workload of the aggregation unit.
  • the forwarding node obtains an operating system upgrade package corresponding to an operating system version number of the new terminal device delivered by the aggregation unit by filtering the gateway.
  • the forwarding node sends the obtained operating system upgrade package to the target terminal device, so that the target terminal device automatically performs an operating system upgrade according to the operating system upgrade package.
  • the manner in which the forwarding node obtains the operating system upgrade package corresponding to the operating system version number of the new terminal device delivered by the aggregation unit by the filtering gateway may be:
  • the forwarding node receives the data packet delivered by the aggregation unit through the filtering gateway, where the data packet includes an operating system upgrade package corresponding to the operating system version number of the new terminal device, and the data packet further includes a terminal device type that is interested in the aggregation unit and The location of interest of the aggregation unit simultaneously matches the terminal equipment upgrade permission period;
  • the forwarding node reads, from the data packet, an operating system upgrade package corresponding to an operating system version number of the new terminal device;
  • the manner in which the obtained operating system upgrade package is delivered to the target terminal device in the foregoing step 311 may be:
  • the forwarding node reads the terminal device upgrade permission period from the data packet, and determines the current system of the forwarding node If the current system time of the forwarding node is within the terminal device upgrade permission period, the operating system upgrade package is sent to the target terminal device.
  • the operating system of the mass terminal device connected to the Internet of Things can be automatically upgraded by using adjacent nodes, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • FIG. 4 is a schematic structural diagram of a forwarding node according to an embodiment of the present invention.
  • the forwarding node may include:
  • the listening unit 401 is configured to listen to a broadcast message sent by a neighboring node of the forwarding node, where the broadcast message includes a type of a new terminal device that accesses the neighboring node and an operating system version number of the new terminal device;
  • the first discriminating unit 402 is configured to identify whether the target terminal device exists in the wireless coverage of the forwarding node, where the type of the target terminal device is consistent with the type of the new terminal device, and the operating system version number of the target terminal device is lower than the new terminal.
  • the operating system version number of the device is configured to identify whether the target terminal device exists in the wireless coverage of the forwarding node, where the type of the target terminal device is consistent with the type of the new terminal device, and the operating system version number of the target terminal device is lower than the new terminal.
  • a second discriminating unit 403, configured to identify, when the first discriminating unit 402 discriminates that the target terminal device exists, whether the forwarding node belongs to a forwarding node that is interested in the convergent unit;
  • the uplink communication unit 404 is configured to report, by the filtering gateway, a system upgrade package acquisition request to the aggregation unit, where the second identification unit 403 identifies that the forwarding node belongs to the forwarding node that is interested in the aggregation unit, where the request includes the operating system of the new terminal device. version number;
  • the data packet obtaining unit 405 is configured to obtain an operating system upgrade package corresponding to an operating system version number of the new terminal device delivered by the aggregation unit through the filtering gateway;
  • the downlink communication unit 406 is configured to send the operating system upgrade package to the target terminal device, so that the target terminal device automatically performs an operating system upgrade according to the operating system upgrade package.
  • the manner in which the uplink communication unit 404 reports the system upgrade package to the aggregation unit by using the filtering gateway may be:
  • the uplink communication unit 404 can detect whether the forwarding node is configured with an open time period; wherein, in the open time period, the uplink communication unit 404 is allowed to report the system upgrade package acquisition request to the aggregation unit through the filtering gateway;
  • the uplink communication unit 404 determines whether the current system time of the forwarding node is located in the open time period, if the current system time of the forwarding node is located in the open time period.
  • the uplink communication unit 404 reports the system upgrade package acquisition request including the operating system version number of the new terminal device to the aggregation unit through the filtering gateway.
  • the implementation of the foregoing manner can prevent the uplink communication unit 404 from frequently reporting the system upgrade package acquisition request to the aggregation unit through the filtering gateway, thereby increasing the workload of the aggregation unit.
  • the operating system of the mass terminal device connected to the Internet of Things can be automatically upgraded by using the adjacent node, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • FIG. 5 is a schematic structural diagram of another forwarding node according to an embodiment of the present invention.
  • the forwarding node shown in FIG. 5 is optimized by the forwarding node shown in FIG. 4.
  • the forwarding node shown in Figure 5 further includes:
  • the reading unit 407 is configured to: after the first discriminating unit 402 discriminates that the target terminal device exists, the first filtering table that is sent by the aggregation unit by the filtering gateway, where the first filtering table includes a terminal device type that is interested in the aggregation unit;
  • the third discriminating unit 408 is configured to identify whether the type of the target terminal device belongs to a terminal device type that is interested in the aggregation unit;
  • the second discriminating unit 403 is specifically configured to: when the first discriminating unit 402 discriminates that the target terminal device exists, and the third discriminating unit 408 discriminates that the type of the target terminal device belongs to the terminal device type that the convergent unit is interested in, Whether the forwarding node belongs to the forwarding node that the aggregation unit is interested in.
  • the reading unit 407 is further configured to: after the third discriminating unit 408 discriminates that the type of the target terminal device belongs to the terminal device type that is interested in the aggregation unit, the reading aggregation unit sends the information through the filtering gateway. a second filter table, the second filter table including a location of interest of the convergence unit;
  • the forwarding node shown in FIG. 5 may further include:
  • a location obtaining unit 409 configured to acquire a terminal device location of the target terminal device
  • the determining unit 410 is configured to determine whether the location of the terminal device of the target terminal device matches the location of interest of the convergence unit;
  • the second discriminating unit 403 is specifically configured to: when the first discriminating unit 402 discriminates that the target terminal device exists, and the third discriminating unit 408 discriminates that the type of the target terminal device belongs to the terminal device type that the convergent unit is interested in, and The determining unit 410 determines whether the location of the terminal device of the target terminal device matches the location of interest of the convergence unit, and determines whether the forwarding node belongs to the forwarding node of interest to the aggregation unit.
  • the location obtaining unit 409 includes:
  • a first subunit 4091 configured to broadcast, in a wireless coverage of the forwarding node, a location acquisition request that includes an identifier of the target terminal device, to trigger the target terminal device to identify the location from the location acquisition request.
  • the target terminal device initiates a request message to the management terminal handheld terminal associated with the target terminal device, where the request message is used to request the target terminal device to report the target terminal to the forwarding node.
  • the target terminal device receives a response message returned by the manager handheld terminal to indicate that the target terminal device is allowed to report the location of the terminal device of the target terminal device to the forwarding node Acquiring, by the target terminal device, at least two different positioning interfaces configured by the target terminal device, and sending, by the target terminal device, a positioning request to the at least two different positioning interfaces, so that each The positioning interface respectively sends the received positioning request to the corresponding positioning service And obtaining, by the target terminal device, location information sent by at least one positioning server corresponding to the positioning interface, and acquiring a response time from the first time to the second time, where the first time is a time at which the positioning interface sends a positioning request, where the second time is a time when the positioning interface receives the location information; and, by the target terminal device, a response time and a response threshold corresponding to each positioning interface Performing comparison, and extracting location information with the highest positioning accuracy from the location information received by the positioning interface whose response time does not exceed
  • a second subunit 4092 configured to receive a terminal device location of the target terminal device that is sent by the target terminal device
  • the handheld terminal of the administrator may detect whether the first action event occurs in the handheld terminal of the management personnel, if the first action of the handheld terminal of the management personnel occurs. And detecting, by the manager, the manager wearable device bound to the terminal, whether a second action event occurs, and if the manager wears the device to generate a second action event, determining the first action event and the second action event Whether the action directions included are the same, and if the action directions are the same, determining whether the action start time included in the first action event and the second action event are both within a preset duration, and the first action event and the Whether the duration of the action included in the second action event is within the preset duration, if the start time of the action included in the first action event and the second action event is within a preset duration, and the first An action event and the second action event include an action duration that is within the preset duration.
  • the second action event includes a difference in duration of the action that is less than a second preset threshold, and the manager handheld terminal returns to the target terminal device to indicate that the target terminal device is allowed to report the target terminal to the forwarding node. A response message to the device's terminal location.
  • the data packet obtaining unit 405 is specifically configured to receive a data packet that is sent by the aggregation unit by using the filtering gateway, where the data packet includes the An operating system upgrade package corresponding to an operating system version number of the new terminal device, and the data packet further includes a terminal device upgrade permission period that matches the terminal device type of interest to the aggregation unit and the location of interest of the aggregation unit And reading an operating system upgrade package corresponding to an operating system version number of the new terminal device from the data packet;
  • the downlink communication unit 406 is specifically configured to read the terminal device upgrade permission period from the data packet, and determine whether the current system time of the forwarding node is located in the terminal device upgrade permission period, if The current system time of the forwarding node is located in the terminal device upgrade permission period, and the operating system upgrade package is sent to the target terminal device.
  • implementing the forwarding node described in FIG. 5 can automatically upgrade the operating system of the mass terminal device connecting the Internet of Things by means of the adjacent node, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • FIG. 6 is a schematic structural diagram of another forwarding node according to an embodiment of the present invention.
  • the forwarding node may include:
  • the transceiver 603 is configured to send and receive data with an external device (including but not limited to: a terminal device, a filtering gateway, etc.).
  • the number of processors 601 can be one or more.
  • the processor 601 can be communicatively coupled to the memory 602 and the transceiver 603 via the bus 604.
  • the processor 601 may be separately connected to the memory 602 and the transceiver 603 by other means, which is not limited in the embodiment of the present invention.
  • the program code can be stored in the memory 602, and the processor 601 is configured to save the memory in the memory 602. Stored program code to do the following:
  • the broadcast message including a type of a new terminal device accessing the neighboring node and an operating system version number of the new terminal device;
  • the type of the target terminal device is consistent with the type of the new terminal device, and the operating system version number of the target terminal device is lower than the operating system of the new terminal device version number;
  • the target terminal device discriminate whether the forwarding node belongs to a forwarding node that is interested in the aggregation unit, and if yes, report a system upgrade package acquisition request to the aggregation unit by using a filtering gateway, where the request includes the new terminal device Operating system version number;
  • the processor 601 performs the following operations after discriminating that the target wireless terminal is behind the target terminal device and discriminating whether the forwarding node belongs to the forwarding node that is interested in the aggregation unit:
  • the processor 601 after discriminating that the type of the target terminal device belongs to the terminal device type that is interested in the aggregation unit, and discriminating whether the forwarding node belongs to a forwarding node that is interested in the aggregation unit, the processor 601 also performs the following operations:
  • the processor 601 acquires the location of the terminal device of the target terminal device, including:
  • a location acquisition request including an identifier of the target terminal device in a wireless coverage of the forwarding node, to trigger the target terminal device to identify an identifier of the target terminal device from the location acquisition request, by The target terminal device initiates a request message to the management personnel handheld terminal associated with the target terminal device, where the request message is used to request the target terminal device to report the location of the terminal device of the target terminal device to the forwarding node; Receiving, by the target terminal device, a response message that is returned by the management terminal handheld terminal to indicate that the target terminal device is allowed to report the location of the terminal device of the target terminal device to the forwarding node, At least two different positioning interfaces configured by the target terminal device, and the positioning request is sent by the target terminal device to the at least two different positioning interfaces, so that each of the positioning interfaces respectively receives the positioning interface Positioning requests are sent to their respective positioning servers; and, by The target terminal device acquires location information sent by the positioning server corresponding to the at least one positioning interface, and acquires a response time from the
  • the second time is a time at which the location information is received by each of the positioning interfaces; and the target terminal device compares a response time corresponding to each positioning interface with a response threshold, and responds from the response
  • the location information received by the positioning interface that does not exceed the response threshold is used to extract the location information with the highest location accuracy as the terminal device location of the target terminal device; and the terminal device location of the target terminal device that is sent by the target terminal device is received;
  • the handheld terminal of the administrator may detect whether the first action event occurs in the handheld terminal of the management personnel, if the first action of the handheld terminal of the management personnel occurs. And detecting, by the manager, the manager wearable device bound to the terminal, whether a second action event occurs, and if the manager wears the device to generate a second action event, determining the first action event and the second action event Whether the action directions included are the same, and if the action directions are the same, determining whether the action start time included in the first action event and the second action event are both within a preset duration, and the first action event and the Whether the duration of the action included in the second action event is within the preset duration, if the start time of the action included in the first action event and the second action event is within a preset duration, and the first An action event and the second action event include an action duration that is within the preset duration.
  • the second action event includes a difference in duration of the action that is less than a second preset threshold, and the manager handheld terminal returns to the target terminal device to indicate that the target terminal device is allowed to report the target terminal to the forwarding node. A response message to the device's terminal location.
  • the processor 601 acquires an operating system upgrade package corresponding to an operating system version number of the new terminal device that is sent by the aggregation unit by using the filtering gateway, and includes:
  • a data packet delivered by the filtering gateway where the data packet includes an operating system upgrade package corresponding to an operating system version number of the new terminal device, and the data packet further includes the aggregation unit a terminal device upgrade permission period in which the type of the terminal device of interest and the location of interest of the aggregation unit are simultaneously matched;
  • the processor 601 sends the operating system upgrade package to the target terminal device, including:
  • the operating system upgrade package is delivered to the target terminal device during the device upgrade license period.
  • implementing the forwarding node described in FIG. 6 can automatically upgrade the operating system of the mass terminal device connecting the Internet of Things by means of the adjacent node, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), and an erasable programmable read-only memory (Erasable).
  • ROM read-only memory
  • RAM random access memory
  • PROM programmable read-only memory
  • Erasable erasable programmable read-only memory
  • EPROM Programmable Read Only Memory
  • OTPROM One-Time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Landscapes

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

Abstract

一种借助相邻节点控制终端设备升级的方法及转发节点,包括:转发节点收听到其相邻节点广播的新终端设备的类型及新终端设备的操作系统版本号时辨别其无线覆盖范围内是否存在目标终端设备,该目标终端设备的类型与新终端设备类型一致,该目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;如果存在,转发节点通过过滤网关向汇聚单元上报包括新终端设备的操作系统版本号的系统升级包获取请求,并将汇聚单元通过过滤网关下发的新终端设备的操作系统版本号对应的操作系统升级包发给目标终端设备进行操作系统升级。可以借助相邻节点来实现连接物联网的海量终端设备的操作系统自动升级,提升海量终端设备的操作系统的升级效率。

Description

一种借助相邻节点控制终端设备升级的方法及转发节点 技术领域
本发明涉及物联网技术领域,尤其涉及一种借助相邻节点控制终端设备升级的方法及转发节点。
背景技术
在物联网中,用户端之间的信息交换和通信可以延伸、扩展到任何物品与物品之间进行。在物联网的组网架构中,可以利用汇聚单元来充当物联网的人机接口,而且汇聚单元可以收集海量的终端设备(如湿度计、烟感器、通风设备、雨量传感器、灌溉阀等)上报的物联网数据进行分析和决策,从而可以为人们提供预警、异常等相关报告。
在实践中发现,物联网中的很多终端设备都是支持传统IP协议(如IPv6)的终端设备,而支持传统IP协议的终端设备通常都具备处理器、操作系统、存储器以及接收、发送、输入、输出等功能。为了更新支持传统IP协议(如IPv6)的终端设备的功能,通常需要对支持传统IP协议(如IPv6)的终端设备的操作系统进行升级。然而,随着物联网中的终端设备的数量越来越多,工程人员以手工方式逐一对物联网中的每一终端设备的操作系统进行升级会严重降低海量终端设备的操作系统的升级效率。
发明内容
本发明实施例公开了一种借助相邻节点控制终端设备升级的方法及转发节点,可以借助相邻节点来实现海量终端设备的操作系统自动升级,从而提升海量终端设备的操作系统的升级效率。
本发明实施例第一方面公开一种借助相邻节点控制终端设备升级的方法,包括:
转发节点收听其相邻节点发送的广播消息,所述广播消息包括接入所述相邻节点的新终端设备的类型和所述新终端设备的操作系统版本号;
所述转发节点辨别其无线覆盖范围内是否存在目标终端设备,所述目标终端设备的类型与所述新终端设备的类型一致,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
如果存在所述目标终端设备,所述转发节点辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点,如果是,所述转发节点通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
所述转发节点获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,并将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点辨别出其自身无线覆盖范围内存在目标终端设备之后,以及所述转发节点辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点之前,所述方法还包括:
所述转发节点读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
所述转发节点辨别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型,如果属于,执行所述的辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,以及所述转发节点辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点之前,所述方法还包括:
所述转发节点读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
所述转发节点获取所述目标终端设备的终端设备位置;
所述转发节点判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配,如果相匹配,执行所述的辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点获取所述目标终端设备的终端设备位置,包括:
所述转发节点在其无线覆盖范围内广播包括所述目标终端设备的标识的位置获取请求,以触发所述目标终端设备从所述位置获取请求中辨别出所述目标终端设备的标识之后,由所述目标终端设备向所述目标终端设备关联的管理人员手持终端发起请求消息,所述请求消息用于请求允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置;以及,在所述目标终端设备接收到所述管理人员手持终端返回的用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息时,由所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
所述转发节点接收所述目标终端设备发送的所述目标终端设备的终端设备位置;
其中,所述管理人员手持终端在收到所述目标终端设备发起的所述请求消息之后,可以检测所述管理人员手持终端是否发生第一动作事件,如果所述管理人员手持终端发生第一动作事件,检测所述管理人员手持终端绑定的管理人员穿戴设备是否发生第二动作事件,如果所述管理人员穿戴设备发生第二动作事件,判断所述第一动作事件和所述第二动作事件包括的动作方向是否相同,如果动作方向相同,判断所述第一动作事件和所述第二动作事件包括的动作起始时间是否均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长是否均位于所述预设时长内,如 果所述第一动作事件和所述第二动作事件包括的动作起始时间均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长均位于所述预设时长内,判断所述第一动作事件与所述第二动作事件包括的动作起始时间的差值是否小于第一预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作起始时间的差值小于第一预设阈值,判断所述第一动作事件与所述第二动作事件包括的动作持续时长的差值是否小于第二预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作持续时长的差值小于第二预设阈值,所述管理人员手持终端向所述目标终端设备返回用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,包括:
所述转发节点接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
所述转发节点从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
所述将所述操作系统升级包下发给所述目标终端设备,包括:
所述转发节点从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
本发明实施例第二方面公开一种转发节点,包括:
收听单元,用于收听所述转发节点的相邻节点发送的广播消息,所述广播消息包括接入所述相邻节点的新终端设备的类型和所述新终端设备的操作系统版本号;
第一辨别单元,用于辨别所述转发节点的无线覆盖范围内是否存在目标终端设备,所述目标终端设备的类型与所述新终端设备的类型一致,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
第二辨别单元,用于在所述第一辨别单元辨别出存在所述目标终端设备时,辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点;
上行通讯单元,用于在所述第二辨别单元辨别出所述转发节点属于所述汇聚单元感兴趣的转发节点时,通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
数据包获取单元,用于获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包;
下行通讯单元,用于将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,在本发明实施例第二方面中,所述转发节点还包括:
读取单元,用于在所述第一辨别单元辨别出存在所述目标终端设备之后,读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
第三辨别单元,用于辨别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型;
所述第二辨别单元,具体用于在所述第一辨别单元辨别出存在所述目标终端设备时,以及所述第三辨别单元辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,在本发明实施例第二方面中:
所述读取单元,还用于在所述第三辨别单元辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
所述转发节点还包括:
位置获取单元,用于获取所述目标终端设备的终端设备位置;
判断单元,用于判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配;
所述第二辨别单元,具体用于在所述第一辨别单元辨别出存在所述目标终端设备时,以及所述第三辨别单元辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,以及判断单元判断出所述目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配时,辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,在本发明实施例第二方面中,所述位置获取单元包括:
第一子单元,用于在所述转发节点的无线覆盖范围内广播包括所述目标终端设备的标识的位置获取请求,以触发所述目标终端设备从所述位置获取请求中辨别出所述目标终端设备的标识之后,由所述目标终端设备向所述目标终端设备关联的管理人员手持终端发起请求消息,所述请求消息用于请求允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置;以及,在所述目标终端设备接收到所述管理人员手持终端返回的用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息时,由所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
第二子单元,用于接收所述目标终端设备发送的所述目标终端设备的终端设备位置;
其中,所述管理人员手持终端在收到所述目标终端设备发起的所述请求消息之后,可以检测所述管理人员手持终端是否发生第一动作事件,如果所述管理人员手持终端发生第一动作事件,检测所述管理人员手持终端绑定的管理人员穿戴设备是否发生第二动作事件,如果所述管理人员穿戴设备发生第二动作事件,判断所述第一动作事件和所述第二动作事件包括的动作方向是否相同,如果动作方向相同,判断所述第一动作事件和所述第二动作事件包括的动作起始时间是否均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长是否均位于所述预设时长内,如果所述第一动作事件和所述第二动作事件包括的动作起始时间均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长均位于所述预设时长内,判断所述第一动作事件与所述第二动作事件包括的动作起始时间的差值是否小于第一预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作起始时间的差值小于第一预设阈值,判断所述第一动作事件与所述第二动作事件包括的动作持续时长的差值是否小于第二预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作持续时长的差值小于第二预设阈值,所述管理人员手持终端向所述目标终端设备返回用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息。
作为一种可选的实施方式,在本发明实施例第二方面中,所述数据包获取单元,具体用于接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;以及,从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
所述下行通讯单元,具体用于从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
与现有技术相比,本发明实施例具有以下有益效果:
本发明实施例中,转发节点收听到其相邻节点广播的新终端设备的类型及新终端设备的操作系统版本号时,可以辨别其无线覆盖范围内是否存在目标终端设备,该目标终端设备的类型与新终端设备类型一致,并且该目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;如果存在目标终端设备,转发节点通过过滤网关向汇聚单元上报包括新终端设备的操作系统版本号的系统升级包获取请求,并将汇聚单元通过过滤网关下发的新终端设备的操作系统版本号对应的操作系统升级包发给目标终端设备进行操作系统升级。可见,实施本发明实施例,可以借助相邻节点来实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种物联网的组网架构的示意图;
图2是本发明实施例公开的一种基于转发节点的终端设备自动升级方法的流程示意图;
图3是本发明实施例公开的另一种基于转发节点的终端设备自动升级方法的流程示意图;
图4是本发明实施例公开的一种转发节点的结构示意图;
图5是本发明实施例公开的另一种转发节点的结构示意图;
图6是本发明实施例公开的另一种转发节点的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例公开了一种借助相邻节点控制终端设备升级的方法及转发节点,可以借助相邻节点来实现海量终端设备的操作系统自动升级,从而提升海量终端设备的操作系统的升级效率。以下分别进行详细说明。
为了更好地理解本发明实施例,下面先对本发明实施例公开的一种物联网的组网架构进行介绍。请参阅图1,图1是本发明实施例公开的一种物联网的组网架构的示意图。如图1所示,该物联网的组网架构按照功能划分可以包括终端设备层、转发节点层以及汇聚层三个层。其中,终端设备层可以包括海量规模的终端设备,例如湿度计、烟感器、通风设备、雨量传感器、灌溉阀等等;转发节点层可以包括大量的转发节点,这些大量的转发节点之间可以通过网络互联(图1以格子表示)。在转发节点层中,转发节点可以包括路由器、中继器、接入点等各种中间设备,本发明实施例不作限定;转发节点可以使用任何标准的组网协议,而且转发节点可以在不同的网络制式之间实现数据解析;汇聚层可以包括过滤网关和汇聚单元,其中,过滤网关可以通过互联网与转发节点层的各个转发节点直接或间接通讯连接;汇聚单元可以通过过滤网关对转发节点层的各个转发节点进行高层管理,从而实现数据传输频率、网络拓扑以及其他组网功能的控制;汇聚单元不仅可以对海量终端设备产生的物联网数据进行分析和决策,还可以通过发指令去获取信息或者配置终端设备参数(此时数据的传输指向终端设备);汇聚单元还可以引入各种业务,从大数据到社交网络、甚至从社交工具“点赞”到天气分享等。在图1所示的物联网的组网架构中,每一个转发节点可以为其自身无线覆盖范围内的海量终端设备提供物联网数据收发服务,其中,每一转发节点自身无线覆盖范围内的每一个终端设备可以内置有无线通讯模块,这使得每一转发节点可以 通过无线网络通讯方式与自身无线覆盖范围内的每一个终端设备进行无线通讯。在图1所示的物联网的组网架构中,终端设备内置的无线通讯模块在生产时,可以输入上频点470MHz,下频点510MHz,这样无线通讯模块可以自动将通讯频段定义为470MHz~510MHz,以符合中国SRRC标准的规定;或者,也可以输入上频点868MHz,下频点908MHz,这样无线通讯模块可以自动将通讯频段定义为868MHz~908MHz,以符合欧洲ETSI标准的规定;或者,可以输入上频点918MHz,下频点928MHz,这样无线通讯模块可以自动将通讯频段定义为918MHz~928MHz,以符合美国FCC标准的规定;或者,无线通讯模块的通讯频段也可以定义为符合日本ARIB标准或加拿大IC标准的规定,本发明实施例不作限定。在图1所示的物联网的组网架构中,终端设备可以采用频分复用(Frequency Division Multiple Access,FDMA)、跳频(Frequency-Hopping Spread Spectrum,FHSS)、动态时分复用(Dynamic Time Division Multiple Access,DTDMA)、退避复用(CSMA)相结合的方法来解决干扰问题。
实施例一
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了一种借助相邻节点控制终端设备升级的方法。请参阅图2,图2是本发明实施例公开的一种借助相邻节点控制终端设备升级的方法的流程示意图。如图2所示,该借助相邻节点控制终端设备升级的方法可以包括以下步骤:
201、转发节点收听其相邻节点发送的广播消息,该广播消息包括接入相邻节点的新终端设备的类型和新终端设备的操作系统版本号。
本发明实施例中,新终端设备的类型可以用来标识新终端设备的类别和型号;新终端设备的操作系统版本号用于标识新终端设备的操作系统版本。
202、转发节点辨别其无线覆盖范围内是否存在目标终端设备,其中,目标终端设备的类型与上述新终端设备的类型相同,并且目标终端设备的操作系统版本号低于上述新终端设备的操作系统版本号;如果存在,执行步骤203;如果不存在,结束本流程。
本发明实施例中,目标终端设备的操作系统版本号低于上述新终端设备的操作系统版本号时,说明目标终端设备的操作系统版本的等级低于上述新终端设备的操作系统版本的等级。
203、转发节点辨别其是否属于汇聚单元感兴趣的转发节点,如果属于,执行步骤204;如果不属于,结束本流程。
作为一种可选的实施方式,转发节点可以将其标识以及其位置信息封装成数据元并通过过滤网关上报给汇聚单元,而汇聚单元在收到该数据元之后,可以对该数据元进行解析并辨别转发节点的标识是否属于汇聚单元感兴趣的转发节点标识,如果属于,汇聚单元再辨别转发节点的位置信息是否属于汇聚单元感兴趣的转发节点位置信息,如果也属于,汇集单元可以过滤网关向转发节点下发指示信息,该指示信息用于指示转发节点属于汇聚单元感兴趣的转发节点;而转发节点可以根据该指示信息识别出其属于汇聚单元感兴趣的转发节点,执行步骤204。其中,实施上述方式精确地识别出转发节点是否属于汇聚单元感兴趣的转发节点,可以避免那些不属于汇聚单元感兴趣的转发节点也通过过滤网关向汇聚单元上报系统升级包获取请求而加剧汇聚单元的工作 负荷。
204、转发节点通过过滤网关向汇聚单元上报系统升级包获取请求,该系统升级包获取请求包括上述新终端设备的操作系统版本号。
本发明实施例中,上述步骤204中,转发节点通过过滤网关向汇聚单元上报系统升级包获取请求的方式可以为:
转发节点可以检测转发节点是否被配置有开放时间段;其中,在开放时间段内,转发节点被允许通过过滤网关向汇聚单元上报系统升级包获取请求;
如果转发节点检测出转发节点被配置有开放时间段,判断转发节点的当前系统时间是否位于上述开放时间段内,如果转发节点的当前系统时间位于上述开放时间段内,转发节点通过过滤网关向汇聚单元上报包括上述新终端设备的操作系统版本号的系统升级包获取请求。
其中,实施上述方式可以避免转发节点频繁地通过过滤网关向汇聚单元上报系统升级包获取请求而加剧汇聚单元的工作负荷。
205、转发节点获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包。
206、转发节点将获取到的操作系统升级包下发给目标终端设备,以使目标终端设备根据该操作系统升级包自动进行操作系统升级。
在图2所描述的方法中,转发节点收听到其相邻节点广播的新终端设备的类型及新终端设备的操作系统版本号时,可以辨别其无线覆盖范围内是否存在目标终端设备,该目标终端设备的类型与新终端设备类型一致,并且该目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;如果存在目标终端设备,转发节点通过过滤网关向汇聚单元上报包括新终端设备的操作系统版本号的系统升级包获取请求,并将汇聚单元通过过滤网关下发的新终端设备的操作系统版本号对应的操作系统升级包发给目标终端设备进行操作系统升级。可见,实施图2所描述的方法,可以借助相邻节点来实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
实施例二
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了另一种基于转发节点的终端设备自动升级方法。请参阅图3,图3是本发明实施例公开的另一种基于转发节点的终端设备自动升级方法的流程示意图。如图3所示,该基于转发节点的终端设备自动升级方法可以包括以下步骤:
301、转发节点收听其相邻节点发送的广播消息,该广播消息包括接入相邻节点的新终端设备的类型和新终端设备的操作系统版本号。
302、转发节点辨别其无线覆盖范围内是否存在目标终端设备,其中,目标终端设备的类型与上述新终端设备的类型相同,并且目标终端设备的操作系统版本号低于上述新终端设备的操作系统版本号;如果存在目标终端设备,执行步骤303~步骤304;如果不存在目标终端设备,结束本流程。
303、转发节点读取汇聚单元通过过滤网关下发的第一过滤表,其中,第一过滤表 包括汇聚单元感兴趣的终端设备类型。
304转发节点辨别目标终端设备的类型是否属于汇聚单元感兴趣的终端设备类型,如果属于,执行步骤305~步骤307;如果不属于,结束本流程。
305、转发节点读取汇聚单元通过过滤网关下发的第二过滤表,其中,第二过滤表包括汇聚单元感兴趣的位置。
306、转发节点获取目标终端设备的终端设备位置。
作为一种可选的实施方式,在上述步骤306中,转发节点获取目标终端设备的终端设备位置的方式可以为:
转发节点在其无线覆盖范围内广播包括目标终端设备的标识的位置获取请求,以触发目标终端设备从位置获取请求中辨别出目标终端设备的标识之后,由目标终端设备向目标终端设备关联的管理人员手持终端发起请求消息,该请求消息用于请求允许目标终端设备向转发节点上报目标终端设备的终端设备位置;以及,在目标终端设备接收到管理人员手持终端返回的用于表示允许目标终端设备向转发节点上报目标终端设备的终端设备位置的响应消息时,由目标终端设备获取目标终端设备配置的至少两个不同的定位接口(如百度的nlpservice定位接口、高德的nlpservice定位接口、谷歌的nlpservice定位接口等),并由目标终端设备将定位请求发送至上述至少两个不同的定位接口,以使每个定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由目标终端设备获取至少一个定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,第一时刻为每个定位接口发送定位请求的时刻,第二时刻为每个定位接口接收到位置信息的时刻;以及,由目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为目标终端设备的终端设备位置;以及,转发节点接收目标终端设备发送的目标终端设备的终端设备位置。其中,实施上述实施方式,可以获得精确的目标终端设备的终端设备位置。
其中,管理人员手持终端在收到目标终端设备发起的请求消息之后,可以检测管理人员手持终端是否发生第一动作事件,如果管理人员手持终端发生第一动作事件,管理人员手持终端可以进一步检测管理人员手持终端绑定的管理人员穿戴设备是否发生第二动作事件,如果管理人员穿戴设备发生第二动作事件,可以判断第一动作事件和第二动作事件包括的动作方向(如甩动作方向)是否相同,如果动作方向相同,可以进一步判断第一动作事件和第二动作事件包括的动作起始时间是否均位于预设时长内,以及第一动作事件和第二动作事件包括的动作持续时长是否均位于预设时长内,如果第一动作事件和第二动作事件包括的动作起始时间均位于预设时长内,以及第一动作事件和第二动作事件包括的动作持续时长均位于预设时长内,可以判断第一动作事件与第二动作事件包括的动作起始时间的差值是否小于第一预设阈值,如果第一动作事件与第二动作事件包括的动作起始时间的差值小于第一预设阈值,判断第一动作事件与第二动作事件包括的动作持续时长的差值是否小于第二预设阈值,如果第一动作事件与第二动作事件包括的动作持续时长的差值小于第二预设阈值,说明管理人员手持终端以及管理人员穿戴设备同时发生同一动作事件,此时管理人员手持终端可以 向目标终端设备返回用于表示允许目标终端设备向转发节点上报目标终端设备的终端设备位置的响应消息。显然,实施这种实施方式,可以准确的控制目标终端设备向转发节点上报目标终端设备的终端设备位置,防止目标终端设备在被误触发的情况下向转发节点上报目标终端设备的终端设备位置。
307、转发节点判断目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配,如果相匹配,执行步骤308;如果不相匹配,结束本流程。
本发明实施例中,转发节点判断目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配包括:目标终端设备的终端设备位置与汇聚单元感兴趣的位置重叠,或者目标终端设备的终端设备位置包含在汇聚单元感兴趣的位置中,又或者目标终端设备的终端设备位置与汇聚单元感兴趣的位置之间的距离小于指定阈值。
308、转发节点辨别其是否属于汇聚单元感兴趣的转发节点,如果属于,执行步骤309~步骤311;如果不属于,结束本流程。
309、转发节点通过过滤网关向汇聚单元上报系统升级包获取请求,该系统升级包获取请求包括上述新终端设备的操作系统版本号。
本发明实施例中,上述步骤309中,转发节点通过过滤网关向汇聚单元上报系统升级包获取请求的方式可以为:
转发节点可以检测转发节点是否被配置有开放时间段;其中,在开放时间段内,转发节点被允许通过过滤网关向汇聚单元上报系统升级包获取请求;
如果转发节点检测出转发节点被配置有开放时间段,判断转发节点的当前系统时间是否位于上述开放时间段内,如果转发节点的当前系统时间位于上述开放时间段内,转发节点通过过滤网关向汇聚单元上报包括上述新终端设备的操作系统版本号的系统升级包获取请求。
其中,实施上述方式可以避免转发节点频繁地通过过滤网关向汇聚单元上报系统升级包获取请求而加剧汇聚单元的工作负荷。
310、转发节点获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包。
311、转发节点将获取到的操作系统升级包下发给目标终端设备,以使目标终端设备根据该操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,上述步骤310中,转发节点获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包的方式可以为:
转发节点接收汇聚单元通过过滤网关下发的数据包,该数据包包括上述新终端设备的操作系统版本号对应的操作系统升级包,并且该数据包还包括与汇聚单元感兴趣的终端设备类型和汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
转发节点从该数据包中读取上述新终端设备的操作系统版本号对应的操作系统升级包;
相应地,上述步骤311中将获取到的操作系统升级包下发给目标终端设备的方式可以为:
转发节点从该数据包中读取终端设备升级许可时段,并且判断转发节点的当前系 统时间是否位于终端设备升级许可时段内,如果转发节点的当前系统时间位于终端设备升级许可时段内,将该操作系统升级包下发给目标终端设备。
可见,实施图3所描述的方法,可以借助相邻节点来实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
实施例三
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了一种转发节点。请参阅图4,图4是本发明实施例公开的一种转发节点的结构示意图。如图4所示,该转发节点可以包括:
收听单元401,用于收听转发节点的相邻节点发送的广播消息,该广播消息包括接入相邻节点的新终端设备的类型和新终端设备的操作系统版本号;
第一辨别单元402,用于辨别转发节点的无线覆盖范围内是否存在目标终端设备,其中,目标终端设备的类型与新终端设备的类型一致,并且目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;
第二辨别单元403,用于在第一辨别单元402辨别出存在目标终端设备时,辨别转发节点是否属于汇聚单元感兴趣的转发节点;
上行通讯单元404,用于在第二辨别单元403辨别出转发节点属于汇聚单元感兴趣的转发节点时,通过过滤网关向汇聚单元上报系统升级包获取请求,该请求包括上述新终端设备的操作系统版本号;
数据包获取单元405,用于获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包;
下行通讯单元406,用于将操作系统升级包下发给目标终端设备,以使目标终端设备根据操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,上行通讯单元404通过过滤网关向汇聚单元上报系统升级包获取请求的方式可以为:
上行通讯单元404可以检测转发节点是否被配置有开放时间段;其中,在开放时间段内,上行通讯单元404被允许通过过滤网关向汇聚单元上报系统升级包获取请求;
如果上行通讯单元404检测出所述转发节点被配置有开放时间段,上行通讯单元404判断转发节点的当前系统时间是否位于上述开放时间段内,如果转发节点的当前系统时间位于上述开放时间段内,上行通讯单元404通过过滤网关向汇聚单元上报包括上述新终端设备的操作系统版本号的系统升级包获取请求。
其中,实施上述方式可以避免上行通讯单元404频繁地通过过滤网关向汇聚单元上报系统升级包获取请求而加剧汇聚单元的工作负荷。
可见,实施图4所描述的转发节点,可以借助相邻节点来实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
实施例四
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了另一种转发节点。请参阅图5,图5是本发明实施例公开的另一种转发节点的结构示意图。其中,图5所示的转发节点是由图4所示的转发节点进行优化得到的。与图4所示的转发节点相 比较,图5所示的转发节点还包括:
读取单元407,用于在第一辨别单元402辨别出存在目标终端设备之后,读取汇聚单元通过过滤网关下发的第一过滤表,第一过滤表包括汇聚单元感兴趣的终端设备类型;
第三辨别单元408,用于辨别目标终端设备的类型是否属于汇聚单元感兴趣的终端设备类型;
相应地,第二辨别单元403具体用于在第一辨别单元402辨别出存在目标终端设备时,以及第三辨别单元408辨别出目标终端设备的类型属于汇聚单元感兴趣的终端设备类型时,辨别转发节点是否属于汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,读取单元407还用于在第三辨别单元408辨别出目标终端设备的类型属于汇聚单元感兴趣的终端设备类型之后,读取汇聚单元通过过滤网关下发的第二过滤表,第二过滤表包括汇聚单元感兴趣的位置;
相应地,图5所示的转发节点还可以包括:
位置获取单元409,用于获取目标终端设备的终端设备位置;
判断单元410,用于判断目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配;
相应地,第二辨别单元403具体用于在第一辨别单元402辨别出存在目标终端设备时,以及第三辨别单元408辨别出目标终端设备的类型属于汇聚单元感兴趣的终端设备类型时,以及判断单元410判断出目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配时,辨别转发节点是否属于所述汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,在图5所示的转发节点中,位置获取单元409包括:
第一子单元4091,用于在所述转发节点的无线覆盖范围内广播包括所述目标终端设备的标识的位置获取请求,以触发所述目标终端设备从所述位置获取请求中辨别出所述目标终端设备的标识之后,由所述目标终端设备向所述目标终端设备关联的管理人员手持终端发起请求消息,所述请求消息用于请求允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置;以及,在所述目标终端设备接收到所述管理人员手持终端返回的用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息时,由所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
第二子单元4092,用于接收所述目标终端设备发送的所述目标终端设备的终端设备位置;
其中,所述管理人员手持终端在收到所述目标终端设备发起的所述请求消息之后,可以检测所述管理人员手持终端是否发生第一动作事件,如果所述管理人员手持终端发生第一动作事件,检测所述管理人员手持终端绑定的管理人员穿戴设备是否发生第二动作事件,如果所述管理人员穿戴设备发生第二动作事件,判断所述第一动作事件和所述第二动作事件包括的动作方向是否相同,如果动作方向相同,判断所述第一动作事件和所述第二动作事件包括的动作起始时间是否均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长是否均位于所述预设时长内,如果所述第一动作事件和所述第二动作事件包括的动作起始时间均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长均位于所述预设时长内,判断所述第一动作事件与所述第二动作事件包括的动作起始时间的差值是否小于第一预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作起始时间的差值小于第一预设阈值,判断所述第一动作事件与所述第二动作事件包括的动作持续时长的差值是否小于第二预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作持续时长的差值小于第二预设阈值,所述管理人员手持终端向所述目标终端设备返回用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息。
作为一种可选的实施方式,在图5所示的转发节点中,数据包获取单元405具体用于接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;以及,从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
相应的,下行通讯单元406具体用于从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
可见,实施图5所描述的转发节点,可以借助相邻节点来实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
实施例五
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了另一种转发节点。请参阅图6,图6是本发明实施例公开的另一种转发节点的结构示意图。如图6所示,该转发节点可以包括:
处理器601、存储器602、收发器603和总线604。其中,收发器603用于与外部设备(包括但不限于:终端设备、过滤网关等)之间收发数据。处理器601的数量可以是一个或多个。在图6所示的转发节点中,处理器601可以通过总线604分别与存储器602、收发器603通讯连接。在一些实施例中,处理器601还可以通过其他方式分别与存储器602、收发器603通讯连接,本发明实施例不作限定。
其中,存储器602中可以存储程序代码,而处理器601用于调用存储器602中存 储的程序代码,用于执行以下操作:
收听其相邻节点发送的广播消息,所述广播消息包括接入所述相邻节点的新终端设备的类型和所述新终端设备的操作系统版本号;
辨别其无线覆盖范围内是否存在目标终端设备,所述目标终端设备的类型与所述新终端设备的类型一致,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
如果存在所述目标终端设备,辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点,如果是,通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,并将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,辨别出其自身无线覆盖范围内存在目标终端设备之后,以及辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点之前,处理器601还执行以下操作:
读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
辨别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型,如果属于,执行所述的辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,以及辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点之前,处理器601还执行以下操作:
读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
获取所述目标终端设备的终端设备位置;
判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配,如果相匹配,执行所述的辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
作为一种可选的实施方式,处理器601获取所述目标终端设备的终端设备位置,包括:
在所述转发节点的无线覆盖范围内广播包括所述目标终端设备的标识的位置获取请求,以触发所述目标终端设备从所述位置获取请求中辨别出所述目标终端设备的标识之后,由所述目标终端设备向所述目标终端设备关联的管理人员手持终端发起请求消息,所述请求消息用于请求允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置;以及,在所述目标终端设备接收到所述管理人员手持终端返回的用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息时,由所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由 所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;接收所述目标终端设备发送的所述目标终端设备的终端设备位置;
其中,所述管理人员手持终端在收到所述目标终端设备发起的所述请求消息之后,可以检测所述管理人员手持终端是否发生第一动作事件,如果所述管理人员手持终端发生第一动作事件,检测所述管理人员手持终端绑定的管理人员穿戴设备是否发生第二动作事件,如果所述管理人员穿戴设备发生第二动作事件,判断所述第一动作事件和所述第二动作事件包括的动作方向是否相同,如果动作方向相同,判断所述第一动作事件和所述第二动作事件包括的动作起始时间是否均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长是否均位于所述预设时长内,如果所述第一动作事件和所述第二动作事件包括的动作起始时间均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长均位于所述预设时长内,判断所述第一动作事件与所述第二动作事件包括的动作起始时间的差值是否小于第一预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作起始时间的差值小于第一预设阈值,判断所述第一动作事件与所述第二动作事件包括的动作持续时长的差值是否小于第二预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作持续时长的差值小于第二预设阈值,所述管理人员手持终端向所述目标终端设备返回用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息。
作为一种可选的实施方式,处理器601获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,包括:
接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
所述处理器601将所述操作系统升级包下发给所述目标终端设备,包括:
从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
可见,实施图6所描述的转发节点,可以借助相邻节点来实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存 储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。
以上对本发明实施例公开的一种借助相邻节点控制终端设备升级的方法及转发节点进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (10)

  1. 一种借助相邻节点控制终端设备升级的方法,其特征在于,包括:
    转发节点收听其相邻节点发送的广播消息,所述广播消息包括接入所述相邻节点的新终端设备的类型和所述新终端设备的操作系统版本号;
    所述转发节点辨别其无线覆盖范围内是否存在目标终端设备,所述目标终端设备的类型与所述新终端设备的类型一致,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
    如果存在所述目标终端设备,所述转发节点辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点,如果是,所述转发节点通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
    所述转发节点获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,并将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
  2. 根据权利要求1所述的方法,其特征在于,所述转发节点辨别出其自身无线覆盖范围内存在目标终端设备之后,以及所述转发节点辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点之前,所述方法还包括:
    所述转发节点读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
    所述转发节点辨别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型,如果属于,执行所述的辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
  3. 根据权利要求2所述的方法,其特征在于,所述转发节点辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,以及所述转发节点辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点之前,所述方法还包括:
    所述转发节点读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
    所述转发节点获取所述目标终端设备的终端设备位置;
    所述转发节点判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配,如果相匹配,执行所述的辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
  4. 根据权利要求3所述的方法,其特征在于,所述转发节点获取所述目标终端设备的终端设备位置,包括:
    所述转发节点在其无线覆盖范围内广播包括所述目标终端设备的标识的位置获取请求,以触发所述目标终端设备从所述位置获取请求中辨别出所述目标终端设备的标识之后,由所述目标终端设备向所述目标终端设备关联的管理人员手持终端发起请求消息,所述请求消息用于请求允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置;以及,在所述目标终端设备接收到所述管理人员手持终端返回的用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息时,由所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使 每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
    所述转发节点接收所述目标终端设备发送的所述目标终端设备的终端设备位置;
    其中,所述管理人员手持终端在收到所述目标终端设备发起的所述请求消息之后,可以检测所述管理人员手持终端是否发生第一动作事件,如果所述管理人员手持终端发生第一动作事件,检测所述管理人员手持终端绑定的管理人员穿戴设备是否发生第二动作事件,如果所述管理人员穿戴设备发生第二动作事件,判断所述第一动作事件和所述第二动作事件包括的动作方向是否相同,如果动作方向相同,判断所述第一动作事件和所述第二动作事件包括的动作起始时间是否均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长是否均位于所述预设时长内,如果所述第一动作事件和所述第二动作事件包括的动作起始时间均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长均位于所述预设时长内,判断所述第一动作事件与所述第二动作事件包括的动作起始时间的差值是否小于第一预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作起始时间的差值小于第一预设阈值,判断所述第一动作事件与所述第二动作事件包括的动作持续时长的差值是否小于第二预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作持续时长的差值小于第二预设阈值,所述管理人员手持终端向所述目标终端设备返回用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息。
  5. 根据权利要求3或4所述的方法,其特征在于,所述转发节点获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,包括:
    所述转发节点接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
    所述转发节点从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
    所述将所述操作系统升级包下发给所述目标终端设备,包括:
    所述转发节点从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
  6. 一种转发节点,其特征在于,包括:
    收听单元,用于收听所述转发节点的相邻节点发送的广播消息,所述广播消息包 括接入所述相邻节点的新终端设备的类型和所述新终端设备的操作系统版本号;
    第一辨别单元,用于辨别所述转发节点的无线覆盖范围内是否存在目标终端设备,所述目标终端设备的类型与所述新终端设备的类型一致,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
    第二辨别单元,用于在所述第一辨别单元辨别出存在所述目标终端设备时,辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点;
    上行通讯单元,用于在所述第二辨别单元辨别出所述转发节点属于所述汇聚单元感兴趣的转发节点时,通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
    数据包获取单元,用于获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包;
    下行通讯单元,用于将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
  7. 根据权利要求6所述的转发节点,其特征在于,还包括:
    读取单元,用于在所述第一辨别单元辨别出存在所述目标终端设备之后,读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
    第三辨别单元,用于辨别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型;
    所述第二辨别单元,具体用于在所述第一辨别单元辨别出存在所述目标终端设备时,以及所述第三辨别单元辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
  8. 根据权利要求7所述的转发节点,其特征在于:
    所述读取单元,还用于在所述第三辨别单元辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
    所述转发节点还包括:
    位置获取单元,用于获取所述目标终端设备的终端设备位置;
    判断单元,用于判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配;
    所述第二辨别单元,具体用于在所述第一辨别单元辨别出存在所述目标终端设备时,以及所述第三辨别单元辨别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,以及判断单元判断出所述目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配时,辨别所述转发节点是否属于所述汇聚单元感兴趣的转发节点。
  9. 根据权利要求8所述的转发节点,其特征在于,所述位置获取单元包括:
    第一子单元,用于在所述转发节点的无线覆盖范围内广播包括所述目标终端设备的标识的位置获取请求,以触发所述目标终端设备从所述位置获取请求中辨别出所述目标终端设备的标识之后,由所述目标终端设备向所述目标终端设备关联的管理人员手持终端发起请求消息,所述请求消息用于请求允许所述目标终端设备向转发节点上 报所述目标终端设备的终端设备位置;以及,在所述目标终端设备接收到所述管理人员手持终端返回的用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息时,由所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
    第二子单元,用于接收所述目标终端设备发送的所述目标终端设备的终端设备位置;
    其中,所述管理人员手持终端在收到所述目标终端设备发起的所述请求消息之后,可以检测所述管理人员手持终端是否发生第一动作事件,如果所述管理人员手持终端发生第一动作事件,检测所述管理人员手持终端绑定的管理人员穿戴设备是否发生第二动作事件,如果所述管理人员穿戴设备发生第二动作事件,判断所述第一动作事件和所述第二动作事件包括的动作方向是否相同,如果动作方向相同,判断所述第一动作事件和所述第二动作事件包括的动作起始时间是否均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长是否均位于所述预设时长内,如果所述第一动作事件和所述第二动作事件包括的动作起始时间均位于预设时长内,以及所述第一动作事件和所述第二动作事件包括的动作持续时长均位于所述预设时长内,判断所述第一动作事件与所述第二动作事件包括的动作起始时间的差值是否小于第一预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作起始时间的差值小于第一预设阈值,判断所述第一动作事件与所述第二动作事件包括的动作持续时长的差值是否小于第二预设阈值,如果所述第一动作事件与所述第二动作事件包括的动作持续时长的差值小于第二预设阈值,所述管理人员手持终端向所述目标终端设备返回用于表示允许所述目标终端设备向转发节点上报所述目标终端设备的终端设备位置的响应消息。
  10. 根据权利要求8或9所述的转发节点,其特征在于,所述数据包获取单元,具体用于接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;以及,从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
    所述下行通讯单元,具体用于从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
PCT/CN2017/098495 2017-06-19 2017-08-22 一种借助相邻节点控制终端设备升级的方法及转发节点 WO2018232959A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710462925.1 2017-06-19
CN201710462925.1A CN107248936B (zh) 2017-06-19 2017-06-19 一种借助相邻节点控制终端设备升级的方法及转发节点

Publications (1)

Publication Number Publication Date
WO2018232959A1 true WO2018232959A1 (zh) 2018-12-27

Family

ID=60019379

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098495 WO2018232959A1 (zh) 2017-06-19 2017-08-22 一种借助相邻节点控制终端设备升级的方法及转发节点

Country Status (2)

Country Link
CN (1) CN107248936B (zh)
WO (1) WO2018232959A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489146A (zh) * 2019-08-13 2019-11-22 翱捷科技(深圳)有限公司 一种终端设备的邻近ota升级系统和方法
CN111917595A (zh) * 2020-08-14 2020-11-10 深圳市欧瑞博科技股份有限公司 系统升级方法、装置、智能设备以及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060184930A1 (en) * 2005-02-11 2006-08-17 Fuente Carlos F Coordinating software upgrades in distributed systems
CN103841587A (zh) * 2012-11-20 2014-06-04 中国移动通信集团江苏有限公司 一种物联网融合网关的实现方法、装置及系统
CN104320279A (zh) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 一种业务升级的方法及系统
CN104750506A (zh) * 2013-12-30 2015-07-01 海尔集团公司 一种智能家电wifi模块软件自动升级方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100550768C (zh) * 2006-04-10 2009-10-14 华为技术有限公司 一种信息安全管理平台
CN103532922B (zh) * 2012-09-29 2016-12-21 深圳友讯达科技股份有限公司 一种软件版本升级方法、装置及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060184930A1 (en) * 2005-02-11 2006-08-17 Fuente Carlos F Coordinating software upgrades in distributed systems
CN103841587A (zh) * 2012-11-20 2014-06-04 中国移动通信集团江苏有限公司 一种物联网融合网关的实现方法、装置及系统
CN104750506A (zh) * 2013-12-30 2015-07-01 海尔集团公司 一种智能家电wifi模块软件自动升级方法
CN104320279A (zh) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 一种业务升级的方法及系统

Also Published As

Publication number Publication date
CN107248936B (zh) 2019-08-09
CN107248936A (zh) 2017-10-13

Similar Documents

Publication Publication Date Title
WO2018232970A1 (zh) 一种应用于物联网的终端设备状态检测方法及系统
WO2018233016A1 (zh) 一种边缘路由节点及其上报频率调整方法
WO2018233046A1 (zh) 一种基于数据类型的通信控制方法及系统
WO2018233030A1 (zh) 一种基于传输时长的物联网数据上报控制方法及转发节点
WO2018233018A1 (zh) 一种基于终端设备优先级的数据上报控制方法及系统
WO2018233057A1 (zh) 一种物联网无线信号调整方法及系统
WO2018232976A1 (zh) 一种终端设备的工作状态的确定方法及设备
WO2018233020A1 (zh) 一种基于物联网的数据封装方法及系统
WO2018233048A1 (zh) 一种控制物联网终端设备通信的方法及系统
WO2018232958A1 (zh) 一种基于转发节点的终端设备自动升级方法及转发节点
WO2018232959A1 (zh) 一种借助相邻节点控制终端设备升级的方法及转发节点
CN107453941B (zh) 一种终端设备的物联网数据上报频率的控制及系统
WO2018232973A1 (zh) 一种物联网终端设备工作状态的控制方法及系统
CN107317854B (zh) 基于控制表的终端设备上报频率调节方法及路由节点
WO2018232967A1 (zh) 一种基于接入节点的物联网终端设备检测方法及系统
WO2018233036A1 (zh) 一种物联网数据的上报控制方法及设备
CN107465719B (zh) 一种应用于物联网的数据处理方法及系统
WO2018233028A1 (zh) 一种物联网数据上报控制方法及系统
WO2018233031A1 (zh) 一种基于物联网的数据传输控制方法及系统
WO2018232962A1 (zh) 一种物联网接入节点网络覆盖范围的调整方法及系统
WO2018233044A1 (zh) 一种基于过滤网关的物联网数据过滤方法及系统
WO2018233021A1 (zh) 一种控制物联网中数据封装的方法及系统
WO2018233022A1 (zh) 一种基于终端设备数量的数据封装控制方法及系统
CN107197442B (zh) 一种物联网数据的上报控制方法及系统
WO2018232965A1 (zh) 一种基于被监测设备更新路由信息表的方法及设备

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 23/06/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17915021

Country of ref document: EP

Kind code of ref document: A1