CN108509215A - A kind of replacing options of system software, device, terminal device and storage medium - Google Patents

A kind of replacing options of system software, device, terminal device and storage medium Download PDF

Info

Publication number
CN108509215A
CN108509215A CN201810240841.8A CN201810240841A CN108509215A CN 108509215 A CN108509215 A CN 108509215A CN 201810240841 A CN201810240841 A CN 201810240841A CN 108509215 A CN108509215 A CN 108509215A
Authority
CN
China
Prior art keywords
resource file
file
original
system software
original resource
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
CN201810240841.8A
Other languages
Chinese (zh)
Other versions
CN108509215B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810240841.8A priority Critical patent/CN108509215B/en
Publication of CN108509215A publication Critical patent/CN108509215A/en
Application granted granted Critical
Publication of CN108509215B publication Critical patent/CN108509215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a kind of replacing options of system software, device, terminal device and storage medium, this method to include:The original resource file of system software is detected and obtained, and original resource file is saved in the first predetermined directory;The operation resource file of system software is saved as into resource backup file in the second predetermined directory;Wherein, the resource file that operation resource file configures for the demand according to user to system;Operation resource file is changed to the original resource file in the first predetermined directory.The present invention solves the problems, such as that the monoblock image file of system software need to be write with a brush dipped in Chinese ink, and customized system software can be changed to the effect of primal system software without upgrade-system software again by realizing.

Description

A kind of replacing options of system software, device, terminal device and storage medium
Technical field
The present embodiments relate to application software technology more particularly to a kind of replacing options of system software, device, terminals Equipment and storage medium.
Background technology
With the development of science and technology, the function of intelligent terminal is more and more diversified.Intelligent terminal refers to having independent movement Operating system can expand terminal function by installing the programs such as application software, game.
Currently, the operating system that android system is increased income as one, many manufacturers all carry out secondary open on this basis Hair, customizing some has the function of oneself characteristic, but in order to meet some specific scene demands, the system that need to customize manufacturer Software is changed to primal system software.In the prior art, most common brush machine mode is the system recovery mould into terminal Formula passes through OTA (Over-the-Air Technology, sky when user is according to prompt selection recovery system or upgrade-system Between download technology) or line brush (terminal being connected on computer by data line, brush machine is carried out brush machine software) by way of, will The system partitioning of system software write-in intelligent terminal internal memory in the brush machine packet that user provides, covers original system.
But inventor has found during stating scheme in realization, using the brush machine mode of current OTA or line brush, needs The monoblock image file of system software is write with a brush dipped in Chinese ink, that is, needs to restore again or upgrade-system software.
Invention content
The present invention provides a kind of replacing options of system software, device, terminal device and storage medium, to realize without weight New upgrading system software, so that it may customized system software is changed to primal system software.
In a first aspect, an embodiment of the present invention provides a kind of replacing options of system software, this method includes:
The original resource file of system software is detected and obtained, and the original resource file is saved in the first default mesh Record;
The operation resource file of system software is saved as into resource backup file in the second predetermined directory;Wherein, the fortune The resource file that row resource file configures for the demand according to user to system;
The operation resource file is changed to the original resource file in first predetermined directory.
Second aspect, the embodiment of the present invention additionally provide a kind of more changing device of system software, which includes:
Detection acquisition module, the original resource file for detecting and obtaining system software, and the source material is literary Part is saved in the first predetermined directory;
Preserving module, for the operation resource file of system software to be saved as resource backup text in the second predetermined directory Part;Wherein, the resource file that the operation resource file configures for the demand according to user to system;
Module is replaced, for the operation resource file to be changed to the text of the source material in first predetermined directory Part.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal device, and the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes the replacing options of the system software as described in any of the above-described.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the replacing options of the system software as described in any of the above-described when the program is executed by processor.
Original resource file is saved in first by the present invention by detecting and obtaining the original resource file of system software Predetermined directory;The operation resource file of system software is saved as into resource backup file in the second predetermined directory;Resource will be run File replaces with the original resource file in the first predetermined directory, and solution need to write with a brush dipped in Chinese ink the monoblock image file of system software The problem of, primal system software can be changed to without upgrade-system software again by customized system software by realizing Effect.
Description of the drawings
Fig. 1 is a kind of flow chart of the replacing options of system software in the embodiment of the present invention one.
Fig. 2 is a kind of flow chart of the replacing options of system software in the embodiment of the present invention two.
Fig. 3 is a kind of flow chart of another replacing options of system software in the embodiment of the present invention two.
Fig. 4 is a kind of flow chart of the replacing options of system software in the embodiment of the present invention three.
Fig. 5 is a kind of structural schematic diagram of the more changing device of system software in the embodiment of the present invention four.
Fig. 6 is a kind of structural schematic diagram of terminal device in the embodiment of the present invention five.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
In various embodiments of the present invention, since terminal device complete machine has MCU (Microcontroller Unit, micro-control Unit processed, also known as microcontroller) and master chip carry out collocation work.Wherein, in the case where terminal device is standby, only MCU works Make, and master chip is in off-mode at the moment, i.e., all complete machines are in the low-power consumption stage.After the completion of complete machine is switched on, MCU meetings Part of functions processing is shared for master chip.Illustratively, the function of MCU processing may include:Power supply control, the combination of keypad Key function, the coded format of infrared remote control, the customization of the agreement of RS232 etc..And the wherein key combination function of keypad, infrared remote control Coded format, the agreement of RS232 customization can according to user need carry out again upgrade or restore.
Embodiment one
Fig. 1 is a kind of flow chart of the replacing options for system software that the embodiment of the present invention one provides, and the present embodiment can fit The case where being replaced for the system software to mobile terminal, this method can be by system softwares provided in an embodiment of the present invention More changing device execute, which can be used software and/or the mode of hardware is realized, and can generally be integrated in terminal device In.The replacing options of the system software specifically comprise the following steps:
S110, detection and the original resource file for obtaining system software, and original resource file is saved in first and is preset Catalogue.Specifically, system software refers to control and coordinates computer and external equipment, supports that applied software development is with what is run System.In the present solution, by system software application to intelligent terminal, for example, notebook, tablet computer and mobile phone etc..When So, intelligent terminal is not defined in this programme, be applicable to be equipped with the intelligent terminal of android system into The replacement of row system software.
Certainly, original resource file is that the system software of intelligent terminal is finally replaced with system software by user Resource file, it may include:Apk files and bin file.Wherein, Android application programs APMB package (apk) is a kind of Android Application program installation file format in operating system, full name in English are " Application package file ".
Specifically, in practical applications, user (can be the manufacturer of intelligent terminal, or voluntarily to intelligent end The individual that the system software of end equipment is replaced) after the application program apk that third company's offer is provided, first decompress this Apk then writes Android.mk files for the apk again, then carries out source code compiling to the Android.mk files finished.
Before user writes apk files, in order to which the system software to intelligent terminal system is replaced, it can incite somebody to action The original resource file of system software, such as apk files and bin file etc. are saved under specified directory, to back up.Certainly, The original resource file of system software can be the system software of the default setting of system software, or user carries out again The version of the system software of configuration.Original resource file of system software is not defined at this, it can be according to the choosing of user It selects to be backed up.
Illustratively, in order to which the system software to intelligent terminal is upgraded or is restored, in the present solution, with intelligence Terminal device, can be first soft by the system got from movable storage device or system partitioning to be illustrated for tablet computer The original resource file of part copies to/system/tmp catalogues under, to prevent in escalation process, due to movable storage device Plug or communication abnormality and cause the upgrading of system software to fail.
Wherein, movable storage device can be USB flash disk, or mobile hard disk, as long as the external storage of terminal device Equipment is defined not to this.
S120, the operation resource file of system software is saved as into resource backup file in the second predetermined directory;Wherein, it transports The resource file that row resource file configures for the demand according to user to system.
It is in the present solution, can be reconfigured to application program apk to the demand of system according to user, i.e., so-called Secondary development.When re-replacing the system software of itself customization in order to facilitate user, intelligent terminal is being used The operation resource file of android system software is backed up, and is saved under specified directory.
For example, when the system of tablet computer used by a user is android system, and android system institute The system software of operation is what user was customized again according to self-demand.Current family uses to submit a tender, need to be soft to system Part is replaced, then replaces the system software of customization again in order to facilitate user, needs apk files and the bin text first by customization Part backups to/system/vendor/customer under.
Wherein, involved in this programme to /titles of system/vendor/customer catalogues is only based on currently The title generally used, is not limited thereto, as long as file essence itself and function and the source material text in this programme Part is consistent with operation resource file, just shall fall within the protection scope of the present invention.
S130, operation resource file is changed to the original resource file in the first predetermined directory.
In the present solution, when Installed System Memory is sufficiently large, the method that multi-user Environment independent partitions can be used, or pass through The method for configuring initializing variable.When wherein, using the method for multi-user Environment independent partitions, it is assumed that system resource by user A, User B, user C and user D are then classified into boot loader subregions, user's A main programs subregion, user's B main programs subregion, use Family C main programs subregion and user's D main program subregions are believed when reading user identifier in the startup stage of boot loader subregions Breath, will jump to the partition running main program of corresponding user, to realize replacing between original resource file and operation resource file It changes;When the method by configuring initializing variable carries out replacing file, since system is stored with the main journey of all user demands Sequence subregion sends the current user for replacing system software by android system and believes then when triggering dynamic replaces system software Breath, and the global variable for corresponding to user's service condition is loaded by MCU, the modules of terminal device will be adjusted according to service condition With different operating mechanisms, to realize the replacement of the resource file of system software.
It should be noted that when being replaced to system software by script, need will to original resource file and Operation resource file is compared.Specifically, as apk files, the bin in original resource file and operation resource file File and alternative document have same asset file, will not be updated to same asset file, only need to be to original resource file Operated with the different resource files of operation resource file, for example, by original resource file and in operation resource file all Include bin file, but the resource file under its catalogue is different, then the bin file of original resource file is replaced into operation resource The bin file of file, and due to being that client is customized according to self-demand in operation resource file, it is more it includes having File need to delete the resource file of extra customization when being replaced to system software, to realize that system is soft The replacement of part.
Wherein, shell scripts, Python scripts and ruby scripts can be used in script, is not limited thereto, as long as The replacement of feasible system software.
Specifically, it completes the operation resource file of the system software in intelligent terminal replacing with source material text After part, permission is managed again according to the configuration of original resource file, and remove historical usage associated documents.Certainly, clearly It is optional, because ROM (read only memory, the read-only memory) software having does not need except historical usage associated documents Removing can be replaced directly, but the rom software having fully erased must can just carry out brush machine.
The technical solution of the present embodiment, by detecting and obtaining the original resource file of system software, and by source material File is saved in the first predetermined directory;The operation resource file of system software is saved as into resource backup text in the second predetermined directory Part;Operation resource file is replaced with to the technological means of the original resource file in the first predetermined directory, solving need to be to system The problem of monoblock image file of software is write with a brush dipped in Chinese ink realizes it is not necessary that upgrade-system software can be by customized system again System software is changed to the effect of primal system software.
Embodiment two
Fig. 2 is a kind of flow chart of the replacing options of system software provided by Embodiment 2 of the present invention, and the present embodiment can fit The case where being replaced for the system software to terminal device.The present embodiment is on the basis of embodiment one, to detecting simultaneously The original resource file of system software is obtained, and original resource file is saved in the first predetermined directory, and resource will be run File replaces with the original resource file in the first predetermined directory, further optimizes, and specifically comprises the following steps:
S210, the original apk files of system software and original bin file are saved in android system subregion, and to original Beginning apk file and original bin file are packaged, to generate the original resource file of system software.
Under in the present solution, the original apk files of system software and original bin file are saved in specified directory, and it is right File is packaged, and the image file of the original resource file of system software is generated, with subsequently to intelligent terminal system System software is replaced.Wherein, image file refers to the same with the content of the carriers script such as CD, i.e., file structure with And hidden file etc., or even the encryption information including CD etc. can be replicated completely.
Illustratively, original Setting.apk is bundled to/system/vendor/general/apk/ catalogues under, And customized Setting.apk is bundled to/system/app/ catalogues under.It similarly, can be by original logo.bin texts Part is bundled to/system/vendor/general/bin/ catalogues under, and customized logo.bin files are bundled to/ Under system/app/ catalogues.
Specifically, it before the system software to intelligent terminal is updated, needs first to the resource file of system software It is packaged, illustratively, is customized by under customized apk file copies to/system/app/ catalogues, and by user Bin file copy to/system/app/ catalogues under.Wherein, customized bin file can be startup music, be switched on and move Draw etc..
It wherein, can be specific to grasp by RE managers by under customized apk file copies to/system/app/ catalogues Make:Before operation, general/system/app/ catalogues carry is read-write;Also, system software name cannot have Chinese, space and its Its spcial character etc.;If can not move, when display space deficiency, can first be moved under data/app, move again to/ It, also can be by deleting the currently running unwanted part resource file of system software under system/app/ catalogues.
S220, a pair movable storage device associated with terminal device are detected, and judge be in movable storage device The no original resource file for being replicated with system software.
Specifically, it if detecting original resource file in movable storage device associated with terminal device, executes Step S230;If original resource file is not detected, step S240 is executed.In the present solution, to intelligent terminal correlation Need to be first to replace system software to prepare, for example, being carried out to permission by instruction before the movable storage device of connection is detected Management and the read-write of subregion carry out carry.Illustratively, it to the change of operating right, can be transported by using bash shell-commands Row " chmod 777file ";Again carry is carried out to the read-write of subregion, bash shell-commands can be used to run " mount-o- Remount, rw/system ".Meanwhile in order in the replacement process of resource file, prevent movable storage device from plugging or communicating Exception causes to replace or upgrade-system software fails, and can copy original resource file under specified catalogue in advance, and is sentencing Whether it is replicated with before the original resource file of system software in disconnected movable storage device, can is to copy original resource file in advance Establishment file is pressed from both sides under shellfish to specified catalogue, for example, running " busybox mkdir-p $ TEMP_ using bash shell-commands APK”。
Wherein, preferentially movable storage device is detected, judges whether the image file for preserving original resource file, It is to save the space of android system eMMC (Embedded Multi Media Card) itself.It is protected in system partitioning Deposit Backup Data, hence it is evident that be that can occupy a part of spaces eMMC, but not only in order to save the spaces eMMC, but can quick replacement user it is fixed The original resource file of system software can be saved in movable storage device by the system software of system.
Illustratively, tetra- customized system softwares of A, B, C and D are if desired added, and each customized The Backup Data of system software occupies 100M, then needs the eMMC memory spaces for consuming 400M.If but by the backup of system software Data are placed in movable storage device, then movable storage device is only needed to store the 100M of some user (such as party A-subscriber), and The spaces 400M that eMMC is saved, can give over to user and voluntarily use.
Meanwhile original resource file being placed in movable storage device, it can easily update corresponding version.For example, The system software (such as party A-subscriber) that some user is preserved in system partitioning is legacy version, can whole system if pressing normal flow Upgrading (including normal data and backed up to the data of A, B, C and D user), just can ensure that A client is new version.If providing The mode of movable storage device, then preferentially using the Backup Data of the original resource file of movable storage device (such as party A-subscriber Latest edition) for replacing, and after restarting complete machine, you can use latest edition.After movable storage device is replaced, judge current The software of A client is newest, then preserves again in current latest data to system partitioning.
Meanwhile the resource file that the original resource file of system software is stored in movable storage device and system partitioning is The same, for system, the path of storage is different.Such as:Movable storage device is in the path of system:/ mnt/sda1/...;And it is stored in system partitioning:/system/....
S230, original resource file is saved in the first predetermined directory.
In the present solution, in order to prevent to system software carry out escalation process in, due to movable storage device plug or Communication system causes escalation process to fail, first the original resource file of system software is copied to/system/tmp catalogues under, and Resource file is verified after completing to copy, i.e. the check value of resource file under comparison/system/tmp catalogues and shifting Whether the check value of the resource file preserved in dynamic storage device is consistent, if verification failure, just gives tacit consent to the data of the resource file For invalid data, the upgrading or reduction of system software will not be carried out to intelligent terminal.
S240, android system subregion is detected, to obtain original resource file, and is saved in the first default mesh Record.
It specifically, will be to Android when the original resource file for not detecting system software in movable storage device Be detected in system partitioning, and the original resource file detected is saved in/system/tmp catalogues under.Wherein ,/ The mapping of system/tmp catalogues inherently memory, with reading movable storage device or read apparatus subregion, essence is the same, is all First copy content to DDR memories.Wherein, memory refers to DDR (Double Data Rate, Double Data Rate synchronous dynamic random Memory), and not eMMC.
Wherein, original resource file is either detected in movable storage device or system partitioning, will be stored in/ Under system/tmp catalogues, on the one hand, be to provide one to the original resource file of movable storage device and system partitioning Uniform outlet, that is, the entrance of the original resource file of replacement system software, and the processing procedure without paying close attention to S250-S280;Separately On the one hand, it prevents movable storage device communication unstable, and is accidentally withdrawn in communication process, so as to cause system software Replacement failure.
S250, the operation resource file of system software is saved as into resource backup file in the second predetermined directory;Wherein, it transports The resource file that row resource file configures for the demand according to user to system.
S260, analysis is compared with the original resource file in the first predetermined directory to operation resource file, and identified Extract identical resource file.
In the present solution, by under/system/tmp catalogues original resource file and the intelligence of android system is installed The resource file for the system software that terminal device is currently running is compared, and the phase that will include in two resource files It extracts with file identification, when being replaced in S280, no longer this same file will be replaced.
Illustratively, it is assumed that user carries out customized to the startup music and boot animation of smart mobile phone, then in intelligence It can include Boot Setting files in the operation resource file of mobile phone, and include to smart mobile phone under this file Startup music and boot animation dependent instruction etc..But it is changed to original money needing the operation resource file by smart mobile phone Source file, and Boot Setting files are not needed in original resource file.Meanwhile intelligence is equipped in original resource file The related resource file of the default ring tone of mobile phone, as Ring files, and run the file life of the tinkle of bells in resource file Entitled Custom ring, then can will be in addition to Boot Setting files, Ring files and Custom ring files Resource file extracts, as identical resource file.
S270, identical resource file is rejected from operation resource file and original resource file, to obtain first respectively Resource file and Secondary resource file.
Specifically, it after the removal of the same asset file in resource file and original resource file being run, will obtain respectively Take Boot Setting files, Ring files and Custom ring files, wherein Boot Setting files and Custom ring files are as first resource file;And Ring files are as Secondary resource file.
S280, by first resource replacing file be Secondary resource file.
Illustratively, the related content in Boot Setting files and its file is deleted, is used simultaneously The related content of Ring files replaces the related content in Custom ring files, while the name of file being changed to Ring files, the operation resource file to realize smart mobile phone replace with original resource file.
The technical solution of the present embodiment is further advanced by pair movable storage device associated with terminal device and a system Subregion is detected, and to obtain the original resource file of system software, and is saved in the first predetermined directory;By system software Operation resource file saves as resource backup file in the second predetermined directory;Wherein, operation resource file is according to user to being The demand of system and the resource file configured;Operation resource file is compared with the original resource file in the first predetermined directory Analysis, and identify the identical resource file of extraction;Identical resource text is rejected from operation resource file and original resource file Part, to obtain first resource file and Secondary resource file respectively;First resource file is replaced with to the skill of Secondary resource file Art means solve in system software replacement process, since movable storage device plug or communication abnormality cause to replace failure The problem of, to achieve the purpose that easily and reliably to replace system software.
On the basis of the above embodiments, by step S260, S270 and S280 respectively use following steps S261, S271 and S281 is replaced, as shown in figure 3, being as follows:
S261, the original resource file in the first predetermined directory is verified, and it is corresponding to obtain original resource file First check value.
Wherein, before upgrading to MCU system software, first the resource file of MCU system software can be packaged Processing, and packaging file is saved in android system, and android system is replaced.Specific step of replacing can be with Including:First, in instruction or the signal for receiving triggering switching at runtime custom system software, start to replace or delete The application of android system and resource file, and restart and enter recovery patterns, and start formatting/data/ and/ Cache subregions, finally restart android system, and user configuration load is completed to have replaced the resource file of system software. When completing the resource file of user configuration loading system software, the replacement or deletion of resource file will be carried out to MCU system software, To realize the replacement of MCU system software.
In the present solution, due to terminal device MCU using STM32 chips, the i.e. hardware of terminal device inherently CRC32 is supported to calculate.Therefore, when in the present solution, calculating the check value for obtaining original resource file, directly pass through CRC32's Arithmetic unit can be obtained by the CRC32 check values of original resource file, without the calculating by software realization check value.
It is of course also possible to the CRC16 check values of original resource file are calculated, but in order to make the complexity and essence of checking algorithm More preferable and operation efficiency higher is spent, and this programme uses STM32 chips, it will be directly by hardware to original resource file Check value is calculated, to obtain the CRC32 check values of original resource file.
Specifically, in the present solution, using the method for configuring initializing variable, the resource file of system software is carried out more It changes, i.e., the current user information sent according to android system obtains the corresponding source material of client in the first predetermined directory File reads the binary file of original resource file to be replaced in MCU system memory, and it is existing to recall ready-made java At CRC32 classes, to obtain the CRC32 check values of original resource file.
Wherein, due to original resource file be by multiple data packet groups at, the schools CRC32 of original resource file Test value can be entire original resource file test value or each data packet of original resource file check value, for example, The original resource file that user A is needed replacing includes 4 data packets, then each data packet is containing there are one the corresponding schools CRC32 Value is tested, when in order to replace data packet, the different accordingly data packet of test value need to only be replaced, without by institute Some data packets are replaced.
S271, calculating simultaneously obtain corresponding second check value of operation resource file.
Similarly, when the resource file to the currently running system software of MCU system carries out verification calculating, directly pass through It is communicated with MCU, obtains the corresponding check value of current MCU operations main program.Similarly, resource file corresponding second is run Check value is also CRC32 check values.
S281, the first check value and the second check value are compared, and different in the first check value and the second check value When, original resource file is changed to by resource file is run by updating protocol.
It should be noted that the second check value of the first check value and operation resource file when original resource file When different, illustrate the currently running system softwares of the MCU of terminal device and the corresponding version of non-user, need to correspond to and be replaced. Further, each data packet of original resource file will be verified, and and operation resource file each data packet Check value is compared, and the different corresponding data packet of check value is replaced, and identical, is not required to re-replace.
Illustratively, the terminal device original resource file of user A includes tetra- data packets of a, b, c, d, and runs money Source file includes five data packets of a1, b1, c1, d1 and e1.Wherein, a and a1 is corresponded to, and b and b1 are corresponded to, and c and c1 are corresponded to, and D and d1 is corresponded to, and corresponding expression is that function, effect or name that its data packet to be realized are identical.Also, only a and a1 numbers According to wrapping, corresponding check value is identical, the test values of other data packets not correspond to it is identical, then by tri- data packets replacements of b, c, d B1, c1, d1 data packet, and since there is no e data packets in original resource file, then it correspondingly, will be in operation resource file E1 data packets are deleted, and are not necessarily to update system software again to realize, so that it may to realize the upgrading of system software or go back It is former.
Wherein, the updating protocol of regular length, the meaning such as table 1 of each byte representation of updating protocol are used in this programme It is shown,
The meaning information table of each byte of 1 updating protocol of table
Packet header Packet serial number Packet mark Verification and Data
ID NUM CMD CRC DATA[0…59]
Wherein, packet header ID:When communication is using usb communication, this ID is the Report ID inside USB descriptors, such as This agreement ID=0xFC;NUM is packet serial number, from 0-255 cycle counts;CMD:Transmission order, the mark each wrapped;CRC:Data Verification and, i.e. DATA [0]+DATA [1]+... the summation of+DATA [59];Data:For 60 bytes DATA is denoted as from 0-59 [0...59], expression is data content.
Illustratively, upgrading flow specifically may include four steps:First, host (Android main systems) (is waited for slave The MCU system of replacement) data packet that a CMD=UPDATE_START protocol package starts as upgrading flow is sent out, work as slave After receiving data, a CMD=UPDATE_ACK protocol package will be returned as normal response signal to host;Then, host According to answer signal, data packet of the CMD=UPDATE_SOL protocol packages as upgrade file total length is sent, slave will continue anti- CMD=UPDATE_ACK protocol packages are presented as normal response signal;Then, host sends CMD=UPDATE_SOD protocol packages and makees For the data packet of the content of upgrade file, slave equally feeds back CMD=UPDATE_ACK protocol packages as normal response information, master Machine will transmit upgrade file contents;Finally, host sends CMD=UPDATE_EOT protocol packages as transmission upgrade file contents The letter of upgrading is completed using feedback CMD=UPDATE_NAK protocol packages as slave after slave receives data packet for data packet Number.
In escalation process, it can be handled by fault tolerant mechanism.Specifically, when the length of original resource file is more than The length confirmed by updating protocol terminates original resource file being changed to original resource file when original resource file transmits More than confirmed by updating protocol maximum time, error of transmission, check errors and/or when lacking data packet, transmission is former again The data of beginning resource file.
Illustratively, when the data packet in host transmission CMD=UPDATE_SOL protocol packages as upgrade file total length When, but file size malfunctions, and upgrades terminating, and slave will return to CMD=UPDATE_CA protocol packages as the letter for terminating upgrading Number.
Similarly, when host sends data packet of the CMD=UPDATE_SOD protocol packages as the content of upgrade file, by The original resource file content preserved in host is in transmission process, when transmission duration is more than the maximum that updating protocol confirms When long, slave will return to CMD=UPDATE_NAK protocol packages as the signal of overtime return.Meanwhile in original resource file Data packet error of transmission, check errors and/or when lacking data packet, slave will return to CMD=UPDATE_SOD protocol package conducts Feedback signal when host receives the protocol package, will transmit the data packet, and in CMD=UPDATE_SOD protocol packages again Include error of transmission, examine the serial number of mistake and/or the data packet lacked.That is, host according to the serial number of data packet to correspondence The data packet of serial number is transmitted again, and not all data packets of original resource file are transmitted again.
When the current operation resource file of MCU system software is changed to original resource file, by restarting MCU systems System, and after the restarting for completing MCU system, so that it may to complete the replacement of MCU system software.
In the technical solution of the present embodiment, by obtaining original resource file and the operation each data of resource file respectively The check value of packet, and its corresponding check value is compared, when the check value difference of each data packet, operation is provided The different replacement data packet of check value is the corresponding data packet of original resource file in source file, to realize without that will run resource All data packets of file are replaced, so that it may to complete the update of MCU system software version.
Embodiment three
Fig. 4 is a kind of flow chart of the replacing options for system software that the embodiment of the present invention three provides, as shown in figure 4, should The replacing options of system software specifically comprise the following steps:
S310, the original resource file and environment for initializing system software.
It wherein, can be by the read-write carry of change and subregion to operating right come the original resource file to system software And environment is initialized.Certainly, shell can be passed through to the read-write carry of the change of operating right and subregion in this programme Script is realized.Illustratively, using bash shell-commands operation " 777 file of chmod ", it can be achieved that operating right Change;Using the operation of bash shell-commands, " mount-oremount, rw/system " realize carry subregion again.
S320, detection USB flash disk general file whether there is the original resource file of system software, if there are original moneys Source file will execute step S350;If original resource file is not present, step S330 will be executed.
Specifically, it in the present solution, assume that movable storage device is USB flash disk, but is not limited thereto.Meanwhile USB flash disk In the name of file be also to be assumed to be general file, not merely limit and this, only include in this document folder The original resource file of system software.
S330, detecting system subregion system/vendor whether there is the original resource file of system software.
If there are original resource file, step S350 will be executed;If original resource file is not present, step will be executed S340。
S340, key replacement system software is terminated.
S350, the original resource file of system software is copied to into/system/tmp catalogues.
The resources such as S360, general/system/app.bin back up, and are saved in/system/vendor catalogues.
S370, using the resource file under/system/tmp catalogues, the resource files such as/system/app.bin are carried out It replaces or deletes.
S380, rights management is carried out to the resource file of replaced system software, and removes/data/ and/system/ Related resource file under tmp/ catalogues.
S390, the system for restarting intelligent terminal.
The technical solution of the present embodiment, by being detected to USB flash disk and system partitioning, to obtain the original money of system software Source file, and copy to/system/tmp catalogues;And the resource file under general/system/tmp catalogues, /system/ The resource files such as app.bin are replaced or delete, and carry out rights management and removing to the resource file of system software again, The key for realizing the system software of the intelligent terminal to being equipped with android system is replaced.
Example IV
Fig. 5 is a kind of structural schematic diagram of the more changing device for system software that the embodiment of the present invention four provides, the present embodiment The mode of software and/or hardware can be used to realize in the case where being applicable to replace system software, the device, such as Fig. 5 Shown, the more changing device of the system software specifically includes:Detect acquisition module 410, preserving module 420 and replacement module 430.
Wherein, acquisition module 410 is detected, the original resource file for detecting and obtaining system software, and by original money Source file is saved in the first predetermined directory;
Preserving module 420, for the operation resource file of system software to be saved as resource backup in the second predetermined directory File;Wherein, the resource file that operation resource file configures for the demand according to user to system;
Replace module 430, the original resource file being changed in the first predetermined directory for resource file will to be run.
The technical solution of the present embodiment, by detecting and obtaining the original resource file of system software, and by source material File is saved in the first predetermined directory;The operation resource file of system software is saved as into resource backup text in the second predetermined directory Part;The technological means that operation resource file is replaced with to the original resource file in the first predetermined directory, need to be to system software The problem of monoblock image file is write with a brush dipped in Chinese ink realizes it is not necessary that upgrade-system software can be by customized system software again It is changed to the effect of primal system software.
Further, the more changing device of the system software further includes:
Original resource file generation module 440, for preserving the original apk files of system software and original bin file It is packaged to android system subregion, and to original apk files and original bin file, to generate the original money of system software Source file.
Further, acquisition module 410 is detected, including:
Judging unit 411 is detected for a pair movable storage device associated with terminal device, and judges that movement is deposited Whether the original resource file of system software is replicated in storage equipment;
If original resource file is saved in first and preset by the first storage unit 412 for detecting original resource file Catalogue;
Second storage unit 413 is detected android system subregion for if original resource file to be not detected, To obtain original resource file, and it is saved in the first predetermined directory.
Further, module 430 is replaced, including:
Comparative analysis unit 431, for being carried out to the original resource file in operation resource file and the first predetermined directory Comparative analysis, and identify the identical resource file of extraction;
Acquiring unit 432, for rejecting identical resource file from operation resource file and original resource file, to divide It Huo Qu not first resource file and Secondary resource file;
Unit 433 is replaced, for being Secondary resource file by first resource replacing file.
Further, replacing mould comparative analysis unit in the block, acquiring unit and replacing unit corresponding can use the One verification unit, the second verification unit and comparison are replaced unit and are replaced.
Wherein, the first verification unit for being verified to the original resource file in the first predetermined directory, and obtains original Corresponding first check value of beginning resource file;
Second verification unit, for calculating and obtaining corresponding second check value of operation resource file;
Unit is replaced in comparison, for the first check value and the second check value to be compared, and in the first check value and the When two check value differences, original resource file is changed to by resource file is run by updating protocol.
The more changing device of above system software can perform the replacement side for the system software that any embodiment of the present invention is provided Method has the corresponding function module of execution method and advantageous effect.
Embodiment five
Fig. 6 is a kind of structural schematic diagram for terminal device that the embodiment of the present invention five provides.Fig. 6 shows real suitable for being used for The block diagram of the exemplary computer device 512 of existing embodiment of the present invention.The computer equipment 512 that Fig. 6 is shown is only one Example should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in fig. 6, computer equipment 512 is showed in the form of universal computing device.The component of computer equipment 512 can To include but not limited to:One or more processor or processing unit 516, system storage 528 connect different system group The bus 518 of part (including system storage 528 and processing unit 516).
Bus 518 indicates one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 512 typically comprises a variety of computer system readable media.These media can be it is any can The usable medium accessed by computer equipment 512, including volatile and non-volatile media, moveable and immovable Jie Matter.
System storage 528 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 530 and/or cache memory 532.Computer equipment 512 may further include it is other it is removable/ Immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 534 can be used for reading Write immovable, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 6, It can provide for the disc driver to moving non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-easy The CD drive that the property lost CD (such as CD-ROM, DVD-ROM or other optical mediums) is read and write.In these cases, each Driver can be connected by one or more data media interfaces with bus 518.System storage 528 may include at least There is one group of (for example, at least one) program module, these program modules to be configured to hold for one program product, the program product The function of row various embodiments of the present invention.
Program/utility 540 with one group of (at least one) program module 542 can be stored in such as system and deposit In reservoir 528, such program module 542 include --- but being not limited to --- operating system, one or more application program, Other program modules and program data may include the reality of network environment in each or certain combination in these examples It is existing.Program module 542 usually executes function and/or method in embodiment described in the invention.
Computer equipment 512 can also be with one or more external equipments 514 (such as keyboard, sensing equipment, display 524 etc.) it communicates, the equipment interacted with the computer equipment 512 communication can be also enabled a user to one or more, and/or (such as network interface card is adjusted with any equipment that the computer equipment 512 communicated with one or more of the other computing device is enable Modulator-demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 522.Also, computer equipment 512 can also by network adapter 520 and one or more network (such as LAN (LAN), wide area network (WAN) and/or Public network, such as internet) communication.As shown, network adapter 520 passes through its of bus 518 and computer equipment 512 Its module communicates.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with computer equipment 512 Module, including but not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic Tape drive and data backup storage system etc..
Processing unit 516 is stored in program in system storage 528 by operation, to perform various functions using with And data processing, such as realize a kind of replacing options for system software that the embodiment of the present invention is provided, including:
The original resource file of system software is detected and obtained, and original resource file is saved in the first predetermined directory;
The operation resource file of system software is saved as into resource backup file in the second predetermined directory;Wherein, operation money The resource file that source file configures for the demand according to user to system;
Operation resource file is changed to the original resource file in the first predetermined directory.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should A kind of replacing options of the system software provided such as all inventive embodiments of the application, packet are provided when program is executed by processor It includes:
The original resource file of system software is detected and obtained, and original resource file is saved in the first predetermined directory;
The operation resource file of system software is saved as into resource backup file in the second predetermined directory;Wherein, operation money The resource file that source file configures for the demand according to user to system;
Operation resource file is changed to the original resource file in the first predetermined directory.
The arbitrary of one or more computer-readable media may be used in the computer storage media of the embodiment of the present invention Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example can be system, device or the device of -- but being not limited to -- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, Or the arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:With one The electrical connection of a or multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium, which can be any, includes or the tangible medium of storage program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with one or more programming languages or combinations thereof for executing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partly executes or executed on a remote computer or server completely on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service It is connected by internet for quotient).
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of replacing options of system software, which is characterized in that including:
The original resource file of system software is detected and obtained, and the original resource file is saved in the first predetermined directory;
The operation resource file of system software is saved as into resource backup file in the second predetermined directory;Wherein, the operation money The resource file that source file configures for the demand according to user to system;
The operation resource file is changed to the original resource file in first predetermined directory.
2. according to the method described in claim 1, it is characterized in that, in the source material text for detecting and obtaining system software Part, and before the original resource file is saved in the first predetermined directory, further include:
The original apk files of system software and original bin file are saved in android system subregion, and to the original apk File and the original bin file are packaged, to generate the original resource file of system software.
3. according to the method described in claim 1, it is characterized in that, the source material text for detecting and obtaining system software Part, and the original resource file is saved in the first predetermined directory, including:
Pair movable storage device associated with terminal device is detected, and judges whether replicated in the movable storage device There is the original resource file of system software;
If detecting the original resource file, the original resource file is saved in the first predetermined directory;
If the original resource file is not detected, android system subregion is detected, to obtain the source material text Part, and it is saved in the first predetermined directory.
4. according to the method described in claim 1, it is characterized in that, described be changed to described first by the operation resource file Original resource file in predetermined directory, including:
Analysis is compared with the original resource file in first predetermined directory to the operation resource file, and identifies and carries Take identical resource file;
The identical resource file is rejected from the operation resource file and the original resource file, to obtain respectively One resource file and Secondary resource file;
It is the Secondary resource file by the first resource replacing file.
5. according to the method described in claim 1, it is characterized in that, described replace with described first by the operation resource file Original resource file in predetermined directory, including:
Original resource file in first predetermined directory is verified, and obtains the original resource file corresponding One check value;
It calculates and obtains corresponding second check value of the operation resource file;
First check value and second check value are compared, and in first check value and second verification When being worth different, the operation resource file is changed to by the original resource file by updating protocol.
6. according to the method described in claim 5, it is characterized in that, it is described by updating protocol by the operation resource file more It is changed to the original resource file, including:
When the length of the original resource file is more than the length that confirms by the updating protocol, termination is by the source material Replacing file is the original resource file;
When original resource file transmission is more than maximum time, error of transmission, the verification mistake confirmed by the updating protocol When accidentally and/or lacking data packet, the data of the original resource file are transmitted again.
7. a kind of more changing device of system software, which is characterized in that including:
Acquisition module, the original resource file for detecting and obtaining system software are detected, and the original resource file is protected It is stored to the first predetermined directory;
Preserving module, for the operation resource file of system software to be saved as resource backup file in the second predetermined directory;Its In, the resource file for running resource file and being configured for the demand according to user to system;
Replacement module, for the operation resource file to be replaced with the original resource file in first predetermined directory.
8. device according to claim 7, which is characterized in that further include:
Original resource file generation module, for the original apk files of system software and original bin file to be saved in Android system subregion, and the original apk files and original bin file are packaged, to generate the original of system software Resource file.
9. a kind of terminal device, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now replacing options of the system software as described in any in claim 1-6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The replacing options of the system software as described in any in claim 1-6 are realized when execution.
CN201810240841.8A 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium Active CN108509215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810240841.8A CN108509215B (en) 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810240841.8A CN108509215B (en) 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108509215A true CN108509215A (en) 2018-09-07
CN108509215B CN108509215B (en) 2022-03-29

Family

ID=63378111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810240841.8A Active CN108509215B (en) 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108509215B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096293A (en) * 2019-04-30 2019-08-06 上海睿赛德电子科技有限公司 A kind of general Bootloader implementation method based on STM32 with OTA upgrade function
CN110580169A (en) * 2019-08-16 2019-12-17 深圳市同洲电子股份有限公司 method for copying and rewriting android system through USB storage equipment
CN110673827A (en) * 2019-08-27 2020-01-10 广州视源电子科技股份有限公司 Resource calling method and device based on android system and electronic equipment
CN110865796A (en) * 2019-09-29 2020-03-06 深圳市火乐科技发展有限公司 Software customization method and device for projection equipment
CN111240738A (en) * 2020-01-20 2020-06-05 北京无限光场科技有限公司 File processing method, device, equipment and medium
CN113852717A (en) * 2021-09-27 2021-12-28 努比亚技术有限公司 Wallpaper module position migration method and device and computer-readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377744A (en) * 2008-09-24 2009-03-04 深圳华为通信技术有限公司 Method and apparatus for recovering terminal equipment software upgrade
CN101409074A (en) * 2008-11-24 2009-04-15 杭州鑫方软件有限公司 Method for updating embedded speech identification system function
CN102360299A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Software system resetting method, server and client
CN102650947A (en) * 2012-04-01 2012-08-29 广东欧珀移动通信有限公司 Continuous increment over-the-air upgrade method of Android handheld equipment
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
US20130125107A1 (en) * 2011-11-11 2013-05-16 Wyse Technology Inc. Robust firmware update with recovery logic
WO2013138895A1 (en) * 2012-03-22 2013-09-26 Irdeto Canada Corporation Updating software components
CN105824722A (en) * 2016-03-18 2016-08-03 苏州三星电子电脑有限公司 Backup restoring system for computer cloud
CN106155729A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 The hot update method of Lua script, Apparatus and system
CN106528086A (en) * 2016-10-10 2017-03-22 广州视源电子科技股份有限公司 Method and system for upgrading Android software
CN106911502A (en) * 2017-02-22 2017-06-30 烽火通信科技股份有限公司 A kind of upgrade method and system of intelligent home gateway equipment
US20170325056A1 (en) * 2016-05-09 2017-11-09 Rapidsos, Inc. Systems and methods for emergency communications
CN107783778A (en) * 2017-10-30 2018-03-09 厦门亿联网络技术股份有限公司 A kind of method for updating increment of feature based value look-up table

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377744A (en) * 2008-09-24 2009-03-04 深圳华为通信技术有限公司 Method and apparatus for recovering terminal equipment software upgrade
CN101409074A (en) * 2008-11-24 2009-04-15 杭州鑫方软件有限公司 Method for updating embedded speech identification system function
CN102360299A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Software system resetting method, server and client
US20130125107A1 (en) * 2011-11-11 2013-05-16 Wyse Technology Inc. Robust firmware update with recovery logic
WO2013138895A1 (en) * 2012-03-22 2013-09-26 Irdeto Canada Corporation Updating software components
CN102650947A (en) * 2012-04-01 2012-08-29 广东欧珀移动通信有限公司 Continuous increment over-the-air upgrade method of Android handheld equipment
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN106155729A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 The hot update method of Lua script, Apparatus and system
CN105824722A (en) * 2016-03-18 2016-08-03 苏州三星电子电脑有限公司 Backup restoring system for computer cloud
US20170325056A1 (en) * 2016-05-09 2017-11-09 Rapidsos, Inc. Systems and methods for emergency communications
CN106528086A (en) * 2016-10-10 2017-03-22 广州视源电子科技股份有限公司 Method and system for upgrading Android software
CN106911502A (en) * 2017-02-22 2017-06-30 烽火通信科技股份有限公司 A kind of upgrade method and system of intelligent home gateway equipment
CN107783778A (en) * 2017-10-30 2018-03-09 厦门亿联网络技术股份有限公司 A kind of method for updating increment of feature based value look-up table

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHEN QI: ""crsync-基于rsync rolling算法的文件增量更新"", 《HTTPS://GIST.GITHUB.COM/9468305/FA8F1307EA4738225FCA》 *
YANG YANAN等: ""An Incremental Updating Algorithm for Sequence Patterns Based on Improved PrefixSpan"", 《2017 9TH INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096293A (en) * 2019-04-30 2019-08-06 上海睿赛德电子科技有限公司 A kind of general Bootloader implementation method based on STM32 with OTA upgrade function
CN110580169A (en) * 2019-08-16 2019-12-17 深圳市同洲电子股份有限公司 method for copying and rewriting android system through USB storage equipment
CN110673827A (en) * 2019-08-27 2020-01-10 广州视源电子科技股份有限公司 Resource calling method and device based on android system and electronic equipment
CN110673827B (en) * 2019-08-27 2022-12-20 广州视源电子科技股份有限公司 Resource calling method and device based on android system and electronic equipment
CN110865796A (en) * 2019-09-29 2020-03-06 深圳市火乐科技发展有限公司 Software customization method and device for projection equipment
CN110865796B (en) * 2019-09-29 2023-07-25 深圳市火乐科技发展有限公司 Software customization method and device for projection equipment
CN111240738A (en) * 2020-01-20 2020-06-05 北京无限光场科技有限公司 File processing method, device, equipment and medium
CN111240738B (en) * 2020-01-20 2023-11-21 北京有竹居网络技术有限公司 File processing method, device, equipment and medium
CN113852717A (en) * 2021-09-27 2021-12-28 努比亚技术有限公司 Wallpaper module position migration method and device and computer-readable storage medium
CN113852717B (en) * 2021-09-27 2024-03-19 努比亚技术有限公司 Wallpaper module position migration method, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108509215B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN108509215A (en) A kind of replacing options of system software, device, terminal device and storage medium
CN105511911B (en) The generation method and device of system firmware upgrade package
CN103970563B (en) The method of dynamic load Android class
CN109558160A (en) Upgrade method, embedded system
CN109165025A (en) The offline method for burn-recording of chip, device, system, computer storage medium and equipment
CN109710317B (en) System starting method and device, electronic equipment and storage medium
CN103077043B (en) A kind of method of quick Start-up and operating performance Linux
CN103164523A (en) Inspection method, device and system of data consistency inspection
US10228993B2 (en) Data dump for a memory in a data processing system
CN108733311B (en) Method and apparatus for managing storage system
US9697668B2 (en) Automatically configurable smart card and method of automatically configuring a smart card
CN108121594A (en) A kind of process management method and device
CN111782302A (en) Process updating method and device, storage medium and electronic equipment
CN107798064A (en) Page processing method, electronic equipment and computer-readable recording medium
CN110333876A (en) A kind of data clearing method and control equipment
CN107977222A (en) Suitable for the conversion of the upgrade file of eMMC, generation method and device
CN108205482A (en) File mount restoration methods
CN104484211B (en) The method and device of shared image file
CN113741954A (en) System software generation method and device, electronic equipment and storage medium
WO2023198056A1 (en) Firmware update method for embedded device, and embedded device
WO2020113382A1 (en) Hardware upgrading method, apparatus and device, and storage medium
US10572166B1 (en) Firmware download for a solid state storage card
WO2022242665A1 (en) Data storage method and related device
JP5972455B2 (en) How to delete information
WO2017096889A1 (en) Method and device for upgrading and downgrading system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant