CN105700900A - Method and device for optimizing wireless local area network function - Google Patents

Method and device for optimizing wireless local area network function Download PDF

Info

Publication number
CN105700900A
CN105700900A CN201410691113.0A CN201410691113A CN105700900A CN 105700900 A CN105700900 A CN 105700900A CN 201410691113 A CN201410691113 A CN 201410691113A CN 105700900 A CN105700900 A CN 105700900A
Authority
CN
China
Prior art keywords
file
reforestation practices
partitioned
partitioned file
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410691113.0A
Other languages
Chinese (zh)
Other versions
CN105700900B (en
Inventor
朱晓亮
刘薇
张景新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201410691113.0A priority Critical patent/CN105700900B/en
Publication of CN105700900A publication Critical patent/CN105700900A/en
Application granted granted Critical
Publication of CN105700900B publication Critical patent/CN105700900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for optimizing a wireless local area network function, relates to the field of the intelligent terminals, and is convenient for users to automatically optimize the WLAN (Wireless Local Area Network) function. The method comprises the following steps: obtaining a WLAN optimization parameter, and modifying code associated with the configuration of the WLAN in source code according to the WLAN optimization parameter; adding a first partition in a partition table of a recovery mode; storing a WLAN configuration file of the terminal into the first partition; compiling the modified code associated with the configuration of the WLAN in the source code to obtain a WLAN configuration file, and compiling code associated with recovery mode partitions in the source code by employing the partition table to obtain a recovery mode partition file of a new version, wherein the recovery mode partition file is used for instructing a terminal to mount the first partition under the recovery mode; and according to the WLAN configuration file and the recovery mode partition file of the new version, generating an upgrade package.

Description

A kind of method optimizing wireless lan function and device
Technical field
The present invention relates to intelligent terminal field, particularly relate to a kind of method optimizing WLAN (WirelessLocalAreaNetworks, WLAN) function and device。
Background technology
Along with the development of intelligent terminal's multifunction, WLAN has become the function that intelligent terminal is indispensable。WLAN performance is to affect terminal to use the important indicator of network service, is also closely related with Consumer's Experience。In the condition affecting WLAN performance, hardware RF index, MAC (MediaAccessControl, the medium access control) parameter such as address, national code serve decisive role。Generally these parameters are stored in identical file。Consider this document once destroyed WLAN function will be unable to normal use, so this document can be deposited under the higher Persist subregion of safety coefficient。
At the mid-later development phase of intelligent terminal, WLAN parameter can be armed and be stored under Persist subregion, and the later stage seldom changes。But once the problem that the product listed exists WLAN aspect of performance, it is necessary to the parameter of amendment WLAN performance, how to revise the problem of WLAN parameter in release product with regard to facing。Due to OTA (Over-The-Air simple to operation, aerial download) upgrading mode do not support (include OTA and entirely wrap upgrading and the upgrading of OTA difference) upgrading of Persist subregion, so generally way is that source code is modified by developer, then recompilate and obtain all system files, new T (T-Flash) card upgrade bag is made according to the system file after recompilating, mobile terminal, after running into the problems referred to above, is optimized by the method for T card upgrade。
But in the process being optimized WLAN by the method for T card upgrade, T card upgrade has to comply with various points for attention, such as before upgrading, terminal power must be sufficient, it is inferior that the upgrade file after AKU after decompression must be stored in T card root, user must also grasp specific mode of operation simultaneously, such as pin function combinations key (to pin simultaneously and add volume key, entree singly-bound and power key) enter T card upgrade interface etc., wherein any one points for attention is unsatisfactory for or user does not grasp associative operation mode, terminal not only can be upgraded failure, more likely cause that operating system is paralysed, that is user optimizes the poor reliability of WLAN voluntarily by T card upgrade, undertaken successfully to carry out WLAN optimization by the method for T card upgrade so user typically requires by professional after sale, this makes the poor in timeliness of upgrading。
Summary of the invention
Embodiments of the invention provide a kind of method optimizing wireless lan function and device, it is simple to the WLAN function of user's Intelligent Optimal terminal voluntarily。
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, embodiments provides a kind of method optimizing wireless lan function, including: obtain WLAN parameters optimization, and configure correlative code according in WLAN parameters optimization amendment source code with WLAN;The partition table of reforestation practices adds the first subregion;The WLAN configuration file of terminal is stored in the first subregion;Compile in amended source code with WLAN configure correlative code obtain WLAN configuration file, and utilize partition table compiling source code in reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of redaction;Reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode;Reforestation practices partitioned file according to WLAN configuration file and redaction, generates AKU。
Second aspect, embodiments provides a kind of method optimizing wireless lan function, is applied to the terminal of the reforestation practices partitioned file based on prototype version, including: obtain AKU;Described AKU comprises the reforestation practices partitioned file of WLAN configuration file and redaction, or described AKU comprises described WLAN configuration file and difference partitioned file;Described WLAN configuration file is for storing the parameter realized needed for wireless lan function;Described difference partitioned file is the file that the reforestation practices partitioned file of described redaction obtains with the reforestation practices partitioned file difference of prototype version;Described reforestation practices partitioned file is used for indicating the first subregion described in described terminal carry in recovery mode;Enter reforestation practices;The reforestation practices partitioned file of described terminal is updated according to the described reforestation practices partitioned file in described AKU or described difference partitioned file, so that carry the first subregion in recovery mode;The WLAN configuration file in described first subregion of described terminal is updated according to the described WLAN configuration file in described AKU。
The third aspect, embodiments provides a kind of device, including: acquiring unit, processing unit and compilation unit;Described acquiring unit, is used for obtaining WLAN parameters optimization;Described processing unit, configures correlative code for revising in source code according to described WLAN parameters optimization with WLAN;Described processing unit, is additionally operable to add the first subregion in the partition table of reforestation practices;The WLAN configuration file of terminal is stored in described first subregion;Described compilation unit, for compiling, amended described source code configures with WLAN the correlative code described WLAN configuration file of acquisition, and utilize described partition table compile in described source code with reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of described redaction;Described reforestation practices partitioned file is used for indicating the first subregion described in terminal carry in recovery mode;Described processing unit, is additionally operable to the reforestation practices partitioned file according to described WLAN configuration file and described redaction, generates AKU。
Fourth aspect, embodiments provides a kind of terminal, and the system file of described terminal includes the reforestation practices partitioned file based on prototype version, including: acquiring unit and processing unit;Described acquiring unit, is used for obtaining AKU;Described AKU comprises the reforestation practices partitioned file of WLAN configuration file and redaction, or described AKU comprises described WLAN configuration file and difference partitioned file;Described WLAN configuration file is for storing the parameter realized needed for wireless lan function;Described difference partitioned file is the file that the reforestation practices partitioned file of described redaction obtains with the reforestation practices partitioned file difference of prototype version;Described reforestation practices partitioned file is used for indicating the first subregion described in described terminal carry in recovery mode;Described processing unit, is used for making described terminal enter reforestation practices;Described processing unit, is additionally operable to update the reforestation practices partitioned file of described terminal according to the described reforestation practices partitioned file in described AKU or described difference partitioned file, so that carry the first subregion in recovery mode;Described processing unit, is additionally operable to the WLAN configuration file updating in described first subregion of described terminal according to the described WLAN configuration file in described AKU。
Embodiments providing a kind of method optimizing wireless lan function and device, the method includes: obtains WLAN parameters optimization, and configures correlative code according in WLAN parameters optimization amendment source code with WLAN;The partition table of reforestation practices adds the first subregion;Compile in amended source code with WLAN configure correlative code obtain WLAN configuration file, and utilize partition table compiling source code in reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of redaction;Reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode;Reforestation practices partitioned file according to WLAN configuration file and redaction, generates AKU。So, AKU store path is not had particular requirement by the upgrading mode using all replacement or patch installing, and reforestation practices partitioned file and the WLAN configuration file of terminal is simply had impact by the content owing to carrying in AKU, even if so upgrading unsuccessfully, also simply user's WLAN function there is impact, can't cause that terminal operating system is paralysed, improve the safety optimizing WLAN, it is simple to user optimizes the WLAN function of terminal voluntarily。
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
The schematic flow sheet of a kind of method optimizing wireless lan function that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 optimizes the schematic flow sheet of the method for wireless lan function for the another kind that the embodiment of the present invention provides;
Fig. 3 optimizes the schematic flow sheet of the method for wireless lan function for the another kind that the embodiment of the present invention provides;
The functional schematic of a kind of device that Fig. 4 provides for the embodiment of the present invention;
The functional schematic of a kind of terminal that Fig. 5 provides for the embodiment of the present invention;
The functional schematic of the another kind of terminal that Fig. 6 provides for the embodiment of the present invention。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
Embodiments provide a kind of method optimizing wireless lan function, as it is shown in figure 1, include:
101, obtain WLAN parameters optimization, and configure correlative code according in WLAN parameters optimization amendment source code with WLAN。
It should be noted that WLAN parameters optimization is the wireless lan function to announced terminal debug further after the parameter that obtains, these parameters include: transmitting power, receive the parameters such as power, modulating mode, demodulation modes。
It should be noted that the requirement of source code is likely to difference by different radio local network parameters, so needing the WLAN parameters optimization according to obtaining that source code is done adaptation。
It should be noted that source code can be carried out sub-module according to the function that code in source code realizes, being not in contact with when compiling between source code and the source code of other modules of each module, the source code of disparate modules is for realizing different functions。After to compilation of source code, the source code correspondence of disparate modules generates different system files。Source code in the present embodiment can be divided into and configures correlative code and reforestation practices subregion correlative code and other codes with WLAN。
Concrete, after relevant parameter is debugged by hardware developers, generate WLAN parameters optimization, and these WLAN parameters optimization are stored to associated documents, processor reads associated documents, obtain WLAN parameters optimization, then carry out adaptation in source code with WLAN configuration correlative code according to the parameter obtained。
102, in the partition table of reforestation practices, the first subregion is added。
It should be noted that recover (recovery) pattern also known as engineering mode, under normal circumstances, terminal is at the reforestation practices any subregion of not carry, say, that terminal can not read the system file that subregion collects。
It should be noted that for announced terminal, all system files of terminal are stored in different subregion, and different subregions are had different access rights by terminal in different modes。WLAN configuration file in terminal is stored in the first subregion, the file existed in first subregion is less, will not be accessed frequently, the probability being tampered is less, therefore the safety of the first subregion is higher, and after the change of WLAN configuration file, wireless lan function and the application relevant to wireless lan function of terminal are had impact, therefore it is placed in the first subregion。
It should be noted that each pattern has corresponding partition table, partition table determines the subregion of institute's carry under each pattern of terminal。
Concrete, in the middle of the partition table of reforestation practices, add the title of the first subregion, the file format of the first subregion, the first subregion are mounted to the position of system and authority etc. to the first subregion under this pattern。
It should be noted that the execution sequence of step 101 and step 102 does not limit。Step 101 can be first carried out, then perform step 102;Step 102 can also be first carried out, then perform step 101;Can also step 101 perform with step 102 simultaneously。The present embodiment is to first carry out step 101, then to perform step 102 be example。
103, compile in amended source code with WLAN configure correlative code obtain WLAN configuration file, and utilize partition table compiling source code in reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of redaction。
Wherein, reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode。
It should be noted that being and not being line LAN configuration correlative code and reforestation practices subregion correlative code and other codes in source code。Can generate after compiling source code and configure the reforestation practices partitioned file that WLAN configuration file corresponding to correlative code is corresponding with reforestation practices subregion correlative code with WLAN。
Concrete, when compiling source code configures correlative code with WLAN, WLAN parameters optimization can be called, generate WLAN configuration file;Time in compiling source code with reforestation practices subregion correlative code, partition table can be called, generate reforestation practices partitioned file。
It should be noted that compiling source code configures in correlative code and compiling source code with WLAN and does not have sequencing between reforestation practices subregion correlative code。Can first compile in source code with WLAN configure correlative code, then compile in source code with reforestation practices subregion correlative code;Can also first compile in source code with reforestation practices subregion correlative code, compile again in source code and configure correlative code with WLAN, it is also possible to compiling source code configures with WLAN simultaneously in correlative code and source code with reforestation practices subregion correlative code。
It should be noted that, compiling source code configures with WLAN simultaneously in correlative code and source code with reforestation practices subregion correlative code, can be that amended source code entirety is compiled, from the All Files after compiling, obtain WLAN configuration file and reforestation practices partitioned file。
It should be noted that, the reforestation practices partitioned file generated after the partition table of reforestation practices is revised and compiled is stored under the corresponding document folder of terminal, terminal can according to this document carry the first subregion in recovery mode so that the WLAN configuration file being stored in the first subregion can be updated by terminal。
104, the reforestation practices partitioned file according to WLAN configuration file and redaction, generates AKU。
It should be noted that the AKU in the present invention refers to the file that the wireless lan function to terminal is required when optimizing。
Concrete, according to the process amendment script file of upgrading, the input of script file must be the intermediate file of two versions, and script file can control to generate mode and the step of AKU。Then AKU is generated。Wherein, intermediate file be by the compiling file that obtains of source code with make AKU needed for All Files carry out packing, sign, compress the file obtained。The method of the intermediate file making redaction is: add WLAN configuration file in the intermediate file of legacy version, and replace the respective file in legacy version intermediate file with the reforestation practices partitioned file of newly compiled, repack the intermediate file generating redaction。Will new, legacy version intermediate file as input, processed by script file, obtain final required AKU。
It should be noted that AKU can also include: guide file。File is guided to be used for controlling terminal after getting AKU, the process logic to file each in AKU。
It should be noted that obtain a kind of method of the method simply acquisition AKU of AKU above by script file。Developer can also manually write guiding file, then the reforestation practices partitioned file according to WLAN configuration file and redaction, generates AKU。
It should be noted that patch installing upgrading mode is in use, AKU needs to carry the cryptographic Hash of the file at first version corresponding to differential file, is that this document to which version is upgraded with this differential file of labelling。Terminal is after getting this AKU, whether the cryptographic Hash needing this document at first version carried in comparison AKU is identical with the cryptographic Hash of this document of terminal use, only when both are identical, terminal determines that this document that self can be used by the differential file got is upgraded, and then this document in terminal is upgraded。Wherein, the cryptographic Hash of a file is relevant to file content, and file content is once amendment, and the cryptographic Hash of file will change。The wireless local configuration file of terminal all can change after starting shooting each time, that is, the cryptographic Hash of the WLAN configuration file of terminal is not fixed value, so wireless local configuration file can not be upgraded by the mode that patch installing is upgraded, the mode replaced completely can only be adopted to upgrade。But reforestation practices partitioned file will not change, so reforestation practices partitioned file can adopt the mode that file is replaced to upgrade, it would however also be possible to employ the mode of patch installing is upgraded。
Being adopt file to replace or adopt the mode of patch installing upgrading to upgrade according to reforestation practices partitioned file, step 104 specifically can be realized by following two mode:
The first, when reforestation practices partitioned file adopts the mode that file is replaced to upgrade, copy to the reforestation practices partitioned file of WLAN configuration file and redaction in AKU。
The second, when the mode that reforestation practices partitioned file adopts patch installing upgrading is upgraded, does difference by the reforestation practices partitioned file of the reforestation practices partitioned file of prototype version Yu redaction, obtains difference partitioned file;WLAN configuration file and difference partitioned file are copied in AKU。
For second method, it is necessary to obtain the reforestation practices partitioned file of prototype version before step 104。
It should be noted that after obtaining AKU, AKU can be issued by associated server, enable a user to obtain this AKU。
Embodiments provide a kind of method optimizing wireless lan function, obtain WLAN configuration file;The partition table of reforestation practices adds the first subregion;Compiling source code obtains the reforestation practices partitioned file of redaction;Source code package is containing the relative program calling partition table;Reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode;Reforestation practices partitioned file according to WLAN configuration file and redaction, generates AKU。So, AKU store path is not had particular requirement by the upgrading mode using all replacement or patch installing, and reforestation practices partitioned file and the WLAN configuration file of terminal is simply had impact by the content owing to carrying in AKU, even if so upgrading unsuccessfully, also simply user's WLAN function there is impact, can't cause that terminal operating system is paralysed, improve the safety optimizing WLAN, it is simple to user optimizes the WLAN function of terminal voluntarily。
Embodiments provide a kind of method optimizing wireless lan function, be applied to the terminal of the reforestation practices partitioned file based on prototype version。As in figure 2 it is shown, the method includes:
201, AKU is obtained。
Wherein, AKU comprises the reforestation practices partitioned file of WLAN configuration file and redaction, or AKU comprises WLAN configuration file and difference partitioned file;WLAN configuration file is for storing the parameter realized needed for wireless lan function;Difference partitioned file is the file that the reforestation practices partitioned file of redaction obtains with the reforestation practices partitioned file difference of prototype version;Reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode。
Concrete, terminal in use, when server update can optimize the AKU comprising wireless lan function, it is possible to whether prompt terminal upgrades the option of wireless lan function, and after terminal selects upgrading, terminal downloads from a server AKU。Terminal downloads AKU from server;Or in terminal use procedure, find wireless lan function existing problems, actively download the AKU that can optimize wireless lan function from server。
It should be noted that AKU includes WLAN configuration file, also include reforestation practices partitioned file or the difference partitioned file of redaction。
It should be noted that, recovering (recovery) pattern also known as engineering mode, when terminal is in this pattern, terminal only runs startup thread, other application do not start, and terminal can change in system file in all subregions the file in carry subregion in this mode。
It should be noted that for announced terminal, all system files of terminal are stored in different subregion, and different subregions are had different access rights by terminal in different modes。WLAN configuration file in terminal is stored in the first subregion, the file existed in first subregion is less, will not be accessed frequently, the probability being tampered is less, therefore the safety of the first subregion is higher, and after the change of WLAN configuration file, wireless lan function and the application relevant to wireless lan function of terminal are had detrimental effects, therefore it is placed in the first subregion。
202, reforestation practices is entered。
Concrete, after download AKU completes, terminal can restart entrance reforestation practices immediately, it is also possible to does not temporarily upgrade, but when next time, starting up of terminal started, enters reforestation practices。
It should be noted that when only the WLAN configuration file in the first subregion is had amendment authority by terminal, WLAN configuration file can be updated。So firstly the need of performing step 203, so that terminal has the authority in recovery mode the WLAN configuration file of self modified, then performing step 204 again, the WLAN configuration file of terminal be updated。
It should be noted that AKU can also include: guide file。File is guided to be used for controlling terminal after getting AKU, the process logic to file each in AKU。Such as, first carry out which step performs which step again, to how file each in AKU processes。
203, the reforestation practices partitioned file according to the reforestation practices partitioned file in AKU or difference partitioned file more new terminal, so that carry the first subregion in recovery mode。
It should be noted that the content comprised in AKU is different, the process of process is different。
Concrete, step 203 implemented following two mode:
The first, carry in AKU be reforestation practices partitioned file, with in AKU reforestation practices partitioned file replace terminal reforestation practices partitioned file。
It should be noted that, reforestation practices partitioned file carries all information in reforestation practices partitioned file, so the mode that file is replaced can be used to upgrade, namely directly replace the reforestation practices partitioned file of terminal with the reforestation practices partitioned file of the redaction carried in AKU, the reforestation practices partitioned file of terminal is updated。
The second, carry in AKU be difference partitioned file, adopt the mode reforestation practices partitioned file according to the difference partitioned file more new terminal in AKU of patch installing upgrading。
It should be noted that difference partitioned file carries the information of difference section in the reforestation practices partitioned file of redaction and the reforestation practices partitioned file of prototype version。So patch installing can be used to upgrade。
204, according to the WLAN configuration file in the first subregion of the WLAN configuration file more new terminal in AKU。
Concrete, replace the WLAN configuration file in terminal the first subregion with the WLAN configuration file carried in AKU, with the WLAN configuration file of more new terminal。
Embodiments provide a kind of method optimizing wireless lan function, be applied to the terminal of the reforestation practices partitioned file based on prototype version。First, AKU is obtained;AKU comprises WLAN configuration file, the reforestation practices partitioned file of redaction or difference partitioned file;Enter reforestation practices;Reforestation practices partitioned file according to the reforestation practices partitioned file in AKU or difference partitioned file more new terminal, so that carry the first subregion in recovery mode;According to the WLAN configuration file in the first subregion of the WLAN configuration file more new terminal in AKU。So, AKU store path is not had particular requirement by the upgrading mode using all replacement or patch installing, and reforestation practices partitioned file and the WLAN configuration file of terminal is simply had impact by the content owing to carrying in AKU, even if so upgrading unsuccessfully, also simply user's WLAN function there is impact, can't cause that terminal operating system is paralysed, improve the safety optimizing WLAN, it is simple to user optimizes the WLAN function of terminal voluntarily。
Embodiments provide a kind of method optimizing wireless lan function, be applied to the terminal of the reforestation practices partitioned file based on prototype version。As it is shown on figure 3, the method includes:
301, AKU is obtained。
Wherein, AKU comprises WLAN configuration file and difference partitioned file;WLAN configuration file is for storing the parameter realized needed for wireless lan function;Difference partitioned file is the file that the reforestation practices partitioned file of redaction obtains with the reforestation practices partitioned file difference of prototype version。
Concrete, it is referred to step 201, does not repeat them here。
302, reforestation practices is entered。
Concrete, it is referred to step 202, does not repeat them here。
303, the reforestation practices partitioned file according to the difference partitioned file more new terminal in AKU, so that carry the first subregion in recovery mode。
Concrete, it is referred to step 203, does not repeat them here。
304, determine that whether the reforestation practices partitioned file of the terminal after renewal is correct。
It should be noted that, manually distort or the reforestation practices partitioned file of user is lost owing to the reforestation practices partitioned file in terminal under individual cases is likely to become user, so when the reforestation practices partitioned file of terminal being updated according to difference partitioned file, cannot ensure that and reforestation practices partitioned file in terminal is necessarily updated successfully, namely the first subregion is had amendment authority by terminal。In order to be further ensured that, the first subregion can there be is amendment authority by terminal after the renewal of reforestation practices partitioned file, namely terminal can revise the WLAN configuration file in the first subregion, so needing to judge that whether the reforestation practices partitioned file of the terminal after updating is correct。
Concrete, it is determined that after terminal have updated reforestation practices partitioned file, need to determine at reforestation practices to the authority of the first subregion whether be to revise。It is in revisable situation at reforestation practices to the authority of the first subregion, it is determined that the reforestation practices partitioned file of the terminal after renewal is correct;It is in not revisable situation at reforestation practices to the authority of the first subregion, it is determined that the reforestation practices partitioned file of the terminal after renewal is incorrect。
It should be noted that in the incorrect situation of reforestation practices partitioned file of terminal in the updated, after performing step 305-306, perform step 307;When the reforestation practices partitioned file of terminal in the updated is correct, directly perform step 307。
305, in the incorrect situation of reforestation practices partitioned file of terminal in the updated, Backup and Restore pattern partitioned file is obtained。
It should be noted that, it is still not able to the WLAN configuration file in the first subregion is modified after terminal updates reforestation practices partitioned file by the file in AKU, so needing the reforestation practices partitioned file of backup in download server, with the reforestation practices partitioned file according to Backup and Restore pattern partitioned file more new terminal again, so that terminal can revise WLAN configuration file at reforestation practices。
If it should be noted that when server can provide backup upgrading bag, when the reforestation practices partitioned file of terminal terminal in the updated is incorrect, it is possible to download backup upgrading bag from server, backup upgrading bag carries Backup and Restore pattern partitioned file。
It should be noted that when implementing, it is possible in the incorrect situation of reforestation practices partitioned file of the terminal in the updated described in the present embodiment, just obtain Backup and Restore pattern partitioned file。Certain terminal can also perform acquisition backup upgrading bag while step 301 obtains AKU, simply in the incorrect situation of reforestation practices partitioned file of terminal in the updated, just uses backup upgrading bag。
306, the reforestation practices partitioned file according to Backup and Restore pattern partitioned file more new terminal。
Concrete, Backup and Restore pattern partitioned file carries all information in reforestation practices partitioned file, directly replace the reforestation practices partitioned file of terminal with the reforestation practices partitioned file of the redaction carried in AKU, the reforestation practices partitioned file of terminal is updated。
307, according to the WLAN configuration file in the first subregion of the WLAN configuration file more new terminal in AKU。
Concrete, it is referred to step 204, does not repeat them here。
It should be noted that, when terminal obtains Backup and Restore pattern partitioned file, if also obtain the WLAN configuration file of backup simultaneously, then step 307 can also be according to the WLAN configuration file in the first subregion of the backup WLAN configuration file more new terminal in backup upgrading bag。
Embodiments provide a kind of method optimizing wireless lan function, be applied to the terminal of the reforestation practices partitioned file based on prototype version。First, AKU is obtained;AKU comprises WLAN configuration file and difference partitioned file;Enter reforestation practices;Reforestation practices partitioned file according to the difference partitioned file more new terminal in AKU, so that carry the first subregion in recovery mode;Determine that whether the reforestation practices partitioned file of the terminal after renewal is correct, in the incorrect situation of reforestation practices partitioned file of terminal in the updated, obtain Backup and Restore pattern partitioned file, the reforestation practices partitioned file according to Backup and Restore pattern partitioned file more new terminal;According to the WLAN configuration file in the first subregion of the WLAN configuration file more new terminal in AKU。So, AKU store path is not had particular requirement by the upgrading mode using all replacement or patch installing, and reforestation practices partitioned file and the WLAN configuration file of terminal is simply had impact by the content owing to carrying in AKU, even if so upgrading unsuccessfully, also simply user's WLAN function there is impact, can't cause that terminal operating system is paralysed, improve the safety optimizing WLAN, it is simple to user optimizes the WLAN function of terminal voluntarily。Further, add the step whether the reforestation practices partitioned file of the terminal after determining renewal is correct, can be further ensured that and the WLAN configuration file in the first subregion can be updated at reforestation practices, and then improve successfully the probability of the WLAN function of Intelligent Optimal terminal。
As shown in Figure 4, the functional schematic of its a kind of device provided for the embodiment of the present invention。With reference to shown in Fig. 4, this device includes: acquiring unit 401, processing unit 402 and compilation unit 403。
Acquiring unit 401, is used for obtaining WLAN parameters optimization。
Processing unit 402, configures correlative code for revising in source code according to WLAN parameters optimization with WLAN
Processing unit 402, is additionally operable to add the first subregion in the partition table of reforestation practices;The WLAN configuration file of terminal is stored in the first subregion。
Compilation unit 403, be used for compiling in amended source code and WLAN configuration correlative code obtain WLAN configuration file, and utilize partition table compiling source code in reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of redaction;Reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode。
Processing unit 402, is additionally operable to the reforestation practices partitioned file according to WLAN configuration file and redaction, generates AKU。
Concrete, it is adopt file to replace or adopt the mode of patch installing upgrading to upgrade according to reforestation practices partitioned file, processing unit 402 specifically acts on two kinds:
The first, when reforestation practices partitioned file adopts the mode that file is replaced to upgrade, processing unit 402 is specifically for copying to the reforestation practices partitioned file of WLAN configuration file and redaction in AKU。
The second, when the mode that reforestation practices partitioned file adopts patch installing upgrading is upgraded, processing unit 402, specifically for the reforestation practices partitioned file of the reforestation practices partitioned file of prototype version Yu redaction is done difference, obtain difference partitioned file;WLAN configuration file and difference partitioned file are copied in AKU。
For second method, acquiring unit 401 is additionally operable to obtain the reforestation practices partitioned file of prototype version。
Embodiments provide a kind of device, obtain WLAN parameters optimization, and configure correlative code according in WLAN parameters optimization amendment source code with WLAN;The partition table of reforestation practices adds the first subregion;Compile in amended source code with WLAN configure correlative code obtain WLAN configuration file, and utilize partition table compiling source code in reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of redaction;Reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode;Reforestation practices partitioned file according to WLAN configuration file and redaction, generates AKU。So, AKU store path is not had particular requirement by the upgrading mode using all replacement or patch installing, and reforestation practices partitioned file and the WLAN configuration file of terminal is simply had impact by the content owing to carrying in AKU, even if so upgrading unsuccessfully, also simply user's WLAN function there is impact, can't cause that terminal operating system is paralysed, improve the safety optimizing WLAN, it is simple to user optimizes the WLAN function of terminal voluntarily。
As it is shown in figure 5, the functional schematic of its a kind of terminal provided for the embodiment of the present invention。The system file of terminal includes the reforestation practices partitioned file based on prototype version。With reference to shown in Fig. 5, this terminal includes: acquiring unit 501 and processing unit 502。
Acquiring unit 501, is used for obtaining AKU;AKU comprises the reforestation practices partitioned file of WLAN configuration file and redaction, or AKU comprises WLAN configuration file and difference partitioned file;WLAN configuration file is for storing the parameter realized needed for wireless lan function;Difference partitioned file is the file that the reforestation practices partitioned file of redaction obtains with the reforestation practices partitioned file difference of prototype version;Reforestation practices partitioned file is used for indicating terminal carry the first subregion in recovery mode。
Processing unit 502, is used for making terminal enter reforestation practices。
Processing unit 502, is additionally operable to the reforestation practices partitioned file according to the reforestation practices partitioned file in AKU or difference partitioned file more new terminal, so that carry the first subregion in recovery mode。
Processing unit 502, specifically for replacing the reforestation practices partitioned file of terminal with the reforestation practices partitioned file in AKU;Or, the mode of the employing patch installing upgrading reforestation practices partitioned file according to the difference partitioned file more new terminal in AKU。
Processing unit 502, is additionally operable to according to the WLAN configuration file in the first subregion of the WLAN configuration file more new terminal in AKU。
Further, on the basis of Fig. 5, as shown in Figure 6, this terminal also comprises determining that unit 503。
Determining unit 503, whether the reforestation practices partitioned file being used for the terminal after determining renewal is correct;
Accordingly, acquiring unit 501, it is additionally operable in the incorrect situation of reforestation practices partitioned file of terminal in the updated, obtains Backup and Restore pattern partitioned file。
Processing unit 502, is additionally operable to the reforestation practices partitioned file according to Backup and Restore pattern partitioned file more new terminal。
Embodiments providing a kind of terminal, the system file of terminal includes the reforestation practices partitioned file based on prototype version。First, AKU is obtained;AKU comprises WLAN configuration file, the reforestation practices partitioned file of redaction or difference partitioned file;Enter reforestation practices;Reforestation practices partitioned file according to the reforestation practices partitioned file in AKU or difference partitioned file more new terminal, so that carry the first subregion in recovery mode;Determine that whether the reforestation practices partitioned file of the terminal after renewal is correct, in the incorrect situation of reforestation practices partitioned file of terminal in the updated, obtain Backup and Restore pattern partitioned file, the reforestation practices partitioned file according to Backup and Restore pattern partitioned file more new terminal;According to the WLAN configuration file in the first subregion of the WLAN configuration file more new terminal in AKU。So, AKU store path is not had particular requirement by the upgrading mode using all replacement or patch installing, and reforestation practices partitioned file and the WLAN configuration file of terminal is simply had impact by the content owing to carrying in AKU, even if so upgrading unsuccessfully, also simply user's WLAN function there is impact, can't cause that terminal operating system is paralysed, improve the safety optimizing WLAN, it is simple to user optimizes the WLAN function of terminal voluntarily。Further, add the step whether the reforestation practices partitioned file of the terminal after determining renewal is correct, can be further ensured that and the WLAN configuration file in the first subregion can be updated at reforestation practices, and then improve successfully the probability of the WLAN function of Intelligent Optimal terminal。
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way。Such as, device embodiment described above is merely schematic, such as, the division of described unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform。Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form。
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE。Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme。
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that the independent physics of unit includes, it is also possible to two or more unit are integrated in a unit。Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes。
The above-mentioned integrated unit realized with the form of SFU software functional unit, it is possible to be stored in a computer read/write memory medium。Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs the part steps of method described in each embodiment of the present invention。And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (Read-OnlyMemory, be called for short ROM), random access memory (RandomAccessMemory, be called for short RAM), the various media that can store program code such as magnetic disc or CD。
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme。

Claims (12)

1. the method optimizing wireless lan function, it is characterised in that including:
Obtain WLAN parameters optimization, and configure correlative code according in described WLAN parameters optimization amendment source code with WLAN;
The partition table of reforestation practices adds the first subregion;The WLAN configuration file of terminal is stored in described first subregion;
Compile and amended described source code configures with WLAN correlative code obtain described WLAN configuration file, and utilize described partition table compile in described source code with reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of redaction;Described reforestation practices partitioned file is used for indicating the first subregion described in described terminal carry in recovery mode;
Reforestation practices partitioned file according to described WLAN configuration file and described redaction, generates AKU。
2. method according to claim 1, it is characterised in that the described reforestation practices partitioned file according to described WLAN configuration file and described redaction, generates AKU and includes:
The reforestation practices partitioned file of described WLAN configuration file and described redaction is copied in described AKU。
3. method according to claim 1, it is characterised in that at the described reforestation practices partitioned file according to described WLAN configuration file and described redaction, before generating AKU, also includes:
Obtain the reforestation practices partitioned file of prototype version;
The described reforestation practices partitioned file according to described WLAN configuration file and described redaction, generates AKU and includes:
The reforestation practices partitioned file of the reforestation practices partitioned file of described prototype version Yu described redaction is done difference, obtains difference partitioned file;
Described WLAN configuration file and described difference partitioned file are copied in described AKU。
4. the method optimizing wireless lan function, it is characterised in that be applied to the terminal of the reforestation practices partitioned file based on prototype version, including:
Obtain AKU;Described AKU comprises the reforestation practices partitioned file of WLAN configuration file and redaction, or described AKU comprises described WLAN configuration file and difference partitioned file;Described WLAN configuration file is for storing the parameter realized needed for wireless lan function;Described difference partitioned file is the file that the reforestation practices partitioned file of described redaction obtains with the reforestation practices partitioned file difference of prototype version;Described reforestation practices partitioned file is used for indicating the first subregion described in described terminal carry in recovery mode;
Enter reforestation practices;
The reforestation practices partitioned file of described terminal is updated according to the described reforestation practices partitioned file in described AKU or described difference partitioned file, so that carry the first subregion in recovery mode;
The WLAN configuration file in described first subregion of described terminal is updated according to the described WLAN configuration file in described AKU。
5. the method for 4 according to claim, it is characterised in that
The described reforestation practices partitioned file according to the described reforestation practices partitioned file described terminal of renewal in described AKU includes:
The reforestation practices partitioned file of described terminal is replaced with the described reforestation practices partitioned file in described AKU;
Or,
The described reforestation practices partitioned file according to the described difference partitioned file described terminal of renewal in described AKU includes:
The mode adopting patch installing upgrading updates the reforestation practices partitioned file of described terminal according to the described difference partitioned file in described AKU。
6. the method according to claim 4 or 5, it is characterized in that, after the described reforestation practices partitioned file updating described terminal according to the described difference partitioned file in described AKU, before WLAN configuration file in described described first subregion updating described terminal according to the described WLAN configuration file in described AKU, also include:
Determine that whether the reforestation practices partitioned file of the described terminal after renewal is correct;
In the incorrect situation of reforestation practices partitioned file of described terminal in the updated, obtain Backup and Restore pattern partitioned file;
The reforestation practices partitioned file of described terminal is updated according to described Backup and Restore pattern partitioned file。
7. a device, it is characterised in that including: acquiring unit, processing unit and compilation unit;
Described acquiring unit, is used for obtaining WLAN parameters optimization;
Described processing unit, configures correlative code for revising in source code according to described WLAN parameters optimization with WLAN;
Described processing unit, is additionally operable to add the first subregion in the partition table of reforestation practices;The WLAN configuration file of terminal is stored in described first subregion;
Described compilation unit, for compiling, amended described source code configures with WLAN the correlative code described WLAN configuration file of acquisition, and utilize described partition table compile in described source code with reforestation practices subregion correlative code, it is thus achieved that the reforestation practices partitioned file of redaction;Described reforestation practices partitioned file is used for indicating the first subregion described in described terminal carry in recovery mode;
Described processing unit, is additionally operable to the reforestation practices partitioned file according to described WLAN configuration file and described redaction, generates AKU。
8. device according to claim 7, it is characterised in that
Described processing unit, specifically for copying to the reforestation practices partitioned file of described WLAN configuration file and described redaction in described AKU。
9. device according to claim 7, it is characterised in that
Described acquiring unit, is additionally operable to obtain the reforestation practices partitioned file of prototype version;
Described processing unit, specifically for the reforestation practices partitioned file of the reforestation practices partitioned file of described prototype version Yu described redaction is done difference, obtains difference partitioned file;Described WLAN configuration file and described difference partitioned file are copied in described AKU。
10. a terminal, it is characterised in that the system file of described terminal includes the reforestation practices partitioned file based on prototype version, including;Acquiring unit and processing unit;
Described acquiring unit, is used for obtaining AKU;Described AKU comprises the reforestation practices partitioned file of WLAN configuration file and redaction, or described AKU comprises described WLAN configuration file and difference partitioned file;Described WLAN configuration file is for storing the parameter realized needed for wireless lan function;Described difference partitioned file is the file that the reforestation practices partitioned file of described redaction obtains with the reforestation practices partitioned file difference of prototype version;Described reforestation practices partitioned file is used for indicating the first subregion described in described terminal carry in recovery mode;
Described processing unit, is used for making described terminal enter reforestation practices;
Described processing unit, is additionally operable to update the reforestation practices partitioned file of described terminal according to the described reforestation practices partitioned file in described AKU or described difference partitioned file, so that carry the first subregion in recovery mode;
Described processing unit, is additionally operable to the WLAN configuration file updating in described first subregion of described terminal according to the described WLAN configuration file in described AKU。
11. terminal according to claim 10, it is characterised in that
Described processing unit, specifically for replacing the reforestation practices partitioned file of described terminal with the described reforestation practices partitioned file in described AKU;Or, adopt the mode of patch installing upgrading to update the reforestation practices partitioned file of described terminal according to the described difference partitioned file in described AKU。
12. the terminal according to claim 10 or 11, it is characterised in that also comprise determining that unit;
Described determining unit, whether the reforestation practices partitioned file for determining the described terminal after renewal is correct;
Described acquiring unit, is additionally operable in the incorrect situation of reforestation practices partitioned file of described terminal in the updated, obtains Backup and Restore pattern partitioned file;
Described processing unit, is additionally operable to update the reforestation practices partitioned file of described terminal according to described Backup and Restore pattern partitioned file。
CN201410691113.0A 2014-11-25 2014-11-25 A kind of method and device optimizing wireless lan function Active CN105700900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410691113.0A CN105700900B (en) 2014-11-25 2014-11-25 A kind of method and device optimizing wireless lan function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410691113.0A CN105700900B (en) 2014-11-25 2014-11-25 A kind of method and device optimizing wireless lan function

Publications (2)

Publication Number Publication Date
CN105700900A true CN105700900A (en) 2016-06-22
CN105700900B CN105700900B (en) 2018-12-14

Family

ID=56942151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410691113.0A Active CN105700900B (en) 2014-11-25 2014-11-25 A kind of method and device optimizing wireless lan function

Country Status (1)

Country Link
CN (1) CN105700900B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814852A (en) * 2019-01-12 2019-05-28 西北工业大学 A kind of partitioned allocation method of subregion real time operating system
CN110377309A (en) * 2019-07-18 2019-10-25 上海擎感智能科技有限公司 Data reconstruction method, system and equipment
CN110597542A (en) * 2019-09-17 2019-12-20 Oppo(重庆)智能科技有限公司 Automatic OTA (over the air) software upgrading method and device and electronic equipment
CN112134718A (en) * 2019-06-25 2020-12-25 广东美的制冷设备有限公司 Firmware upgrading method, household appliance, firmware upgrading system and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100135184A1 (en) * 2007-05-03 2010-06-03 Research In Motion Limited Adaptive Beamforming Configuration Methods And Apparatus For Wireless Access Points Serving As Handoff Indication Mechanisms In Wireless Local Area Networks
CN102958082A (en) * 2012-12-07 2013-03-06 广州杰赛科技股份有限公司 Network optimization analysis method and system
CN103179595A (en) * 2011-12-23 2013-06-26 中国移动通信集团广东有限公司 WLAN (Wireless Local Area Network) controller switching device and WLAN test and disaster recovery method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100135184A1 (en) * 2007-05-03 2010-06-03 Research In Motion Limited Adaptive Beamforming Configuration Methods And Apparatus For Wireless Access Points Serving As Handoff Indication Mechanisms In Wireless Local Area Networks
CN103179595A (en) * 2011-12-23 2013-06-26 中国移动通信集团广东有限公司 WLAN (Wireless Local Area Network) controller switching device and WLAN test and disaster recovery method, device and system
CN102958082A (en) * 2012-12-07 2013-03-06 广州杰赛科技股份有限公司 Network optimization analysis method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814852A (en) * 2019-01-12 2019-05-28 西北工业大学 A kind of partitioned allocation method of subregion real time operating system
CN109814852B (en) * 2019-01-12 2021-12-31 西北工业大学 Partition configuration method of partition real-time operating system
CN112134718A (en) * 2019-06-25 2020-12-25 广东美的制冷设备有限公司 Firmware upgrading method, household appliance, firmware upgrading system and readable storage medium
CN112134718B (en) * 2019-06-25 2022-12-02 广东美的制冷设备有限公司 Firmware upgrading method, household appliance, firmware upgrading system and readable storage medium
CN110377309A (en) * 2019-07-18 2019-10-25 上海擎感智能科技有限公司 Data reconstruction method, system and equipment
CN110377309B (en) * 2019-07-18 2023-12-15 上海擎感智能科技有限公司 Data recovery method, system and equipment
CN110597542A (en) * 2019-09-17 2019-12-20 Oppo(重庆)智能科技有限公司 Automatic OTA (over the air) software upgrading method and device and electronic equipment
CN110597542B (en) * 2019-09-17 2023-01-31 Oppo(重庆)智能科技有限公司 Software automatic OTA (over the air) upgrading method and device and electronic equipment

Also Published As

Publication number Publication date
CN105700900B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN106775723B (en) Android platform-based system firmware customization method and Android device
EP3441876B1 (en) Patch upgrade-based file processing method and device, terminal, and storage medium
CN103176824B (en) A kind of method and device of system upgrade
CN107506219A (en) A kind of general version upgrade method based on android system
US20070294685A1 (en) Program upgrade system and method for ota-capable portable device
US20080216066A1 (en) Program upgrade system and method for ota-capable mobile terminal
CN104991793A (en) Method, device and system used for application program subpackage
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN102334100A (en) Program update device, program update method, and information processing device
CN105511911A (en) System firmware upgrade package generation method and device
CN103559065A (en) Method and system for OTA (Over-the-Air Technology) upgrade
CN107632828A (en) More dts files support method, compilation device and embedded device
CN104267978A (en) Method and device for generating differential packet
CN105700900A (en) Method and device for optimizing wireless local area network function
CN106569863B (en) Resource and code modularization-based android app resource updating and repairing method
CN106033362A (en) Method and device for processing flash memory partition
CN104598237B (en) A kind of method and apparatus that user interface is generated under upgrade mode
CN102880478B (en) Oftware updating method
CN104461621A (en) Attribute information updating method and device
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
CN108920171A (en) Firmware update and device, electronic equipment
CN111949303A (en) Upgrade package processing method and device, electronic equipment and storage medium
CN105447040A (en) Binary file management and update method and device, and binary file management system
CN114924772A (en) Updating method and equipment of algorithm package
CN103488503B (en) Oftware updating method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Country or region after: China

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address