CN111181752B - Narrowband device upgrading method, mobile terminal and readable storage medium - Google Patents

Narrowband device upgrading method, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN111181752B
CN111181752B CN201811342372.7A CN201811342372A CN111181752B CN 111181752 B CN111181752 B CN 111181752B CN 201811342372 A CN201811342372 A CN 201811342372A CN 111181752 B CN111181752 B CN 111181752B
Authority
CN
China
Prior art keywords
narrowband
equipment
upgrade
upgrading
narrow
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.)
Active
Application number
CN201811342372.7A
Other languages
Chinese (zh)
Other versions
CN111181752A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201811342372.7A priority Critical patent/CN111181752B/en
Priority to PCT/CN2019/112607 priority patent/WO2020098457A1/en
Publication of CN111181752A publication Critical patent/CN111181752A/en
Application granted granted Critical
Publication of CN111181752B publication Critical patent/CN111181752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for upgrading narrow-band equipment, which comprises the steps of receiving the version number of the narrow-band equipment sent by the narrow-band equipment; extracting a corresponding target upgrade package from a current version library according to the version number of the narrow-band equipment; and transmitting the target upgrading packet to narrow-band equipment. The invention also discloses a mobile terminal and a computer readable storage medium. The narrowband equipment is only accessed to the management network for upgrading, and is not required to be accessed to the public network for upgrading, so that the power consumption of the narrowband equipment is effectively reduced, the size of a power supply of the narrowband equipment is greatly reduced, and the narrowband equipment is miniaturized.

Description

Narrowband device upgrading method, mobile terminal and readable storage medium
Technical Field
The present invention relates to the field of client device management, and in particular, to a narrowband device upgrade method, a mobile terminal, and a readable storage medium.
Background
In order to optimize and increase functions, equipment is generally upgraded; at present, equipment is upgraded mainly by accessing a public network and interacting with an upgrade server; the device upgrading by accessing the public network needs larger power consumption, but some devices cannot be provided with an overlarge power supply due to the requirement, such as narrow-band devices; the narrow-band equipment is characterized by ultra-low bandwidth and ultra-low power consumption, and if the narrow-band equipment is accessed into a public network for interaction, higher bandwidth is required, and the power consumption is higher; if the narrow-band device is upgraded in a mode of accessing the result public network, the narrow-band device is equivalent to the upgrading of the narrow-band device as an intelligent device, the narrow-band device needs to be provided with a large-capacity battery, and the large-capacity battery has a relatively large volume, so that the narrow-band device cannot be miniaturized.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method for upgrading narrow-band equipment, and aims to solve the technical problem that the narrow-band equipment needs high power consumption and needs to be provided with a large-volume power supply because the narrow-band equipment is upgraded by accessing public network interaction.
In order to achieve the above object, the present invention provides a method for upgrading a narrowband device, including:
receiving the version number of the narrowband equipment sent by the narrowband equipment;
extracting a corresponding target upgrade package from a current version library according to the version number of the narrow-band equipment;
and transmitting the target upgrading packet to narrow-band equipment.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: a memory, a processor and a narrowband device upgrade program stored on the memory and executable on the processor, the narrowband device upgrade program, when executed by the processor, implementing the steps of the narrowband device upgrade method as described above.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having a narrowband device upgrade program stored thereon, which when executed by a processor, implements the steps of the narrowband device upgrade method as described above.
The embodiment of the invention provides a narrowband device upgrading method, a mobile terminal and a storage medium, wherein the version number of the narrowband device sent by the narrowband device is obtained; extracting a corresponding upgrade package from a current version library according to the version number of the narrow-band equipment; the upgrading packet is issued to the narrow-band equipment, a feedback instruction of the narrow-band equipment for receiving the upgrading packet is obtained after the upgrading packet is issued, and the narrow-band equipment is confirmed to receive the upgrading packet and then issues the upgrading instruction so as to ensure that the narrow-band equipment can finish upgrading; if the upgrade package is not sent to the narrow-band equipment within the first preset time, or after the upgrade package is sent within the first preset time, an upgrade instruction is not issued to the narrow-band equipment within the second preset time, the connection with the narrow-band equipment is disconnected, and therefore the power consumption of the narrow-band equipment is reduced; the narrowband equipment is only required to be accessed into the management network for upgrading, and is not required to be accessed into the public network for upgrading, so that the power consumption of the narrowband equipment is effectively reduced, the size of a power supply of the narrowband equipment is greatly reduced, and the narrowband equipment is miniaturized.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a narrowband device upgrading method according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of communication connection in an embodiment of a narrowband device upgrading method according to the present invention;
fig. 4 is a schematic flowchart of a narrowband device upgrading method according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of a process of downloading an upgrade package by a client according to an embodiment of the narrowband device upgrade method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: receiving the version number of the narrowband equipment; extracting a corresponding upgrade package from a current version library according to the version number of the narrow-band equipment; the upgrading packet is issued to the narrowband equipment, a feedback instruction of the narrowband equipment receiving the upgrading packet is obtained after the upgrading packet is issued, and the upgrading instruction is issued after the narrowband equipment receiving the upgrading packet is confirmed, so that the narrowband equipment can be guaranteed to be upgraded; and if the upgrade package is not sent to the narrow-band equipment within the first preset time length, or after the upgrade package is sent within the first preset time length, the upgrade instruction is not sent to the narrow-band equipment within the second preset time length, and then the connection with the narrow-band equipment is disconnected.
In the prior art, the equipment is upgraded mainly by accessing a public network and interacting with an upgrade server at present; while the access to the public network for equipment upgrade requires relatively high power consumption, the narrowband equipment is characterized by ultra-low bandwidth and ultra-low power consumption requirements, and if the narrowband equipment is accessed to the public network for interaction, the narrowband equipment requires relatively high bandwidth and relatively high power consumption.
The invention provides a solution, which enables the narrowband equipment to be upgraded only by accessing the management network, but not by accessing the public network, thereby realizing that the narrowband equipment can be upgraded without accessing the public network, effectively reducing the power consumption of the narrowband equipment, greatly reducing the volume of a power supply of the narrowband equipment and miniaturizing the narrowband equipment.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the present invention may be a PC, or may be a mobile terminal device or a non-mobile terminal device such as a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, moving Picture Experts compress standard Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, moving Picture Experts compress standard Audio Layer 3) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, e.g. a CPU, a user interface 1003, a network interface 1004, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may be, but is not limited to, a Display (Display), an input unit such as a Keyboard (Keyboard), etc., and in one embodiment, the user interface 1003 may be any suitable interface such as a standard wired interface, a wireless interface, etc., or any combination of one or more interfaces. The network interface 1004 may be, but is not limited to, any suitable network interface, such as a standard wired interface, a wireless interface (e.g., WI-FI interface), etc., and may of course be any combination of one or more interfaces. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may also be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system 100a, a network communication module 100b, a user interface module 100c, a narrowband device upgrade program 100d, and the like.
In the terminal shown in fig. 1, the network interface 1004 may be used for connecting to a backend server (not shown in the figure) and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (a user end, not shown in the figure) and performing data communication with the client; and the processor 1001 may be configured to invoke the narrowband device upgrade program 100d stored in the memory 1005 and perform the following operations:
receiving the version number of the narrowband equipment sent by the narrowband equipment;
extracting a corresponding target upgrade package from a current version library according to the version number of the narrow-band equipment;
and issuing the target upgrading packet to narrow-band equipment.
Further, before the step of receiving the version number of the narrowband device sent by the narrowband device, the processor 1001 may call the narrowband device upgrade program 100d stored in the memory 1005, and further perform the following operations:
acquiring an online notification sent by the narrowband equipment;
acquiring a registration application sent by the narrow-band equipment according to the online notification sent by the narrow-band equipment;
and establishing a mapping transmission relation with the narrowband equipment according to the registration application sent by the narrowband equipment.
Further, before the step of acquiring the on-line notification sent by the narrowband device, the processor 1001 may call the narrowband device upgrade program 100d stored in the memory 1005, and further perform the following operations:
and establishing a communication connection with the narrowband equipment based on the LWM2M communication protocol.
Further, before the step of extracting the corresponding target upgrade package from the current version library according to the version number of the narrowband device, the processor 1001 may call the narrowband device upgrade program 100d stored in the memory 1005, and further perform the following operations:
sending a first upgrade package acquisition request to an upgrade server;
the download upgrade server acquires a first upgrade package requesting feedback based on the first upgrade package;
and saving the first upgrade package to a version library to establish the version library.
Further, after the step of issuing the target upgrade package to the narrowband device, the processor 1001 may call the narrowband device upgrade program 100d stored in the memory 1005, and further perform the following operations:
acquiring a first feedback instruction of the narrow-band equipment receiving the target upgrade package;
issuing an upgrading instruction to the narrow-band equipment according to the first feedback instruction;
acquiring a second feedback instruction of the narrowband equipment, which is upgraded successfully according to the upgrading instruction;
and disconnecting the connection with the narrowband equipment according to a second feedback instruction of the narrowband equipment.
Further, before the step of obtaining that the narrowband device receives the first feedback instruction of the target upgrade package, the processor 1001 may call the narrowband device upgrade program 100d stored in the memory 1005, and further perform the following operations:
judging whether a first feedback instruction of the target upgrade package received by the narrow band equipment is not obtained within a first preset time length;
if the first feedback instruction of the narrow-band equipment is not obtained within a first preset time length, disconnecting the narrow-band equipment;
further, after the step of acquiring that the narrowband device receives the first feedback instruction of the upgrade package, the processor 1001 may call the narrowband device upgrade program 100d stored in the memory 1005, and further perform the following operations:
judging whether an upgrading instruction is not issued to the narrow-band equipment within a second preset time length;
and if the upgrading instruction is not issued to the narrow-band equipment within the second preset time length, disconnecting the narrow-band equipment from the upgrading instruction.
Further, after the step of disconnecting the narrowband device, the processor 1001 may call the narrowband device upgrade program 100d stored in the memory 1005, and further perform the following operations:
sending a second upgrade package acquisition request to an upgrade server;
acquiring a second upgrade package fed back by the upgrade server based on a second upgrade package acquisition request;
and updating the current version library according to the second upgrade package fed back by the upgrade server.
Based on the above hardware structure, the embodiment of the method of the present invention is provided.
Referring to fig. 2, in a first embodiment of the narrowband device upgrading method of the present invention, the narrowband device upgrading method includes:
step S10, receiving the version number of the narrow-band equipment sent by the narrow-band equipment;
the execution subject of the method of this embodiment may be an upgrade proxy terminal, and the upgrade proxy terminal may be borne in a network server.
As shown in fig. 3, when the narrowband device performs device upgrade, the narrowband device is only directly connected to the upgrade proxy terminal; the narrowband equipment can request the upgrade package to the upgrade proxy terminal for upgrading, and the narrowband equipment can also send the version number of the narrowband equipment to the upgrade proxy terminal; before receiving the version number of the narrowband equipment sent by the narrowband equipment, the upgrading agent terminal firstly starts a timer to time, and sets the version number sent by the narrowband equipment after the upgrading agent terminal finishes receiving within a preset time length; under normal conditions, the upgrading agent terminal can finish receiving the version number sent by the narrow-band equipment within a preset time length; if the upgrading agent terminal does not finish receiving the version number sent by the narrowband equipment within the preset time length, the network connection with the narrowband equipment is disconnected, and the narrowband equipment is prevented from being in a network connection state for a long time to wait for an instruction; the narrowband equipment sends the version number of the narrowband equipment to the upgrading agent terminal, and then the upgrading agent terminal receives the current corresponding version number of the narrowband equipment.
The narrow-band equipment is hardware equipment which needs to obtain an upgrade package to upgrade equipment firmware, such as a well lid, a water meter, an electric meter and the like; the request upgrading packet instruction means that in order to optimize the firmware of the narrowband equipment, the narrowband equipment needs to acquire an upgrading packet at intervals to upgrade the equipment firmware, and the narrowband equipment needs to send the version number of the narrowband equipment to an upgrading agent terminal when acquiring the upgrading packet; the version number of the narrowband device refers to a version number corresponding to the current firmware of the narrowband device that needs firmware upgrade, for example, if the version number corresponding to the current firmware of the narrowband device is V1, the version number corresponding to the current narrowband device is V1.
Step S20, extracting a corresponding target upgrade package from the current version library according to the version number of the narrow-band equipment;
after the upgrading agent terminal receives the version number corresponding to the narrowband equipment currently sent by the narrowband equipment; and the upgrading agent terminal searches the corresponding upgrading packet in the current version library according to the version number of the narrowband equipment and then extracts the corresponding upgrading packet searched in the current version library.
The current version library is a storage library preset for providing an upgrade package of a corresponding version for the narrowband equipment needing firmware upgrade, and the upgrade package required by equipment upgrade for the narrowband equipment is stored in the storage library; extracting a corresponding target upgrading packet, namely determining a version number which is newer than the version number corresponding to the current firmware of the narrow-band equipment by the upgrading agent terminal according to the version number corresponding to the current firmware of the narrow-band equipment, and extracting the upgrading packet corresponding to the upgraded version number; for example, if the version number corresponding to the current firmware of the narrowband device is V1, and the firmware version number updated from V1 is V2, the upgrade proxy terminal finds a target upgrade patch corresponding to the firmware version number V2 in the current version library, and extracts the target upgrade patch with the firmware version number V2.
It should be noted here that if there are a plurality of upgrade packages with firmware version numbers, the upgrade package with the latest firmware version number is stored in the current version library, and the upgrade package with the latest firmware version number is extracted according to the version number of the narrowband device; for example, the firmware version numbers are respectively V0, V1, V2, and V3, and V0, V1, V2, and V3 appear in sequence according to the time sequence, that is, the current latest firmware version number is V3; if the upgrading package of the V2 firmware version number exists in the version library firstly and the upgrading package of the V3 firmware version number exists, only the latest V3 firmware version number is stored, the upgrading package of the V2 firmware version number is not stored, and the upgrading agent terminal extracts the upgrading package corresponding to the V3 version number instead of the upgrading package corresponding to the V2 version number according to the version number V1 of the narrow-band equipment.
And step S30, sending the target upgrading packet to narrow-band equipment.
And after the upgrading agent terminal searches and extracts the target upgrading packet corresponding to the firmware version number in the current version library, the target upgrading packet extracted from the current version library is issued to the narrow-band equipment. For example, if the target upgrade package with the firmware version number V2 is found and extracted from the current version library, the target upgrade package with the firmware version number V2 is issued to the narrowband device.
In this embodiment, the upgrade proxy terminal searches and extracts a corresponding target upgrade package in the current version library according to the version number of the narrowband device by receiving the version number of the narrowband device sent by the narrowband device, and then issues the extracted target upgrade package to the narrowband device, so that the narrowband device completes a device upgrade function after acquiring the target upgrade package; when the upgrading agent terminal is connected with the narrow-band equipment for upgrading, in the upgrading process of the narrow-band equipment, since the upgrading packet can be directly obtained from the current version library through the upgrading agent for upgrading, the narrow-band equipment does not need to be directly connected to a public network for interaction, the situation that the narrow band needs to be accessed to the public network for interaction through the upgrading agent terminal is avoided, the narrow-band equipment and the public network need to wait for the feedback of the upgrading agent terminal every time when receiving and sending data and instructions, and the power consumption of the narrow-band equipment is waited for a long time and wasted; meanwhile, the problem that narrow-band equipment needs higher bandwidth when being connected to a public network and generates higher power consumption when interacting is avoided; the problem that the narrow-band equipment cannot receive the transmission data transmitted from the public network end to the narrow-band equipment end due to the fact that the narrow-band equipment is small in bandwidth is solved; the narrow-band equipment is only connected to the management network and is connected and interacted with the upgrading agent terminal to upgrade the equipment, so that the power consumption of the narrow-band equipment is reduced.
Referring to fig. 4, in a second embodiment of the method for upgrading a narrowband device according to the present invention, based on the embodiment shown in fig. 2, before step S10, the method further includes:
step S41, acquiring an online notification sent by the narrow-band equipment;
the upgrading agent terminal acquires the online notification of the narrow-band equipment in real time, the narrow-band equipment can be accessed to the management network regularly or irregularly, and when the narrow-band equipment is accessed to the management network, the upgrading agent terminal can accurately acquire the online notification sent by the narrow-band equipment, and which narrow-band equipment nearby is accessed to the management network; the online notification refers to a notification that the narrowband equipment has accessed the management network and is sent after the narrowband equipment has accessed the management network; when the narrowband equipment needs to be upgraded, the narrowband equipment is firstly accessed into the management network, and sends an online notification after being accessed into the management network, and the narrowband equipment is informed to the nearby upgrading agent terminal by sending the online notification, and is already accessed into the management network. For example, there are 6 narrowband devices nearby, which are narrowband device 1, narrowband device 2, narrowband device 3, narrowband device 4, narrowband device 5, and narrowband device 6, respectively, and if the narrowband device 3 is accessed to the management network at a certain time, the online notification sent by the narrowband device 3 can be accurately obtained; if the narrowband device 6 is accessed to the management network at a certain moment, the online notification sent by the narrowband device 6 can be accurately obtained; of course the number of nearby narrowband devices may be more or less than 6.
Step S42, acquiring a registration application sent by the narrowband equipment according to the online notification sent by the narrowband equipment;
the method comprises the steps that an upgrading agent terminal accesses a management network according to narrow-band equipment, after an online notification sent by the narrow-band equipment is accurately obtained, the narrow-band equipment sends a registration application to the upgrading agent terminal, and the upgrading agent terminal obtains the registration application from the narrow-band equipment sending the online notification; the registration application is sent to the upgrading agent terminal for the purpose that the narrowband equipment can realize one-to-one data transmission relationship with the upgrading agent terminal, and accurate data transmission is carried out, so that the data and the instruction of the narrowband equipment can be accurately transmitted to the appointed upgrading agent terminal, and the data and the instruction of the appointed upgrading agent terminal can be accurately transmitted to the narrowband equipment; the registration application is issued after the on-line notification is sent. For example, there are 5 narrowband devices nearby, which are narrowband device 1, narrowband device 2, narrowband device 3, narrowband device 4, and narrowband device 5, respectively, and if the narrowband device 3 accesses the management network at a certain time, the registration application is acquired from the narrowband device 3 after the online notification of the narrowband device 3 is accurately acquired. And S43, establishing a mapping transmission relation with the narrowband equipment according to the registration application sent by the narrowband equipment.
After the upgrading agent terminal acquires the registration application sent by the narrow-band equipment, a mapping transmission relation is established between the upgrading agent terminal and the narrow-band equipment applying for registration according to the registration application sent by the narrow-band equipment, so that data interaction between the upgrading agent terminal and the narrow-band equipment is further promoted; the mapping transmission relation refers to a one-to-one corresponding data transmission relation between the narrowband equipment and the upgrading agent terminal, in the upgrading process, data of the narrowband equipment is sent to the upgrading agent terminal with the mapping transmission relation established in an appointed mode, and data of the upgrading agent terminal is sent to the narrowband equipment with the mapping transmission relation established in an appointed mode.
For convenience of understanding, for example, 5 narrowband devices are nearby, which are the narrowband device 1, the narrowband device 2, the narrowband device 3, the narrowband device 4, and the narrowband device 5, respectively, and if the narrowband device 3 is accessed to the management network at a certain time, the upgrade agent terminal accurately obtains the online notification of the narrowband device 3 and then obtains a registration application from the narrowband device 3; and according to the registration application of the narrowband device 3, the upgrade proxy terminal establishes a mapping transmission relationship with the narrowband device 3, but not with other narrowband devices outside the narrowband device 3, such as the narrowband device 1 or the narrowband device 2, so as to further perform data interaction between the upgrade proxy terminal and the narrowband device 3.
In this embodiment, before receiving the version number of the narrowband device sent by the narrowband device, the upgrade agent terminal first obtains an online notification sent by the narrowband device, and obtains a registration application sent by the narrowband device according to the online notification of the narrowband device, and then establishes a mapping transmission relationship between the upgrade agent terminal and the narrowband device, so that the compatibility between the narrowband device and the upgrade agent terminal is better, interactive data can be expanded according to requirements, and finally the upgrade agent terminal performs device upgrade data interaction with the narrowband device; the upgrading data transmission is carried out after the mapping transmission relation is established between the upgrading agent terminal and the narrow-band equipment, so that the data transmission between the upgrading agent terminal and the narrow-band equipment is more accurate and reliable.
Further, step S41 is preceded by:
and S50, establishing communication connection with the narrow-band equipment based on the LWM2M communication protocol.
When network interaction protocols such as an HTTP (HyperText Transfer Protocol) communication Protocol, an FTP (File Transfer Protocol) communication Protocol, an oma dm (Open Mobile alliance device Management) communication Protocol are used for data interaction, higher bandwidth is required and higher power consumption is required, so that a narrow-band device with the characteristic of lower bandwidth cannot be directly adopted; aiming at the characteristic that the narrow-band equipment is not directly accessed To a public network for interaction, the upgrading agent terminal expands an LWM2M (light Machine-To-Machine) communication protocol, and establishes communication connection with the narrow-band equipment based on the LWM2M communication protocol; the upgrading agent terminal interacts with the narrow-band equipment through the LWM2M communication protocol, and the network interaction protocols such as the common HTTP communication protocol, the common FTP communication protocol, the common OMADM communication protocol and the like are not directly adopted; compared with the HTTP communication protocol, the FTP communication protocol, the OMADM communication protocol and the like, the LWM2M communication protocol has the significance that when the LWM2M communication protocol is used for completing data interaction of equipment upgrading of narrow-band equipment, data transmitted in the data interaction with the narrow-band equipment is required, and thousands of times of data are transmitted by adopting the LWM2M communication protocol in a manner that the data is less than that of the HTTP communication protocol, the FTP communication protocol and the OMADM communication protocol.
It should be noted that, in order to better achieve the object of the present invention, in the embodiment of the present invention, an LWM2M communication protocol is adopted, and in the data interaction between the upgrade proxy terminal and the narrowband device, if there is another network interaction protocol which can replace the LWM2M communication protocol and achieve the effect of reducing a large amount of data transmission, the LWM2M communication protocol may also be replaced by another network interaction protocol, so as to achieve the same object.
In the embodiment, by utilizing the characteristic that the narrowband equipment is not directly accessed to a public network for interaction, the LWM2M communication protocol is expanded to carry out interactive upgrade with the narrowband equipment, so that the phenomenon that larger data transmission is generated when other communication protocols are adopted for interaction is avoided; the upgrading agent terminal adopts the LWM2M communication protocol to interact with the narrow-band equipment, thereby greatly reducing transmission data interacted between the upgrading agent terminal and the narrow-band equipment and further achieving the purpose of reducing the power consumption of the narrow-band equipment.
Further, step S20 is preceded by:
step S61, sending a first upgrade package acquisition request to an upgrade server;
as shown in fig. 3, the upgrade proxy terminal is directly connected to the upgrade server for data interaction, and the narrowband device does not need to be connected to the upgrade proxy terminal; before the upgrading agent terminal obtains the corresponding upgrading packet from the current version library according to the version number of the narrow-band equipment, the upgrading agent terminal needs to send a first upgrading packet obtaining request to an upgrading server in order to provide the corresponding target upgrading packet for the narrow-band equipment; the first upgrade package acquisition request refers to that the upgrade proxy terminal establishes a version library locally in order to provide an upgrade package for the narrowband equipment, the version library stores the upgrade package, the upgrade package in the version library is acquired by the upgrade proxy terminal from an upgrade server, the upgrade package acquisition request is sent to the upgrade server in order to acquire the upgrade package, and the request sent by the upgrade proxy terminal is the first upgrade package acquisition request; for example, the version number corresponding to the current firmware of the narrowband device is V1, and the firmware version number updated from V1 is V2, in order to provide a target-level package required for upgrading for the narrowband device, the upgrade proxy terminal needs to obtain an upgrade package corresponding to the firmware version number V2 from the upgrade server, and then first needs to send an upgrade package obtaining request to the upgrade server.
Step S62, the download upgrade server acquires a first upgrade package requesting feedback based on the first upgrade package;
after the upgrade proxy terminal sends a first upgrade package acquisition request to the upgrade server, the upgrade server feeds back a first upgrade package according to the first upgrade package acquisition request sent by the upgrade proxy terminal, and the upgrade proxy terminal downloads the first upgrade package fed back by the upgrade server according to the first upgrade package acquisition request; the first upgrade package refers to an upgrade package which is fed back to the upgrade proxy terminal by the upgrade server according to the first upgrade package acquisition request sent by the upgrade proxy terminal.
And S63, storing the first upgrade package to a version library to establish the version library.
After the upgrade server finishes downloading the first upgrade package fed back according to the first upgrade package acquisition request, the upgrade agent terminal stores the first upgrade package into the version library to finish the establishment of the version library; for example, after the upgrade proxy terminal sends the first upgrade package acquisition request to the upgrade server, the upgrade server feeds back the upgrade package corresponding to the firmware version number V2, and the upgrade proxy terminal downloads and stores the upgrade package of the firmware version number V2 to the version library to complete the establishment of the version library.
It should be noted that, in the standard client-side upgrading process, a request is sent to the upgrading server and an upgrading package is downloaded, and the client-side executes upgrading and reports an upgrading result; as shown in fig. 5, in the embodiment of the present invention, the upgrade proxy terminal serves as a client, and the upgrade proxy terminal does not need to execute an upgrade process after downloading the upgrade package; in order to facilitate management of the upgrade package, the embodiment of the invention sends a first upgrade package acquisition request to the upgrade server, downloads the first upgrade package fed back by the upgrade server based on the first upgrade package acquisition request, and stores the first upgrade package fed back by the upgrade server to the version library; the upgrade proxy terminal can acquire the corresponding first upgrade package from a library with the upgrade package or acquire the corresponding first upgrade package through other ways besides acquiring the upgrade server, downloading and storing the first upgrade package provided by the upgrade server; in addition, in order to better achieve the purpose of the invention, the upgrading agent terminal of the embodiment of the invention adopts an OMADM communication protocol to access a public network and is connected with an upgrading server to carry out data interaction; through OMADM communication protocol, sending a first upgrade package acquisition request to an upgrade server, and receiving a first upgrade package fed back by a download upgrade server, wherein the upgrade proxy terminal can adopt OMADM communication protocol and other communication protocols capable of realizing the same effect to interact with the upgrade server.
In this embodiment, the upgrade agent terminal sends a first upgrade package acquisition request to the upgrade server before extracting a corresponding target upgrade package from the current version library according to the version number of the narrowband device, downloads the first upgrade package fed back by the upgrade server based on the first upgrade package acquisition request, and stores the downloaded first upgrade package into the local version library to complete the establishment of the version library; the situation that unsafe data are received when the narrowband equipment is accessed to a public network to obtain an upgrade package, a safety module needs to be added is avoided, the configuration of the narrowband equipment is simplified, the power consumption of the narrowband equipment is further reduced, and the size of the narrowband equipment is reduced; the upgrading agent terminal acquires the first upgrading packet and then carries out upgrading interaction with the narrow-band equipment, so that the situation that the local version of the upgrading agent terminal does not have a target upgrading packet corresponding to the narrow-band equipment is avoided, and the narrow-band equipment cannot be normally upgraded; the target upgrade package corresponding to the narrowband equipment in the upgrade proxy terminal version library can be provided for the narrowband equipment, so that the narrowband equipment can acquire the target upgrade package, and the normal upgrade function can be realized.
In a third embodiment of the method for upgrading a narrowband device according to the present invention, based on the embodiment shown in fig. 2, after step S30, the method further includes:
step S71, acquiring a first feedback instruction of the narrow-band device receiving the target upgrade package;
firstly, an upgrading agent terminal determines a firmware version number which is newer than a narrowband device firmware version number through a narrowband device firmware version number, then searches a target upgrading packet corresponding to the upgraded firmware version number in a current version library, extracts the corresponding target upgrading packet from the current version library, and sends the target upgrading packet extracted from the current version library to a narrowband device; after receiving the target upgrade package, the narrowband equipment sends a first feedback instruction of the received target upgrade package to the upgrade proxy terminal, and the upgrade proxy terminal acquires the first feedback instruction of the narrowband equipment to ensure that the narrowband equipment successfully receives the target upgrade package; the first feedback instruction refers to an instruction for feeding back the target upgrade package to the upgrade proxy terminal to inform the upgrade proxy terminal that the target upgrade package is received after the narrowband device receives the target upgrade package sent by the upgrade proxy terminal.
For example, the version number of the firmware of the narrowband device to be upgraded is V1, and it is determined that the version number of the firmware updated from V1 is greater than V1, if the version numbers of the firmware are V0, V1, V2, and V3 respectively, the version number updated from V1 is V2 and V3, V0 is a firmware version number lower than V1, and V1 is a firmware version number the same as the current version number of the firmware of the narrowband device; and then finding out that the version number of the firmware updated by the version number V1 is V3 in the current version library, and extracting and issuing the update package to the narrowband equipment, wherein the update package is corresponding to the V3 firmware version number, is not the update package corresponding to the V2 of the firmware version number lower than V3, is not the update package corresponding to the V1 with the same firmware version number as the current narrowband equipment, and is not the update package corresponding to the V0 of the firmware version number lower than V1.
Step S72, issuing an upgrading instruction to the narrow-band equipment according to the first feedback instruction;
after the upgrading agent terminal acquires the first feedback instruction of the narrowband equipment, the upgrading agent terminal issues an upgrading instruction to the narrowband equipment to enable the narrowband equipment to execute equipment upgrading; the upgrading instruction is an instruction sent by the upgrading agent terminal to the narrowband equipment, and the instruction is used for enabling the narrowband equipment to carry out equipment upgrading operation and completing equipment upgrading.
Step S73, acquiring a second feedback instruction of successful upgrading of the narrowband equipment according to the upgrading instruction;
after the upgrading agent terminal sends an upgrading instruction to the narrow-band equipment, the narrow-band equipment carries out equipment upgrading operation according to the upgrading instruction; after the upgrading of the narrowband equipment is completed by the upgrading agent terminal, a second feedback instruction which is successfully upgraded is sent to the upgrading agent terminal, and the upgrading agent terminal acquires the second feedback instruction of the narrowband equipment; the second feedback instruction refers to an instruction which is fed back to the upgrade proxy terminal to inform the upgrade success after the narrowband equipment is successfully upgraded.
And S74, disconnecting the connection with the narrowband equipment according to a second feedback instruction of the narrowband equipment.
And after the upgrading agent terminal acquires the second feedback instruction of successful upgrading of the narrow-band equipment, the upgrading agent terminal confirms that the narrow-band equipment is successfully upgraded, and at the moment, the upgrading agent terminal is disconnected with the narrow-band equipment.
In this embodiment, after the upgrade proxy terminal issues the upgrade package to the narrowband device, the second feedback instruction of the target upgrade package is acquired from the narrowband device, and after the second feedback instruction of the narrowband device is acquired and the narrowband device is confirmed to receive the upgrade package, the upgrade instruction is issued to the narrowband device; the narrowband equipment is prevented from not receiving the upgrade package and being incapable of further equipment upgrade operation, and the success rate of equipment upgrade of the narrowband equipment is effectively improved; and after the upgrading agent terminal acquires the second feedback instruction of successful upgrading of the narrow-band equipment and confirms that the narrow-band equipment is successfully upgraded, the upgrading agent terminal is disconnected from the narrow-band equipment, so that the narrow-band equipment can successfully and normally complete the equipment upgrading function, and the power consumption of the narrow-band equipment is reduced.
Further, step S71 is preceded by:
step A10, judging whether a first feedback instruction of receiving the target upgrade patch by the narrow band equipment is not obtained within a first preset time length;
if the first feedback instruction of the narrow-band equipment is not obtained within a first preset time length, disconnecting the narrow-band equipment;
after the upgrading agent terminal receives an instruction of the narrowband equipment each time or the upgrading agent terminal sends an instruction to the narrowband equipment, starting a timer to start timing; the upgrading agent terminal calculates the time length required by the narrowband equipment feedback instruction after the upgrading agent terminal sends the instruction; or calculating the time length required by the upgrading agent terminal for feeding back the instruction to the narrow-band equipment after the instruction narrow-band equipment is received; under normal conditions, the upgrading agent terminal can extract a target upgrading packet and complete the issuing of the upgrading packet within a first preset time length, if the upgrading agent terminal does not extract the target upgrading packet in the current version library, the upgrading agent terminal cannot issue the target upgrading packet to the narrow-band equipment within the first preset time length, and therefore a first feedback instruction of the narrow-band equipment receiving the target upgrading packet cannot be obtained; judging whether the upgrading agent terminal does not acquire a first feedback instruction of the target upgrading packet received by the narrowband equipment within a first preset time after receiving the version number of the narrowband equipment sent by the narrowband equipment; if the upgrading agent terminal does not acquire the first feedback instruction of the target upgrading packet received by the narrow-band equipment within the first preset time length, the upgrading agent terminal is disconnected from the narrow-band equipment, so that the long waiting of the narrow-band equipment is avoided, and the power consumption of the narrow-band equipment is increased; if the upgrade agent terminal extracts the first feedback instruction that the target upgrade package is received by the narrowband device within the first preset time, the upgrade agent terminal continues to execute step S72.
The first preset time duration refers to the time duration that the upgrading agent terminal can finish issuing the target upgrading packet after the narrowband equipment sends the version number of the narrowband equipment to the upgrading agent terminal, and under the normal condition, the upgrading agent terminal can extract the target upgrading packet and finish issuing the upgrading packet within the preset time duration.
In this embodiment, the upgrade agent terminal does not obtain the first feedback instruction of the narrowband device by judging whether the upgrade agent terminal is within a first preset time duration; if the upgrading agent terminal does not acquire the first feedback instruction of the narrowband equipment within the first preset time length, disconnecting the network connection with the narrowband equipment; the problem that the upgrading agent terminal cannot extract the target upgrading packet for a long time in the current version library or the upgrading packet cannot be successfully issued to the narrow-band equipment for a long time due to other reasons after the upgrading agent terminal extracts the target upgrading packet is avoided; therefore, the narrowband equipment is always kept in a network connection waiting state, unnecessary power consumption of the narrowband equipment is caused, and the power consumption of the narrowband equipment is effectively reduced.
Further, after the step S71, the method further includes:
step A20, judging whether an upgrading instruction is not issued to the narrowband equipment within a second preset time length;
and if the upgrading instruction is not issued to the narrow-band equipment within the second preset time length, disconnecting the narrow-band equipment from the upgrading instruction.
After the upgrading agent terminal acquires a first feedback instruction of a target upgrading packet received by the narrowband equipment, starting a timer and starting timing; calculating the time length required by the upgrading agent terminal to finish issuing the upgrading instruction to the narrow-band equipment after the upgrading agent terminal receives the first feedback instruction of the narrow-band equipment instruction; under normal conditions, the upgrading agent terminal can complete the issuing of the upgrading instruction within a second preset time length; judging whether the upgrading agent terminal does not issue the upgrading instruction to the narrow-band equipment within a second preset time length after acquiring the first feedback instruction of the target upgrading packet received by the narrow-band equipment; if the upgrading agent terminal does not issue the upgrading instruction to the narrow-band equipment within the second preset time length, the upgrading agent terminal is disconnected with the narrow-band equipment, so that the narrow-band equipment is prevented from waiting too long and the power consumption of the narrow-band equipment is increased; and if the upgrading agent terminal issues the upgrading instruction to the narrowband equipment within the second preset time length, the upgrading agent terminal continues to execute the step S73.
The second preset time duration refers to the time duration that the upgrading agent terminal can finish issuing the target upgrading packet after the upgrading agent terminal acquires the first feedback instruction that the narrowband device receives the target upgrading packet, and under the normal condition, the upgrading agent terminal can finish issuing the upgrading instruction within the preset time duration.
In this embodiment, the upgrade agent terminal does not issue the upgrade instruction to the narrowband device by judging whether the upgrade agent terminal is within the second preset duration; if the upgrading agent terminal does not issue the upgrading instruction to the narrow-band equipment within the second preset time length, the network connection with the narrow-band equipment is disconnected; the method avoids unnecessary power consumption of the narrowband equipment caused by the fact that the narrowband equipment is always kept in a network connection waiting state because the upgrading agent terminal does not issue the upgrading instruction for a long time, and effectively reduces the power consumption of the narrowband equipment.
In a fourth embodiment of the method for upgrading a narrowband device according to the present invention, based on the embodiment shown in fig. 4, after the step S74, the step a10, or the step a20 disconnects from the narrowband device, the method further includes:
step C10, sending a second upgrade package acquisition request to the upgrade server;
new firmware version numbers may appear at intervals, and in order to meet the requirement for further upgrading of the narrowband equipment, the upgrading agent terminal needs to regularly and continuously obtain an upgrading packet corresponding to the latest firmware version number; the upgrading agent terminal can be obtained after the narrowband equipment is successfully upgraded each time and the connection between the upgrading agent terminal and the narrowband equipment is disconnected; or the upgrading agent terminal cannot acquire the target upgrading packet in the current version library for a long time and acquires the target upgrading packet after the target upgrading packet is disconnected with the narrow-band equipment; or the upgrading agent terminal cannot normally acquire the second feedback instruction of the narrowband equipment and acquires the second feedback instruction after the connection with the narrowband equipment is disconnected; the upgrade proxy terminal judges whether a second upgrade package acquisition request is sent to the upgrade server within a preset time length, and if the second upgrade package acquisition request is not sent to the upgrade server within the preset time length, the upgrade proxy terminal sends the second upgrade package acquisition request to the upgrade server; and if a second upgrade package acquisition request is sent to the upgrade server within the preset time length, waiting for sending the second upgrade package acquisition request again.
The second upgrade package obtaining request refers to that the upgrade proxy terminal obtains the upgrade package of the new version from the upgrade server in order to update the upgrade package stored in the current version library, the upgrade proxy terminal sends an upgrade package obtaining request to the upgrade server in order to obtain the upgrade package of the new version, and the request sent by the upgrade proxy terminal is the second upgrade package obtaining request.
Step C20, acquiring a second upgrade package fed back by the upgrade server based on a second upgrade package acquisition request;
after the upgrade proxy terminal sends a second upgrade package acquisition request to the upgrade server, the upgrade server feeds back the upgrade package according to the second acquisition request, and the upgrade proxy terminal downloads the second upgrade package fed back by the upgrade server according to the second acquisition request; the second upgrade package is a latest upgrade package which is fed back to the upgrade proxy terminal by the upgrade server according to a second upgrade package acquisition request sent by the upgrade proxy terminal.
And step C30, updating the current version library according to the second upgrade package fed back by the upgrade server.
After the upgrading agent terminal finishes downloading the second upgrading packet fed back by the upgrading server according to the second obtaining request, the upgrading agent terminal replaces the upgrading packet in the current version library by using the second upgrading packet fed back by the upgrading server to finish updating the current version library; for example, in the current version library, an upgrade package corresponding to the firmware version number V2 is stored; after the upgrade proxy terminal sends a second upgrade package acquisition request to the upgrade server, the upgrade server feeds back a second upgrade package with a firmware version number of V3, and V3 is a firmware version number updated compared with V2, the upgrade proxy terminal downloads the upgrade package corresponding to the firmware version number V3, replaces the upgrade package with the firmware version number of V2 by the upgrade package corresponding to the version library firmware version number V3, and updates the current version library.
It should be noted that, here, the upgrade agent terminal is used as the client of the upgrade server, and similarly, only the upgrade package needs to be downloaded, and the upgrade process does not need to be completed; in order to facilitate management of the upgrade package, the upgrade agent terminal in the embodiment of the present invention sends a second upgrade package acquisition request to the upgrade server, downloads a second upgrade package fed back by the upgrade server based on the second upgrade package acquisition request, and updates the current version library by using the second upgrade package fed back by the upgrade server; besides obtaining the second upgrade package provided by the upgrade server and downloading the second upgrade package, the corresponding second upgrade package can be obtained from the library with the second upgrade package, or the corresponding second upgrade package can be obtained through other ways, and the current version library is updated; in addition, in order to better achieve the purpose of the invention, the upgrading agent terminal in the embodiment of the invention adopts an OMADM communication protocol to access a public network and is connected with an upgrading server to perform data interaction; and sending a second upgrading packet acquisition request to the upgrading server through an OMADM communication protocol, and receiving a second upgrading packet fed back by the downloading upgrading server, wherein the upgrading agent terminal can adopt other communication protocols capable of realizing the same effect to interact with the upgrading server besides the OMADM communication protocol.
In the embodiment, after the upgrading of the narrow-band equipment is successful each time and the upgrading agent terminal is disconnected with the narrow-band equipment, the narrow-band equipment is selected; or the upgrading agent terminal can not extract the target upgrading packet for a long time in the current version library, and the connection with the narrow-band equipment is disconnected; or the upgrading agent terminal cannot normally acquire the second feedback instruction of the narrowband equipment and is disconnected from the narrowband equipment; the upgrading agent terminal judges whether a second upgrading packet acquisition request is sent to the upgrading server within a preset time length; if the second upgrade package acquisition request is not sent to the upgrade server within the preset time length; requesting and acquiring a second upgrade package from an upgrade server to update a current version library; the upgrading agent terminal is adopted to access the public network to obtain the upgrading packet, and the narrowband equipment is not accessed, so that the problem that the narrowband equipment receives unsafe data in the process of accessing the public network to obtain the upgrading packet and needs to be added with a safety module is avoided, the configuration of the narrowband equipment is simplified, the power consumption of the narrowband equipment is further reduced, and the volume of the narrowband equipment is reduced; when the narrow-band equipment is on-line next time, the upgrading package with the latest version number can be obtained for equipment upgrading, and the problem that the narrow-band equipment can only be upgraded for one version because the local version library does not have the latest upgrading package which can be provided for the narrow-band equipment for upgrading after the narrow-band equipment is upgraded for one time is solved; therefore, the narrowband equipment can continuously acquire the latest upgrade package for equipment upgrade.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a narrowband device upgrade program is stored on the computer-readable storage medium, and when executed by a processor, the narrowband device upgrade program implements the steps of the narrowband device upgrade method described above.
For the specific implementation of the computer-readable storage medium of the present invention, reference may be made to the foregoing embodiments of the narrowband device upgrading method, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (7)

1. A narrowband device upgrading method is characterized by comprising the following steps:
receiving the version number of the narrowband equipment sent by the narrowband equipment;
extracting a corresponding target upgrade package from a current version library according to the version number of the narrow-band equipment;
issuing the target upgrade package to narrow-band equipment;
before the step of receiving the version number of the narrowband device sent by the narrowband device, the method further includes:
acquiring an online notification sent by the narrowband equipment;
acquiring a registration application sent by the narrow-band equipment according to the online notification sent by the narrow-band equipment;
according to a registration application sent by the narrowband equipment, establishing a mapping transmission relation with the narrowband equipment;
before the obtaining of the online notification sent by the narrowband device, the method further includes:
establishing communication connection with the narrowband equipment based on an LWM2M communication protocol;
the step of extracting the corresponding target upgrade package from the current version library according to the version number of the narrowband device further comprises the following steps:
sending a first upgrade package acquisition request to an upgrade server;
the download upgrade server acquires a first upgrade package requesting feedback based on the first upgrade package;
and saving the first upgrade package to a version library to establish the version library.
2. The narrowband device upgrade method of claim 1, wherein the step of issuing the target upgrade package to a narrowband device further comprises, after:
acquiring a first feedback instruction of the narrow-band equipment receiving the target upgrade package;
issuing an upgrading instruction to the narrow-band equipment according to the first feedback instruction;
acquiring a second feedback instruction of the narrowband equipment, which is upgraded successfully according to the upgrading instruction;
and disconnecting the connection with the narrowband equipment according to a second feedback instruction of the narrowband equipment.
3. The narrowband device upgrade method according to claim 2, wherein the step of obtaining the first feedback instruction that the narrowband device receives the target upgrade package further comprises:
judging whether a first feedback instruction of the target upgrade package received by the narrowband equipment is not obtained within a first preset time length;
and if the first feedback instruction of the narrow-band equipment is not acquired within the first preset time, disconnecting the narrow-band equipment.
4. The narrowband device upgrade method of claim 2, wherein the step of obtaining the first feedback instruction that the narrowband device receives the upgrade package further comprises, after the step of obtaining the first feedback instruction that the narrowband device receives the upgrade package:
judging whether an upgrading instruction is not issued to the narrowband equipment within a second preset time length;
and if the upgrading instruction is not issued to the narrow-band equipment within the second preset time length, disconnecting the narrow-band equipment from the upgrading instruction.
5. The narrowband device upgrade method of any of claims 2 to 4, wherein the step of disconnecting the connection with the narrowband device is further followed by:
sending a second upgrade package acquisition request to an upgrade server;
acquiring a second upgrade package fed back by the upgrade server based on a second upgrade package acquisition request;
and updating the current version library according to the second upgrade package fed back by the upgrade server.
6. A mobile terminal, characterized in that the mobile terminal comprises: memory, a processor and a narrowband device upgrade program stored on the memory and executable on the processor, the narrowband device upgrade program, when executed by the processor, implementing the steps of the narrowband device upgrade method of any of claims 1 to 5.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a narrowband device upgrade program, which when executed by a processor, implements the steps of the narrowband device upgrade method of any one of claims 1 to 5.
CN201811342372.7A 2018-11-12 2018-11-12 Narrowband device upgrading method, mobile terminal and readable storage medium Active CN111181752B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811342372.7A CN111181752B (en) 2018-11-12 2018-11-12 Narrowband device upgrading method, mobile terminal and readable storage medium
PCT/CN2019/112607 WO2020098457A1 (en) 2018-11-12 2019-10-22 Narrow band device upgrading method, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811342372.7A CN111181752B (en) 2018-11-12 2018-11-12 Narrowband device upgrading method, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111181752A CN111181752A (en) 2020-05-19
CN111181752B true CN111181752B (en) 2023-01-24

Family

ID=70657090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811342372.7A Active CN111181752B (en) 2018-11-12 2018-11-12 Narrowband device upgrading method, mobile terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN111181752B (en)
WO (1) WO2020098457A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205235B (en) * 2021-11-08 2024-01-09 山东有人物联网股份有限公司 Method for node upgrade, apparatus for node upgrade, and computer-readable storage medium
CN113986303B (en) * 2021-11-16 2024-05-07 重庆紫光华山智安科技有限公司 Method and system for upgrading multi-chip equipment
CN114745269A (en) * 2022-04-13 2022-07-12 精伦电子股份有限公司 Firmware upgrading method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335641A (en) * 2007-06-29 2008-12-31 华为技术有限公司 Method, apparatus and system for updating apparatus
US8209678B2 (en) * 2007-09-17 2012-06-26 Sony Corporation System, apparatus, and method for an upgrader module
CN105472542A (en) * 2015-12-16 2016-04-06 深圳智能表芯科技有限公司 Data transmission method and system for smart wearable equipment and mobile terminal based on low-power consumption Bluetooth standard
WO2018006677A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Smart upgrade method, server, terminal and system
CN107621941A (en) * 2017-09-22 2018-01-23 美的智慧家居科技有限公司 Method for upgrading software, system and intelligent movable equipment
CN107707394A (en) * 2017-09-26 2018-02-16 深圳市麦斯杰网络有限公司 Equipment remote upgrade method, server, system and readable storage medium storing program for executing
CN107943505A (en) * 2017-12-14 2018-04-20 广东欧珀移动通信有限公司 Application upgrade management method, device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335641A (en) * 2007-06-29 2008-12-31 华为技术有限公司 Method, apparatus and system for updating apparatus
US8209678B2 (en) * 2007-09-17 2012-06-26 Sony Corporation System, apparatus, and method for an upgrader module
CN105472542A (en) * 2015-12-16 2016-04-06 深圳智能表芯科技有限公司 Data transmission method and system for smart wearable equipment and mobile terminal based on low-power consumption Bluetooth standard
WO2018006677A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Smart upgrade method, server, terminal and system
CN107621941A (en) * 2017-09-22 2018-01-23 美的智慧家居科技有限公司 Method for upgrading software, system and intelligent movable equipment
CN107707394A (en) * 2017-09-26 2018-02-16 深圳市麦斯杰网络有限公司 Equipment remote upgrade method, server, system and readable storage medium storing program for executing
CN107943505A (en) * 2017-12-14 2018-04-20 广东欧珀移动通信有限公司 Application upgrade management method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111181752A (en) 2020-05-19
WO2020098457A1 (en) 2020-05-22

Similar Documents

Publication Publication Date Title
JP6566500B2 (en) Method, terminal, and system for upgrading terminal system
CN111181752B (en) Narrowband device upgrading method, mobile terminal and readable storage medium
CN103024773B (en) Wireless router method for upgrading software, management devices and system
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
EP3197094B1 (en) Software upgrading method and device
CN107426233A (en) Data communication system, method, Web server and monitoring system based on B/S frameworks
CN108023778A (en) Firmware upgrade method and its system
CN109495433A (en) Data download method and device, storage medium and electronic device
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN103580921A (en) Automatic network equipment upgrading method and automatic network equipment upgrading system
CN105474669A (en) Method and apparatus for providing persistent USB service for wireless USB devices
CN112230943A (en) Application processing method and device and electronic equipment
CN109408090B (en) Upgrading method of equipment software, data converter and readable storage medium
CN110825422A (en) System for managing MCU version of intelligent household equipment
WO2017166906A1 (en) Method of managing euicc subscription profile and associated apparatus
CN112506584A (en) Resource file loading method, device, equipment, storage medium and product
EP2905942A1 (en) Application popularization method, device and system
CN103929501A (en) Intelligent remote control server and control method thereof
TWI482461B (en) Device management system and method
KR20180050001A (en) Firmware upgrade system and method for IoT
EP3015990B1 (en) Information processing device, and destination information updating method and program
EP4456495A1 (en) Function updating method and related apparatus
KR20140028961A (en) Method for data transmission and an electronic device thereof
CN104683973B (en) Management method and system are automatically configured based on intelligent terminal
US20180300122A1 (en) Data processing method and system, and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant