WO2018006677A1 - 智能升级方法、服务器、终端和系统 - Google Patents

智能升级方法、服务器、终端和系统 Download PDF

Info

Publication number
WO2018006677A1
WO2018006677A1 PCT/CN2017/087237 CN2017087237W WO2018006677A1 WO 2018006677 A1 WO2018006677 A1 WO 2018006677A1 CN 2017087237 W CN2017087237 W CN 2017087237W WO 2018006677 A1 WO2018006677 A1 WO 2018006677A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
terminal
server
version
storage space
Prior art date
Application number
PCT/CN2017/087237
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 中兴通讯股份有限公司
Publication of WO2018006677A1 publication Critical patent/WO2018006677A1/zh

Links

Images

Classifications

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

Definitions

  • the present disclosure relates to the field of software version upgrade of a mobile terminal, for example, to an intelligent upgrade method, a server, a terminal, and a system.
  • OMA-DM Open Mobile Alliance-Device Management
  • the mobile terminal sends a request for detecting a new version to the server, where the request includes the model of the terminal and the international mobile device identification code.
  • No. International Mobile Equipment Identity, IMEI
  • the server confirms the identification of the model or IMEI
  • the mobile terminal reports to the server the source version number of the software to be upgraded, and the server retrieves whether there is a matching upgrade package according to the source version number reported by the mobile terminal, if There is a download link that returns the upgrade package for the terminal to download and upgrade.
  • IMEI International Mobile Equipment Identity
  • the software version is upgraded.
  • the server returns the upgrade package, only the specific upgrade package download link and the upgrade package occupy the storage space size.
  • the upgrade package may take up too much space, which may cause the upgrade to fail.
  • An intelligent upgrade method, server, terminal, and system that enables a terminal to be upgraded to the current highest target version.
  • An intelligent upgrade method including:
  • the server receives an upgrade policy request sent by the terminal, where the upgrade policy request includes a terminal model, a terminal device identifier, a software source version number, and storage space size information available to the terminal;
  • the server generates an upgrade policy for the terminal according to the upgrade policy request
  • the server sends the upgrade policy to the terminal.
  • the generating, by the server, the upgrade policy for the terminal according to the upgrade policy request may include:
  • the route is upgraded from the source version corresponding to the software source version number to the highest target version, and the optimal route is selected for the terminal according to the filtering principle, and the upgrade policy is generated according to the optimal route.
  • the method may further include: listing a route upgraded from the source version to the next highest target version when the route upgrade from the source version to the highest target version cannot be listed.
  • the upgrade policy includes one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a size information of a storage space occupied by the upgrade package, and an upgrade package link.
  • the filtering principle may be: the minimum number of upgrades or the accumulated storage space occupied by the upgrade package is the smallest.
  • An intelligent upgrade method including:
  • the terminal obtains the storage space size information that is available to itself;
  • the terminal sends an upgrade policy request to the server, where the upgrade policy request includes a terminal model, a terminal device identifier, a software source version number, and storage space size information available to the terminal;
  • the terminal performs downloading and upgrading of the upgrade package according to the upgrade policy.
  • the upgrade policy includes one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a size information of the storage space occupied by the upgrade package, and an upgrade package link.
  • a server includes a first receiving module, a first processing module, and a first sending module,
  • the first receiving module is configured to receive an upgrade policy request sent by the terminal, where the upgrade policy request includes a terminal model, a terminal device identification code, a software source version number, and storage space size information available to the terminal.
  • the first processing module is configured to generate an upgrade policy for the terminal according to the upgrade policy request;
  • the first sending module is configured to send the upgrade policy to the terminal.
  • the first processing module as described above may be configured to
  • the route is upgraded from the source version corresponding to the software source version number to the highest target version, and the optimal route is selected for the terminal according to the filtering principle, and the upgrade policy is generated according to the optimal route.
  • the first processing module as described above may also be arranged to list the routes upgraded from the source version to the next highest target version when the route from the source version to the highest target version cannot be listed.
  • the upgrade policy as described above may include one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a size information of the storage space occupied by the upgrade package, and an upgrade package link.
  • the minimum number of upgrades or the minimum amount of storage space occupied by the upgrade package is the minimum number of upgrades or the minimum amount of storage space occupied by the upgrade package.
  • a terminal includes an obtaining module, a second sending module, a second receiving module, and a second processing module,
  • the obtaining module is configured to obtain storage size information that is available to itself;
  • the second sending module is configured to send an upgrade policy request to the server, where the upgrade policy request includes a terminal model, a terminal device identification code, a software source version number, and storage space size information available to the terminal;
  • the second receiving module is configured to receive an upgrade policy sent by the server
  • the second processing module is configured to perform downloading and upgrading of the upgrade package according to the upgrade policy.
  • the upgrade policy as described above may include one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a size information of the storage space occupied by the upgrade package, and an upgrade package link.
  • An intelligent upgrade system includes a server and the terminal as described above.
  • a computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • a server that includes:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform a smart upgrade method applied to a server.
  • a terminal comprising:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform a smart upgrade method applied to the terminal.
  • the server receives the upgrade policy request sent by the terminal, where the upgrade policy request includes the terminal model, the terminal device identifier, the software source version number, and the storage space size information available to the terminal;
  • the server generates an upgrade policy for the terminal according to the upgrade policy request;
  • the server sends the upgrade policy to the terminal, which can upgrade the terminal to the highest target version.
  • FIG. 1 is a flowchart of a smart upgrade method 1 according to an embodiment
  • FIG. 2 is a flowchart of a smart upgrade method 2 according to an embodiment
  • FIG. 3 is a schematic structural diagram of a server provided by an embodiment
  • FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment
  • FIG. 5 is a schematic structural diagram of a hardware of a server according to an embodiment
  • FIG. 6 is a schematic structural diagram of a hardware of a terminal according to an embodiment.
  • FIG. 1 is a flowchart of a smart upgrade method 1 according to an embodiment of the present disclosure
  • the server receives an upgrade policy request sent by the terminal.
  • the upgrade policy request includes the terminal model, the terminal device identification code, the software source version number, and the storage space size information available to the terminal.
  • the terminal device identification code is owned by the terminal device at the time of shipment, which is equivalent to the "identity card" of the terminal device, and the terminal device identification code of each terminal device is unique.
  • the terminal device identification code may be an international mobile device. Equipment Identification Code Number (International Mobile Equipment Identity, IMEI).
  • step 110 the server generates an upgrade policy for the terminal according to the upgrade policy request.
  • the step 110 includes: obtaining, by the server, at least one upgrade package that matches the terminal model, the terminal device identifier, the software source version number, and the storage space size information available to the terminal; and listing the software source version number corresponding to the software source version number.
  • the source version is upgraded to the route of the highest target version.
  • the best route is selected for the terminal according to the filtering principle, and the upgrade policy is generated according to the best route.
  • the source version number of a terminal software is version 1
  • the highest version number that can be upgraded on the server is version 7, and the version number in the middle is version 3, version 4, and version 6.
  • the available storage space of the terminal is 3 MB, that is, 3072KB, that is, each upgrade package of the terminal from version 1 to version 7 routing must not exceed 3072KB.
  • the upgrade package obtained by the server that matches the terminal model number, IMEI number, software source version number, and available storage space size information of the terminal is shown in Table 1.
  • the route from version 1 to version 7 is: Version 1 -> Version 3 -> Version 4 -> Version 6 -> Version 7; Version 1 -> Version 3 -> Version 4 -> Version 7; and Version 1 -> Version 3 -> Version 6 -> Version 7.
  • the filtering principle is: the minimum number of upgrades or the accumulated storage space of the upgrade package is the smallest.
  • the screening principle is the minimum number of upgrades, you can filter the upgrade under the same number of upgrades.
  • the route with the smallest accumulated storage space is the best route.
  • the filtering principle is that the storage space occupied by the upgrade package is the smallest, the least number of upgrades can be filtered under the condition that the storage space occupied by the upgrade package is the same. Routing is the best route.
  • the upgrade policy includes one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a size information of the storage space occupied by the upgrade package, and an upgrade package link.
  • the number of upgrades is at least the filtering principle.
  • Version 1 -> Version 3 -> Version 4 -> Version 6 -> Version 7 Upgrades are 4 times, Version 1 -> Version 3 -> Version 4 > Version 7 and Version 1 -> Version 3 -> Version 6 -> Version 7 has 3 upgrades.
  • the route with the smallest storage space occupied by the upgrade package is the most. Good routing, therefore, you should choose the best route in version 1 -> version 3 -> version 4 -> version 7 and version 1 -> version 3 -> version 6 -> version 7, upgrade from version 1 to version 3.
  • the package size is 1500KB
  • the upgrade package size of version 3 is upgraded to version 4 is 2000KB
  • the upgrade package size of version 4 is upgraded to version 7 is 3000KB.
  • version 1 -> version 3 -> version 4 -> version 7 is upgraded.
  • the storage space occupied by the package is 6500KB in total; the upgrade package size from version 1 to version 3 is 1500KB, the upgrade package size from version 3 to version 6 is 2500KB, and the upgrade package size from version 6 to version 7 is 2000KB.
  • the version 1 -> version 3 -> version 6 -> version 7 storage of this routing upgrade package The total size is 6000 KB. Therefore, the route of the version 1 -> Version 3 -> Version 6 -> Version 7 is the best route, and the upgrade policy is generated according to the best route.
  • the upgrade policy in this embodiment is included.
  • the upgrade information is shown in Table 2.
  • the highest version of the route that can be upgraded to a single time can be used as the best route, and the source version can be searched for a single time.
  • the highest version that can be upgraded from version 3 in a single time is version 6.
  • the highest version that can be upgraded from version 6 in one time is version 7, so the best route is version 1 -> version. 3->Version 6->Version 7.
  • step 120 the server sends an upgrade policy to the terminal.
  • the server receives an upgrade policy request that includes the storage space size information that is available to the terminal, and generates an upgrade policy for the terminal according to the upgrade policy request, and sends the upgrade policy to the terminal, where the storage space of the terminal itself is limited. Underneath, you can upgrade the terminal to the highest target version.
  • the route from the source version to the highest target version cannot be listed, the route from the source version to the next highest target version is listed, and the best route is filtered for the terminal according to the filtering principle, and according to the best route Generate an upgrade strategy.
  • the upgrade policy generated by the server may include multiple upgrades.
  • the server may only deliver the upgrade information corresponding to the first step in the optimal route. After the terminal completes the single upgrade according to the upgrade information, the server delivers the second upgrade. The information is upgraded by the terminal until the terminal is upgraded to the highest target version. The server can also deliver the corresponding upgrade information in the first two steps of the optimal route. After the terminal completes the upgrade based on the upgrade information, the server delivers the next upgrade information until the terminal is upgraded to the highest target version.
  • the smart upgrade method provided in this embodiment can obtain a route that is upgraded from the source version to the next highest target version when the route from the source version to the highest target version cannot be obtained. Upgrade to the highest possible target version.
  • FIG. 2 is a flowchart of a smart upgrade method 2 according to the embodiment.
  • step 200 the terminal acquires storage space size information that is available to itself.
  • the terminal needs to be able to access the Internet normally, such as through wired broadband, wireless networks (such as Wireless Fidelity (WIFI)) or mobile networks, to access the network where the server is located.
  • WIFI Wireless Fidelity
  • the terminal can obtain the storage space size information available to the terminal through a calculation method, and the calculation method is related to the operating system or platform used by the terminal, and the system or platform provider can provide an interface for the upper layer developer to use.
  • step 210 the terminal sends an upgrade policy request to the server.
  • the upgrade policy request includes the terminal model, the terminal device identification code, the software source version number, and the storage space size information available to the terminal.
  • a field or node indicating the available storage size information may be added to the upgrade policy request to indicate the available storage space.
  • the format of the proprietary protocol used is not limited, and the terminal can be embedded in the existing interactive protocol format.
  • the server parses according to the definition of the new field convention.
  • the Extensible Markup Language (XML) format is used as an example.
  • the node ⁇ SpaceAvailable> can be used to indicate the storage space available to the terminal. See the following format.
  • the value field 3072 indicates the storage space value
  • the unit field KB indicates the unit (the unit field may also take MB or B), which indicates that the storage space available to the terminal is equal to or equal to 3072 KB.
  • the DevInfo node in the device management tree of the terminal (the DevInfo node is the information node of the terminal device)
  • the reserved Ext node (the Ext node is the node reserved for the device vendor extended function), and the newly added child node ⁇ SpaceAvailable> indicates the storage space available to the terminal.
  • the field indicating the storage space unit in this protocol format cannot be Add, but you can agree with the server default unit (such as Byte bytes), see the format below.
  • the terminal obtains the storage space size information that is available to the terminal, and when transmitting the search request to the server, carries the information of the DevInfo node, the information of the Ext node, or the SpaceAvailable according to the Synchronization Markup Language (SyncML) format specified by the OMA-DM standard protocol. Node information.
  • SyncML Synchronization Markup Language
  • step 220 the terminal receives an upgrade policy sent by the server.
  • the upgrade policy includes one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a size information of the storage space occupied by the upgrade package, and an upgrade package link.
  • the upgrade information included in the upgrade policy is shown in Table 2.
  • step 230 the terminal performs downloading and upgrading of the upgrade package according to the upgrade policy.
  • the upgrade policy is as shown in Table 2.
  • the terminal downloads the 1500KB upgrade package from link A: upgrade from version 1 to version 3; downloads the 2500KB upgrade package from link C, upgrades from version 3 to version 6; and from the link F Download the 2000KB upgrade package, upgrade from version 6 to version 7.
  • the upgrade policy received by the terminal may include multiple upgrade information.
  • the terminal requests to upgrade the route in a single step, and the server sends the corresponding upgrade information in the first step. After the terminal completes the single upgrade according to the upgrade information, Request a single step upgrade route, you can upgrade to the highest target version.
  • the terminal obtains the storage space size information that is available to the terminal, and requests the upgrade policy from the server based on the available storage space size information of the terminal, and the terminal may upgrade to the highest target version according to the upgrade policy returned by the server.
  • This embodiment provides an interaction process between the display server and the terminal, and the interaction process is as follows:
  • the terminal obtains the storage space size information that is available to the terminal, and sends an upgrade policy request to the server, where the upgrade policy request includes the terminal model, the terminal device identification code, the software source version number, and the storage space size information available to the terminal;
  • the server receives the upgrade policy request sent by the terminal, and generates an upgrade for the terminal according to the upgrade policy request. Policy and send to the terminal;
  • the terminal receives the upgrade policy sent by the server and downloads and upgrades the upgrade package according to the upgrade policy.
  • FIG. 3 is a schematic structural diagram of a server provided by this embodiment.
  • the server provided in this embodiment includes: a first receiving module 30, a first processing module 31, and a first sending module 32.
  • the first receiving module 30 is configured to receive an upgrade policy request sent by the terminal, where the upgrade policy request includes the terminal model, the terminal device identification code, the software source version number, and the storage space size information available to the terminal.
  • the first processing module 31 is configured to generate an upgrade policy for the terminal according to the upgrade policy request.
  • the first processing module 31 is configured to obtain at least one upgrade package that matches the terminal model, the terminal device identifier, the software source version number, and the storage space size information available to the terminal; and lists the slave and the software source version number.
  • the corresponding source version is upgraded to the route of the highest target version.
  • the optimal route is selected for the terminal according to the filtering principle, and the upgrade policy is generated according to the optimal route.
  • the upgrade policy may include one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a size information of the storage space occupied by the upgrade package, and an upgrade package link.
  • the filtering principle is: the minimum number of upgrades or the accumulated storage space of the upgrade package is the smallest.
  • the first processing module may be further configured to list the route from the source version to the next highest target version when the route from the source version to the highest target version cannot be listed.
  • the first sending module 32 is configured to send an upgrade policy to the terminal.
  • the server provided in this embodiment may be configured to perform the technical solution of the method embodiment performed by the server.
  • the first receiving module 30, the first processing module 31, and the first sending module 32 may each be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), and a digital signal processor located at the server. (Digital Signal Processor, DSP) or Field Programmable Gate Array (FPGA) implementation.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • FIG. 4 is a schematic structural diagram of a terminal provided by this embodiment. As shown in FIG. 4, the terminal provided in this embodiment includes: an obtaining module 40, a second sending module 41, a second receiving module 42, and a second processing module 43.
  • the obtaining module 40 is configured to obtain storage size information that is available to itself.
  • the second sending module 41 is configured to send an upgrade policy request to the server, where the upgrade policy request includes the terminal model, the terminal device identification code, the software source version number, and the storage space size information available to the terminal.
  • the second receiving module 42 is configured to receive an upgrade policy sent by the server.
  • the upgrade policy includes one or more upgrade information, and each upgrade information includes: a software source version number, a software target version number, a storage space size information of the upgrade package, and an upgrade package link.
  • the second processing module 43 is configured to perform downloading and upgrading of the upgrade package according to the upgrade policy.
  • the terminal provided in this embodiment can be used to implement the technical solution of the method embodiment performed by the foregoing terminal.
  • the obtaining module 40, the second sending module 41, the second receiving module 42 and the second processing module 43 can all be implemented by a CPU, an MPU, a DSP or an FPGA located at the terminal.
  • An intelligent upgrade system provided by this embodiment is composed of any of the foregoing servers and any type of terminal.
  • the embodiment provides a computer readable storage medium storing computer executable instructions arranged to perform any of the methods described above.
  • This embodiment also provides a schematic diagram of a hardware structure of a server.
  • the server includes:
  • At least one processor 50 which is exemplified by a processor 50 in FIG. 5; and a memory 51, may further include a communication interface 52 and a bus 53.
  • the processor 50, the communication interface 52, and the memory 51 can complete communication with each other through the bus 53.
  • Communication interface 52 can transmit information.
  • the processor 50 can invoke logic instructions in the memory 51 to perform the method of intelligent upgrade performed by the server described above.
  • logic instructions in the memory 51 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
  • the memory 51 is a computer readable storage medium, and can be used to store a software program, a computer executable program, such as a program instruction or a module corresponding to the method of intelligent upgrade performed by the server in the above embodiment.
  • the processor 50 performs functional applications and data processing by running software programs, instructions or modules stored in the memory 51.
  • the memory 51 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; and the storage data area may be stored according to a usage of the server. Created data, etc. Further, the memory 51 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the terminal includes:
  • At least one processor 60 which is exemplified by a processor 60 in FIG. 6; and a memory 61, may further include a communication interface 62 and a bus 63.
  • the processor 60, the communication interface 62, and the memory 61 can complete communication with each other through the bus 63.
  • Communication interface 62 can transmit information.
  • the processor 60 can invoke logic instructions in the memory 61 to perform the method of intelligent upgrade performed by the terminal described above.
  • logic instructions in the memory 61 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 61 is a computer readable storage medium and can be used to store a software program, a computer executable program, such as a program instruction or a module corresponding to the method of intelligent upgrade performed by the terminal in the above embodiment.
  • the processor 60 performs functional applications and data processing by running software programs, instructions or modules stored in the memory 61.
  • the memory 61 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 61 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution in the above embodiments may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the above embodiments.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • a medium that can store program code, or a transitory storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the above embodiments may be provided as a method, system, or computer program product.
  • the above may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects.
  • it could take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
  • the above technical solution described with reference to the flowchart of the method of the above embodiment, and the block diagram of the device (system) and the computer program product can be referred to.
  • the flow chart can be implemented by computer program instructions Each flow, and each block in the block diagram, or a combination of the flow in the flowchart and the blocks in the block diagram.
  • the computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine such that instructions generated by a processor of a computer or other programmable data processing device can be Means for implementing at least one of the functions specified in one or more flows of the flowchart, and at least one of the functions specified in a block or blocks of the block diagram.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more flows of the flowchart, and at least one of the functions specified in a block or blocks of the block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing, instructions executed on a computer or other programmable device Providing a step of implementing a function specified in one or more flows of a flowchart, and a block diagram of at least one of the functions specified in one or more of the blocks.
  • the smart upgrade method, the server, the terminal, and the system provided by the above embodiments can upgrade the terminal to the highest target version.

Landscapes

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

Abstract

一种智能升级方法、服务器、终端和系统,其中,该方法包括:服务器接收终端发送的升级策略请求,其中,升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;服务器根据升级策略请求为终端生成升级策略;以及服务器将升级策略发送给终端。

Description

智能升级方法、服务器、终端和系统 技术领域
本公开涉及移动终端的软件版本升级领域,例如涉及一种智能升级方法、服务器、终端和系统。
背景技术
移动开放联盟-设备管理协议(Open Mobile Alliance-Device Management,OMA-DM)规定,移动终端在进行软件版本升级时,向服务器发送检测新版本请求,请求中包含终端的型号、国际移动设备标识码号(International Mobile Equipment Identity,IMEI),如果服务器确认识别该型号或IMEI,移动终端向服务器上报需要升级软件的源版本号,服务器根据移动终端上报的源版本号检索是否有匹配的升级包,如果有则返回升级包的下载链接供终端进行下载升级。
按照OMA-DM协议进行软件版本升级,服务器在返回升级包时,仅返回一个特定的升级包下载链接及升级包占用存储空间大小说明,该升级包占用空间可能过大,从而导致升级失败。
发明内容
一种智能升级方法、服务器、终端和系统,可以使得终端升级到当前最高目标版本。
一种智能升级方法,包括:
服务器接收终端发送的升级策略请求,其中,所述升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
所述服务器根据所述升级策略请求为所述终端生成升级策略;以及
所述服务器将所述升级策略发送给所述终端。
如上所述的方法中,服务器根据所述升级策略请求为所述终端生成升级策略可以包括:
所述服务器获取与所述终端型号、所述终端设备标识码、所述软件源版本 号和所述终端可用的存储空间大小信息均匹配的至少一个升级包;以及
列出从与所述软件源版本号对应的源版本升级到最高目标版本的路由,根据筛选原则为所述终端筛选出最佳路由,并根据所述最佳路由生成所述升级策略。
如上所述的方法中,还可以包括:在无法列出从所述源版本升级到所述最高目标版本的路由时,列出从所述源版本升级到次高目标版本的路由。
如上所述的方法中,所述升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占的存储空间的大小信息以及升级包链接。
如上所述的方法中,所述筛选原则可以为:升级次数最少或升级包所占的存储空间累计最小。
一种智能升级方法,包括:
终端获取自身可用的存储空间大小信息;
所述终端向服务器发送升级策略请求,其中,所述升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
所述终端接收所述服务器发送的升级策略;以及
所述终端根据所述升级策略进行升级包的下载和升级。
如上所述的方法中,所述升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。
一种服务器,包括第一接收模块、第一处理模块和第一发送模块,
其中,所述第一接收模块设置为接收终端发送的升级策略请求,所述升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
所述第一处理模块设置为根据所述升级策略请求为所述终端生成升级策略;以及
所述第一发送模块设置为将所述升级策略发送给所述终端。
如上所述的第一处理模块可以设置为,
获取与所述终端型号、所述终端设备标识码、所述软件源版本号和所述终端可用的存储空间大小信息均匹配的至少一个升级包;以及
列出从与所述软件源版本号对应的源版本升级到最高目标版本的路由,根据筛选原则为所述终端筛选出最佳路由,并根据所述最佳路由生成所述升级策略。
如上所述的第一处理模块还可以设置为在无法列出从所述源版本升级到所述最高目标版本的路由时,列出从所述源版本升级到次高目标版本的路由。
如上所述的升级策略可以包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。
如上所述的筛选原则可以为:
升级次数最少或升级包所占的存储空间累计最小。
一种终端,包括获取模块、第二发送模块、第二接收模块以及第二处理模块,
其中,所述获取模块设置为获取自身可用的存储空间大小信息;
所述第二发送模块设置为向服务器发送升级策略请求,所述升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
所述第二接收模块,设置为接收所述服务器发送的升级策略;以及
所述第二处理模块,设置为根据所述升级策略进行升级包的下载和升级。
如上所述的升级策略可以包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。
一种智能升级系统,包括如上所述的服务器和所述终端。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。
一种服务器,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行应用于服务器的智能升级方法。
一种终端,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行应用于终端的智能升级方法。
以上提供的智能升级方法、服务器、终端和系统中,服务器接收终端发送的升级策略请求,其中,升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;服务器根据升级策略请求为终端生成升级策略;服务器将升级策略发送给终端,可以使终端升级到最高目标版本。
附图说明
图1为一实施例提供的智能升级方法一的流程图;
图2为一实施例提供的智能升级方法二的流程图;
图3为一实施例提供的服务器结构示意图;
图4为一实施例提供的终端结构示意图;
图5为一实施例提供的服务器的硬件结构示意图;以及
图6为一实施例提供的终端的硬件结构示意图。
具体实施方式
下面结合附图对以下实施例提供的智能升级方法、服务器、终端和系统进行详细说明。在不冲突的情况下,以下实施例以及实施例中的特征可以相互任意组合。
图1为本实施例提供的智能升级方法一的流程图
在步骤100中,服务器接收终端发送的升级策略请求。升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息。
终端设备标识码是终端设备在出厂时就拥有的,相当于终端设备的“身份证”,每个终端设备的终端设备标识码都是唯一的,对于移动设备,终端设备标识码可以是国际移动设备标识码号(International Mobile Equipment Identity,IMEI)。
在步骤110中,服务器根据升级策略请求为终端生成升级策略。
可选的,步骤110包括:服务器获取与终端型号、终端设备标识码、软件源版本号、终端可用的存储空间大小信息均匹配的至少一个升级包;以及列出从与软件源版本号对应的源版本升级到最高目标版本的路由,根据筛选原则为终端筛选出最佳路由,并根据最佳路由生成升级策略。
假设终端一款软件的源版本号为版本1,服务器上可升级的最高版本号为版本7,中间的版本号有版本3、版本4、版本6,假设终端可用的存储空间大小为3MB,即3072KB,即终端从版本1升级到版本7路由过程中的每个升级包都不得超过3072KB。服务器获取到的与终端型号、IMEI号、软件源版本号、终端可用的存储空间大小信息均匹配的升级包如表1所示,
表1
编号 软件源版本号 软件目标版本号 升级包所占空间大小(KB) 升级包链接
1 版本1 版本3 1500 链接A
2 版本3 版本4 2000 链接B
3 版本3 版本6 2500 链接C
4 版本4 版本6 1500 链接D
5 版本4 版本7 3000 链接E
6 版本6 版本7 2000 链接F
从版本1升级到版本7的路由为:版本1->版本3->版本4->版本6->版本7;版本1->版本3->版本4->版本7;以及版本1->版本3->版本6->版本7。
可选的,筛选原则为:升级次数最少或升级包所占的存储空间累计最小。
当筛选原则为升级次数最少时,可以在升级次数相同的条件下,筛选升级 包所占的存储空间累计最小的路由作为最佳路由;当筛选原则为升级包所占的存储空间累计最小时,可以在升级包所占的存储空间累计相同的条件下,筛选升级次数最少的路由作为最佳路由。
可选的,升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。
在本实施例中,假定以升级次数最少为筛选原则,版本1->版本3->版本4->版本6->版本7升级次数为4次,版本1->版本3->版本4->版本7和版本1->版本3->版本6->版本7的升级次数为3次,在升级次数同为3次的情况下,筛选升级包所占的存储空间累计最小的路由作为最佳路由,因此,应该在版本1->版本3->版本4->版本7和版本1->版本3->版本6->版本7中选择最佳路由,版本1升级到版本3的升级包大小为1500KB,版本3升级到版本4的升级包大小为2000KB,版本4升级到版本7的升级包大小为3000KB,那么版本1->版本3->版本4->版本7这条路由升级包所占的存储空间大小累计为6500KB;版本1升级到版本3的升级包大小为1500KB,版本3升级到版本6的升级包大小为2500KB,版本6升级到版本7的升级包大小为2000KB,那么版本1->版本3->版本6->版本7这条路由升级包所占的存储空间大小累计为6000KB;因此,应该把版本1->版本3->版本6->版本7这条路由作为最佳路由,并根据最佳路由生成升级策略,本实施例中的升级策略所包含的升级信息如表2所示,
表2
Figure PCTCN2017087237-appb-000001
在不列出从与软件源版本号对应的源版本升级到最高目标版本的路由的实施方式中,可以将单次能够升级到的最高版本的路由作为最佳路由,可以从源版本寻找单次能够升级到的第一最高版本,从第一最高版本寻找单次能够升级到的第二最高版本,直至升级到最高目标版本,就表1来说,从版本1单次能够升级到的最高版本是版本3,从版本3单次能够升级到的最高版本是版本6,从版本6单次能够升级到的最高版本是版本7,因此最佳路由就是版本1->版本 3->版本6->版本7。
在步骤120中,服务器将升级策略发送给终端。
本实施例提供的智能升级方法,服务器接收终端发送的包含终端可用的存储空间大小信息的升级策略请求,根据升级策略请求为终端生成升级策略,并发送给终端,在终端自身存储空间有限的情况下,可以使得终端升级到最高目标版本。
在无法列出从源版本升级到最高目标版本的路由的实施方式中,列出从源版本升级到次高目标版本的路由,并根据筛选原则为终端筛选出最佳路由,并根据最佳路由生成升级策略。
服务器生成的升级策略中可能包含多次升级信息,服务器可以仅下发最优路由中第一步相应的升级信息,待终端根据升级信息完成单次升级后,服务器下发第二步相应的升级信息供终端升级,直至终端升级到最高目标版本。服务器也可以下发最优路由中前两步相应的升级信息,待终端根据升级信息完成两次升级后,服务器下发接下来的升级信息,直至终端升级到最高目标版本。
本实施例提供的智能升级方法,在无法获取从源版本升级到最高目标版本的路由时,获取从源版本升级到次高目标版本的路由,在终端自身存储空间有限的情况下,可以使得终端升级到尽量高的目标版本。
图2为本实施例提供的智能升级方法二的流程图。
在步骤200中,终端获取自身可用的存储空间大小信息。
终端需能正常上网,比如通过有线宽带,无线网络(例如无线保真(Wireless Fidelity,WIFI))或者移动网络,接入服务器所在的网络。
终端可以通过一种计算方法获取自身可用的存储空间大小信息,所述计算方法与终端所用的操作系统或平台有关,系统或平台供应商可以提供接口供上层开发人员使用。
在步骤210中,终端向服务器发送升级策略请求。升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息。
可选的,如果终端跟服务器之间交互采用的是非公开的私有协议,可在升级策略请求中新增表示可用的存储空间大小信息的字段或节点,表明可用的存储空间大小。使用的私有协议的格式不限,终端可遵循既有的交互协议格式嵌 入,相应地,服务器按照新增字段约定的释义进行解析。
以终端跟服务器之间使用交互协议基于可扩展标记语言(Extensible Markup Language,XML)格式为例,可新增节点<SpaceAvailable>表示终端可用的存储空间大小,见如下格式。
Figure PCTCN2017087237-appb-000002
其中,value字段3072表示存储空间数值,unit字段KB表示单位(unit字段还可以取MB或B),结合起来表示终端可用的存储空间大小或等于3072KB。
以终端跟服务器之间使用移动开放联盟-设备管理(Open Mobile Alliance-Device Management,OMA-DM)标准协议格式为例,在终端的设备管理树中DevInfo节点(DevInfo节点是终端设备的信息节点)下预留的Ext节点中(Ext节点是预留给设备商扩展功能特性的节点),新增子节点<SpaceAvailable>表示终端可用的存储空间大小,在此协议格式中表示存储空间单位的字段无法添加,但是可以与服务器约定默认单位(比如Byte字节),见如下格式。
Figure PCTCN2017087237-appb-000003
Figure PCTCN2017087237-appb-000004
终端获取自身可用的存储空间大小信息,在向服务器发送搜包请求时,按照OMA-DM标准协议规定的同步标记语言(Synchronization Markup Language,SyncML)格式携带DevInfo节点的信息、Ext节点的信息或者SpaceAvailable节点的信息。
在步骤220中,终端接收服务器发送的升级策略。
可选的,升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。升级策略所包含的升级信息如表2所示。
在步骤230中,终端根据升级策略进行升级包的下载和升级。
可选的,升级策略如表2所示,终端从链接A下载1500KB的升级包:由版本1升级到版本3;从链接C下载2500KB的升级包,由版本3升级到版本6;以及从链接F下载2000KB的升级包,由版本6升级到版本7。
终端接收到的升级策略可能包含多次升级信息,在一种可行的实施方式中,终端请求单步升级路由,服务器下发第一步相应的升级信息,终端根据升级信息完成单次升级后,请求单步升级路由,可以升级到最高目标版本。
本实施例提供的智能升级方法,由终端获取自身可用的存储空间大小信息,基于终端的可用存储空间大小信息向服务器请求升级策略,终端可以根据服务器返回的升级策略升级到最高目标版本。
本实施例提供了展示服务器和终端的交互过程,该交互过程如下:
终端获取自身可用的存储空间大小信息,并向服务器发送升级策略请求,升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
服务器接收终端发送的升级策略请求,根据升级策略请求为终端生成升级 策略,并发送给终端;以及
终端接收服务器发送的升级策略并根据升级策略进行升级包的下载和升级。
图3为本实施例提供的服务器结构示意图。如图3所示,本实施例提供的服务器包括:第一接收模块30、第一处理模块31和第一发送模块32。
其中,第一接收模块30设置为接收终端发送的升级策略请求,升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息。
第一处理模块31设置为根据升级策略请求为终端生成升级策略。
可选的,第一处理模块31设置为获取与终端型号、终端设备标识码、软件源版本号和终端可用的存储空间大小信息均匹配的至少一个升级包;以及列出从与软件源版本号对应的源版本升级到最高目标版本的路由,根据筛选原则为终端筛选出最佳路由,并根据最佳路由生成升级策略。
升级策略可以包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。
可选的,筛选原则为:升级次数最少或升级包所占的存储空间累计最小。
在一种实施方式中,第一处理模块还可以设置为在无法列出从源版本升级到最高目标版本的路由时,列出从源版本升级到次高目标版本的路由。
第一发送模块32设置为将升级策略发送给终端。
本实施例提供的服务器,可设置为执行上述服务器执行的方法实施例的技术方案。
所述第一接收模块30、第一处理模块31和第一发送模块32均可由位于服务器的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
图4为本实施例提供的终端结构示意图。如图4所示,本实施例提供的终端包括:获取模块40、第二发送模块41、第二接收模块42和第二处理模块43。
其中,获取模块40设置为获取自身可用的存储空间大小信息。
第二发送模块41设置为向服务器发送升级策略请求,升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息。
第二接收模块42设置为接收服务器发送的升级策略。
可选的,升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息、升级包链接。
第二处理模块43设置为根据升级策略进行升级包的下载和升级。
本实施例提供的终端,可用于执行上述终端执行的方法实施例的技术方案。
所述获取模块40、第二发送模块41、第二接收模块42和第二处理模块43均可由位于终端的CPU、MPU、DSP或FPGA等实现。
本实施例提供的一种智能升级系统,其由上述任一种服务器和任一种终端组成。
本实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一方法。
本实施例还提供了一种服务器的硬件结构示意图。参见图5,该服务器包括:
至少一个处理器(processor)50,图5中以一个处理器50为例;和存储器(memory)51,还可以包括通信接口(Communications Interface)52和总线53。其中,处理器50、通信接口52、存储器51可以通过总线53完成相互间的通信。通信接口52可以传输信息。处理器50可以调用存储器51中的逻辑指令,以执行上述服务器执行的智能升级的方法。
此外,上述的存储器51中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器51作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如以上实施例中服务器执行的智能升级的方法对应的程序指令或模块。处理器50通过运行存储在存储器51中的软件程序、指令或模块,从而执行功能应用以及数据处理。
存储器51可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据服务器的使用所 创建的数据等。此外,存储器51可以包括高速随机存取存储器,还可以包括非易失性存储器。
本实施例还提供了一种终端的硬件结构示意图。参见图6,该终端包括:
至少一个处理器(processor)60,图6中以一个处理器60为例;和存储器(memory)61,还可以包括通信接口(Communications Interface)62和总线63。其中,处理器60、通信接口62、存储器61可以通过总线63完成相互间的通信。通信接口62可以传输信息。处理器60可以调用存储器61中的逻辑指令,以执行上述终端执行的智能升级的方法。
此外,上述的存储器61中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器61作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如上述实施例中终端执行的智能升级的方法对应的程序指令或模块。处理器60通过运行存储在存储器61中的软件程序、指令或模块,从而执行功能应用以及数据处理。
存储器61可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器61可以包括高速随机存取存储器,还可以包括非易失性存储器。上述实施例中的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行上述实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
上述实施例可提供为方法、系统、或计算机程序产品。因此,以上可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,可采用在一个或多个包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
可参照上述实施例的方法的流程图来描述的,以及设备(系统)和计算机程序产品的方框图来描述的以上技术方案。可由计算机程序指令实现流程图中 的每一流程、以及方框图中的每一方框、或者流程图中的流程和方框图中的方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生可以实现在流程图一个流程或多个流程指定的功能、和方框图一个方框或多个方框中指定的功能中的至少一个的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程中指定的功能,和方框图一个方框或多个方框中指定的功能中的至少一个。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,在计算机或其他可编程设备上执行的指令提供可以实现在流程图一个流程或多个流程中指定的功能,和方框图一个方框或多个方框中指定的功能中的至少一个的步骤。
工业实用性
以上实施例提供的智能升级方法、服务器、终端和系统,可以使终端升级到最高目标版本。

Claims (16)

  1. 一种智能升级方法,包括:
    服务器接收终端发送的升级策略请求,其中,所述升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
    所述服务器根据所述升级策略请求为所述终端生成升级策略;以及
    所述服务器将所述升级策略发送给所述终端。
  2. 根据权利要求1所述的方法,其中,所述服务器根据所述升级策略请求为所述终端生成升级策略包括:
    所述服务器获取与所述终端型号、所述终端设备标识码、所述软件源版本号和所述终端可用的存储空间大小信息均匹配的至少一个升级包;以及
    列出从与所述软件源版本号对应的源版本升级到最高目标版本的路由,根据筛选原则为所述终端筛选出最佳路由,并根据所述最佳路由生成所述升级策略。
  3. 根据权利要求2所述的方法,还包括:
    在无法列出从所述源版本升级到所述最高目标版本的路由时,列出从所述源版本升级到次高目标版本的路由。
  4. 根据权利要求1-3任一项所述的方法,其中,所述升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占的存储空间的大小信息以及升级包链接。
  5. 根据权利要求2或3所述的方法,其中,所述筛选原则为:
    升级次数最少或升级包所占的存储空间累计最小。
  6. 一种智能升级方法,包括:
    终端获取自身可用的存储空间大小信息;
    所述终端向服务器发送升级策略请求,其中,所述升级策略请求包含终端 型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
    所述终端接收所述服务器发送的升级策略;以及
    所述终端根据所述升级策略进行升级包的下载和升级。
  7. 根据权利要求6所述的方法,其中,所述升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。
  8. 一种服务器,包括第一接收模块、第一处理模块和第一发送模块,
    其中,所述第一接收模块设置为接收终端发送的升级策略请求,所述升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
    所述第一处理模块设置为根据所述升级策略请求为所述终端生成升级策略;以及
    所述第一发送模块设置为将所述升级策略发送给所述终端。
  9. 根据权利要求8所述的服务器,其中,所述第一处理模块设置为,
    获取与所述终端型号、所述终端设备标识码、所述软件源版本号和所述终端可用的存储空间大小信息均匹配的至少一个升级包;以及
    列出从与所述软件源版本号对应的源版本升级到最高目标版本的路由,根据筛选原则为所述终端筛选出最佳路由,并根据所述最佳路由生成所述升级策略。
  10. 根据权利要求9所述的服务器,其中,所述第一处理模块还设置为在无法列出从所述源版本升级到所述最高目标版本的路由时,列出从所述源版本升级到次高目标版本的路由。
  11. 根据权利要求8-10任一项所述的服务器,其中,所述升级策略包含一 个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占的存储空间的大小信息以及升级包链接。
  12. 根据权利要求9或10任一项所述的服务器,其中,所述筛选原则为:
    升级次数最少或升级包所占的存储空间累计最小。
  13. 一种终端,包括获取模块、第二发送模块、第二接收模块以及第二处理模块,
    其中,所述获取模块设置为获取自身可用的存储空间大小信息;
    所述第二发送模块设置为向服务器发送升级策略请求,所述升级策略请求包含终端型号、终端设备标识码、软件源版本号以及终端可用的存储空间大小信息;
    所述第二接收模块设置为接收所述服务器发送的升级策略;以及
    所述第二处理模块设置为根据所述升级策略进行升级包的下载和升级。
  14. 根据权利要求13所述的终端,其中,所述升级策略包含一个或多个升级信息,每个升级信息包括:软件源版本号、软件目标版本号、升级包所占存储空间的大小信息以及升级包链接。
  15. 一种智能升级系统,包括:如权利要求8至12任一所述的服务器以及如权利要求13和14任一所述的终端。
  16. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-7中任一项的方法。
PCT/CN2017/087237 2016-07-06 2017-06-06 智能升级方法、服务器、终端和系统 WO2018006677A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610529173.1 2016-07-06
CN201610529173.1A CN107589952A (zh) 2016-07-06 2016-07-06 智能升级方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2018006677A1 true WO2018006677A1 (zh) 2018-01-11

Family

ID=60901712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087237 WO2018006677A1 (zh) 2016-07-06 2017-06-06 智能升级方法、服务器、终端和系统

Country Status (2)

Country Link
CN (1) CN107589952A (zh)
WO (1) WO2018006677A1 (zh)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175040A (zh) * 2019-05-13 2019-08-27 上海思立微电子科技有限公司 数据处理方法、ota客户端、电子设备及存储介质
CN110690990A (zh) * 2019-09-02 2020-01-14 视联动力信息技术股份有限公司 一种服务器升级的方法及装置、电子设备、存储介质
CN110837381A (zh) * 2019-09-25 2020-02-25 深圳市火乐科技发展有限公司 投影设备的软件升级方法及装置
CN110908683A (zh) * 2019-10-22 2020-03-24 深圳市广和通无线通信软件有限公司 硬件模块的软件系统升级方法、装置、存储介质和终端
CN110990034A (zh) * 2019-10-25 2020-04-10 上海艾拉比智能科技有限公司 Ecu升级方法、系统、电子设备及存储介质
CN111083058A (zh) * 2019-12-04 2020-04-28 百度在线网络技术(北京)有限公司 内容分发网络服务限流方法及电子设备
CN111158717A (zh) * 2019-12-24 2020-05-15 深圳怡化电脑股份有限公司 设备的固件升级方法、设备和介质
CN111181752A (zh) * 2018-11-12 2020-05-19 中兴通讯股份有限公司 窄带设备升级方法、移动终端及可读存储介质
CN111176716A (zh) * 2019-12-17 2020-05-19 视联动力信息技术股份有限公司 升级包生成方法、装置、电子设备及存储介质
CN111176690A (zh) * 2019-12-30 2020-05-19 苏宁智能终端有限公司 软件版本升级方法、服务器及智能硬件设备
CN111399870A (zh) * 2020-02-28 2020-07-10 浙江吉利新能源商用车集团有限公司 一种车辆控制方法、装置、终端及存储介质
CN111414185A (zh) * 2020-02-28 2020-07-14 浙江吉利新能源商用车集团有限公司 一种终端升级方法、装置、终端及存储介质
CN111414183A (zh) * 2020-04-09 2020-07-14 东风小康汽车有限公司重庆分公司 车辆组件的升级检测方法、装置、计算机设备及存储介质
CN111522571A (zh) * 2020-03-12 2020-08-11 深圳英飞拓科技股份有限公司 设备升级方法、装置、终端设备及存储介质
CN111638896A (zh) * 2020-05-29 2020-09-08 西安万像电子科技有限公司 升级方法、升级装置、存储介质、处理器和移动终端
CN112073994A (zh) * 2020-09-03 2020-12-11 百度在线网络技术(北京)有限公司 用于空中升级的方法、装置、电子设备及可读存储介质
CN112068857A (zh) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 一种基于双系统的ota升级方法及系统
CN112286556A (zh) * 2020-10-30 2021-01-29 芯讯通无线科技(上海)有限公司 通信设备及其mcu的远程升级方法
CN112306529A (zh) * 2020-11-09 2021-02-02 维沃移动通信有限公司 系统升级方法、装置、设备和存储介质
CN112398664A (zh) * 2019-08-13 2021-02-23 中兴通讯股份有限公司 主设备选择方法、设备管理方法、电子设备以及存储介质
CN112732293A (zh) * 2020-12-31 2021-04-30 青岛海信电子产业控股股份有限公司 一种车载系统的升级方法和车载终端
CN112954036A (zh) * 2021-02-03 2021-06-11 博为科技有限公司 一种软件升级方法、终端设备及系统
CN113067730A (zh) * 2021-03-18 2021-07-02 上海挚想科技有限公司 一种物联网终端设备的升级方法、系统及介质
CN113282326A (zh) * 2021-06-21 2021-08-20 多点生活(成都)科技有限公司 灰度升级的方法、装置、电子设备和可读存储介质
CN113986310A (zh) * 2021-12-09 2022-01-28 北京奕斯伟计算技术有限公司 软件升级方法、装置、电子设备及计算机可读存储介质
CN114915618A (zh) * 2021-01-29 2022-08-16 华为技术有限公司 升级包下载方法及装置
CN114978902A (zh) * 2022-05-18 2022-08-30 阿里云计算有限公司 信息处理方法、装置、设备、存储介质及程序产品
CN115174341A (zh) * 2022-05-20 2022-10-11 厦门立林科技有限公司 一种智慧社区中设备的升级方法、装置以及设备
CN115834379A (zh) * 2022-11-03 2023-03-21 苏州浪潮智能科技有限公司 服务器网卡的升级方法、装置、设备及存储介质
CN116880878A (zh) * 2023-07-18 2023-10-13 上海正泰智能科技有限公司 一种升级方法、装置、设备及存储介质

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189441A (zh) * 2018-09-28 2019-01-11 郑州云海信息技术有限公司 一种升级基本输入输出系统bios的方法和装置
CN109408090B (zh) * 2018-10-09 2021-05-28 广东美的制冷设备有限公司 设备软件的升级方法、数据转化器及可读存储介质
CN109445826A (zh) * 2018-11-16 2019-03-08 中国银行股份有限公司 一种应用的更新方法、装置及系统
CN109582333A (zh) * 2018-11-28 2019-04-05 合肥华凌股份有限公司 冰箱生产线和生产线上冰箱软件升级的方法、介质
CN111176706A (zh) * 2019-12-17 2020-05-19 视联动力信息技术股份有限公司 终端升级方法、装置、电子设备及存储介质
CN111367545A (zh) * 2020-02-13 2020-07-03 北京三快在线科技有限公司 终端升级方法、装置、服务器、终端设备及可读存储介质
CN112052023B (zh) * 2020-09-14 2024-01-26 艾体威尔电子技术(北京)有限公司 一种智能终端升级策略管理方法
CN112289431A (zh) * 2020-09-30 2021-01-29 音数汇元(上海)智能科技有限公司 居家护理终端的升级方法、装置、计算机设备和存储介质
CN113821241A (zh) * 2021-09-14 2021-12-21 博为科技有限公司 路由器软件升级方法及相关设备
CN114721684B (zh) * 2022-04-12 2024-05-14 中国联合网络通信集团有限公司 固件版本升级方法、版本升级服务器和管理平台

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169719A (zh) * 2007-11-30 2008-04-30 华为技术有限公司 一种实现数据升级的方法、系统和升级客户端
CN101335641A (zh) * 2007-06-29 2008-12-31 华为技术有限公司 一种升级设备的方法、装置及系统
US20130086015A1 (en) * 2011-09-30 2013-04-04 Emc Corporation System and method of rolling upgrades of data traits
CN103281373A (zh) * 2013-05-30 2013-09-04 烽火通信科技股份有限公司 家庭网关智能升级装置及升级方法
CN104506367A (zh) * 2014-12-24 2015-04-08 上海斐讯数据通信技术有限公司 一种升级管理系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335641A (zh) * 2007-06-29 2008-12-31 华为技术有限公司 一种升级设备的方法、装置及系统
CN101169719A (zh) * 2007-11-30 2008-04-30 华为技术有限公司 一种实现数据升级的方法、系统和升级客户端
US20130086015A1 (en) * 2011-09-30 2013-04-04 Emc Corporation System and method of rolling upgrades of data traits
CN103281373A (zh) * 2013-05-30 2013-09-04 烽火通信科技股份有限公司 家庭网关智能升级装置及升级方法
CN104506367A (zh) * 2014-12-24 2015-04-08 上海斐讯数据通信技术有限公司 一种升级管理系统

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181752B (zh) * 2018-11-12 2023-01-24 中兴通讯股份有限公司 窄带设备升级方法、移动终端及可读存储介质
CN111181752A (zh) * 2018-11-12 2020-05-19 中兴通讯股份有限公司 窄带设备升级方法、移动终端及可读存储介质
CN110175040A (zh) * 2019-05-13 2019-08-27 上海思立微电子科技有限公司 数据处理方法、ota客户端、电子设备及存储介质
CN112068857A (zh) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 一种基于双系统的ota升级方法及系统
CN112398664B (zh) * 2019-08-13 2023-08-08 中兴通讯股份有限公司 主设备选择方法、设备管理方法、电子设备以及存储介质
CN112398664A (zh) * 2019-08-13 2021-02-23 中兴通讯股份有限公司 主设备选择方法、设备管理方法、电子设备以及存储介质
CN110690990A (zh) * 2019-09-02 2020-01-14 视联动力信息技术股份有限公司 一种服务器升级的方法及装置、电子设备、存储介质
CN110837381A (zh) * 2019-09-25 2020-02-25 深圳市火乐科技发展有限公司 投影设备的软件升级方法及装置
CN110837381B (zh) * 2019-09-25 2023-07-25 深圳市火乐科技发展有限公司 投影设备的软件升级方法及装置
CN110908683A (zh) * 2019-10-22 2020-03-24 深圳市广和通无线通信软件有限公司 硬件模块的软件系统升级方法、装置、存储介质和终端
CN110908683B (zh) * 2019-10-22 2023-11-03 深圳市广和通无线通信软件有限公司 硬件模块的软件系统升级方法、装置、存储介质和终端
CN110990034B (zh) * 2019-10-25 2024-02-02 上海艾拉比智能科技有限公司 Ecu升级方法、系统、电子设备及存储介质
CN110990034A (zh) * 2019-10-25 2020-04-10 上海艾拉比智能科技有限公司 Ecu升级方法、系统、电子设备及存储介质
CN111083058B (zh) * 2019-12-04 2024-03-01 百度在线网络技术(北京)有限公司 内容分发网络服务限流方法及电子设备
CN111083058A (zh) * 2019-12-04 2020-04-28 百度在线网络技术(北京)有限公司 内容分发网络服务限流方法及电子设备
CN111176716A (zh) * 2019-12-17 2020-05-19 视联动力信息技术股份有限公司 升级包生成方法、装置、电子设备及存储介质
CN111158717A (zh) * 2019-12-24 2020-05-15 深圳怡化电脑股份有限公司 设备的固件升级方法、设备和介质
CN111176690A (zh) * 2019-12-30 2020-05-19 苏宁智能终端有限公司 软件版本升级方法、服务器及智能硬件设备
CN111414185B (zh) * 2020-02-28 2023-01-10 浙江吉利新能源商用车集团有限公司 一种终端升级方法、装置、终端及存储介质
CN111399870A (zh) * 2020-02-28 2020-07-10 浙江吉利新能源商用车集团有限公司 一种车辆控制方法、装置、终端及存储介质
CN111414185A (zh) * 2020-02-28 2020-07-14 浙江吉利新能源商用车集团有限公司 一种终端升级方法、装置、终端及存储介质
CN111522571A (zh) * 2020-03-12 2020-08-11 深圳英飞拓科技股份有限公司 设备升级方法、装置、终端设备及存储介质
CN111522571B (zh) * 2020-03-12 2024-02-09 深圳英飞拓仁用信息有限公司 设备升级方法、装置、终端设备及存储介质
CN111414183A (zh) * 2020-04-09 2020-07-14 东风小康汽车有限公司重庆分公司 车辆组件的升级检测方法、装置、计算机设备及存储介质
CN111638896A (zh) * 2020-05-29 2020-09-08 西安万像电子科技有限公司 升级方法、升级装置、存储介质、处理器和移动终端
CN111638896B (zh) * 2020-05-29 2024-05-03 西安万像电子科技有限公司 升级方法、升级装置、存储介质、处理器和移动终端
CN112073994A (zh) * 2020-09-03 2020-12-11 百度在线网络技术(北京)有限公司 用于空中升级的方法、装置、电子设备及可读存储介质
CN112286556A (zh) * 2020-10-30 2021-01-29 芯讯通无线科技(上海)有限公司 通信设备及其mcu的远程升级方法
WO2022095847A1 (zh) * 2020-11-09 2022-05-12 维沃移动通信有限公司 系统升级方法、装置、设备和存储介质
CN112306529A (zh) * 2020-11-09 2021-02-02 维沃移动通信有限公司 系统升级方法、装置、设备和存储介质
CN112732293A (zh) * 2020-12-31 2021-04-30 青岛海信电子产业控股股份有限公司 一种车载系统的升级方法和车载终端
CN114915618B (zh) * 2021-01-29 2023-09-12 华为技术有限公司 升级包下载方法及装置
CN114915618A (zh) * 2021-01-29 2022-08-16 华为技术有限公司 升级包下载方法及装置
CN112954036B (zh) * 2021-02-03 2023-06-30 博为科技有限公司 一种软件升级方法、终端设备及系统
CN112954036A (zh) * 2021-02-03 2021-06-11 博为科技有限公司 一种软件升级方法、终端设备及系统
CN113067730A (zh) * 2021-03-18 2021-07-02 上海挚想科技有限公司 一种物联网终端设备的升级方法、系统及介质
CN113282326B (zh) * 2021-06-21 2023-05-16 多点生活(成都)科技有限公司 灰度升级的方法、装置、电子设备和可读存储介质
CN113282326A (zh) * 2021-06-21 2021-08-20 多点生活(成都)科技有限公司 灰度升级的方法、装置、电子设备和可读存储介质
CN113986310A (zh) * 2021-12-09 2022-01-28 北京奕斯伟计算技术有限公司 软件升级方法、装置、电子设备及计算机可读存储介质
CN113986310B (zh) * 2021-12-09 2024-04-02 北京奕斯伟计算技术股份有限公司 软件升级方法、装置、电子设备及计算机可读存储介质
CN114978902A (zh) * 2022-05-18 2022-08-30 阿里云计算有限公司 信息处理方法、装置、设备、存储介质及程序产品
CN114978902B (zh) * 2022-05-18 2024-05-14 阿里云计算有限公司 信息处理方法、装置、设备、存储介质及程序产品
CN115174341A (zh) * 2022-05-20 2022-10-11 厦门立林科技有限公司 一种智慧社区中设备的升级方法、装置以及设备
CN115174341B (zh) * 2022-05-20 2023-09-26 厦门立林科技有限公司 一种智慧社区中设备的升级方法、装置以及设备
CN115834379A (zh) * 2022-11-03 2023-03-21 苏州浪潮智能科技有限公司 服务器网卡的升级方法、装置、设备及存储介质
CN116880878A (zh) * 2023-07-18 2023-10-13 上海正泰智能科技有限公司 一种升级方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN107589952A (zh) 2018-01-16

Similar Documents

Publication Publication Date Title
WO2018006677A1 (zh) 智能升级方法、服务器、终端和系统
CN109522041B (zh) 客户端资源更新方法、装置、处理器、服务器及终端
CN103513998B (zh) 升级包生成方法和装置、动态文件差分升级的方法和终端
CN102694861B (zh) 一种基于云技术的终端应用软件分类方法、装置及系统
US9489188B1 (en) Tag-based deployment
US9699028B2 (en) Method and device for updating client
JP6533475B2 (ja) 管理装置、および、ネットワークサービス管理方法
US10015650B2 (en) Dynamic branding based on baseboard management controller
CN108235763B (zh) 检测系统、方法及相关装置
KR102561083B1 (ko) 프로파일 기반 콘텐츠 및 서비스들
US10382924B2 (en) M2M node management method and apparatus, and computer storage medium
CN110474960B (zh) 一种虚拟化网络中业务部署的方法和装置
CN107509188A (zh) 用于车辆标定冷数据的升级系统和方法
CN113468136A (zh) 云平台的升级方法、装置和服务器
US20210119858A1 (en) Network node firmware update
CN111651180B (zh) 固件更新方法、装置、处理器及智能网关设备
WO2016026329A1 (zh) 终端的升级方法及装置
CN111654399A (zh) 基于sd-wan的组网方法、装置、设备及存储介质
CN105656643B (zh) 一种基于网络配置协议进行兼容管理的方法及设备
WO2015117522A1 (zh) 参数配置的数据处理方法、装置及参数配置方法、装置
CN105530323B (zh) 一种文件升级方法、相关设备及系统
CN106302229A (zh) 在虚拟接入网中创建分片和删除分片的方法和装置
EP3091435A1 (en) Resource management method and device for terminal system
US11588739B2 (en) Enhanced management of communication rules over multiple computing networks
CN105072212B (zh) 对码方法与对码系统

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17823489

Country of ref document: EP

Kind code of ref document: A1