WO2016149908A1 - 一种终端系统的升级方法、终端及系统 - Google Patents

一种终端系统的升级方法、终端及系统 Download PDF

Info

Publication number
WO2016149908A1
WO2016149908A1 PCT/CN2015/074948 CN2015074948W WO2016149908A1 WO 2016149908 A1 WO2016149908 A1 WO 2016149908A1 CN 2015074948 W CN2015074948 W CN 2015074948W WO 2016149908 A1 WO2016149908 A1 WO 2016149908A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
system software
version number
version
upgrade
Prior art date
Application number
PCT/CN2015/074948
Other languages
English (en)
French (fr)
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 EP15885847.2A priority Critical patent/EP3200072B1/en
Priority to PCT/CN2015/074948 priority patent/WO2016149908A1/zh
Priority to CN201580026613.5A priority patent/CN106462424A/zh
Priority to KR1020177012321A priority patent/KR101905019B1/ko
Priority to US15/521,863 priority patent/US10268471B2/en
Priority to JP2017544810A priority patent/JP6566500B2/ja
Publication of WO2016149908A1 publication Critical patent/WO2016149908A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, a terminal, and a system for upgrading a terminal system.
  • Software upgrades can include two types of system upgrades and application upgrades.
  • System upgrade refers to replacing the terminal's system with a higher version of the system (such as replacing the Android 4.0 system in the Android phone with the Android 5.0 system); and the application Upgrading means downloading and installing the latest version of the application, allowing users to experience the latest application features.
  • the system upgrade may include a local upgrade and an online upgrade, wherein the local upgrade means that the user downloads the new version of the system software to the local computer, and then connects the terminal to the computer through the cable, and according to the new version.
  • Operation instructions for system software upgrades are usually required to obtain a new version of the system software, ordinary users usually need to go to the service outlet of the terminal to complete the local upgrade through professional maintenance personnel.
  • Online upgrade means that the terminal periodically queries the various versions of the system software stored in the version server after connecting to the data network.
  • the system software of the new version matching the device model of the terminal is queried, the user licenses the version.
  • the new version of the system software is downloaded to the local server to complete the system upgrade process.
  • the terminal when the local upgrade is performed, the upgrade to the designated service network of the terminal is required, which causes excessive service cost and time cost.
  • the terminal When the online upgrade is performed, the terminal must rely on the version server to complete the upgrade of the system software. Once the network quality is not good or the version server is faulty, the terminal cannot complete the system upgrade in time.
  • the embodiment of the invention provides a method, a terminal and a system for upgrading a terminal system, which solves the problem that the online upgrade cannot be performed without deploying the version server, and reduces the service cost and time cost of the system upgrade.
  • an embodiment of the present invention provides a method for upgrading a terminal system, including:
  • the first terminal acquires the version information of the second terminal, where the version information of the second terminal includes at least the device model of the second terminal and the version number of the system software;
  • the first terminal is configured according to a version number of the system software of the second terminal and a version number of the system software of the first terminal. Determining whether the first terminal performs a system upgrade;
  • the first terminal determines to perform a system upgrade
  • the first terminal acquires system software data indicated by a version number of the system software of the second terminal from the second terminal, so that the first terminal is configured according to The obtained system software data completes the system upgrade of the first terminal.
  • the first terminal determines, according to a version number of the system software of the second terminal and a version number of the system software of the first terminal Whether the first terminal performs a system upgrade, including:
  • the first terminal determines that the first terminal performs a system upgrade
  • the first terminal determines that the first terminal performs a system upgrade.
  • the first terminal acquires the system of the second terminal from the second terminal System software data as indicated by the software version number, including:
  • the first terminal sends a connection establishment request to the second terminal, so that the second terminal establishes a first transmission connection with the first terminal according to the establishing connection request;
  • the first terminal acquires a data packet of the system software data in the second terminal by using the established first transmission connection.
  • the first terminal acquires a data packet of the system software data in the second terminal by using the established first transmission connection, including:
  • the first terminal records breakpoint location information of system software data of the second terminal that has been received when the first transmission connection is disconnected;
  • the first terminal re-establishes the first transmission connection, so that the first terminal acquires from the second terminal according to the breakpoint location information.
  • the first terminal acquires the second terminal by using the established first transmission connection
  • a data package for system software data including:
  • the first terminal records breakpoint location information of system software data of the second terminal that has been received when the first transmission connection is disconnected;
  • the first terminal determines whether the first terminal performs system upgrade according to the version information of the third terminal, and the version information of the third terminal includes at least the first The device model of the three terminals and the version number of the system software;
  • the first terminal acquires system software data indicated by a version number of the system software of the third terminal according to the breakpoint location information.
  • the first terminal determines, according to the version information of the third terminal, whether the first terminal performs System upgrades, including:
  • the first terminal Determining that the first terminal performs a system upgrade
  • the first terminal acquires the third terminal according to the breakpoint location information.
  • System software data indicated by the version number of the system software including:
  • the first terminal acquires system software data after the breakpoint position indicated by the breakpoint location information from the third terminal according to the breakpoint location information.
  • the first terminal determines, according to the version information of the third terminal, whether the first terminal performs System upgrades, including:
  • the first terminal is Determining that the first terminal performs a system upgrade
  • the first terminal acquires system software data indicated by a version number of the system software of the third terminal according to the breakpoint location information, and includes:
  • the first terminal deletes the acquired system software data before the breakpoint location indicated by the breakpoint location information
  • the first terminal acquires system software data indicated by a version number of the system software of the third terminal from the third terminal by using the second transmission connection.
  • the second terminal acquires the second Before the version information of the terminal, it also includes:
  • the new version information list includes at least a version number of the system software corresponding to the N types of device models, and storing the system software data corresponding to the N types of device models.
  • the method further includes:
  • the first terminal according to the new version information list, from the system of the second terminal
  • the system software data is obtained by the storage address of the system software, so that the first terminal completes the system upgrade according to the acquired system software data.
  • an embodiment of the present invention provides a terminal, including:
  • a version information obtaining unit configured to obtain version information of the second terminal, where the version information of the second terminal includes at least a device model of the second terminal and a version number of the system software;
  • a version determining unit configured to: if the device model of the second terminal in the version information acquiring unit is compatible with the device model of the first terminal, according to a version number of the system software of the second terminal, and the first terminal The version number of the system software determines whether the first terminal performs a system upgrade;
  • a system upgrade unit configured to acquire system software data indicated by a version number of the system software of the second terminal from the second terminal, if the system is determined to perform a system upgrade, so that the first The terminal completes the system upgrade of the first terminal according to the obtained system software data.
  • the version determining unit is configured to: if the version number of the second terminal in the version information acquiring unit is greater than a version number of the first terminal, determine that the first terminal performs a system upgrade; or The release date indicated by the version number of the second terminal in the version information acquisition unit is determined to be a system upgrade after the release date indicated by the version number of the first terminal.
  • the system upgrading unit is configured to: if the first determining, by the version determining unit, that the first terminal performs a system upgrade, send a connection establishment request to the second terminal, so that the second terminal establishes a connection according to the Requesting to establish a first transmission connection with the first terminal; receiving, by the established first transmission connection, a data packet of the system software of the second terminal.
  • the terminal further includes a recording unit and a breakpoint retransmission unit, where in,
  • the recording unit is configured to record, when the first transmission connection in the system upgrade unit is disconnected, record the data packet of the second terminal system software that has been received when the first transmission connection is disconnected Point location information;
  • the breakpoint retransmission unit is configured to re-establish the first transmission connection if the version information of the second terminal is acquired again, so that the first terminal is configured according to the breakpoint location information.
  • the second terminal acquires system software data after the breakpoint position indicated by the breakpoint location information.
  • the version determining unit is further configured to: if the version information of the third terminal is obtained, determine, according to the version information of the third terminal, whether the first terminal performs system upgrade, and the version information of the third terminal is at least Include the device model of the third terminal and the version number of the system software;
  • the system upgrade unit is further configured to: if the first terminal determines to perform a system upgrade, acquire system software data indicated by a version number of the system software of the third terminal according to the breakpoint location information.
  • the version determining unit is specifically configured to: if a device model of the third terminal is compatible with a device model of the first terminal, and a version number of the system software of the third terminal and a system of the second terminal If the version numbers of the software are the same, it is determined that the first terminal performs a system upgrade;
  • the system upgrade unit is configured to establish a second transmission connection with the third terminal, and obtain the breakpoint location information from the third terminal by using the second transmission connection according to the breakpoint location information. System software data after the indicated breakpoint location.
  • the terminal further includes a deleting unit, where
  • the version determining unit is specifically configured to: if the device model of the third terminal is compatible with the device model of the first terminal, and the version number of the system software of the third terminal is greater than the system of the second terminal The version number of the software determines that the first terminal performs a system upgrade;
  • the deleting unit is configured to delete the acquired system software data before the breakpoint location indicated by the breakpoint location information
  • the system upgrade unit is configured to establish a second transmission connection with the third terminal, and obtain, by using the second transmission connection, the version number of the system software of the third terminal from the third terminal System software data.
  • the version information obtaining unit is further configured to receive a new version information list sent by the server, where the new version information list includes at least a version number of the system software corresponding to the N types of device models, and corresponding to the N types of device models.
  • the system upgrade unit is further configured to: if the system determines that the first terminal performs system upgrade in the version determining unit, obtain, according to the new version information list, the storage address from the system software of the second terminal. System software data, such that the first terminal completes the system upgrade according to the acquired system software data.
  • an embodiment of the present invention provides a terminal, where the terminal includes a processor, and a communication interface and a memory respectively connected to the processor, where
  • the processor is configured to: obtain version information of the second terminal by using the communication interface, where version information of the second terminal includes at least a device model of the second terminal and a version number of the system software; and when the second When the device model of the terminal is compatible with the device model of the first terminal, determining whether the first terminal performs system upgrade according to the version number of the system software of the second terminal and the version number of the system software of the first terminal ; And if the first terminal determines to perform a system upgrade, acquiring system software data indicated by a version number of the system software of the second terminal from the second terminal by using the communication interface, so that the first terminal Performing system upgrade of the first terminal according to system software data;
  • the memory is configured to: store system software data of the second terminal from the second terminal.
  • the processor is further configured to:
  • the version number of the second terminal is greater than the version number of the first terminal, determining that the first terminal performs a system upgrade
  • the communication interface is also used to:
  • the memory is further configured to: record breakpoint location information of system software data of the second terminal that has been received when the first transmission connection is disconnected;
  • the processor is further configured to re-establish the first transmission connection if the version information of the second terminal is acquired again, so that the first terminal is from the second according to the breakpoint location information.
  • the system software data after the breakpoint position indicated by the breakpoint position information is acquired in the terminal.
  • the memory is further configured to: record breakpoint location information of system software data of the second terminal that has been received when the first transmission connection is disconnected;
  • the processor is further configured to: if the communication interface obtains the version information of the third terminal, determine, according to the version information of the third terminal, whether the first terminal performs a system upgrade, where the third terminal
  • the version information includes at least a device model of the third terminal and a version number of the system software
  • the communication interface is further configured to: if it is determined that the system upgrade is performed, acquire system software data indicated by a version number of the system software of the third terminal according to the breakpoint location information.
  • the processor is further configured to:
  • the device model of the third terminal is compatible with the device model of the first terminal, and the version number of the system software of the third terminal is the same as the version number of the system software of the second terminal, determining Said that the first terminal performs a system upgrade;
  • the processor is further configured to:
  • the device model of the third terminal is compatible with the device model of the first terminal, and the version number of the system software of the third terminal is greater than the version number of the system software of the second terminal, determining the The first terminal performs a system upgrade
  • the communication interface is further configured to: receive a new version information list sent by the server, and send the new version information list to the memory, where the new version information list includes at least a version number of the system software corresponding to the N device types. And a storage address of the system software data corresponding to the N types of device models, where the N types of device models include the device model of the second terminal, where N>0.
  • the processor is further configured to: if the first terminal determines to perform a system upgrade, obtain the system software data from a storage address of the system software of the second terminal by using a communication interface according to the new version information list, So that the first terminal completes the system upgrade according to the acquired system software data.
  • an embodiment of the present invention provides an upgrade system, where the system includes any of the first to eighth possible implementations of the third aspect and the third aspect.
  • the terminal and the second terminal connected to the terminal.
  • the system further includes a second terminal connected to the terminal.
  • system further includes a server connected to the terminal, where
  • the server is configured to store a new version information list, where the new version information list includes at least a version number of the system software corresponding to the N types of device models, and a storage address of the system software data corresponding to the N types of device models,
  • the N types of device models include the device model of the second terminal, where N>0.
  • An embodiment of the present invention provides a method, a terminal, and a system for upgrading a terminal system, where the first terminal determines whether to perform system upgrade on the first terminal by acquiring the device model of the second terminal and the version number of the system software.
  • System upgrade to the first terminal Level the system software data indicated by the version number of the system software of the second terminal is obtained from the second terminal, so that the first terminal completes the system upgrade according to the system software data, and the first terminal is in the system upgrade process. It is not necessary to go to the designated service network of the terminal, and the first terminal does not need to rely on the system software data of each version regularly updated in the version server during the system upgrade, and the first terminal can directly determine the version number higher than its own version.
  • the second terminal includes a new version of the system software, and then the new version of the system software data is directly obtained from the second terminal for system upgrade. It can be seen that compared with the prior art, the upgrade method of the terminal system is more Flexible and convenient, it can solve the problem that the terminal cannot be upgraded online without deploying the version server, and reduce the service cost and time cost caused by the system upgrade.
  • FIG. 1 is a flowchart 1 of a method for upgrading a terminal system according to an embodiment of the present invention
  • FIG. 2 is an interaction diagram 1 of an upgrade method of a terminal system according to an embodiment of the present invention
  • FIG. 3 is a second flowchart of a method for upgrading a terminal system according to an embodiment of the present invention
  • FIG. 4 is an interaction diagram 2 of a method for upgrading a terminal system according to an embodiment of the present invention
  • FIG. 5 is a flowchart 3 of a method for upgrading a terminal system according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a hardware of a terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a structural diagram 1 of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a structural diagram 2 of a terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a structural diagram 3 of a terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a structural diagram 1 of an upgrade system according to an embodiment of the present disclosure.
  • FIG. 11 is a second structural diagram of an upgrade system according to an embodiment of the present disclosure.
  • FIG. 12 is a third structural diagram of an upgrade system according to an embodiment of the present invention.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” may include one or more of the features either explicitly or implicitly. In the description of the present invention, "a plurality” means two or more unless otherwise stated.
  • An embodiment of the present invention provides a method for upgrading a terminal system, as shown in FIG. 1 , including:
  • the first terminal acquires version information of the second terminal, where the version information includes at least a device model of the second terminal and a version number of the system software.
  • the first terminal determines whether the first terminal performs system upgrade according to the version number of the system software of the second terminal and the version number of the system software of the first terminal. .
  • the first terminal determines to perform the system upgrade, acquiring system software data indicated by the version number of the system software of the second terminal from the second terminal, so that the first terminal completes the system upgrade of the first terminal according to the system software data. .
  • the first terminal may determine whether to perform system upgrade on the first terminal by acquiring the device model of the second terminal and the version number of the system software of the second terminal, where the second terminal may be the first Any terminal other than the terminal.
  • the second terminal can periodically broadcast its version information, that is, its own device model and the version number of the system software, so that the first terminal can obtain the second version according to the version information broadcast by the second terminal.
  • the version number of the system model of the standby model and the second terminal, wherein the connection relationship between the first terminal and the second terminal may be wireless communication through a wireless network (eg, WI-FI, ie, Wireless-Fidelity, wireless fidelity), Bluetooth, and the like.
  • the method may be implemented by connecting the first terminal and the second terminal by using a wired manner (for example, a data line, etc.), which is not limited by the present invention.
  • version numbers of the system software involved in the embodiments of the present invention may be the version numbers of the official system software issued by the manufacturer or the operator of the corresponding terminal.
  • the first terminal may determine the second according to the device model of the second terminal and the device model of the second terminal. Whether the device model of the terminal is compatible with the device model of the first terminal.
  • determining whether the device model of the second terminal is compatible with the device model of the first terminal may include software compatibility or hardware compatibility.
  • two feasible devices for determining the second terminal provided by the embodiments of the present invention are provided.
  • a method of whether the model is compatible with the device model of the first terminal wherein:
  • the first method the first terminal can preset a device model list that is compatible with its own device model, as shown in Table 1, such that when the first terminal acquires the device model of the second terminal and the system of the second terminal After the version number of the software, the first terminal can query whether the device model of the second terminal is in the preset device model list. If the preset device model list is in the preset, the first terminal determines the device of the second terminal. The model conforms to the device model of the first terminal. If it is not in the preset device model list, the first terminal determines that the device model of the second terminal does not meet the device model of the first terminal.
  • the first terminal may further determine parameters of the hardware in the second terminal according to the acquired device model of the second terminal, for example, the PCB of the second terminal (Printed Circuit Board, Chinese name is printed circuit board) The structure of the circuit board and the wiring information in the PCB circuit board.
  • the PCB of the second terminal Printed Circuit Board, Chinese name is printed circuit board
  • the first terminal determines that the device model of the second terminal is compatible with the device model of the first terminal, and the first terminal determines that the device model of the second terminal is incompatible with the device model of the first terminal; or the first terminal can also Determining, according to the obtained device model of the second terminal, the hardware version number of the hardware used by the second terminal, for example, the hardware version number of the hardware used by the second terminal is RB1DA6850M, then, if the hardware version number of the first terminal is The same as the RB1DA6850M, the first terminal determines that the device model of the second terminal is compatible with the device model of the first terminal. Otherwise, the first terminal determines that the device model of the second terminal is incompatible with the device model of the first terminal.
  • the first terminal determines, according to the device model of the second terminal and the device model of the second terminal, whether the device model of the second terminal is compatible with the device model of the first terminal, and if the device model of the second terminal is the first terminal.
  • the device model is compatible, indicating that the system software used by the second terminal is also applicable to the first terminal, and then the first terminal can be determined according to the version number of the system software of the second terminal and the version number of the system software of the first terminal. Whether the first terminal performs a system upgrade.
  • the first terminal can determine whether the version number of the second terminal is greater than The version number of the first terminal is determined to perform a system upgrade. If the version number of the second terminal is greater than the version number of the first terminal, the first terminal determines to perform system upgrade on the first terminal.
  • the version number of the new version of the system software is not necessarily greater than the version number of the old version of the system software.
  • the first terminal may further determine the version of the second terminal according to the version number of the second terminal. a release date, wherein if the release date indicated by the version number of the second terminal is after the release date indicated by the version number of the first terminal, the system software of the second terminal is compared to the system software of the first terminal It is a new version of the system software, so the first terminal can determine to upgrade the system of the first terminal.
  • the first terminal determines whether to perform system upgrade on the first terminal according to the device model of the second terminal and the version number of the system software.
  • step 103 if the first terminal has determined to perform the system upgrade, the first terminal acquires system software data indicated by the version number of the system software of the second terminal from the second terminal, so that the first terminal according to the The system software data completes the system upgrade.
  • the system software refers to a system that controls and coordinates terminals and external devices, supports application software development and operation, and is a collection of various programs that do not require user intervention. Therefore, the system software indicated by the version number of the system software of the second terminal
  • the data may include all the data required for the system upgrade of the first terminal, and may be in the form of a data packet or the like, which is not limited by the present invention.
  • the first terminal may send a connection establishment request to the second terminal, and after the second terminal receives the connection establishment request, according to the establishment connection request and the first terminal Establishing a first transmission connection, for example, the first terminal establishes a first transmission connection with the second terminal by using a wireless network (for example, WI-FI) or Bluetooth, so that the second terminal can set its own on the first transmission connection.
  • the data package of the system software data is sent to the first terminal. After the first terminal downloads the data package of the system software from the second terminal, the system upgrade can be performed according to the data package of the system software.
  • the first terminal when the first terminal acquires system software data of the second terminal on the first transmission connection, the first terminal may actively download from the second terminal after the first transmission connection is established, or in the first transmission. After the connection is established, the second terminal is triggered to send its own system software data to the first terminal through the first transmission connection.
  • FIG. 2 an interaction diagram of an upgrade method of a terminal system according to an embodiment of the present invention, where the terminal 2 includes a new version of system software data.
  • Step 1 Terminal 2 periodically broadcasts its own version information, including the device model (huawei A910) and the system software version number (2.0.2).
  • Step 2 After receiving the version information of the terminal 2, the terminal 1 first queries whether the device model of the terminal 2 is in the device model list of the terminal 1 (as shown in Table 1). The device model of the terminal 2 is in the device model list of the terminal 1, indicating that the device model of the terminal 2 is compatible with the device model of the terminal 1. Therefore, the terminal 1 continues to compare the version number of the system software of the terminal 2 in the version information with the system software of the system. The version number, once the version number of the system software of the terminal 2 is found to be greater than the version number of the system software, the terminal 1 sends a connection request to the terminal 2, requesting to establish a transmission connection with the terminal 2, and then downloading the system software data of the terminal 2;
  • Step 3 After receiving the connection establishment request sent by the terminal 1, the terminal 2 establishes a first transmission connection with the terminal 1, and starts to use the http (HTTP, HyperText Transfer Protocol) or https (based on the packet-by-packet mode).
  • HTTP HyperText Transfer Protocol
  • https based on the packet-by-packet mode.
  • Hyper Text Transfer Protocol over Secure Socket Layer which is a security-oriented HTTP channel, transmits its system software data to the terminal 1 in the form of a data packet;
  • Step 4 After receiving the data packet sent by the terminal 2, the terminal 1 can respond to the received data packet, so as to inform the terminal 2 that the data packet has been successfully received.
  • the terminal 1 and the terminal 2 can repeat the transmission and response process of the data packet of the above system software data until the last data packet in the system software data is successfully received by the terminal 1, that is, the terminal 1 will be from the terminal 2 The system software data is successfully downloaded;
  • Step 5 The terminal 1 disconnects from the first transmission connection of the terminal 2;
  • Step 6 The terminal 1 upgrades its own system to the same system as the terminal 2 according to the system software data of the terminal 2 that has been successfully downloaded.
  • the transmission connection may be interrupted, which may be due to unstable network conditions. Or the second terminal is beyond the connection range of the first terminal.
  • the embodiment of the present invention provides a method for upgrading the terminal system, and the third terminal is used to complete the system upgrade of the first terminal. This method will be elaborated in the following embodiments, and therefore will not be described again here.
  • An embodiment of the present invention provides a method for upgrading a terminal system, where the first terminal determines whether the device is the device model of the second terminal and the version number of the system software.
  • the first terminal performs system upgrade, and if the system upgrade is performed on the first terminal, the system software data indicated by the version number of the system software of the second terminal is obtained from the second terminal, so that the first terminal is configured according to the system software.
  • the system completes the system upgrade. It can be seen that the first terminal does not need to go to the designated service network of the terminal to complete the system upgrade. At the same time, the first terminal does not need to rely on the system software of each version regularly updated in the version server when performing the system upgrade.
  • the first terminal can directly determine that the second terminal having a higher version number than itself has a new version of the system software, and then directly obtain a new version of the system software data from the second terminal for system upgrade, as can be seen,
  • the upgrade method of the terminal system is more flexible and convenient, and can solve the problem that the terminal cannot perform online upgrade without deploying the version server, and reduces the service cost and time caused by the system upgrade. cost.
  • An embodiment of the present invention provides a method for upgrading a terminal system, as shown in FIG. 3, including:
  • the first terminal acquires version information of the second terminal, where the version information includes at least a device model of the second terminal and a version number of the system software.
  • the first terminal determines whether to perform the system on the first terminal according to the version number of the system software of the second terminal and the version number of the system software of the first terminal. upgrade.
  • the first terminal establishes a first transmission connection with the second terminal, and receives system software data in the second terminal on the first transmission connection.
  • the first terminal records breakpoint location information of the system software data that has been received when the first transmission connection is disconnected.
  • the first terminal acquires a version number of the system software of the third terminal that is compatible with the device model of the first terminal.
  • the first terminal acquires the breakpoint location information from the third terminal according to the breakpoint location information recorded in step 205. Number of system software after the indicated breakpoint position according to.
  • step 207 If the version number of the system software of the third terminal is greater than the version number of the system software of the second terminal, the first terminal deletes all acquired before the breakpoint position indicated by the breakpoint location information recorded in step 205. System software data, and step 208 is performed.
  • the first terminal acquires system software data indicated by a version number of the system software of the third terminal from the third terminal, so that the first terminal completes the system upgrade of the first terminal according to the system software data.
  • the first terminal may determine whether to perform system upgrade on the first terminal by acquiring the device model of the second terminal and the version number of the system software of the second terminal, where the second terminal may be the first Any terminal other than the terminal.
  • the method for the first terminal to obtain the device model of the second terminal and the version number of the system software of the second terminal may be specifically referred to in step 101 in the first embodiment, and details are not described herein again.
  • the first terminal may determine the second according to the device model of the second terminal and the device model of the second terminal. Whether the device model of the terminal is compatible with the device model of the first terminal. If the device model of the second terminal is compatible with the device model of the first terminal, it indicates that the system software data used by the second terminal is also applicable to the first terminal, and then the first terminal can be based on the version of the system software of the second terminal. The number and the version number of the system software of the first terminal determine whether the first terminal performs a system upgrade.
  • the method for determining whether the device model of the second terminal is compatible with the device model of the first terminal, and determining whether the first terminal performs the system according to the version number of the system software of the second terminal and the version number of the system software of the first terminal For the method of upgrading, refer to step 102 in the first embodiment, and therefore no further details are provided herein.
  • step 203 if it is determined that the version number of the system software of the second terminal is greater than the version number of the system software of the first terminal, or the release date indicated by the version number of the second terminal is indicated by the version number of the first terminal After the release date, it is determined that the first terminal performs a system upgrade.
  • the first terminal may send a connection establishment request to the second terminal, so that the second terminal establishes the connection establishment request and is established with the first terminal. Establish the first transmission connection.
  • the transmission connection between the first terminal and the second terminal may be established by using a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth, or the first terminal and the second terminal may be connected by a wired manner (for example, a data line or the like).
  • a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth
  • the first terminal and the second terminal may be connected by a wired manner (for example, a data line or the like).
  • a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth
  • a wired manner for example, a data line or the like.
  • the second terminal may send the system software data to the first terminal in the form of a data packet on the first transmission connection, for example, if The size of the system software data of the second terminal is 100 bytes in total, and is divided into 10 data packets, each data packet is 10 bytes.
  • the second The terminal sequentially sends the data packet of the system software data to the first terminal according to the protocol such as HHTTP on the first transmission connection, and in addition, to ensure the reliability of the data transmission, the first terminal receives a data sent by the second terminal.
  • a response message (eg, an ACK message, etc.) may also be sent to the second terminal to inform the second terminal that the last transmitted data packet has been correctly received by the first terminal.
  • a response message eg, an ACK message, etc.
  • the second terminal sends 10 data packets of its system software to the first terminal, the first terminal can set its own according to the 10 data packets that have been acquired (100 bytes in total).
  • the system software is upgraded, and the upgraded system is the same as the system of the second terminal.
  • the first terminal and the second terminal may further indicate whether the user uses the package that has been signed by the user.
  • the traffic (such as 2G, 3G, 4G traffic, and wifi traffic) performs the transmission process of the system software data. If the user instructs to use the contracted package traffic to transmit the system software data of the second terminal, the contracted use according to the user instruction
  • the package traffic carries the transmission of system software data of the second terminal.
  • the first transmission connection may be interrupted, which may be Since the network condition is unstable or the second terminal is beyond the connection range of the first terminal, in this case, the first terminal may perform steps 204 to 208.
  • the first terminal determines that the first transmission connection established with the second terminal is disconnected. At this time, the first terminal The breakpoint position information of the system software data of the second terminal that has been received when the first transmission connection is disconnected may be recorded.
  • the breakpoint location information may specifically include the number and size of data packets sent by the second terminal that the first terminal has received, or the number of bytes of system software data that has been received by the second terminal, for example, After receiving the fifth data packet sent by the second terminal, the terminal does not receive the data packet sent by the second terminal within 30 seconds. Therefore, the first terminal determines the first transmission connection established with the second terminal. Disconnect and record the current breakpoint location information as the fifth data packet of the system software data that has been acquired to the second terminal, for a total of 50 bytes, so that the first terminal downloads the same system software data next time. According to the recorded breakpoint position information, the breakpoint resume transmission is performed to save the overhead in the data transmission process and improve the transmission efficiency.
  • the first terminal after receiving the fifth data packet sent by the second terminal, the first terminal does not receive the data packet sent by the second terminal within 30 seconds, and the first terminal may determine the second terminal.
  • the established first transmission connection is disconnected, and the content of the fifth data packet is read (for example, the data packet is used to indicate the interface setting information of the system), then the first terminal can record the current breakpoint location information as acquired.
  • the interface setting information of the system software of the second terminal so that when the first terminal downloads the same system software next time, the breakpoint can be resumed according to the recorded breakpoint location information, thereby saving the overhead in the data transmission process and improving Transmission efficiency.
  • the first terminal may acquire the third terminal.
  • the version information is determined according to the device model of the third terminal and the version number of the system software carried in the version information of the third terminal, and is determined to be compatible with the device model of the first terminal.
  • the first terminal specifically obtains the version information of the third terminal, and determines the third version compatible with the device model of the first terminal according to the device model of the third terminal and the version number of the system software carried in the version information of the third terminal.
  • Terminal method similar to real In the steps 101 and 102 in the first embodiment, the method for determining whether the device model of the first terminal is compatible with the device model of the second terminal is not described herein.
  • the third terminal may be any terminal other than the first terminal, that is, the third terminal may be the second terminal involved in steps 201 to 203.
  • the second terminal exceeds the connection range of the first terminal, causing the first transmission connection of the first terminal and the second terminal to be disconnected.
  • the second terminal may enter the connection range of the first terminal again. In this way, the first terminal can obtain the version information of the second terminal again.
  • the first terminal acquires the version number of the system software of the third terminal that is compatible with the device model of the first terminal, if the version number of the system software of the third terminal is equal to the version number of the system software of the second terminal, The first terminal performs step 206. If the version number of the system software of the third terminal is greater than the version number of the system software of the second terminal, the first terminal performs steps 207 to 208.
  • step 206 if the version number of the system software of the third terminal is equal to the version number of the system software of the second terminal, the first terminal may establish a second transmission connection with the third terminal, and further according to the record recorded in step 205. Point location information, the system software data after the breakpoint location indicated by the breakpoint location information is obtained from the third terminal.
  • the first terminal may receive the version number of the system software carried in the version information of the third terminal and the first terminal received in steps 201 to 203. Comparing the version numbers of the system software of the second terminal to the second terminal, if the version number of the system software of the third terminal is equal to the version number of the system software of the second terminal, the system software data of the third terminal and the second terminal are The system software data is the same, and the first terminal can continue to obtain system software data that has not been downloaded from the third terminal.
  • the first terminal may also compare the release date indicated by the version number of the system software of the third terminal with the release date indicated by the version number of the system software of the second terminal, and if the release dates of the two terminals are the same, the same description is also provided.
  • the system software data of the third terminal is the same as the system software data of the second terminal, and the first terminal can Continue to obtain system software data that has not been downloaded from the third terminal.
  • the first terminal searches for the data packet indicated by the system software interruption point location information of the third terminal according to the breakpoint location information recorded in step 205, so that the first The terminal can acquire the data packet of the system software data after the data packet indicated by the breakpoint location information from the third terminal through the second transmission connection.
  • the breakpoint location information recorded by the first terminal is the fifth data packet of the system software that has been received by the second terminal, and since the system software data of the third terminal is the same as the system software data of the second terminal, The first terminal can obtain the sixth data packet of the system software data in the third terminal according to the breakpoint location information, until all the data packets in the third terminal are obtained.
  • the first terminal can upgrade the system according to the system software data acquired from the second terminal and the third terminal, and the upgraded system software is the same as the system of the second terminal and the third terminal.
  • connection relationship between the first terminal and the third terminal may be implemented by a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth, or the first terminal and the third terminal may be wired (for example, a data line).
  • a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth
  • the first terminal and the third terminal may be wired (for example, a data line).
  • the present invention is not limited thereto.
  • the second transmission connection may be disconnected.
  • the first terminal may perform a breakpoint transmission with multiple terminals according to the foregoing method, and finally Obtain the same system software as the second terminal for system upgrade.
  • step 207 if the version number of the system software of the third terminal is greater than the version number of the system software of the second terminal, the first terminal deletes all the positions before the breakpoint position indicated by the breakpoint position information recorded in step 205. Obtained system software data.
  • the first terminal may receive the version number of the system software carried in the version information of the third terminal and the first terminal received in steps 201 to 203.
  • the version number of the system software of the second terminal is compared. If the version number of the system software of the third terminal is greater than the version number of the system software of the second terminal, the system of the third terminal is updated compared with the system of the second terminal. Therefore, the first terminal can obtain the updated system software of the third terminal from the third terminal. data.
  • the first terminal may also compare the release date indicated by the version number of the system software of the third terminal with the release date indicated by the version number of the system software of the second terminal, and the release date of the system software of the third terminal is later than the first
  • the release date of the system software of the second terminal also indicates that the system of the third terminal is more systematic than the system of the second terminal.
  • the first terminal deletes all the acquired system software data before the breakpoint position indicated by the breakpoint position information recorded in step 205, so as to obtain updated system software data from the third terminal for system upgrade. .
  • step 208 after the first terminal deletes all the acquired system software before the breakpoint position indicated by the breakpoint location information recorded in step 205, the first terminal can establish a second transmission with the third terminal. Connecting, and acquiring, by the second transmission connection, the system software data indicated by the version number of the system software of the third terminal from the third terminal, so that the first terminal completes the system upgrade according to the system software data.
  • step 203 For the method for the first terminal to obtain the system software data indicated by the version number of the system software of the third terminal, the method for obtaining the system software data indicated by the version number of the system software of the second terminal by the first terminal is described in step 203. Therefore, it will not be repeated here.
  • FIG. 4 an interaction diagram of an upgrade method of a terminal system according to an embodiment of the present invention, where both the terminal 2 and the terminal 3 include a new version of system software data, specifically,
  • Step 1 Terminal 2 periodically broadcasts its own version information, including the device model (huawei A910) and the system software version number (2.0.2).
  • Step 2 After receiving the version information of the terminal 2, the terminal 1 first queries whether the device model of the terminal 2 is in the device model list of the terminal 1 (as shown in Table 1), and if the device model of the terminal 2 is in the device model list of the terminal 1 , indicating that the device model of the terminal 2 is compatible with the device model of the terminal 1, and therefore, the terminal 1 will continue to compare the version number of the system software of the terminal 2 in the version information with the version number of the own system software, once the system software of the terminal 2 is found. The version number is greater than the version number of the system software, and the terminal 1 sends a connection request to the terminal 2, requesting to establish a first transmission connection with the terminal 2, and then downloading the system software data of the terminal 2 through the first transmission connection;
  • Step 3 After receiving the connection establishment request sent by the terminal 1, the terminal 2 and the terminal 1 Establishing a first transmission connection, and starting to send a data packet of the system software data to the terminal 1 by using a protocol such as http, https or the like according to a packet-by-package manner;
  • Step 4 After receiving the data packet sent by the terminal 2, the terminal 1 can respond to the received data packet, so as to inform the terminal 2 that the data packet has been successfully received.
  • Step 5 When the terminal 1 does not receive the data packet sent by the terminal 2 within the preset time, it is determined that the first transmission connection between the terminal 1 and the terminal 2 is disconnected. At this time, the terminal 1 records that the first transmission connection is disconnected. The breakpoint location information of the received system software data;
  • Step 6 After the first transmission connection between the terminal 1 and the terminal 2 is disconnected, the terminal 1 receives the version information of the terminal 3 broadcast by the terminal 3;
  • the device model of the terminal 3 is compatible with the device model of the terminal 1, and the version number of the system software of the terminal 3 is equal to the version number of the system software of the terminal 2, the following steps 7a-10a are performed.
  • Step 7a The terminal 1 sends a connection request to the terminal 3, and establishes a second transmission connection with the terminal 3.
  • Step 10a The terminal 1 upgrades its own system to the same system as the terminal 2 and the terminal 3 according to the system software data of the terminal 2 and the terminal 3 that have been successfully downloaded.
  • the device model of the terminal 3 is compatible with the device model of the terminal 1, and the version number of the system software of the terminal 3 is greater than the version number of the system software of the terminal 2, the following steps 7b-10b are performed.
  • Step 7b is: the terminal 1 deletes the system software data before the breakpoint position indicated by the breakpoint location information, and sends a connection request to the terminal 3 to establish a second transmission connection with the terminal 3.
  • Steps 8b and 9b are similar to steps 3 and 4 in FIG. 2, and terminal 1 acquires system software data of terminal 3 from terminal 3.
  • Step 10b The terminal 1 upgrades its own system to a system like the terminal 3 according to the system software data that has successfully downloaded the terminal 3.
  • An embodiment of the present invention provides a method for upgrading a terminal system, where The terminal obtains the system model of the second terminal by obtaining the device model of the second terminal and the version number of the system software. If the system upgrade is performed on the first terminal, the system software of the second terminal is obtained from the second terminal. The system software data indicated by the version number, so that the first terminal completes the system upgrade according to the system software data.
  • the first terminal does not need to go to the designated service network of the terminal to complete the system upgrade, and at the same time, the first terminal
  • the system upgrade it is not necessary to rely on the system software data of each version regularly updated in the version server, and the first terminal can directly determine that the second terminal having a higher version number than itself has a new version of the system software, and further The second terminal directly obtains the new version of the system software data for system upgrade.
  • the upgrade method of the terminal system is more flexible and convenient, and the terminal can be solved without the deployment of the version server. The problem of online upgrades, while reducing the service due to system upgrades Time and costs.
  • An embodiment of the present invention provides a method for upgrading a terminal system, as shown in FIG. 5, including:
  • the first terminal receives a new version update message sent by the server.
  • the first terminal sends a request message of the new version information to the server according to the new version update message, so that the server sends the new version information list to the first terminal according to the request message.
  • the first terminal is configured according to a new version information list sent by the receiving server, where the new version information list includes at least a version number of the system software corresponding to the N types of device models, and a storage address of the system software data corresponding to the N types of device models. .
  • the first terminal acquires the system software data from a storage address of the system software data of the second terminal in the new version information list, so that the first terminal completes the system upgrade according to the system software data.
  • the server involved in the embodiment of the present invention may be a version server, which is used for storing and maintaining system software of various device models, and is also used for storing and maintaining a new version information list, the new version information.
  • the storage address of the system software data, wherein the storage address may be a network address storing system software data of a certain version number.
  • the server may periodically check each device model in the new version information list, the version number of the system software, and the storage address of the system software data thereof, to The real-time nature of the new version information list is ensured, so that the terminal that needs to perform the system update can acquire the new version of the system software data according to the new version information list.
  • Equipment model System software version number Storage address of system software data A110 2.3.1 Http://hao.360.cn/a1004 X220 3.0.0 Http://baidu.cn/a1004 Hence « »
  • step 301 since the version number of the system software that the first terminal is using is stored in the server, when the server updates the system software of the new version of the first terminal, or the new version information list is updated. After the version number of the system software of a terminal is higher, the server sends a new version update message to the first terminal, so that the first terminal knows that its own system software needs to be updated.
  • the system software of the first terminal may be compatible with the system software of a plurality of terminals of different types (as shown in Table 1)
  • the device model that is compatible with the device model of the first terminal is updated with new ones.
  • the system software data the server can send a new version update message to the first terminal.
  • step 302 after the first terminal receives the new version update message, the first terminal sends a request message of the new version information to the server according to the new version update message, so that the server sends the new version information to the first terminal according to the request message. List.
  • the server may send the new version information list as shown in Table 2 to the first terminal.
  • the server may further send the new version information list of the M terminals that meet the device model of the first terminal in the new version information list to the first terminal.
  • the server may further include, in the new version information list, the new version information list of the M terminals that meet the device model of the first terminal, and the version number of the system software is greater than the K of the first terminal.
  • the new version information list of the terminals is sent to the first terminal, where K ⁇ M ⁇ N.
  • step 303 after the server sends the new version information list to the first terminal according to the request message, the first terminal receives the new version information list sent by the server, so as to obtain the updated system software according to the new version information list.
  • step 304 the first terminal determines, according to the new version information list acquired in step 303, the storage address of the system software data of the second terminal from the new version information list, and further stores the system software data according to the second terminal.
  • the system obtains the system software data, so that the first terminal completes the system upgrade according to the system software data.
  • the new version information list as shown in Table 2 is sent to the first terminal, and the first terminal determines the device model of the first terminal from the new version information list.
  • the M terminals are compatible, and the K terminals whose version number of the system software is greater than the version number of the system software of the first terminal are determined in the M terminals, as shown in Table 3.
  • the first terminal determines that any terminal is the second terminal from Table 3, and downloads the updated system software data (ie, version 3.0.0) from the storage address of the system software of the second terminal, and if the download succeeds, the first terminal A terminal is completed according to the downloaded system software data.
  • System upgrade the system of the first terminal is upgraded to version 3.0.0.
  • the first terminal selects any terminal other than the second terminal in Table 3.
  • the third terminal is configured to download the updated system software data (version 3.0.0) from the storage address of the system software data of the third terminal until the first terminal successfully downloads the system software data, and completes the system upgrade. It can be seen that, in the foregoing upgrade method of the first terminal system, the first terminal does not need to establish a first transmission connection with the second terminal, and the system software can be directly obtained from the storage address of the system software data storing the second terminal. The data, in this way, the first terminal acquires the system software of the second terminal without being restricted by the geographical location and the like, thereby improving the efficiency of the first terminal for system upgrade.
  • the first terminal may also query whether the system software data of the version number is stored in the server. If the server software data of the version number is stored in the server, the first terminal may directly download the updated system software data from the server. And then complete the system upgrade based on the downloaded system software data.
  • the first terminal can preferentially download the new version of the system software data from the storage address in the new version information list, or download the new version of the system software data from the server.
  • Figure 6 is a hardware diagram of a terminal provided by the present invention.
  • the terminal can be a mobile device, a tablet computer, a notebook computer, a UMPC (Ultra-mobile Personal Computer), a netbook, a PDA (Personal Digital Assistant), and the like.
  • UMPC Ultra-mobile Personal Computer
  • PDA Personal Digital Assistant
  • the terminal may be an intelligent terminal supporting Bluetooth function, data network function or WIFI (wireless data network function), and the terminal may establish a connection with other terminals through a Bluetooth function, a data network function or WIFI, and has been established. Connected Into a data transfer task.
  • Bluetooth function data network function
  • WIFI wireless data network function
  • the terminal includes a processor 11, a communication interface 12, a memory 13, and a bus 14.
  • the processor 11, the communication interface 12, and the memory 13 are connected by a bus 14 for communication.
  • the processor 11 is a control center of the terminal, and the processor 11 performs various functions of the terminal by processing data received by the communication interface 12 and calling software or programs in the memory 13.
  • the communication interface 12 can be implemented by an optical communication interface, an electrical communication interface, a wireless communication interface, or any combination thereof.
  • the optical communication interface can be a small package pluggable transceiver (English: small form-factor pluggable transceiver, abbreviation: SFP) communication interface (English: transceiver), enhanced small form factor pluggable (English: enhanced small form-factor pluggable, Abbreviation: SFP+) Communication interface or 10 Gigabit small form-factor pluggable (English: 10Gigabit small form-factor pluggable, abbreviation: XFP) communication interface.
  • the electrical communication interface can be an Ethernet (English: Ethernet) network interface controller (English: network interface controller, abbreviation: NIC).
  • the wireless communication interface can be a wireless network interface controller (English: wireless network interface controller, abbreviation: WNIC). There may be multiple communication interfaces 12 in the terminal.
  • the memory 13 can be used to store software programs or data, and the processor 11 executes various functional applications and data processing of the terminal by running software programs or data stored in the memory 13.
  • the processor 11 of the terminal acquires version information of the second terminal through the communication interface 12 and stores the information in the memory 13, the version information including at least the device model and system software of the second terminal.
  • the version number, the second terminal is any terminal other than the first terminal; if the device model of the second terminal is compatible with the device model of the first terminal, the processor 11 is according to the The version number of the system software of the second terminal and the version number of the system software of the first terminal determine whether the first terminal performs a system upgrade; if it is determined that the first terminal performs a system upgrade, The processor 11 acquires system software data indicated by the version number of the system software of the second terminal from the second terminal through the communication interface 12, so that the first terminal completes the system according to the system software data. upgrade.
  • the first terminal when the first terminal acquires the system software of the second terminal from the second terminal in the embodiment of the present invention, the first terminal may be implemented by a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth, or may be the first
  • a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth
  • the connection between the terminal and the second terminal by means of a wired manner is not limited in the present invention.
  • the processor 11 determines whether the first terminal performs system upgrade according to the version number of the system software of the second terminal and the version number of the system software of the first terminal, and may specifically include the following steps: The version number of the second terminal is greater than the version number of the first terminal, and the processor 11 determines that the first terminal performs a system upgrade; or if the release date indicated by the version number of the second terminal is in the first After the release date indicated by the version number of the terminal, the processor 11 determines that the first terminal performs a system upgrade.
  • the processor 11 acquires the system software data indicated by the version number of the system software of the second terminal from the second terminal by using the communication interface 12, and may specifically include the following steps: the processor 11 communicates through the communication terminal 12 The second terminal sends a connection establishment request, so that the second terminal establishes a first transmission connection with the first terminal according to the establishment connection request; the communication interface 12 acquires the first transmission connection. A data packet of the system software data in the second terminal.
  • the method may further include the step of: if the first transmission connection is disconnected, the processor Step 11 records the breakpoint location information of the system software data that has been received when the first transmission connection is disconnected and stores it in the memory 13; if the communication interface 12 acquires the version information of the second terminal, the processor 21 And re-establishing the first transmission connection, so that the processor 11 acquires a breakpoint position indicated by the breakpoint location information from the second terminal according to the breakpoint location information in the memory 13. System software data afterwards.
  • the communication interface 12 acquires the second on the first transmission connection
  • the data packet of the system software data in the terminal may further include the step of: if the first transmission connection is disconnected, the processor 11 records the system software data that has been received when the first transmission connection is disconnected.
  • the breakpoint location information is stored in the memory 13; if the communication interface 12 obtains the version information of the third terminal, it is sent to the processor 11, and the processor 11 determines the first according to the version information of the third terminal.
  • the version information of the third terminal includes at least the device model of the third terminal and the version number of the system software; if it is determined that the system upgrade is performed, the processor 11 interrupts the location information according to the memory 13 Obtaining system software data indicated by a version number of the system software of the third terminal.
  • the processor 11 determines, according to the version information of the third terminal, whether the first terminal performs system upgrade, and may specifically include: if the device model of the third terminal and the device model of the first terminal Compatible, and the version number of the system software of the third terminal is the same as the version number of the system software of the second terminal, and the processor determines that the first terminal performs a system upgrade; at this time, the processor 11 is The memory 13 interrupts the location information of the system, and obtains the system software data indicated by the version number of the system software of the third terminal, which may specifically include the following steps: the processor 11 establishes a second transmission with the third terminal through the communication interface 12. Connecting, the processor 11 acquires system software data after the breakpoint position indicated by the breakpoint position information from the third terminal by using the second transmission connection according to the breakpoint position information.
  • the processor 11 determines whether the first terminal performs system upgrade according to the version information of the third terminal, and may specifically include the following steps: if the device model of the third terminal and the device model of the first terminal Compatible, and the version number of the system software of the third terminal is greater than the version number of the system software of the second terminal, and the processor 11 determines that the first terminal performs a system upgrade; at this time, the processor 11 is The memory 13 interrupts the location information of the system, and acquires the system software data indicated by the version number of the system software of the third terminal, and may specifically include the following steps: the processor 11 deletes the breakpoint indicated by the location information of the interrupt point of the memory 13 The system software data that has been acquired before the location; and establishes a second transmission connection with the third terminal; the processor 11 acquires the third terminal from the third terminal by using the second transmission connection System System software data as indicated by the version number of the software.
  • the method may further include the following steps: the communication interface 12 receives the new version information list sent by the server and stores the information in the memory 13
  • the new version information list includes at least a version number of the system software corresponding to the N types of device models, and a storage address of the system software data corresponding to the N types of device models, where the N types of device models include The device model of the second terminal, N>0.
  • the processor 11 determines that the first terminal performs a system upgrade, the processor 11 acquires the system from the storage address of the system software of the second terminal through the communication interface 12 according to the new version information list in the memory 13. Software, such that the first terminal completes the system upgrade according to the system software.
  • An embodiment of the present invention provides a terminal, where the first terminal is configured to determine whether to perform system upgrade on the first terminal by acquiring the device model of the second terminal and the version number of the system software. If the system upgrade is performed on the first terminal, the system software data indicated by the version number of the system software of the second terminal is obtained from the second terminal, so that the first terminal completes the system upgrade according to the system software data, which is visible. A terminal can complete the system upgrade without having to go to the designated service network of the terminal.
  • the first terminal does not need to rely on the system software data of each version regularly updated in the version server when performing the system upgrade, and the first terminal can directly determine
  • the second terminal higher than its own version number includes a new version of the system software, and then the new version of the system software data is directly obtained from the second terminal for system upgrade.
  • An embodiment of the present invention provides a terminal, as shown in FIG. 7, including:
  • the version information obtaining unit 21 is configured to obtain the version information of the second terminal, where the version information of the second terminal includes at least the device model of the second terminal and the version number of the system software, where the second terminal is an arbitrary terminal;
  • the version determining unit 22 is configured to: if the device model of the second terminal in the version information acquiring unit 21 is compatible with the device model of the first terminal, according to the version number and location of the system software of the second terminal Determining, by the version number of the system software of the first terminal, whether the first terminal performs a system upgrade;
  • the system upgrading unit 23 is configured to acquire system software data indicated by a version number of the system software of the second terminal from the second terminal, if the system determining is performed in the version determining unit 22, so that the The first terminal completes the system upgrade of the first terminal according to the obtained system software data.
  • the first terminal when the first terminal acquires the system software of the second terminal from the second terminal in the embodiment of the present invention, the first terminal may be implemented by a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth, or may be the first The terminal and the second terminal are connected by a wired manner (for example, a data line, etc.), which is not limited by the present invention.
  • a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth
  • a wired manner for example, a data line, etc.
  • the version determining unit 22 is configured to determine that the first terminal performs system upgrade if the version number of the second terminal in the version information acquiring unit 21 is greater than the version number of the first terminal. Or, if the release date indicated by the version number of the second terminal in the version information acquisition unit 21 is after the release date indicated by the version number of the first terminal, determining that the first terminal performs the system upgrade.
  • system upgrading unit 23 is specifically configured to: if the version determining unit 22 determines that the first terminal performs system upgrade, send a connection establishment request to the second terminal, so that the second terminal Establishing a first transmission connection with the first terminal according to the establishing a connection request; and receiving, by the established first transmission connection, a data packet of the system software of the second terminal.
  • the terminal further includes a recording unit 24 and a breakpoint resume unit 25, where
  • the recording unit 24 is configured to record, when the first transmission connection in the system upgrading unit 23 is disconnected, a data packet of the second terminal system software that has been received when the first transmission connection is disconnected. Breakpoint location information.
  • the breakpoint retransmission unit 25 is configured to re-establish the first transmission connection if the version information of the second terminal is acquired again, so that the first terminal is configured according to the Determining the breakpoint position information, and acquiring system software data after the breakpoint position indicated by the breakpoint position information from the second terminal.
  • the version determining unit 22 is further configured to: if the version information of the third terminal is obtained, determine, according to the version information of the third terminal, whether the first terminal performs system upgrade, the third terminal
  • the version information includes at least the device model of the third terminal and the version number of the system software
  • the system upgrading unit 23 is further configured to: if the first terminal determines to perform a system upgrade, acquire system software data indicated by a version number of the system software of the third terminal according to the breakpoint location information.
  • the version determining unit 22 is specifically configured to: if the device model of the third terminal is compatible with the device model of the first terminal, and the version number of the system software of the third terminal is related to the second terminal If the version numbers of the system software are the same, it is determined that the first terminal performs a system upgrade;
  • the system upgrading unit 23 is specifically configured to establish a second transmission connection with the third terminal, and obtain the breakpoint location from the third terminal by using the second transmission connection according to the breakpoint location information. System software data after the breakpoint location indicated by the information.
  • the terminal further includes a deleting unit 26, where
  • the version determining unit 22 is specifically configured to: if the device model of the third terminal is compatible with the device model of the first terminal, and the version number of the system software of the third terminal is greater than that of the second terminal The version number of the system software determines that the first terminal performs a system upgrade;
  • the deleting unit 26 is configured to delete the acquired system software data before the breakpoint location indicated by the breakpoint location information;
  • the system upgrading unit 23 is specifically configured to establish a second transmission connection with the third terminal, and obtain, by using the second transmission connection, a version number of the system software of the third terminal from the third terminal. Indicated system software data.
  • the version information obtaining unit 21 is further configured to receive a new version information list sent by the server, where the new version information list includes at least N types of device models.
  • system upgrading unit 23 is further configured to: if the system determining that the first terminal performs system upgrade in the version determining unit, store the system software from the second terminal according to the new version information list The system obtains the system software data, so that the first terminal completes the system upgrade according to the acquired system software data.
  • An embodiment of the present invention provides a terminal, where the first terminal is configured to determine whether to perform system upgrade on the first terminal by acquiring the device model of the second terminal and the version number of the system software. If the system upgrade is performed on the first terminal, the system software data indicated by the version number of the system software of the second terminal is obtained from the second terminal, so that the first terminal completes the system upgrade according to the system software data, which is visible. A terminal can complete the system upgrade without having to go to the designated service network of the terminal.
  • the first terminal does not need to rely on the system software data of each version regularly updated in the version server when performing the system upgrade, and the first terminal can directly determine
  • the second terminal higher than its own version number includes a new version of the system software, and then the new version of the system software data is directly obtained from the second terminal for system upgrade.
  • An embodiment of the present invention provides an upgrade system.
  • the system includes at least the terminal provided in Embodiment 5 or 6.
  • the first terminal 31 is taken as an example, and the first terminal is used.
  • the first terminal 31 is configured to obtain version information of the second terminal 32, where the version information includes at least a device model of the second terminal 32 and a version number of the system software; if the device model of the second terminal 32 Compatible with the device model of the first terminal 31, the first terminal 31 is based on the version number and location of the system software of the second terminal 32.
  • the version number of the system software of the first terminal 31 determines whether the first terminal 31 performs system upgrade; if the first terminal 31 determines to perform system upgrade, the first terminal 31 acquires from the second terminal 32.
  • the second terminal 32 is configured to broadcast its own version information to the first terminal 31, so that the first terminal 31 acquires version information of the second terminal 32; and sends the version information to the first terminal 31.
  • the system software data is such that the first terminal 31 acquires system software data indicated by the version number of the system software of the second terminal 32 from the second terminal 32, so that the first terminal 31 is configured according to The system software data completes the system upgrade.
  • connection relationship between the first terminal 31 and the second terminal 32 may be implemented by a wireless communication means such as a wireless network (for example, WIFI) or Bluetooth, or may be the first terminal 31 and the second terminal.
  • the terminal 32 is implemented by a wired connection (for example, a data line or the like), which is not limited by the present invention.
  • the method for the interaction between the first terminal 31 and the second terminal 32 in the upgrade system provided by the embodiment of the present invention may be used to implement the method implemented by the embodiments of the present invention shown in FIG. 1 to FIG. .
  • the upgrade system further includes a third terminal 33 connected to the first terminal 31.
  • a third terminal 33 connected to the first terminal 31.
  • the upgrade system further includes a server 34 connected to the first terminal 31, wherein the server 34 stores a new version information list, and the new version information list includes N.
  • the server 34 involved in the embodiment of the present invention may be a version server for storing various versions of system software, and the version server also stores a new version information list, when the version server obtains the new version information list.
  • Terminal contains new The version of the system software
  • the version server can update the version number of the system software of the terminal in the new version information list and the storage address of the system software (such as the network address), when the device model of the terminal in the new version information list and When the device models of the first terminal 31 match, the version server may send an update message to the first terminal 31, so that the first terminal 31 knows that a new version of the system upgrade can be performed.
  • the first terminal 31 may send a request message to the server 34, requesting the server 34 to send the new version information list to the first terminal 31, if the first terminal 31 receives the new version information list. Then, the first terminal 31 can download a new version of the system software to perform system upgrade according to the storage addresses of the plurality of system softwares provided in the new version information list.
  • the new version information list stores the storage address of the system software of the terminal A and the storage address of the system software of the terminal B, and the device model of the terminal A and the terminal B is the same as the device model of the terminal C. Then, the terminal C is receiving.
  • the updated system software may be downloaded from the storage address according to the storage address of the system software of the terminal A.
  • the terminal C may be from the terminal B. Download the updated system software at the storage address of the system software.
  • the terminal A can also query whether the system software of the version number is stored in the server, if the version number is stored in the server.
  • System software terminal A can download the updated system software directly from the server, and then complete the system upgrade according to the downloaded system software.
  • the terminal A can preferentially download the new version of the system software from the storage address in the new version information list, or download the new version of the system software from the server preferentially.
  • An embodiment of the present invention provides an upgrade system, in which a first terminal obtains a system upgrade of a first terminal by acquiring a device model of the second terminal and a version number of the system software, and if the system needs to be performed on the first terminal, And upgrading, the system software data indicated by the version number of the system software of the second terminal is obtained from the second terminal, so that the first terminal completes the system upgrade according to the system software data, and the first terminal is in the system upgrade process.
  • the first The terminal does not need to rely on the system software data of each version regularly updated in the version server when performing the system upgrade, and the first terminal can directly determine that the second terminal that is higher than the version number of the version includes the new version of the system software, and further The second terminal directly obtains the new version of the system software data for system upgrade. It can be seen that compared with the prior art, the upgrade method of the terminal system is more flexible and convenient, and the terminal can be solved without deploying the version server. The problem of online upgrades is not possible, while reducing the cost of services and time due to system upgrades.
  • the disclosed system, mobile terminal and method may be implemented in other manners.
  • the mobile terminal embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through a number of interfaces, mobile terminals or units, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be 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 unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the method described in various embodiments of the present invention. step.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, and the program code can be stored. Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明的实施例提供一种终端系统的升级方法、终端及系统,涉及通信领域,解决了在没有部署版本服务器的情况下无法进行在线升级的问题,同时降低了系统升级的服务成本和时间成本。该方案包括:第一终端获取第二终端的版本信息,第二终端的版本信息至少包括第二终端的设备型号和系统软件的版本号;若第二终端的设备型号与第一终端的设备型号兼容,则第一终端根据第二终端的系统软件的版本号和第一终端的系统软件的版本号确定第一终端是否进行系统升级;若第一终端确定进行系统升级,则第一终端从第二终端获取第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据获取的系统软件数据完成第一终端的系统升级。

Description

一种终端系统的升级方法、终端及系统 技术领域
本发明涉及通信领域,尤其涉及一种终端系统的升级方法、终端及系统。
背景技术
软件升级可以包括系统升级和应用程序升级两种类型,其中,系统升级是指将终端的系统更换成较高版本的系统(如将安卓手机中Android 4.0系统更换成Android 5.0系统);而应用程序升级是指下载安装最新版本的应用软件,使用户体验最新的应用功能。
具体的,系统升级可以包括本地升级和在线升级,其中,本地升级是指用户将新版本的系统软件下载到本地的计算机上,进而将终端通过线缆连接计算机,并按照该新版本所指示的操作指导进行系统软件升级。然而,由于在获取新版本的系统软件时,通常需要特殊的工具、命令或密码,因此,普通的用户通常需要到终端的服务网点通过专业的维护人员完成本地升级。
而在线升级,是指终端在连接数据网络后定期查询版本服务器中存储的各种版本的系统软件,当查询到与终端的设备型号匹配的新版本的系统软件时,经过用户的许可后从版本服务器中将新版本的系统软件下载到本地,进而完成系统升级过程。
可以看出,在进行本地升级时,由于需要到终端的指定服务网点完成升级,因此会造成过多的服务成本和时间成本,而进行在线升级时,终端必须依赖于版本服务器完成系统软件的升级,一旦网络质量不好或者版本服务器故障时,终端就无法及时完成系统升级。
发明内容
本发明的实施例提供一种终端系统的升级方法、终端及系统,解决了在没有部署版本服务器的情况下无法进行在线升级的问题,同时降低了系统升级的服务成本和时间成本。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,本发明的实施例提供一种终端系统的升级方法,包括:
第一终端获取第二终端的版本信息,所述第二终端的版本信息至少包括所述第二终端的设备型号和系统软件的版本号;
若所述第二终端的设备型号与所述第一终端的设备型号兼容,则所述第一终端根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;
若所述第一终端确定进行系统升级,则所述第一终端从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述第一终端的系统升级。
结合第一方面,在第一方面的第一种可能的实现方式中,所述第一终端根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级,包括:
若所述第二终端的版本号大于所述第一终端的版本号,所述第一终端则确定所述第一终端进行系统升级;或者,
若所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,所述第一终端则确定所述第一终端进行系统升级。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述第一终端从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,包括:
所述第一终端向所述第二终端发送建立连接请求,以使得所述第二终端根据所述建立连接请求与所述第一终端建立第一传输连接;
所述第一终端通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包。
结合第一方面的第二种可能的实现方式,在第一方面的第三种 可能的实现方式中,所述第一终端通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包,包括:
若所述第一传输连接断开,所述第一终端则记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
若再次获取到第二终端的版本信息,所述第一终端则重新建立所述第一传输连接接,以便于所述第一终端根据所述断点位置信息,从所述第二终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
结合第一方面的第二种可能的实现方式,在第一方面的第四种可能的实现方式中,所述第一终端通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包,包括:
若所述第一传输连接断开,所述第一终端则记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
若获取到第三终端的版本信息,所述第一终端则根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;
若所述第一终端确定进行系统升级,则所述第一终端根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
结合第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述第一终端根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,包括:
若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,第一终端则确定所述第一终端进行系统升级;
其中,所述第一终端根据所述断点位置信息,获取所述第三终 端的系统软件的版本号所指示的系统软件数据,包括:
所述第一终端与所述第三终端建立第二传输连接;
所述第一终端根据所述断点位置信息,通过所述第二传输连接从所述第三终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
结合第一方面的第四种可能的实现方式,在第一方面的第六种可能的实现方式中,所述第一终端根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,包括:
若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,第一终端则确定所述第一终端进行系统升级;
其中,所述第一终端根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据,包括:
所述第一终端删除所述断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;
所述第一终端与所述第三终端建立第二传输连接;
所述第一终端通过所述第二传输连接,从所述第三终端获取所述第三终端的系统软件的版本号所指示的系统软件数据。
结合第一方面以及第一方面的第一至第六种可能的实现方式中的任一种可能的实现方式,在第一方面的第七种可能的实现方式中,在第一终端获取第二终端的版本信息之前,还包括:
所述第一终端接收服务器发送的新版本信息列表,所述新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
结合第一方面的第七种可能的实现方式,在第一方面的第八种可能的实现方式中,若所述第一终端确定进行系统升级,则所述方法还包括:
所述第一终端根据所述新版本信息列表,从所述第二终端的系 统软件的存储地址获取所述系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述系统升级。
第二方面,本发明的实施例提供一种终端,包括:
版本信息获取单元,用于获取第二终端的版本信息,所述第二终端的版本信息至少包括所述第二终端的设备型号和系统软件的版本号;
版本确定单元,用于若所述版本信息获取单元中第二终端的设备型号与所述第一终端的设备型号兼容,则根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;
系统升级单元,用于若所述版本确定单元中确定进行系统升级,则从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述第一终端的系统升级。
结合第二方面,在第二方面的第一种可能的实现方式中,
所述版本确定单元,具体用于若所述版本信息获取单元中所述第二终端的版本号大于所述第一终端的版本号,则确定所述第一终端进行系统升级;或者,若所述版本信息获取单元中所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,则确定所述第一终端进行系统升级。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,
所述系统升级单元,具体用于若所述版本确定单元中确定所述第一终端进行系统升级,则向所述第二终端发送建立连接请求,以使得所述第二终端根据所述建立连接请求与所述第一终端建立第一传输连接;通过建立的所述第一传输连接接收所述第二终端的所述系统软件的数据包。
结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述终端还包括记录单元和断点续传单元,其 中,
所述记录单元,用于若所述系统升级单元中所述第一传输连接断开,则记录所述第一传输连接断开时已接收到的所述第二终端系统软件的数据包的断点位置信息;
所述断点续传单元,用于若再次获取到第二终端的版本信息,则重新建立所述第一传输连接接,以便于所述第一终端根据所述断点位置信息,从所述第二终端获取所述断点位置信息所指示的断点位置之后的系统软件数据。
结合第二方面的第二种可能的实现方式,在第二方面的第四种可能的实现方式中,
所述版本确定单元,还用于若获取到第三终端的版本信息,则根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;
所述系统升级单元,还用于若所述第一终端确定进行系统升级,则根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,
所述版本确定单元,具体用于若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,则确定所述第一终端进行系统升级;
所述系统升级单元,具体用于与所述第三终端建立第二传输连接;并根据所述断点位置信息,通过所述第二传输连接从所述第三终端获取所述断点位置信息所指示的断点位置之后的系统软件数据。
结合第二方面的第四种可能的实现方式,在第二方面的第六种可能的实现方式中,所述终端还包括删除单元,其中,
所述版本确定单元,具体用于若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,则确定所述第一终端进行系统升级;
所述删除单元,用于删除所述断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;
所述系统升级单元,具体用于与所述第三终端建立第二传输连接;并通过所述第二传输连接,从所述第三终端获取所述第三终端的系统软件的版本号所指示的系统软件数据。
结合第二方面以及第二方面的第一至第六种可能的实现方式中的任一种可能的实现方式,在第二方面的第七种可能的实现方式中,
所述版本信息获取单元,还用于接收服务器发送的新版本信息列表,所述新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
结合第二方面的第七种可能的实现方式,在第二方面的第八种可能的实现方式中,
所述系统升级单元,还用于若所述版本确定单元中确定所述第一终端进行系统升级,则根据所述新版本信息列表,从所述第二终端的系统软件的存储地址获取所述系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述系统升级。
第三方面,本发明的实施例提供了一种终端,所述终端包括处理器,以及与所述处理器分别相连的通讯接口和存储器,其中,
所述处理器用于:通过所述通讯接口获取第二终端的版本信息,所述第二终端的版本信息至少包括所述第二终端的设备型号和系统软件的版本号;并当所述第二终端的设备型号与所述第一终端的设备型号兼容时,根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;以 及若所述第一终端确定进行系统升级,则通过所述通讯接口从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据系统软件数据完成所述第一终端的系统升级;
所述存储器用于:存储从所述第二终端获取所述第二终端的系统软件数据。
结合第三方面,在第三方面的第一种可能的实现方式中,
所述处理器还用于:
若所述第二终端的版本号大于所述第一终端的版本号,则确定所述第一终端进行系统升级;或者,
若所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,则确定所述第一终端进行系统升级。
结合第三方面或第三方面的第一种可能的实现方式,当确定所述第一终端进行系统升级时,
所述通讯接口还用于:
向所述第二终端发送建立连接请求,以使得所述第二终端根据所述建立连接请求与所述第一终端建立第一传输连接;
通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包,并向所述存储器发送所述数据包。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,当所述传输连接断开时,
所述存储器还用于:记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
所述处理器还用于:若再次获取到第二终端的版本信息,则重新建立所述第一传输连接接,以便于所述第一终端根据所述断点位置信息,从所述第二终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
结合第三方面的第二种可能的实现方式,在第三方面的第四种可能的实现方式中,当所述传输连接断开时,
所述存储器还用于:记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
所述处理器还用于:若所述通讯接口获取到第三终端的版本信息,则根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;
所述通讯接口还用于:若确定进行系统升级,则根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
结合第三方面的第四种可能的实现方式,在第三方面的第五种可能的实现方式中,
所述处理器还用于:
若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,则确定所述第一终端进行系统升级;
通过所述通讯接口与所述第三终端建立第二传输连接;并根据所述断点位置信息,通过所述第二传输连接从所述第三终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
结合第三方面的第四种可能的实现方式,在第三方面的第六种可能的实现方式中,
所述处理器还用于:
若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,则确定所述第一终端进行系统升级;
删除所述断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;
通过所述通讯接口与所述第三终端建立第二传输连接;并通过所述第二传输连接,从所述第三终端获取所述第三终端的系统软件的版本号所指示的系统软件数据。
结合第三方面以及第三方面的第一至第六种可能的实现方式中的任一种可能的实现方式,在第三方面的第七种可能的实现方式中,
所述通讯接口还用于:接收服务器发送的新版本信息列表,并向所述存储器发送所述新版本信息列表,所述新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
结合第三方面的第七种可能的实现方式,在第三方面的第八种可能的实现方式中,
所述处理器还用于:若所述第一终端确定进行系统升级,则根据所述新版本信息列表,通过通讯接口从所述第二终端的系统软件的存储地址获取所述系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述系统升级。
第四方面,本发明的实施例提供了一种升级系统,所述系统包括如第三方面以及第三方面的第一至第八种可能的实现方式中的任一种可能的实现方式中所述的终端,以及与所述终端相连的第二终端。
结合第四方面,在第四方面的第一种可能的实现方式中,所述系统还包括与所述终端相连的第二终端。
结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述系统还包括与所述终端相连的服务器,其中,
所述服务器,用于存储新版本信息列表,所述新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
本发明的实施例提供一种终端系统的升级方法、终端及系统,其中,第一终端通过获取第二终端的设备型号和系统软件的版本号,确定是否对第一终端进行系统升级,若需要对第一终端进行系统升 级,则从第二终端处获取该第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级,可见,第一终端在进行系统升级时无需到终端的指定服务网点便可完成,同时,第一终端在进行系统升级时无需依赖于版本服务器中定期更新的各个版本的系统软件数据,第一终端可以直接确定比自身的版本号高的第二终端内包括有新版本的系统软件,进而从该第二终端处直接获得新版本的系统软件数据进行系统升级,可以看出,相较于现有技术,这种终端系统的升级方法更加灵活与便捷,可解决在没有部署版本服务器的情况下终端无法进行在线升级的问题,同时降低了因系统升级而导致的服务成本和时间成本。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1为本发明实施例提供的一种终端系统的升级方法的流程图一;
图2为本发明实施例提供的一种终端系统的升级方法的交互图一;
图3为本发明实施例提供的一种终端系统的升级方法的流程图二;
图4为本发明实施例提供的一种终端系统的升级方法的交互图二;
图5为本发明实施例提供的一种终端系统的升级方法的流程图三;
图6为本发明实施例提供的一种终端的硬件结构图;
图7为本发明实施例提供的一种终端的结构图一;
图8为本发明实施例提供的一种终端的结构图二;
图9为本发明实施例提供的一种终端的结构图三;
图10为本发明实施例提供的一种升级系统的架构图一;
图11为本发明实施例提供的一种升级系统的架构图二;
图12为本发明实施例提供的一种升级系统的架构图三。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。
另外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。
实施例一
本发明的实施例提供一种终端系统的升级方法,如图1所示,包括:
101、第一终端获取第二终端的版本信息,该版本信息至少包括第二终端的设备型号和系统软件的版本号。
102、若第二终端的设备型号与第一终端的设备型号兼容,第一终端则根据第二终端的系统软件的版本号和第一终端的系统软件的版本号确定第一终端是否进行系统升级。
103、若第一终端确定进行系统升级,则从第二终端获取第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成第一终端的系统升级。
在步骤101中,第一终端可以通过获取第二终端的设备型号和第二终端的系统软件的版本号,进而确定是否对第一终端进行系统升级,其中,第二终端可以是除该第一终端之外的任一个终端。
具体的,第二终端可以定期的通过广播的方式广播自身的版本信息,即自身的设备型号和系统软件的版本号,这样,第一终端就可以根据第二终端广播的版本信息获取到第二终端的设备型号和第二终端的系统软件的版本号;又或者,第一终端可以在与第二终端建立连接以后,通过已建立的连接从第二终端处获取第二终端的设 备型号和第二终端的系统软件的版本号,其中,第一终端与第二终端的连接关系可以是通过无线网络(例如WI-FI,即WIreless-Fidelity,无线保真)、蓝牙等无线通讯手段实现的,也可以是第一终端与第二终端通过有线方式(例如数据线等)进行连接实现的,本发明对此并不作限制。
需要说明的是,本发明实施例中涉及到的系统软件的版本号,可以均为相应终端的厂商或运营商发布的官方系统软件的版本号。
在步骤102中,当第一终端获取到第二终端的设备型号和第二终端的系统软件的版本号之后,第一终端可以根据第二终端的设备型号和自身的设备型号,确定该第二终端的设备型号是否与第一终端的设备型号兼容。
具体的,确定第二终端的设备型号与第一终端的设备型号是否兼容既可以包括软件兼容,也可以包括硬件兼容,对此,本发明实施例提供的两种可行的确定第二终端的设备型号与第一终端的设备型号是否兼容的方法,其中:
第一种方法:第一终端可以在自身预置与自身的设备型号兼容的设备型号列表,如表1所示,这样,当第一终端获取到第二终端的设备型号和第二终端的系统软件的版本号之后,第一终端便可以查询第二终端的设备型号是否在该预置的设备型号列表中,若在该预置的设备型号列表中,第一终端则确定第二终端的设备型号符合第一终端的设备型号,若不在该预置的设备型号列表中,第一终端则确定第二终端的设备型号不符合第一终端的设备型号。
表1
操作系统(可选) 品牌(可选) 设备型号
安卓系统 华为 X3
安卓系统 华为 A5100
…… …… ……
第二种方法:第一终端还可以根据已获取的第二终端的设备型号,确定该第二终端内部分硬件的参数,例如第二终端的PCB (Printed Circuit Board,中文名称为印制电路板)电路板的结构和PCB电路板内的布线信息,若该第二终端内部分硬件的参数与第一终端内相同硬件的参数相同,则确定第一终端则确定第二终端的设备型号与第一终端的设备型号兼容,反之,第一终端则确定第二终端的设备型号与第一终端的设备型号不兼容;又或者,第一终端还可以根据已获取的第二终端的设备型号,确定该第二终端所使用的硬件的硬件版本号,例如第二终端所使用的硬件的硬件版本号为RB1DA6850M,那么,若第一终端的硬件版本号与RB1DA6850M相同,则确定第一终端则确定第二终端的设备型号与第一终端的设备型号兼容,反之,第一终端则确定第二终端的设备型号与第一终端的设备型号不兼容。
这样一来,第一终端便根据第二终端的设备型号和自身的设备型号,确定该第二终端的设备型号与第一终端的设备型号是否兼容,如果第二终端的设备型号与第一终端的设备型号兼容,则说明第二终端所使用的系统软件同样适用于第一终端,那么,第一终端就可以根据第二终端的系统软件的版本号和第一终端的系统软件的版本号确定第一终端是否进行系统升级。
由于新版本的系统软件的版本号通常大于旧版本的系统软件的版本号,例如版本4.0.0的更新版本为5.0.0,因此,第一终端可以通过判断第二终端的版本号是否大于所述第一终端的版本号,确定进行系统升级,其中,若第二终端的版本号大于第一终端的版本号,第一终端则确定对第一终端进行系统升级。
又或者,在一些特殊情况下,新版本的系统软件的版本号不一定大于旧版本的系统软件的版本号,此时,第一终端可以根据第二终端的版本号进一步确定第二终端的版本的发布日期,其中,若第二终端的版本号所指示的发布日期在第一终端的版本号所指示的发布日期之后,则说明第二终端的系统软件较于第一终端的系统软件而言是新版本的系统软件,因此,第一终端可确定对第一终端进行系统升级。
至此,第一终端根据第二终端的设备型号和系统软件的版本号确定是否对第一终端进行系统升级。
在步骤103中,若第一终端已确定进行系统升级,那么,第一终端则从第二终端获取该第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级。
其中,系统软件是指控制和协调终端及外部设备,支持应用软件开发和运行的系统,是无需用户干预的各种程序的集合,因此,第二终端的系统软件的版本号所指示的系统软件数据,可以具体包括第一终端进行系统升级所需的所有数据,可以以数据包等形式存在,本发明对此不做限定。
具体的,若第一终端已确定进行系统升级,第一终端便可向所述第二终端发送建立连接请求,当第二终端接收到该建立连接请求后,根据该建立连接请求与第一终端建立第一传输连接,例如第一终端使用无线网络(例如WI-FI)或者蓝牙等方式与第二终端建立第一传输连接,这样,第二终端便可以在该第一传输连接上将自身的系统软件数据的数据包发送至第一终端,当第一终端从第二终端上下载完成该系统软件的数据包后,便可以根据该系统软件的数据包进行系统升级。
此处,第一终端在第一传输连接上获取第二终端的系统软件数据时,第一终端可以在第一传输连接建立好之后,主动从第二终端内下载,又或者,在第一传输连接建立好之后,触发第二终端将自身的系统软件数据通过该第一传输连接发送至第一终端。
示例性的,如图2所示,为本发明实施例提供的一种终端系统的升级方法的交互图,其中,终端2内包含有新版本的系统软件数据。
步骤1:终端2会定期广播自己的版本信息,该版本信息包括设备型号(huawei A910)和系统软件的版本号(2.0.2);
步骤2:终端1接收到终端2的版本信息后,首先查询终端2设备型号是否在终端1的设备型号列表(如表1所示)中,如果终 端2设备型号在终端1的设备型号列表中,则表示终端2的设备型号与终端1的设备型号兼容,因此,终端1会继续比较版本信息中终端2的系统软件的版本号和自身系统软件的版本号,一旦发现终端2的系统软件的版本号大于比自身系统软件的版本号,终端1则向终端2发送连接请求,请求与终端2建立传输连接,进而下载终端2的系统软件数据;
步骤3:终端2接收到终端1发送的建立连接请求后,与终端1建立第一传输连接,并开始基于逐包的方式,使用http(HTTP,HyperText Transfer Protocol,超文本传输协议)或https(Hyper Text Transfer Protocol over Secure Socket Layer,是以安全为目标的HTTP通道)等协议以数据包的形式向终端1发送其系统软件数据;
步骤4:终端1每接受到终端2发送的数据包后,可以对接收到的数据包进行应答,以便于告知终端2该数据包已成功接收;
在步骤4之后,终端1与终端2可一直重复上述系统软件数据的数据包的发送与应答过程,直到系统软件数据中的最后一个数据包被终端1成功接收,即终端1从终端2处将该系统软件数据成功下载;
步骤5:终端1断开和终端2的第一传输连接;
步骤6:终端1根据已经成功下载的终端2的系统软件数据,将自身的系统也升级到如终端2一样的系统。
另外,在第一终端则从第二终端获取该第二终端的系统软件的版本号所指示的系统软件的过程中,可能会出现传输连接中断的情况,这种情况可能是由于网络状况不稳定,或者是第二终端超出了第一终端的连接范围导致的,在这种情况下,本发明的实施例提供一种终端系统的升级方法可通过引入第三终端完成第一终端的系统升级,该方法将在后续实施例中详细阐述,故此处不再赘述。
本发明的实施例提供一种终端系统的升级方法,其中,第一终端通过获取第二终端的设备型号和系统软件的版本号,确定是否对 第一终端进行系统升级,若需要对第一终端进行系统升级,则从第二终端处获取该第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级,可见,第一终端在进行系统升级时无需到终端的指定服务网点便可完成,同时,第一终端在进行系统升级时无需依赖于版本服务器中定期更新的各个版本的系统软件数据,第一终端可以直接确定比自身的版本号高的第二终端内包括有新版本的系统软件,进而从该第二终端处直接获得新版本的系统软件数据进行系统升级,可以看出,相较于现有技术,这种终端系统的升级方法更加灵活与便捷,可解决在没有部署版本服务器的情况下终端无法进行在线升级的问题,同时降低了因系统升级而导致的服务成本和时间成本。
实施例二
本发明的实施例提供一种终端系统的升级方法,如图3所示,包括:
201、第一终端获取第二终端的版本信息,该版本信息至少包括第二终端的设备型号和系统软件的版本号。
202、若第二终端的设备型号与第一终端的设备型号兼容,第一终端则根据第二终端的系统软件的版本号和第一终端的系统软件的版本号确定是否对第一终端进行系统升级。
203、若确定对第一终端进行系统升级,第一终端则与第二终端建立第一传输连接,并在该第一传输连接上接收第二终端内的系统软件数据。
204、若该第一传输连接断开,第一终端则记录第一传输连接断开时已接收到的该系统软件数据的断点位置信息。
205、第一终端获取与第一终端的设备型号兼容的第三终端的系统软件的版本号。
206、若第三终端的系统软件的版本号与第二终端的系统软件的版本号相等,第一终端则根据步骤205中记录的断点位置信息,从第三终端内获取断点位置信息所指示的断点位置之后的系统软件数 据。
207、若第三终端的系统软件的版本号大于第二终端的系统软件的版本号,第一终端则删除步骤205中记录的断点位置信息所指示的断点位置之前的所有已获取到的系统软件数据,并执行步骤208。
208、第一终端从第三终端内获取第三终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成第一终端的系统升级。
在步骤201中,第一终端可以通过获取第二终端的设备型号和第二终端的系统软件的版本号,进而确定是否对第一终端进行系统升级,其中,第二终端可以是除该第一终端之外的任一个终端。
具体的,第一终端获取第二终端的设备型号和第二终端的系统软件的版本号的方法可具体参见实施例一中的步骤101,故此处不再赘述。
在步骤202中,当第一终端获取到第二终端的设备型号和第二终端的系统软件的版本号之后,第一终端可以根据第二终端的设备型号和自身的设备型号,确定该第二终端的设备型号是否与第一终端的设备型号兼容。如果第二终端的设备型号与第一终端的设备型号兼容,则说明第二终端所使用的系统软件数据同样适用于第一终端,那么,第一终端就可以根据第二终端的系统软件的版本号和第一终端的系统软件的版本号确定第一终端是否进行系统升级。
具体的,确定第二终端的设备型号是否与第一终端的设备型号兼容的方法,以及根据第二终端的系统软件的版本号和第一终端的系统软件的版本号确定第一终端是否进行系统升级的方法可具体参见实施例一中的步骤102,故此处不再赘述。
在步骤203中,若已确定第二终端的系统软件的版本号大于第一终端的系统软件的版本号,或者,第二终端的版本号所指示的发布日期在第一终端的版本号所指示的发布日期之后,则确定对第一终端进行系统升级,此时,第一终端可以向第二终端发送建立连接请求,以使得第二终端在接收到该建立连接请求后,与第一终端建 立第一传输连接。
其中,第一终端与第二终端的传输连接可以是通过无线网络(例如WIFI)、蓝牙等无线通讯手段建立的,也可以是第一终端与第二终端通过有线方式(例如数据线等)进行连接实现的,本发明对此并不作限制。
具体的,当第一终端与第二终端建立第一传输连接之后,第二终端便可在该第一传输连接上向第一终端以数据包的形式发送其系统软件数据,示例性的,若第二终端的系统软件数据的大小共有100个字节,共划分为10个数据包,每个数据包为10个字节,当第一终端与第二终端建立第一传输连接之后,第二终端便在该第一传输连接上基于HHTTP等协议依次向第一终端发送其系统软件数据的数据包,另外,为保证数据传输的可靠性,第一终端每接受到第二终端发送的一个数据包时,也可向第二终端发送应答消息(例如ACK报文等),以告知第二终端上一次发送的数据包已经被第一终端正确接收。这样一来,当第二终端将其系统软件的10个的数据包都发送给第一终端后,第一终端便可以根据已获取到的10个的数据包(共100字节)将自身的系统软件进行系统升级,升级后的系统与第二终端的系统相同。
当然,第一终端从第二终端获取该第二终端的系统软件的版本号所指示的系统软件数据的过程中,第一终端和第二终端还可以指示用户是否使用其自身终端已签约的套餐流量(如2G,3G,4G流量,及wifi流量)进行该系统软件数据的传输过程,若用户指示使用已签约的套餐流量进行第二终端的系统软件数据的传输,则根据用户指示使用已签约的套餐流量进行第二终端的系统软件数据的传输。
在步骤203中,在第一终端从第二终端获取该第二终端的系统软件的版本号所指示的系统软件数据的过程中,可能会出现第一传输连接中断的情况,这种情况可能是由于网络状况不稳定,或者是第二终端超出了第一终端的连接范围导致的,在这种情况下,第一终端可执行步骤204至208。
具体的,若第一终端在预置时间内没有接收到第二终端发送的系统软件数据,那么,第一终端则确定与第二终端建立的第一传输连接断开,此时,第一终端可以记录该第一传输连接断开时,已经接收到的第二终端的系统软件数据的断点位置信息。
其中,该断点位置信息可具体包含第一终端已经接收到的第二终端发送的数据包的个数和大小,或者已经接收到的第二终端的系统软件数据的字节数,例如,第一终端在接收到第二终端发送的第5个数据包后,在30秒内都未再接到第二终端发送的数据包,因此,第一终端确定与第二终端建立的第一传输连接断开,并记录当前断点位置信息为已获取到第二终端的系统软件数据的第5个数据包,共计50个字节,以便于第一终端下次下载相同的系统软件数据时,可根据记录的断点位置信息进行断点续传,以节省数据传输过程中的开销,并提高传输效率。
又或者,例如,第一终端在接收到第二终端发送的第5个数据包后,在30秒内都未再接到第二终端发送的数据包,第一终端则可以确定与第二终端建立的第一传输连接断开,并读取第5个数据包的内容(例如该数据包用于指示系统的界面设置信息),那么,第一终端可记录当前断点位置信息为已获取到第二终端的系统软件的界面设置信息,以便于第一终端下次下载相同的系统软件时,可根据记录的断点位置信息进行断点续传,以节省数据传输过程中的开销,并提高传输效率。
在步骤205中,若该第一传输连接断开,且第一终端已记录传输连接断开时已接收到的该系统软件数据的断点位置信息,那么,第一终端可以获取第三终端的版本信息,并根据第三终端的版本信息中携带的第三终端的设备型号和系统软件的版本号,确定是否与第一终端的设备型号兼容。
其中,第一终端具体获取第三终端的版本信息,以及根据第三终端的版本信息中携带的第三终端的设备型号和系统软件的版本号,确定与第一终端的设备型号兼容的第三终端的方法,类似于实 施例一中的步骤101与102中,确定第一终端的设备型号与第二终端的设备型号是否兼容的方法,故此处不再赘述。
需要说明的是,该第三终端可以是除第一终端外的任意终端,也就是说,该第三终端可以为步骤201至203中涉及的第二终端。例如,第二终端超出了第一终端的连接范围导致第一终端与第二终端的第一传输连接断开,然而,过了一段时间后,第二终端有可能又进入第一终端的连接范围,这样,第一终端便可以再次获取第二终端的版本信息。
进一步地,在第一终端获取与第一终端的设备型号兼容的第三终端的系统软件的版本号之后,若第三终端的系统软件的版本号与第二终端的系统软件的版本号相等,第一终端则执行步骤206,若第三终端的系统软件的版本号大于第二终端的系统软件的版本号,第一终端则执行步骤207至208。
在步骤206中,若第三终端的系统软件的版本号与第二终端的系统软件的版本号相等,第一终端则可以与第三终端建立第二传输连接,进而根据步骤205中记录的断点位置信息,从第三终端获取该断点位置信息所指示的断点位置之后的系统软件数据。
其中,第一终端与第三终端建立第二传输连接的方法可参见第一终端与第二终端建立第一传输连接的方法,此处不再赘述。
当第一终端获取到与第一终端的设备型号兼容的第三终端后,第一终端可以将第三终端的版本信息中携带的系统软件的版本号与步骤201至203中第一终端已接收到的第二终端的系统软件的版本号进行比较,若第三终端的系统软件的版本号与第二终端的系统软件的版本号相等,则说明第三终端的系统软件数据与第二终端的系统软件数据是一样的,第一终端可以继续从第三终端获取尚未下载完成的系统软件数据。当然,第一终端还可以比较第三终端的系统软件的版本号所指示的发布日期与第二终端的系统软件的版本号所指示的发布日期,若二者的发布日期相同,则同样说明第三终端的系统软件数据与第二终端的系统软件数据是一样的,第一终端可以 继续从第三终端获取尚未下载完成的系统软件数据。
具体的,在与第三终端建立第二传输连接之后,第一终端根据步骤205中记录的断点位置信息,查找第三终端的系统软件中断点位置信息所指示的数据包,这样,第一终端便可以通过第二传输连接,从第三终端获取该断点位置信息所指示的数据包之后的系统软件数据的数据包。例如,第一终端记录的断点位置信息为已接收第二终端发送的系统软件的第5个数据包,由于第三终端的系统软件数据与第二终端的系统软件数据是一样的,因此,第一终端便可根据该断点位置信息获取第三终端内系统软件数据的第6个数据包,直至获取到第三终端内所有的数据包。这样,第一终端便可以根据从第二终端和第三终端中获取到的系统软件数据,将自身的系统进行系统升级,升级后的系统软件与第二终端和第三终端的系统相同。
需要说明的是,第一终端与第三终端的连接关系可以是通过无线网络(例如WIFI)、蓝牙等无线通讯手段实现的,也可以是第一终端与第三终端通过有线方式(例如数据线等)进行连接实现的,本发明对此并不作限制。
当然,在第一终端与第三终端进行系统软件的传输时,也有可能出现第二传输连接断开的情况,类似的,第一终端可以按照上述方法与多个终端进行断点续传,最后获取与第二终端相同的系统软件进行系统升级。
在步骤207中,若第三终端的系统软件的版本号大于第二终端的系统软件的版本号,第一终端则删除步骤205中记录的断点位置信息所指示的断点位置之前的所有已获取到的系统软件数据。
当第一终端获取到与第一终端的设备型号兼容的第三终端后,第一终端可以将第三终端的版本信息中携带的系统软件的版本号与步骤201至203中第一终端已接收到的第二终端的系统软件的版本号进行比较,若第三终端的系统软件的版本号大于第二终端的系统软件的版本号等,则说明第三终端的系统比第二终端的系统更新,因此,第一终端可以从第三终端内获取更新的第三终端的系统软件 数据。当然,第一终端还可以比较第三终端的系统软件的版本号所指示的发布日期与第二终端的系统软件的版本号所指示的发布日期,第三终端的系统软件的发布日期晚于第二终端的系统软件的发布日期,则同样说明第三终端的系统比第二终端的系统更新。此时,第一终端则删除步骤205中记录的断点位置信息所指示的断点位置之前的所有已获取到的系统软件数据,以便于从第三终端处获取更新的系统软件数据进行系统升级。
在步骤208中,在第一终端则删除步骤205中记录的断点位置信息所指示的断点位置之前的所有已获取到的系统软件之后,第一终端便可与第三终端建立第二传输连接,并通过第二传输连接从第三终端获取第三终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级。
其中,第一终端获取第三终端的系统软件的版本号所指示的系统软件数据的方法可参见步骤203中,第一终端获取第二终端的系统软件的版本号所指示的系统软件数据的方法,故此处不再赘述。
示例性的,如图4所示,为为本发明实施例提供的一种终端系统的升级方法的交互图,其中,终端2和终端3内均包含有新版本的系统软件数据,具体的,
步骤1:终端2会定期广播自己的版本信息,该版本信息包括设备型号(huawei A910)和系统软件的版本号(2.0.2);
步骤2:终端1接收到终端2的版本信息后,首先查询终端2设备型号是否在终端1的设备型号列表(如表1所示)中,如果终端2设备型号在终端1的设备型号列表中,则表示终端2的设备型号与终端1的设备型号兼容,因此,终端1会继续比较版本信息中终端2的系统软件的版本号和自身系统软件的版本号,一旦发现终端2的系统软件的版本号大于比自身系统软件的版本号,终端1则向终端2发送连接请求,请求与终端2建立第一传输连接,进而通过第一传输连接下载终端2的系统软件数据;
步骤3:终端2接收到终端1发送的建立连接请求后,与终端1 建立第一传输连接,并开始基于逐包的方式,使用http,https等协议向终端1发送其系统软件数据的数据包;
步骤4:终端1每接受到终端2发送的数据包后,可以对接收到的数据包进行应答,以便于告知终端2该数据包已成功接收;
步骤5:当终端1在预置时间内未接收到终端2发送的数据包,则确定终端1与终端2的第一传输连接断开,此时,终端1记录第一传输连接断开时已接收到的该系统软件数据的断点位置信息;
步骤6:终端1与终端2的第一传输连接断开之后,终端1接收终端3广播的终端3的版本信息;
进一步地,若终端3的设备型号与终端1的设备型号兼容,且终端3的系统软件的版本号与终端2的系统软件的版本号相等,则执行下述步骤7a-10a。
步骤7a:终端1向终端3发送连接请求,并建立与终端3的第二传输连接;
步骤8a和9a与图2中步骤3和4类似,终端1从终端3获取断点位置信息所指示的断点位置之后的系统软件数据;
步骤10a:终端1根据已经成功下载的终端2和终端3的系统软件数据,将自身的系统升级到如终端2和终端3一样的系统。
进一步地,若终端3的设备型号与终端1的设备型号兼容,且终端3的系统软件的版本号大于终端2的系统软件的版本号,则执行下述步骤7b-10b
步骤7b为:终端1删除断点位置信息所指示的断点位置之前的系统软件数据,并向终端3发送连接请求,以建立与终端3的第二传输连接;
步骤8b和9b与图2中的步骤3和4类似,终端1从终端3获取终端3的系统软件数据;
步骤10b:终端1根据已经成功下载终端3的系统软件数据,将自身的系统升级到如终端3一样的系统。
本发明的实施例提供一种终端系统的升级方法,其中,第一终 端通过获取第二终端的设备型号和系统软件的版本号,确定是否对第一终端进行系统升级,若需要对第一终端进行系统升级,则从第二终端处获取该第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级,可见,第一终端在进行系统升级时无需到终端的指定服务网点便可完成,同时,第一终端在进行系统升级时无需依赖于版本服务器中定期更新的各个版本的系统软件数据,第一终端可以直接确定比自身的版本号高的第二终端内包括有新版本的系统软件,进而从该第二终端处直接获得新版本的系统软件数据进行系统升级,可以看出,相较于现有技术,这种终端系统的升级方法更加灵活与便捷,可解决在没有部署版本服务器的情况下终端无法进行在线升级的问题,同时降低了因系统升级而导致的服务成本和时间成本。
实施例三
本发明的实施例提供一种终端系统的升级方法,如图5所示,包括:
301、第一终端接收服务器发送的新版本更新消息。
302、第一终端根据新版本更新消息向服务器发送新版本信息的请求消息,以使得服务器根据该请求消息向第一终端发送新版本信息列表。
303、第一终端根据接收服务器发送的新版本信息列表,该新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及该N种设备型号所对应的系统软件数据的存储地址。
304、第一终端从该新版本信息列表中第二终端的系统软件数据的存储地址获取该系统软件数据,以使得第一终端根据该系统软件数据完成系统升级。
本发明的实施例中所涉及的服务器可以是版本服务器,该服务器用于存储和维护各种设备型号的系统软件,同时,该服务器中还用于存储和维护新版本信息列表,该新版本信息列表至少N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的 系统软件数据的存储地址,其中,该存储地址可以为存储某一版本号的系统软件数据的网络地址。
如表2所示,为该新版本信息列表的一种可能的形式,其中,该新版本信息列表中包括N种设备型号中的每一种设备型号所对应的系统软件的版本号,以及每一种系统软件的版本号指示的系统软件数据的存储地址,服务器可以定期对新该新版本信息列表中每个设备型号、系统软件的版本号和其系统软件数据的存储地址进行校验,以确保该新版本信息列表的实时性,以便于需要进行系统更新的终端能够根据该新版本信息列表获取新版本的系统软件数据。
表2
设备型号 系统软件的版本号 系统软件数据的存储地址
A110 2.3.1 http://hao.360.cn/a1004
X220 3.0.0 http://baidu.cn/a1004
…… …… ……
在步骤301中,由于服务器中存储有第一终端正在使用的系统软件的版本号,因此,当服务器中更新了该第一终端的新版本的系统软件,或者新版本信息列表中更新了比第一终端的系统软件的版本号更高的版本号后,服务器会向第一终端发送新版本更新消息,以使得第一终端获知自身的系统软件需要进行更新。
另外,由于第一终端的系统软件可能与多个不同设别型号的终端的系统软件互相兼容(如表1所示),因此,一旦有与第一终端的设备型号兼容的设备型号更新了新的系统软件数据,服务器便可向第一终端发送新版本更新消息。
在步骤302中,当第一终端接收到新版本更新消息后,第一终端根据新版本更新消息向服务器发送新版本信息的请求消息,以使得服务器根据该请求消息向第一终端发送新版本信息列表。
可选的,服务器在接收到该请求消息后,可以将如表2所示的新版本信息列表发送给第一终端。
或者,服务器在接收到该请求消息后,还可以将该新版本信息列表中符合第一终端的设备型号的M个终端的新版本信息列表发送给第一终端。
又或者,服务器在接收到该请求消息后,还可以将该新版本信息列表中符合第一终端的设备型号的M个终端的新版本信息列表中,系统软件的版本号大于第一终端的K个终端的新版本信息列表发送给第一终端,其中,K≤M≤N。
在步骤303中,服务器根据该请求消息向第一终端发送新版本信息列表之后,第一终端接收服务器发送的该新版本信息列表,以便于根据该新版本信息列表获取更新后的系统软件。
在步骤304中,第一终端根据步骤303中获取的新版本信息列表,从该新版本信息列表中确定第二终端的系统软件数据的存储地址,进而根据该第二终端的系统软件数据的存储地址获取该系统软件数据,以使得第一终端根据该系统软件数据完成系统升级。
沿用步骤302中服务器在接收到该请求消息后,将如表2所示的新版本信息列表发送给第一终端的例子,第一终端从该新版本信息列表中确定与第一终端的设备型号兼容的M个终端,并在这M个终端中确定其系统软件的版本号大于第一终端的系统软件的版本号的K个终端,如表3所示。
表3
Figure PCTCN2015074948-appb-000001
此时,第一终端从表3中确定任意终端为第二终端,并从第二终端的系统软件的存储地址处下载更新后的系统软件数据(即3.0.0版本),若下载成功,第一终端则根据已下载的该系统软件数据完成 系统升级,即将第一终端的系统升级至3.0.0版本。
若无法从第二终端的系统软件的存储地址处下载更新后的系统软件数据(3.0.0版本),或者下载速度小于阈值,第一终端则选择表3中除第二终端外的任一终端为第三终端,并从该第三终端的系统软件数据的存储地址处下载更新后的系统软件数据(3.0.0版本),直至第一终端成功下载到该系统软件数据,并完成系统升级。可以看出,在上述第一终端系统的升级方法中,第一终端无需建立与第二终端的第一传输连接,可直接从存储有第二终端的系统软件数据的存储地址中获取该系统软件数据,这样一来,第一终端获取第二终端的系统软件时不会受到地理位置等因素的制约,提高了第一终端进行系统升级的效率。
进一步地,若第一终端遍历表3中所有的存储地址,都无法成功下载更新后的系统软件数据,或者,第一终端从表3中所有的存储地址下载系统软件数据的速度都小于阈值时,第一终端也可以查询服务器中是否存储有该版本号的系统软件数据,若服务器中存储有该版本号的系统软件数据,第一终端则可直接从服务器中下载该更新后的系统软件数据,进而根据下载到的系统软件数据完成系统升级。
当然,第一终端可以策略性的设置优先从新版本信息列表中的存储地址下载新版本的系统软件数据,或者优先从服务器中下载新版本的系统软件数据,本发明对此不作限制。
实施例四
附图6示出的是本发明提供的终端的硬件示意图。
该终端可以为手机、平板电脑、笔记本电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本、PDA(Personal Digital Assistant,个人数字助理)等终端设备。
进一步地,该终端可以为支持支持蓝牙功能、数据网络功能或WIFI(无线数据网络功能)的智能终端,该终端可以通过蓝牙功能、数据网络功能或WIFI与其他终端建立连接,并在已建立的连接上完 成数据传输任务。
如图6,所述终端包括处理器11、通讯接口12、存储器13以及总线14
其中,处理器11、通讯接口12、存储器13通过总线14连接进行通信。
处理器11,是所述终端的控制中心,处理器11通过对通讯接口12接收到的数据进行处理,并调用存储器13中的软件或程序,执行所述终端的各项功能。
通讯接口12,可以由光通讯接口,电通讯接口,无线通讯接口或其任意组合实现。例如,光通讯接口可以是小封装可插拔(英文:small form-factor pluggable transceiver,缩写:SFP)通讯接口(英文:transceiver),增强小封装可插拔(英文:enhanced small form-factor pluggable,缩写:SFP+)通讯接口或10吉比特小封装可插拔(英文:10Gigabit small form-factor pluggable,缩写:XFP)通讯接口。电通讯接口可以是以太网(英文:Ethernet)网络接口控制器(英文:network interface controller,缩写:NIC)。无线通讯接口可以是无线网络接口控制器(英文:wireless network interface controller,缩写:WNIC)。终端中可以有多个通信接口12。
存储器13,可用于存储软件程序或数据,处理器11通过运行存储在存储器13的软件程序或数据,从而执行所述终端的各种功能应用以及数据处理。
在本发明的实施例中,所述终端的处理器11通过通讯接口12获取第二终端的版本信息并存储在存储器13中,所述版本信息至少包括所述第二终端的设备型号和系统软件的版本号,所述第二终端为除所述第一终端外的任意终端;若所述第二终端的设备型号符合与所述第一终端的设备型号兼容,处理器11则根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;若确定对所述第一终端进行系统升级, 处理器11则通过通讯接口12从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据所述系统软件数据完成所述系统升级。
需要说明的是,本发明实施例中第一终端从第二终端处获取第二终端的系统软件时,可以是通过无线网络(例如WIFI)、蓝牙等无线通讯手段实现的,也可以是第一终端与第二终端通过有线方式(例如数据线等)进行连接实现的实现的,本发明对此并不作限制。
进一步地,处理器11根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级,可以具体包括步骤:若所述第二终端的版本号大于所述第一终端的版本号,处理器11则确定所述第一终端进行系统升级;或者,若所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,处理器11则确定所述第一终端进行系统升级。
进一步地,处理器11通过通讯接口12从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,可以具体包括步骤:所述处理器11通过通讯接12向所述第二终端发送建立连接请求,以使得所述第二终端根据所述建立连接请求与所述第一终端建立第一传输连接;所述通讯接口12在所述第一传输连接上获取所述第二终端内所述系统软件数据的数据包。
进一步地,所述通讯接口12在所述第一传输连接上获取所述第二终端内所述系统软件数据的数据包时,还可以包括步骤:若所述第一传输连接断开,处理器11则记录所述第一传输连接断开时已接收到的所述系统软件数据的断点位置信息并存储在存储器13中;若再次通讯接口12获取到第二终端的版本信息,处理器21则重新建立所述第一传输连接接,以便于所述处理器11根据所述存储器13中的断点位置信息,从所述第二终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
又或者,所述通讯接口12在所述第一传输连接上获取所述第二 终端内所述系统软件数据的数据包时,还可以包括步骤:若所述第一传输连接断开,处理器11则记录所述第一传输连接断开时已接收到的所述系统软件数据的断点位置信息并存储在存储器13中;若通讯接口12获取到第三终端的版本信息,则发送至处理器11,处理器11根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;若确定进行系统升级,处理器11则根据所述存储器13中断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
进一步地,处理器11根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,可以具体包括步骤:若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,处理器则确定所述第一终端进行系统升级;此时,处理器11则根据所述存储器13中断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据,可以具体包括步骤:处理器11通过通讯接口12与所述第三终端建立第二传输连接;处理器11根据所述断点位置信息,通过所述第二传输连接从所述第三终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
类似的,处理器11根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,可以具体包括步骤:若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,处理器11则确定所述第一终端进行系统升级;此时,处理器11则根据所述存储器13中断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据,可以具体包括步骤:处理器11删除所述存储器13中断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;并与所述第三终端建立第二传输连接;处理器11通过所述第二传输连接,从所述第三终端获取所述第三终端的系统 软件的版本号所指示的系统软件数据。
进一步地,在所述处理器11通过通讯接口12获取第二终端的版本信息并存储在存储器13之前,还可以具体包括步骤:通讯接口12接收服务器发送的新版本信息列表并存储至存储器13中,所述新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
若处理器11确定所述第一终端进行系统升级,处理器11则根据所述存储器13中的新版本信息列表,通过通讯接口12从所述第二终端的系统软件的存储地址获取所述系统软件,以使得所述第一终端根据所述系统软件完成所述系统升级。
本发明的实施例提供一种终端,设所述终端为第一终端时,该第一终端通过获取第二终端的设备型号和系统软件的版本号,确定是否对第一终端进行系统升级,若需要对第一终端进行系统升级,则从第二终端处获取该第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级,可见,第一终端在进行系统升级时无需到终端的指定服务网点便可完成,同时,第一终端在进行系统升级时无需依赖于版本服务器中定期更新的各个版本的系统软件数据,第一终端可以直接确定比自身的版本号高的第二终端内包括有新版本的系统软件,进而从该第二终端处直接获得新版本的系统软件数据进行系统升级,可以看出,相较于现有技术,这种终端系统的升级方法更加灵活与便捷,可解决在没有部署版本服务器的情况下终端无法进行在线升级的问题,同时降低了因系统升级而导致的服务成本和时间成本。
实施例五
本发明的实施例提供一种终端,如图7所示,包括:
版本信息获取单元21,用于获取第二终端的版本信息,所述第二终端的版本信息至少包括所述第二终端的设备型号和系统软件的版本号,所述第二终端为任意终端;
版本确定单元22,用于若所述版本信息获取单元21中所述第二终端的设备型号与所述第一终端的设备型号兼容,则根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;
系统升级单元23,用于若所述版本确定单元22中确定进行系统升级,则从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述第一终端的系统升级。
需要说明的是,本发明实施例中第一终端从第二终端处获取第二终端的系统软件时,可以是通过无线网络(例如WIFI)、蓝牙等无线通讯手段实现的,也可以是第一终端与第二终端通过有线方式(例如数据线等)进行连接实现的,本发明对此并不作限制。
进一步地,所述版本确定单元22,具体用于若所述版本信息获取单元21中所述第二终端的版本号大于所述第一终端的版本号,则确定所述第一终端进行系统升级;或者,若所述版本信息获取单元21中所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,则确定所述第一终端进行系统升级。
进一步地,所述系统升级单元23,具体用于若所述版本确定单元22中确定所述第一终端进行系统升级,则向所述第二终端发送建立连接请求,以使得所述第二终端根据所述建立连接请求与所述第一终端建立第一传输连接;并通过建立的所述第一传输连接接收所述第二终端的所述系统软件的数据包。
进一步地,如图8所示,所述终端还包括记录单元24和断点续传单元25,其中,
所述记录单元24,用于若所述系统升级单元23中所述第一传输连接断开,则记录所述第一传输连接断开时已接收到的所述第二终端系统软件的数据包的断点位置信息。
所述断点续传单元25,用于若再次获取到第二终端的版本信息,则重新建立所述第一传输连接接,以便于所述第一终端根据所 述断点位置信息,从所述第二终端获取所述断点位置信息所指示的断点位置之后的系统软件数据。
进一步地,所述版本确定单元22,还用于若获取到第三终端的版本信息,则根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;
所述系统升级单元23,还用于若所述第一终端确定进行系统升级,则根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
所述版本确定单元22,具体用于若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,则确定所述第一终端进行系统升级;
所述系统升级单元23,具体用于与所述第三终端建立第二传输连接;并根据所述断点位置信息,通过所述第二传输连接从所述第三终端获取所述断点位置信息所指示的断点位置之后的系统软件数据。
进一步地,如图9所示,所述终端还包括删除单元26,其中,
所述版本确定单元22,具体用于若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,则确定所述第一终端进行系统升级;
所述删除单元26,用于删除所述断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;
所述系统升级单元23,具体用于与所述第三终端建立第二传输连接;并通过所述第二传输连接,从所述第三终端获取所述第三终端的系统软件的版本号所指示的系统软件数据。
进一步地,所述版本信息获取单元21,还用于接收服务器发送的新版本信息列表,所述新版本信息列表至少包括N种设备型号所 对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
进一步地,所述系统升级单元23,还用于若所述版本确定单元中确定所述第一终端进行系统升级,则根据所述新版本信息列表,从所述第二终端的系统软件的存储地址获取所述系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述系统升级。
本发明的实施例提供一种终端,设所述终端为第一终端时,该第一终端通过获取第二终端的设备型号和系统软件的版本号,确定是否对第一终端进行系统升级,若需要对第一终端进行系统升级,则从第二终端处获取该第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级,可见,第一终端在进行系统升级时无需到终端的指定服务网点便可完成,同时,第一终端在进行系统升级时无需依赖于版本服务器中定期更新的各个版本的系统软件数据,第一终端可以直接确定比自身的版本号高的第二终端内包括有新版本的系统软件,进而从该第二终端处直接获得新版本的系统软件数据进行系统升级,可以看出,相较于现有技术,这种终端系统的升级方法更加灵活与便捷,可解决在没有部署版本服务器的情况下终端无法进行在线升级的问题,同时降低了因系统升级而导致的服务成本和时间成本。
实施例六
本发明的实施例提供一种升级系统,如图10所示,所述系统至少包括实施例五或六中提供的终端,本实施例以第一终端31为例,以及与所述第一终端31相连接的第二终端32,其中,
所述第一终端31,用于获取第二终端32的版本信息,所述版本信息至少包括所述第二终端32的设备型号和系统软件的版本号;若所述第二终端32的设备型号与所述第一终端31的设备型号兼容,所述第一终端31则根据所述第二终端32的系统软件的版本号和所 述第一终端31的系统软件的版本号确定所述第一终端31是否进行系统升级;若所述第一终端31确定进行系统升级,所述第一终端31则从所述第二终端32获取所述第二终端32的系统软件的版本号所指示的系统软件数据,以使得所述第一终端31根据所述系统软件数据完成所述第一终端31的系统升级;
所述第二终端32,用于向所述第一终端31广播自身的版本信息,以使得所述第一终端31获取所述第二终端32的版本信息;以及向所述第一终端31发送所述系统软件数据,以使得所述第一终端31从所述第二终端32获取所述第二终端32的系统软件的版本号所指示的系统软件数据,以使得所述第一终端31根据所述系统软件数据完成所述系统升级。
需要说明的是,本发明实施例中第一终端31与第二终端32的连接关系可以是通过无线网络(例如WIFI)、蓝牙等无线通讯手段实现的,也可以是第一终端31与第二终端32通过有线方式(例如数据线等)进行连接实现的,本发明对此并不作限制。
其中,本发明实施例提供的升级系统内,第一终端31与第二终端32的交互方法可以用于实施上述图1-图5所示的本发明各实施例实现的方法,故此处再赘述。
进一步地,如图11所示,所述升级系统中还包括与所述第一终端31相连的第三终端33,所述第一终端31与所述第三终端33的交互方法可参见实施例2,故此处再赘述。
进一步地,如图12所示,所述升级系统中还包括与所述第一终端31相连的服务器34,其中,所述服务器34中存储有新版本信息列表,所述新版本信息列表包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端32的设备型号,N>0。
具体的,本发明实施例中涉及的服务器34可以是用于存储各种版本的系统软件的版本服务器,该版本服务器中还存储有新版本信息列表,当该版本服务器获取到新版本信息列表中的终端中含有新 版本的系统软件时,该版本服务器可以及时更新新版本信息列表中该终端的系统软件的版本号和该系统软件的存储地址(例如网络地址),当新版本信息列表中的终端的设备型号与第一终端31的设备型号匹配时,该版本服务器可以向第一终端31发送更新消息,以使得第一终端31获知可以进行新版本的系统升级。
当第一终端31接收到服务器34发送的更新消息后,可以向服务器34发送请求消息,请求服务器34将新版本信息列表发送给第一终端31,若第一终端31接收到该新版本信息列表,那么,第一终端31便可以根据该新版本信息列表中提供的多个系统软件的存储地址,下载新版本的系统软件进行系统升级。例如,新版本信息列表中存储有终端A的系统软件的存储地址和终端B的系统软件的存储地址,且终端A和终端B的设备型号与终端C的设备型号相同,那么,终端C在接收到该新版本信息列表后,可以先根据终端A的系统软件的存储地址,从该存储地址处下载更新的系统软件,当下载失败或者下载速度小于某一阈值时,终端C可以从终端B的系统软件的存储地址处下载更新的系统软件。
进一步地,若终端A从新版本信息列表内所有的存储地址都无法成功下载更新的系统软件时,终端A也可以查询服务器中是否存储有该版本号的系统软件,若服务器中存储有该版本号的系统软件,终端A则可直接从服务器中下载该更新后的系统软件,进而根据下载到的系统软件完成系统升级。当然,终端A可以策略性的设置优先从新版本信息列表中的存储地址下载新版本的系统软件,或者优先从服务器中下载新版本的系统软件,本发明对此不作限制。
本发明的实施例提供一种升级系统,该系统中第一终端通过获取第二终端的设备型号和系统软件的版本号,确定是否对第一终端进行系统升级,若需要对第一终端进行系统升级,则从第二终端处获取该第二终端的系统软件的版本号所指示的系统软件数据,以使得第一终端根据该系统软件数据完成系统升级,可见,第一终端在进行系统升级时无需到终端的指定服务网点便可完成,同时,第一 终端在进行系统升级时无需依赖于版本服务器中定期更新的各个版本的系统软件数据,第一终端可以直接确定比自身的版本号高的第二终端内包括有新版本的系统软件,进而从该第二终端处直接获得新版本的系统软件数据进行系统升级,可以看出,相较于现有技术,这种终端系统的升级方法更加灵活与便捷,可解决在没有部署版本服务器的情况下终端无法进行在线升级的问题,同时降低了因系统升级而导致的服务成本和时间成本。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,移动终端和方法,可以通过其它的方式实现。例如,以上所描述的移动终端实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,移动终端或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分 步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (30)

  1. 一种终端系统的升级方法,其特征在于,包括:
    第一终端获取第二终端的版本信息,所述第二终端的版本信息至少包括所述第二终端的设备型号和系统软件的版本号;
    若所述第二终端的设备型号与所述第一终端的设备型号兼容,则所述第一终端根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;
    若所述第一终端确定进行系统升级,则所述第一终端从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述第一终端的系统升级。
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级,包括:
    若所述第二终端的版本号大于所述第一终端的版本号,所述第一终端则确定所述第一终端进行系统升级;或者,
    若所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,所述第一终端则确定所述第一终端进行系统升级。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一终端从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,包括:
    所述第一终端向所述第二终端发送建立连接请求,以使得所述第二终端根据所述建立连接请求与所述第一终端建立第一传输连接;
    所述第一终端通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包。
  4. 根据权利要求3所述的方法,其特征在于,所述第一终端通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包,包括:
    若所述第一传输连接断开,所述第一终端则记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
    若再次获取到第二终端的版本信息,所述第一终端则重新建立所述第一传输连接接,以便于所述第一终端根据所述断点位置信息,从所述第二终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
  5. 根据权利要求3所述的方法,其特征在于,所述第一终端通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包,包括:
    若所述第一传输连接断开,所述第一终端则记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
    若获取到第三终端的版本信息,所述第一终端则根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;
    若所述第一终端确定进行系统升级,则所述第一终端根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
  6. 根据权利要求5所述的方法,其特征在于,所述第一终端根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,包括:
    若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,第一终端则确定所述第一终端进行系统升级;
    其中,所述第一终端根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据,包括:
    所述第一终端与所述第三终端建立第二传输连接;
    所述第一终端根据所述断点位置信息,通过所述第二传输连接从所述第三终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
  7. 根据权利要求5所述的方法,其特征在于,所述第一终端根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,包括:
    若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,第一终端则确定所述第一终端进行系统升级;
    其中,所述第一终端根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据,包括:
    所述第一终端删除所述断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;
    所述第一终端与所述第三终端建立第二传输连接;
    所述第一终端通过所述第二传输连接,从所述第三终端获取所述第三终端的系统软件的版本号所指示的系统软件数据。
  8. 根据权利要求1至7中任一种所述的方法,其特征在于,在第一终端获取第二终端的版本信息之前,还包括:
    所述第一终端接收服务器发送的新版本信息列表,所述新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
  9. 根据权利要求8所述的方法,其特征在于,若所述第一终端确定进行系统升级,则所述方法还包括:
    所述第一终端根据所述新版本信息列表,从所述第二终端的系统软件的存储地址获取所述系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述系统升级。
  10. 一种终端,其特征在于,包括:
    版本信息获取单元,用于获取第二终端的版本信息,所述第二终端的版本信息至少包括所述第二终端的设备型号和系统软件的版本号;
    版本确定单元,用于若所述版本信息获取单元中第二终端的设备 型号与所述第一终端的设备型号兼容,则根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;
    系统升级单元,用于若所述版本确定单元中确定进行系统升级,则从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述第一终端的系统升级。
  11. 根据权利要求10所述的终端,其特征在于,
    所述版本确定单元,具体用于若所述版本信息获取单元中第二终端的版本号大于所述第一终端的版本号,所述第一终端则确定所述第一终端进行系统升级;或者,若所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,所述第一终端则确定所述第一终端进行系统升级。
  12. 根据权利要求10或11所述的终端,其特征在于,
    所述系统升级单元,具体用于若所述版本确定单元中确定所述第一终端进行系统升级,则向所述第二终端发送建立连接请求,以使得所述第二终端根据所述建立连接请求与所述第一终端建立第一传输连接;并通过建立的所述第一传输连接接收所述第二终端的所述系统软件的数据包。
  13. 根据权利要求12所述的终端,其特征在于,所述终端还包括记录单元和断点续传单元,其中,
    所述记录单元,用于若所述系统升级单元中所述第一传输连接断开,则记录所述第一传输连接断开时已接收到的所述第二终端系统软件的数据包的断点位置信息;
    所述断点续传单元,用于若再次获取到第二终端的版本信息,则重新建立所述第一传输连接接,以便于所述第一终端根据所述断点位置信息,从所述第二终端获取所述断点位置信息所指示的断点位置之后的系统软件数据。
  14. 根据权利要求12所述的终端,其特征在于,
    所述版本确定单元,还用于若获取到第三终端的版本信息,则根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;
    所述系统升级单元,还用于若所述第一终端确定进行系统升级,则根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
  15. 根据权利要求14所述的终端,其特征在于,
    所述版本确定单元,具体用于若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,则确定所述第一终端进行系统升级;
    所述系统升级单元,具体用于与所述第三终端建立第二传输连接;并根据所述断点位置信息,通过所述第二传输连接从所述第三终端获取所述断点位置信息所指示的断点位置之后的系统软件数据。
  16. 根据权利要求14所述的终端,其特征在于,所述终端还包括删除单元,其中,
    所述版本确定单元,具体用于若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,则确定所述第一终端进行系统升级;
    所述删除单元,用于删除所述断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;
    所述系统升级单元,具体用于与所述第三终端建立第二传输连接;并通过所述第二传输连接,从所述第三终端获取所述第三终端的系统软件的版本号所指示的系统软件数据。
  17. 根据权利要求10至16中任一项所述的终端,其特征在于,
    所述版本信息获取单元,还用于接收服务器发送的新版本信息列表,所述新版本信息列表至少包括N种设备型号所对应的系统软件的 版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
  18. 根据权利要求17所述的终端,其特征在于,
    所述系统升级单元,还用于若所述版本确定单元中确定所述第一终端进行系统升级,则根据所述新版本信息列表,从所述第二终端的系统软件的存储地址获取所述系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述系统升级。
  19. 一种终端,其特征在于,所述终端包括处理器,以及与所述处理器分别相连的通讯接口和存储器,其中,
    所述处理器用于:通过所述通讯接口获取第二终端的版本信息,所述第二终端的版本信息至少包括所述第二终端的设备型号和系统软件的版本号;并当所述第二终端的设备型号与所述第一终端的设备型号兼容时,根据所述第二终端的系统软件的版本号和所述第一终端的系统软件的版本号确定所述第一终端是否进行系统升级;以及若所述第一终端确定进行系统升级,则通过所述通讯接口从所述第二终端获取所述第二终端的系统软件的版本号所指示的系统软件数据,以使得所述第一终端根据系统软件数据完成所述第一终端的系统升级;
    所述存储器用于:存储从所述第二终端获取所述第二终端的系统软件数据。
  20. 根据权利要求19所述的终端,其特征在于,
    所述处理器还用于:
    若所述第二终端的版本号大于所述第一终端的版本号,则确定所述第一终端进行系统升级;或者,
    若所述第二终端的版本号所指示的发布日期在所述第一终端的版本号所指示的发布日期之后,则确定所述第一终端进行系统升级。
  21. 根据权利要求19或20所述的终端,其特征在于,当确定所述第一终端进行系统升级时,
    所述通讯接口还用于:
    向所述第二终端发送建立连接请求,以使得所述第二终端根据所 述建立连接请求与所述第一终端建立第一传输连接;
    通过建立的所述第一传输连接,获取所述第二终端内所述系统软件数据的数据包,并向所述存储器发送所述数据包。
  22. 根据权利要求21所述的终端,其特征在于,当所述第一传输连接断开时,
    所述存储器还用于:记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
    所述处理器还用于:若再次获取到第二终端的版本信息,则重新建立所述第一传输连接接,以便于所述第一终端根据所述断点位置信息,从所述第二终端内获取所述断点位置信息所指示的断点位置之后的系统软件数据。
  23. 根据权利要求21所述的终端,其特征在于,当所述第一传输连接断开时,
    所述存储器还用于:记录所述第一传输连接断开时已接收到的所述第二终端的系统软件数据的断点位置信息;
    所述处理器还用于:若所述通讯接口获取到第三终端的版本信息,则根据所述第三终端的版本信息,确定所述第一终端是否进行系统升级,所述第三终端的版本信息至少包括所述第三终端的设备型号和系统软件的版本号;
    所述通讯接口还用于:若确定进行系统升级,则根据所述断点位置信息,获取所述第三终端的系统软件的版本号所指示的系统软件数据。
  24. 根据权利要求23所述的终端,其特征在于,
    所述处理器还用于:
    若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号与所述第二终端的系统软件的版本号相同,则确定所述第一终端进行系统升级;
    通过所述通讯接口与所述第三终端建立第二传输连接;并根据所述断点位置信息,通过所述第二传输连接从所述第三终端内获取所述 断点位置信息所指示的断点位置之后的系统软件数据。
  25. 根据权利要求23所述的终端,其特征在于,
    所述处理器还用于:
    若所述第三终端的设备型号与所述第一终端的设备型号兼容,并且,所述第三终端的系统软件的版本号大于所述第二终端的系统软件的版本号,则确定所述第一终端进行系统升级;
    删除所述断点位置信息所指示的断点位置之前的已获取到的所述系统软件数据;
    通过所述通讯接口与所述第三终端建立第二传输连接;并通过所述第二传输连接,从所述第三终端获取所述第三终端的系统软件的版本号所指示的系统软件数据。
  26. 根据权利要求19至25中任一项所述的终端,其特征在于,
    所述通讯接口还用于:接收服务器发送的新版本信息列表,并向所述存储器发送所述新版本信息列表,所述新版本信息列表至少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
  27. 根据权利要求26所述的终端,其特征在于,
    所述处理器还用于:若所述第一终端确定进行系统升级,则根据所述新版本信息列表,通过通讯接口从所述第二终端的系统软件的存储地址获取所述系统软件数据,以使得所述第一终端根据获取的所述系统软件数据完成所述系统升级。
  28. 一种升级系统,其特征在于,所述系统包括如权利要求10至18中任一项所述的终端,以及与所述终端相连的第二终端。
  29. 根据权利要求28所述的升级系统,其特征在于,所述系统还包括与所述终端相连的第三终端。
  30. 根据权利要求28或29所述的升级系统,其特征在于,所述系统还包括与所述终端相连的服务器,其中,
    所述服务器,用于存储新版本信息列表,所述新版本信息列表至 少包括N种设备型号所对应的系统软件的版本号,以及所述N种设备型号所对应的系统软件数据的存储地址,其中,所述N种设备型号中包括所述第二终端的设备型号,N>0。
PCT/CN2015/074948 2015-03-24 2015-03-24 一种终端系统的升级方法、终端及系统 WO2016149908A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
EP15885847.2A EP3200072B1 (en) 2015-03-24 2015-03-24 Method for updating terminal system, terminal and system
PCT/CN2015/074948 WO2016149908A1 (zh) 2015-03-24 2015-03-24 一种终端系统的升级方法、终端及系统
CN201580026613.5A CN106462424A (zh) 2015-03-24 2015-03-24 一种终端系统的升级方法、终端及系统
KR1020177012321A KR101905019B1 (ko) 2015-03-24 2015-03-24 단말기 시스템, 단말기, 및 시스템을 업그레이드하기 위한 방법
US15/521,863 US10268471B2 (en) 2015-03-24 2015-03-24 Method for upgrading terminal system, terminal, and system
JP2017544810A JP6566500B2 (ja) 2015-03-24 2015-03-24 端末システムをアップグレードする方法、端末、およびシステム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/074948 WO2016149908A1 (zh) 2015-03-24 2015-03-24 一种终端系统的升级方法、终端及系统

Publications (1)

Publication Number Publication Date
WO2016149908A1 true WO2016149908A1 (zh) 2016-09-29

Family

ID=56978825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074948 WO2016149908A1 (zh) 2015-03-24 2015-03-24 一种终端系统的升级方法、终端及系统

Country Status (6)

Country Link
US (1) US10268471B2 (zh)
EP (1) EP3200072B1 (zh)
JP (1) JP6566500B2 (zh)
KR (1) KR101905019B1 (zh)
CN (1) CN106462424A (zh)
WO (1) WO2016149908A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882277A (zh) * 2018-05-28 2018-11-23 新华三技术有限公司 一种版本升级的方法及装置
CN109324815A (zh) * 2018-08-31 2019-02-12 百度在线网络技术(北京)有限公司 系统升级的监控方法、装置、设备及计算机可读存储介质
JP2019070928A (ja) * 2017-10-06 2019-05-09 任天堂株式会社 情報処理システム、情報処理装置、情報処理プログラム、および情報処理方法
CN110149370A (zh) * 2019-04-23 2019-08-20 华为技术有限公司 一种升级文件下载方法及装置
CN113064621A (zh) * 2021-04-14 2021-07-02 艾体威尔电子技术(北京)有限公司 一种智能设备安卓系统对密码键盘系统固件升级的方法
CN114205227A (zh) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 设备的同步方法和装置、存储介质、电子装置

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10432461B2 (en) * 2015-12-04 2019-10-01 T-Mobile Usa, Inc. Peer-to-peer distribution of radio protocol data for software defined radio (SDR) updates
CN108334369A (zh) * 2017-09-05 2018-07-27 深圳天珑无线科技有限公司 设备刷机方法、装置及非易失性计算机存储介质
JP6718483B2 (ja) * 2018-06-29 2020-07-08 株式会社Subaru 車両
CN109347907A (zh) * 2018-08-31 2019-02-15 百度在线网络技术(北京)有限公司 安装包下载方法和装置
CN109634629B (zh) * 2018-10-25 2022-04-15 努比亚技术有限公司 一种系统升级方法、终端及计算机可读存储介质
CN109582372B (zh) * 2018-11-12 2022-01-28 海信视像科技股份有限公司 一种系统的启动方法及装置
JP7330607B2 (ja) * 2018-12-12 2023-08-22 日本無線株式会社 携帯通信端末のソフトウエア更新システムおよびソフトウエア更新方法
JP2020098520A (ja) * 2018-12-19 2020-06-25 セイコーエプソン株式会社 表示装置の制御方法、表示装置および表示システム
CN111813427A (zh) * 2019-04-12 2020-10-23 杭州海康威视数字技术股份有限公司 设备修复方法、装置、电子设备及存储介质
CN112148320A (zh) * 2019-06-26 2020-12-29 顺丰科技有限公司 一种应用程序升级方法、装置、设备及存储介质
CN110515639A (zh) * 2019-08-29 2019-11-29 青岛亿联客信息技术有限公司 一种灯具无线升级方法、装置以及系统
CN110764808B (zh) * 2019-10-31 2023-10-13 广州酷狗计算机科技有限公司 客户端升级检测方法、装置和计算机可读存储介质
KR102214139B1 (ko) * 2020-06-04 2021-02-09 (주)케이아이티원 클라우드 인프라 템플릿 관리 시스템
CN112087327B (zh) * 2020-08-26 2023-04-14 北京金山云网络技术有限公司 信息状态获取方法和装置、存储介质和电子装置
CN112468562A (zh) * 2020-11-18 2021-03-09 潍柴动力股份有限公司 一种车载终端文件发送及升级方法、装置及存储介质
CN114172875B (zh) * 2021-12-03 2024-06-25 深圳小湃科技有限公司 网络摄像机远程升级方法、系统及可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102232304A (zh) * 2011-05-04 2011-11-02 华为终端有限公司 一种移动通信终端间进行系统升级的方法、系统及终端
CN103207790A (zh) * 2012-01-16 2013-07-17 联想(北京)有限公司 操作系统更新方法和终端
US8561052B2 (en) * 2008-12-08 2013-10-15 Harris Corporation Communications device with a plurality of processors and compatibility synchronization module for processor upgrades and related method

Family Cites Families (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643506B1 (en) * 1996-08-07 2003-11-04 Telxon Corporation Wireless software upgrades with version control
US6308061B1 (en) * 1996-08-07 2001-10-23 Telxon Corporation Wireless software upgrades with version control
JP3785299B2 (ja) * 2000-03-16 2006-06-14 本田技研工業株式会社 車両制御装置のためのメモリ書き換えシステム
US6832373B2 (en) * 2000-11-17 2004-12-14 Bitfone Corporation System and method for updating and distributing information
CN1650256B (zh) * 2002-04-01 2010-04-28 株式会社Ntt都科摩 通信终端的软件更新方法、通信终端以及软件更新系统
JP4031282B2 (ja) * 2002-04-17 2008-01-09 株式会社ザナヴィ・インフォマティクス ナビゲーション装置およびナビゲーション制御プログラム
US20040123281A1 (en) * 2002-12-20 2004-06-24 Olrik Jakob Christian System, device, method and content package for upgrading a mobile communications terminal
KR20040084530A (ko) * 2003-03-28 2004-10-06 엘지전자 주식회사 이동 통신 단말기의 적외선을 이용한 소프트웨어업그레이드 방법
US7500235B2 (en) * 2003-09-05 2009-03-03 Aol Time Warner Interactive Video Group, Inc. Technique for updating a resident application and associated parameters in a user terminal through a communications network
KR20050031168A (ko) * 2003-09-29 2005-04-06 에스케이 텔레콤주식회사 이동 단말기의 소프트웨어 자동 업그레이드 방법 및 시스템
US7779409B2 (en) * 2004-08-24 2010-08-17 Nokia Corporation Device-to-device software distribution
KR100663547B1 (ko) * 2004-09-09 2007-01-02 삼성전자주식회사 단말기의 소프트웨어 업그레이드를 위한 통신 시스템 및방법과 그 단말기
WO2006066612A1 (en) * 2004-12-24 2006-06-29 Telecom Italia S.P.A. Method and system for upgrading the software of a telecommunication terminal, in particular of a video telephone, and relatted computer program product
JP4561484B2 (ja) 2005-06-03 2010-10-13 日本電気株式会社 ソフトウエア更新インタフェース、方法、プログラム、サーバ及び携帯通信端末
JP2007219883A (ja) * 2006-02-17 2007-08-30 Sony Ericsson Mobilecommunications Japan Inc 移動端末装置およびソフトウェア更新方法
CN101060427A (zh) * 2006-04-19 2007-10-24 华为技术有限公司 实现远程软件升级的系统及方法
KR101426710B1 (ko) * 2006-07-14 2014-09-23 삼성전자주식회사 휴대단말기의 버전정보 갱신 장치 및 방법
KR20080076835A (ko) * 2007-02-16 2008-08-20 (주)에이록스 서버와 클라이언트 간의 미전송완료 데이터의 전송 방법
US20090055534A1 (en) * 2007-08-22 2009-02-26 Sony Corporation Tiered network structure for large ce device populations
CN101179791A (zh) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 一种移动终端软件版本升级的方法
JP2009211260A (ja) * 2008-03-03 2009-09-17 Hitachi Ltd 情報通信システム
JP5394704B2 (ja) * 2008-11-25 2014-01-22 三星電子株式会社 情報通信システム、及びソフトウェア更新方法
CN101795203B (zh) * 2009-02-03 2012-08-15 华为软件技术有限公司 软件升级数据包的下载方法和装置
JP5444865B2 (ja) 2009-06-16 2014-03-19 ブラザー工業株式会社 通信装置
CN101594613A (zh) * 2009-06-22 2009-12-02 中兴通讯股份有限公司 终端设备及其升级的方法、系统
CN101909084A (zh) * 2010-07-28 2010-12-08 中兴通讯股份有限公司 终端软件升级的方法、系统和业务平台系统
US8650439B2 (en) 2010-12-07 2014-02-11 Samsung Electronics Co., Ltd. Apparatus and method for fault tolerant FOTA update
JP2012163994A (ja) * 2011-02-03 2012-08-30 Nec Corp ソフトウェア管理システム、ソフトウェア管理装置、制御方法、及びプログラム
CN102231880A (zh) * 2011-07-04 2011-11-02 中兴通讯股份有限公司 版本升级方法、终端及版本升级系统
CN102523529B (zh) * 2011-12-08 2015-05-20 中国联合网络通信集团有限公司 多终端设备接续播放视频的方法和视频服务器
JP6135151B2 (ja) * 2012-05-23 2017-05-31 株式会社デンソー アプリケーション更新システム
US20140040847A1 (en) * 2012-08-01 2014-02-06 Lsi Corporation System and method for generating physical deterministic boundary interconnect features for dual patterning technologies
CN104185039B (zh) * 2013-05-27 2019-07-02 腾讯科技(深圳)有限公司 音视频同步播放的方法和装置
KR102039522B1 (ko) * 2013-06-03 2019-11-26 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. 근거리 무선 통신(nfc)을 이용한 nfc 태그의 기록방법 및 장치
CN103955544A (zh) * 2014-05-21 2014-07-30 北京奇艺世纪科技有限公司 一种文件上传方法及上传系统
KR20160068533A (ko) * 2014-12-05 2016-06-15 엘지전자 주식회사 이동 단말기 및 그 제어 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8561052B2 (en) * 2008-12-08 2013-10-15 Harris Corporation Communications device with a plurality of processors and compatibility synchronization module for processor upgrades and related method
CN102232304A (zh) * 2011-05-04 2011-11-02 华为终端有限公司 一种移动通信终端间进行系统升级的方法、系统及终端
CN103207790A (zh) * 2012-01-16 2013-07-17 联想(北京)有限公司 操作系统更新方法和终端

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019070928A (ja) * 2017-10-06 2019-05-09 任天堂株式会社 情報処理システム、情報処理装置、情報処理プログラム、および情報処理方法
CN108882277A (zh) * 2018-05-28 2018-11-23 新华三技术有限公司 一种版本升级的方法及装置
CN108882277B (zh) * 2018-05-28 2022-04-26 新华三技术有限公司 一种版本升级的方法及装置
CN109324815A (zh) * 2018-08-31 2019-02-12 百度在线网络技术(北京)有限公司 系统升级的监控方法、装置、设备及计算机可读存储介质
CN109324815B (zh) * 2018-08-31 2022-08-30 百度在线网络技术(北京)有限公司 无人车系统升级的监控方法、装置和设备
CN110149370A (zh) * 2019-04-23 2019-08-20 华为技术有限公司 一种升级文件下载方法及装置
CN110149370B (zh) * 2019-04-23 2021-01-29 华为技术有限公司 一种升级文件下载方法及装置
CN113064621A (zh) * 2021-04-14 2021-07-02 艾体威尔电子技术(北京)有限公司 一种智能设备安卓系统对密码键盘系统固件升级的方法
CN114205227A (zh) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 设备的同步方法和装置、存储介质、电子装置

Also Published As

Publication number Publication date
JP6566500B2 (ja) 2019-08-28
EP3200072A1 (en) 2017-08-02
CN106462424A (zh) 2017-02-22
EP3200072B1 (en) 2019-08-14
US10268471B2 (en) 2019-04-23
EP3200072A4 (en) 2018-01-10
US20170249137A1 (en) 2017-08-31
KR101905019B1 (ko) 2018-10-05
JP2018500701A (ja) 2018-01-11
KR20170066579A (ko) 2017-06-14

Similar Documents

Publication Publication Date Title
WO2016149908A1 (zh) 一种终端系统的升级方法、终端及系统
KR101481443B1 (ko) 통신 네트워크의 디바이스 관리 방법 및 시스템
WO2018054195A1 (zh) 一种资源分配的方法及基站
WO2020135355A1 (zh) 一种无线网络配置方法及装置
EP2528274B1 (en) Method and system for upgrading network device
CN107357571B (zh) 设备组件程序的维护方法及系统
WO2011006328A1 (zh) 设备固件升级系统及方法、设备管理服务器及移动终端
WO2016058133A1 (zh) 软件升级方法及设备
WO2009003385A1 (fr) Procédés, appareils et systèmes pour mettre à jour un équipement
CN103580921A (zh) 一种网络设备自动升级的方法及自动升级系统
CN104750515A (zh) 固件版本升级的方法及系统
WO2015078341A1 (zh) 应用程序远程更新的方法和装置
US11638138B2 (en) Device-to-device content providing method
WO2012097566A1 (zh) Rtr单板的版本升级方法及装置
CN112187531B (zh) 模块的升级方法及系统、存储介质、电子装置
EP2171917A2 (en) System and method for providing device management service to electronic device having no broadband communication module
JP5944340B2 (ja) アプリケーション配信システム、アプリケーションの配信方法およびプログラム
WO2020098457A1 (zh) 窄带设备升级方法、移动终端及可读存储介质
JP2010182260A (ja) シンクライアントシステム、管理サーバ、シンクライアント端末およびシンクライアントサーバ
WO2017124741A1 (zh) 一种设备版本同步方法及装置
JP5610654B2 (ja) 端末管理パッケージを提供する装置及び前記端末管理パッケージを受信する方法
EP3015990A1 (en) Information processing device, and destination information updating method and program
WO2013167061A2 (zh) 应用更新方法、装置及系统、用户设备
EP2515601B1 (en) Dial-up connection method and device of mobile data terminal
WO2014012220A1 (zh) 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15521863

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2015885847

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20177012321

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017544810

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE