CN116962376A - NB-IOT terminal upgrading method, device, electronic equipment and storage medium - Google Patents

NB-IOT terminal upgrading method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116962376A
CN116962376A CN202311217460.5A CN202311217460A CN116962376A CN 116962376 A CN116962376 A CN 116962376A CN 202311217460 A CN202311217460 A CN 202311217460A CN 116962376 A CN116962376 A CN 116962376A
Authority
CN
China
Prior art keywords
iot terminal
upgraded
communication quality
upgrade
upgrade file
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
CN202311217460.5A
Other languages
Chinese (zh)
Other versions
CN116962376B (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.)
Ji Hua Laboratory
Original Assignee
Ji Hua Laboratory
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 Ji Hua Laboratory filed Critical Ji Hua Laboratory
Priority to CN202311217460.5A priority Critical patent/CN116962376B/en
Publication of CN116962376A publication Critical patent/CN116962376A/en
Application granted granted Critical
Publication of CN116962376B publication Critical patent/CN116962376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • 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

Abstract

The application relates to the technical field of NB-IOT (node B-internet of things), and particularly provides an upgrading method and device of an NB-IOT terminal, electronic equipment and a storage medium, wherein the method comprises the following steps: testing the communication quality of an NB-IOT terminal to be upgraded to acquire communication quality grade information, wherein the NB-IOT terminal to be upgraded is an NB-IOT terminal needing to be upgraded; acquiring an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information; the upgrade file packet is sent to the NB-IOT terminal to be upgraded so that the NB-IOT terminal to be upgraded can conduct software upgrade; the method can effectively avoid the situation that the NB-IOT terminal is blocked or down due to the fact that the upgrade file packet with large volume cannot be completely transmitted to the NB-IOT terminal because of poor quality of the network environment where the NB-IOT terminal is located.

Description

NB-IOT terminal upgrading method, device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of NB-IOT (hard disk drive-operation in the field of wireless communication), in particular to an upgrading method and device of an NB-IOT terminal, electronic equipment and a storage medium.
Background
The NB-IOT (narrowband Internet of things communication technology) is a narrowband cellular communication technology, and has a relatively large application prospect in the fields of intelligent water, electricity and gas meters, intelligent street lamps, wearable equipment, intelligent buildings, environmental monitoring, intelligent logistics and the like because the technology has the advantages of relatively strong signal coverage capability, support of access of a large number of low-rate equipment, low equipment cost, low power consumption and low delay.
The NB-IOT system comprises an NB-IOT cloud platform and an NB-IOT terminal, corresponding software is required to be combined by application of the NB-IOT terminal in different scenes, and in order to ensure normal operation of the software, the software in the NB-IOT terminal is required to be updated in time. The working flow of the existing NB-IOT terminal software upgrading method is as follows: the method comprises the steps that an NB-IOT cloud platform issues an upgrade file package to an NB-IOT terminal to upgrade and update software, and because the NB-IOT has the characteristic of low narrowband communication speed, when the cloud platform issues the upgrade file package, long time is usually required to complete transmission of the upgrade file package, and transmission of the upgrade file package is easily affected by quality of a network environment where the NB-IOT terminal is located, if the quality of the network environment where the NB-IOT terminal is located is poor and the volume of the upgrade file package is large, the upgrade file package can not be completely transmitted to the NB-IOT terminal, and under severe conditions, the situation that the NB-IOT terminal is down can be caused, so that the current NB-IOT terminal software upgrade method can not completely transmit the upgrade file package with large volume to the NB-IOT terminal due to the poor quality of the network environment where the NB-IOT terminal is located, and further the situation that the NB-IOT terminal is blocked or down is caused.
In view of the above problems, no effective technical solution is currently available.
Disclosure of Invention
The application aims to provide an upgrade method, an upgrade device, electronic equipment and a storage medium for an NB-IOT terminal, which can effectively avoid the situation that an upgrade file packet with large volume cannot be completely transmitted to the NB-IOT terminal due to poor quality of a network environment where the NB-IOT terminal is located, so that the NB-IOT terminal is blocked or crashed.
In a first aspect, the present application provides a method for upgrading an NB-IOT terminal, including the steps of:
testing the communication quality of the NB-IOT terminal to be upgraded to acquire the communication quality grade information, wherein the NB-IOT terminal to be upgraded is the NB-IOT terminal needing to be upgraded;
acquiring an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information;
and sending the upgrade file packet to the NB-IOT terminal to be upgraded so as to enable the NB-IOT terminal to be upgraded to conduct software upgrade.
According to the method for upgrading the NB-IOT terminal, communication quality of the NB-IOT terminal to be upgraded is tested to obtain communication quality grade information, an upgrade file packet corresponding to the communication quality grade information is obtained according to the communication quality grade information, and finally the obtained upgrade file packet is sent to the NB-IOT terminal to be upgraded.
Optionally, the step of testing the communication quality of the NB-IOT terminal to be upgraded to obtain the communication quality class information includes:
sending a test signal to the NB-IOT terminal to be upgraded so as to trigger the NB-IOT terminal to be upgraded to generate and send a feedback signal;
after receiving the feedback signal, acquiring response time information based on the test signal and the feedback signal;
and determining the communication quality grade information according to the size of the response time information.
Optionally, the response time information is a difference between a time node transmitting the test signal and a time node receiving the feedback signal.
Optionally, the response time information is a difference value between a time node sending the test signal and time stamp information in the feedback signal, and the time stamp information is time information added by the NB-IOT terminal to be upgraded in sending the feedback signal forward feedback signal.
Optionally, the step of sending the upgrade file packet to the NB-IOT terminal to be upgraded to enable the NB-IOT terminal to be upgraded to perform software upgrade includes:
and deploying the upgrade file package to an upgrade server so that the to-be-upgraded NB-IOT terminal downloads the upgrade file package from the upgrade server and performs software upgrade based on the upgrade file package.
Optionally, the number of the to-be-upgraded NB-IOT terminals corresponding to the available upgrade file packages is multiple, and the number of the upgrade file packages is smaller than or equal to the number of the grades of the communication quality grade information.
Optionally, each upgrade package corresponds to a pre-calculated download time threshold, and the step of obtaining the upgrade package corresponding to the communication quality level information according to the communication quality level information includes:
and calculating actual downloading time of different upgrade file packages based on the communication quality grade information, and acquiring the upgrade file package corresponding to the communication quality grade information according to the actual downloading time and a downloading time threshold.
According to the technical scheme, the corresponding upgrade file package is obtained by using the actual download time and the download time threshold, so that the actual download time corresponding to the obtained upgrade file package is smaller than or equal to the download time threshold, and the situation that the upgrade file package cannot be normally transmitted, and the NB-IOT terminal is blocked or down due to poor quality of a network environment in which the NB-IOT terminal is located is further avoided.
In a second aspect, the present application also provides an apparatus for upgrading an NB-IOT terminal, where the apparatus for upgrading an NB-IOT terminal includes:
the communication quality testing module is used for testing the communication quality of the NB-IOT terminal to be upgraded to acquire the communication quality grade information, wherein the NB-IOT terminal to be upgraded is the NB-IOT terminal needing to be upgraded;
the upgrade file packet acquisition module acquires an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information;
and the upgrade file packet sending module is used for sending the upgrade file packet to the NB-IOT terminal to be upgraded so as to enable the NB-IOT terminal to conduct software upgrade.
According to the device for upgrading the NB-IOT terminal, communication quality of the NB-IOT terminal to be upgraded is tested to obtain communication quality grade information, an upgrade file packet corresponding to the communication quality grade information is obtained according to the communication quality grade information, and finally the obtained upgrade file packet is sent to the NB-IOT terminal to be upgraded.
In a third aspect, the application also provides an electronic device comprising a processor and a memory storing computer readable instructions which, when executed by the processor, perform the steps of the method as provided in the first aspect above.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method as provided in the first aspect above.
As can be seen from the foregoing, according to the method, the device, the electronic equipment and the storage medium for upgrading the NB-IOT terminal provided by the present application, the communication quality of the NB-IOT terminal to be upgraded is tested to obtain the communication quality level information, then the upgrade file packet corresponding to the communication quality level information is obtained according to the communication quality level information, and finally the obtained upgrade file packet is sent to the NB-IOT terminal to be upgraded.
Drawings
Fig. 1 is a flowchart of an upgrade method for NB-IOT terminals according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an NB-IOT terminal upgrade apparatus according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals: 1. a communication quality testing module; 2. an upgrade file package acquisition module; 3. an upgrade file package sending module; 401. a processor; 402. a memory; 403. a communication bus.
Description of the embodiments
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
In a first aspect, the present application provides a method for upgrading an NB-IOT terminal, including the steps of:
s1, testing communication quality of an NB-IOT terminal to be upgraded to acquire communication quality grade information, wherein the NB-IOT terminal to be upgraded is an NB-IOT terminal needing software upgrading;
s2, acquiring an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information;
and S3, sending the upgrade file packet to the NB-IOT terminal to be upgraded so as to enable the NB-IOT terminal to be upgraded to conduct software upgrade.
The method for upgrading the NB-IOT terminal is applied to an NB-IOT cloud platform. In step S1, the NB-IOT terminals to be upgraded are NB-IOT terminals to be upgraded, and it should be understood that the number of NB-IOT terminals to be upgraded may be multiple, that is, the number of NB-IOT terminals to be upgraded may be multiple, and if the number of NB-IOT terminals to be upgraded is multiple, step S1 needs to test the communication quality of the NB-IOT terminals to be upgraded respectively, so as to obtain the communication quality class information corresponding to each NB-IOT terminal to be upgraded. The communication quality grade information of the step S1 is a grade corresponding to the communication quality of the NB-IOT terminal to be upgraded, the communication quality grade information can reflect the quality of the network environment where the NB-IOT terminal to be upgraded is located, the step S1 can acquire the communication quality grade information by acquiring the network signal strength of the NB-IOT terminal to be upgraded, the step S1 can also acquire the communication quality grade information by transmitting a test signal to the NB-IOT terminal to be upgraded, the test signal can trigger the NB-IOT terminal to be upgraded to perform communication quality test or transmit a feedback signal, and the step S1 can also acquire the communication quality grade information by transmitting a test packet to the NB-IOT terminal to be upgraded and acquiring the downloading rate of the NB-IOT terminal to be upgraded. It should be understood that the present application classifies the communication quality of NB-IOT terminals to be upgraded into a plurality of levels, i.e., the communication quality level information of this embodiment corresponds to one of the levels.
The working principle of the step S2 is as follows: because the failure of normal transmission of the upgrade package is caused by the fact that the requirement of the upgrade package for communication quality is higher than that of the NB-IOT terminal to be upgraded (i.e., the upgrade package is too large and/or the communication quality of the NB-IOT terminal to be upgraded is too poor), the corresponding upgrade package needs to be acquired according to the communication quality level information in step S2, so that the upgrade package can be normally transmitted to the NB-IOT terminal to be upgraded. It should be understood that the upgrade file package of this embodiment is stored in the NB-IOT cloud platform, and this embodiment is equivalent to matching an upgrade file package with a proper size according to the communication quality of the NB-IOT terminal to be upgraded.
And step S3, based on the NB-IOT, the upgrade file packet is sent to the NB-IOT terminal to be upgraded so that the NB-IOT terminal to be upgraded can conduct software upgrade. Step S3 belongs to the prior art, the working principle of which is not discussed in detail here.
According to the method for upgrading the NB-IOT terminal, communication quality of the NB-IOT terminal to be upgraded is tested to obtain communication quality grade information, an upgrade file packet corresponding to the communication quality grade information is obtained according to the communication quality grade information, and finally the obtained upgrade file packet is sent to the NB-IOT terminal to be upgraded.
In some embodiments, step S1 comprises:
s11, sending a test signal to the NB-IOT terminal to be upgraded so as to trigger the NB-IOT terminal to be upgraded to generate and send a feedback signal;
s12, after receiving the feedback signal, acquiring response time information based on the test signal and the feedback signal;
s13, determining communication quality grade information according to the size of the response time information.
The test signal in this embodiment is a signal generated when the NB-IOT terminal to be upgraded performs a communication quality test, and the test signal can trigger the NB-IOT terminal to be upgraded to generate and send a feedback signal. The working principle of the embodiment is as follows: after sending a test signal to the NB-IOT terminal to be upgraded, the better the quality of the network environment where the NB-IOT terminal to be upgraded is located, the faster the test signal is transmitted to the NB-IOT terminal to be upgraded, the faster the NB-IOT terminal to be upgraded can generate and send a feedback signal, and the size of the response time information in the embodiment can reflect the communication quality of the NB-IOT terminal to be upgraded, so that the embodiment can determine the communication quality class information according to the response time information by acquiring the response time information first. The specific flow of determining the communication quality level information according to the size of the response time information in this embodiment is as follows: the level of communication quality corresponding to the time interval is used as the communication quality level information, for example, the embodiment classifies the communication quality of the NB-IOT terminal to be upgraded into three levels of high level, medium level and low level, the time interval corresponding to the high level is less than 10ms, the time interval corresponding to the medium level is greater than or equal to 10ms and less than or equal to 20ms, the time interval corresponding to the low level is greater than 20ms, if the response time information is 5ms, the communication quality level information is high level, and if the response time information is 16ms, the communication quality level information is medium level.
In some embodiments, the response time information is the difference between the time node that sent the test signal and the time node that received the feedback signal. This embodiment is equivalent to using the time difference between the sending test signal and the receiving feedback signal of the NB-IOT cloud platform as the response time information, and confirming the communication quality level information according to the time interval in which the time difference is located.
In some embodiments, the response time information is a difference between a time node sending the test signal and time stamp information in the feedback signal, and the time stamp information is time information added by the NB-IOT terminal to be upgraded in sending the feedback signal forward feedback signal. The time stamp information of the embodiment may be the time when the NB-IOT terminal to be upgraded completes the test signal reception, or the time stamp information of the embodiment may be the time when the NB-IOT terminal to be upgraded completes the feedback signal transmission preparation, and preferably, the time stamp information of the embodiment is the time when the NB-IOT terminal to be upgraded completes the test signal reception. Because only the upgrade file package needs to be unidirectionally transmitted to the NB-IOT terminal by the NB-IOT cloud platform when the upgrade file package is issued, the embodiment only takes the time difference between the transmission test signal of the NB-IOT cloud platform and the transmission feedback signal of the NB-IOT terminal to be upgraded as response time information, namely the embodiment is equivalent to only focusing on the downlink rate of the NB-IOT terminal to be upgraded, but not focusing on the uplink rate of the NB-IOT terminal, namely the communication quality of the embodiment is the downlink communication quality of the NB-IOT terminal to be upgraded.
In some embodiments, step S3 comprises:
s31, deploying the upgrade file package to an upgrade server so that the NB-IOT terminal to be upgraded downloads the upgrade file package from the upgrade server and performs software upgrade based on the upgrade file package.
The upgrade server of the embodiment is equivalent to a transit server of an upgrade file package, the upgrade file package can be deployed into the upgrade server through an SCP or SFTP and other protocols, and after the upgrade file package is deployed into the upgrade server, the to-be-upgraded NB-IOT terminal automatically downloads the upgrade file package from the upgrade server and performs software upgrade based on the upgrade file package.
In some embodiments, the number of the upgrade file packages corresponding to the available to be upgraded NB-IOT terminals is a plurality of, and the number of the upgrade file packages is less than or equal to the number of the division grades of the communication quality grade information. Since the number of upgrade file packages to be upgraded corresponding to the available upgrade file packages of the NB-IOT terminal is equal to or smaller than the number of the division levels of the communication quality level information, each upgrade file package in this embodiment corresponds to at least one level of communication quality. It should be understood that if the number of upgrade packages is smaller than the number of division levels of the communication quality level information, the upgrade packages of this embodiment may correspond to the division levels of the plurality of communication quality level information.
In some embodiments, each upgrade package corresponds to a pre-calculated download time threshold, and step S2 includes:
s21, calculating actual downloading time of different upgrade file packages based on the communication quality grade information, and acquiring the upgrade file package corresponding to the communication quality grade information according to the actual downloading time and a downloading time threshold.
The downloading time threshold in this embodiment is a pre-calculated value, where the downloading time threshold corresponds to the communication quality class information, and if the downloading time is greater than the downloading time threshold, the situation that the NB-IOT terminal to be upgraded is blocked or down may occur because the upgrade file packet cannot be completely transmitted to the NB-IOT terminal to be upgraded; if the downloading time is smaller than or equal to the downloading time threshold, the situation that the NB-IOT terminal to be upgraded is blocked or down caused by the fact that the upgrading file packet cannot be completely transmitted to the NB-IOT terminal to be upgraded does not occur. The working principle of the embodiment is as follows: because the communication quality grade information is the grade corresponding to the communication quality of the NB-IOT terminal to be upgraded, and the communication quality is related to the network transmission rate, the embodiment can acquire the corresponding network transmission rate based on the communication quality grade information, calculate the actual download time of different upgrade file packages according to the network transmission rate, and finally acquire the upgrade file package corresponding to the communication quality grade information according to the actual download time and the download time threshold. It should be understood that, if there are a plurality of upgrade packages corresponding to actual download times less than or equal to the download time threshold, the embodiment preferably obtains the upgrade package corresponding to the maximum value of the actual download times or the upgrade package with the latest version. According to the embodiment, the corresponding upgrade file package is obtained by using the actual download time and the download time threshold, so that the actual download time corresponding to the obtained upgrade file package is smaller than or equal to the download time threshold, and further, the situation that the upgrade file package with large volume cannot be completely transmitted to the NB-IOT terminal due to poor quality of a network environment where the NB-IOT terminal is located, and therefore the NB-IOT terminal is blocked or down is avoided.
In some embodiments, the NB-IOT terminal upgrade method further comprises the step of executing before step S1:
s0, acquiring software version information of the NB-IOT terminal, judging whether the NB-IOT terminal is the NB-IOT terminal to be upgraded according to the software version information, and if yes, executing the step S1.
The software version information of the embodiment is the version of the software in the NB-IOT terminal, if the version corresponding to the upgrade file package is higher than the version of the software in the NB-IOT terminal, the NB-IOT terminal is the NB-IOT terminal to be upgraded, and the step S1 is executed; if the version corresponding to the upgrade file package is the same as the version of the software in the NB-IOT terminal, the NB-IOT terminal is not the NB-IOT terminal to be upgraded, and step S1 is not required to be executed. This embodiment is equivalent to determining whether the software in the NB-IOT terminal needs to be updated before executing step S1, so this embodiment can effectively avoid the situation that the update package is issued even if the software in the NB-IOT terminal does not need to be updated.
In some embodiments, the NB-IOT terminal to be upgraded generates and transmits upgrade result information after the software upgrade is completed. Because the NB-IOT terminal to be upgraded in the embodiment can generate and send the upgrade result information after the software upgrade is completed, the embodiment can timely acquire the upgrade condition of the NB-IOT terminal to be upgraded.
In some embodiments, step S2 comprises:
s21', terminal version information of the NB-IOT terminal to be upgraded is obtained, and an upgrade file packet available for the NB-IOT terminal to be upgraded is screened out according to the terminal version information;
s22, determining a corresponding upgrade file packet from the screened upgrade file packets according to the communication quality grade information.
The terminal version information in this embodiment is a version of software in the NB-IOT terminal to be upgraded, where the terminal version information may be information included in the feedback signal, and the terminal version information may also be data stored in advance in the NB-IOT cloud platform, and specifically, a mapping relationship between at least one set of terminal version information and NB-IOT terminal IDs is stored in the NB-IOT cloud platform. After the upgrade package available to the NB-IOT terminal to be upgraded is screened according to the terminal version information, the version corresponding to the upgrade package obtained by screening is higher than the version of software corresponding to the terminal version information, so that the embodiment is equivalent to screening the upgrade package available to the NB-IOT terminal to be upgraded according to the terminal version information, and then screening the appropriate upgrade package from the upgrade package available to the NB-IOT terminal to be upgraded according to the communication quality level information, namely, the embodiment is equivalent to performing secondary screening on the upgrade package in the NB-IOT cloud platform, thereby effectively reducing the number of the upgrade packages to be screened when the upgrade package corresponding to the communication quality level information is acquired.
As can be seen from the foregoing, according to the method for upgrading an NB-IOT terminal provided by the present application, the communication quality of the NB-IOT terminal to be upgraded is tested to obtain the communication quality level information, and then the upgrade file packet corresponding to the communication quality level information is obtained according to the communication quality level information, and finally the obtained upgrade file packet is sent to the NB-IOT terminal to be upgraded.
In a second aspect, the present application also provides an apparatus for upgrading an NB-IOT terminal, where the apparatus for upgrading an NB-IOT terminal includes:
the communication quality testing module 1 is used for testing the communication quality of the NB-IOT terminal to be upgraded to acquire the communication quality grade information, wherein the NB-IOT terminal to be upgraded is an NB-IOT terminal needing to be upgraded;
the upgrade file packet acquisition module 2 acquires an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information;
and the upgrade file packet sending module 3 sends the upgrade file packet to the NB-IOT terminal to be upgraded so as to enable the NB-IOT terminal to be upgraded to conduct software upgrade.
The embodiment of the application provides an NB-IOT terminal upgrading device, which comprises a communication quality testing module 1, an upgrading file packet obtaining module 2 and an upgrading file packet sending module 3, and is used for executing the NB-IOT terminal upgrading method provided in the first aspect. The working principle of the NB-IOT terminal upgrading apparatus provided by the embodiment of the present application is the same as that of the NB-IOT terminal upgrading method provided in the first aspect, and will not be discussed in detail here.
According to the device for upgrading the NB-IOT terminal, communication quality of the NB-IOT terminal to be upgraded is tested to obtain communication quality grade information, an upgrade file packet corresponding to the communication quality grade information is obtained according to the communication quality grade information, and finally the obtained upgrade file packet is sent to the NB-IOT terminal to be upgraded.
In a third aspect, referring to fig. 3, fig. 3 shows an electronic device provided by the present application, including: a processor 401 and a memory 402, the processor 401 and the memory 402 being interconnected and in communication with each other by a communication bus 403 and/or other form of connection mechanism (not shown), the memory 402 storing computer readable instructions executable by the processor 401, which when the electronic device is running, are executed by the processor 401 to perform any of the alternative implementations of the above embodiments to carry out the following functions: step S1, testing the communication quality of an NB-IOT terminal to be upgraded to acquire communication quality grade information, wherein the NB-IOT terminal to be upgraded is an NB-IOT terminal needing to be upgraded; s2, acquiring an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information; and step S3, the upgrade file packet is sent to the NB-IOT terminal to be upgraded so that the NB-IOT terminal to be upgraded can conduct software upgrade.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs a method in any of the alternative implementations of the above embodiments to implement the following functions: step S1, testing the communication quality of an NB-IOT terminal to be upgraded to acquire communication quality grade information, wherein the NB-IOT terminal to be upgraded is an NB-IOT terminal needing to be upgraded; s2, acquiring an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information; and step S3, the upgrade file packet is sent to the NB-IOT terminal to be upgraded so that the NB-IOT terminal to be upgraded can conduct software upgrade.
As can be seen from the foregoing, according to the method, the device, the electronic equipment and the storage medium for upgrading the NB-IOT terminal provided by the present application, the communication quality of the NB-IOT terminal to be upgraded is tested to obtain the communication quality grade information, then the communication quality grade information obtains the upgrade file packet corresponding to the communication quality grade information, and finally the obtained upgrade file packet is sent to the NB-IOT terminal to be upgraded.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above described embodiments of the apparatus are only illustrative, e.g. the above described division of units is only one logical function division, and there may be another division in practice, and e.g. multiple units or components may be combined or integrated into another robot, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may rise to one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. The method for upgrading the NB-IOT terminal is characterized by comprising the following steps of:
testing the communication quality of an NB-IOT terminal to be upgraded to acquire communication quality grade information, wherein the NB-IOT terminal to be upgraded is an NB-IOT terminal needing to be upgraded;
acquiring an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information;
and sending the upgrade file packet to the NB-IOT terminal to be upgraded so as to enable the NB-IOT terminal to be upgraded to conduct software upgrade.
2. The NB-IOT terminal upgrade method according to claim 1, wherein the step of testing the communication quality of the NB-IOT terminal to be upgraded to obtain the communication quality class information comprises:
sending a test signal to the NB-IOT terminal to be upgraded so as to trigger the NB-IOT terminal to be upgraded to generate and send a feedback signal;
after receiving a feedback signal, acquiring response time information based on the test signal and the feedback signal;
and determining communication quality grade information according to the size of the response time information.
3. The NB-IOT terminal upgrade method of claim 2, wherein the response time information is a difference between a time node that sent the test signal and a time node that received the feedback signal.
4. The NB-IOT terminal upgrade method according to claim 2, wherein the response time information is a difference between a time node transmitting the test signal and time stamp information in the feedback signal, and the time stamp information is time information added to the feedback signal by the NB-IOT terminal to be upgraded before transmitting the feedback signal.
5. The NB-IOT terminal upgrade method according to claim 1, wherein the step of sending the upgrade file package to the NB-IOT terminal to be upgraded to enable the NB-IOT terminal to be upgraded to perform software upgrade comprises:
and deploying the upgrade file package to an upgrade server so that the to-be-upgraded NB-IOT terminal downloads the upgrade file package from the upgrade server and performs software upgrade based on the upgrade file package.
6. The NB-IOT terminal upgrade method according to claim 1, wherein the number of the corresponding available upgrade file packages of the NB-IOT terminal to be upgraded is a plurality of, and the number of the upgrade file packages is equal to or less than the number of the grades of the communication quality grade information.
7. The NB-IOT terminal upgrade method according to claim 6, wherein each of the upgrade file packages corresponds to a pre-calculated download time threshold, and the step of acquiring the upgrade file package corresponding to the communication quality level information according to the communication quality level information comprises:
and calculating actual downloading time of different upgrade file packages based on the communication quality grade information, and acquiring the upgrade file package corresponding to the communication quality grade information according to the actual downloading time and the downloading time threshold.
8. An NB-IOT terminal upgrade apparatus, wherein the NB-IOT terminal upgrade apparatus comprises:
the communication quality testing module is used for testing the communication quality of the NB-IOT terminal to be upgraded to acquire the communication quality grade information, wherein the NB-IOT terminal to be upgraded is an NB-IOT terminal needing to be upgraded;
the upgrade file packet acquisition module acquires an upgrade file packet corresponding to the communication quality grade information according to the communication quality grade information;
and the upgrade file packet sending module is used for sending the upgrade file packet to the NB-IOT terminal to be upgraded so as to enable the NB-IOT terminal to conduct software upgrade.
9. An electronic device comprising a processor and a memory storing computer readable instructions that, when executed by the processor, perform the steps in the method of any of claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, performs the steps of the method according to any of claims 1-7.
CN202311217460.5A 2023-09-20 2023-09-20 NB-IOT terminal upgrading method, device, electronic equipment and storage medium Active CN116962376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311217460.5A CN116962376B (en) 2023-09-20 2023-09-20 NB-IOT terminal upgrading method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311217460.5A CN116962376B (en) 2023-09-20 2023-09-20 NB-IOT terminal upgrading method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116962376A true CN116962376A (en) 2023-10-27
CN116962376B CN116962376B (en) 2024-04-05

Family

ID=88455067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311217460.5A Active CN116962376B (en) 2023-09-20 2023-09-20 NB-IOT terminal upgrading method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116962376B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060168574A1 (en) * 2005-01-21 2006-07-27 David Giannini Methods and systems for transferring data over a network
CN105764093A (en) * 2014-12-19 2016-07-13 中国移动通信集团黑龙江有限公司 Method and device for selecting data compression level
CN108958762A (en) * 2017-08-02 2018-12-07 北京视联动力国际信息技术有限公司 A kind of upgrade method and device of software
CN112416407A (en) * 2020-12-08 2021-02-26 厦门熵基科技有限公司 Software upgrading method, device, equipment and computer readable storage medium
CN113452535A (en) * 2020-03-24 2021-09-28 百度在线网络技术(北京)有限公司 Upgrading method, information processing method and device and electronic equipment
CN114465919A (en) * 2022-04-12 2022-05-10 北京天维信通科技有限公司 Network service testing method, system, electronic equipment and storage medium
CN115314480A (en) * 2022-07-06 2022-11-08 深圳拓邦股份有限公司 Method and device for remotely upgrading terminal on line
CN116708394A (en) * 2022-10-31 2023-09-05 荣耀终端有限公司 Terminal upgrading method, electronic equipment and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060168574A1 (en) * 2005-01-21 2006-07-27 David Giannini Methods and systems for transferring data over a network
CN105764093A (en) * 2014-12-19 2016-07-13 中国移动通信集团黑龙江有限公司 Method and device for selecting data compression level
CN108958762A (en) * 2017-08-02 2018-12-07 北京视联动力国际信息技术有限公司 A kind of upgrade method and device of software
CN113452535A (en) * 2020-03-24 2021-09-28 百度在线网络技术(北京)有限公司 Upgrading method, information processing method and device and electronic equipment
CN112416407A (en) * 2020-12-08 2021-02-26 厦门熵基科技有限公司 Software upgrading method, device, equipment and computer readable storage medium
CN114465919A (en) * 2022-04-12 2022-05-10 北京天维信通科技有限公司 Network service testing method, system, electronic equipment and storage medium
CN115314480A (en) * 2022-07-06 2022-11-08 深圳拓邦股份有限公司 Method and device for remotely upgrading terminal on line
CN116708394A (en) * 2022-10-31 2023-09-05 荣耀终端有限公司 Terminal upgrading method, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN116962376B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN104104707B (en) Webpage data update method, terminal, cache server and system
CN110752943B (en) Distributed fault diagnosis system and method for power transmission line
US9667522B2 (en) Method and communication system for managing a communication network
CN102143523B (en) Service delivery platform and application testing method based on service delivery platform
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN104301161A (en) Computing method, computing device and communication system for business quality index
US20170171355A1 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN105847178A (en) Network data request method and system for application program
CN102571231B (en) Communication efficiency in network analog
CN106020917B (en) A kind of software installation method and device, user terminal
CN116962376B (en) NB-IOT terminal upgrading method, device, electronic equipment and storage medium
KR101428778B1 (en) Apparatus and method for upgrading firmware of automatic meter reading terminal on the remote
CN109391982B (en) Information packet generation method, arrangement management method, network element and storage medium
CN110972185A (en) Data transmission method and device
CN110535919A (en) The method of network entry and device of concentrator, power peak regulation system
CN105490829A (en) Message transmission control methods and apparatuses, and network functions virtualization system
CN109257218B (en) Island self-healing method of network system based on SNMP protocol
CN107659510B (en) Method and device for uploading data by underground barrel terminal, storage medium and underground barrel terminal
CN110445658A (en) A kind of message processing method and system
CN104507059A (en) Multimedia message transmitting management method and multimedia message transmitting management device
CN112054860B (en) Radio frequency fault recurrence method and system
CN110213106B (en) Equipment information management method, device and system and electronic equipment
CN112437484A (en) Networking method for underground engineering geological exploration wireless seismograph and wireless seismograph
CN108628683B (en) Data transmission method and device
CN101980479B (en) Method and system for testing performance of very high frequency data chain mode-two air ground communication system

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