WO2018232958A1 - 一种基于转发节点的终端设备自动升级方法及转发节点 - Google Patents

一种基于转发节点的终端设备自动升级方法及转发节点 Download PDF

Info

Publication number
WO2018232958A1
WO2018232958A1 PCT/CN2017/098493 CN2017098493W WO2018232958A1 WO 2018232958 A1 WO2018232958 A1 WO 2018232958A1 CN 2017098493 W CN2017098493 W CN 2017098493W WO 2018232958 A1 WO2018232958 A1 WO 2018232958A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
operating system
target terminal
forwarding node
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/098493
Other languages
English (en)
French (fr)
Inventor
杜光东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Publication of WO2018232958A1 publication Critical patent/WO2018232958A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a terminal device automatic upgrade method and a forwarding node based on a forwarding node.
  • the Internet of Things is the Internet connected to things.
  • the core and foundation of the Internet of Things is still the Internet. It is an extended and extended network based on the Internet.
  • 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.
  • the embodiment of the invention discloses an automatic upgrade method and a forwarding node of a terminal device based on a forwarding node, which can implement automatic upgrade of the operating system of the mass terminal device and improve 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 automatically upgrading a terminal device based on a forwarding node, including:
  • the forwarding node listens to whether there is Internet of Things data initiated by the new terminal device in its own wireless coverage, and the Internet of Things data includes the new terminal device type and the operating system version number of the new terminal device;
  • the forwarding node identifies whether the target terminal device has been accessed within its own wireless coverage, the type of the target terminal device is the same as the new terminal device type, and the operating system version number of the target terminal device is low.
  • the operating system version number of the new terminal device is low.
  • the forwarding node reports a system upgrade package acquisition request to the aggregation unit by using the filtering gateway, where the request includes an operating system version number of the new terminal device;
  • the forwarding node after the forwarding node identifies that the target terminal device is accessed in its own wireless coverage, and the forwarding node passes the filtering gateway to the aggregation unit Before the system upgrade package is obtained, 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 identifies whether the type of the target terminal device belongs to the terminal device type that is interested in the aggregation unit, and if so, performs the filtering of the system upgrade packet acquisition request to the aggregation unit through the filtering gateway.
  • the forwarding node identifies that the type of the target terminal device belongs to a terminal device type that is interested in the aggregation unit, and the forwarding node Before the method of reporting the system upgrade package to the aggregation unit by the filtering gateway, 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. If the matching is performed, the system performs the system upgrade packet acquisition request to the aggregation unit through the filtering gateway.
  • the forwarding node acquires the location of the terminal device of the target terminal device, including:
  • the forwarding node sends a location acquisition request to the target terminal device to trigger the target terminal device to acquire at least two different positioning interfaces configured by the target terminal device, and the target terminal device sends the location request Up to the two different positioning interfaces, so that each of the positioning interfaces respectively sends the received positioning request to a corresponding positioning server; and the target terminal device acquires at least one of the positioning interfaces.
  • Positioning information sent by the server and obtaining a response time from the first time to the second time the first time is a time at which each positioning interface sends a positioning request, and the second time is each of the positioning a moment when the interface receives the location information; and, by the target terminal device, comparing the response time corresponding to each positioning interface with a response threshold, and receiving the location information from the positioning interface whose response time does not exceed the response threshold Extracting the highest positioning accuracy Location information as a terminal device location of the target terminal device;
  • the forwarding node receives a terminal device location of the target terminal device that is sent by the target terminal device.
  • 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 whether the Internet of Things data initiated by the new terminal device exists in the wireless coverage of the forwarding node, where the Internet of Things data includes a new terminal device type and an operating system version number of the new terminal device;
  • a first identifying unit configured to: when the listening unit detects the Internet of Things data initiated by the new terminal device in the wireless coverage of the forwarding node, whether the forwarding node has received the wireless coverage within the wireless coverage Entering the target terminal device, the type of the target terminal device 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;
  • a reporting unit configured to report, by the filtering gateway, a system upgrade package acquisition request to the aggregation unit when the first identification unit identifies that the target terminal device is accessed, where the request includes an operating system version of the new terminal device number;
  • An upgrade package 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 sending 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: after the first identifying unit identifies that the target terminal device has been accessed, the first filtering table that is sent by the aggregation unit by using the filtering gateway, the first filtering table Include a type of terminal device that is interested in the aggregation unit;
  • a second identifying 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 reporting unit is specifically configured to: when the first identifying unit identifies that the target terminal device has been accessed, and that the second identifying unit identifies that the type of the target terminal device belongs to the convergence unit sense When the terminal device type of interest is used, the system upgrade package acquisition request is reported to the aggregation unit through the filtering gateway.
  • the reading unit is further configured to: after the second identifying unit identifies that the type of the target terminal device belongs to a terminal device type that is interested in the aggregation unit, the forwarding node reads the convergence unit a second filtering table delivered by the filtering gateway, where the second filtering table includes 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 reporting unit is specifically configured to: when the first identifying unit identifies that the target terminal device has been accessed, and that the second identifying unit identifies that the type of the target terminal device belongs to the convergence unit sense When the type of the terminal device of interest is used, and when the determining unit determines that the location of the terminal device of the target terminal device matches the location of interest of the aggregation unit, the system upgrade packet acquisition request is reported to the aggregation unit through the filtering gateway.
  • the location acquiring unit includes:
  • a first subunit configured to send a location acquisition request to the target terminal device, to trigger the target terminal device to acquire at least two different positioning interfaces configured by the target terminal device, and the target terminal device And sending, by the target terminal device, at least one of the positioning requests to the at least two different positioning interfaces, so that each of the positioning interfaces respectively sends the received positioning request to a corresponding positioning server; Locating the location information sent by the location server corresponding to the interface and obtaining the response time from the first time to the second time, where the first time is sent for each positioning interface.
  • 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 upgrade package acquiring unit 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 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 sending 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 can detect its own wireless coverage when it detects the Internet of Things data including the new terminal device type and the operating system version number of the new terminal device initiated by the new terminal device in its own wireless coverage. Whether the target terminal device has the same type as 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 is already connected
  • the device forwards the system upgrade package requesting the operating system version number of the new terminal device to the aggregation unit through the filtering gateway, and upgrades the operating system version corresponding to the operating system version number of the new terminal device delivered by the filtering gateway.
  • the package is sent to the target terminal device for operating system upgrade. It can be seen that the implementation of the embodiment of the present invention can automatically upgrade the operating system of the mass terminal device connected to the Internet of Things, 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 an automatic upgrade method and a forwarding node of a terminal device based on a forwarding node, which can implement automatic upgrade of the operating system of the mass terminal device and improve 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 unit can not only analyze and make decisions about the Internet of Things data generated by the mass terminal equipment, but also obtain the information or configure the terminal equipment parameters by sending instructions (the data transmission is directed to the terminal equipment); the aggregation unit can also introduce various services. From big data to social networks, 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 enables each forwarding node to wirelessly communicate with each terminal device within its own wireless coverage by wireless network communication.
  • 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 diagram of a 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 its own wireless coverage of the Internet of Things data initiated by the new terminal device, the Internet of Things data includes the new terminal device type and the operating system version number of the new terminal device; if it exists, step 202; If it does not exist, end this process.
  • the new terminal device type 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 identifies whether the target terminal device is accessed in its own wireless coverage, 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 that of the new terminal device.
  • the operating system 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 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, it is determined whether the current system time of the forwarding node is located in the open time period, and if the current system time of the forwarding node is located in the open time period, the forwarding node passes the filtering gateway.
  • the system upgrade package acquisition request including the operating system version number of the new terminal device is reported to the aggregation unit.
  • the forwarding node may first detect the workload of the aggregation unit, and when the workload of the aggregation unit is lower than a specified threshold, the filtering gateway The aggregation unit reports a system upgrade package acquisition request including the operating system version number of the 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 can recognize the Internet of Things data including the new terminal device type and the operating system version number of the new terminal device initiated by the new terminal device in its own wireless coverage area. Whether the target terminal device has the same type as the new terminal device in the wireless coverage area, and the operating system version number of the target terminal device is lower than the operating system version number of the new terminal device; After the target device is connected to the target terminal device, the forwarding node reports the system upgrade package acquisition request including the operating system version number of the new terminal device to the aggregation unit, and the aggregation unit corresponds to the operating system version number of the new terminal device delivered by the filtering gateway. The operating system upgrade package is sent 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, 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 its own wireless coverage, there is the Internet of Things data initiated by the new terminal device, the Internet of Things data includes the new terminal device type and the operating system version number of the new terminal device; if yes, step 302; If it does not exist, end this process.
  • the forwarding node identifies whether the target terminal device is accessed in the wireless coverage area thereof, 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 that of the new terminal device.
  • the operating system version number if yes, perform steps 303 to 304; if not, end the process.
  • the forwarding node reads the first filtering table delivered by the aggregation unit by filtering the gateway, where the first filtering table includes a terminal device type that is interested in the aggregation unit.
  • the forwarding node identifies 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 sends a location acquisition request to the target terminal device to trigger the target terminal device to acquire at least two different positioning interfaces configured by the target terminal device (such as Baidu's nlpservice positioning interface, Gaode's nlpservice positioning interface, and Google's nlpservice positioning interface). And the destination terminal device sends the location 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; and is acquired by the target terminal device.
  • the target terminal device such as Baidu's nlpservice positioning interface, Gaode's nlpservice positioning interface, and Google's nlpservice positioning interface.
  • At least one location information sent by the positioning server corresponding to the positioning interface and obtaining a response time from the first time to the second time, where the first time is a time for sending a positioning request for each positioning interface, and the second time is received by each positioning interface a moment of the location information; and, by the target terminal device, comparing the response time corresponding to each positioning interface with the response threshold, and extracting the location with the highest positioning accuracy from the location information received by the positioning interface whose response time does not exceed the response threshold Information as the end of the target terminal device Device location;
  • the forwarding node receives the terminal device location of the target terminal device sent by the target terminal device.
  • the forwarding node determines whether the location of the terminal device of the target terminal device is interested in the convergence unit. The positions match, and if they match, steps 308 to 310 are performed; if they do not match, 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 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 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 310 may be:
  • 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 within the terminal device upgrade permission period. If the current system time of the forwarding node is within the terminal device upgrade permission period, the operation is performed. The system upgrade package is sent to the target 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 whether the forwarding node has its own wireless coverage or not Prepared IoT data, wherein the Internet of Things data includes a new terminal device type and an operating system version number of the new terminal device;
  • the first identifying unit 402 is configured to: when the listening unit 401 detects that the IoT data initiated by the new terminal device exists in the wireless coverage of the forwarding node, whether the forwarding terminal has access to the target terminal device in the wireless coverage of the node
  • 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 version number of the new terminal device;
  • the reporting unit 403 is configured to report, by the filtering gateway, a system upgrade package obtaining request to the aggregation unit when the first identifying unit 402 identifies that the target terminal device is accessed, where the system upgrade package obtaining request includes an operating system version of the new terminal device. number;
  • the upgrade package obtaining unit 404 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 issuing unit 405 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 reporting unit 403 may report the system upgrade package acquisition request to the aggregation unit by using the filtering gateway:
  • the reporting unit 403 can detect whether the forwarding node is configured with an open time period; wherein, in the open time period, the reporting unit 403 is allowed to report the system upgrade package acquisition request to the aggregation unit through the filtering gateway;
  • the reporting unit 403 determines whether the current system time of the forwarding node is located in the open time period, and if the current system time of the forwarding node is located in the open time period, the reporting is performed.
  • the unit 403 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 reporting unit 403 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.
  • implementing the forwarding node described in FIG. 4 can automatically upgrade the operating system of the mass terminal device connected to the Internet of Things, 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 FIG. 5 further includes:
  • the reading unit 406 is configured to: after the first identifying unit 402 identifies that the target terminal device has been accessed, the first filtering table that is sent by the aggregation unit by using the filtering gateway, where the first filtering table includes the Terminal device type;
  • a second identifying unit 407 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 reporting unit 403 is specifically configured to: when the first identifying unit 402 identifies that the target terminal device has been accessed, and when the second identifying unit 407 identifies that the type of the target terminal device belongs to a terminal device type of interest to the convergence unit, The system upgrade package acquisition request is reported to the aggregation unit through the filtering gateway.
  • the reading unit 406 is further configured to: after the second identification unit 407 identifies 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, wherein the second filter table includes a location of interest of the convergence unit;
  • the forwarding node shown in FIG. 5 may further include:
  • a location obtaining unit 408, configured to acquire a terminal device location of the target terminal device
  • the determining unit 409 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 reporting unit 403 is specifically configured to: when the first identifying unit 402 identifies that the target terminal device has been accessed, and when the second identifying unit 407 identifies that the type of the target terminal device belongs to a terminal device type of interest to the convergence unit, And when the determining unit 409 determines that the location of the terminal device of the target terminal device matches the location of interest of the aggregation unit, the system upgrades the system upgrade package acquisition request to the aggregation unit through the filtering gateway.
  • the location obtaining unit 408 includes:
  • a first sub-unit 4081 configured to send a location acquisition request to the target terminal device, to trigger the target terminal device to acquire at least two different positioning interfaces configured by the target terminal device, and send, by the target terminal device, the positioning request to the at least two a different positioning interface, so that each positioning interface separately sends the received positioning request to the corresponding positioning server; and the target terminal device acquires the location information sent by the positioning server corresponding to the at least one positioning interface and obtains the The response time from the moment to the second moment, the first moment is the moment when the positioning request is sent for each positioning interface, and the second moment is the moment when each positioning interface receives the location information; and, by the target terminal device The response time corresponding to the positioning interface is compared with the response threshold, and the location information with the highest positioning accuracy is extracted 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;
  • the second subunit 4082 is configured to receive a terminal device location of the target terminal device that is sent by the target terminal device.
  • the upgrade package obtaining unit 404 is specifically configured to receive a data packet delivered by the aggregation unit through the filtering gateway, where the data packet includes an operating system version of the new terminal device. No. corresponding to the operating system upgrade package, and the data package also includes interest with the aggregation unit The terminal device type and the location of interest of the aggregation unit simultaneously match the terminal device upgrade permission period; and, the operating system upgrade package corresponding to the operating system version number of the new terminal device is read from the data packet;
  • the sending unit 405 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.
  • the operating system upgrade package is delivered to the target terminal device during the upgrade license period.
  • implementing the forwarding node described in FIG. 5 can automatically upgrade the operating system of the mass terminal device connected to the Internet of Things, 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 call the program code stored in the memory 602 for performing the following operations:
  • the Internet of Things data includes the new terminal device type and the operating system version number of the new terminal device
  • 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;
  • the system upgrade packet obtaining request is sent to the aggregation unit by using the filtering gateway, where the request includes the operating system version number of the new terminal device;
  • the processor 601 After the processor 601 identifies that the target terminal device is accessed in its own wireless coverage, and before the system upgrade packet acquisition request is reported to the aggregation unit by using the filtering gateway, the processor 601 performs the following operations. :
  • the first filtering table includes a terminal device type that is interested in the aggregation unit, and the first filtering table is configured by the filtering aggregation unit;
  • the processor 601 after the processor 601 identifies that the type of the target terminal device belongs to the terminal device type that is interested in the aggregation unit, and before reporting the system upgrade package acquisition request to the aggregation unit by filtering the gateway, the processor 601 further performs The following operations:
  • the reading aggregation unit filters the second filtering table delivered by the gateway, where the second filtering table includes a location of interest of the convergence unit;
  • the processor 601 acquires a terminal device location of the target terminal device, including:
  • the location of the terminal device of the target terminal device ;
  • 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.
  • the forwarding node can detect its own wireless coverage when it detects the Internet of Things data including the new terminal device type and the operating system version number of the new terminal device initiated by the new terminal device in its own wireless coverage. Whether the target terminal device has the same type as 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 is already connected
  • the device forwards the system upgrade package requesting the operating system version number of the new terminal device to the aggregation unit through the filtering gateway, and upgrades the operating system version corresponding to the operating system version number of the new terminal device delivered by the filtering gateway.
  • the package is sent to the target terminal device for operating system upgrade. It can be seen that the implementation of the embodiment of the present invention can automatically upgrade the operating system of the mass terminal device connected to the Internet of Things, thereby improving the upgrade efficiency of the operating system of the mass terminal device.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种基于转发节点的终端设备自动升级方法及转发节点,包括:转发节点侦听到其自身无线覆盖范围内存在由新终端设备发起的包括新终端设备类型及新终端设备的操作系统版本号的物联网数据时,识别其自身无线覆盖范围内是否已接入目标终端设备,目标终端设备的类型与新终端设备类型相同,且目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;如果已接入,通过过滤网关向汇聚单元上报包括新终端设备的操作系统版本号的系统升级包获取请求;将汇聚单元通过过滤网关下发的新终端设备的操作系统版本号对应的操作系统升级包发给目标终端设备进行操作系统升级。实现海量终端设备的操作系统自动升级,提升海量终端设备的操作系统升级效率。

Description

一种基于转发节点的终端设备自动升级方法及转发节点 技术领域
本发明涉及物联网技术领域,尤其涉及一种基于转发节点的终端设备自动升级方法及转发节点。
背景技术
物联网就是物与物相连的互联网,物联网的核心和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络。在物联网的组网架构中,可以利用汇聚单元来充当物联网的人机接口,而且汇聚单元可以收集海量的终端设备(如湿度计、烟感器、通风设备、雨量传感器、灌溉阀等)上报的物联网数据进行分析和决策,从而可以为人们提供预警、异常等相关报告。
在实践中发现,连接物联网的很多终端设备都配置有传统网络协议栈,而传统网络协议栈的运行要求终端设备具备处理器、操作系统、存储器、接收、发送、输入以及输出等功能。为了升级具备操作系统的终端设备的功能,或为了防止具备操作系统的终端设备遭受黑客攻击,时常需要对终端设备的操作系统进行升级。然而,随着连接物联网的海量终端设备的规模越来越大,用户以手工方式逐一对海量终端设备中的每一终端设备的操作系统进行升级会严重降低海量终端设备的操作系统的升级效率。
发明内容
本发明实施例公开了一种基于转发节点的终端设备自动升级方法及转发节点,可以实现海量终端设备的操作系统自动升级,提升海量终端设备的操作系统的升级效率。
本发明实施例第一方面公开一种基于转发节点的终端设备自动升级方法,包括:
转发节点侦听其自身无线覆盖范围内是否存在由新终端设备发起的物联网数据,所述物联网数据包括新终端设备类型以及新终端设备的操作系统版本号;
如果存在,所述转发节点识别其自身无线覆盖范围内是否已接入目标终端设备,所述目标终端设备的类型与所述新终端设备类型相同,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
如果已接入所述目标终端设备,所述转发节点通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
所述转发节点获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,并将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点识别出其自身无线覆盖范围内已接入目标终端设备之后,以及所述转发节点通过过滤网关向汇聚单元上报系统升级包获取请求之前,所述方法还包括:
所述转发节点读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
所述转发节点识别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型,如果属于,执行所述的通过过滤网关向汇聚单元上报系统升级包获取请求。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点识别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,以及所述转发节点通过过滤网关向汇聚单元上报系统升级包获取请求之前,所述方法还包括:
所述转发节点读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
所述转发节点获取所述目标终端设备的终端设备位置;
所述转发节点判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配,如果相匹配,执行所述的通过过滤网关向汇聚单元上报系统升级包获取请求。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点获取所述目标终端设备的终端设备位置,包括:
所述转发节点向所述目标终端设备下发位置获取请求,以触发所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的 位置信息作为所述目标终端设备的终端设备位置;
所述转发节点接收所述目标终端设备发送的所述目标终端设备的终端设备位置。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,包括:
所述转发节点接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
所述转发节点从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
所述将所述操作系统升级包下发给所述目标终端设备,包括:
所述转发节点从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
本发明实施例第二方面公开一种转发节点,包括:
侦听单元,用于侦听所述转发节点自身无线覆盖范围内是否存在由新终端设备发起的物联网数据,所述物联网数据包括新终端设备类型以及新终端设备的操作系统版本号;
第一识别单元,用于在所述侦听单元侦听出所述转发节点自身无线覆盖范围内存在由新终端设备发起的物联网数据时,识别所述转发节点自身无线覆盖范围内是否已接入目标终端设备,所述目标终端设备的类型与所述新终端设备类型相同,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
上报单元,用于在所述第一识别单元识别出已接入所述目标终端设备时,通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
升级包获取单元,用于获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包;
下发单元,用于将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,在本发明实施例第二方面中,所述转发节点还包括:
读取单元,用于在所述第一识别单元识别出已接入所述目标终端设备之后,读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
第二识别单元,用于识别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型;
所述上报单元,具体用于在所述第一识别单元识别出已接入所述目标终端设备时,以及在所述第二识别单元识别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,通过过滤网关向汇聚单元上报系统升级包获取请求。
作为一种可选的实施方式,在本发明实施例第一方面中:
所述读取单元,还用于在所述第二识别单元识别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,所述转发节点读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
所述转发节点还包括:
位置获取单元,用于获取所述目标终端设备的终端设备位置;
判断单元,用于判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配;
所述上报单元,具体用于在所述第一识别单元识别出已接入所述目标终端设备时,以及在所述第二识别单元识别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,以及在所述判断单元判断出所述目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配时,通过过滤网关向汇聚单元上报系统升级包获取请求。
作为一种可选的实施方式,在本发明实施例第一方面中,所述位置获取单元包括:
第一子单元,用于向所述目标终端设备下发位置获取请求,以触发所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请 求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
第二子单元,用于接收所述目标终端设备发送的所述目标终端设备的终端设备位置。
作为一种可选的实施方式,在本发明实施例第一方面中,所述升级包获取单元,具体用于接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;以及,从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
所述下发单元,具体用于从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
与现有技术相比,本发明实施例具有以下有益效果:
本发明实施例中,转发节点侦听到其自身无线覆盖范围内存在由新终端设备发起的包括新终端设备类型及新终端设备的操作系统版本号的物联网数据时,可以识别其自身无线覆盖范围内是否已接入目标终端设备,该目标终端设备的类型与新终端设备类型相同,而且该目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;如果已接入目标终端设备,转发节点通过过滤网关向汇聚单元上报包括新终端设备的操作系统版本号的系统升级包获取请求,并将汇聚单元通过过滤网关下发的新终端设备的操作系统版本号对应的操作系统升级包发给目标终端设备进行操作系统升级。可见,实施本发明实施例,可以实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图;
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图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;如果不存在,结束本流程。
本发明实施例中,新终端设备类型可以用来标识新终端设备的类别和型号;新终端设备的操作系统版本号用于标识新终端设备的操作系统版本。
202、转发节点识别其自身无线覆盖范围内是否已接入目标终端设备,其中,目标终端设备的类型与上述新终端设备类型相同,并且目标终端设备的操作系统版本号低于上述新终端设备的操作系统版本号;如果存在,执行步骤203;如果不存在,结束本流程。
本发明实施例中,目标终端设备的操作系统版本号低于上述新终端设备的操作系统版本号时,说明目标终端设备的操作系统版本的等级低于上述新终端设备的操作系统版本的等级。
203、转发节点通过过滤网关向汇聚单元上报系统升级包获取请求,该系统升级包获取请求包括上述新终端设备的操作系统版本号。
本发明实施例中,上述步骤203中,转发节点通过过滤网关向汇聚单元上报系统升级包获取请求的方式可以为:
转发节点可以检测转发节点是否被配置有开放时间段;其中,在开放时间段内,转发节点被允许通过过滤网关向汇聚单元上报系统升级包获取请求;
如果转发节点检测出所述转发节点被配置有开放时间段,判断转发节点的当前系统时间是否位于上述开放时间段内,如果转发节点的当前系统时间位于上述开放时间段内,转发节点通过过滤网关向汇聚单元上报包括上述新终端设备的操作系统版本号的系统升级包获取请求。
优选地,转发节点在判断出转发节点的当前系统时间位于上述开放时间段内之后,转发节点可以先检测汇聚单元的工作负荷,在汇聚单元的工作负荷低于指定阈值时,才通过过滤网关向汇聚单元上报包括上述新终端设备的操作系统版本号的系统升级包获取请求。
其中,实施上述方式可以避免转发节点频繁地通过过滤网关向汇聚单元上报系统升级包获取请求而加剧汇聚单元的工作负荷。
204、转发节点获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包。
205、转发节点将获取到的操作系统升级包下发给目标终端设备,以使目标终端设备根据该操作系统升级包自动进行操作系统升级。
在图2所描述的方法中,转发节点侦听到其自身无线覆盖范围内存在由新终端设备发起的包括新终端设备类型及新终端设备的操作系统版本号的物联网数据时,可以识别其自身无线覆盖范围内是否已接入目标终端设备,该目标终端设备的类型与新终端设备类型相同,而且该目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;如果已接入目标终端设备,转发节点通过过滤网关向汇聚单元上报包括新终端设备的操作系统版本号的系统升级包获取请求,并将汇聚单元通过过滤网关下发的新终端设备的操作系统版本号对应的操作系统升级包发给目标终端设备进行操作系统升级。可见,实施图2所描述的方法,可以实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
实施例二
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了另一种基于转发节点的终端设备自动升级方法。请参阅图3,图3是本发明实施例公开的另一种基于转发节点的终端设备自动升级方法的流程示意图。如图3所示,该基于转发节点的终端设备自动升级方法可以包括以下步骤:
301、转发节点侦听其自身无线覆盖范围内是否存在由新终端设备发起的物联网数据,该物联网数据包括新终端设备类型以及新终端设备的操作系统版本号;如果存在,执行步骤302;如果不存在,结束本流程。
302、转发节点识别其自身无线覆盖范围内是否已接入目标终端设备,其中,目标终端设备的类型与上述新终端设备类型相同,并且目标终端设备的操作系统版本号低于上述新终端设备的操作系统版本号;如果存在,执行步骤303~步骤304;如果不存在,结束本流程。
303、转发节点读取汇聚单元通过过滤网关下发的第一过滤表,其中,第一过滤表包括汇聚单元感兴趣的终端设备类型。
304转发节点识别目标终端设备的类型是否属于汇聚单元感兴趣的终端设备类型,如果属于,执行步骤305~步骤307;如果不属于,结束本流程。
305、转发节点读取汇聚单元通过过滤网关下发的第二过滤表,其中,第二过滤表包括汇聚单元感兴趣的位置。
306、转发节点获取目标终端设备的终端设备位置。
作为一种可选的实施方式,上述步骤306中,转发节点获取目标终端设备的终端设备位置的方式可以为:
转发节点向目标终端设备下发位置获取请求,以触发目标终端设备获取目标终端设备配置的至少两个不同的定位接口(如百度的nlpservice定位接口、高德的nlpservice定位接口、谷歌的nlpservice定位接口等),并由目标终端设备将定位请求发送至上述至少两个不同的定位接口,以使每个定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由目标终端设备获取至少一个定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,第一时刻为每个定位接口发送定位请求的时刻,第二时刻为每个定位接口接收到位置信息的时刻;以及,由目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为目标终端设备的终端设备位置;
以及,转发节点接收目标终端设备发送的目标终端设备的终端设备位置。
307、转发节点判断目标终端设备的终端设备位置是否与汇聚单元感兴趣的 位置相匹配,如果相匹配,执行步骤308~步骤310;如果不相匹配,结束本流程。
本发明实施例中,转发节点判断目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配包括:目标终端设备的终端设备位置与汇聚单元感兴趣的位置重叠,或者目标终端设备的终端设备位置包含在汇聚单元感兴趣的位置中,又或者目标终端设备的终端设备位置与汇聚单元感兴趣的位置之间的距离小于指定阈值。
308、转发节点通过过滤网关向汇聚单元上报系统升级包获取请求,该系统升级包获取请求包括上述新终端设备的操作系统版本号。
309、转发节点获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包。
310、转发节点将获取到的操作系统升级包下发给目标终端设备,以使目标终端设备根据该操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,上述步骤309中,转发节点获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包的方式可以为:
转发节点接收汇聚单元通过过滤网关下发的数据包,该数据包包括上述新终端设备的操作系统版本号对应的操作系统升级包,并且该数据包还包括与汇聚单元感兴趣的终端设备类型和汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
转发节点从该数据包中读取上述新终端设备的操作系统版本号对应的操作系统升级包;
相应地,上述步骤310中将获取到的操作系统升级包下发给目标终端设备的方式可以为:
转发节点从该数据包中读取终端设备升级许可时段,并且判断转发节点的当前系统时间是否位于终端设备升级许可时段内,如果转发节点的当前系统时间位于终端设备升级许可时段内,将该操作系统升级包下发给目标终端设备。
可见,实施图3所描述的方法,可以实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
实施例三
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了一种转发节点。请参阅图4,图4是本发明实施例公开的一种转发节点的结构示意图。如图4所示,该转发节点可以包括:
侦听单元401,用于侦听转发节点自身无线覆盖范围内是否存在由新终端设 备发起的物联网数据,其中,物联网数据包括新终端设备类型以及新终端设备的操作系统版本号;
第一识别单元402,用于在侦听单元401侦听出转发节点自身无线覆盖范围内存在由新终端设备发起的物联网数据时,识别转发节点自身无线覆盖范围内是否已接入目标终端设备,其中,目标终端设备的类型与上述新终端设备类型相同,并且目标终端设备的操作系统版本号低于上述新终端设备的操作系统版本号;
上报单元403,用于在第一识别单元402识别出已接入目标终端设备时,通过过滤网关向汇聚单元上报系统升级包获取请求,该系统升级包获取请求包括上述新终端设备的操作系统版本号;
升级包获取单元404,用于获取汇聚单元通过过滤网关下发的上述新终端设备的操作系统版本号对应的操作系统升级包;
下发单元405,用于将该操作系统升级包下发给目标终端设备,以使目标终端设备根据该操作系统升级包自动进行操作系统升级。
作为一种可选的实施方式,上报单元403通过过滤网关向汇聚单元上报系统升级包获取请求的方式可以为:
上报单元403可以检测转发节点是否被配置有开放时间段;其中,在开放时间段内,上报单元403被允许通过过滤网关向汇聚单元上报系统升级包获取请求;
如果上报单元403检测出所述转发节点被配置有开放时间段,上报单元403判断转发节点的当前系统时间是否位于上述开放时间段内,如果转发节点的当前系统时间位于上述开放时间段内,上报单元403通过过滤网关向汇聚单元上报包括上述新终端设备的操作系统版本号的系统升级包获取请求。
其中,实施上述方式可以避免上报单元403频繁地通过过滤网关向汇聚单元上报系统升级包获取请求而加剧汇聚单元的工作负荷。
可见,实施图4所描述的转发节点,可以实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
实施例四
在图1所描述的物联网的组网架构的基础上,本发明实施例公开了另一种转发节点。请参阅图5,图5是本发明实施例公开的另一种转发节点的结构示意图。其中,图5所示的转发节点是由图4所示的转发节点进行优化得到的。与图4所示的转发节点相比较,图5所示的转发节点还包括:
读取单元406,用于在第一识别单元402识别出已接入目标终端设备之后,读取汇聚单元通过过滤网关下发的第一过滤表,其中,第一过滤表包括汇聚单元感兴趣的终端设备类型;
第二识别单元407,用于识别目标终端设备的类型是否属于汇聚单元感兴趣的终端设备类型;
相应地,上报单元403具体用于在第一识别单元402识别出已接入目标终端设备时,以及在第二识别单元407识别出目标终端设备的类型属于汇聚单元感兴趣的终端设备类型时,通过过滤网关向汇聚单元上报系统升级包获取请求。
作为一种可选的实施方式,读取单元406还用于在第二识别单元407识别出目标终端设备的类型属于汇聚单元感兴趣的终端设备类型之后,读取汇聚单元通过过滤网关下发的第二过滤表,其中,第二过滤表包括汇聚单元感兴趣的位置;
相应地,图5所示的转发节点还可以包括:
位置获取单元408,用于获取目标终端设备的终端设备位置;
判断单元409,用于判断目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配;
相应地,上报单元403具体用于在第一识别单元402识别出已接入目标终端设备时,以及在第二识别单元407识别出目标终端设备的类型属于汇聚单元感兴趣的终端设备类型时,以及在判断单元409判断出目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配时,通过过滤网关向汇聚单元上报系统升级包获取请求。
作为一种可选的实施方式,在图5所示的转发节点中,位置获取单元408包括:
第一子单元4081,用于向目标终端设备下发位置获取请求,以触发目标终端设备获取目标终端设备配置的至少两个不同的定位接口,并由目标终端设备将定位请求发送至上述至少两个不同的定位接口,以使每个定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由目标终端设备获取至少一个定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,第一时刻为每个定位接口发送定位请求的时刻,而第二时刻为每个定位接口接收到位置信息的时刻;以及,由目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为目标终端设备的终端设备位置;
第二子单元4082,用于接收目标终端设备发送的目标终端设备的终端设备位置。
作为一种可选的实施方式,在图5所示的转发节点中,升级包获取单元404具体用于接收汇聚单元通过过滤网关下发的数据包,该数据包包括新终端设备的操作系统版本号对应的操作系统升级包,并且该数据包还包括与汇聚单元感兴趣 的终端设备类型和汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;以及,从该数据包中读取新终端设备的操作系统版本号对应的操作系统升级包;
相应的,下发单元405具体用于从该数据包中读取终端设备升级许可时段,并且判断转发节点的当前系统时间是否位于终端设备升级许可时段内,如果转发节点的当前系统时间位于终端设备升级许可时段内,将操作系统升级包下发给目标终端设备。
可见,实施图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获取目标终端设备的终端设备位置,包括:
向目标终端设备下发位置获取请求,以触发目标终端设备获取目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
接收所述目标终端设备发送的所述目标终端设备的终端设备位置。
作为一种可选的实施方式,处理器601获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,包括:
接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
作为一种可选的实施方式,处理器601将所述操作系统升级包下发给所述目标终端设备,包括:
从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
本发明实施例中,转发节点侦听到其自身无线覆盖范围内存在由新终端设备发起的包括新终端设备类型及新终端设备的操作系统版本号的物联网数据时,可以识别其自身无线覆盖范围内是否已接入目标终端设备,该目标终端设备的类型与新终端设备类型相同,而且该目标终端设备的操作系统版本号低于新终端设备的操作系统版本号;如果已接入目标终端设备,转发节点通过过滤网关向汇聚单元上报包括新终端设备的操作系统版本号的系统升级包获取请求,并将汇聚单元通过过滤网关下发的新终端设备的操作系统版本号对应的操作系统升级包发给目标终端设备进行操作系统升级。可见,实施本发明实施例,可以实现连接物联网的海量终端设备的操作系统自动升级,从而可以提升海量终端设备的操作系统的升级效率。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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. 根据权利要求2、3或4所述的终端设备自动升级方法,其特征在于,所述转发节点获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包,包括:
    所述转发节点接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;
    所述转发节点从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
    所述将所述操作系统升级包下发给所述目标终端设备,包括:
    所述转发节点从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
  6. 一种转发节点,其特征在于,包括:
    侦听单元,用于侦听所述转发节点自身无线覆盖范围内是否存在由新终端设备发起的物联网数据,所述物联网数据包括新终端设备类型以及新终端设备的操作系统版本号;
    第一识别单元,用于在所述侦听单元侦听出所述转发节点自身无线覆盖范围内存在由新终端设备发起的物联网数据时,识别所述转发节点自身无线覆盖范围内是否已接入目标终端设备,所述目标终端设备的类型与所述新终端设备类型相 同,并且所述目标终端设备的操作系统版本号低于所述新终端设备的操作系统版本号;
    上报单元,用于在所述第一识别单元识别出已接入所述目标终端设备时,通过过滤网关向汇聚单元上报系统升级包获取请求,所述请求包括所述新终端设备的操作系统版本号;
    升级包获取单元,用于获取所述汇聚单元通过所述过滤网关下发的所述新终端设备的操作系统版本号对应的操作系统升级包;
    下发单元,用于将所述操作系统升级包下发给所述目标终端设备,以使所述目标终端设备根据所述操作系统升级包自动进行操作系统升级。
  7. 根据权利要求6所述的转发节点,其特征在于,还包括:
    读取单元,用于在所述第一识别单元识别出已接入所述目标终端设备之后,读取所述汇聚单元通过所述过滤网关下发的第一过滤表,所述第一过滤表包括所述汇聚单元感兴趣的终端设备类型;
    第二识别单元,用于识别所述目标终端设备的类型是否属于所述汇聚单元感兴趣的终端设备类型;
    所述上报单元,具体用于在所述第一识别单元识别出已接入所述目标终端设备时,以及在所述第二识别单元识别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,通过过滤网关向汇聚单元上报系统升级包获取请求。
  8. 根据权利要求7所述的转发节点,其特征在于:
    所述读取单元,还用于在所述第二识别单元识别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型之后,读取所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元感兴趣的位置;
    所述转发节点还包括:
    位置获取单元,用于获取所述目标终端设备的终端设备位置;
    判断单元,用于判断所述目标终端设备的终端设备位置是否与汇聚单元感兴趣的位置相匹配;
    所述上报单元,具体用于在所述第一识别单元识别出已接入所述目标终端设备时,以及在所述第二识别单元识别出所述目标终端设备的类型属于所述汇聚单元感兴趣的终端设备类型时,以及在所述判断单元判断出所述目标终端设备的终端设备位置与汇聚单元感兴趣的位置相匹配时,通过过滤网关向汇聚单元上报系统升级包获取请求。
  9. 根据权利要求8所述的转发节点,其特征在于,所述位置获取单元包括: 第一子单元,用于向所述目标终端设备下发位置获取请求,以触发所述目标终端设备获取所述目标终端设备配置的至少两个不同的定位接口,并由所述目标终端设备将定位请求发送至所述至少两个不同的定位接口,以使每个所述定位接口分别将接收到的定位请求发送给各自对应的定位服务器;以及,由所述目标终端设备获取至少一个所述定位接口对应的定位服务器发送的位置信息并获取从第一时刻到第二时刻的响应时间,所述第一时刻为每个所述定位接口发送定位请求的时刻,所述第二时刻为每个所述定位接口接收到所述位置信息的时刻;以及,由所述目标终端设备将与每个定位接口对应的响应时间与响应阈值进行比较,并从响应时间未超过响应阈值的定位接口所接收的位置信息中提取定位精度最高的位置信息作为所述目标终端设备的终端设备位置;
    第二子单元,用于接收所述目标终端设备发送的所述目标终端设备的终端设备位置。
  10. 根据权利要求7、8或9所述的转发节点,其特征在于,所述升级包获取单元,具体用于接收所述汇聚单元通过所述过滤网关下发的数据包,所述数据包包括所述新终端设备的操作系统版本号对应的操作系统升级包,并且所述数据包还包括与所述汇聚单元感兴趣的终端设备类型和所述汇聚单元感兴趣的位置同时匹配的终端设备升级许可时段;以及,从所述数据包中读取所述新终端设备的操作系统版本号对应的操作系统升级包;
    所述下发单元,具体用于从所述数据包中读取所述终端设备升级许可时段,并且判断所述转发节点的当前系统时间是否位于所述终端设备升级许可时段内,如果所述转发节点的当前系统时间位于所述终端设备升级许可时段内,将所述操作系统升级包下发给所述目标终端设备。
PCT/CN2017/098493 2017-06-19 2017-08-22 一种基于转发节点的终端设备自动升级方法及转发节点 Ceased WO2018232958A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710462996.1A CN107423089B (zh) 2017-06-19 2017-06-19 一种基于转发节点的终端设备自动升级方法及转发节点
CN201710462996.1 2017-06-19

Publications (1)

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

Family

ID=60429048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098493 Ceased WO2018232958A1 (zh) 2017-06-19 2017-08-22 一种基于转发节点的终端设备自动升级方法及转发节点

Country Status (2)

Country Link
CN (1) CN107423089B (zh)
WO (1) WO2018232958A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831313A (zh) * 2020-06-08 2020-10-27 珠海格力电器股份有限公司 一种空调监控管理方法、装置及系统
EP3862877A1 (en) * 2020-02-10 2021-08-11 Nokia Solutions and Networks Oy Automatic configuration of an extended service appliance for network routers
EP3863225A1 (en) * 2020-02-10 2021-08-11 Nokia Solutions and Networks Oy Backpressure from an external processing system transparently connected to a router

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
CN102448057A (zh) * 2012-02-02 2012-05-09 厦门欣嘉朗光电科技有限公司 一种物联网系统及其组网方法
CN104320279A (zh) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 一种业务升级的方法及系统
CN104750506A (zh) * 2013-12-30 2015-07-01 海尔集团公司 一种智能家电wifi模块软件自动升级方法

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
CN102448057A (zh) * 2012-02-02 2012-05-09 厦门欣嘉朗光电科技有限公司 一种物联网系统及其组网方法
CN104750506A (zh) * 2013-12-30 2015-07-01 海尔集团公司 一种智能家电wifi模块软件自动升级方法
CN104320279A (zh) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 一种业务升级的方法及系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3862877A1 (en) * 2020-02-10 2021-08-11 Nokia Solutions and Networks Oy Automatic configuration of an extended service appliance for network routers
EP3863225A1 (en) * 2020-02-10 2021-08-11 Nokia Solutions and Networks Oy Backpressure from an external processing system transparently connected to a router
US11362895B2 (en) 2020-02-10 2022-06-14 Nokia Solutions And Networks Oy Automatic configuration of an extended service appliance for network routers
US11736415B2 (en) 2020-02-10 2023-08-22 Nokia Solutions And Networks Oy Backpressure from an external processing system transparently connected to a router
CN111831313A (zh) * 2020-06-08 2020-10-27 珠海格力电器股份有限公司 一种空调监控管理方法、装置及系统

Also Published As

Publication number Publication date
CN107423089B (zh) 2019-07-09
CN107423089A (zh) 2017-12-01

Similar Documents

Publication Publication Date Title
US11374847B1 (en) Systems and methods for switch stack emulation, monitoring, and control
WO2018233016A1 (zh) 一种边缘路由节点及其上报频率调整方法
CN107453941B (zh) 一种终端设备的物联网数据上报频率的控制及系统
WO2018232976A1 (zh) 一种终端设备的工作状态的确定方法及设备
WO2018233030A1 (zh) 一种基于传输时长的物联网数据上报控制方法及转发节点
WO2018232973A1 (zh) 一种物联网终端设备工作状态的控制方法及系统
WO2018233036A1 (zh) 一种物联网数据的上报控制方法及设备
WO2018233018A1 (zh) 一种基于终端设备优先级的数据上报控制方法及系统
CN113300879A (zh) 设备零配置开局的方法、系统及计算机可读介质
WO2018233017A1 (zh) 基于控制表的终端设备上报频率调节方法及路由节点
WO2018232965A1 (zh) 一种基于被监测设备更新路由信息表的方法及设备
CN107423089B (zh) 一种基于转发节点的终端设备自动升级方法及转发节点
CN112491669A (zh) 一种数据的处理方法、装置以及系统
WO2018232959A1 (zh) 一种借助相邻节点控制终端设备升级的方法及转发节点
CN107465719B (zh) 一种应用于物联网的数据处理方法及系统
WO2018233006A1 (zh) 一种基于场景信息的物联网数据智能过滤方法及系统
WO2018232977A1 (zh) 一种修正终端设备的工作状态的方法及设备
WO2018232964A1 (zh) 一种控制边缘路由节点更新路由信息表的方法及设备
WO2018233031A1 (zh) 一种基于物联网的数据传输控制方法及系统
WO2018233027A1 (zh) 一种物联网中选择转发路径进行数据上报的方法及设备
WO2018232969A1 (zh) 一种基于过滤网关的终端设备工作状态检测方法及系统
WO2018233021A1 (zh) 一种控制物联网中数据封装的方法及系统
WO2018233022A1 (zh) 一种基于终端设备数量的数据封装控制方法及系统
CN107197442B (zh) 一种物联网数据的上报控制方法及系统
CN107360097A (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: 17914718

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 1205A DATED 15/05/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17914718

Country of ref document: EP

Kind code of ref document: A1