CN113064611B - Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof - Google Patents
Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof Download PDFInfo
- Publication number
- CN113064611B CN113064611B CN202110281402.3A CN202110281402A CN113064611B CN 113064611 B CN113064611 B CN 113064611B CN 202110281402 A CN202110281402 A CN 202110281402A CN 113064611 B CN113064611 B CN 113064611B
- Authority
- CN
- China
- Prior art keywords
- file
- data analysis
- analysis software
- upgrade
- software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 238000005192 partition Methods 0.000 claims abstract description 61
- 230000009977 dual effect Effects 0.000 claims abstract description 7
- 238000001514 detection method Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a method for realizing data analysis software upgrading aiming at wireless equipment, wherein the method sets independent partitions for the data analysis software in the equipment and is used for storing upgrading files of the data analysis software; and the data analysis software is correspondingly executed, downloaded and checked, and is updated by adopting a dual server mode. Meanwhile, the technical scheme also relates to a method for updating the data analysis software of the wireless equipment. The method for realizing the data analysis software upgrading aiming at the wireless equipment and the updating method thereof separate upgrade the data analysis software and the configuration file, use a plurality of information to check the data analysis software and the configuration file, adopt the mode of https and ftp dual server upgrade to ensure the reliability of the upgrade, and start an independent process in the system for managing the upgrade of the data analysis software, thereby ensuring the flexibility of the software upgrade.
Description
Technical Field
The invention relates to the technical field of wireless communication terminals, in particular to the technical field of updating and upgrading of wireless equipment, and specifically relates to a method for realizing data analysis software upgrading aiming at wireless equipment and an updating method thereof.
Background
The network is an indispensable tool for modern life, and especially the development of wireless networks brings more convenience in network use, so that people rely more on the network. The wireless network access terminal plays an important role in the network, besides being used as a network access point to take charge of wireless network data transmission, the wireless network access terminal can record various behavior information of the wireless network access terminal and access equipment, can provide more useful customized services for customers on the basis of analyzing user behaviors, has various behaviors and statistical modes, and can be changed continuously according to actual needs, and the requirements of the customers can be changed continuously, so that software needs to be updated continuously according to the requirements to realize the function update, but the firmware system mirror image of the equipment needs to be kept stable and cannot be updated randomly. Thus, there is a need for providing software in a terminal access device that is independent of firmware system images, which can be updated by both firmware upgrades and version changes by remote server upgrades.
Based on the above analysis, in order to solve the above-mentioned needs, the wireless access device terminal needs to solve several problems, firstly, the software and the attached configuration file need to be able to be updated independently of firmware, how the problem of storing the software file is solved, and secondly, how the relation between the firmware update and the software update is coordinated. Third, how the software and its configuration files are updated and checked. Fourth, how the upgrade server guarantees the reliability of the upgrade, and fifth, how the timeliness and controllability of the upgrade are guaranteed. These problems all require the design of a special set of software upgrades and the software of the device to provide these support.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for realizing data analysis software upgrading aiming at wireless equipment with high upgrading reliability and strong flexibility and an updating method thereof.
In order to achieve the above object, the method for implementing data analysis software upgrade for wireless device and the updating method thereof according to the present invention are as follows:
the method for realizing data analysis software upgrading for the wireless equipment is mainly characterized by comprising the following steps of:
(1) Starting a wireless device software system, and setting an independent partition for data analysis software, wherein the independent partition is an RA partition which is used for storing an upgrade file of the data analysis software;
(2) The data analysis software performs corresponding execution, downloading and verification processing;
(3) The system adopts a dual server mode to upgrade the data analysis software.
Preferably, the upgrade file includes an executable file and a configuration file, where the executable file is a binary information file, and the size of the binary file, the MD5 value of the binary file, and the binary version information are stored in the binary information file.
Preferably, the configuration file includes self-carried parameter information and self-version number information.
Preferably, the data analysis software reads the configuration files and downloads and verifies each file in sequence.
Preferably, the step (3) includes the steps of:
(3.1) starting an independent process, namely an ra_daemon process, in the wireless device software system, and executing the upgrading transaction of the data analysis software;
(3.2) the system cyclically executing the upgrade transaction according to the upgrade period value of the configuration file.
More preferably, the step (3.1) specifically includes the following steps:
(3.1.1) starting the ra_daemon process, reading the upgrade period parameter in the configuration file, initializing the server path parameter, setting the first trigger time of a timer to 30 seconds, and setting the trigger interval time to the upgrade period parameter in the configuration file in seconds;
after triggering the timer, determining whether the wireless device is networked, if the wireless device is fire, waiting for 2 minutes, checking the network state again, and if the fire is not networked, canceling the upgrade by the data analysis software and waiting for the next upgrade period after retrying for three times at most; otherwise, directly executing the step (3.1.3);
(3.1.3) if the wireless device is networked, the ra_daemon process downloads the executable file of the data analysis software from the https upgrade server, and if the download fails, downloads the executable file from the ftp server;
(3.1.4) after the executable file is successfully downloaded, the system checks the validity of the executable file and analyzes file information on a server from file contents, wherein the file information comprises the file name, the file size and the software version number of the executable file;
after the file information of the executable file is successfully analyzed, comparing the obtained software version number with the software version number in the current RA partition, if the software version number is larger than the software version number in the current RA partition, performing the step (3.1.6) to continuously upgrade, otherwise, not needing to upgrade;
(3.1.6) generating a download path according to the file name of the executable file, and downloading a binary bin file of the data analysis software from the https upgrade server, and if the download is unsuccessful, downloading the binary bin file from the ftp server;
(3.1.7) after the binary bin file is successfully downloaded, calculating the size and the md5 value of the binary bin file, comparing the calculation result of the file size with the file size obtained by analysis in the file information of the data analysis software, if the comparison result is consistent, indicating that the binary bin file is effective, replacing the binary bin file with the binary file in the RA partition, and copying the file information of the data analysis software to the RA partition;
after the step (3.1.7) of (3.1.8) is successfully executed, the configuration file is downloaded from the https upgrade server, if the configuration file is not successfully downloaded, the configuration file is downloaded from the ftp server, so as to obtain the version number information of the configuration file, the version number information is compared with the version number information of the current accessory file, and if the version number information is larger than the version number information of the current accessory file, the new configuration file is covered with the old configuration file under the RA partition.
Preferably, if the data analysis software is successfully upgraded, the ra_daemon process sends a message to the system requesting to restart the process of the data analysis software, so as to validate the newly upgraded data analysis software.
Preferably, the ra_daemon process waits for a timer of the next upgrading period to trigger the upgrading transaction to perform the next detection upgrading of the data analysis software.
Preferably, the wireless device carries a piece of data analysis software and configuration software thereof in a file system when upgrading, and after the system is started, the system determines whether to upgrade the data analysis software and the configuration file thereof in the RA partition according to the version comparison result of the data analysis software.
The method for updating the data analysis software of the wireless equipment is mainly characterized by comprising the following steps of:
(a) After the wireless device is upgraded and restarted, the system pulls up the ra_daemon process, and checks whether the RA partition has the executable file and the configuration file of the data analysis software, if not, the executable file and the configuration file of the data analysis software in the file system are directly copied to the RA partition, otherwise, the step (b) is executed;
(b) If the RA partition has the executable files and the configuration files, judging whether the data analysis software is from an upgrade server according to the file information of whether the data analysis software exists in the independent partition, and if the data analysis software does not exist, directly replacing the executable files and the configuration files in the RA partition;
(c) If the data analysis software in the RA partition is from the upgrade server, comparing the software version number of the data analysis software with the software version number of the data analysis software in the system, and if the software version number of the data analysis software in the system is larger than the software version number of the current data analysis software, covering the software version number of the current data analysis software with the software version number of the data analysis software in the system.
(d) After the detection is completed, the ra_daemon process restarts the process of the data analysis software.
The method for realizing data analysis software upgrading for wireless equipment and the updating method thereof are adopted, an independent RA partition is established in the equipment for storing RA software and configuration files, the RA software and the configuration files are upgraded separately, a plurality of pieces of information are used for checking the RA software and the configuration files, meanwhile, an independent process is started in the equipment system to be responsible for upgrading the data analysis software, the upgrading period time is acquired from the configuration files after the process is started, then a software detection upgrading task is immediately started, an upgrading timer is started after the upgrading task is completed, waiting for the next upgrading period, and the software detection upgrading task is started again. In addition, the upgrade reliability is guaranteed by adopting an https and ftp dual server upgrade mode, and an independent process is started in the system for managing the upgrade of RA software, so that the flexibility of the software upgrade is guaranteed.
Meanwhile, the technical scheme provides an upgrade scheme capable of completing software upgrade without depending on wireless equipment upgrade for certain software with special functions or special requirements, the software has special or flexible requirements, relatively frequent upgrade is required, and the flexibility, reliability, flexibility and controllability of specific software upgrade can be ensured by using the scheme.
Drawings
Fig. 1 is an upgrade flow chart of a method for implementing data analysis software upgrade for a wireless device according to the present invention.
Fig. 2 is an upgrade flow chart of a method for implementing the update of data analysis software for a wireless device according to the present invention.
Reference numerals
RA data analysis software
RA partition independent partition
ra_daemon process independent process
fire wireless device
Detailed Description
In order to more clearly describe the technical contents of the present invention, a further description will be made below in connection with specific embodiments.
Before describing in detail embodiments that are in accordance with the present invention, it should be observed that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus.
Referring to fig. 1, the method for implementing data analysis software upgrade for a wireless device includes the following steps:
(1) Starting a wireless device software system, and setting an independent partition for data analysis software, wherein the independent partition is an RA partition which is used for storing an upgrade file of the data analysis software;
(2) The data analysis software performs corresponding execution, downloading and verification processing;
(3) The system adopts a dual server mode to upgrade the data analysis software.
As a preferred embodiment of the present invention, the upgrade file includes an executable file and a configuration file, where the executable file is a binary information file, and the binary information file stores a size of the binary file, an MD5 value of the binary file, and binary version information.
As a preferred implementation mode of the invention, the configuration file comprises self-carried parameter information and self-version number information.
As a preferred embodiment of the invention, the data analysis software reads the configuration files and downloads and verifies the files sequentially.
As a preferred embodiment of the present invention, the step (3) includes the steps of:
(3.1) starting an independent process, namely an ra_daemon process, in the wireless device software system, and executing the upgrading transaction of the data analysis software;
(3.2) the system cyclically executing the upgrade transaction according to the upgrade period value of the configuration file.
As a preferred embodiment of the present invention, the step (3.1) specifically includes the steps of:
(3.1.1) starting the ra_daemon process, reading the upgrade period parameter in the configuration file, initializing the server path parameter, setting the first trigger time of a timer to 30 seconds, and setting the trigger interval time to the upgrade period parameter in the configuration file in seconds;
after triggering the timer, determining whether the wireless device is networked, if the wireless device is fire, waiting for 2 minutes, checking the network state again, and if the fire is not networked, canceling the upgrade by the data analysis software and waiting for the next upgrade period after retrying for three times at most; otherwise, directly executing the step (3.1.3);
(3.1.3) if the wireless device is networked, the ra_daemon process downloads the executable file of the data analysis software from the https upgrade server, and if the download fails, downloads the executable file from the ftp server;
(3.1.4) after the executable file is successfully downloaded, the system checks the validity of the executable file and analyzes file information on a server from file contents, wherein the file information comprises the file name, the file size and the software version number of the executable file;
after the file information of the executable file is successfully analyzed, comparing the obtained software version number with the software version number in the current RA partition, if the software version number is larger than the software version number in the current RA partition, performing the step (3.1.6) to continuously upgrade, otherwise, not needing to upgrade;
(3.1.6) generating a download path according to the file name of the executable file, and downloading a binary bin file of the data analysis software from the https upgrade server, and if the download is unsuccessful, downloading the binary bin file from the ftp server;
(3.1.7) after the binary bin file is successfully downloaded, calculating the size and the md5 value of the binary bin file, comparing the calculation result of the file size with the file size obtained by analysis in the file information of the data analysis software, if the comparison result is consistent, indicating that the binary bin file is effective, replacing the binary bin file with the binary file in the RA partition, and copying the file information of the data analysis software to the RA partition;
after the step (3.1.7) of (3.1.8) is successfully executed, the configuration file is downloaded from the https upgrade server, if the configuration file is not successfully downloaded, the configuration file is downloaded from the ftp server, so as to obtain the version number information of the configuration file, the version number information is compared with the version number information of the current accessory file, and if the version number information is larger than the version number information of the current accessory file, the new configuration file is covered with the old configuration file under the RA partition.
As a preferred embodiment of the present invention, if the data analysis software is successfully upgraded, the ra_daemon process sends a message to the system requesting to restart the process of the data analysis software, and validates the newly upgraded data analysis software.
As a preferred embodiment of the present invention, the ra_daemon process waits for the timer of the next upgrade period to trigger the upgrade transaction, and then performs the detection upgrade of the next data analysis software.
As a preferred embodiment of the present invention, when the wireless device is upgraded, a piece of data analysis software and configuration software thereof are carried in a file system, and after the system is started, the system decides whether to upgrade the data analysis software and the configuration file thereof in the RA partition according to the version comparison result of the data analysis software.
The method for updating the data analysis software of the wireless equipment based on the method is mainly characterized by comprising the following steps:
(a) After the wireless device is upgraded and restarted, the system pulls up the ra_daemon process, and checks whether the RA partition has the executable file and the configuration file of the data analysis software, if not, the executable file and the configuration file of the data analysis software in the file system are directly copied to the RA partition, otherwise, the step (b) is executed;
(b) If the RA partition has the executable files and the configuration files, judging whether the data analysis software is from an upgrade server according to the file information of whether the data analysis software exists in the independent partition, and if the data analysis software does not exist, directly replacing the executable files and the configuration files in the RA partition;
(c) If the data analysis software in the RA partition is from the upgrade server, comparing the software version number of the data analysis software with the software version number of the data analysis software in the system, and if the software version number of the data analysis software in the system is larger than the software version number of the current data analysis software, covering the software version number of the current data analysis software with the software version number of the data analysis software in the system.
(d) After the detection is completed, the ra_daemon process restarts the process of the data analysis software.
In one embodiment of the present invention, the RA software upgrade implementation steps are as follows:
1. after the wireless device software system is started, the ra_daemon process is started, upgrading period parameters in the configuration file are read, parameters such as a server path and the like are initialized, the first triggering time of a timer is set to be 30 seconds, and the triggering interval time is set to be a period value in the configuration file and is in units of seconds.
2. After the timer is triggered, checking whether the equipment is networked or not, if not, checking the network state again after waiting for 2 minutes, and after retrying for at most three times, the equipment is not networked yet, canceling the upgrading and waiting for the next upgrading period.
3. If the device is networked, ra_daemon downloads the RA software information file from the https upgrade server, and if the download fails, attempts to download the file from the ftp server.
4. After the RA software information file is downloaded successfully, the file validity is checked, and the file information on the server is analyzed from the file content, wherein the file information comprises the file name, the file size and the file version number of the RA executable file.
5. After the analysis of the RA software information file is successful, comparing the obtained RA software version number with the RA software version number in the current RA partition, if the RA software version number is larger than the RA software version number in the current RA partition, continuing upgrading, otherwise, not needing upgrading.
6. If the RA software needs to be upgraded, a download path is generated according to the file name, firstly, the RA binary bin file is downloaded from the https upgrade server, and likewise, if the downloading is unsuccessful, the file is tried to be downloaded from the ftp server.
7. And after the file is successfully downloaded, calculating the size and the md5 value of the binary file, comparing the result with information obtained by analysis in the RA software information file, if the result is consistent, indicating that the binary file is effective, replacing the binary file in the RA partition with the file, and copying the RA software information file to the RA partition.
8. And 7, after the step is successful, the RA configuration file is downloaded in the same way as the former, after the downloading is successful through an https server or an ftp server, the file is analyzed, the version number of the configuration file is obtained, the version number is compared with the version number of the current configuration file, and if the version number is larger than the version number of the current configuration file, the new configuration file is covered with the old configuration file under the RA partition.
9. If the upgrade is successful, ra_daemon sends a message to the system requesting to restart the RA process, validating the newly upgraded RA software.
10. After the upgrade is finished, ra_daemon waits for a timer trigger event of the next upgrade period to carry out the next RA software detection upgrade.
In one embodiment of the present invention, the RA software is updated after the firmware is updated, and the implementation steps are as follows:
1. after the firmware is updated and restarted, the system pulls up the ra_daemon process, checks whether the RA partition has RA software executable files and configuration files, and if not, directly copies the RA executable files and the configuration files in the file system to the RA partition.
2. If the RA partition has RA software and configuration files thereof, judging whether the RA software is from an upgrade server according to whether the RA software information file exists in the partition, and if the RA software information file does not exist, directly replacing RA executable files and configuration files in the RA partition.
3. If the RA software with heavy RA partition is from the upgrade server, the RA software version number is compared with the RA software version number in the file system, and if the RA software version number is larger than the RA software version number, the RA software version number is covered by the RA software version number.
4. After detection is completed, ra_daemon restarts RA process.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution device.
In the description of the present specification, a description referring to terms "an embodiment," "some embodiments," "examples," "specific examples," or "embodiments," "implementations," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.
The method for realizing data analysis software upgrading for wireless equipment and the updating method thereof are adopted, an independent RA partition is established in the equipment for storing RA software and configuration files, the RA software and the configuration files are upgraded separately, a plurality of pieces of information are used for checking the RA software and the configuration files, meanwhile, an independent process is started in the equipment system to be responsible for upgrading the data analysis software, the upgrading period time is acquired from the configuration files after the process is started, then a software detection upgrading task is immediately started, an upgrading timer is started after the upgrading task is completed, waiting for the next upgrading period, and the software detection upgrading task is started again. In addition, the upgrade reliability is guaranteed by adopting an https and ftp dual server upgrade mode, and an independent process is started in the system for managing the upgrade of RA software, so that the flexibility of the software upgrade is guaranteed.
Meanwhile, the technical scheme provides an upgrade scheme capable of completing software upgrade without depending on wireless equipment upgrade for certain software with special functions or special requirements, the software has special or flexible requirements, relatively frequent upgrade is required, and the flexibility, reliability, flexibility and controllability of specific software upgrade can be ensured by using the scheme.
In this specification, the invention has been described with reference to specific embodiments thereof. It will be apparent, however, that various modifications and changes may be made without departing from the spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Claims (5)
1. A method for implementing a data analysis software upgrade for a wireless device, the method comprising the steps of:
(1) Starting a wireless device software system, and setting an independent partition for data analysis software, wherein the independent partition is an RA partition which is used for storing an upgrade file of the data analysis software;
(2) The data analysis software performs corresponding execution, downloading and verification processing;
(3) The system adopts a dual server mode to upgrade the data analysis software;
the upgrade file comprises an executable file and a configuration file, wherein the executable file is a binary information file, and the binary information file is stored with the size of the binary file, the MD5 value of the binary file and binary version information;
the configuration file comprises self-carried parameter information and self-version number information;
the data analysis software reads the configuration files and downloads and checks each file according to the sequence;
the step (3) comprises the following steps:
(3.1) starting an independent process, namely an ra_daemon process, in the wireless device software system, and executing the upgrading transaction of the data analysis software;
(3.2) the system circularly executing the upgrade transaction according to the upgrade period value of the configuration file;
the step (3.1) specifically comprises the following steps:
(3.1.1) starting the ra_daemon process, reading the upgrade period parameter in the configuration file, initializing the server path parameter, setting the first trigger time of a timer to 30 seconds, and setting the trigger interval time to the upgrade period parameter in the configuration file in seconds;
after triggering the timer, determining whether the wireless device is networked, if the wireless device is fire, waiting for 2 minutes, checking the network state again, and if the fire is not networked, canceling the upgrade by the data analysis software and waiting for the next upgrade period after retrying for three times at most; otherwise, directly executing the step (3.1.3);
(3.1.3) if the wireless device is networked, the ra_daemon process downloads the executable file of the data analysis software from the https upgrade server, and if the download fails, downloads the executable file from the ftp server;
(3.1.4) after the executable file is successfully downloaded, the system checks the validity of the executable file and analyzes file information on a server from file contents, wherein the file information comprises the file name, the file size and the software version number of the executable file;
after the file information of the executable file is successfully analyzed, comparing the obtained software version number with the software version number in the current RA partition, if the software version number is larger than the software version number in the current RA partition, performing the step (3.1.6) to continuously upgrade, otherwise, not needing to upgrade;
(3.1.6) generating a download path according to the file name of the executable file, and downloading a binary bin file of the data analysis software from the https upgrade server, and if the download is unsuccessful, downloading the binary bin file from the ftp server;
(3.1.7) after the binary bin file is successfully downloaded, calculating the size and the md5 value of the binary bin file, comparing the calculation result of the file size with the file size obtained by analysis in the file information of the data analysis software, if the comparison result is consistent, indicating that the binary bin file is effective, replacing the binary bin file with the binary file in the RA partition, and copying the file information of the data analysis software to the RA partition;
after the step (3.1.7) of (3.1.8) is successfully executed, the configuration file is downloaded from the https upgrade server, if the configuration file is not successfully downloaded, the configuration file is downloaded from the ftp server, so as to obtain the version number information of the configuration file, the version number information is compared with the version number information of the current accessory file, and if the version number information is larger than the version number information of the current accessory file, the new configuration file is covered with the old configuration file under the RA partition.
2. The method for implementing a data analysis software upgrade for a wireless device as recited in claim 1,
if the data analysis software is successfully upgraded, the ra_daemon process sends a message to the system requesting to restart the process of the data analysis software, so that the newly upgraded data analysis software is validated.
3. The method for implementing data analysis software upgrade for wireless equipment according to claim 2, wherein after the upgrade is finished, the ra_daemon process waits for a timer of the next upgrade period to trigger the upgrade transaction, and then performs the detection upgrade of the next data analysis software.
4. A method for implementing data analysis software upgrade for wireless devices according to any one of claims 1-3, wherein a data analysis software and configuration software thereof are carried in a file system when the wireless device is upgraded, and the system determines whether to upgrade the data analysis software and the configuration file thereof in the RA partition according to the version comparison result of the data analysis software after starting.
5. A method of implementing an update to data analysis software of a wireless device according to any one of claims 1 to 3, the method comprising the steps of:
(a) After the wireless device is upgraded and restarted, the system pulls up the ra_daemon process, and checks whether the RA partition has the executable file and the configuration file of the data analysis software, if not, the executable file and the configuration file of the data analysis software in the file system are directly copied to the RA partition, otherwise, the step (b) is executed;
(b) If the RA partition has the executable files and the configuration files, judging whether the data analysis software is from an upgrade server according to the file information of whether the data analysis software exists in the independent partition, and if the data analysis software does not exist, directly replacing the executable files and the configuration files in the RA partition;
(c) If the data analysis software in the RA partition is from an upgrade server, comparing the software version number of the data analysis software with the software version number of the data analysis software in the system, and if the software version number of the data analysis software in the system is larger than the software version number of the current data analysis software, covering the software version number of the current data analysis software with the software version number of the data analysis software in the system;
(d) After the detection is completed, the ra_daemon process restarts the process of the data analysis software.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110281402.3A CN113064611B (en) | 2021-03-16 | 2021-03-16 | Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110281402.3A CN113064611B (en) | 2021-03-16 | 2021-03-16 | Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113064611A CN113064611A (en) | 2021-07-02 |
CN113064611B true CN113064611B (en) | 2024-02-02 |
Family
ID=76560646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110281402.3A Active CN113064611B (en) | 2021-03-16 | 2021-03-16 | Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113064611B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114513413B (en) * | 2022-01-04 | 2023-10-10 | 广东万和新电气股份有限公司 | Intelligent household equipment upgrading method, intelligent household equipment and system |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080095725A (en) * | 2007-04-24 | 2008-10-29 | 삼성전자주식회사 | Method for upgrading software and broadcast receiving apparatus using the same |
CN103106092A (en) * | 2013-02-18 | 2013-05-15 | 青岛海信宽带多媒体技术有限公司 | System software updating method and device in terminal appliance |
CN103279372A (en) * | 2013-05-23 | 2013-09-04 | 青岛海信宽带多媒体技术有限公司 | Set top box software upgrading method and set top box |
CN103455354A (en) * | 2013-09-06 | 2013-12-18 | 南京南自信息技术有限公司 | Method and equipment for preventing hardware update from failing |
CN104156244A (en) * | 2014-08-06 | 2014-11-19 | 北京奇虎科技有限公司 | Method and device for software upgrading |
CN104978223A (en) * | 2015-07-02 | 2015-10-14 | 上海市共进通信技术有限公司 | Method for implementing upgrade of device firmware in Web manner |
CN105808274A (en) * | 2014-12-30 | 2016-07-27 | 航天信息股份有限公司 | Software upgrading method and system as well as corresponding clients and servers |
CN107291497A (en) * | 2017-06-08 | 2017-10-24 | Tcl通力电子(惠州)有限公司 | Multi-firmware upgrading method and system and readable storage medium |
CN108271054A (en) * | 2017-01-03 | 2018-07-10 | ***通信有限公司研究院 | A kind of firmware upgrade backup method and device |
CN110138857A (en) * | 2019-05-14 | 2019-08-16 | 四川九州电子科技股份有限公司 | The method of network-termination device realization auto upgrading |
CN110502256A (en) * | 2018-05-18 | 2019-11-26 | 佛山市顺德区美的电热电器制造有限公司 | A kind of method for upgrading software, terminal and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160022453A (en) * | 2014-08-19 | 2016-03-02 | 삼성전자주식회사 | Mobile electronic device including embedded memory |
-
2021
- 2021-03-16 CN CN202110281402.3A patent/CN113064611B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080095725A (en) * | 2007-04-24 | 2008-10-29 | 삼성전자주식회사 | Method for upgrading software and broadcast receiving apparatus using the same |
CN103106092A (en) * | 2013-02-18 | 2013-05-15 | 青岛海信宽带多媒体技术有限公司 | System software updating method and device in terminal appliance |
CN103279372A (en) * | 2013-05-23 | 2013-09-04 | 青岛海信宽带多媒体技术有限公司 | Set top box software upgrading method and set top box |
CN103455354A (en) * | 2013-09-06 | 2013-12-18 | 南京南自信息技术有限公司 | Method and equipment for preventing hardware update from failing |
CN104156244A (en) * | 2014-08-06 | 2014-11-19 | 北京奇虎科技有限公司 | Method and device for software upgrading |
CN105808274A (en) * | 2014-12-30 | 2016-07-27 | 航天信息股份有限公司 | Software upgrading method and system as well as corresponding clients and servers |
CN104978223A (en) * | 2015-07-02 | 2015-10-14 | 上海市共进通信技术有限公司 | Method for implementing upgrade of device firmware in Web manner |
CN108271054A (en) * | 2017-01-03 | 2018-07-10 | ***通信有限公司研究院 | A kind of firmware upgrade backup method and device |
CN107291497A (en) * | 2017-06-08 | 2017-10-24 | Tcl通力电子(惠州)有限公司 | Multi-firmware upgrading method and system and readable storage medium |
CN110502256A (en) * | 2018-05-18 | 2019-11-26 | 佛山市顺德区美的电热电器制造有限公司 | A kind of method for upgrading software, terminal and storage medium |
CN110138857A (en) * | 2019-05-14 | 2019-08-16 | 四川九州电子科技股份有限公司 | The method of network-termination device realization auto upgrading |
Non-Patent Citations (2)
Title |
---|
Dynamic Software Updates to Enhance Security and Privacy in High Availability Energy Management Applications in Smart Cities;Imanol Mugarza等;《IEEE Access 》;第42269 - 42279页 * |
机顶盒软件升级方式设计与实现;魏中华;《cnki优秀硕士学位论文全文库 信息科技辑》(第02期);第I136-1319页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113064611A (en) | 2021-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110621011B (en) | OTA firmware upgrading method and system based on Bluetooth device side | |
US9270732B2 (en) | System and method for automatically uploading updates | |
US11875143B2 (en) | Deploying device campaign updates to IoT devices | |
US20040188511A1 (en) | System to automatically process components on a device | |
US20120117557A1 (en) | Method and system for upgrading wireless data card | |
KR20060129312A (en) | Use loader for signaling the system software update service | |
CN103353845A (en) | Method and device for uploading and pushing script | |
KR101201276B1 (en) | Method, software and apparatus for performing actions on a wireless device using action lists and versioning | |
CN106775873B (en) | Method and equipment for updating mobile phone software and acquiring patch file | |
CN110457049B (en) | Method and device for realizing plug-in automation, electronic equipment and storage medium | |
CN112615747B (en) | Method and device for automatically deploying and configuring network equipment | |
US6832374B2 (en) | System and method for updating an executing executable file | |
CN110597545A (en) | Hot patch intelligent upgrading method and system based on OTA component | |
CN113282316A (en) | Remote upgrading method and device for Internet of things equipment | |
CN113064611B (en) | Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof | |
EP3809259A1 (en) | Network node firmware update | |
CN114840242A (en) | System upgrading method and device of electronic equipment and readable storage medium | |
CN112667265A (en) | Method and device for updating bootstrap program | |
CN110580167A (en) | system upgrading method, intelligent device and server | |
CN108459868A (en) | A kind of software start-up method, device, terminal and storage medium | |
CN114546588A (en) | Task deployment method and device, storage medium and electronic device | |
CN112256283A (en) | Application version control method and device for Android equipment | |
JP2006277216A (en) | Automatic fw update method for multi-os installable platform | |
CN101854442B (en) | Network device and firmware updating method thereof | |
CN108717363B (en) | Method and device for starting engine, 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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240105 Address after: 215412 No.89 Jiangnan Road, Ludu Town, Taicang City, Suzhou City, Jiangsu Province Applicant after: TAICANG T&W ELECTRONICS Co.,Ltd. Address before: 200235 7th floor, Yuanzhong scientific research building, 1905 Hongmei Road, Xuhui District, Shanghai Applicant before: SHANGHAI GONGJIN COMMUNICATIONS TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |