[go: up one dir, main page]

WO2017161947A1 - Multi-system ota upgrade method and multi-system device - Google Patents

Multi-system ota upgrade method and multi-system device Download PDF

Info

Publication number
WO2017161947A1
WO2017161947A1 PCT/CN2016/113206 CN2016113206W WO2017161947A1 WO 2017161947 A1 WO2017161947 A1 WO 2017161947A1 CN 2016113206 W CN2016113206 W CN 2016113206W WO 2017161947 A1 WO2017161947 A1 WO 2017161947A1
Authority
WO
WIPO (PCT)
Prior art keywords
subsystem
upgrade
upgrade package
information
main system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/113206
Other languages
French (fr)
Chinese (zh)
Inventor
任志斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shirui Electronics Co Ltd
Publication of WO2017161947A1 publication Critical patent/WO2017161947A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a multi-system OTA upgrade method and a multi-system device.
  • Multi-system devices refer to multiple systems in the same device. Each system is implemented by different hardware modules. Different hardware modules can communicate with each other. For example, different hardware modules can be configured in the same tablet device for installing the TV solution Android (for the screen display) and the high-end solution Android system (for the user operation), between the two systems. Communication takes place via signal connections between hardware modules.
  • OTA (Over-the-Air Technology) upgrade is a remote upgrade.
  • the traditional OTA upgrade solution only the upgrade of each system can be controlled separately, and the efficiency is low.
  • a multi-system OTA upgrade method the method being applied to a multi-system device having a main system and at least one subsystem establishing communication with the main system, the method comprising:
  • the primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem;
  • the response data includes a primary System upgrade package information and subsystem upgrade package information
  • the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem, or the primary system Subsystem upgrade package information is sent to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;
  • the main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package.
  • a multi-system OTA upgrade method the method being applied to a multi-system device having a main system and at least one subsystem establishing communication with the main system, the method comprising:
  • the primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem;
  • the response data includes a primary System upgrade package information or subsystem upgrade package information
  • the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem to perform the sub- An upgrade of the system, or the primary system sends the subsystem upgrade package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;
  • the main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package.
  • a multi-system device having a primary system and at least one subsystem establishing communication with the primary system, the primary system comprising:
  • the information transceiver module is configured to send upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; and receiving, by the server, current version information of the primary system, current version information of the subsystem Determining response data returned when there is an upgrade package of the primary system and the subsystem, the response data including primary system upgrade package information and subsystem upgrade package information;
  • An upgrade module configured to download a subsystem upgrade package corresponding to the subsystem upgrade package information, send the subsystem upgrade package to the subsystem to upgrade the subsystem, or upgrade the subsystem package Information is sent to the subsystem for downloading the subsystem upgrade package and the subsystem is upgraded
  • the main system upgrade package corresponding to the main system upgrade package information is downloaded, and the main system upgrade is performed according to the main system upgrade package.
  • the primary system sends upgrade query information to the server, the upgrade query information includes current version information of the primary system and current version information of the subsystem, and the primary system receives the server according to the primary system.
  • the current version information, the current version information of the subsystem, and the response data returned when the upgrade package of the primary system or/and the subsystem is determined, the response data includes primary system upgrade package information or/and subsystem upgrade package information.
  • the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem, or the primary system Subsystem upgrade package information is sent to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem, and the main system downloads a main system upgrade package corresponding to the main system upgrade package information, according to the The main system upgrade package is used to upgrade the main system.
  • multiple control systems are implemented through the main system control upgrade process. At the same time the system upgrade, you can upgrade to improve efficiency.
  • FIG. 1 is a schematic flowchart of implementing a multi-system OTA upgrade method according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of implementing a multi-system OTA upgrade method according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a multi-system device according to Embodiment 3 of the present invention.
  • An embodiment of the present invention provides a multi-system OTA upgrade method, where the method is applied to a multi-system device, where the multi-system device has a main system and at least one subsystem that establishes communication with the main system, and FIG. 1 is an embodiment of the present invention.
  • a schematic diagram of an implementation process of a multi-system OTA upgrade method, as shown in FIG. 1, the method includes:
  • Step S101 The primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem.
  • the current version information of the primary system is current version information of the primary system
  • the current version information of the subsystem is current version information of the subsystem
  • the main system may communicate with each of the subsystems to obtain current version information of each subsystem, and after obtaining the success, communicate with the server (specifically, an http request, a TCP request, etc.) Reporting the current version information of each of the subsystems and the current version information of the subsystem to the server;
  • the server specifically, an http request, a TCP request, etc.
  • Step S102 The host system receives response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade package of the primary system and the subsystem is received, the response The data includes the main system upgrade package information and the subsystem upgrade package information;
  • the server may query, according to the current version information of the primary system, whether there is a new version of the primary system in the database, and when there is a new version of the primary system, determine that An upgrade package of the primary system, and querying whether there is a new version of the subsystem in the database according to current subsystem information of the subsystem, having a new version of the subsystem and a new version of the subsystem and the primary
  • a new version of the system matches, it is determined that there is an upgrade package for the subsystem; when there is no new version of the subsystem, or when a new version of the subsystem does not match the new version of the primary system, Determining that there is no upgrade package of the subsystem; in this manner, version compatibility of the subsystem and the subsystem can be guaranteed;
  • the manner of querying whether there is a new version of the primary system in the database may be performed by comparing a target version of the primary system with a version number of a current version of the primary system, if the target version of the primary system is If the version number is less than or equal to the version number of the current version information of the primary system, there is no new version of the primary system, and if the version number of the target version of the primary system is greater than the version of the current version information of the primary system No., there is a new version of the main system, where the target version is the latest version of the main system stored in the database, and whether the new version of the subsystem is in the database is queried in the query database. Whether there is a new version of the main system is similar, and will not be described here;
  • whether the new version of the query subsystem matches the new version of the main system can Yes, according to the relationship between the original system version and the subsystem version, the new version of the subsystem is determined to be the subsystem version associated with the new version of the main system, and if so, the new version of the subsystem is determined. Matching the new version of the primary system;
  • Step S103 The primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem, or the primary system
  • the subsystem upgrade package information is sent to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;
  • the process of downloading the subsystem upgrade package in this step may be performed by the main system or by the subsystem.
  • it may be configured to be executed by the subsystem, but it is considered that sometimes the subsystem cannot be downloaded because it is not connected to the network.
  • step S103 may include the steps of: the primary system detecting a networked state of the subsystem; if the subsystem is in a networked state, the primary system upgrading the subsystem Sending packet information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; if the subsystem is in an unconnected state, the primary system downloads and corresponding to the subsystem upgrade package information a subsystem upgrade package, sending the subsystem upgrade package to the subsystem for upgrading the subsystem;
  • the subsystem may send a networked state of the subsystem to the primary system according to a communication connection (data channel) established with the primary system, and the primary system determines that the The subsystem downloads the subsystem upgrade package or downloads the subsystem upgrade package by the main system, where the subsystem is in a networked state, indicating that the subsystem can be networked and networked, and the subsystem is in the
  • the networking state indicates that the subsystem is not networkable or can be networked but not networked; generally, the subsystem upgrade package information includes upgrade package address information, and the subsystem upgrade package can be downloaded from the network based on the upgrade package address information. ;
  • the upgrade process of the subsystem in this step is performed by the subsystem.
  • the subsystem upgrade package information may also include md5 (Message). -Digest Algorithm 5, information digest algorithm 5, the data is calculated as another fixed length value, used to ensure complete and consistent information transmission; thus, after downloading the subsystem upgrade package, the subsystem upgrade package can also be compared The consistency of the md5 information in the information with the md5 information of the downloaded subsystem upgrade package to verify the correctness and integrity of the subsystem upgrade package;
  • the subsystem upgrade package information may further include a version number, so that after downloading the subsystem upgrade package, the version number in the subsystem upgrade package information may be compared with the version number of the downloaded subsystem upgrade package. , to verify the correctness of the subsystem upgrade package;
  • the OTA upgrade method may further include the steps: the primary system displays a visual prompt for prompting the user to select whether a system upgrade is required; and the primary system enters the detecting the subsystem when receiving the system upgrade instruction The steps of the networking state;
  • the visual cue may be text, graphics or any combination thereof.
  • the visual cue may have a button “upgrade” on the button, and when the user selects the “upgrade” button, the main system starts to detect the sub-function.
  • the networked state of the system
  • the subsystem interrupts the upgrade, restores the version before the upgrade of the subsystem, and rolls back the version of the subsystem to ensure that the entire system (including the primary system and the child) is not affected. system);
  • Step S104 The main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package.
  • the main system upgrade package information may also include md5 information, so that after the main system downloads the subsystem upgrade package, the md5 information in the main system upgrade package information and the downloaded main system upgrade package md5 may also be compared. Information consistency, to verify the correctness and integrity of the main system upgrade package; in addition, generally, the main system upgrade package information also includes the upgrade package address, version number;
  • the main system upgrade package information may further include a version number, so that after downloading the main system upgrade package, the version number in the main system upgrade package information may be compared with the version number of the downloaded main system upgrade package.
  • the main system upgrade package information further includes upgrade package address information, and the main system upgrade package is downloaded from the network based on the upgrade package address information;
  • the subsystem may notify the main system when the upgrade is completed, and after the upgrade of all the subsystems, the main system enters and downloads a main system upgrade package corresponding to the information of the main system upgrade package, according to The main system upgrade package performs the step of upgrading the main system.
  • the primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; the primary system receives the server according to the current status of the primary system.
  • the version information, the current version information of the subsystem, and the response data returned when the upgrade package of the primary system and the subsystem is determined, the response data includes primary system upgrade package information and subsystem upgrade package information;
  • the primary system Downloading a subsystem upgrade package corresponding to the subsystem upgrade package information sending the subsystem upgrade package to the subsystem for upgrading the subsystem, or the primary system upgrading the subsystem package information Sending to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;
  • the main system downloads a main system upgrade package corresponding to the main system upgrade package information, according to the main system upgrade package Performing the upgrade of the main system, in the solution of the embodiment, implementing the upgrade process by the main system to achieve the same for multiple systems Upgrade, you can upgrade to improve efficiency.
  • the embodiment of the present invention provides a multi-system OTA upgrade method, where the method is applied to a multi-system device, where the multi-system device has a main system and at least one subsystem that establishes communication with the main system.
  • the method includes:
  • Step S201 The primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem;
  • Step S202 The host system receives response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade package of the primary system or the subsystem is received, the response The data includes the main system upgrade package information or the subsystem upgrade package information;
  • Step S203 When the response data includes subsystem upgrade package information, the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem. Upgrading the subsystem, or the primary system sends the subsystem upgrade package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;
  • Step S204 When the response data includes the main system upgrade package information, the main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package. .
  • the response data includes the main system upgrade package information and the subsystem upgrade package information; the technical details of the step S201 to the step S204 in the second embodiment of the present invention can be respectively referred to the steps S101 to S104 in the first embodiment. The description, in order to save space, will not be repeated here.
  • FIG. 3 is a schematic structural diagram of a multi-system device according to Embodiment 3 of the present invention.
  • the multi-system device has a main system 301 and The main system 301 establishes at least one subsystem 302 for communication, and the main system 301 includes:
  • the information transceiver module 3012 is configured to send upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; and receiving, according to the current version information of the primary system, the current version of the subsystem
  • the information is determined by the response data returned by the primary system and the upgrade package of the subsystem, and the response data includes primary system upgrade package information and subsystem upgrade package information;
  • the upgrade module 3013 is configured to download a subsystem upgrade package corresponding to the subsystem upgrade package information, send the subsystem upgrade package to the subsystem to upgrade the subsystem, or upgrade the subsystem. Sending package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; downloading a main system upgrade package corresponding to the main system upgrade package information, and performing the upgrade according to the main system upgrade package The upgrade of the main system.
  • the multi-system device provided by the embodiment of the present invention needs to be pointed out that the above description of the multi-system device is similar to the above description of the multi-system OTA upgrade method applied to the multi-system device, and has the above-mentioned application to the multi-system device.
  • the beneficial effects of the multi-system OTA upgrade method are not described in detail for the sake of space saving; therefore, for the technical details not disclosed in the multi-system device provided by the embodiment of the present invention, please refer to the multi-system applied to the multi-system device provided above. Description of the OTA upgrade method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a multi-system OTA upgrade method and to a multi-system device. The method is applied to a multi-system device which has a main system and a sub-system. The method comprises: the main system sending upgrade query information, which comprises current version information about the main system and current version information about the sub-system, to a server; the main system receiving response data which comprises main system upgrade package information and sub-system upgrade package information and is returned when the server determines, according to the current version information about the main system and the current version information about the sub-system, that there is an upgrade package of the main system and/or sub-system; the main system downloading a sub-system upgrade package corresponding to the sub-system upgrade package information and sending same to the sub-system for upgrading the sub-system, or the main system sending the sub-system upgrade package information to the sub-system for downloading the sub-system upgrade package and upgrading the sub-system; and the main system downloading a main system upgrade package corresponding to the main system upgrade package information for upgrading the main system. By adopting the solution in the present invention, the upgrade efficiency can be improved.

Description

多系统OTA升级方法和多系统设备Multi-system OTA upgrade method and multi-system device 技术领域Technical field

本发明涉及互联网技术领域,特别是涉及一种多系统OTA升级方法和多系统设备。The present invention relates to the field of Internet technologies, and in particular, to a multi-system OTA upgrade method and a multi-system device.

背景技术Background technique

多系统设备是指在同一个设备中同时存在多个系统,各个系统之间通过不同的硬件模块来实现,不同的硬件模块之间可以进行通信。例如,可以在同一个平板设备中同时配置不同的硬件模块分别用于安装TV方案安卓(Android)系统(用于画面显示)和高端方案Android系统(用于用户操作),这两个系统之间通过硬件模块之间的信号连接进行通信。Multi-system devices refer to multiple systems in the same device. Each system is implemented by different hardware modules. Different hardware modules can communicate with each other. For example, different hardware modules can be configured in the same tablet device for installing the TV solution Android (for the screen display) and the high-end solution Android system (for the user operation), between the two systems. Communication takes place via signal connections between hardware modules.

OTA(Over-the-Air Technology,空中下载技术)升级即远程升级,在传统的OTA升级方案中,只能分别控制各个系统的升级,效率较低。OTA (Over-the-Air Technology) upgrade is a remote upgrade. In the traditional OTA upgrade solution, only the upgrade of each system can be controlled separately, and the efficiency is low.

发明内容Summary of the invention

本发明的目的在于提供一种多系统OTA升级方法和多系统设备,可以提高升级效率。It is an object of the present invention to provide a multi-system OTA upgrade method and a multi-system device, which can improve upgrade efficiency.

本发明的目的通过如下技术方案实现:The object of the invention is achieved by the following technical solution:

一种多系统OTA升级方法,所述方法应用于多系统设备,所述多系统设备具有主系统和与所述主系统建立通讯的至少一个子系统,所述方法包括:A multi-system OTA upgrade method, the method being applied to a multi-system device having a main system and at least one subsystem establishing communication with the main system, the method comprising:

所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;The primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem;

所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息和子系统升级包信息;Receiving, by the primary system, response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade package of the primary system and the subsystem is received, the response data includes a primary System upgrade package information and subsystem upgrade package information;

所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述 子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;The primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem, or the primary system Subsystem upgrade package information is sent to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;

所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。The main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package.

一种多系统OTA升级方法,所述方法应用于多系统设备,所述多系统设备具有主系统和与所述主系统建立通讯的至少一个子系统,所述方法包括:A multi-system OTA upgrade method, the method being applied to a multi-system device having a main system and at least one subsystem establishing communication with the main system, the method comprising:

所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;The primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem;

所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统或者所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息或者子系统升级包信息;Receiving, by the primary system, response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade file of the primary system or the subsystem is updated, the response data includes a primary System upgrade package information or subsystem upgrade package information;

在所述响应数据包括子系统升级包信息时,所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;When the response data includes subsystem upgrade package information, the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem to perform the sub- An upgrade of the system, or the primary system sends the subsystem upgrade package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;

在所述响应数据包括主系统升级包信息时,所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。When the response data includes the main system upgrade package information, the main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package.

一种多系统设备,具有主系统和与所述主系统建立通讯的至少一个子系统,所述主系统包括:A multi-system device having a primary system and at least one subsystem establishing communication with the primary system, the primary system comprising:

信息收发模块,用于向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息和子系统升级包信息;The information transceiver module is configured to send upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; and receiving, by the server, current version information of the primary system, current version information of the subsystem Determining response data returned when there is an upgrade package of the primary system and the subsystem, the response data including primary system upgrade package information and subsystem upgrade package information;

升级模块,用于下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升 级;下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。An upgrade module, configured to download a subsystem upgrade package corresponding to the subsystem upgrade package information, send the subsystem upgrade package to the subsystem to upgrade the subsystem, or upgrade the subsystem package Information is sent to the subsystem for downloading the subsystem upgrade package and the subsystem is upgraded The main system upgrade package corresponding to the main system upgrade package information is downloaded, and the main system upgrade is performed according to the main system upgrade package.

根据上述本发明的方案,其是所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息,所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统或者/和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息或者/和子系统升级包信息,所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级,所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级,在本方案中,通过主系统控制升级流程实现了对多个系统同时升级,可以提高升级效率。According to the solution of the present invention, the primary system sends upgrade query information to the server, the upgrade query information includes current version information of the primary system and current version information of the subsystem, and the primary system receives the server according to the primary system. The current version information, the current version information of the subsystem, and the response data returned when the upgrade package of the primary system or/and the subsystem is determined, the response data includes primary system upgrade package information or/and subsystem upgrade package information. The primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem, or the primary system Subsystem upgrade package information is sent to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem, and the main system downloads a main system upgrade package corresponding to the main system upgrade package information, according to the The main system upgrade package is used to upgrade the main system. In this solution, multiple control systems are implemented through the main system control upgrade process. At the same time the system upgrade, you can upgrade to improve efficiency.

附图说明DRAWINGS

图1为本发明实施例一的多系统OTA升级方法的实现流程示意图;1 is a schematic flowchart of implementing a multi-system OTA upgrade method according to Embodiment 1 of the present invention;

图2为本发明实施例二的多系统OTA升级方法的实现流程示意图;2 is a schematic flowchart of implementing a multi-system OTA upgrade method according to Embodiment 2 of the present invention;

图3为本发明实施例三的多系统设备的组成结构示意图。FIG. 3 is a schematic structural diagram of a multi-system device according to Embodiment 3 of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步的详细说明。应当理解,此处所描述的具体实施方式仅仅用以解释本发明,并不限定本发明的保护范围。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the scope of the invention.

实施例一Embodiment 1

本发明实施例提供一种多系统OTA升级方法,该方法应用于多系统设备,所述多系统设备具有主系统和与所述主系统建立通讯的至少一个子系统,图1为本发明实施例一的多系统OTA升级方法的实现流程示意图,如图1所示,该方法包括: An embodiment of the present invention provides a multi-system OTA upgrade method, where the method is applied to a multi-system device, where the multi-system device has a main system and at least one subsystem that establishes communication with the main system, and FIG. 1 is an embodiment of the present invention. A schematic diagram of an implementation process of a multi-system OTA upgrade method, as shown in FIG. 1, the method includes:

步骤S101:所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;Step S101: The primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem.

这里,所述主系统当前版本信息为所述主系统的当前版本信息,所述子系统当前版本信息为所述子系统的当前版本信息;Here, the current version information of the primary system is current version information of the primary system, and the current version information of the subsystem is current version information of the subsystem;

具体地,所述主系统可以与各所述子系统进行通讯,分别获取各所述子系统的当前版本信息,获取成功后,与服务器进行通讯(具体可以采用http请求、TCP请求等方式),将各所述子系统的当前版本信息以及自身的当前版本信息上报给服务器;Specifically, the main system may communicate with each of the subsystems to obtain current version information of each subsystem, and after obtaining the success, communicate with the server (specifically, an http request, a TCP request, etc.) Reporting the current version information of each of the subsystems and the current version information of the subsystem to the server;

步骤S102:所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息和子系统升级包信息;Step S102: The host system receives response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade package of the primary system and the subsystem is received, the response The data includes the main system upgrade package information and the subsystem upgrade package information;

具体地,所述服务器在接收到升级查询信息后,可以根据所述主系统当前版本信息查询数据库中是否有所述主系统的新版本,在有所述主系统的新版本时,判定有所述主系统的升级包,并根据所述子系统当前版本信息查询数据库中是否有所述子系统的新版本,在有所述子系统的新版本且所述子系统的新版本与所述主系统的新版本相匹配时,判定有所述子系统的升级包;在没有所述子系统的新版本时,或者在所述子系统的新版本与所述主系统的新版本不匹配时,判定没有所述子系统的升级包;采用这种方式,可以保证所述子系统和所述子系统的版本兼容性;Specifically, after receiving the upgrade query information, the server may query, according to the current version information of the primary system, whether there is a new version of the primary system in the database, and when there is a new version of the primary system, determine that An upgrade package of the primary system, and querying whether there is a new version of the subsystem in the database according to current subsystem information of the subsystem, having a new version of the subsystem and a new version of the subsystem and the primary When a new version of the system matches, it is determined that there is an upgrade package for the subsystem; when there is no new version of the subsystem, or when a new version of the subsystem does not match the new version of the primary system, Determining that there is no upgrade package of the subsystem; in this manner, version compatibility of the subsystem and the subsystem can be guaranteed;

其中,查询数据库中是否有所述主系统的新版本的方式可以是,通过比较所述主系统的目标版本与所述主系统的当前版本的版本号进行判断,若所述主系统的目标版本的版本号小于或者等于所述主系统的当前版本信息的版本号,则没有所述主系统的新版本,若所述主系统的目标版本的版本号大于所述主系统的当前版本信息的版本号,则有所述主系统的新版本,这里,所述目标版本,为数据库中存储的所述主系统的最新版本,查询数据库中是否有所述子系统的新版本的方式与查询数据库中是否有所述主系统的新版本的方式相类似,在此不予赘述;The manner of querying whether there is a new version of the primary system in the database may be performed by comparing a target version of the primary system with a version number of a current version of the primary system, if the target version of the primary system is If the version number is less than or equal to the version number of the current version information of the primary system, there is no new version of the primary system, and if the version number of the target version of the primary system is greater than the version of the current version information of the primary system No., there is a new version of the main system, where the target version is the latest version of the main system stored in the database, and whether the new version of the subsystem is in the database is queried in the query database. Whether there is a new version of the main system is similar, and will not be described here;

其中,查询子系统的新版本是否与所述主系统的新版本相匹配的方式可以 是,根据原先建立的主系统版本与子系统版本的关联关系,判断子系统的新版本是否是所述主系统的新版本所关联的子系统版本,若是,则判定所述子系统的新版本与所述主系统的新版本相匹配;Wherein, whether the new version of the query subsystem matches the new version of the main system can Yes, according to the relationship between the original system version and the subsystem version, the new version of the subsystem is determined to be the subsystem version associated with the new version of the main system, and if so, the new version of the subsystem is determined. Matching the new version of the primary system;

步骤S103:所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;Step S103: The primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem, or the primary system The subsystem upgrade package information is sent to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;

本步骤中的下载子系统升级包的过程可以由主系统执行,也可由子系统执行,为了缓解主系统的下载压力,可以配置成由子系统执行,但是考虑有时子系统会因为未联网而无法下载,为此,在其中一个具体示例中,步骤S103可以包括步骤:所述主系统检测所述子系统的联网状态;若所述子系统处于已联网状态,所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;若所述子系统处于未联网状态,所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级;The process of downloading the subsystem upgrade package in this step may be performed by the main system or by the subsystem. In order to alleviate the download pressure of the main system, it may be configured to be executed by the subsystem, but it is considered that sometimes the subsystem cannot be downloaded because it is not connected to the network. For this purpose, in one specific example, step S103 may include the steps of: the primary system detecting a networked state of the subsystem; if the subsystem is in a networked state, the primary system upgrading the subsystem Sending packet information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; if the subsystem is in an unconnected state, the primary system downloads and corresponding to the subsystem upgrade package information a subsystem upgrade package, sending the subsystem upgrade package to the subsystem for upgrading the subsystem;

其中,所述子系统可以根据与所述主系统建立的通讯连接(数据通道)将子系统的联网状态发送给所述主系统,由所述主系统根据子系统的联网状态确定是由所述子系统下载所述子系统升级包还是由所述主系统下载所述子系统升级包,这里,所述子系统处于已联网状态说明所述子系统可以联网且已经联网,所述子系统处于未联网状态说明所述子系统不可以联网或者虽然可以联网但却未联网;一般地,所述子系统升级包信息包括升级包地址信息,可以基于该升级包地址信息从网络中下载子系统升级包;The subsystem may send a networked state of the subsystem to the primary system according to a communication connection (data channel) established with the primary system, and the primary system determines that the The subsystem downloads the subsystem upgrade package or downloads the subsystem upgrade package by the main system, where the subsystem is in a networked state, indicating that the subsystem can be networked and networked, and the subsystem is in the The networking state indicates that the subsystem is not networkable or can be networked but not networked; generally, the subsystem upgrade package information includes upgrade package address information, and the subsystem upgrade package can be downloaded from the network based on the upgrade package address information. ;

本步骤中的子系统的升级过程由子系统执行,在执行升级前一般需要先对子系统升级包的正确性、完整性进行验证,为此,所述子系统升级包信息还可以包括md5(Message-Digest Algorithm 5,信息摘要算法5,将数据运算为另一固定长度值,用于确保信息传输的完整一致)信息;从而,在下载了子系统升级包后,还可以通过比较子系统升级包信息中的md5信息与下载的子系统升级包的md5信息的一致性,来对子系统升级包的正确性与完整性进行验证; The upgrade process of the subsystem in this step is performed by the subsystem. Before performing the upgrade, the correctness and integrity of the subsystem upgrade package are generally verified. For this purpose, the subsystem upgrade package information may also include md5 (Message). -Digest Algorithm 5, information digest algorithm 5, the data is calculated as another fixed length value, used to ensure complete and consistent information transmission; thus, after downloading the subsystem upgrade package, the subsystem upgrade package can also be compared The consistency of the md5 information in the information with the md5 information of the downloaded subsystem upgrade package to verify the correctness and integrity of the subsystem upgrade package;

所述子系统升级包信息还可以包括版本号,从而,在下载了子系统升级包后,还可以通过比较子系统升级包信息中的版本号与下载的子系统升级包的版本号的一致性,来对子系统升级包的正确性进行验证;The subsystem upgrade package information may further include a version number, so that after downloading the subsystem upgrade package, the version number in the subsystem upgrade package information may be compared with the version number of the downloaded subsystem upgrade package. , to verify the correctness of the subsystem upgrade package;

一般地,还需要在根据所述响应数据确定所述主系统和所述子系统可升级时,弹出升级框供用户确认是否需要升级,为此,在其中一个具体示例中,本发明的多系统OTA升级方法,还可以包括步骤:所述主系统显示用于提示用户选择是否需要进行系统升级的可视提示;所述主系统在接收到系统升级指令时,进入所述检测所述子系统的联网状态的步骤;Generally, when it is determined that the primary system and the subsystem are upgradeable according to the response data, an upgrade box is popped up for the user to confirm whether an upgrade is needed. To this end, in one specific example, the multiple systems of the present invention The OTA upgrade method may further include the steps: the primary system displays a visual prompt for prompting the user to select whether a system upgrade is required; and the primary system enters the detecting the subsystem when receiving the system upgrade instruction The steps of the networking state;

所述可视提示可以是文本、图形或其任意组合,例如,可视提示可以上面有个按钮“升级”,那么用户选中“升级”按钮的时候,所述主系统就会开始检测所述子系统的联网状态;The visual cue may be text, graphics or any combination thereof. For example, the visual cue may have a button “upgrade” on the button, and when the user selects the “upgrade” button, the main system starts to detect the sub-function. The networked state of the system;

所述子系统在升级失败时,中断此次升级,还原到所述子系统升级前的版本,即并对所述子系统的版本进行回滚,以确保不会影响整个系统(包括主系统和子系统);When the upgrade fails, the subsystem interrupts the upgrade, restores the version before the upgrade of the subsystem, and rolls back the version of the subsystem to ensure that the entire system (including the primary system and the child) is not affected. system);

步骤S104:所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级;Step S104: The main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package.

其中,所述主系统升级包信息也可以包括md5信息,从而,在主系统下载了子系统升级包后,还可以通过比较主系统升级包信息中的md5信息与下载的主系统升级包的md5信息的一致性,来对主系统升级包的正确性与完整性进行验证;此外,一般地,所述主系统升级包信息还包括升级包地址,版本号;The main system upgrade package information may also include md5 information, so that after the main system downloads the subsystem upgrade package, the md5 information in the main system upgrade package information and the downloaded main system upgrade package md5 may also be compared. Information consistency, to verify the correctness and integrity of the main system upgrade package; in addition, generally, the main system upgrade package information also includes the upgrade package address, version number;

所述主系统升级包信息还可以包括版本号,从而,在下载了主系统升级包后,还可以通过比较主系统升级包信息中的版本号与下载的主系统升级包的版本号的一致性,来对主系统升级包的正确性进行验证;此外,一般地,所述主系统升级包信息还包括升级包地址信息,基于该升级包地址信息从网络中下载主系统升级包;The main system upgrade package information may further include a version number, so that after downloading the main system upgrade package, the version number in the main system upgrade package information may be compared with the version number of the downloaded main system upgrade package. To verify the correctness of the main system upgrade package; in addition, generally, the main system upgrade package information further includes upgrade package address information, and the main system upgrade package is downloaded from the network based on the upgrade package address information;

具体地可以是,所述子系统在升级完毕时,通知所述主系统,所述主系统在全部子系统升级完毕后,进入下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级的步骤。 Specifically, the subsystem may notify the main system when the upgrade is completed, and after the upgrade of all the subsystems, the main system enters and downloads a main system upgrade package corresponding to the information of the main system upgrade package, according to The main system upgrade package performs the step of upgrading the main system.

根据上述本发明方案,其是所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息和子系统升级包信息;所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级,在本实施例方案中,通过主系统控制升级流程实现了对多个系统同时进行升级,可以提高升级效率。According to the solution of the present invention, the primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; the primary system receives the server according to the current status of the primary system. The version information, the current version information of the subsystem, and the response data returned when the upgrade package of the primary system and the subsystem is determined, the response data includes primary system upgrade package information and subsystem upgrade package information; the primary system Downloading a subsystem upgrade package corresponding to the subsystem upgrade package information, sending the subsystem upgrade package to the subsystem for upgrading the subsystem, or the primary system upgrading the subsystem package information Sending to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; the main system downloads a main system upgrade package corresponding to the main system upgrade package information, according to the main system upgrade package Performing the upgrade of the main system, in the solution of the embodiment, implementing the upgrade process by the main system to achieve the same for multiple systems Upgrade, you can upgrade to improve efficiency.

实施例二Embodiment 2

基于上述的实施例一,本发明实施例提供一种多系统OTA升级方法,该方法应用于多系统设备,所述多系统设备具有主系统和与所述主系统建立通讯的至少一个子系统,所述方法包括:Based on the first embodiment, the embodiment of the present invention provides a multi-system OTA upgrade method, where the method is applied to a multi-system device, where the multi-system device has a main system and at least one subsystem that establishes communication with the main system. The method includes:

步骤S201:所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;Step S201: The primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem;

步骤S202:所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统或者所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息或者子系统升级包信息;Step S202: The host system receives response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade package of the primary system or the subsystem is received, the response The data includes the main system upgrade package information or the subsystem upgrade package information;

步骤S203:在所述响应数据包括子系统升级包信息时,所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;Step S203: When the response data includes subsystem upgrade package information, the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem. Upgrading the subsystem, or the primary system sends the subsystem upgrade package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem;

步骤S204:在所述响应数据包括主系统升级包信息时,所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。 Step S204: When the response data includes the main system upgrade package information, the main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package. .

本实施例二中是针对仅有所述主系统、所述子系统中的一个需要升级(即仅有所述主系统、所述子系统中的一个的升级包)的实现方式,响应数据仅包括主系统升级包信息、子系统升级包信息中的一个,而上述实施例一是针对所述主系统和所述子系统均需要升级(即有所述主系统和所述子系统的升级包)的实现方式,响应数据包括主系统升级包信息和子系统升级包信息;本发明实施例二中的步骤S201至步骤S204的技术细节可以分别对应地参见实施例一中的步骤S101至步骤S104中的描述,为节约篇幅,这里不再赘述。In the second embodiment, only one of the main system and the subsystem needs to be upgraded (that is, only the upgrade system of the main system and one of the subsystems), and the response data is only The system includes one of the main system upgrade package information and the subsystem upgrade package information, and the foregoing first embodiment needs to be upgraded for the main system and the subsystem (that is, the upgrade package of the main system and the subsystem) The implementation of the method, the response data includes the main system upgrade package information and the subsystem upgrade package information; the technical details of the step S201 to the step S204 in the second embodiment of the present invention can be respectively referred to the steps S101 to S104 in the first embodiment. The description, in order to save space, will not be repeated here.

实施例三Embodiment 3

基于上述的实施例一,本发明实施例提供一种多系统设备,图3为本发明实施例三的多系统设备的组成结构示意图,如图3所示,多系统设备具有主系统301和与主系统301建立通讯的至少一个子系统302,主系统301包括:Based on the above-mentioned first embodiment, the embodiment of the present invention provides a multi-system device, and FIG. 3 is a schematic structural diagram of a multi-system device according to Embodiment 3 of the present invention. As shown in FIG. 3, the multi-system device has a main system 301 and The main system 301 establishes at least one subsystem 302 for communication, and the main system 301 includes:

信息收发模块3012,用于向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息和子系统升级包信息;The information transceiver module 3012 is configured to send upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; and receiving, according to the current version information of the primary system, the current version of the subsystem The information is determined by the response data returned by the primary system and the upgrade package of the subsystem, and the response data includes primary system upgrade package information and subsystem upgrade package information;

升级模块3013,用于下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。The upgrade module 3013 is configured to download a subsystem upgrade package corresponding to the subsystem upgrade package information, send the subsystem upgrade package to the subsystem to upgrade the subsystem, or upgrade the subsystem. Sending package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; downloading a main system upgrade package corresponding to the main system upgrade package information, and performing the upgrade according to the main system upgrade package The upgrade of the main system.

本发明实施例提供的多系统设备,需要指出的是:以上对于多系统设备的描述,与上述应用于多系统设备的多系统OTA升级方法的描述是类似的,并且具有上述应用于多系统设备的多系统OTA升级方法的有益效果,为节约篇幅,不再赘述;因此,以上对本发明实施例提供的多系统设备中未披露的技术细节,请参照上述提供的应用于多系统设备的多系统OTA升级方法的描述。 The multi-system device provided by the embodiment of the present invention needs to be pointed out that the above description of the multi-system device is similar to the above description of the multi-system OTA upgrade method applied to the multi-system device, and has the above-mentioned application to the multi-system device. The beneficial effects of the multi-system OTA upgrade method are not described in detail for the sake of space saving; therefore, for the technical details not disclosed in the multi-system device provided by the embodiment of the present invention, please refer to the multi-system applied to the multi-system device provided above. Description of the OTA upgrade method.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (10)

一种多系统OTA升级方法,其特征在于,所述方法应用于多系统设备,所述多系统设备具有主系统和与所述主系统建立通讯的至少一个子系统,所述方法包括:A multi-system OTA upgrade method, the method being applied to a multi-system device having a main system and at least one subsystem establishing communication with the main system, the method comprising: 所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;The primary system sends upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; 所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息和子系统升级包信息;Receiving, by the primary system, response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade package of the primary system and the subsystem is received, the response data includes a primary System upgrade package information and subsystem upgrade package information; 所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;The primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem, or the primary system uses the sub-system System upgrade package information is sent to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; 所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。The main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package. 根据权利要求1所述的多系统OTA升级方法,其特征在于,所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级的过程包括步骤:The multi-system OTA upgrade method according to claim 1, wherein the main system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem. The process of performing the upgrade of the subsystem, or the primary system sending the subsystem upgrade package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem includes the following steps: 所述主系统检测所述子系统的联网状态;The primary system detects a networked state of the subsystem; 若所述子系统处于已联网状态,所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;If the subsystem is in a networked state, the primary system sends the subsystem upgrade package information to the subsystem to perform downloading of the subsystem upgrade package and upgrading the subsystem; 若所述子系统处于未联网状态,所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级。If the subsystem is in an unnetworked state, the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem to perform upgrade of the subsystem. . 根据权利要求2所述的多系统OTA升级方法,其特征在于,还包括步骤: The multi-system OTA upgrade method according to claim 2, further comprising the steps of: 所述主系统显示用于提示用户选择是否需要进行系统升级的可视提示;The main system displays a visual prompt for prompting the user to select whether a system upgrade is required; 所述主系统在接收到系统升级指令时,进入所述检测所述子系统的联网状态的步骤。The primary system enters the step of detecting a networked state of the subsystem upon receiving a system upgrade command. 根据权利要求1所述的多系统OTA升级方法,其特征在于,由所述服务器根据所述主系统当前版本信息查询数据库中是否有所述主系统的新版本,在有所述主系统的新版本时,判定有所述主系统的升级包,并根据所述子系统当前版本信息查询数据库中是否有所述子系统的新版本,在有所述子系统的新版本且所述子系统的新版本与所述主系统的新版本相匹配时,判定有所述子系统的升级包。The multi-system OTA upgrade method according to claim 1, wherein the server queries whether there is a new version of the main system in the database according to the current version information of the main system, and the new system has the new system. When the version is determined, the upgrade package of the primary system is determined, and according to the current version information of the subsystem, whether there is a new version of the subsystem in the database, a new version of the subsystem is present, and the subsystem is When the new version matches the new version of the primary system, it is determined that there is an upgrade package for the subsystem. 根据权利要求1所述的多系统OTA升级方法,其特征在于,由所述服务器在所述子系统的新版本与所述主系统的新版本不匹配时,判定没有所述子系统的升级包。The multi-system OTA upgrade method according to claim 1, wherein the server determines that there is no upgrade package of the subsystem when a new version of the subsystem does not match a new version of the main system. . 根据权利要求1所述的多系统OTA升级方法,其特征在于,所述主系统升级包信息和子系统升级包信息分别包括升级包地址、版本号、或者/和md5信息。The multi-system OTA upgrade method according to claim 1, wherein the main system upgrade package information and the subsystem upgrade package information respectively include an upgrade package address, a version number, or/and md5 information. 根据权利要求1所述的多系统OTA升级方法,其特征在于,还包括步骤:The multi-system OTA upgrade method according to claim 1, further comprising the steps of: 所述子系统在升级完毕时,通知所述主系统,所述主系统在全部子系统升级完毕后,进入下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级的步骤。When the upgrade is completed, the subsystem notifies the main system, after the upgrade of all subsystems, the main system enters and downloads a main system upgrade package corresponding to the information of the main system upgrade package, and upgrades according to the main system. The package performs the steps of upgrading the primary system. 根据权利要求7所述的多系统OTA升级方法,其特征在于,还包括步骤:The multi-system OTA upgrade method according to claim 7, further comprising the steps of: 所述子系统在升级失败时,中断此次升级,还原到所述子系统升级前的版本。When the upgrade fails, the subsystem interrupts the upgrade and restores to the version before the subsystem is upgraded. 一种多系统OTA升级方法,其特征在于,所述方法应用于多系统设备,所述多系统设备具有主系统和与所述主系统建立通讯的至少一个子系统,所述方法包括:A multi-system OTA upgrade method, the method being applied to a multi-system device having a main system and at least one subsystem establishing communication with the main system, the method comprising: 所述主系统向服务器发送升级查询信息,所述升级查询信息包括主系统当 前版本信息和子系统当前版本信息;The primary system sends upgrade query information to the server, where the upgrade query information includes the primary system. Previous version information and current version information of the subsystem; 所述主系统接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统或者所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息或者子系统升级包信息;Receiving, by the primary system, response data returned by the server when determining, according to the current version information of the primary system and the current version information of the subsystem, that the upgrade file of the primary system or the subsystem is updated, the response data includes a primary System upgrade package information or subsystem upgrade package information; 在所述响应数据包括子系统升级包信息时,所述主系统下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者所述主系统将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;When the response data includes subsystem upgrade package information, the primary system downloads a subsystem upgrade package corresponding to the subsystem upgrade package information, and sends the subsystem upgrade package to the subsystem to perform the sub- An upgrade of the system, or the primary system sends the subsystem upgrade package information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; 在所述响应数据包括主系统升级包信息时,所述主系统下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。When the response data includes the main system upgrade package information, the main system downloads a main system upgrade package corresponding to the main system upgrade package information, and performs upgrade of the main system according to the main system upgrade package. 一种多系统设备,其特征在于,具有主系统和与所述主系统建立通讯的至少一个子系统,所述主系统包括:A multi-system device having a main system and at least one subsystem establishing communication with the main system, the main system comprising: 信息收发模块,用于向服务器发送升级查询信息,所述升级查询信息包括主系统当前版本信息和子系统当前版本信息;接收所述服务器根据所述主系统当前版本信息、所述子系统当前版本信息判定有所述主系统和所述子系统的升级包时返回的响应数据,所述响应数据包括主系统升级包信息和子系统升级包信息;The information transceiver module is configured to send upgrade query information to the server, where the upgrade query information includes current version information of the primary system and current version information of the subsystem; and receiving, by the server, current version information of the primary system, current version information of the subsystem Determining response data returned when there is an upgrade package of the primary system and the subsystem, the response data including primary system upgrade package information and subsystem upgrade package information; 升级模块,用于下载与所述子系统升级包信息对应的子系统升级包,将所述子系统升级包发送给所述子系统进行所述子系统的升级,或者将所述子系统升级包信息发送给所述子系统进行所述子系统升级包的下载和所述子系统的升级;下载与所述主系统升级包信息对应的主系统升级包,根据所述主系统升级包进行所述主系统的升级。 An upgrade module, configured to download a subsystem upgrade package corresponding to the subsystem upgrade package information, send the subsystem upgrade package to the subsystem to upgrade the subsystem, or upgrade the subsystem package Sending information to the subsystem for downloading the subsystem upgrade package and upgrading the subsystem; downloading a main system upgrade package corresponding to the main system upgrade package information, according to the main system upgrade package Upgrade of the main system.
PCT/CN2016/113206 2016-03-23 2016-12-29 Multi-system ota upgrade method and multi-system device Ceased WO2017161947A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610173557.4A CN105897461A (en) 2016-03-23 2016-03-23 Multi-system OTA upgrading method and multi-system equipment
CN201610173557.4 2016-03-23

Publications (1)

Publication Number Publication Date
WO2017161947A1 true WO2017161947A1 (en) 2017-09-28

Family

ID=57013747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113206 Ceased WO2017161947A1 (en) 2016-03-23 2016-12-29 Multi-system ota upgrade method and multi-system device

Country Status (2)

Country Link
CN (1) CN105897461A (en)
WO (1) WO2017161947A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814893A (en) * 2017-11-22 2019-05-28 中兴通讯股份有限公司 Method for down loading, device, computer equipment and the storage medium of OTA upgrade package
CN112068855A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Method and system for upgrading application under dual systems
CN112748944A (en) * 2020-12-24 2021-05-04 厦门厦华科技有限公司 Upgrading method and upgrading system of intelligent interactive electronic whiteboard
CN114185576A (en) * 2021-12-15 2022-03-15 深圳市有方科技股份有限公司 Embedded equipment upgrading method and device, computer equipment and storage medium
CN115220750A (en) * 2021-11-25 2022-10-21 广州汽车集团股份有限公司 Automobile OTA (over the air) upgrading method, front-row host and system
CN115857985A (en) * 2022-11-21 2023-03-28 星河智联汽车科技有限公司 Cabin upgrading system, operation method and storage medium
CN118118728A (en) * 2024-04-30 2024-05-31 四川天邑康和通信股份有限公司 IPTV set top box data processing method and device, set top box and medium

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897461A (en) * 2016-03-23 2016-08-24 广州视睿电子科技有限公司 Multi-system OTA upgrading method and multi-system equipment
CN106445615A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Multi-system OTA upgrading method and device
CN107479927A (en) * 2017-08-14 2017-12-15 青岛海信宽带多媒体技术有限公司 The firmware upgrade method and device of pattern of fusion all-in-one
CN107833623A (en) * 2017-10-27 2018-03-23 上海京颐科技股份有限公司 Medical care equipment and its method for updating system, computer-readable medium
CN110769057A (en) * 2019-10-25 2020-02-07 广东博智林机器人有限公司 Automatic upgrading method, device and system based on cascade system
CN113204360B (en) * 2021-04-30 2024-07-26 北京明朝万达科技股份有限公司 System upgrading method and device
CN114077458A (en) * 2021-10-25 2022-02-22 上海浦东发展银行股份有限公司 Method, device, equipment and storage medium for starting service module in application program
CN114064085A (en) * 2021-11-19 2022-02-18 深圳创维-Rgb电子有限公司 A method, device, terminal and storage medium for dual-system linkage upgrade
CN114327550A (en) * 2021-12-28 2022-04-12 深圳创维-Rgb电子有限公司 Sub-screen system upgrade method, device, screen terminal, display device and storage medium
CN114745696A (en) * 2022-03-07 2022-07-12 联合汽车电子有限公司 OTA upgrading device and method for vehicle-mounted equipment
CN115857984A (en) * 2022-11-11 2023-03-28 中移物联网有限公司 How to upgrade master and slave devices
CN116506419A (en) * 2023-03-30 2023-07-28 智己汽车科技有限公司 A method and system for intelligently selecting an upgrade package download path

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197939A (en) * 2012-01-05 2013-07-10 联想(新加坡)私人有限公司 Firmware updating in a hybrid computing environment
US20130263105A1 (en) * 2012-03-30 2013-10-03 Lenovo (Singapore) Pte. Ltd. Methods for facilitating updates at an information handling device
CN103544027A (en) * 2012-07-13 2014-01-29 联想(北京)有限公司 Method and electronic device for controlling application updating
CN103902315A (en) * 2012-12-27 2014-07-02 北京谊安医疗系统股份有限公司 System and method for online updating of multiple board cards
CN105897461A (en) * 2016-03-23 2016-08-24 广州视睿电子科技有限公司 Multi-system OTA upgrading method and multi-system equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100346298C (en) * 2003-07-23 2007-10-31 华为技术有限公司 System and method for remotely loading or upgrading program
CN102984281A (en) * 2012-12-20 2013-03-20 湖南纽曼数码科技有限公司 Automatic upgrading method of multi-system vehicle-mounted equipment
CN104717636B (en) * 2013-12-13 2019-03-05 成都鼎桥通信技术有限公司 Method for upgrading software, terminal device and aerial download server
CN104168557B (en) * 2014-08-28 2018-06-15 酷派软件技术(深圳)有限公司 The upgrade method of operating system and the update device of operating system
CN105049533B (en) * 2015-08-31 2019-02-01 宇龙计算机通信科技(深圳)有限公司 Method and system for upgrading terminal system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197939A (en) * 2012-01-05 2013-07-10 联想(新加坡)私人有限公司 Firmware updating in a hybrid computing environment
US20130263105A1 (en) * 2012-03-30 2013-10-03 Lenovo (Singapore) Pte. Ltd. Methods for facilitating updates at an information handling device
CN103544027A (en) * 2012-07-13 2014-01-29 联想(北京)有限公司 Method and electronic device for controlling application updating
CN103902315A (en) * 2012-12-27 2014-07-02 北京谊安医疗系统股份有限公司 System and method for online updating of multiple board cards
CN105897461A (en) * 2016-03-23 2016-08-24 广州视睿电子科技有限公司 Multi-system OTA upgrading method and multi-system equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814893A (en) * 2017-11-22 2019-05-28 中兴通讯股份有限公司 Method for down loading, device, computer equipment and the storage medium of OTA upgrade package
CN112068855A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Method and system for upgrading application under dual systems
CN112068855B (en) * 2019-06-10 2024-03-26 海信视像科技股份有限公司 Method and system for upgrading application under dual systems
CN112748944A (en) * 2020-12-24 2021-05-04 厦门厦华科技有限公司 Upgrading method and upgrading system of intelligent interactive electronic whiteboard
CN115220750A (en) * 2021-11-25 2022-10-21 广州汽车集团股份有限公司 Automobile OTA (over the air) upgrading method, front-row host and system
CN115220750B (en) * 2021-11-25 2024-03-15 广州汽车集团股份有限公司 Car OTA upgrade method, front host and system
CN114185576A (en) * 2021-12-15 2022-03-15 深圳市有方科技股份有限公司 Embedded equipment upgrading method and device, computer equipment and storage medium
CN115857985A (en) * 2022-11-21 2023-03-28 星河智联汽车科技有限公司 Cabin upgrading system, operation method and storage medium
CN118118728A (en) * 2024-04-30 2024-05-31 四川天邑康和通信股份有限公司 IPTV set top box data processing method and device, set top box and medium

Also Published As

Publication number Publication date
CN105897461A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017161947A1 (en) Multi-system ota upgrade method and multi-system device
WO2019076037A1 (en) Firmware updating method and device
US9436456B2 (en) System and method for management of software updates at a vehicle computing system
US20120102477A1 (en) Firmware update method and apparatus for a mobile device
US11876676B2 (en) Network node firmware update
US20120117557A1 (en) Method and system for upgrading wireless data card
CN102541596A (en) Operating system upgrading method and device
CN106528214B (en) OS installation method, server and system
CN105786542A (en) Intelligent device and system update method of the intelligent device
CN105786549A (en) Smart device and upgrading method thereof
WO2017049550A1 (en) Adapter and adapter upgrade method
CN111679850B (en) Application program hot update processing method, device and system
CN104572217A (en) Upgrade method and system for wearable smart devices
WO2020107436A1 (en) Program upgrade method and embedded device
CN112035145B (en) Equipment upgrading method and related device
CN111459524A (en) Software upgrading method, device and system
CN112771497A (en) Method and device for upgrading equipment and storage medium
CN104133704B (en) Software upgrading, AKU delivery method, device and equipment
CN115515012B (en) Key burning method, device, electronic equipment board and storage medium
CN111078266A (en) Client-side processing method and device for low-coupling incremental upgrade of voice software, and server-side processing method
CN108322540A (en) Customized data lead-in method, terminal and computer readable storage medium
CN105472418B (en) A kind of set-top-box system abnormality restoration methods and set-top box
KR20180050001A (en) Firmware upgrade system and method for IoT
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN106028142A (en) Upgrading control method and upgrading control apparatus for playing devices

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16895291

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895291

Country of ref document: EP

Kind code of ref document: A1