WO2016062060A1 - Procédé et appareil de mise à jour/sauvegarde de système d'exploitation par le biais d'une carte t, et support d'informations - Google Patents

Procédé et appareil de mise à jour/sauvegarde de système d'exploitation par le biais d'une carte t, et support d'informations Download PDF

Info

Publication number
WO2016062060A1
WO2016062060A1 PCT/CN2015/078352 CN2015078352W WO2016062060A1 WO 2016062060 A1 WO2016062060 A1 WO 2016062060A1 CN 2015078352 W CN2015078352 W CN 2015078352W WO 2016062060 A1 WO2016062060 A1 WO 2016062060A1
Authority
WO
WIPO (PCT)
Prior art keywords
operating system
card
information
smart terminal
data
Prior art date
Application number
PCT/CN2015/078352
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 中兴通讯股份有限公司
Publication of WO2016062060A1 publication Critical patent/WO2016062060A1/fr

Links

Images

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 field of intelligent terminal technologies, and in particular, to a method and device for updating/backing up an operating system through a T card, and a storage medium.
  • Smart terminals such as mobile phones and tablets, are widely used in all aspects of social life, bringing great convenience to people's lives, work and entertainment.
  • Smart terminals have an operating system that allows the user to operate and allows users to install applications that meet operating system requirements as needed.
  • the open source operating system allows users to write specific applications directly to the original operating system or modify the original operating system, which greatly improves the stability of the specific application, compatibility with the operating system and operating system.
  • the user's pertinence makes it easy for users to use the application directly in an operating system environment with a specific application installed.
  • the smart terminal allows the user to update the operating system by himself.
  • the commonly used method of updating the operating system is to turn off the power of the smart terminal, connect the smart terminal to the computer through the data line, download the update control software and the operating system file that needs to be updated through the computer, and update the control software to update the operation.
  • the system file is written to the smart terminal.
  • USB Universal Serial Bus
  • the intelligent terminal is in the passive update state. Only when the update fails, an error message is sent, and the legality of the operating system file that needs to be updated cannot be detected before updating the operating system.
  • the USB power supply voltage is unstable and interferes with the update of the operating system.
  • the embodiment of the present invention is to provide a method and device for updating/backing up an operating system of a T card, and a storage medium, which can at least solve the problem of poor data transmission stability when updating the operating system of the smart terminal through the data line.
  • an embodiment of the present invention provides a method for updating an operating system by using a T card, which is applied to an intelligent terminal having a T card, and the method includes:
  • T card data information sent by the smart terminal and if the T card data information includes an operating system update file of the smart terminal, sending an operating system update command to the smart terminal;
  • the method comprises:
  • the receiving of the smart terminal fails due to the T card being unreadable, the image file and the system partition table are not matched, the image file is invalid, or the data storage space currently available to the smart terminal does not meet the operating system update requirements, the operating system update fails. Information, an alarm signal is issued and exits.
  • an embodiment of the present invention further provides a method for updating an operating system by using a T card.
  • the method includes:
  • An operating system update completion message is sent to the control device.
  • the reading the T card according to the T card reading instruction, and obtaining the T card data information includes:
  • the program counter is pointed to the data storage location of the T card corresponding to the T card read command, and the data of the T card is read to obtain the T card data information.
  • the writing, by the operating system update instruction, the operating system update file in the T card to the storage area of the operating system includes:
  • Reading the storage area data of the operating system is
  • the method comprises:
  • the operating system update failure information is sent to the control system, and the read Take the storage area of the operating system.
  • the embodiment of the present invention further provides a method for backing up an operating system by using a T card, which is applied to a smart device having a T card, and the method includes:
  • the method comprises:
  • the alarm signal is sent out and exits.
  • the embodiment of the present invention further provides a method for backing up an operating system by using a T card, which is applied to a smart device having a T card, and the method includes:
  • An operating system backup completion message is sent to the control device.
  • the writing the current operating system to the T card according to the operating system backup instruction includes:
  • the program counter is pointed to the T card read command. a data storage location of the T card, and reading data of the current operating system, generating an image file and a system partition table corresponding to the data of the current operating system according to the data of the current operating system; and the image file and the system Partition Table Write the T card.
  • the method comprises:
  • the operating system backup failure information is sent to the control system.
  • the embodiment of the present invention further provides an apparatus for updating an operating system by using a T card, where the apparatus includes:
  • the update query instruction sending unit is configured to receive a trigger signal for updating the operating system, and send a storage device information query instruction to the smart terminal according to the trigger signal for updating the operating system;
  • the first T card data query unit is configured to receive storage device information sent by the smart terminal, and find data storage location information of the T card from the storage device information;
  • the first T card reading instruction sending unit is configured to send a T card reading instruction to the smart terminal according to the data storage location information of the T card;
  • the operating system update control unit is configured to receive T card data information sent by the smart terminal, and if the T card data information includes an operating system update file of the smart terminal, send an operating system update instruction to the smart terminal;
  • the first monitoring unit is configured to receive operating system update completion information sent by the smart terminal.
  • the device comprises:
  • the first alarm unit is configured to receive the data storage space sent by the smart terminal due to the T card being unreadable, the image file and the system partition table are not matched, the image file is invalid, or the smart terminal is currently available.
  • an alarm signal is issued and exits.
  • the embodiment of the present invention further provides an apparatus for updating an operating system by using a T card, where the apparatus includes:
  • the first query information receiving unit is configured to receive the storage device information sent by the control device. Inquiring instructions, querying storage device information according to the storage device information query instruction, and transmitting the storage device information to the control device;
  • the T card data retrieval unit is configured to receive a T card read command sent by the control device, read the T card according to the T card read command, and obtain T card data information; and send the T card data information to The control device;
  • An operating system update unit configured to receive an operating system update command sent by the control device, and write an operating system update file in the T card to a storage area of the operating system according to the operating system update command;
  • the update completion information transmitting unit is configured to transmit operating system update completion information to the control device.
  • the T card data retrieval unit includes:
  • the T card data reading module is configured to point the program counter to the data storage location of the T card corresponding to the T card reading instruction, and read the data of the T card to obtain the T card data information.
  • the operating system update unit includes:
  • the T card data retrieval module is configured to find an image file and a system partition table corresponding to the operating system update file from the data of the T card;
  • Updating the control module configured to query the currently available data storage space; if the image file and the system partition table match, the image file is legal, and the currently available data storage space meets the operating system update requirement, the current operating system is formatted, and Writing the image file into a storage area of the operating system;
  • An operating system restart module configured to read storage area data of the operating system.
  • the device comprises:
  • a second alarm unit configured to send to the control system when the T card cannot be read, the image file and the system partition table do not match, the image file is invalid, or the currently available data storage space does not meet the operating system update requirement.
  • Operating system update failure information read operating system storage Storage area.
  • the embodiment of the present invention further provides an apparatus for backing up an operating system by using a T card, where the apparatus includes:
  • the backup query instruction sending unit is configured to receive a trigger signal of the backup operating system, and send a storage device information query instruction to the smart terminal according to the trigger signal of the backup operating system;
  • the second T-card data query unit is configured to receive storage device information sent by the smart terminal, and find data storage location information of the T-card from the storage device information;
  • the second T card reading instruction sending unit is configured to send an operating system backup instruction to the smart terminal according to the data storage location information of the T card;
  • the second monitoring unit is configured to receive operating system backup completion information sent by the smart terminal.
  • the device comprises:
  • the third alarm unit is configured to send, when receiving, the data storage space currently available by the smart terminal or the available data storage space of the T card does not meet the operating system backup failure requirement of the operating system backup requirement, The alarm signal is exited.
  • the embodiment of the present invention further provides an apparatus for backing up an operating system by using a T card, where the apparatus includes:
  • the second query information receiving unit is configured to receive a storage device information query instruction sent by the control device, query the storage device information according to the storage device information query instruction, and send the storage device information to the control device;
  • An operating system backup unit configured to receive an operating system backup command sent by the control device, and write the current operating system to the T card according to the operating system backup instruction;
  • the backup completion information transmitting unit is configured to send operating system backup completion information to the control device.
  • the operating system backup unit includes:
  • the operating system backup module is configured to query the currently available data storage space and the available data storage space of the T card. If the currently available data storage space and the available data storage space of the T card meet the operating system backup requirements, the program counter is pointed to Describe the data storage location of the T card corresponding to the T card reading instruction, and read the data of the current operating system, and generate an image file and a system partition table corresponding to the data of the current operating system according to the data of the current operating system; Write the image file and system partition table to the T card.
  • the device comprises:
  • the fourth alarm unit is configured to send an operating system backup failure information to the control system when the currently available data storage space or the available data storage space of the T card does not meet the operating system backup requirement.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions for executing any one of the first to fourth aspects of the present invention.
  • the method and device for updating/backing up the operating system of the T card provided by the embodiment of the present invention, and the storage medium, after receiving the trigger signal for updating the operating system, send a storage device information query instruction to the intelligent terminal; and the storage device information fed back according to the smart terminal
  • Finding data storage location information of the T card sending a T card reading instruction to the smart terminal according to the data storage location information of the T card; finding an operating system update file of the smart terminal from the T card data information, and
  • the intelligent terminal sends an operating system update command, and finally updates the operating system of the smart terminal through the T card, thereby improving the stability and security of the intelligent terminal in updating the operating system, and facilitating the maintenance of the intelligent terminal.
  • FIG. 1 is a schematic flowchart of an implementation method of updating an operating system by using a T card according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flow chart of a method for updating an operating system by using a T card according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of an implementation process of a method for backing up an operating system by using a T card according to Embodiment 3 of the present invention
  • FIG. 4 is a schematic flowchart of an implementation process of a method for backing up an operating system by using a T card according to Embodiment 4 of the present invention
  • FIG. 5 is a schematic structural diagram of a device for updating an operating system by using a T card according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a device for updating an operating system by using a T card according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of a device for backing up an operating system by using a T card according to Embodiment 7 of the present invention.
  • FIG. 8 is a schematic structural diagram of a device for backing up an operating system by using a T card according to Embodiment 8 of the present invention.
  • FIG. 9 is a schematic diagram of an implementation process of a method for updating an operating system by using a T card according to Embodiment 9 of the present invention.
  • FIG. 10 is a schematic flowchart of an implementation process of a method for backing up an operating system by using a T card according to Embodiment 10 of the present invention
  • Figure 11 is a detailed structural view of Embodiment 11 of the present invention.
  • the embodiment provides a method for updating an operating system by using a T card (that is, a TF card, also called a microSD card), and is applied to an intelligent terminal having a T card.
  • a T card that is, a TF card, also called a microSD card
  • this embodiment Methods include:
  • the trigger signal for updating the operating system may be sent by the user through a specific key combination on the smart terminal, or may be sent by the user through a set trigger signal command before the smart terminal is restarted, and after the trigger command is obtained, the control device sends the smart terminal to the smart terminal.
  • Storage device information query instruction The intelligent terminal receives the storage device information query instruction and queries the storage device information.
  • S102 Receive storage device information sent by the smart terminal, and find data storage location information of the T card from the storage device information.
  • the information area corresponding to the T card can be found from the storage device information according to the identifier, type or name of the data information of the T card itself, and according to the data of the T card itself.
  • the storage location information of the identification, type or name of the information is the starting position and ending position of the T card data.
  • S103 Send a T card reading instruction to the smart terminal according to the data storage location information of the T card.
  • the T card read command includes data storage location information of the T card.
  • S104 Receive T-card data information sent by the smart terminal, and if the T-card data information includes an operating system update file of the smart terminal, send an operating system update command to the smart terminal;
  • an operating system update file When looking for an operating system update file for a smart terminal, because the operating system update file has a specific file type, a common method is to find an operating system update file based on the file type. When the operating system update file exists as a compressed file, it is allowed to view the files in the compressed package.
  • the operating system update file can also be a user-defined name.
  • S105 Receive operating system update completion information sent by the smart terminal, and complete an operating system update of the smart terminal.
  • the embodiment After receiving the trigger signal for updating the operating system, the embodiment sends a storage device information query instruction to the smart terminal; and finds the data storage location information of the T card according to the storage device information fed back by the smart terminal; and stores the data according to the T card.
  • the location information sends a T card reading instruction to the smart terminal; the operating system update file of the smart terminal is found from the T card data information, and an operating system update command is sent to the smart terminal, and finally the operating system of the smart terminal is implemented by the T card.
  • the update improves the stability and security of the intelligent terminal in updating the operating system, and is convenient for the maintenance of the intelligent terminal.
  • the control device receives the storage device information, the T card data information, and the operating system update completion information sent by the smart terminal, that is, the smart terminal is powered on during the update of the operating system, so that the smart device is enabled.
  • the terminal can detect the operating system update file.
  • the update process is powered by the battery of the smart terminal itself, which ensures the stability of the power supply, reduces the interference of external factors, and can avoid the system in the process of updating the operating system of the smart terminal to the utmost extent. Sexual errors, etc., ensure the stability and success rate of updating the operating system.
  • This embodiment and the embodiment 1 belong to the same inventive concept.
  • This embodiment provides a method for updating an operating system by using a T card, and is applied to an intelligent terminal having a T card. As shown in FIG. 2, the method in this embodiment includes:
  • S201 Receive a storage device information query instruction sent by the control device, query the storage device information according to the storage device information query instruction, and send the storage device information to the control device;
  • Storage device information includes data storage information of the device itself and additional data storage devices Data storage information (such as T card, etc.).
  • S202 Receive a T card read command sent by the control device, read a T card according to the T card read command, and obtain T card data information; and send the T card data information to the control device;
  • the T card read command contains data storage location information of the T card, and the data information included in the T card is read according to the data storage location information of the T card.
  • S203 Receive an operating system update command sent by the control device, and write an operating system update file in the T card to a storage area of the operating system according to the operating system update command.
  • the operating system update file Since the operating system update file has a specific file type, the operating system update file can be found from the data in the T card according to the file type.
  • S204 Send operating system update completion information to the control device to complete an operating system update.
  • step S202 the T card is read according to the T card reading instruction, and the obtained T card data information includes:
  • the program counter is used to store the address of the unit where the next instruction is located, point the program counter to the data storage location of the T card corresponding to the T card read command, and read the data of the T card to obtain the T card data information.
  • Writing the operating system update file in the T card to the storage area of the operating system according to the operating system update command in step S203 includes:
  • the image file and system partition table corresponding to the operating system update file from the data of the T card according to the file type or name of the operating system update file and the system partition table; according to the total storage space of the smart terminal and the space occupied by the existing file
  • the currently available data storage space is available;
  • the system partition table is used for reading or writing data. If the image file and the system partition table match, the image file can be read and written.
  • the image file legally indicates the image file and the current smart terminal model and the current operating system. Meet the update requirements; update the operating system needs to extract the image file and then write to the smart terminal.
  • the decompression process requires a certain data cache space.
  • the operating system may be updated. operating. Then formatting the current operating system, and writing the image file to the storage area of the operating system; reading the storage area data of the operating system to complete the operating system update.
  • the update request sends an operating system update failure message to the control system to read the storage area of the operating system.
  • the present application also proposes a scheme of backing up the operating system through the T card, so as to use and maintain the smart terminal.
  • This embodiment provides a method for backing up an operating system by using a T card, and is applied to a smart device having a T card. As shown in FIG. 3, the method in this embodiment includes:
  • the trigger signal of the backup operating system may be sent by the user through a specific key combination on the smart terminal, or may be issued by a set trigger signal command before the smart terminal restarts.
  • S302 Receive storage device information sent by the smart terminal, and obtain information from the storage device. Find the data storage location information of the T card;
  • the information area corresponding to the T card can be found from the storage device information according to the data information of the T card itself, thereby obtaining the starting position and the ending position of the T card data.
  • S303 Send an operating system backup instruction to the smart terminal according to the data storage location information of the T card.
  • the operating system backup instruction includes data storage location information of the T card. Since the T card does not belong to the smart device itself, the information area corresponding to the T card can be found from the storage device information according to the data information of the T card itself, thereby obtaining the starting position and the ending position of the T card data.
  • S304 Receive operating system backup completion information sent by the smart terminal, and complete an operating system backup of the smart terminal.
  • the embodiment After receiving the trigger signal of the backup operating system, the embodiment sends a storage device information query instruction to the smart terminal; and finds the data storage location information of the T card according to the storage device information fed back by the smart terminal, and sends an operation to the smart terminal.
  • the system backup instruction finally realizes the backup of the intelligent terminal operating system through the T card, improves the stability and security in the process of the intelligent terminal backup operating system, and is convenient for the maintenance of the intelligent terminal.
  • the backup process is powered by the battery of the smart terminal itself, which ensures the stability of the power supply, reduces the interference of external factors, and can avoid systematic errors in the operating system backup process of the smart terminal to the utmost extent. To ensure the stability and success rate of the backup operating system.
  • the alarm signal is sent out and exits.
  • the embodiment provides a method for backing up an operating system by using a T card, and is applied to a smart device having a T card. As shown in FIG. 4, the method in this embodiment includes:
  • S401 Receive a storage device information query instruction sent by the control device, query the storage device information according to the storage device information query instruction, and send the storage device information to the control device;
  • the storage device information includes data storage information of the device itself and data storage information of an additional data storage device (such as a T card, etc.).
  • S402 Receive an operating system backup instruction sent by the control device, and write the current operating system to the T card according to the operating system backup instruction.
  • T card Before writing the current operating system to the T card, you should check whether the T card is readable and writable. If it can be read or written, continue the subsequent operations; otherwise, send an alarm message.
  • S403 Send operating system backup completion information to the control device, and complete an operating system backup.
  • the writing the current operating system to the T card according to the operating system backup instruction in step S402 includes:
  • the program counter is pointed to the T card read command. a data storage location of the T card, and reading data of the current operating system, generating an image file and a system partition table corresponding to the data of the current operating system according to the data of the current operating system; and the image file and the system The partition table is written to the T card.
  • the method includes:
  • the operating system backup failure information is sent to the control system.
  • An apparatus for updating an operating system by using a T card as shown in FIG. 5, the apparatus of this embodiment includes:
  • the update query instruction sending unit 501 is configured to receive a trigger signal for updating the operating system, and send a storage device information query instruction to the smart terminal according to the trigger signal of the update operating system; wherein the trigger signal for updating the operating system may be that the user passes the smart The specific key combination on the terminal is sent, or it can be issued by the set trigger signal command before the smart terminal restarts.
  • the first T-card data query unit 502 is configured to receive storage device information sent by the smart terminal, and find data storage location information of the T-card from the storage device information; since the T-card does not belong to the smart device itself Therefore, the information area corresponding to the T card can be found from the storage device information according to the data information of the T card itself, thereby obtaining the starting position and the ending position of the T card data.
  • the first T card read command sending unit 503 is configured to send a T card read command to the smart terminal according to the data storage location information of the T card; wherein the T card read command includes data storage location information of the T card .
  • the operating system update control unit 504 is configured to receive T card data information sent by the smart terminal, and if the T card data information includes an operating system update file of the smart terminal, send an operating system update command to the smart terminal.
  • T card data information sent by the smart terminal
  • an operating system update file of the smart terminal sends an operating system update command to the smart terminal.
  • a common method is to find an operating system update file based on the file type.
  • the operating system update file exists as a compressed file, it is allowed to view the files in the compressed package.
  • the operating system update file can also be a user-defined name.
  • the first monitoring unit 505 is configured to receive operating system update completion information sent by the smart terminal, and complete an operating system update of the smart terminal.
  • the device comprises:
  • the first alarm unit 506 is configured to be unable to read the T card received by the smart terminal. If the fetch, mirror file, and system partition table do not match, the image file is invalid, or the data storage space currently available to the smart terminal does not meet the operating system update failure information required by the operating system update, an alarm signal is sent and exits.
  • implementation device may be placed on the smart terminal or may exist independently of the smart terminal.
  • An apparatus for updating an operating system by using a T card as shown in FIG. 6, the apparatus of this embodiment includes:
  • the first query information receiving unit 601 is configured to receive a storage device information query instruction sent by the control device, query the storage device information according to the storage device information query instruction, and send the storage device information to the control device;
  • the T card data retrieval unit 602 is configured to receive a T card read command sent by the control device, read the T card according to the T card read command, and obtain T card data information; send the T card data information Giving the control device;
  • the operating system update unit 603 is configured to receive an operating system update command sent by the control device, and write an operating system update file in the T card to a storage area of the operating system according to the operating system update command;
  • the update completion information transmitting unit 604 is configured to transmit operating system update completion information to the control device to complete an operating system update.
  • the T card data retrieval unit 602 includes a T card data reading module, and the T card data reading module is configured to point a program counter to a data storage location of the T card corresponding to the T card reading instruction, and Read the data of the T card to get the T card data information.
  • the operating system update unit 603 includes:
  • the T card data retrieval module is configured to find an image file and a system partition table corresponding to the operating system update file from the data of the T card;
  • Updating the control module configured to query the currently available data storage space;
  • the device matches the system partition table, the image file is legal, and the currently available data storage space meets the operating system update requirements, the current operating system is formatted, and the image file is written into the storage area of the operating system;
  • the operating system restart module is configured to read the storage area data of the operating system to complete an operating system update.
  • the device includes:
  • the second alarm unit 605 is configured to notify the control system when the T card cannot be read, the image file and the system partition table do not match, the image file is invalid, or the currently available data storage space does not meet the operating system update requirement. Send an operating system update failure message and read the operating system's storage area.
  • implementation device may be placed on the smart terminal or may exist independently of the smart terminal.
  • An apparatus for backing up an operating system by using a T card as shown in FIG. 7, the apparatus of this embodiment includes:
  • the backup query instruction sending unit 701 is configured to receive a trigger signal of the backup operating system, and send a storage device information query instruction to the smart terminal according to the trigger signal of the backup operating system;
  • the second T-card data query unit 702 is configured to receive storage device information sent by the smart terminal, and find data storage location information of the T-card from the storage device information;
  • the second T card reading instruction sending unit 703 is configured to send an operating system backup instruction to the smart terminal according to the data storage location information of the T card;
  • the second monitoring unit 704 is configured to receive operating system backup completion information sent by the smart terminal, and complete an operating system backup of the smart terminal.
  • the device comprises:
  • the third alarm unit 705 is configured to receive the smart terminal sent by the smart terminal.
  • an alarm signal is sent and exits.
  • implementation device may be placed on the smart terminal or may exist independently of the smart terminal.
  • An apparatus for backing up an operating system by using a T card as shown in FIG. 8, the apparatus of this embodiment includes:
  • the second query information receiving unit 801 is configured to receive a storage device information query command sent by the control device, query the storage device information according to the storage device information query instruction, and send the storage device information to the control device;
  • the operating system backup unit 802 is configured to receive an operating system backup instruction sent by the control device, and write the current operating system to the T card according to the operating system backup instruction;
  • the backup completion information sending unit 803 is configured to send the operating system backup completion information to the control device to complete the operating system backup.
  • the operating system backup unit 802 includes:
  • the operating system backup module is configured to query the currently available data storage space and the available data storage space of the T card. If the currently available data storage space and the available data storage space of the T card meet the operating system backup requirements, the program counter is pointed to Describe the data storage location of the T card corresponding to the T card reading instruction, and read the data of the current operating system, and generate an image file and a system partition table corresponding to the data of the current operating system according to the data of the current operating system; Write the image file and system partition table to the T card.
  • the device comprises:
  • the fourth alarm unit 804 is configured to send an operating system backup failure information to the control system when the currently available data storage space or the available data storage space of the T card does not meet the operating system backup requirement.
  • the implementation device can be placed on the smart terminal or can be independent of the smart device.
  • the terminal exists.
  • This embodiment provides a method for updating an operating system by using a T card, and is applied to a smart device having a T card. As shown in FIG. 9, the method includes:
  • control device After receiving the trigger signal for updating the operating system, the control device sends a storage device information query instruction to the smart terminal.
  • the smart terminal receives the storage device information query instruction sent by the control device, queries the storage device information according to the storage device information query instruction, and sends the storage device information to the control device.
  • the control device receives the storage device information sent by the smart terminal, and finds the data storage location information of the T card from the storage device information.
  • the smart terminal receives the T card reading instruction sent by the control device, reads the T card according to the T card reading instruction, and obtains T card data information; and sends the T card data information to the control device. ;
  • the control device sends a T card reading instruction to the smart terminal according to the data storage location information of the T card.
  • the smart terminal receives an operating system update command sent by the control device, and writes an operating system update file in the T card to a storage area of the operating system according to the operating system update command.
  • the control device receives the T card data information sent by the smart terminal, and if the T card data information includes an operating system update file of the smart terminal, sends an operating system update command to the smart terminal;
  • S908 The smart terminal sends operating system update completion information to the control device.
  • the control device receives the operating system update completion information sent by the smart terminal, and completes an operating system update of the smart terminal.
  • This embodiment provides a method for backing up an operating system by using a T card, and is applied to a smart device having a T card. As shown in FIG. 10, the method in this embodiment includes:
  • control device After receiving the trigger signal of the backup operating system, the control device sends a storage device information query instruction to the smart terminal.
  • the smart terminal receives the storage device information query instruction sent by the control device, queries the storage device information according to the storage device information query instruction, and sends the storage device information to the control device;
  • the control device receives the storage device information sent by the smart terminal, and finds the data storage location information of the T card from the storage device information.
  • S1004 The smart terminal receives an operating system backup command sent by the control device, and writes the current operating system to the T card according to the operating system backup command.
  • the control device sends an operating system backup instruction to the smart terminal according to the data storage location information of the T card.
  • S1006 The smart terminal sends operating system backup completion information to the control device.
  • the control device receives the operating system backup completion information sent by the smart terminal, and completes an operating system backup of the smart terminal.
  • FIG. 11 The structural diagram of this embodiment is shown in FIG. 11, and the specific implementation steps of the technical solution of the present invention are described in detail through FIG.
  • step 2 press the button that sets the combination (such as the power button, volume increase button and volume down button) to issue the trigger signal for updating/backing up the operating system. Then proceed to step 3;
  • the phone is turned on, and the program counter of the processor of the mobile phone points to the Mth byte in the storage space (the location of the current operating system of the mobile phone), and the system is normally started. If the system does not start properly, go to step 6.
  • the phone is turned on and enters the update/backup operating system state.
  • the related prompt information such as updating the operating system from the T card, backing up the operating system, or exiting may be displayed through the screen of the mobile phone.
  • step 4 If you choose to update the operating system from the T card, go to step 4; if you choose to back up the operating system, go to step 5; if you choose to exit, go to step 2.
  • the control device sends a storage device information query instruction to the mobile phone; the mobile phone queries the storage device information according to the storage device information query instruction, and sends the storage device information to the control device; the control device receives the storage device information sent by the mobile phone, Finding data storage location information of the T card from the storage device information, and sending a T card reading instruction to the mobile phone according to the data storage location information of the T card; and receiving, by the mobile phone, a T card reading instruction sent by the control device, Reading the T card according to the T card reading instruction to obtain T card data information; transmitting the T card data information to the control device; the control device receiving the T card data information sent by the mobile phone, if the T card
  • the data information includes an operating system update file of the mobile phone, and an operating system update command is sent to the mobile phone; the mobile phone receives an operating system update command sent by the control device, and uses an operating system in the T card according to the operating system update command.
  • the update file is written into the storage area of the operating system, and the operating system update completion information is sent to the control device to complete the operating system update.
  • the control device receives the operating system update completion information sent by the mobile phone, and confirms that the operating system update of the mobile phone is completed.
  • the processor of the mobile phone reads the system image file and the system partition table to be updated in the T card, checks the phone storage and the system partition table, and whether the image file matches the current mobile phone (if the total size exceeds the mobile phone storage upper limit, the partition table) If the image file is invalid, if the image file does not match or the image file is invalid, go to step 6. Otherwise, format the MN storage space (mobile phone operating system area) in the phone, and then according to the partition table. Will mirror The file is written to the phone. Then proceed to step 2.
  • MN storage space mobile phone operating system area
  • the control device sends a storage device information query instruction to the mobile phone; the mobile phone receives the storage device information query instruction sent by the control device, and queries the storage device information according to the storage device information query instruction, and sends the storage device information Giving the control device; the control device receives the storage device information sent by the mobile phone, and finds the data storage location information of the T card from the storage device information; and the data storage location information according to the T card to the mobile phone Sending an operating system backup command; the mobile phone receives an operating system backup command sent by the control device, writes a current operating system to the T card according to the operating system backup command; and sends an operating system backup completion information to the control device, and completes Operating system backup.
  • the control device receives the operating system backup completion information sent by the mobile phone, and completes the operating system backup of the mobile phone.
  • the mobile phone processor checks whether the T card satisfies the condition of writing the T card (such as whether the T card data size is smaller than the mobile phone storage, the T card cannot be written, or the T card cannot be formatted, etc.), if the T card condition is not satisfied, Then, the process proceeds to step 6. If the condition is met, the storage area of the mobile phone system is read, and the partition table and the image file of the mobile phone operating system are generated and written into the T card.
  • the condition of writing the T card such as whether the T card data size is smaller than the mobile phone storage, the T card cannot be written, or the T card cannot be formatted, etc.
  • the phone has an error prompt interface and prompts the cause of the error.
  • the mobile phone cannot start the system normally, prompting the user to “cannot start the system normally”, press the shutdown button to shut down;
  • the file matches incorrectly, and the prompt matches the cause of the error (such as whether the image file size exceeds the mobile phone storage limit, the partition table and the image file cannot correspond), and after 10 seconds, the process proceeds to step 2; or the process of writing to the phone storage error occurs.
  • the prompt "Cannot write to the system, the system is damaged", press the shutdown button to shut down.
  • Step 2 the T card does not meet the writing conditions, and the specific reason is prompted. After 10 seconds, the process proceeds to step 2; or, during the process of writing the T card, an error occurs, “Write T card error”, and enter after 10 seconds. Step 2.
  • Each unit in the device for updating/backing up an operating system by using a T card can be implemented by a processor located in the user terminal or a processor independent of the user terminal, for example, a backup query instruction sending unit in the device that backs up the operating system through the T card.
  • the second T card data query unit, the second T card read command sending unit, the second monitoring unit, and the third alarm unit can all be implemented by a processor in the user terminal;
  • the specific logic circuit is implemented; in the process of the specific embodiment, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA). .
  • the foregoing method for updating/backing up the operating system through the T card is implemented in the form of a software function module, and is sold or used as a standalone product, it may also be stored in a computer readable form. Take the storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions execute the method of the present invention for updating/backing up an operating system through a T card.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • each shown or discussed The coupling, or direct coupling, or communication connection of the components to each other may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or other.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps:
  • the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the device after receiving the trigger signal for updating the operating system, the device sends a storage device information query instruction to the smart terminal; receives the storage device information sent by the smart terminal, and finds the data of the T card from the storage device information. Storing location information; transmitting a T card reading instruction to the smart terminal according to the data storage location information of the T card; receiving the smart terminal Sending the T card data information, if the T card data information includes an operating system update file of the smart terminal, sending an operating system update command to the smart terminal; receiving the operating system update completion information sent by the smart terminal The operating system update of the smart terminal is completed; thus, the update of the smart terminal operating system is implemented by the T card, and the stability and security of the smart terminal in updating the operating system are improved, and the maintenance of the smart terminal is facilitated.

Abstract

La présente invention concerne un procédé de mise à jour d'un système d'exploitation par le biais d'une carte T. Le procédé consiste à : après la réception d'un signal de déclenchement destiné à mettre à jour un système d'exploitation, envoyer une instruction de demande d'informations de dispositif de mémorisation à un terminal intelligent (S101) ; recevoir les informations de dispositif de mémorisation envoyées par le terminal intelligent, et rechercher des informations d'emplacement de mémorisation de données d'une carte T à partir des informations de dispositif de mémorisation (S102) ; envoyer une instruction de lecture de carte T au terminal intelligent conformément aux informations d'emplacement de mémorisation de données de la carte T (S103) ; recevoir des informations de données de carte T envoyées par le terminal intelligent et, si les informations de données de carte T contiennent un fichier de mise à jour de système d'exploitation du terminal intelligent, envoyer une instruction de mise à jour de système d'exploitation au terminal intelligent (S104) ; et recevoir des informations de fin de mise à jour de système d'exploitation envoyées par le terminal intelligent, et terminer la mise à jour de système d'exploitation du terminal intelligent (S105). L'invention concerne également un procédé de mise à jour d'un système d'exploitation par le biais d'une carte T, un appareil de mise à jour d'un système d'exploitation par le biais d'une carte T, un appareil de sauvegarde d'un système d'exploitation par le biais d'une carte T, et un système de mémorisation.
PCT/CN2015/078352 2014-10-21 2015-05-06 Procédé et appareil de mise à jour/sauvegarde de système d'exploitation par le biais d'une carte t, et support d'informations WO2016062060A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410563903.0 2014-10-21
CN201410563903.0A CN105589702A (zh) 2014-10-21 2014-10-21 通过t卡更新/备份操作系统的方法及装置

Publications (1)

Publication Number Publication Date
WO2016062060A1 true WO2016062060A1 (fr) 2016-04-28

Family

ID=55760203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078352 WO2016062060A1 (fr) 2014-10-21 2015-05-06 Procédé et appareil de mise à jour/sauvegarde de système d'exploitation par le biais d'une carte t, et support d'informations

Country Status (2)

Country Link
CN (1) CN105589702A (fr)
WO (1) WO2016062060A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554931A (zh) * 2019-07-29 2019-12-10 南京兆伏电力科技有限公司 继电保护装置及其数据备份与恢复方法
CN114138343A (zh) * 2020-09-04 2022-03-04 青岛海信移动通信技术股份有限公司 一种终端及终端启动方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146285A (zh) * 2007-08-30 2008-03-19 Tcl天一移动通信(深圳)有限公司 一种用于移动终端上的数据备份方法
CN101426052A (zh) * 2008-12-05 2009-05-06 上海闻泰电子科技有限公司 移动终端的通信录和短信的备份及导入方法
CN102520778A (zh) * 2011-12-09 2012-06-27 山东大学 一种适用于嵌入式Linux操作系统的系统一键还原方法
CN102841802A (zh) * 2012-07-27 2012-12-26 锐迪科科技有限公司 移动终端的软件升级方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694623A (zh) * 2009-09-29 2010-04-14 上海夏新电子开发有限公司 一种更新手持设备软件的方法
CN102681857B (zh) * 2011-03-07 2016-08-31 北京博创理想科技有限公司 一种实现车载软件系统修复或升级的方法、装置
JP5934977B2 (ja) * 2012-04-06 2016-06-15 株式会社ユピテル 電子機器、記憶媒体及びプログラム
CN103559054B (zh) * 2013-10-30 2017-10-10 华为终端有限公司 智能终端多操作系统的实现、删除方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146285A (zh) * 2007-08-30 2008-03-19 Tcl天一移动通信(深圳)有限公司 一种用于移动终端上的数据备份方法
CN101426052A (zh) * 2008-12-05 2009-05-06 上海闻泰电子科技有限公司 移动终端的通信录和短信的备份及导入方法
CN102520778A (zh) * 2011-12-09 2012-06-27 山东大学 一种适用于嵌入式Linux操作系统的系统一键还原方法
CN102841802A (zh) * 2012-07-27 2012-12-26 锐迪科科技有限公司 移动终端的软件升级方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554931A (zh) * 2019-07-29 2019-12-10 南京兆伏电力科技有限公司 继电保护装置及其数据备份与恢复方法
CN114138343A (zh) * 2020-09-04 2022-03-04 青岛海信移动通信技术股份有限公司 一种终端及终端启动方法

Also Published As

Publication number Publication date
CN105589702A (zh) 2016-05-18

Similar Documents

Publication Publication Date Title
US8539471B2 (en) Updating firmware of an electronic device
US10114655B2 (en) Rapid start up method for electronic equipment
US20170116987A1 (en) Electronic device and method for executing function using speech recognition thereof
JP5431111B2 (ja) 情報処理装置及びシステム設定方法
CN106155915B (zh) 数据存储的处理方法及装置
WO2015010394A1 (fr) Procédé d'envoi de données, procédé de réception de données et dispositif de stockage
WO2019062635A1 (fr) Procédé et dispositif de mise à jour
CN1855082B (zh) 从计算机断开外部数据存储装置的方法及装置
CN103488498A (zh) 一种计算机启动方法及计算机
CN104216793A (zh) 应用程序备份、恢复的方法及设备
CN102521289B (zh) 一种文件同步方法、装置及系统
CN106775610A (zh) 一种电子设备启动方法及一种电子设备
US9218249B2 (en) Electronic apparatus, method of restoring guid partition table (GPT) and computer-readable recording medium
US10219135B1 (en) Near field communication (NFC) enhanced computing systems
WO2017080225A1 (fr) Procédé et appareil de récupération de partition de données, et terminal
JP2018025925A (ja) 電子回路システム及び制御装置の起動方法
KR20200055512A (ko) 제어 신호를 송수신하기 위한 전자 장치 및 방법
CN102880530B (zh) 终端和终端备份及恢复方法
WO2016062060A1 (fr) Procédé et appareil de mise à jour/sauvegarde de système d'exploitation par le biais d'une carte t, et support d'informations
CN116266467A (zh) 具有安全启动更新及自动恢复的存储器装置
WO2015117356A1 (fr) Procédé de démarrage et terminal de communication
CN101315656A (zh) 信息处理设备
WO2019119912A1 (fr) Procédé et dispositif de démarrage de terminal, support de stockage et dispositif électronique
CN104142838A (zh) 一种移动通信终端开机启动的方法和设备
WO2023198056A1 (fr) Procédé de mise à jour de micrologiciel pour dispositif intégré, et dispositif intégré

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: 15853351

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: 15853351

Country of ref document: EP

Kind code of ref document: A1