WO2016183721A1 - Procédé, appareil et dispositif de mise à niveau pour dispositif terminal - Google Patents

Procédé, appareil et dispositif de mise à niveau pour dispositif terminal Download PDF

Info

Publication number
WO2016183721A1
WO2016183721A1 PCT/CN2015/079049 CN2015079049W WO2016183721A1 WO 2016183721 A1 WO2016183721 A1 WO 2016183721A1 CN 2015079049 W CN2015079049 W CN 2015079049W WO 2016183721 A1 WO2016183721 A1 WO 2016183721A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
terminal device
package
flash
client
Prior art date
Application number
PCT/CN2015/079049
Other languages
English (en)
Chinese (zh)
Inventor
莫济梅
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 PCT/CN2015/079049 priority Critical patent/WO2016183721A1/fr
Priority to CN201580036165.7A priority patent/CN106663016A/zh
Publication of WO2016183721A1 publication Critical patent/WO2016183721A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to the technical field of data processing in a terminal device, and in particular, to a method, device and device for brushing a terminal device.
  • Brush a term of a terminal device, refers to changing or replacing some of the language, pictures, ring tones, software, or operating systems that exist in the terminal device by certain methods. Brushing the system is to reinstall the system for the terminal device, which can make the function of the terminal device more perfect or restore to the original state.
  • Fastboot mode Fast boot mode
  • fastboot is a simple brush protocol defined by android for flashing with the fastboot command line tool.
  • the average mobile phone manufacturer does not directly provide the fastboot mode brush, and will provide a proprietary brushing tool or brushing method.
  • the flashing machine may cause the system to fail to boot, and in the case of system damage, the system can only be brushed in the fastboot mode.
  • the technical problem to be solved by the present invention is to provide a method, device and device for brushing a terminal device, which can automatically identify the system information of the terminal device to be brushed, and automatically acquire the corresponding brush file to brush the system.
  • a first aspect of the present invention provides a method for brushing a terminal device, the method comprising: the client obtaining system information of the terminal device to be brushed in a fast start fastboot mode from the terminal device to be brushed, and sending the first query command to The first server queries the flash resource resource information corresponding to the system information; receives the flash resource resource information sent by the first server, and downloads a corresponding flash resource resource packet according to the flash resource resource package information; and uses the flash resource resource package pair The device to be brushed performs a brushing operation.
  • the step of receiving the flash resource resource information sent by the first server, and downloading the corresponding flash resource resource packet according to the flashing resource resource information is specifically: Receiving the flash resource resource information sent by the first server, and downloading the flash resource resource package from the first server or the second server according to the flash resource resource package information; wherein the flash resource resource packet information is a download address of the flash resource resource package .
  • the step of performing the brushing operation on the terminal device by using the brush resource packet is specifically: decompressing the brush resource packet to obtain a corresponding brush package, the brush package The image file is included; the device to be brushed in the fastboot mode is controlled to run the image file to perform a brush operation on the system.
  • the step of performing the flashing operation on the terminal device by using the brush resource packet is specifically: decompressing the flash resource resource package to obtain a corresponding system ROM package, the system The ROM package includes an application update file; decompressing the application update file to obtain a system image file; and controlling the to-be-printed terminal device in the fastboot mode to run the image file to perform a brush operation on the system.
  • the client obtains the to-be-printed terminal device in the fastboot mode from the to-be-swipe terminal device
  • the system information is the initial system information in the OEM backup partition OEM of the terminal device, or the system information that the to-be-printed terminal device saves to the OEM after each brushing.
  • the system information includes at least a system version model.
  • a second aspect of the present invention provides a terminal device flashing device, which is configured to obtain system information of the device to be brushed in a fastboot mode from a device to be brushed, and send a first query command to the first server. Querying the flash resource resource information corresponding to the system information; the downloading module is configured to receive the flash resource resource information sent by the first server, and download a corresponding flash resource resource packet according to the flashing resource resource information; and a brushing module, configured to: The brush resource device downloaded by the download module is used to perform a brush operation on the terminal device to be brushed.
  • the brush module is configured to decompress the brush resource package to obtain a corresponding brush package including an image file, and control the device to be brushed in the fastboot mode. Run the image file to flash the system.
  • the flashing module is configured to decompress the flash resource bundle to obtain a corresponding system ROM package including an application update file, and decompress the application update file to be mirrored.
  • a third aspect of the present invention provides a terminal device flashing device, comprising: one or more processors; a memory; a plurality of applications; and one or more programs, wherein the one or more programs are stored in the memory And configured to be executed by the one or more processors, the one or more programs comprising instructions for: obtaining system information of the device to be brushed in the fastboot mode from the device to be flashed, and Sending the first query instruction to the first server to query the flash resource resource information corresponding to the system information; receiving the flash resource resource information sent by the first server, and downloading the corresponding flash resource resource packet according to the flash resource resource information; The terminal device is brushed using the flash resource pack.
  • the instruction is further configured to decompress the flash resource bundle to obtain a corresponding flash package including an image file, and control the to-be-printed terminal device in the fastboot mode. Run the image file to flash the system.
  • a fourth aspect of the present invention provides a method for brushing a terminal device, the method comprising: receiving an instruction for querying system information sent by a client when the terminal device is in a fastboot mode, and querying system information of the terminal device in response to the instruction, so that The client obtains the system information to obtain a corresponding flash resource resource packet from a server according to the system information; and receives the flash resource resource packet sent by the client, and runs the flash resource resource packet to perform the flashing.
  • the method further includes: saving the system information of the system after the flashing to the vendor backup partition OEM of the terminal device.
  • the terminal device receives an instruction for querying system information sent by the client when the terminal device is in the fastboot mode, and obtains system information of the terminal device in response to the instruction
  • the step of causing the client to obtain the system information and obtaining the corresponding brush resource package from a server according to the system information is specifically: when the terminal device is in the fastboot mode, receiving an instruction for querying system information sent by the client, and responding to the The command queries the model and the system version number interface through the fastboot command, so that the client obtains the interface of the model and the system version number, and obtains the corresponding brush resource package from a server according to the model and the system version number interface.
  • a fifth aspect of the present invention provides a terminal device flashing device, comprising: a system information querying module, configured to receive an instruction for querying system information sent by a client when the terminal device is in a fastboot mode, and obtain the terminal in response to the instruction The system information of the device, the client obtains the system information and obtains a corresponding brush resource package from a server according to the system information; and the brushing module is configured to receive the brush resource package sent by the client, and run the brush resource package Brush the machine.
  • the apparatus further includes a system information writing module, configured to save the current system information to the OEM when performing the brushing operation.
  • a sixth aspect of the invention provides a portable electronic device comprising: a display, wherein the display comprises a touch-sensitive surface and a display screen; one or more processors; a memory; a plurality of applications; and one or more programs, Wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for: when the terminal device is in fastboot mode Receiving an instruction for querying system information sent by the client, and acquiring system information of the terminal device in response to the instruction, so that the client obtains the system information and obtains a corresponding brush resource package from a server according to the system information, and Receive the flash resource package sent by the client, and run the flash resource package to perform the flashing.
  • the instruction is further configured to save system information of the system after the flashing to the manufacturer backup partition OEM of the portable electronic device.
  • a seventh aspect of the present invention provides a method for flashing a terminal device, the method comprising: receiving, by a server, a query instruction sent by a client, the query command is to query the client to obtain the to-be-flashed machine in a fastboot mode from a terminal device to be flashed
  • the query instruction of the flash resource resource packet corresponding to the system information of the terminal device; querying the matching flash resource resource package information from the saved flash resource resource package in response to the query instruction; wherein the saved flash resource resource package is a system ROM including an application update file
  • the matched flash resource resource package information is sent to the client, and the client uses the matched flash resource resource packet to the to-be-brushed terminal device
  • the step of performing the brushing operation is specifically: sending the matched flash resource resource package information to the client, causing the client to decompress the flash resource resource package to obtain a corresponding system ROM package, and decompressing the application update file in the ROM package to obtain a system.
  • the image file and the device to be flashed in the fastboot mode are controlled to run the image file to perform a brush operation on the system.
  • An eighth aspect of the present invention provides a device for flashing a terminal device, comprising: a storage module, configured to save a brush resource package; wherein the saved flash resource package is a system ROM package including an application update file; and a retrieval module is configured to: Receiving a query instruction sent by a client, and querying the matching brush resource resource package from the flash resource resource saved by the storage module in response to the query instruction; wherein the query instruction is to query the client to obtain a fast boot from the terminal device to be brushed a query instruction of the brush resource package corresponding to the system information of the device to be brushed; and an information interaction module, configured to send the matching brush resource package information queried by the retrieval module to the client, so that the client uses The matched brush resource package performs a brush operation on the terminal device to be brushed.
  • the retrieving module is further configured to automatically adapt the latest version of the current system information according to the system information of the to-be-printed terminal device.
  • a ninth aspect of the present invention provides an apparatus, including: one or more processors; and a memory, configured to save a flash resource resource package; wherein the saved flash resource resource package is a system ROM package including an application update file; An application; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for Receiving a query instruction sent by a client, and querying the matching flash resource resource information from the memory in response to the query instruction; wherein the query instruction is to query the client to obtain the fast boot mode from the terminal device to be flashed a query instruction of the flash resource resource packet corresponding to the system information of the terminal device to be brushed; and sending the matched flash resource resource package information to the client, so that the client uses the matched flash resource resource package to flash the terminal device to be brushed operating.
  • the instruction is further configured to adapt, according to the system information of the to-be-swipe terminal device, the latest version of the flash resource resource package, to use the latest version of the flash memory device
  • the resource package is sent to the client, so that the client uses the latest version of the flash resource package to perform a brush operation on the device to be flashed.
  • the system information of the device to be brushed in the fastboot mode is obtained from the terminal device to be brushed, and the information of the brush resource packet corresponding to the system information is queried in the server, so that the client sends the flash resource according to the server.
  • the package information downloads the brush resource package, and uses the brush resource package to perform a brush operation on the brush terminal device, thereby realizing automatic identification of the system information of the terminal device to be brushed, and automatically acquiring the corresponding brush file to perform brushing on the system, and the brushing process is performed. Simple, providing the user's operating experience.
  • FIG. 1 is a schematic flow chart of a brushing method of a terminal device in a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of signal interaction of a method for brushing a terminal device in an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for brushing a terminal device using a brush resource pack in the first embodiment of the brushing method of the terminal device shown in FIG. 1;
  • FIG. 4 is a schematic flow chart of a method for brushing a terminal device using a brush resource pack in a second embodiment of the brushing method of the terminal device shown in FIG. 1;
  • FIG. 5 is a schematic flow chart of a method for brushing a terminal device in a second embodiment of the present invention.
  • FIG. 6 is a schematic flow chart of a method for brushing a terminal device in a third embodiment of the present invention.
  • FIG. 7 is a schematic flow chart of a method for brushing a terminal device in a fourth embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a device for brushing a terminal device in a first embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a terminal device brushing device in a second embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a terminal device brushing device in a third embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a terminal device in an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a portable electronic device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an apparatus in an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a method for brushing a terminal device according to a first embodiment of the present invention. The method includes:
  • Step S10 The client obtains system information of the to-be-swipe terminal device in the fastboot mode from the to-be-printed terminal device, and sends a first query command to the first server to query the flash resource resource packet information corresponding to the system information.
  • the system information is system information stored in the manufacturer backup partition OEM of the terminal device after the flashing or updating, and the system information includes at least a system version model, such as a mobile phone model and an operating system version number.
  • the fastboot mode is the quick start mode.
  • fastboot is a brush mode that is lower than the repair recovery mode, and uses a USB data cable to connect the mobile phone.
  • the user simultaneously presses back + power on in the power off state to enter the fastboot mode.
  • the client is connected to the terminal device (for example, through a USB interface), and the current system information (for example, the system version model) of the terminal device is queried through the fastboot command interface, and is provided to the server.
  • the current system information for example, the system version model
  • Fastboot is a small system under the system that processes related transactions by parsing externally passed commands, such as reading phone-related parameters, erasing and writing mobile phone partition data.
  • Pass the standard fastboot command “fastboot Getvar ⁇ variable>” can get the variable information of the mobile terminal, and add the custom command to "fastboot getvar” by means of the fastboot extension command.
  • Get_phoneversion the command to read the OEM partition system version number information, get the current operating system version number. For example, when the client sends the command "fastboot getvar" When get_phoneversion", the fastboot of the terminal device returns the device model and operating system version number by parsing this command.
  • the server requests the server to query the version of the flash resource resource packet, that is, the client can access the corresponding official website through the server to query the version matching brush resource resource package.
  • the client requests the server to query the request information of the flash resource bundle whose system information is "H30-L01V100R001CHNC00B112" through the http request server as follows:
  • Step S11 Receive the flash resource resource information sent by the first server, and download the corresponding flash resource resource packet according to the flash resource resource package information.
  • the flash resource resource package information is a URL download address of the flash resource resource package.
  • the information returned by the server is as follows:
  • the client receives the flash resource bundle information sent by the first server, and downloads the flash resource bundle from the first server according to the flash resource bundle information.
  • the client can access the corresponding official website to query the matching brush resource package through the first server, and can also obtain and download the flash resource package.
  • the client receives the flash resource bundle information sent by the first server, and downloads the flash resource bundle from the second server according to the flash resource bundle information.
  • the client can access the corresponding official website to query the version of the brush resource package matched by the first server to obtain a corresponding download address.
  • the second server saves multiple versions of the flash resource package, and the client obtains the flash resource package from the second server according to the download address.
  • Step S12 using the brush resource package to perform a brush operation on the terminal device to be brushed.
  • the client sends the file of the brush resource package to the terminal device to be brushed, and controls the system of the terminal device to be brushed to restart, enters the upgrade mode, and restarts the upgrade process and runs the brush after the device to be brushed is restarted.
  • the resource pack completes the system's flashing or upgrading.
  • the step S12 that is, the step of performing the brushing operation on the terminal device to be brushed by using the brush resource package is specifically implemented by the following steps:
  • step S20 the brush resource package is decompressed to obtain a corresponding flash package, and the flash package includes an image file.
  • Step S21 controlling the terminal device to be brushed in the fastboot mode to run the image file to perform a brush operation on the system.
  • the step S12 that is, the step of performing the brushing operation on the terminal device to be brushed by using the brush resource package is specifically implemented by the following steps:
  • Step S30 decompressing the flash resource package to obtain a corresponding system ROM package, where the system ROM package includes an application update file.
  • step S31 the application update file is decompressed to obtain an image file.
  • the client extracts an image file such as recover.img from the application update file update.app in the system ROM package.
  • the client can directly use the image file extracted from the update.app file to perform system flashing on the brushing terminal.
  • Step S32 controlling the terminal device to be brushed in the fastboot mode to run the image file to perform a brush operation on the system.
  • FIG. 5 is a schematic flowchart of a method for brushing a terminal device according to a second embodiment of the present invention, where the method includes:
  • Step S40 The terminal device receives an instruction for querying system information sent by the client when in the fastboot mode, and obtains system information of the terminal device in response to the instruction, so that the client obtains the system information to use a server according to the system information. Get the corresponding brush resource package.
  • the system information includes at least a system version model, such as a mobile phone model and an operating system version number.
  • a system version model such as a mobile phone model and an operating system version number.
  • the fastboot mode is the quick start mode.
  • fastboot is a brush mode that is lower than the repair recovery mode, and uses a USB data cable to connect the mobile phone.
  • the terminal device is connected to the client (for example, through a USB interface), and receives a query command sent by the client through the fastboot command interface to query the current system information (for example, the system version model) of the terminal device, so that the terminal device is connected to the client.
  • the client requests the server to query the version of the flash resource resource package and download the flash resource resource package.
  • the terminal device sends a command "fastboot getvar" when receiving the client.
  • fastboot returns the device model and operating system version number by parsing this command.
  • Step S41 receiving the flash resource package sent by the client, and running the flash resource package to perform the flashing.
  • the terminal device of the to-be-brushed machine receives the file of the flash resource package sent by the client, and restarts the system in response to the control of the client, enters the upgrade mode, and runs the flash resource package to complete the brushing or upgrading of the system.
  • FIG. 6 is a schematic flowchart of a method for brushing a terminal device according to a third embodiment of the present invention.
  • the method for brushing a terminal device shown in FIG. 4 further includes:
  • step S52 the system information of the system after the flashing is saved to the manufacturer backup partition OEM of the terminal device.
  • FIG. 7 is a schematic flowchart of a method for brushing a terminal device according to a fourth embodiment of the present invention, where the method includes:
  • Step S60 The server receives a query instruction sent by the client, where the query instruction is a query instruction for querying, by the client, the flash resource resource packet corresponding to the system information of the device to be flashed in the fastboot mode.
  • Step S61 in response to the query instruction, query the matched flash resource bundle from the saved flash resource bundle.
  • the flash resource package saved by the server is a system ROM package including an application update file.
  • the client Since the client has the ability to extract the image file such as recovery.img from the update.app file of the ROM package, the terminal device of the device can be brushed directly by using the ROM package. Therefore, the server does not need to provide an additional scene that cannot be booted. Under the brush package, only need to save the corresponding ROM package, thereby reducing the storage consumption of the server and reducing the cost of making and maintaining the flash package.
  • the server queries the matching brush resource package according to the system information of the terminal device to be brushed, and can also automatically adapt the latest version of the current system information, for example, determining that the system version is a development version, a stable version, or a delivery version, and The client pushes the latest version.
  • Step S62 Send the flash resource resource package information to the client, and enable the client to perform a brush operation on the terminal device to be brushed by using the flash resource resource package.
  • the flash resource resource packet information is a download address of the matching flash resource resource package.
  • the server returns the download URL address of the corresponding flash resource resource package to the client according to the system version number of the terminal device to be brushed reported by the client. If you want to push the latest version to the terminal device, you can similar to OTA (Over The Air Technology, the air download technology server, determines whether the current system version is a development version, a stable version, or a shipping version, and then selects the latest version to send.
  • OTA Over The Air Technology
  • the flash resource bundles are stored in another server, and the server sends the flash resource bundle information to the client, so that the client can access the other server to download according to the flash resource bundle information.
  • the Brush Resource Pack is
  • FIG. 8 is a schematic structural diagram of a device for flashing a terminal device according to a first embodiment of the present invention.
  • the device 70 includes a query module 71, a download module 72, and a brush module 73.
  • the query module 71 is configured to obtain system information of the terminal device to be brushed in the fastboot mode from the device to be flashed, and send a first query command to the first server to query the flash resource resource information corresponding to the system information.
  • the system information is system information stored in the manufacturer backup partition OEM of the terminal device after the flashing or updating, and the system information includes at least a system version model, such as a mobile phone model and an operating system version number.
  • the device 70 When the operating system of the terminal device is damaged and cannot be turned on, enter the fastboot mode.
  • the device 70 is connected to the terminal device (for example, connected through a USB interface), and the current system information (such as the system version model) of the terminal device is queried through the fastboot command interface, and is provided to the first server.
  • the downloading module 72 is configured to receive the flash resource resource information sent by the first server, and download the flash resource resource packet according to the flashing resource resource information.
  • the flash resource resource package information is a URL download address of the flash resource resource package.
  • the downloading module 72 receives the flash resource bundle information sent by the server, and downloads the flash resource bundle from the first server according to the flash resource bundle information.
  • the downloading module 72 can access the corresponding official website to query the version of the flash resource resource package, and can also obtain and download the flash resource resource package.
  • the downloading module 72 receives the flash resource bundle information sent by the first server, and downloads the flash resource bundle from the second server according to the flash resource bundle information.
  • the downloading module 72 can access the corresponding official network to query the version of the flash resource resource packet to obtain a corresponding download address.
  • the second server saves a plurality of versions of the flash resource package, and the download module 72 acquires the flash resource package from the second server according to the download address.
  • the brush module 73 is configured to perform a brush operation on the device to be brushed using the flash resource package downloaded by the download module 72.
  • the brush module 73 pushes the file of the brush resource package to the terminal device to be brushed, and controls the system of the terminal device to be brushed to restart, enters the upgrade mode, and restarts the upgrade process and runs the brush after the device to be brushed is restarted.
  • the resource pack completes the system's flashing or upgrading.
  • the brush module 73 decompresses the flash resource package to obtain a corresponding flash package including the image file, and controls the terminal device to be flashed in the fastboot mode to run the image file to flash the system.
  • the flash module 73 decompresses the flash resource package to obtain a corresponding system ROM package including the update.app file, decompresses the update.app file to obtain an image file, and controls the terminal device to be flashed in the fastboot mode.
  • the image file is used to flash the system.
  • the brush module 73 extracts an image file such as recover.img from the update.app file in the system ROM package, and directly uses the image file extracted from the update.app file to perform a brushing operation on the brushing terminal.
  • an image file such as recover.img from the update.app file in the system ROM package
  • FIG. 9 is a schematic structural diagram of a device for brushing a terminal device according to a second embodiment of the present invention.
  • the device 80 includes a system query module 81 and a brush module 82.
  • the system information querying module 81 is configured to receive an instruction for querying system information sent by the client when the terminal device is in the fastboot mode, and obtain system information of the terminal device in response to the instruction, so that the client obtains the system information according to the The system information obtains a corresponding brush resource package from a server.
  • the system information includes at least a system version model, such as a mobile phone model and an operating system version number.
  • a system version model such as a mobile phone model and an operating system version number.
  • the terminal device When the operating system of the terminal device is damaged and cannot be turned on, enter the fastboot mode.
  • the terminal device is connected to the client (for example, connected through a USB interface), and the system information query module 81 receives the query command sent by the client through the fastboot command interface to query the current system information of the terminal device (eg, The system version model enables the client to query the version of the flash resource package and download the flash resource package through the http request server when receiving the system information of the terminal device.
  • the system information query module 81 sends a command "fastboot getvar" when receiving the client.
  • fastboot returns the device model and operating system version number by parsing this command.
  • the brush module 82 is configured to receive the flash resource package sent by the client, and run the flash resource package to perform the flashing.
  • the flash module 82 receives the file of the flash resource package pushed by the client, and restarts the system in response to the control of the client, enters the upgrade mode, and runs the flash resource package to complete the flashing or upgrading of the system.
  • FIG. 10 is a schematic structural diagram of a device for brushing a terminal device according to a third embodiment of the present invention.
  • the device 90 includes a storage module 91, a retrieval module 92, and an information interaction module 93.
  • the storage module 91 is configured to save a flash resource bundle.
  • the flash resource package saved by the storage module 91 is a system ROM package including an application update file.
  • the terminal device can be brushed directly by using the ROM package, so the server does not need to provide additional booting.
  • the repair package in the scenario only needs to save the corresponding ROM package, thereby reducing the storage consumption of the server and reducing the cost of making the maintenance repair package.
  • the retrieval module 92 is configured to receive a query instruction sent by a client, and query the matching brush resource package from the flash resource bundle saved by the storage module in response to the query instruction.
  • the query instruction is a query instruction for querying, by the client, the flash resource resource packet corresponding to the system information of the to-be-swipe terminal device in the fast boot mode.
  • the retrieval module 92 queries the matching brush resource package according to the system information of the terminal device to be brushed, and can also automatically adapt the latest version of the current system information, for example, determine whether the system version is a development version, a stable version, or a delivery version. And push the latest version to the client.
  • the information interaction module 93 is configured to send the matched flash resource resource information queried by the retrieval module to the client, so that the client uses the matched flash resource resource packet to flash the terminal device to be brushed.
  • the flash resource resource packet information is a download address of the matching flash resource resource package.
  • the information interaction module 93 returns the download URL address of the corresponding flash resource package to the client. If you want to push the latest version to the terminal device, you can use the OTA server to determine whether the current system version is a development version, a stable version, or a shipping version, and then send the latest version.
  • FIG. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device 100 in the embodiment is a terminal, and the terminal may be a personal computer, a tablet computer, a notebook computer, or the like.
  • the terminal device 100 includes a receiver 101, a processor 102, a transmitter 103, a read only memory 104, a random access memory 105, and a bus 106.
  • the receiver 101 is for receiving data.
  • the processor 102 controls the operation of the terminal device 100, and the processor 102 can also become a CPU (Central Processing Unit, central processing unit).
  • the processor 102 may be an integrated circuit chip with signal processing capabilities.
  • the processor 102 can also be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the transmitter 103 is for transmitting data.
  • the memory can include read only memory 104 and random access memory 105 and provides instructions and data to processor 102.
  • a portion of the memory may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • bus 106 can include, in addition to the data bus, a power bus, a control bus, a status signal bus, and the like.
  • bus 106 can include, in addition to the data bus, a power bus, a control bus, a status signal bus, and the like.
  • various buses are labeled as bus 106 in the figure.
  • the memory stores the following elements, executable modules or data structures, or a subset of them, or their extended set:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 102 performs the following operations by calling an operation instruction stored in the memory, which can be stored in the operating system:
  • the processor 102 controls the memory to store data
  • the processor 102 obtains the system information of the to-be-brushed terminal device in the fastboot mode from the device to be flashed, and sends a first query instruction to the first server to query the flash resource resource information corresponding to the system information; And the brush resource information is downloaded, and the brush resource package is downloaded according to the flash resource resource information; and the brushing operation is performed on the terminal device to be brushed.
  • the system information includes at least a system version model, such as a mobile phone model and an operating system version number.
  • a system version model such as a mobile phone model and an operating system version number.
  • the processor 102 receives the flash resource bundle information sent by the server, and downloads the flash resource bundle from the first server according to the flash resource bundle information.
  • the flash resource resource information is a download address of the flash resource package.
  • the processor 102 receives the flash resource bundle information sent by the first server, and downloads the flash resource bundle from the second server according to the flash resource bundle information.
  • the processor 102 decompresses the flash resource bundle to obtain a corresponding flash package, where the flash package includes an image file; and the standby device that controls the flash boot mode runs the image file to flash the system.
  • the processor 102 decompresses the flash resource bundle to obtain a corresponding system ROM package, where the system ROM package includes an application update file, decompresses the application update file to obtain a system image file, and controls the fast boot mode.
  • the device to be brushed runs the image file to brush the system.
  • FIG. 12 is a schematic structural diagram of a portable electronic device according to an embodiment of the present invention.
  • the portable electronic device 110 in this embodiment is a mobile terminal, and the mobile terminal may be a smart phone, a tablet computer, or the like.
  • the portable electronic device 110 includes a receiver 111, a processor 112, a transmitter 113, a read only memory 114, a random access memory 115, a bus 116, and a display 117.
  • the receiver 111 is for receiving data.
  • the processor 112 controls the operation of the portable electronic device 110, which can also become a CPU (Central) Processing Unit, central processing unit).
  • the processor 112 may be an integrated circuit chip with signal processing capabilities.
  • the processor 112 can also be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the transmitter 113 is for transmitting data.
  • the memory can include read only memory 114 and random access memory 115 and provide instructions and data to processor 112. A portion of the memory may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the display 117 includes a touch surface and a display screen.
  • bus 116 which may include, in addition to the data bus, a power bus, a control bus, a status signal bus, and the like. However, for clarity of description, various buses are labeled as bus 116 in the figure.
  • the memory stores the following elements, executable modules or data structures, or a subset of them, or their extended set:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 112 performs the following operations by calling an operation instruction stored in the memory, which can be stored in the operating system:
  • the processor 112 controls the memory to store data
  • the processor 112 receives an instruction sent by the client to query system information when the system is in the fastboot mode, and obtains system information of the portable electronic device 110 in response to the instruction, so that the client obtains the system information and proceeds from the system according to the system information.
  • the server obtains the corresponding flash resource package, and receives the flash resource package sent by the client, and runs the flash resource package to perform the flashing.
  • the system information includes at least a system version model, such as a mobile phone model and an operating system version number.
  • a system version model such as a mobile phone model and an operating system version number.
  • the processor 112 saves system information of the system after the flashing to the vendor backup partition OEM of the portable electronic device 110.
  • FIG. 13 is a schematic structural diagram of a device according to an embodiment of the present invention, where the device 120 is a server.
  • the terminal device flash device 120 includes a receiver 121, a processor 122, a transmitter 123, a read only memory 124, a random access memory 125, and a bus 126.
  • the receiver 121 is for receiving data.
  • the processor 122 controls the operation of the device 120, and the processor 122 can also become a CPU (Central Processing Unit, central processing unit).
  • the processor 122 may be an integrated circuit chip with signal processing capabilities.
  • the processor 122 can also be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the transmitter 123 is for transmitting data.
  • the memory can include read only memory 124 and random access memory 125 and provide instructions and data to processor 122.
  • a portion of the memory may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • bus 126 which may include, in addition to the data bus, a power bus, a control bus, a status signal bus, and the like. However, for clarity of description, various buses are labeled as bus 126 in the figure.
  • the memory stores the following elements, executable modules or data structures, or a subset of them, or their extended set:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 122 performs the following operations by calling an operation instruction stored in the memory, which can be stored in the operating system:
  • the processor 122 controls the memory to store data
  • the processor 122 receives a query instruction sent by the client, and queries the memory 122 for the matching flash resource resource information in response to the query instruction; and sends the matched flash resource resource information to the client, so that the client uses The matching brush resource packet brushing machine is to be brushed to the terminal device.
  • the query instruction is a query instruction for querying, by the client, the flash resource resource packet corresponding to the system information of the to-be-swipe terminal device in the fast boot mode.
  • the flash resource resource information is the download address of the matching flash resource package.
  • the flash resource package saved by the memory is a system ROM package including an application update file.
  • the processor 122 searches for the matching brush resource package according to the system information of the terminal device to be brushed, and automatically adapts the latest version of the current system information, for example, determining that the system version is a development version, a stable version, or a delivery. Version and push the latest version to the client.
  • the system information of the device to be brushed in the fastboot mode is obtained from the terminal device to be brushed, and the information of the brush resource packet corresponding to the system information is queried in the server, so that the client sends the brush according to the server.
  • the resource package information downloads the brush resource package, and uses the brush resource package to flash the terminal device to be brushed, thereby realizing automatic identification of system information of the terminal device to be brushed, and automatically acquiring the corresponding brush file to perform system
  • the brushing machine and the brushing process are simple to operate and provide the user's operating experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

L'invention concerne un procédé et un appareil de mise à niveau destinés à un dispositif terminal. Ledit procédé comprend : l'obtention, par un client, d'informations système sur un dispositif terminal devant être mis à niveau en mode amorçage rapide auprès dudit dispositif, et l'envoi d'une première instruction d'interrogation à un premier serveur de manière à interroger des informations de groupement de ressources de mise à niveau correspondant aux informations système ; la réception des informations de groupement de ressources de mise à niveau envoyées par le premier serveur, et le téléchargement du groupement de ressources de mise à niveau selon les informations de groupement de ressources de mise à niveau ; et l'utilisation du groupement de ressources de mise à niveau pour effectuer une opération de mise à niveau sur le dispositif terminal devant être mis à niveau, de sorte que la reconnaissance automatique d'informations système concernant le dispositif terminal devant être mis à niveau et l'acquisition automatique d'un fichier de mise à niveau correspondant servant à mettre à niveau un système sont réalisées. Le fonctionnement pendant un processus de mise à niveau est simple, et l'expérience de fonctionnement vécue par l'utilisateur est améliorée.
PCT/CN2015/079049 2015-05-15 2015-05-15 Procédé, appareil et dispositif de mise à niveau pour dispositif terminal WO2016183721A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/079049 WO2016183721A1 (fr) 2015-05-15 2015-05-15 Procédé, appareil et dispositif de mise à niveau pour dispositif terminal
CN201580036165.7A CN106663016A (zh) 2015-05-15 2015-05-15 一种终端设备刷机方法、装置和设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/079049 WO2016183721A1 (fr) 2015-05-15 2015-05-15 Procédé, appareil et dispositif de mise à niveau pour dispositif terminal

Publications (1)

Publication Number Publication Date
WO2016183721A1 true WO2016183721A1 (fr) 2016-11-24

Family

ID=57319079

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/079049 WO2016183721A1 (fr) 2015-05-15 2015-05-15 Procédé, appareil et dispositif de mise à niveau pour dispositif terminal

Country Status (2)

Country Link
CN (1) CN106663016A (fr)
WO (1) WO2016183721A1 (fr)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446008A (zh) * 2018-10-31 2019-03-08 Oppo广东移动通信有限公司 一种故障原因检测方法、故障原因检测装置及终端设备
CN109901942A (zh) * 2019-02-26 2019-06-18 上海龙旗科技股份有限公司 终端刷机信息保存方法及设备
CN111461913A (zh) * 2020-03-23 2020-07-28 Oppo(重庆)智能科技有限公司 终端设备制造的监控方法及装置、介质和电子设备
CN112434314A (zh) * 2020-11-16 2021-03-02 深圳市优博讯科技股份有限公司 一种调试提权的方法及系统
CN114116034A (zh) * 2021-12-01 2022-03-01 展讯通信(天津)有限公司 分布式刷机方法和装置
CN118227173A (zh) * 2024-05-23 2024-06-21 无锡盈达聚力科技有限公司 无线扫描设备的刷机方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124440A (zh) * 2019-12-17 2020-05-08 湖南国科微电子股份有限公司 芯片软件烧录方法、芯片软件烧录数据处理方法和装置
CN111258625B (zh) * 2020-01-08 2023-07-11 Oppo(重庆)智能科技有限公司 软件刷机检测方法、装置、存储介质及电子设备
CN115061752A (zh) * 2022-06-28 2022-09-16 展讯通信(上海)有限公司 终端设备重启方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830999A (zh) * 2012-09-05 2012-12-19 深圳市网卓信息科技有限公司 安卓系统刷机方法和装置
CN103019775A (zh) * 2012-11-28 2013-04-03 北京小米科技有限责任公司 一种终端设备刷机的方法、装置和设备
CN104199677A (zh) * 2014-07-25 2014-12-10 小米科技有限责任公司 刷机方法、装置及相应设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905631B (zh) * 2012-12-31 2016-06-01 比亚迪股份有限公司 移动终端及其modem及linux芯片统一下载的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830999A (zh) * 2012-09-05 2012-12-19 深圳市网卓信息科技有限公司 安卓系统刷机方法和装置
CN103019775A (zh) * 2012-11-28 2013-04-03 北京小米科技有限责任公司 一种终端设备刷机的方法、装置和设备
CN104199677A (zh) * 2014-07-25 2014-12-10 小米科技有限责任公司 刷机方法、装置及相应设备

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446008A (zh) * 2018-10-31 2019-03-08 Oppo广东移动通信有限公司 一种故障原因检测方法、故障原因检测装置及终端设备
CN109446008B (zh) * 2018-10-31 2022-02-08 Oppo广东移动通信有限公司 一种故障原因检测方法、故障原因检测装置及终端设备
CN109901942A (zh) * 2019-02-26 2019-06-18 上海龙旗科技股份有限公司 终端刷机信息保存方法及设备
CN111461913A (zh) * 2020-03-23 2020-07-28 Oppo(重庆)智能科技有限公司 终端设备制造的监控方法及装置、介质和电子设备
CN112434314A (zh) * 2020-11-16 2021-03-02 深圳市优博讯科技股份有限公司 一种调试提权的方法及系统
CN114116034A (zh) * 2021-12-01 2022-03-01 展讯通信(天津)有限公司 分布式刷机方法和装置
CN114116034B (zh) * 2021-12-01 2023-08-11 展讯通信(天津)有限公司 分布式刷机方法和装置
CN118227173A (zh) * 2024-05-23 2024-06-21 无锡盈达聚力科技有限公司 无线扫描设备的刷机方法

Also Published As

Publication number Publication date
CN106663016A (zh) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2016183721A1 (fr) Procédé, appareil et dispositif de mise à niveau pour dispositif terminal
WO2020149520A1 (fr) Procédé de mise à jour de micrologiciel, et appareil électronique et support d'informations pour ce dernier
WO2020246822A1 (fr) Dispositif électronique et procédé pour faire basculer un dispositif électronique entre un mode double veille et un mode simple veille
WO2013189193A1 (fr) Procédé et système pour configurer automatiquement des paramètres d'un terminal mobile ayant un système androïde
WO2013143334A1 (fr) Procédé de mise à jour de micrologiciel nfc de terminal mobile et terminal mobile
WO2012000417A1 (fr) Procédé d'identification de système d'exploitation hôte par un dispositif de bus série universel (usb)
WO2018076889A1 (fr) Procédé de sauvegarde de données, dispositif, système, support de stockage et serveur
WO2018076841A1 (fr) Procédé de partage de données, appareil, support de stockage, et serveur
WO2018076867A1 (fr) Procédé, dispositif et système de suppression de sauvegarde de données, support de mémoire et serveur
WO2019078617A1 (fr) Appareil électronique et procédé de reconnaissance vocale
WO2019164128A1 (fr) Procédé et appareil de fonctionnement multimodal de circuits de communication en champ proche
WO2020171427A1 (fr) Dispositif électronique à préchargement d'application et procédé associé
WO2019124826A1 (fr) Dispositif d'interface ayant un micrologiciel pouvant être mis à jour, dispositif mobile et procédé de mise à jour de micrologiciel
WO2018076840A1 (fr) Procédé de partage de données, dispositif, support de stockage et serveur
WO2018201774A1 (fr) Procédé d'approbation de données, appareil, dispositif et support de stockage pouvant être lu par un ordinateur
WO2018076812A1 (fr) Procédé et dispositif de réponse à une demande de données, support de stockage, serveur et système
WO2018062894A1 (fr) Dispositif électronique de commande de puissance
WO2018076869A1 (fr) Procédé sauvegarde de données, appareil, support de stockage et dispositif électronique
WO2017206885A1 (fr) Procédé et appareil d'arrêt de programme d'application, support de stockage et dispositif électronique
WO2017206870A1 (fr) Procédé et appareil d'arrêt de capteur, support d'informations et dispositif électronique
WO2018161580A1 (fr) Procédé et appareil de commande de diffusion, support de stockage, et dispositif électronique
WO2017118170A1 (fr) Procédé et système pour personnaliser un dispositif de lancement d'un terminal mobile
WO2020073615A1 (fr) Procédé de mise à niveau de logiciel de dispositif, et convertisseur de données et support de stockage lisible
WO2014044130A1 (fr) Procédé et système d'interrogation de service, et support de stockage informatique
WO2020171465A1 (fr) Dispositif électronique et procédé associé de gestion d'application

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15892102

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15892102

Country of ref document: EP

Kind code of ref document: A1