CN108829423A - Method for upgrading system, device, equipment and the storage medium of Android device - Google Patents

Method for upgrading system, device, equipment and the storage medium of Android device Download PDF

Info

Publication number
CN108829423A
CN108829423A CN201810687460.4A CN201810687460A CN108829423A CN 108829423 A CN108829423 A CN 108829423A CN 201810687460 A CN201810687460 A CN 201810687460A CN 108829423 A CN108829423 A CN 108829423A
Authority
CN
China
Prior art keywords
system upgrade
file
android
android device
storage equipment
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
CN201810687460.4A
Other languages
Chinese (zh)
Other versions
CN108829423B (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
Original Assignee
广州视源电子科技股份有限公司
深圳市开视电子科技有限公司
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 广州视源电子科技股份有限公司, 深圳市开视电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Priority to CN201810687460.4A priority Critical patent/CN108829423B/en
Publication of CN108829423A publication Critical patent/CN108829423A/en
Application granted granted Critical
Publication of CN108829423B publication Critical patent/CN108829423B/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

Abstract

The embodiment of the invention discloses a kind of method for upgrading system of Android device, device, equipment and storage mediums, in this method, by obtaining system upgrade instruction, the USB device of the Android device connection is determined as storage equipment, the designated mirror file loaded in the storage equipment upgrades interface with display systems;According to the configuration parameter document analysis specified in the storage equipment and load corresponding system upgrade file.The system upgrade instruction is that the Android device is received in start process, and the system upgrade instruction with the matched IR remote controller of the Android device by triggering.Configuration freedom of Android device during system upgrade is improved, and provides the convenience of operation, improves system upgrade efficiency.

Description

Method for upgrading system, device, equipment and the storage medium of Android device
Technical field
The present invention relates to system updating technology more particularly to a kind of method for upgrading system of Android device, device, set Standby and storage medium.
Background technique
In android system research field, system when usually normally starting whole set equipment becomes android system, Meanwhile used system becomes when whole set equipment is carried out system upgrade (upgrading to android system) Recovery system.Android system generally passes through the recovery and upgrading that Recovery system completes system, including recovery Default setting, OTA upgrading, patch upgrading and firmware upgrade.
In the implementation of the present invention, at least there are the following problems in the prior art for inventor's discovery.In the prior art, When powering on booting using the whole set equipment of android system, need to carry out using the Recovery key on whole set equipment The system upgrade of Android device.Set-top box etc. supports the whole set equipment of IR remote controller in order to pursue beauty, by Recovery Key removal, then can not upgrade android system.
In addition, when being upgraded using Recovery system, which, which is limited to formerly to be burnt to complete machine, is set Standby middle Recovery mirror image, it is low to can configure freedom degree;In the prior art path can also be generated by scanning all storage equipment File, which is laid equal stress on, enters upgrading after starting system, and the unique identifier for passing through storage equipment generates only matching with system upgrade file path Parameter File is set, this method needs to scan all storage equipment, wastes system resource, and system upgrade efficiency are low.
Summary of the invention
The embodiment of the present invention provides method for upgrading system, device, equipment and the storage medium of a kind of Android device, makes Configuration freedom of Android device during system upgrade improves, and provides the convenience of operation, improves system liter Stage efficiency.
In a first aspect, the embodiment of the invention provides a kind of method for upgrading system of Android device, this method includes:
System upgrade instruction is obtained, the system upgrade instruction is that the Android device is received in start process, The system upgrade instruction with the matched IR remote controller of the Android device by triggering;
Determine that the USB device of the Android device connection for storage equipment, loads the specified mirror in the storage equipment As file upgrades interface with display systems;
According to the configuration parameter document analysis specified in the storage equipment and load corresponding system upgrade file.
Second aspect, the embodiment of the invention also provides a kind of system upgrade device of Android device, the device packets It includes:
Upgrade command obtains module, and for obtaining system upgrade instruction, the system upgrade instruction is that the Android is set It is standby received in start process, the system upgrade instruction by with the matched IR remote controller of the Android device Triggering;
Upgrade showing interface module, for determining the USB device of the Android device connection for storage equipment, load Designated mirror file in the storage equipment upgrades interface with display systems;
System upgrade file load module, for according to it is described storage equipment in specify configuration parameter document analysis and add Carry corresponding system upgrade file.
The third aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in On memory and the computer program that can run on a processor, the processor are realized when executing described program as the present invention is real Apply the method for upgrading system of any Android device in example.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the system upgrade of the Android device as described in any in the embodiment of the present invention when program is executed by processor Method.
In the embodiment of the present invention, by obtaining system upgrade instruction, the USB device of the Android device connection is determined To store equipment, the designated mirror file loaded in the storage equipment upgrades interface with display systems;It is set according to the storage The configuration parameter document analysis specified in standby simultaneously loads corresponding system upgrade file.The system upgrade instruction is described Android device is received in start process, and the system upgrade instruction is by matched red with the Android device Outer remote controler triggering.Configuration freedom of Android device during system upgrade is improved, and provides the convenience of operation Property, improve system upgrade efficiency.
Detailed description of the invention
Fig. 1 is the flow chart of the method for upgrading system of one of the embodiment of the present invention one Android device;
Fig. 2 is the flow chart of the method for upgrading system of one of the embodiment of the present invention two Android device;
Fig. 3 is the flow chart of the method for upgrading system of one of the embodiment of the present invention three Android device;
Fig. 4 is the structural schematic diagram of the system upgrade device of one of the embodiment of the present invention four Android device;
Fig. 5 is the structural schematic diagram of one of the embodiment of the present invention five computer equipment.
Specific embodiment
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 limiting 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.
Infrared Ray Remote Control Technology, which refers to, realizes remote control to target by infrared technique, and most smart machines have therewith The IR remote controller matched realizes the control to smart machine by remotely operating IR remote controller.Smart machine such as intelligent machine Top box, intelligent refrigerator, smart television, Intelligent flat and intelligent curtain etc., the operating system of usual smart machine are Android This kind of smart machine is known as Android smart machine, abbreviation Android device by system.In order to improve in Android device The performance and equipment performance of each application program need to upgrade the system of Android device.The embodiment of the present invention mentions The method for upgrading system for having supplied a kind of Android device, applied to support IR remote controller Android device in, be to it System is upgraded.
Embodiment one
Fig. 1 is a kind of flow chart of the method for upgrading system for Android device that the embodiment of the present invention one provides, this implementation Example is applicable to the case where system upgrade in the Android device for supporting IR remote controller, and this method can be implemented by the present invention A kind of system upgrade device for Android device that example provides executes, and the mode which can be used software and/or hardware is real It is existing.With reference to Fig. 1, this method can specifically include following steps:
S110, system upgrade instruction is obtained.
Specifically, being pressed when user has the demand to Android device upgrading by what is set on operation IR remote controller Key is realized, wherein the key of setting can be the key for being exclusively provided at the fixed position of IR remote controller, such as the upper right corner is pressed Key sets red for the key, clicks the key, and system upgrade instruction can be sent to Android and set by IR remote controller It is standby.In addition, the key fixed can also be by being arranged to be multiplexed key, for example, digital keys 1 and power key by IR remote controller It presses simultaneously, system upgrade can be instructed and be sent to Android device.
Wherein, the system upgrade instruction is that the Android device is received in start process, the system upgrade Instruction with the matched IR remote controller of the Android device by triggering.
Illustratively, the system upgrade process of Android device usually occurs in booting, that is, by Android device Connection power supply boots up.Wherein, Android device is by taking Android set-top box as an example, set-top box be a connection television set with The digital signal of compression can be converted into television content, and shown on a television set by the equipment of outside source.User By the connection power supply booting of Android set-top box, in start process, Android set-top box receives system upgrade instruction, the system Upgrade command is triggered by IR remote controller, which matches with Android set-top box, that is, red by operating this Corresponding key on outer remote controler, triggering system upgrade instruction.
S120, determine that the USB device of the Android device connection for storage equipment, loads in the storage equipment Designated mirror file upgrades interface with display systems.
Specifically, the external storage for obtaining access is set when having External memory equipment access in detecting Android device Standby device type is matched by device type with device type list pre-stored in Android device, and determination connects The device type of the External memory equipment entered, optionally, device type, which can be, does not deposit card, USB flash disk mouse or keyboard etc..
When determining the USB device of Android device connection to store equipment, the mirror image specified in load store equipment is literary Part, wherein the specified image file is used to display systems and upgrades interface.If the specified image file load successfully, into Enter system upgrade interface, if the specified image file loads failure, Android device normal boot-strap.
Wherein, image file refers to, a series of specific files are fabricated to single file according to certain format, with Facilitate user to download to use, image file can be identified and can be directly burnt on CD by specific software, and image file can To include operating system or game etc..Optionally, image file includes system upgrade interface associated documents, load images file after,display system upgrade interface,wherein,the image file is stored in the form ofrecover.imgordtb.img.
Optionally, the USB device of the Android device connection can be determined as follows as storage equipment, tool Body is:It initializes the Android device hardware and loads USB device driving;After detecting USB device access, described in determination USB device is storage equipment.
Specifically, android system end bootstrap passes through load USB Host Controller in Android device Android device hardware is initialized with USB Host HUB driver, then loads USB device driving.Detect that USB is set After standby access, whether the USB device for detecting access is USB storage device (USB Mass Storage Device), if so, Indicate that USB device is storage equipment.In a specific example, USB storage device can be USB flash disk.
S130, according to the configuration parameter document analysis specified in the storage equipment and corresponding system upgrade text is loaded Part.
Specifically, judging automatically in storage equipment when entering system upgrade interface with the presence or absence of specified configuration ginseng Number file and system specified upgrade file, wherein configuration parameter file can be the file of parameter.txt format, be System upgrade file can be the file of update.zip format.If it is determined that exist in storage equipment specified configuration parameter file and Corresponding system upgrade file then loads corresponding system upgrade file according to the specified configuration parameter file.Configuration parameter File and system upgrade file are corresponding, and specified configuration parameter file refers to that the Parameter File is associated with system upgrade File rather than file with other function, other function can be data storage or picture presentation etc..
Wherein, the configuration parameter file is used to characterize the storage location of system upgrade file, the system upgrade file For upgrading to android system.
Optionally, according to the configuration parameter file loading system upgrade file in the storage equipment, including:According to described Specified configuration parameter file in storage equipment determines the storage location of the corresponding system upgrade file;In the storage System upgrade file described in position acquisition parses and loads the system upgrade file.
Wherein, configuration parameter file is used to characterize the position of system upgrade file, may be used to indicate that system upgrade circle Face needs the movement etc. completed, and optionally, which includes the boot animation etc. for showing setting.System upgrade file for pair System software in Android device complete machine carries out the file of upgrading covering.For example, original-pack system is in Android box Android5.1, and to be upgraded to Android7.1, then system upgrade file is upgraded to Android7.1 institute for Android5.1 The file needed.System upgrade file, solution are obtained in the storage location of the system upgrade file determined according to configuration parameter file It analyses and loading system upgrade file is to realize system upgrade.
In the embodiment of the present invention, by obtaining system upgrade instruction, the USB device of the Android device connection is determined To store equipment, the specified image file loaded in the storage equipment upgrades interface with display systems;According to the storage In equipment specify configuration parameter document analysis and load corresponding system upgrade file.The system upgrade instruction is described Android device is received in start process, and the system upgrade instruction is by matched red with the Android device Outer remote controler triggering.Configuration freedom of Android device during system upgrade is improved, and provides the convenience of operation Property, improve system upgrade efficiency.
Based on the above technical solution, according to it is described storage equipment in specify configuration parameter document analysis and load After corresponding system upgrade file, further include:It will upgrade successfully or upgrade failure news with the shape of voice broadcast or text Formula is prompted;The android system is restarted after setting time.
After loading system upgrade file, by system upgrade success or upgrade failure news with voice broadcast or text Form is prompted to user, optionally, while upgrading successfully, voice broadcast " system upgrade success ", or in system upgrade circle " system upgrade success " is shown in face to set the font of pattern;When upgrading failure, Android device normal boot-strap, and language Sound broadcasts " system upgrade failure ", or shows that the page " is to set the font of pattern and show in the boot animation of Android device System upgrades successfully ".After accordingly prompt, by setting time, Android device is restarted, the time of setting can take 5 Second.User is set to obtain the progress of system upgrade in time, it is more intuitive to know whether system normally completes Upgrade process.
Optionally, according to the configuration parameter document analysis specified in the storage equipment and corresponding system upgrade text is loaded After part, further include:Remove data field and the buffer area of the android system in the Android device.
Specifically, removing data field and the buffer area of android system, the file cached in original system or data pair are avoided System and data after upgrading generate interference, the performance of the system after improving upgrading.In a specific example, according to configuration Parameter in Parameter File carries out corresponding operation, there is following parameter:
--wipe_data
--wipe_cache
-- update_package=/udisk/update.zip
The example of above-mentioned configuration parameter file shows that system upgrade file is the update.zip in USB flash disk, and system upgrade is complete Cheng Houhui wipes DATA and CACHE subregion, that is, removing the data field of the android system in the Android device And buffer area.
It is real by image file, configuration parameter file and the upgrade file in External memory equipment in the embodiment of the present invention The upgrading to Android device is showed, overcoming in Android device in the prior art does not have external upgrade button to cause Can not to Android device carry out system upgrade defect, or in Android device have external upgrade button when, Inconvenience caused by the system upgrade key for needing to look in the sharp instruments long-pressing Android device such as toothpick.
Embodiment two
Fig. 2 is a kind of flow chart of the method for upgrading system of Android device provided by Embodiment 2 of the present invention, this implementation Example on the basis of the above embodiments, to " load it is described storage equipment in designated mirror file with display systems upgrade interface " It is optimized.With reference to Fig. 2, this method can specifically include following steps:
S210, system upgrade instruction is obtained.
S220, determine the USB device of the Android device connection for storage equipment.
S230, the designated mirror file stored in equipment is loaded into the memory of the Android device.
Specifically, android system end bootstrap adds the image file specified in Android device from storage equipment It is downloaded to designated position in the memory of Android device complete machine, wherein designated position is used for memory image file, optionally, specifies Position is also used to be stored with the application program that can identify image file, by the application program, can read specified mirror image File.
S240, the verification for calculating data field in the memory and, the data of the data field and designated mirror text Part is corresponding.
After the completion of specified image file load, calculating school is carried out to the data field in the data loaded into memory Test the processing of sum.Wherein, it verifies and refers in data processing and the communications field for verifying the sum of the one group of data item in destination, lead to The form often indicated using hexadecimal as numeral system, verification and integrality and accuracy commonly used in guaranteeing data in communication.Institute The data for stating data field are corresponding with the designated mirror file, different in the image file that different data fields stores, for example, In the presence of there are multiple designated mirror files, it is respectively stored in different data fields.
S250, determine the verification and with object identifier and identical, then display systems upgrade interface.
Specifically, by the verification calculated and with object identifier and compare, if the verification and with object identifier and Identical, then display systems upgrade interface, indicate that image file loads successfully;If the verification and with object identifier and difference, table Show image file load failure, Android device normal boot-strap.
Wherein, the object identifier and for the header area record in the memory verification and, the data field is for depositing User data is stored up, the header area is for identifying the data field.Specifically, header area can be used as the tag slot of data field, By searching for the mark of header area, data field corresponding with the mark can be determined.Number of users is obtained in corresponding data field According to, wherein user data can be system data or application data of user's storage etc..
S260, according to the configuration parameter document analysis specified in the storage equipment and corresponding system upgrade text is loaded Part.
In the embodiment of the present invention, by loading the designated mirror file in the storage equipment to the Android device Memory in, calculate the data field in the memory verification and, the data of the data field and the designated mirror file phase It is corresponding, determine the verification and with object identifier and identical, then display systems upgrade interface.It realizes to whether image file adds It carries and successfully determines, after determining that image file loads successfully, continue to load configuration parameter file and system upgrade file.
Embodiment three
Fig. 3 is a kind of flow chart of the method for upgrading system for Android device that the embodiment of the present invention three provides, this implementation Example on the basis of the above embodiments, is optimized " obtaining system upgrade instruction ".With reference to Fig. 3, this method specifically can be with Include the following steps:
S310, the key code value for obtaining user key-press operation, the key are matched infrared with the Android device Remote controller key.
When user has the demand to Android device system upgrade, matching with Android device for user's click is obtained IR remote controller key key code value.Wherein, key symbols different on IR remote controller correspond to different key set codes Value, different key code values correspond to different function of infrared remote control.By taking the matched IR remote controller of intelligent TV set as an example, key Symbol is CH-, and corresponding key code value is 00-FF-A2-5D, then it represents that the function of the key is the channel for switching smart television; Key symbols are PLAY/PAUSE, and corresponding key code value is 00-FF-C2-3D, then it represents that the function of the key be play/temporarily Stop current presentation picture;Key symbols are number keys 5, and corresponding key code value is 00-FF-38-C7, then it represents that the function of the key Can switch to channel 5.
If S320, the key code value are the key code value of setting, system liter corresponding with the key code value is obtained Grade instruction.
Specifically, being identified to the key code value got, when determining that the key code value is the key code value of setting, obtain System upgrade corresponding with the key code value is taken to instruct.In a specific example, the key code value of setting is 00-FF-22- DD, after user clicks the key of IR remote controller setting, the key code value that Android device is got is also 00-FF-22-DD, Then show that the system upgrade for getting user instructs.
S330, determine that the USB device of the Android device connection for storage equipment, loads in the storage equipment Designated mirror file upgrades interface with display systems.
S340, according to the configuration parameter document analysis specified in the storage equipment and corresponding system upgrade text is loaded Part.
In the embodiment of the present invention, by obtaining the key code value of user key-press operation, the key is and the Android The matched IR remote controller key of equipment obtains and the key code value if the key code value is the key code value of setting Corresponding system upgrade instruction.By the key of operation IR remote controller, the acquisition to system upgrade instruction is realized, in addition, Using IR remote controller combine storage equipment realize system upgrade, reduce hardware cost, only need to pin on remote controler specify Key with system upgrade function improves the convenience of operation.
Example IV
Fig. 4 is a kind of structural schematic diagram of the system upgrade device for Android device that the embodiment of the present invention four provides, should Device is adapted for carrying out a kind of method for upgrading system for Android device that the embodiment of the present invention is supplied to.As shown in figure 4, should Device can specifically include:
Upgrade command obtains module 410, and for obtaining system upgrade instruction, the system upgrade instruction is described Android device is received in start process, and the system upgrade instruction is by matched red with the Android device Outer remote controler triggering;
Upgrade showing interface module 420, for determining that the USB device of the Android device connection for storage equipment, adds The designated mirror file carried in the storage equipment upgrades interface with display systems;
System upgrade file load module 430, for according to the configuration parameter document analysis specified in the storage equipment And load corresponding system upgrade file.
Further, upgrading showing interface module 420 includes showing submodule, wherein the displaying submodule is specifically used In:
The designated mirror file in the storage equipment is loaded into the memory of the Android device;
Calculate the data field in the memory verification and, the data of the data field are opposite with the designated mirror file It answers;
Determine the verification and with object identifier and identical, then display systems upgrade interface;
The object identifier and for the header area record in the memory verification and, wherein the data field is for depositing User data is stored up, the header area is for identifying the data field.
Further, the configuration parameter file is used to characterize the storage location of system upgrade file, the system upgrade File is for upgrading android system;
Correspondingly, system upgrade file load module 430 is specifically used for:
Depositing for the corresponding system upgrade file is determined according to the specified configuration parameter file in the storage equipment Storage space is set;
The system upgrade file is obtained in the storage location, parses and loads the system upgrade file.
Further, upgrade command obtains module 410 and is specifically used for:
The key code value of user key-press operation is obtained, the key is and the matched infrared remote control of the Android device Device key;
If the key code value is the key code value of setting, obtains system upgrade corresponding with the key code value and refer to It enables.
Further, the upgrading showing interface module includes determining submodule, wherein the determining submodule is specifically used In:
It initializes the Android device hardware and loads USB device driving;
After detecting USB device access, determine the USB device for storage equipment.
Further, further include:
Cue module, for according to it is described storage equipment in specify configuration parameter document analysis and load corresponding system It unites after upgrade file, will upgrade successfully or upgrade failure news and prompted in the form of voice broadcast or text;
System reboot module, for restarting the android system after setting time.
Further, further include:
Data dump module, for according to it is described storage equipment in specify configuration parameter document analysis and load correspondence System upgrade file after, remove data field and the buffer area of the android system in the Android device.
The system upgrade device of Android device provided in an embodiment of the present invention can be performed any embodiment of that present invention and provide Android device method for upgrading system, have the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used to Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 5 is shown is only one Example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to:One or more processor or processing unit 16, system storage 28 connect different system components The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is 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 12 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not Movably, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").It, can be with although being not shown in Fig. 5 The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.System storage 28 may include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair The function of bright each embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store and store in such as system In device 28, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey Sequence module 42 usually executes function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As shown, network adapter 20 is logical by other modules of bus 18 and computer equipment 12 Letter.It should be understood that other hardware and/or software module, packet can be used in conjunction with computer equipment 12 although being not shown in Fig. 5 It includes but is not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive Device and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize the method for upgrading system of Android device provided by the embodiment of the present invention:
That is, the processing unit is realized when executing described program:Obtain system upgrade instruction, the system upgrade instruction That the Android device is received in start process, system upgrade instruction by with the Android device The IR remote controller triggering matched;Determine that the USB device of the Android device connection for storage equipment, loads the storage and sets Designated mirror file in standby upgrades interface with display systems;According to the configuration parameter document analysis specified in the storage equipment And load corresponding system upgrade file.
Embodiment six
The embodiment of the present invention six provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The method for upgrading system of the Android device provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, realization when the program is executed by processor:System upgrade instruction is obtained, the system upgrade instruction is described Android device is received in start process, and the system upgrade instruction is by matched red with the Android device Outer remote controler triggering;Determine that the USB device of the Android device connection for storage equipment, loads in the storage equipment Designated mirror file upgrades interface with display systems;According to the configuration parameter document analysis specified in the storage equipment and load Corresponding system upgrade file.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more conducting wires, just Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (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 can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device 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.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It 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 partially 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 local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to 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 by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of method for upgrading system of Android device, which is characterized in that including:
System upgrade instruction is obtained, the system upgrade instruction is that the Android device is received in start process, described System upgrade instruction with the matched IR remote controller of the Android device by triggering;
Determine that the USB device of the Android device connection for storage equipment, loads the designated mirror text in the storage equipment Part upgrades interface with display systems;
According to the configuration parameter document analysis specified in the storage equipment and load corresponding system upgrade file.
2. the method according to claim 1, wherein the designated mirror file in the load storage equipment Upgrade interface with display systems, including:
The designated mirror file in the storage equipment is loaded into the memory of the Android device;
Calculate the data field in the memory verification and, the data of the data field are corresponding with the designated mirror file;
Determine the verification and with object identifier and identical, then display systems upgrade interface;
The object identifier and in the memory header area record verification and, wherein the data field for store use User data, the header area is for identifying the data field.
3. the method according to claim 1, wherein the configuration parameter file is for characterizing system upgrade file Storage location, the system upgrade file is for upgrading android system;
Correspondingly, the configuration parameter file loading system upgrade file according in the storage equipment, including:
The storage position of the corresponding system upgrade file is determined according to the specified configuration parameter file in the storage equipment It sets;
The system upgrade file is obtained in the storage location, parses and loads the system upgrade file.
4. the method according to claim 1, wherein acquisition system upgrade instruction includes:
The key code value of user key-press operation is obtained, the key is to press with the matched IR remote controller of the Android device Key;
If the key code value is the key code value of setting, system upgrade instruction corresponding with the key code value is obtained.
5. the method according to claim 1, wherein the USB device of the determination Android device connection For store equipment, including:
It initializes the Android device hardware and loads USB device driving;
After detecting USB device access, determine the USB device for storage equipment.
6. the method according to claim 1, wherein described according to the configuration parameter specified in the storage equipment Document analysis and after loading corresponding system upgrade file further includes:
It will upgrade successfully or upgrade failure news and prompted in the form of voice broadcast or text;
The android system is restarted after setting time.
7. method according to claim 1-6, which is characterized in that it is described according to it is described storage equipment in specify Configuration parameter document analysis and after loading corresponding system upgrade file further includes:
Remove data field and the buffer area of the android system in the Android device.
8. a kind of system upgrade device of Android device, which is characterized in that including:
Upgrade command obtains module, and for obtaining system upgrade instruction, the system upgrade instruction is that the Android device exists Received in start process, the system upgrade instruction with the matched IR remote controller of the Android device by triggering;
Upgrade showing interface module, for determining the USB device of the Android device connection for storage equipment, described in load It stores the designated mirror file in equipment and upgrades interface with display systems;
System upgrade file load module, for according to the configuration parameter document analysis and load pair specified in the storage equipment The system upgrade file answered.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes the side as described in any in claim 1-7 when executing described program Method.
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 method as described in any in claim 1-7 is realized when execution.
CN201810687460.4A 2018-06-28 2018-06-28 System upgrading method, device, equipment and storage medium for Android equipment Active CN108829423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810687460.4A CN108829423B (en) 2018-06-28 2018-06-28 System upgrading method, device, equipment and storage medium for Android equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810687460.4A CN108829423B (en) 2018-06-28 2018-06-28 System upgrading method, device, equipment and storage medium for Android equipment

Publications (2)

Publication Number Publication Date
CN108829423A true CN108829423A (en) 2018-11-16
CN108829423B CN108829423B (en) 2022-04-15

Family

ID=64133526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810687460.4A Active CN108829423B (en) 2018-06-28 2018-06-28 System upgrading method, device, equipment and storage medium for Android equipment

Country Status (1)

Country Link
CN (1) CN108829423B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069270A (en) * 2019-04-24 2019-07-30 珠海格力电器股份有限公司 Air-conditioning method for updating program, device, air-conditioning and system
CN111124455A (en) * 2019-12-26 2020-05-08 上海派能能源科技股份有限公司 Battery management system upgrading method and device, server and storage medium
CN111290773A (en) * 2020-03-12 2020-06-16 深圳Tcl新技术有限公司 System upgrading method, device and readable storage medium
CN111897526A (en) * 2020-07-16 2020-11-06 重庆长安汽车股份有限公司 Workpiece feature remote control detection method based on Polyworks
CN112083963A (en) * 2020-09-04 2020-12-15 深圳市视美泰技术股份有限公司 System function configuration method based on external storage medium and related equipment
CN113642008A (en) * 2021-10-14 2021-11-12 飞天诚信科技股份有限公司 Method and device for realizing replacement of startup picture of intelligent POS equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
WO2014134989A2 (en) * 2013-11-07 2014-09-12 中兴通讯股份有限公司 Android terminal and upgrade method therefor
CN104572078A (en) * 2014-12-16 2015-04-29 深圳市同洲电子股份有限公司 Realization method and system of Bluetooth function under Android recovery mode
CN105744365A (en) * 2016-02-01 2016-07-06 烽火通信科技股份有限公司 Upgrading method of intelligent set-top box based on Android system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
WO2014134989A2 (en) * 2013-11-07 2014-09-12 中兴通讯股份有限公司 Android terminal and upgrade method therefor
CN104572078A (en) * 2014-12-16 2015-04-29 深圳市同洲电子股份有限公司 Realization method and system of Bluetooth function under Android recovery mode
CN105744365A (en) * 2016-02-01 2016-07-06 烽火通信科技股份有限公司 Upgrading method of intelligent set-top box based on Android system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069270A (en) * 2019-04-24 2019-07-30 珠海格力电器股份有限公司 Air-conditioning method for updating program, device, air-conditioning and system
CN111124455A (en) * 2019-12-26 2020-05-08 上海派能能源科技股份有限公司 Battery management system upgrading method and device, server and storage medium
CN111124455B (en) * 2019-12-26 2023-08-04 上海派能能源科技股份有限公司 Battery management system upgrading method, device, server and storage medium
CN111290773A (en) * 2020-03-12 2020-06-16 深圳Tcl新技术有限公司 System upgrading method, device and readable storage medium
CN111290773B (en) * 2020-03-12 2024-01-19 深圳Tcl新技术有限公司 System upgrade method, device and readable storage medium
CN111897526A (en) * 2020-07-16 2020-11-06 重庆长安汽车股份有限公司 Workpiece feature remote control detection method based on Polyworks
CN111897526B (en) * 2020-07-16 2024-02-13 重庆长安汽车股份有限公司 Workpiece feature remote control detection method based on polymorks
CN112083963A (en) * 2020-09-04 2020-12-15 深圳市视美泰技术股份有限公司 System function configuration method based on external storage medium and related equipment
CN112083963B (en) * 2020-09-04 2024-04-16 深圳市视美泰技术股份有限公司 System function configuration method based on external storage medium and related equipment
CN113642008A (en) * 2021-10-14 2021-11-12 飞天诚信科技股份有限公司 Method and device for realizing replacement of startup picture of intelligent POS equipment
CN113642008B (en) * 2021-10-14 2021-12-28 飞天诚信科技股份有限公司 Method and device for realizing replacement of startup picture of intelligent POS equipment

Also Published As

Publication number Publication date
CN108829423B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN108829423A (en) Method for upgrading system, device, equipment and the storage medium of Android device
US11086596B2 (en) Electronic device, server and control method thereof
US10397511B2 (en) Method for television remote keypress response based on android operating system and television thereof
CN110442366B (en) Screen transmission processing method, device, equipment and storage medium
CN110090441B (en) Game operation control method and device, storage medium and electronic equipment
US20050240919A1 (en) Firmware update using memory card reader
KR20020015848A (en) Television based on operating system and initial screen display method thereof
US11705120B2 (en) Electronic device for providing graphic data based on voice and operating method thereof
CN104079967A (en) Communication method and device for module televisions
CN105740010A (en) Power-on method and terminal equipment
EP3024248A1 (en) Broadcasting receiving apparatus and control method thereof
CN103369404A (en) Display device and method for controlling and upgrading the same
CN111462744A (en) Voice interaction method and device, electronic equipment and storage medium
US20060294358A1 (en) Methods and computers for presenting a graphical user interface during a boot process
CN112073865A (en) Bluetooth headset volume setting method and device and electronic equipment
US8209444B2 (en) Keyboards providing macro functions and macro function setting method using the same, and computer program products thereof
US20080147375A1 (en) System, method, device, and computer program product for providing a portable device having drive emulation capabilities
CN109257652B (en) Configuration information switching method and device, electronic device, system and storage medium
US11059429B1 (en) Car multimedia device with function for automatically switching between internal device control mode and external device control mode and car multimedia device control method
US20150134944A1 (en) Data terminal running mode switching method, device, and data terminal
CN112463199A (en) System upgrading method and terminal
CN112291602B (en) Video playing method, electronic equipment and storage medium
KR100481511B1 (en) Set Top Box and controlling method thereof
CN110519650A (en) A kind of OSD language upgrade method, apparatus, electronic equipment and storage medium
KR102602763B1 (en) Upgradeable multimedia system for vehicle and operating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200331

Address after: 510530 Guangdong city of Guangzhou province YUNPU Whampoa district four Road No. 6

Applicant after: GUANGZHOU SHIYUAN ELECTRONICS Co.,Ltd.

Address before: 510530, No. four, 6, Po Po Road, Yun Po Industrial Zone, Whampoa District, Guangzhou, Guangdong

Applicant before: GUANGZHOU SHIYUAN ELECTRONICS Co.,Ltd.

Applicant before: SHENZHEN KAISHI ELECTRONIC TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant