CN114095788A - Wifi drive and firmware hot update processing method, device, terminal and medium - Google Patents
Wifi drive and firmware hot update processing method, device, terminal and medium Download PDFInfo
- Publication number
- CN114095788A CN114095788A CN202111355320.5A CN202111355320A CN114095788A CN 114095788 A CN114095788 A CN 114095788A CN 202111355320 A CN202111355320 A CN 202111355320A CN 114095788 A CN114095788 A CN 114095788A
- Authority
- CN
- China
- Prior art keywords
- firmware
- drive
- latest
- driver
- suffix
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
Abstract
The invention discloses a wifi driving and firmware hot update processing method, a wifi driving and firmware hot update processing device, a wifi driving and firmware hot update processing terminal and a wifi driving and firmware hot update processing medium, wherein the wifi driving and firmware hot update processing method comprises the following steps: detecting whether the matched latest drive and firmware exist; when the matched latest drive and firmware exist, controlling to download the latest drive and firmware; adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware; and after deleting the first temporary suffix, the latest driver and firmware added with the first temporary suffix are updated to the system in a hot mode in a starting state. The invention provides a method for thermally updating a Wi-Fi drive and firmware, which enables a user to directly update the Wi-Fi drive without restarting a television or reinstalling a system.
Description
Technical Field
The invention relates to the technical field of firmware and drive updating of intelligent equipment, in particular to a wifi drive and firmware hot updating processing method and device, an intelligent terminal and a computer readable storage medium.
Background
With the continuous development of television technology, updating iteration has higher requirements on the function and performance of the Wi-Fi module. The function, performance, stability and the like of the Wi-Fi module are related to hardware, drivers and firmware of the Wi-Fi module, so that the drivers and firmware of the Wi-Fi module are often updated in order to ensure the stable performance of the Wi-Fi module.
In the prior art, for Wi-Fi drive and firmware update, the drive and the firmware need to be compiled into a system, and the drive and the firmware need to be updated along with the whole pushing of the system, and the whole pushing of the system needs to be recompiled and a system test, so that the cycle is slow and the efficiency is low.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The invention mainly aims to provide a wifi drive and firmware hot update processing method, a wifi drive and firmware hot update processing device, an intelligent terminal and a computer readable storage medium.
In order to achieve the above object, the present invention provides a wifi driving and firmware hot update processing method, wherein the method includes:
a wifi driving and firmware hot update processing method is provided, wherein the method comprises the following steps:
detecting whether the matched latest drive and firmware exist;
when the matched latest drive and firmware exist, controlling to download the latest drive and firmware;
adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware;
and after deleting the first temporary suffix, the latest driver and firmware added with the first temporary suffix are updated to the system in a hot mode in a starting state.
The method for processing wifi drive and firmware hot update comprises the following steps of adding the latest drive and firmware of a first temporary suffix, deleting the first temporary suffix, and hot updating the latest drive and firmware to a system in a starting state:
acquiring an updating completion instruction, automatically performing one-time self-check, and checking whether the test server can be normally connected or not;
when the test server can be normally connected, the normal updating is prompted;
and when the test server can not be connected, controlling to back to the original backup drive.
The wifi driver and firmware hot update processing method, wherein the step of detecting whether there is an adapted latest driver and firmware includes:
the method comprises the steps of automatically adapting and testing the latest drive and firmware in a development environment in advance;
and after the adaptation and the test are completed, uploading the driver and the firmware to a driver updating server, and simultaneously recording the system version and the platform information corresponding to the driver and the firmware.
The wifi drive and firmware hot update processing method comprises the following steps of:
detecting the start of the intelligent equipment, and controlling the connection and communication with the drive updating server;
the intelligent device detects whether the drive update server has the matched latest drive and firmware.
The wifi drive and firmware hot update processing method is characterized in that when the matched latest drive and firmware exist, the step of controlling downloading of the latest drive and firmware comprises the following steps:
acquiring the corresponding latest drive and firmware from a drive updating server;
comparing the latest drive and firmware with the version number of the local drive and firmware, and judging whether the version number of the latest drive and firmware of the drive updating server is higher than the version number of the local drive and firmware;
and when the version number of the latest drive and firmware of the drive update server is higher than the version number of the local drive and firmware, judging that the latest drive and firmware are adaptive, and controlling to download the latest drive and firmware.
The wifi drive and firmware hot update processing method, wherein adding a first temporary suffix after the downloaded file name of the latest drive and firmware, automatically backing up the original drive and firmware before update, and adding a second temporary suffix after the file name of the backed-up drive and firmware comprises:
adding a first temporary suffix after the downloaded file name of the latest driver and firmware and storing the first temporary suffix; and prompting a user to drive hot update through an operation menu;
and automatically backing up the original drive and firmware before updating, and adding a second temporary suffix after the file name of the backed-up drive and firmware.
The wifi driving and firmware hot update processing method comprises the following steps of adding the latest driving and firmware of the first temporary suffix, deleting the first temporary suffix, and hot updating the latest driving and firmware to a system in a starting state:
in a starting state, the latest drive and firmware added with the first temporary suffix are deleted, the latest drive and firmware deleted with the first temporary suffix are replaced with the original drive, and the drive and the firmware are updated to the system.
A wifi driver and firmware hot update processing apparatus, wherein the apparatus comprises:
the detection module is used for detecting whether the matched latest drive and firmware exist or not;
the download control module is used for controlling the download of the latest drive and the firmware when the latest drive and the firmware are adaptive;
the adding and backup module is used for adding a first temporary suffix after the downloaded file name of the latest drive and firmware, automatically backing up the original drive and firmware before updating, and adding a second temporary suffix after the file name of the backed-up drive and firmware;
the update control module is used for deleting the latest drive and firmware added with the first temporary suffix and then thermally updating the latest drive and firmware to the system in a starting state;
the verification module is used for acquiring the update completion instruction, automatically performing one-time self-check and checking whether the test server can be normally connected or not; when the test server can be normally connected, the normal updating is prompted; and when the test server can not be connected, controlling to back to the original backup drive.
The intelligent terminal comprises a memory, a processor and a wifi drive and firmware hot update processing program which is stored on the memory and can run on the processor, wherein the wifi drive and firmware hot update processing program realizes any step of the wifi drive and firmware hot update processing method when being executed by the processor.
A computer readable storage medium, wherein a wifi driver and firmware hot update processing program is stored on the computer readable storage medium, and when being executed by a processor, the wifi driver and firmware hot update processing program realizes any one of the steps of the wifi driver and firmware hot update processing method.
From the above, the present invention provides a method for hot-updating Wi-Fi drivers and firmware, comprising: detecting whether the matched latest drive and firmware exist; when the matched latest drive and firmware exist, controlling to download the latest drive and firmware; adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware; and after deleting the first temporary suffix, the latest driver and firmware added with the first temporary suffix are updated to the system in a hot mode in a starting state. The method and the device can enable a user to directly update the Wi-Fi drive without restarting the television and reinstalling the system, can reduce the period and cost of drive pushing, and improve the stability of the drive and firmware update due to the verification process, thereby providing convenience for the user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a wifi driver and firmware hot update processing method according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating another wifi driver and firmware hot update processing method according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a wifi driver and firmware hot-update processing apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when …" or "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted depending on the context to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings of the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
In the modern society, with the continuous development of television technology, update iteration also has higher requirements on the function and performance of the Wi-Fi module. The function, performance, stability and the like of the Wi-Fi module are related to hardware, drivers and firmware of the Wi-Fi module, so that the drivers and firmware of the Wi-Fi module are often updated in order to ensure the stable performance of the Wi-Fi module.
In the prior art, for Wi-Fi drive and firmware update, the drive and the firmware need to be compiled into a system, and the drive and the firmware need to be updated along with the whole pushing of the system, and the whole pushing of the system needs to be recompiled and a system test, so that the cycle is slow and the efficiency is low.
In order to solve the problems in the prior art, the scheme of the invention adopts the latest driver and firmware for detecting whether the adapter exists; when the matched latest drive and firmware exist, controlling to download the latest drive and firmware; adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware; and after deleting the first temporary suffix, the latest driver and firmware added with the first temporary suffix are updated to the system in a hot mode in a starting state. The invention provides a method for thermally updating a Wi-Fi drive and firmware, which enables a user to directly update the Wi-Fi drive without restarting a television or reinstalling a system.
The drive and firmware hot update in the embodiment of the present invention refers to drive and/or firmware hot update, that is, the drive and firmware hot update includes a single drive hot update, a single firmware hot update, and a drive and firmware hot update simultaneously.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a wifi driver and firmware hot update processing method, specifically, the method includes the following steps:
step S100, detecting whether the matched latest drive and firmware exist;
in the embodiment, the invention first detects whether there is a new driver and/or firmware that is adapted to the wifi driver and/or firmware. For example, when the smart television is started, the smart television is automatically connected with the drive update server to detect whether the drive update server has the latest drive and firmware.
When the method is implemented, the latest driver and the firmware are automatically adapted and tested in a development environment in advance each time; and when the adaptation and the test are completed, uploading the driver and the firmware to a driver updating server, and simultaneously recording the system version and the platform information corresponding to the driver and the firmware.
For example, there may be a new WIFI driver or new WIFI firmware, or both. The invention can complete the adaptation and test of Wi-Fi drive and/or firmware in advance in the development environment, when the function and performance meet the requirements, the drive is uploaded to the drive updating server, and the information of system version, platform and the like corresponding to the drive is recorded.
Then after the intelligent television is started, controlling the connection and communication with a drive updating server; the intelligent television detects whether the drive update server has the matched latest drive and/or firmware.
Step S200, when the matched latest drive and firmware exist, controlling to download the latest drive and firmware;
in the embodiment of the invention, when the drive update server is detected to have the adaptive latest drive and firmware, the latest drive and/or firmware is controlled to be downloaded.
Specifically, after the smart television is started, the smart television is connected and communicated with a drive updating server, and corresponding latest drive and/or firmware are obtained from the drive updating server; comparing the latest drive and/or firmware with the version number of the local drive and/or firmware, and judging whether the version number of the latest drive and/or firmware of the drive updating server is higher than the version number of the local drive and/or firmware;
in the invention, when the version number of the latest drive and/or firmware of the drive update server is higher than the version number of the local drive and/or firmware, the latest drive and firmware with adaptation is judged, and the latest drive and firmware are controlled to be downloaded. Of course, the specific comparison is that the information of the system version, platform, etc. corresponding to the driver is compared first to find the most suitable electric new driver and/or firmware.
Step S300, adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware;
when the method is implemented specifically, a first temporary suffix is added after the file name of the downloaded latest driver and firmware, so that the downloaded latest driver and/or firmware can be prevented from directly replacing the original driver and/or firmware.
In order to prevent the situation that the drive and/or firmware cannot normally run due to abnormal conditions in the updating process, the original drive and firmware are automatically backed up before the drive and firmware are updated, and a second temporary suffix is added after the file name of the backed-up drive and firmware, so that the drive and/or firmware which is backed up can be conveniently distinguished.
Specifically, the invention adds a first temporary suffix after the downloaded file name of the latest driver and firmware and stores the first temporary suffix; and prompting a user to drive hot update through an operation menu; for example, after a television is started, the television is firstly connected and communicated with a drive updating server, whether the latest drive and firmware matched with the current platform exist in the server is compared, if the latest drive and firmware matched with the current platform exist in the server, the latest drive and firmware are downloaded to the system, and a suffix is added, wherein the new is the drive named mt7668.ko, and the drive downloaded to the system is mt7668.ko. A new first suffix name is added. And for another example, the firmware name is xx7669.bin, and the firmware downloaded into the system is xx7669.bin. A new first suffix name is added. This may avoid the downloaded latest driver and/or firmware directly replacing the original driver and/or firmware.
When the latest drive and/or firmware is downloaded, the method and the device can prompt the user to need to carry out drive hot update, in the example, the user is prompted whether to select to update the drive and/or firmware through the operation interface, and the user can select yes or no.
The invention automatically backs up the original drive and firmware before updating, and adds a second temporary suffix after the file name of the backed-up drive and firmware. For example, the original firmware form of the smart device is xxx. Therefore, the situation that the normal operation cannot be carried out due to the abnormal situation in the drive and/or firmware updating process can be prevented.
In step S400, the latest driver and firmware to which the first temporary suffix is added are hot-updated to the system in the startup state after the first temporary suffix is deleted.
The invention completes the preparation work before updating, such as the drive and firmware needing updating, and after backup. When the driver and/or the firmware are updated specifically, the latest driver and/or the firmware added with the first temporary suffix are updated to the system in a hot mode in a starting state after the first temporary suffix is deleted, and the original driver and/or the firmware are replaced.
Specifically, for example, in the startup state of the smart television, the latest driver and firmware of the first temporary suffix are added, the first temporary suffix is deleted, the latest driver and firmware of the first temporary suffix are deleted to replace the original driver, and the driver and firmware are updated to the system.
In the embodiment of the invention, the whole updating process is about 10 seconds, and wifi needs to be closed for a period of time. And if the user accepts the hot update, closing wifi, backing up the original mt7668.ko drive to mt7668.ko. bak, adding the latest drive mt7668.ko. new of the first temporary suffix, deleting the first temporary suffix, then hot updating the system in the starting state, replacing the original drive with the new drive name mt7668.ko, and opening wifi again after the new drive is completed.
In the embodiment of the invention, if the user does not accept the hot update, the update is carried out before the wifi is turned on when the computer is started next time, and the effect of updating the drive and the firmware can be achieved.
In a further embodiment, after the step S400, the method further includes:
acquiring an updating completion instruction, automatically performing one-time self-check, and checking whether the test server can be normally connected or not; when the test server can be normally connected, the normal updating is prompted; and when the test server can not be connected, controlling to back to the original backup drive. In the embodiment of the invention, after the updating is finished, a self-check is needed to check whether the test server can be normally connected; the intelligent device can be normally connected, the updating is normal, if the normal connection cannot be realized, the original backup driving is returned, the situation that the intelligent device cannot be connected with the WIFI network due to updating failure can be avoided, and convenience is provided for the user.
The invention is further illustrated in detail by the following specific application examples:
as shown in fig. 2, a wifi driver and firmware hot update processing method according to this embodiment includes the following steps:
step S10, start;
step S11, after starting up, connecting with a drive update server, checking whether a new drive and firmware exist, checking whether the drive is downloaded and waits for updating, and entering step S12;
step S12, whether the drive waiting update has been downloaded, if not, go to step S13, and if so, go to step S20;
step S13, checking whether there is new drive and firmware, if yes, going to step S14;
step S14, downloading new drive, prompting the user to carry out drive hot update, and entering step S15;
step S15, if the user needs hot update, the process goes to step S20, and if not, the process goes to step S23;
step S20, the WIFI is turned off, the original drive and the firmware are backed up, and the new drive and the new firmware are replaced by updating;
step S21, verifying whether the WIFI function is normal, and entering step S22;
step S22, whether the WIFI function is normal or not, if not, the step S23 is carried out, and if so, the step S24 is carried out;
step S23, closing WIFI, backing up the previous drive and firmware, restarting WIFI, and ending
And step S24, end.
Exemplary device
As shown in fig. 3, corresponding to the wifi driver and firmware hot update processing method, an embodiment of the present invention further provides a wifi driver and firmware hot update processing apparatus, where the wifi driver and firmware hot update processing apparatus includes:
a detection module 610, configured to detect whether there is an adapted latest driver and firmware;
a download control module 620, configured to control downloading of the latest driver and firmware when there is the latest driver and firmware that are adaptive;
an adding and backing-up module 630, configured to add a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically back up the original driver and firmware before updating, and add a second temporary suffix after the file name of the backed-up driver and firmware;
an update control module 640, configured to delete the latest driver and firmware to which the first temporary suffix is added, and then hot update the latest driver and firmware to the system in a start state;
the verification module 650 is configured to obtain an update completion instruction, automatically perform a self-check, and check whether the test server can be normally connected; when the test server can be normally connected, the normal updating is prompted; and when the test server can not be connected, controlling to back to the original backup drive.
Specifically, in this embodiment, the specific functions of each module of the wifi driver and firmware hot update processing apparatus may refer to the corresponding descriptions in the wifi driver and firmware hot update processing method, which are not described herein again.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 4. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a wifi driver and firmware hot update processing program. The internal memory provides an environment for the operation of an operating system, a wifi driver and a firmware hot update processing program in the nonvolatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. When being executed by the processor, the wifi driver and firmware hot update processing program realizes the steps of any one of the above wifi driver and firmware hot update processing methods. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be understood by those skilled in the art that the block diagram shown in fig. 4 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
In one embodiment, an intelligent terminal is provided, where the intelligent terminal includes a memory, a processor, and a wifi driver and firmware hot-update handler stored in the memory and executable on the processor, and the wifi driver and firmware hot-update handler performs the following operations when executed by the processor:
detecting whether the matched latest drive and firmware exist;
when the matched latest drive and firmware exist, controlling to download the latest drive and firmware;
adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware;
the latest driver and firmware with the first temporary suffix added thereto are hot updated to the system in the boot state after the first temporary suffix is deleted, as described above.
Wherein the step of hot updating the system in a boot state after deleting the first temporary suffix, for the latest driver and firmware to which the first temporary suffix is added, further comprises:
acquiring an updating completion instruction, automatically performing one-time self-check, and checking whether the test server can be normally connected or not;
when the test server can be normally connected, the normal updating is prompted;
and when the test server can not be connected, controlling to back to the original backup drive.
Wherein the step of detecting whether there is an adapted latest driver and firmware comprises:
the method comprises the steps of automatically adapting and testing the latest drive and firmware in a development environment in advance;
and after the adaptation and the test are completed, uploading the driver and the firmware to a driver updating server, and simultaneously recording the system version and the platform information corresponding to the driver and the firmware.
Wherein the step of detecting whether there is an adapted latest driver and firmware comprises:
detecting the start of the intelligent equipment, and controlling the connection and communication with the drive updating server;
the intelligent device detects whether the drive update server has the matched latest drive and firmware.
Wherein, when the latest driver and the firmware are adaptive, the step of controlling downloading of the latest driver and the firmware comprises the following steps:
acquiring the corresponding latest drive and firmware from a drive updating server;
comparing the latest drive and firmware with the version number of the local drive and firmware, and judging whether the version number of the latest drive and firmware of the drive updating server is higher than the version number of the local drive and firmware;
and when the version number of the latest drive and firmware of the drive update server is higher than the version number of the local drive and firmware, judging that the latest drive and firmware are adaptive, and controlling to download the latest drive and firmware.
Wherein, adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware comprises:
adding a first temporary suffix after the downloaded file name of the latest driver and firmware and storing the first temporary suffix; and prompting a user to drive hot update through an operation menu;
and automatically backing up the original drive and firmware before updating, and adding a second temporary suffix after the file name of the backed-up drive and firmware.
Wherein the step of hot-updating the system in a boot state after deleting the first temporary suffix from the latest driver and firmware to which the first temporary suffix is added comprises:
in a starting state, the latest drive and firmware added with the first temporary suffix are deleted, the latest drive and firmware deleted with the first temporary suffix are replaced with the original drive, and the drive and the firmware are updated to the system.
The embodiment of the invention also provides a computer-readable storage medium, the computer-readable storage medium is stored with a wifi driver and firmware hot update processing program, and the wifi driver and firmware hot update processing program is executed by a processor to realize the steps of any wifi driver and firmware hot update processing method provided by the embodiment of the invention.
In summary, the present invention provides a method for hot-updating Wi-Fi drivers and firmware, the method comprising: detecting whether the matched latest drive and firmware exist; when the matched latest drive and firmware exist, controlling to download the latest drive and firmware; adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware; and after deleting the first temporary suffix, the latest driver and firmware added with the first temporary suffix are updated to the system in a hot mode in a starting state. The method and the device can enable a user to directly update the Wi-Fi drive without restarting the television and reinstalling the system, can reduce the period and cost of drive pushing, and improve the stability of the drive and firmware update due to the verification process, thereby providing convenience for the user.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical division, and the actual implementation may be implemented by another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the contents contained in the computer-readable storage medium can be increased or decreased as required by legislation and patent practice in the jurisdiction.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.
Claims (10)
1. A wifi driving and firmware hot update processing method is characterized by comprising the following steps:
detecting whether the matched latest drive and firmware exist;
when the matched latest drive and firmware exist, controlling to download the latest drive and firmware;
adding a first temporary suffix after the downloaded file name of the latest driver and firmware, automatically backing up the original driver and firmware before updating, and adding a second temporary suffix after the file name of the backed-up driver and firmware;
and after deleting the first temporary suffix, the latest driver and firmware added with the first temporary suffix are updated to the system in a hot mode in a starting state.
2. A wifi driver and firmware hot update processing method according to claim 1, characterized in that, the said method of adding the latest driver and firmware of the first temporary suffix, after deleting the first temporary suffix, after the step of hot updating to the system in the boot state further comprises:
acquiring an updating completion instruction, automatically performing one-time self-check, and checking whether the test server can be normally connected or not;
when the test server can be normally connected, the normal updating is prompted;
and when the test server can not be connected, controlling to back to the original backup drive.
3. The wifi driver and firmware hot update processing method according to claim 1, wherein the step of detecting whether there is an adapted latest driver and firmware comprises:
the method comprises the steps of automatically adapting and testing the latest drive and firmware in a development environment in advance;
and after the adaptation and the test are completed, uploading the driver and the firmware to a driver updating server, and simultaneously recording the system version and the platform information corresponding to the driver and the firmware.
4. The wifi driver and firmware hot update processing method of claim 1, wherein the step of detecting whether there is an adapted latest driver and firmware includes:
detecting the start of the intelligent equipment, and controlling the connection and communication with the drive updating server;
the intelligent device detects whether the drive update server has the matched latest drive and firmware.
5. The wifi driver and firmware hot update processing method according to claim 4, wherein the step of controlling downloading of the latest driver and firmware when there is an adaptive latest driver and firmware comprises:
acquiring the corresponding latest drive and firmware from a drive updating server;
comparing the latest drive and firmware with the version number of the local drive and firmware, and judging whether the version number of the latest drive and firmware of the drive updating server is higher than the version number of the local drive and firmware;
and when the version number of the latest drive and firmware of the drive update server is higher than the version number of the local drive and firmware, judging that the latest drive and firmware are adaptive, and controlling to download the latest drive and firmware.
6. The wifi driver and firmware hot update processing method of claim 1, wherein the adding a first temporary suffix after the downloaded file name of the latest driver and firmware, and automatically backing up the original driver and firmware before update, and adding a second temporary suffix after the file name of the backed up driver and firmware comprises:
adding a first temporary suffix after the downloaded file name of the latest driver and firmware and storing the first temporary suffix; and prompting a user to drive hot update through an operation menu;
and automatically backing up the original drive and firmware before updating, and adding a second temporary suffix after the file name of the backed-up drive and firmware.
7. A wifi driver and firmware hot update processing method according to claim 1, characterized by that, the step of hot updating to the system in the boot state after deleting the first temporary suffix to the latest driver and firmware added with the first temporary suffix includes:
in a starting state, the latest drive and firmware added with the first temporary suffix are deleted, the latest drive and firmware deleted with the first temporary suffix are replaced with the original drive, and the drive and the firmware are updated to the system.
8. A wifi drive and firmware hot update processing apparatus, the apparatus comprising:
the detection module is used for detecting whether the matched latest drive and firmware exist or not;
the download control module is used for controlling the download of the latest drive and the firmware when the latest drive and the firmware are adaptive;
the adding and backup module is used for adding a first temporary suffix after the downloaded file name of the latest drive and firmware, automatically backing up the original drive and firmware before updating, and adding a second temporary suffix after the file name of the backed-up drive and firmware;
the update control module is used for deleting the latest drive and firmware added with the first temporary suffix and then thermally updating the latest drive and firmware to the system in a starting state;
the verification module is used for acquiring the update completion instruction, automatically performing one-time self-check and checking whether the test server can be normally connected or not; when the test server can be normally connected, the normal updating is prompted; and when the test server can not be connected, controlling to back to the original backup drive.
9. An intelligent terminal, comprising a memory, a processor and a wifi driver and firmware hot update handler stored on the memory and operable on the processor, wherein the wifi driver and firmware hot update handler, when executed by the processor, implements the steps of the wifi driver and firmware hot update processing method of any one of claims 1-7.
10. A computer-readable storage medium, wherein a wifi driver and firmware hot-update handler is stored on the computer-readable storage medium, and when executed by a processor, the wifi driver and firmware hot-update handler implements the steps of the wifi driver and firmware hot-update processing method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111355320.5A CN114095788A (en) | 2021-11-16 | 2021-11-16 | Wifi drive and firmware hot update processing method, device, terminal and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111355320.5A CN114095788A (en) | 2021-11-16 | 2021-11-16 | Wifi drive and firmware hot update processing method, device, terminal and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114095788A true CN114095788A (en) | 2022-02-25 |
Family
ID=80300948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111355320.5A Pending CN114095788A (en) | 2021-11-16 | 2021-11-16 | Wifi drive and firmware hot update processing method, device, terminal and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114095788A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1924802A (en) * | 2006-10-08 | 2007-03-07 | 北京启明星辰信息技术有限公司 | Self-upgrading method for updating program |
US20150149989A1 (en) * | 2013-11-26 | 2015-05-28 | Inventec Corporation | Server system and update method thereof |
CN106775980A (en) * | 2016-12-15 | 2017-05-31 | 北京奇虎科技有限公司 | A kind of process ID management method, device and computer-readable medium |
CN109086065A (en) * | 2018-08-16 | 2018-12-25 | 深圳市元征科技股份有限公司 | A kind of method for upgrading software, system and terminal device |
CN112969166A (en) * | 2021-02-02 | 2021-06-15 | 惠州Tcl移动通信有限公司 | Mobile terminal Bluetooth upgrading processing method and device, terminal equipment and medium |
-
2021
- 2021-11-16 CN CN202111355320.5A patent/CN114095788A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1924802A (en) * | 2006-10-08 | 2007-03-07 | 北京启明星辰信息技术有限公司 | Self-upgrading method for updating program |
US20150149989A1 (en) * | 2013-11-26 | 2015-05-28 | Inventec Corporation | Server system and update method thereof |
CN106775980A (en) * | 2016-12-15 | 2017-05-31 | 北京奇虎科技有限公司 | A kind of process ID management method, device and computer-readable medium |
CN109086065A (en) * | 2018-08-16 | 2018-12-25 | 深圳市元征科技股份有限公司 | A kind of method for upgrading software, system and terminal device |
CN112969166A (en) * | 2021-02-02 | 2021-06-15 | 惠州Tcl移动通信有限公司 | Mobile terminal Bluetooth upgrading processing method and device, terminal equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109814524B (en) | Vehicle diagnosis method, device and system | |
CN110659038B (en) | Vehicle-mounted millimeter wave radar upgrading method and device, computer equipment and storage medium | |
US9594899B2 (en) | Apparatus and method for managing operation of a mobile device | |
CN112134961B (en) | Client use control method, client and computer storage medium | |
WO2023124328A1 (en) | Wireless communication module and function recovery method thereof, electronic device, and storage medium | |
CN110569053A (en) | method for upgrading application chip in electronic equipment and electronic equipment | |
US20210173634A1 (en) | Vehicle control device and program update system | |
CN108121560A (en) | Difference bag upgrade method, device, terminal and computer readable storage medium | |
CN105045671A (en) | Method and device for upgrading systems of intelligent terminals | |
CN110399151A (en) | A kind of firmware update, device, equipment and medium | |
CN114780019A (en) | Electronic device management method and device, electronic device and storage medium | |
CN114095788A (en) | Wifi drive and firmware hot update processing method, device, terminal and medium | |
CN109446008B (en) | Fault reason detection method, fault reason detection device and terminal equipment | |
CN111679649B (en) | Vehicle-mounted terminal starting method and device, terminal equipment and storage medium | |
CN110134456B (en) | Method, apparatus, device and storage medium for managing operating system | |
CN105278993A (en) | Linux system based drive module upgrading method and apparatus | |
CN113608758A (en) | Software upgrading method and device, battery management system, battery and power utilization device | |
CN108241361B (en) | Vehicle power supply control method, controller and vehicle | |
CN112181455B (en) | Online upgrading method of microcontroller, microcontroller and storage medium | |
CN110618826A (en) | Method and device for updating application program and terminal equipment | |
CN113612804B (en) | Vehicle configuration upgrading method and system, storage medium and intelligent gateway | |
US11714630B2 (en) | Method of adding a sensor monitoring feature of a newly-added sensor to a system monitoring feature provided by a baseboard management controller | |
CN114116033B (en) | Method and device for modifying server configuration | |
CN112536817B (en) | Steering engine fault processing method and device and terminal equipment | |
CN113687998A (en) | Control method for eliminating abnormal operation of management engine |
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 |