CN111181752A - 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
CN111181752A
CN111181752A CN201811342372.7A CN201811342372A CN111181752A CN 111181752 A CN111181752 A CN 111181752A CN 201811342372 A CN201811342372 A CN 201811342372A CN 111181752 A CN111181752 A CN 111181752A
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.)
Granted
Application number
CN201811342372.7A
Other languages
Chinese (zh)
Other versions
CN111181752B (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 issuing 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 invention relates to the field of client device management, in particular to a narrowband device upgrading 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 access to the public network for equipment upgrade requires large power consumption, but some equipment cannot be provided with an overlarge power supply due to the requirement, such as narrow-band equipment; 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 equipment is upgraded in a mode of accessing the result public network, the narrow-band equipment is used as intelligent equipment to be upgraded, the narrow-band equipment needs to be provided with a large-capacity battery, and the large-capacity battery has a relatively large volume, so that the narrow-band equipment 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 issuing 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.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a narrowband device upgrade program, 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 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, 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 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; 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; and the access to the public network for equipment upgrade requires larger power consumption, but 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, higher bandwidth is required, and the power consumption is higher.
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 in 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 PC, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion 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, such as 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 side, 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 acquiring 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 narrowband 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 narrowband equipment sent by the narrowband 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 narrow-band equipment within the preset time length, the network connection with the narrow-band equipment is disconnected, and the narrow-band 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 instruction for requesting the upgrade package means that in order to optimize the firmware of the narrowband equipment, the narrowband equipment needs to acquire the upgrade package at intervals to upgrade the equipment firmware, and the narrowband equipment needs to send the version number of the narrowband equipment to the upgrade proxy terminal when acquiring the upgrade package; 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 narrowband 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 agent terminal finds the target upgrade package corresponding to the firmware version number V2 in the current version library, and extracts the target upgrade package 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 time sequence, that is, the current latest firmware version number is V3; if the version library has the upgrade package of the V2 firmware version number and the upgrade package of the V3 firmware version number, only the latest V3 firmware version number is stored, and the upgrade package of the V2 firmware version number is not stored, and the upgrade proxy terminal extracts the upgrade package corresponding to the V3 version number instead of the upgrade package corresponding to the V2 version number according to the narrowband device version number V1.
And step S30, issuing the target upgrade package to the 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 device. 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 the 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, 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 the public network for interaction, the narrow-band equipment is prevented from needing to be accessed to the public network for interaction through the upgrading agent terminal, and the narrow-band equipment and the public network need to wait for the upgrading agent terminal to feed back data and instructions every time, so that the power consumption of the narrow-band equipment is permanently waited 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 accessed 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 the second embodiment of the upgrading method for a narrowband device according to the present invention, based on the embodiment shown in fig. 2, step S10 further includes:
step S41, acquiring an online notification sent by the narrowband equipment;
the upgrading agent terminal acquires an 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 step S43, establishing a mapping transmission relationship 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 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 upgrading agent 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 upgrading agent 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 relationship 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:
step S50, based on LWM2M communication protocol, establishing communication connection with the narrow-band device.
When performing data interaction, 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, and the like require a higher bandwidth and require a higher power consumption, so that a narrowband device having a lower bandwidth characteristic 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, lightweight Internet of things protocol) communication protocol, and establishes communication connection with the narrow-band equipment based on the LWM2M communication protocol; the upgrading agent terminal interacts with the narrowband equipment through the LWM2M communication protocol, and network interaction protocols such as a common HTTP communication protocol, an FTP communication protocol and an OMADM communication protocol are not directly adopted; the significance of extending the LWM2M communication protocol to perform data interaction is that, compared with the HTTP communication protocol, the FTP communication protocol, the oma dm communication protocol, etc., the LWM2M communication protocol also satisfies the requirement of performing data interaction by upgrading the device of the narrowband device, and needs to perform data transmission in the data interaction with the narrowband device, and the LWM2M communication protocol is adopted to transmit thousands times less data than the HTTP communication protocol, the FTP communication protocol, and the oma dm 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, the LWM2M communication protocol is adopted, and if there is another network interaction protocol that can replace the LWM2M communication protocol and achieve the effect of reducing a large amount of data transmission in data interaction between the upgrade proxy terminal and the narrowband device, the LWM2M communication protocol may be replaced by another network interaction protocol, so as to achieve the same object.
In the embodiment, by using the characteristic that the narrowband equipment does not directly access the public network for interaction, the communication protocol LWM2M is extended to perform 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 narrowband equipment, thereby greatly reducing the transmission data interacted between the upgrading agent terminal and the narrowband equipment and further achieving the purpose of reducing the power consumption of the narrowband 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 obtaining request means that the upgrade proxy terminal establishes a version library locally in order to provide an upgrade package for the narrowband device, the version library stores the upgrade package, the upgrade package in the version library is obtained by the upgrade proxy terminal from the upgrade server, and the upgrade package obtaining request is sent to the upgrade server in order to obtain the upgrade package, and the request sent by the upgrade proxy terminal is the first upgrade package obtaining 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, and in order to provide the target-level package required for upgrading to the narrowband device, the upgrade agent terminal needs to obtain the 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 obtains the 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 step S63, saving 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 agent 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 agent terminal downloads and stores the upgrade package of the firmware version number V2 to the version library to complete 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 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 first upgrade package acquisition request to the upgrade server through an OMADM communication protocol, and receiving a first upgrade package fed back by the download upgrade server, wherein the upgrade proxy terminal can adopt other communication protocols capable of realizing the same effect to interact with the upgrade server besides the OMADM communication protocol.
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 upgrading method for a narrowband device in the present invention, based on the embodiment shown in fig. 2, after the 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 the narrowband device firmware version number, then searches out a target upgrading packet corresponding to the upgraded firmware version number in a current version library, extracts the corresponding target upgrading packet in the current version library, and issues the target upgrading packet extracted in the current version library to the 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 firmware version number updated more than V1 is more than V1, for example, the firmware version numbers are respectively V0, V1, V2, and V3, the firmware version numbers updated more than V1 are V2 and V3, V0 is a firmware version number lower than V1, and V1 is a firmware version identical to the current firmware version number of the narrowband device; and then, finding that the firmware version number of the narrowband equipment is V3 compared with the firmware version number of V1 in the current version library, extracting and issuing the firmware version number to the narrowband equipment, wherein the narrowband equipment is an upgrade package corresponding to the V3 firmware version number, but not an upgrade package corresponding to the firmware version number V2 lower than V3, nor an upgrade package corresponding to V1 with the same firmware version number as the current narrowband equipment, but not an upgrade package corresponding to the firmware version number V0 lower than V1.
Step S72, according to the first feedback instruction, an upgrade instruction is issued to the narrow band device;
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 the narrowband equipment successfully upgraded 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 step S74, disconnecting the narrowband equipment according to the 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 the target upgrade package received by the narrowband 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 the instruction of the narrow-band equipment each time or the upgrading agent terminal sends the instruction to the narrow-band 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 to feed back the instruction to the narrow-band equipment after the narrow-band equipment with the instruction is received; under normal conditions, the upgrade agent terminal can extract a target upgrade package and complete the issuing of the upgrade package within a first preset time, if the upgrade agent terminal does not extract the target upgrade package in the current version library, the upgrade agent terminal cannot issue the target upgrade package to the narrowband equipment within the first preset time, and therefore a first feedback instruction of the narrowband equipment for receiving the target upgrade package 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 period, 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, the network connection with the narrowband equipment is disconnected; the problem that the upgrade proxy terminal cannot extract the target upgrade package for a long time in the current version library or the upgrade proxy terminal cannot successfully issue the upgrade package to the narrow-band equipment for a long time due to other reasons after extracting the target upgrade package 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, the step S71 is followed by:
step A20, judging whether an upgrade 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; if the upgrade agent terminal issues the upgrade instruction to the narrowband device within the second preset time period, the upgrade agent terminal continues to perform step S73.
The second preset time duration refers to the time duration that the upgrade proxy terminal can finish issuing the target upgrade package after the upgrade proxy terminal acquires the first feedback instruction that the narrowband device receives the target upgrade package, and under a normal condition, the upgrade proxy terminal can finish issuing the upgrade 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 upgrading method for a narrowband device according to the present invention, based on the embodiment shown in fig. 4, after the step S74, step a10, or step a20 of disconnecting the narrowband device, the method further includes:
step C10, sending a second upgrade package acquisition request to the upgrade server;
at intervals, new firmware version numbers may appear, and in order to meet the further upgrading requirements of the narrowband equipment, the upgrading agent terminal needs to regularly and constantly 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 the 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 server finishes downloading the second upgrading packet fed back by the second acquisition request according to the second acquisition 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, the upgrade package corresponding to the firmware version number V2 is stored; after the upgrade agent 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 corresponding to V3, and V3 is a firmware version number updated compared with V2, the upgrade agent terminal downloads the upgrade package corresponding to the firmware version number V3, replaces the upgrade package with the upgrade package corresponding to the version library firmware version number V3, and updates the current version library.
It should be noted that, as shown in fig. 6, the upgrade agent terminal is used as a 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; in addition to obtaining the second upgrade package provided by the upgrade server and downloading the second upgrade package provided by the upgrade server, the corresponding second upgrade package can be obtained from the library with the second upgrade package, or 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 upgrade agent terminal judges whether a second upgrade package acquisition request is sent to the upgrade 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 situation 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 narrowband 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 narrowband equipment can only be upgraded for one time because no corresponding latest upgrading package in a local version library can be provided for the narrowband equipment for upgrading after the narrowband 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 phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises 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 not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

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;
and issuing the target upgrading packet to narrow-band equipment.
2. The narrowband device upgrade method of claim 1, wherein the step of receiving the version number of the narrowband device sent by the narrowband device further comprises, before:
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.
3. The narrowband device upgrade method according to claim 2, wherein the step of obtaining the on-line notification sent by the narrowband device further comprises:
and establishing a communication connection with the narrowband equipment based on the LWM2M communication protocol.
4. The narrowband device upgrade method according to claim 1, wherein 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:
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.
5. 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.
6. The narrowband device upgrade method of claim 5, 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.
7. The narrowband device upgrade method of claim 5, 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 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.
8. The narrowband device upgrade method of any of claims 5 to 7, wherein the step of disconnecting the connection to 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.
9. 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 8.
10. 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 8.
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 true CN111181752A (en) 2020-05-19
CN111181752B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986303A (en) * 2021-11-16 2022-01-28 重庆紫光华山智安科技有限公司 Upgrading method and system of multi-chip equipment

Families Citing this family (2)

* 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
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986303A (en) * 2021-11-16 2022-01-28 重庆紫光华山智安科技有限公司 Upgrading method and system of multi-chip equipment
CN113986303B (en) * 2021-11-16 2024-05-07 重庆紫光华山智安科技有限公司 Method and system for upgrading multi-chip equipment

Also Published As

Publication number Publication date
CN111181752B (en) 2023-01-24
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
WO2017088388A1 (en) Method and system for upgrading sdk of application
CN107426233A (en) Data communication system, method, Web server and monitoring system based on B/S frameworks
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN105474669A (en) Method and apparatus for providing persistent USB service for wireless USB devices
WO2019028673A1 (en) B/s architecture-based data communication system and method, web server, and monitoring system
CN102412993A (en) Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface
CN109408090B (en) Upgrading method of equipment software, data converter and readable storage medium
CN112230943A (en) Application processing method and device and electronic 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
CN110825422A (en) System for managing MCU version of intelligent household equipment
KR20180050001A (en) Firmware upgrade system and method for IoT
EP3015990B1 (en) Information processing device, and destination information updating method and program
TWI413012B (en) Device and method for receiving confirmation of the finance software on a mobile apparatus
US20180270872A1 (en) Method and apparatus for establishing communication connection between mobile device and fixed device
US20180300122A1 (en) Data processing method and system, and server
CN110177126A (en) Data communication method, the apparatus and system in unified message channel
CN113434233B (en) Interface jump method and device, storage medium and electronic device

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