WO2015176501A1 - 设备管理会话的触发方法、设备、系统及计算机存储介质 - Google Patents

设备管理会话的触发方法、设备、系统及计算机存储介质 Download PDF

Info

Publication number
WO2015176501A1
WO2015176501A1 PCT/CN2014/090701 CN2014090701W WO2015176501A1 WO 2015176501 A1 WO2015176501 A1 WO 2015176501A1 CN 2014090701 W CN2014090701 W CN 2014090701W WO 2015176501 A1 WO2015176501 A1 WO 2015176501A1
Authority
WO
WIPO (PCT)
Prior art keywords
version information
firmware version
model
server
notification message
Prior art date
Application number
PCT/CN2014/090701
Other languages
English (en)
French (fr)
Inventor
徐禄勇
Original Assignee
西安中兴新软件有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 西安中兴新软件有限责任公司 filed Critical 西安中兴新软件有限责任公司
Priority to EP14892511.8A priority Critical patent/EP3148114A4/en
Priority to US15/312,126 priority patent/US20170102934A1/en
Priority to JP2017513288A priority patent/JP2017525059A/ja
Publication of WO2015176501A1 publication Critical patent/WO2015176501A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/20Network management software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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 a device management (DM) session technology in the field of wireless communication, and in particular, to a method, a device, a system, and a computer storage medium for triggering a DM session.
  • DM device management
  • FOTA technology is a technology for remote management through the air interface. Through FOTA, not only the application software of the terminal device but also the system software of the terminal device can be updated.
  • the standard DM protocol defines two ways to trigger a DM session to initiate the FOTA upgrade process:
  • NI Network Initiated
  • Method 2 Client Initiated (CI), that is, the user initiates the FOTA upgrade process by clicking a menu on the terminal device to trigger a DM session.
  • CI Client Initiated
  • the existing network triggering scheme has at least the following defects:
  • the terminal device When receiving the Notification message, the terminal device does not know whether the server has the latest software upgrade package suitable for itself.
  • the server tells the terminal device the latest software upgrade package information during the DM session. In many cases, the terminal device receives the notification.
  • the DM session is triggered to start the FOTA operation, and the connection server downloads the latest software upgrade package, but the result is that the latest software upgrade package that is not valid and suitable for the terminal device is available, thereby wasting user traffic. And increase the load on the server.
  • embodiments of the present invention are directed to providing a method, device, and system for triggering a DM session, which can effectively control triggering of a DM session.
  • the embodiment of the invention provides a method for triggering a DM session, and the method includes:
  • firmware version information corresponding to the latest software upgrade package; the firmware version information is used to enable the terminal device to determine whether to send a DM session request to the server and whether to initiate an air interface firmware update FOTA operation;
  • a notification message is sent, the Notification message including the firmware version information.
  • the sending notification notification message includes the firmware version information, including:
  • the firmware version information is encoded by using a preset encoding manner, and the firmware version information is converted into corresponding encoding information, where the preset encoding manner includes but is not limited to binary, octal, or hexadecimal encoding. ;
  • the encoded information is filled into an extension field of the Notification message and sent.
  • the firmware version information includes: a manufacturer number, a model of the device, a device ID number, and a software version model.
  • the embodiment of the invention further provides a method for triggering a DM session, the method comprising:
  • the firmware version information includes: a manufacturer number, a model of the device, a device ID number, and a software version model.
  • the determining, according to the firmware version information and its current firmware version information, whether to send a DM session request to the server and whether to initiate a FOTA operation including:
  • the firmware version information is The software version model in the middle is compared with the current software version model of the user, and the second comparison result is obtained;
  • the embodiment of the present invention further provides a server, where the server includes: an obtaining module and a sending module;
  • the obtaining module is configured to obtain firmware version information corresponding to the latest software upgrade package, where the firmware version information is used to enable the terminal device to determine whether to send a DM session request to the server and Whether to start the FOTA operation;
  • the sending module is configured to send a Notification message; the Notification message includes the firmware version information.
  • the sending module is configured to encode the firmware version information by using a preset encoding manner, and convert the firmware version information into corresponding encoding information, where the preset encoding manner includes but is not limited to binary The octal or hexadecimal encoding mode; the encoding information is filled into an extension field of the Notification message and sent.
  • the preset encoding manner includes but is not limited to binary The octal or hexadecimal encoding mode; the encoding information is filled into an extension field of the Notification message and sent.
  • the firmware version information includes: a manufacturer number, a model of the device, a device ID number, and a software version model.
  • the embodiment of the present invention further provides a terminal device, where the terminal device includes: a receiving module and a determining module;
  • the receiving module is configured to receive a Notification message, where the Notification message carries firmware version information corresponding to the latest software upgrade package.
  • the determining module is configured to determine whether to send a DM session request to the server and whether to initiate a FOTA operation according to the firmware version information and its current firmware version information.
  • the firmware version information includes: a manufacturer number, a model of the device, a device ID number, and a software version model.
  • the determining module is configured to compare the firmware version information with its current firmware version information to obtain a first comparison result
  • the firmware version information is The software version model in the middle is implemented with its current software version model. Contrast, obtaining a second comparison result;
  • the embodiment of the present invention further provides a trigger control system for a DM session, where the system includes: a server and a terminal device;
  • the server is configured to obtain firmware version information corresponding to the latest software upgrade package, and send a Notification message, where the Notification message includes the firmware version information, where the firmware version information is used to enable the terminal device to determine whether to send the DM to the server. Session request and whether to initiate the air interface firmware update FOTA operation;
  • the terminal device is configured to receive a Notification message, where the Notification message carries firmware version information corresponding to the latest software upgrade package, and determines whether to send the DM to the server according to the firmware version information and its current firmware version information. Session request and whether to initiate FOTA operations.
  • the server is configured to encode the firmware version information by using a preset encoding manner, and convert the firmware version information into corresponding encoding information, where the preset encoding manner includes but is not limited to binary.
  • the terminal device is configured to compare the received firmware version information with its current firmware version information to obtain a first comparison result
  • the first comparison result is a vendor number in the firmware version information
  • a model of the device When the device ID number is the same as the current manufacturer number, the model number of the device, and the device ID number, the software version model in the firmware version information is compared with the current software version model of the firmware to obtain a second comparison result;
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the DM session applied to the server according to the embodiment of the present invention. Trigger method.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the DM session applied to the terminal device according to the embodiment of the present invention.
  • the trigger method is not limited to the embodiment of the present invention.
  • the DM session triggering method, device, system, and computer storage medium provided by the embodiment of the present invention obtain firmware version information corresponding to the latest software upgrade package; the firmware version information is used to enable the terminal device to determine whether to send a DM session request to the server and Whether to initiate the air interface firmware update FOTA operation; sending a Notification message, the Notification message including the firmware version information.
  • the terminal device is notified by sending a Notification message carrying the firmware version information, so that when receiving the Notification message, the terminal device can determine, according to the firmware version information, whether the server has the latest software upgrade package suitable for itself;
  • the terminal device triggers the DM session and starts the FOTA operation when determining that the server has the latest software upgrade package suitable for itself, and downloads the latest software upgrade package suitable for itself to the terminal device through the Internet and installs it. This avoids unnecessary traffic expenses and reduces the load on the server.
  • FIG. 1 is a schematic flowchart of a method for implementing a triggering method of a DM session according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a Notification message according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for implementing a triggering method of a DM session according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a triggering system of a DM session according to an embodiment of the present invention.
  • the embodiment of the present invention is applied to a triggering system of a DM session.
  • the device related to the embodiment of the present invention in the triggering system mainly includes: a server and a terminal device.
  • the FOTA technology is used to provide an upgrade service for a terminal device having an Internet connection function.
  • the server discovers the latest software upgrade package
  • the server notifies the terminal device by sending a Notification message
  • the terminal device controls the triggering of the DM session.
  • starting the FOTA operation thereby completing downloading and installing the latest software upgrade package suitable for the terminal device;
  • the terminal device may be a terminal device with Internet connection function, for example, a mobile phone, a tablet computer, a portable media player , computer PC, mobile Internet devices and other equipment.
  • the triggering process of the DM session provided by the embodiment of the present invention is as follows:
  • the firmware version information corresponding to the latest software upgrade package is obtained by the server; the firmware version information is carried in the Notification message and sent to the terminal device; generally, the firmware version information includes: a manufacturer number, a device model, a device ID number, and Software version model and other information.
  • the terminal device receives the Notification message sent by the server, comparing the firmware version information with the current firmware version information of the terminal device; if the vendor number in the firmware version information, the device If the model and device ID number are different from the current manufacturer number, device model, and device ID number of the terminal device, the process ends; if the firmware version information is the manufacturer number, device model, device ID number, and Terminal design If the current manufacturer number, the model of the device, and the device ID number are the same, compare the software version model in the firmware version information with the current software version model of the terminal device; if the software version model is higher than the The current software version of the terminal device sends a DM session request to the server to connect to the server, and initiates a FOTA operation; if the software version model is not higher than the current software version model of the terminal device, the process ends. .
  • the server notifies the terminal device by sending a Notification message carrying the firmware version information, so that the terminal device can determine the server according to the firmware version information when receiving the Notification message sent by the server.
  • the terminal device triggers the DM session and starts the FOTA operation when it determines that the server has the latest software upgrade package for itself, and will use the latest software upgrade package for itself. Downloading to the terminal device and installing; when determining that the server does not have the latest software upgrade package suitable for itself, the terminal device does not trigger the DM session to start the FOTA operation, thereby reducing the triggering of unnecessary DM sessions. The amount of redundant data to avoid unnecessary traffic expenses.
  • FIG. 1 is a schematic flowchart of a method for triggering a DM session according to Embodiment 1 of the present invention; as shown in FIG. 1 , a triggering process of a DM session provided by an embodiment of the present invention is applied to a server, and specific implementation steps include:
  • Step S100 Acquire firmware version information corresponding to the latest software upgrade package; the firmware version information is used to enable the terminal device to determine whether to send a DM session request to the server and whether to initiate an air interface firmware update FOTA operation.
  • the firmware version information includes information such as a manufacturer number, a model of the device, a device ID number, and a software version model.
  • the ID number of the device is an International Mobile Equipment Identity (IMEI) capable of uniquely identifying a mobile terminal device;
  • the software version model may be
  • the version number of the system software in the terminal device may also be the version model of the application software in the terminal device.
  • IMEI International Mobile Equipment Identity
  • Step S101 Send a Notification message, where the Notification message includes the firmware version information.
  • FIG. 2 is a schematic structural diagram of a Notification message according to an embodiment of the present invention. As shown in FIG. 2, the meanings and functions of each field are described in the prior art, and details are not described herein;
  • the future-use field is an extension field of the Notification message, that is, a reserved field that is not used temporarily. Therefore, the future-use field can be used to carry the firmware version information. Since the information stored in the Notification message is digitally encoded information, the firmware version information needs to be encoded, and the firmware version information can be carried into the future-use field of the Notification message after being converted into digital coded information. The way is as follows:
  • the firmware version information is encoded by using a preset encoding manner, and the firmware version information is converted into corresponding encoding information, where the preset encoding manner includes but is not limited to binary, octal, or hexadecimal encoding. ;
  • the extension field may be a future-use field shown in FIG. 2.
  • the length of the future-use field of the notification message is 27 bits, and the corresponding decimal number ranges from 0 to 134217727, which can fully accommodate the coding information corresponding to the firmware version information. Some of the bits in the future-use field need to be used to represent the firmware version information.
  • the manner of encoding the firmware version information is not specifically limited herein.
  • the Notification message is encrypted by using an encryption algorithm, and the encrypted Notification message is sent out to ensure the security and reliability of the Notification message.
  • An embodiment of the present invention further provides a computer storage medium, where the computer storage medium There is stored computer executable instructions for performing a triggering method applied to a DM session in a server according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for triggering a DM session according to Embodiment 2 of the present invention; as shown in FIG. 3, the triggering process of the DM session provided by the embodiment of the present invention is applied to a terminal device, and the specific implementation steps include:
  • Step S300 Receive a Notification message, where the Notification message carries firmware version information corresponding to the latest software upgrade package.
  • the firmware version information includes information such as a manufacturer number, a model of the device, a device ID number, and a software version model.
  • the Notification message may be decrypted by using a decryption algorithm corresponding to the encryption algorithm, so as to verify the security of the Notification message to ensure the Notification message. Safety and reliability.
  • Step S301 comparing the received firmware version information with its current firmware version information, and determining that they are consistent, step S302 is performed;
  • this step can be divided into two sub-steps:
  • Step a first compare the manufacturer number, the model number of the device, and the device ID number in the firmware version information with the manufacturer number, the model number of the device, and the device ID number in the current firmware version information to obtain a first comparison result.
  • the first comparison result is that the manufacturer number, the model number of the device, and the device ID number in the firmware version information are different from the current manufacturer number, the model number of the device, and the device ID number, the processing flow ends;
  • the first comparison result is that the vendor number in the firmware version information, the model number of the device, the device ID number is the same as the current manufacturer number, the model number of the device, and the device ID number, then proceeds to step b;
  • Step b comparing the software version model in the firmware version information with its current software version model to obtain a second comparison result; when the second comparison result is the software version If the model is higher than the current software version of the current model, the process goes to step S302; when the second comparison result is that the software version model is not higher than the current software version model, the process ends.
  • Step S302 Send a DM session request to the server and start a FOTA operation.
  • the DM session response message returned by the server carries the latest software upgrade package. Download the address, download the latest software upgrade package and install it through the download address.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the DM session applied to the terminal device according to the embodiment of the present invention.
  • the trigger method is not limited to the embodiment of the present invention.
  • the current firmware version information of the terminal device is the vendor number Samsung. Galaxy, device model S3I9308, device ID number 2367836737, system software version model Android-4.0.
  • the firmware version information corresponding to the latest software upgrade package is obtained by the server; the firmware version information is carried in the Notification message and sent to the terminal device; the firmware version information includes the manufacturer number Samsung Galaxy, the device model S3I9308, and the device ID number 2367836737. And the system software version model Android-4.1;
  • the terminal device When receiving the Notification message sent by the server, the terminal device firstly compares the firmware version information with the current firmware version information of the terminal device; the manufacturer number in the firmware version information received here is Samsung Galaxy, the device model S3I9308, and the device. ID number 2367836737 is the same as the current manufacturer number of the terminal device, Samsung Galaxy, the device model S3I9308, and the device ID number 2367836737. Therefore, it is determined whether the system software version model Android-4.1 in the received firmware version information is higher than the terminal device.
  • the current system software version model Android-4.0 where the system software version model Android-4.1 in the firmware version information is higher than the current system software version model Android-4.0 of the terminal device, that is, the latest software upgrade package is determined to be the latest.
  • the version sends a DM session request to the server and starts the FOTA operation, downloads the latest software upgrade package and installs it.
  • the embodiment of the present invention further provides a server and a terminal device. Since the principle and method for solving the problem by the server and the terminal device are similar, the implementation of the device may refer to the implementation of the foregoing method, where the method is repeated. No longer.
  • a server provided by an embodiment of the present invention includes: an obtaining module 400 and a sending module 401;
  • the obtaining module 400 is configured to obtain firmware version information corresponding to the latest software upgrade package, where the firmware version information is used to enable the terminal device to determine whether to send a DM session request to the server and whether to initiate a FOTA operation; wherein the firmware version information Including: manufacturer number, device model, device ID number, and software version model;
  • the sending module 401 is configured to send a Notification message; the Notification message includes the firmware version information.
  • the sending module 401 is configured to encode the firmware version information by using a preset encoding manner, and convert the firmware version information into corresponding encoding information, where the preset encoding manner includes but not It is limited to binary, octal or hexadecimal encoding; the encoding information is filled into the extension field of the Notification message and sent.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention; as shown in FIG. 5, the present invention
  • the terminal device provided by the embodiment includes: a receiving module 500 and a determining module 501; wherein
  • the receiving module 500 is configured to receive a notification message, where the notification message carries firmware version information corresponding to the latest software upgrade package, where the firmware version information includes: a manufacturer number, a device model, a device ID number, and software. Version model
  • the determining module 501 is configured to determine whether to send a DM session request to the server and whether to initiate a FOTA operation according to the firmware version information and its current firmware version information.
  • the determining module 501 is configured to compare the firmware version information with its current firmware version information to obtain a first comparison result
  • the firmware version information is The software version model in the middle is compared with the current software version model of the user, and the second comparison result is obtained;
  • the obtaining module 400 and the sending module 401 may each be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA) located at the server.
  • Implementation; the receiving module 500, the determining module 501 can be bit by bit It is implemented in a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA) of a terminal device.
  • FIG. 6 is a schematic structural diagram of a triggering system for a DM session according to an embodiment of the present invention. As shown in FIG. The server 600 and the terminal device 601 are included;
  • the server 600 is configured to obtain firmware version information corresponding to the latest software upgrade package, and send a Notification message to the terminal device 601, where the Notification message includes the firmware version information; wherein the firmware version information is used to make the terminal
  • the device determines whether to send a DM session request to the server and whether to initiate an air interface firmware update FOTA operation; wherein the firmware version information includes: a vendor number, a model of the device, a device ID number, and a software version model;
  • the terminal device 601 is configured to receive the Notification message, where the Notification message carries the firmware version information corresponding to the latest software upgrade package, and determines whether to report the firmware version information according to the firmware version information and the current firmware version information.
  • the server sends a DM session request and whether to initiate a FOTA operation.
  • the server 600 is configured to encode the firmware version information by using a preset encoding manner, and convert the firmware version information into corresponding encoding information, where the preset encoding manner includes but is not limited to Binary, octal, or hexadecimal encoding; the encoding information is padded into an extension field of the Notification message for transmission.
  • the preset encoding manner includes but is not limited to Binary, octal, or hexadecimal encoding
  • the terminal device 601 is configured to compare the received firmware version information with its current firmware version information to obtain a first comparison result
  • the first comparison result is a vendor number in the firmware version information
  • a model of the device When the device ID number is the same as the current manufacturer number, the model number of the device, and the device ID number, the software version model in the firmware version information is compared with the current software version model of the firmware to obtain a second comparison result;
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can 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.) including computer usable program code.
  • 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 blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded into a computer or other programmable data processing device Having a series of operational steps performed on a computer or other programmable device to produce computer-implemented processing such that instructions executed on a computer or other programmable device are provided for implementing one or more processes in a flowchart and/or Or block diagram the steps of a function specified in a box or multiple boxes.
  • the embodiment of the present invention notifies the terminal device by sending a Notification message carrying the firmware version information, so that when receiving the Notification message, the terminal device can determine, according to the firmware version information, whether the server has the latest software upgrade suitable for itself.
  • the terminal device triggers the DM session and starts the FOTA operation when determining that the server has the latest software upgrade package suitable for itself, and downloads the latest software upgrade package suitable for itself to the terminal device through the Internet. Install to avoid unnecessary traffic expenses and reduce the load on the server.

Landscapes

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

Abstract

本发明公开了一种设备管理(DM)会话的触发方法、设备、系统及计算机存储介质;其中,所述方法包括:获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作;发送通知(Notification)消息,所述Notification消息包括所述固件版本信息。

Description

设备管理会话的触发方法、设备、系统及计算机存储介质 技术领域
本发明涉及无线通信领域中的设备管理(Device Management,DM)会话技术,尤其涉及一种DM会话的触发方法、设备、系统及计算机存储介质。
背景技术
随着数据业务日趋丰富和复杂,数据业务对终端设备的依赖性越来越高。终端设备作为用户使用数据业务的载体,已成为移动运营服务体系中不可或缺的重要组成部分。为了更好地使终端设备具备快速提升的能力,以应对日益激烈的市场竞争,未来终端设备制造商推出新的终端产品功能的周期将越来越短。为了能够提供有效、简便的升级服务,空中接口固件更新(Firmware Over The Air,FOTA)技术成为DM中非常关键的技术,并得到了通信产业的高度关注。
FOTA技术是一种通过空中接口进行远程管理的技术,通过FOTA不仅可以更新终端设备的应用软件,也可以更新终端设备的系统软件。标准的DM协议定义了两种触发DM会话来启动FOTA升级流程的方式:
方式一、网络触发(Network Initiated,NI),即服务器触发,服务器通过下发Notification消息通知客户端(终端设备),由终端设备触发DM会话来启动FOTA升级流程;
方式二、设备触发(Client Initiated,CI),即用户通过点击终端设备上菜单来触发DM会话来启动FOTA升级流程。
发明人在实现本发明的过程中,发现现有的网络触发方案至少存在以下缺陷:
终端设备在接收到Notification消息时,并不知道服务器究竟有无适合自己的最新软件升级包,服务器是在DM会话过程中才告诉终端设备最新软件升级包的信息,在很多时候终端设备在接收到服务器下发的Notification消息后,触发DM会话来启动FOTA操作,连接服务器下载该最新软件升级包,但结果是并无有效且适合该终端设备的最新软件升级包可用,从而浪费了用户的流量,并增加了服务器的负荷。
发明内容
有鉴于此,本发明实施例期望提供一种DM会话的触发方法、设备及系统,能有效地控制DM会话的触发。
为达到上述目的,本发明的技术方案是这样实现的:
本发明实施例提供了一种DM会话的触发方法,所述方法包括:
获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作;
发送通知(Notification)消息,所述Notification消息包括所述固件版本信息。
优选地,所述发送通知Notification消息,所述Notification消息包括所述固件版本信息,包括:
采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;
将所述编码信息填充到所述Notification消息的扩展字段中发送。
优选地,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号。
本发明实施例还提供了一种DM会话的触发方法,所述方法包括:
接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息;
根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
优选地,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号。
优选地,所述根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作,包括:
将所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;
当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号时,则结束处理流程。
本发明实施例还提供了一种服务器,所述服务器包括:获取模块和发送模块;其中,
所述获取模块,配置为获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及 是否启动FOTA操作;
所述发送模块,配置为发送Notification消息;所述Notification消息包括所述固件版本信息。
优选地,所述发送模块,配置为采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;将所述编码信息填充到所述Notification消息的扩展字段中发送。
优选地,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号。
本发明实施例还提供了一种终端设备,所述终端设备包括:接收模块和确定模块;其中,
所述接收模块,配置为接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息;
所述确定模块,配置为根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
优选地,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号。
优选地,所述确定模块,配置为将所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行 对比,获得第二比对结果;
当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号时,则结束处理流程。
本发明实施例还提供了一种DM会话的触发控制系统,所述系统包括:服务器和终端设备;其中,
所述服务器,配置为获取最新软件升级包对应的固件版本信息;发送Notification消息,所述Notification消息包括所述固件版本信息;其中,所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作;
所述终端设备,配置为接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息;根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
优选地,所述服务器,配置为采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;将所述编码信息填充到所述Notification消息的扩展字段中发送。
优选地,所述终端设备,配置为将接收到的所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、 设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;
当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号时,则结束处理流程。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于服务器中的DM会话的触发方法。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于终端设备中的DM会话的触发方法。
本发明实施例提供的DM会话的触发方法、设备、系统及计算机存储介质,获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作;发送Notification消息,所述Notification消息包括所述固件版本信息。如此,通过发送携带有固件版本信息的Notification消息通知终端设备,使所述终端设备在接收到Notification消息时,能够根据所述固件版本信息确定所述服务器上是否有适合自己的最新软件升级包;所述终端设备在确定所述服务器上有适合自己的最新软件升级包时,才会触发DM会话以及启动FOTA操作,将适合自己的最新软件升级包通过互联网下载到所述终端设备中并安装,从而避免不必要的流量开支,并降低了服务器的负荷。
附图说明
图1为本发明实施例一的DM会话的触发方法实现流程示意图;
图2为本发明实施例Notification消息的结构示意图;
图3为本发明实施例二的DM会话的触发方法实现流程示意图;
图4为本发明实施例的服务器的结构示意图;
图5为本发明实施例的终端设备的结构示意图;
图6为本发明实施例的DM会话的触发系统的结构示意图。
具体实施方式
本发明实施例应用于DM会话的触发系统,所述触发系统中与本发明实施例相关的设备主要包括:服务器和终端设备。所述触发控制系统中,采用FOTA技术实现为具有连接互联网功能的终端设备提供升级服务,在服务器发现最新软件升级包时,所述服务器通过发送Notification消息通知终端设备,由终端设备控制触发DM会话以及启动FOTA操作,从而完成对适合所述终端设备的最新软件升级包的下载及安装;其中,所述终端设备可以是具有连接互联网功能的终端设备,例如,手机、平板电脑、便携式媒体播放器、电脑PC、移动互联网设备等设备。
基于上述系统架构,本发明实施例提供的DM会话的触发过程如下:
首先,由服务器获取最新软件升级包对应的固件版本信息;将所述固件版本信息携带于Notification消息发送给终端设备;通常,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号等信息。
然后,在所述终端设备接收到所述服务器发送的Notification消息时,将所述固件版本信息与所述终端设备当前的固件版本信息进行对比;若所述固件版本信息中的厂商号码、设备的型号、设备ID号码与所述终端设备当前的厂商号码、设备的型号、设备ID号码不相同,则结束处理流程;若所述固件版本信息中的厂商号码、设备的型号、设备ID号码与所述终端设 备当前的厂商号码、设备的型号、设备ID号码相同,则将所述固件版本信息中的软件版本型号与所述终端设备当前的软件版本型号进行对比;若所述软件版本型号高于所述终端设备当前的软件版本型号,则向所述服务器发送DM会话请求连接所述服务器,并启动FOTA操作;若所述软件版本型号不高于所述终端设备当前的软件版本型号,则结束处理流程。
本发明实施例中,服务器通过发送携带有固件版本信息的Notification消息通知终端设备,使所述终端设备在接收到所述服务器发送的Notification消息时,能够根据所述固件版本信息确定所述服务器上是否有适合自己的最新软件升级包;所述终端设备在确定所述服务器上有适合自己的最新软件升级包时,才会触发DM会话以及启动FOTA操作,将适合自己的最新软件升级包通过互联网下载到所述终端设备中并进行安装;所述终端设备在确定所述服务器上没有适合自己的最新软件升级包时,不会触发DM会话来启动FOTA操作,从而减少触发不必要的DM会话造成的冗余数据量,避免不必要的流量开支。
下面结合附图对本发明的具体实施方式进行说明。
图1为本发明实施例一的DM会话的触发方法实现流程示意图;如图1所示,本发明实施例提供的DM会话的触发流程,应用于服务器中,具体实现步骤包括:
步骤S100:获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作。
这里,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号等信息。若所述设备为移动终端设备,例如手机,则设备的ID号码为能够唯一地识别一台移动终端设备的国际移动设备身份码(International Mobile Equipment Identity,IMEI);软件版本型号可以为终 端设备中的系统软件的版本型号,也可以是终端设备中的应用软件的版本型号。
步骤S101:发送Notification消息,所述Notification消息包括所述固件版本信息。
这里,图2为本发明实施例Notification消息的结构示意图;如图2所示,各个字段的含义及功能在现有技术中均有说明,这里不再赘述;
其中,future-use字段为Notification消息的扩展字段,即暂未使用的保留字段,因此,可以使用该future-use字段来携带固件版本信息。由于Notification消息中存储的为数字编码信息,因此,需要对所述固件版本信息进行编码,将所述固件版本信息转换为数字编码信息后才能够携带于Notification消息的future-use字段中,具体实现方式如下:
采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;
将所述编码信息填充到所述Notification消息的扩展字段中发送;具体的,所述扩展字段可以是图2所示的future-use字段。
需要说明的是,所述Notification消息的future-use字段的长度为27bit,对应的十进制数范围为0~134217727,可以充分容纳所述固件版本信息对应的编码信息;优选的,可以根据实际场景的需要采用所述future-use字段中的部分比特位来表示所述固件版本信息。这里对所述固件版本信息的编码方式不作具体限定。
优选的,可以采用加密算法对所述Notification消息进行加密,将加密后的Notification消息发送出去,以保证所述Notification消息的安全性及可靠性。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中 存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于服务器中的DM会话的触发方法。
图3为本发明实施例二的DM会话的触发方法实现流程示意图;如图3所示,本发明实施例提供的DM会话的触发流程,应用于终端设备中,具体实现步骤包括:
步骤S300:接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息。
这里,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号等信息。
优选的,若所述Notification消息为加密后的Notification消息,则可以采用与加密算法相对应的解密算法对所述Notification消息进行解密,从而实现对Notification消息安全性的验证,以保证所述Notification消息的安全性及可靠性。
步骤S301:将收到的固件版本信息与自身当前的固件版本信息进行对比,确定一致时,执行步骤S302;
具体的,本步骤可分为两个子步骤:
步骤a:先将所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的固件版本信息中的厂商号码、设备的型号、设备ID号码进行对比,获得第一比对结果;当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则转入步骤b;
步骤b:将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;当所述第二比对结果为所述软件版本 型号高于自身当前的软件版本型号时,则转入步骤S302;当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号,则结束处理流程。
步骤S302:向所述服务器发送DM会话请求以及启动FOTA操作。
这里,所述向所述服务器发送DM会话请求并启动FOTA操作的具体处理过程为现有技术,这里不再详细赘述。
依据本发明的另一实施例,向所述服务器发送DM会话请求以及启动FOTA操作之后,在接收到所述服务器返回的DM会话响应消息时,所述DM会话响应消息中携带最新软件升级包的下载地址,通过所述下载地址下载所述最新软件升级包并安装。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于终端设备中的DM会话的触发方法。
为了更清楚地对本发明实施例进行说明,下面以实施例三为例,对本发明实施例中的DM会话的触发控制流程进行描述,该实施例一中终端设备当前的固件版本信息为厂商号码三星Galaxy、设备的型号S3I9308、设备ID号码2367836737,系统软件版本型号Android-4.0。
实施例三
首先,由服务器获取最新软件升级包对应的固件版本信息;将所述固件版本信息携带于Notification消息发送给终端设备;所述固件版本信息包括厂商号码三星Galaxy、设备的型号S3I9308、设备ID号码2367836737以及系统软件版本型号Android-4.1;
所述终端设备接收服务器发送的Notification消息时,首先将所述固件版本信息与终端设备当前的固件版本信息进行对;这里接收到的固件版本信息中的厂商号码三星Galaxy、设备的型号S3I9308、设备ID号码 2367836737与所述终端设备当前的厂商号码三星Galaxy、设备的型号S3I9308、设备ID号码2367836737相同,因此继续判断接收到的所述固件版本信息中的系统软件版本型号Android-4.1是否高于该终端设备当前的系统软件版本型号Android-4.0,这里固件版本信息中的系统软件版本型号Android-4.1高于所述终端设备当前的系统软件版本型号Android-4.0,即确定所述最新软件升级包为最新的版本,则向所述服务器发送DM会话请求并启动FOTA操作,下载该最新软件升级包并安装。
为实现上述方法,本发明实施例还提供了一种服务器和一种终端设备,由于该服务器、终端设备解决问题的原理与方法相似,因此,设备的实施可以参见前述方法的实施,重复之处不再赘述。
图4为本发明实施例的服务器的结构示意图;如图4所示,本发明实施例提供的服务器,包括:获取模块400和发送模块401;其中,
所述获取模块400,配置为获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动FOTA操作;其中,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号;
所述发送模块401,配置为发送Notification消息;所述Notification消息包括所述固件版本信息。
以上功能模块的划分方式仅为本发明实施例给出的一种优选实现方式,功能模块的划分方式不构成对本发明的限制。
具体实施中,所述发送模块401,配置为采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;将所述编码信息填充到所述Notification消息的扩展字段中发送。
图5为本发明实施例的终端设备的结构示意图;如图5所示,本发明 实施例提供的终端设备,包括:接收模块500和确定模块501;其中,
所述接收模块500,配置为接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息,其中,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号;
所述确定模块501,配置为根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
以上功能模块的划分方式仅为本发明实施例给出的一种优选实现方式,功能模块的划分方式不构成对本发明的限制。
具体实施中,所述确定模块501,配置为将所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;
当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号时,则结束处理流程。
在实际应用中,所述获取模块400、发送模块401均可由位于服务器的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)实现;所述接收模块500、确定模块501均可由位 于终端设备的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)实现。
本发明实施例还提供了一种DM会话的触发系统;图6为本发明实施例的DM会话的触发系统的结构示意图,如图6所示,本发明实施例提供的DM会话的触发系统,包括:服务器600和终端设备601;其中,
所述服务器600,配置为获取最新软件升级包对应的固件版本信息;向所述终端设备601发送Notification消息,所述Notification消息包括所述固件版本信息;其中,所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作;其中,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号;
所述终端设备601,配置为接收所述Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息;根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
具体实施中,所述服务器600,配置为采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;将所述编码信息填充到所述Notification消息的扩展字段中发送。
具体实施中,所述终端设备601,配置为将接收到的所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、 设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;
当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号时,则结束处理流程。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述仅是本发明实施例的实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明实施例原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明实施例的保护范围。
工业实用性
本发明实施例通过发送携带有固件版本信息的Notification消息通知终端设备,使所述终端设备在接收到Notification消息时,能够根据所述固件版本信息确定所述服务器上是否有适合自己的最新软件升级包;所述终端设备在确定所述服务器上有适合自己的最新软件升级包时,才会触发DM会话以及启动FOTA操作,将适合自己的最新软件升级包通过互联网下载到所述终端设备中并安装,从而避免不必要的流量开支,并降低了服务器的负荷。

Claims (17)

  1. 一种设备管理DM会话的触发方法,所述方法包括:
    获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作;
    发送通知Notification消息,所述Notification消息包括所述固件版本信息。
  2. 根据权利要求1所述的方法,其中,所述发送通知Notification消息,所述Notification消息包括所述固件版本信息,包括:
    采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;
    将所述编码信息填充到所述Notification消息的扩展字段中发送。
  3. 根据权利要求1或2所述的方法,其中,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号。
  4. 一种DM会话的触发方法,所述方法包括:
    接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息;
    根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
  5. 根据权利要求4所述的方法,其中,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号。
  6. 根据权利要求5所述的方法,其中,所述根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作,包括:
    将所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
    当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
    当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;
    当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
    当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号时,则结束处理流程。
  7. 一种服务器,所述服务器包括:获取模块和发送模块;其中,
    所述获取模块,配置为获取最新软件升级包对应的固件版本信息;所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动FOTA操作;
    所述发送模块,配置为发送通知Notification消息;所述Notification消息包括所述固件版本信息。
  8. 根据权利要求7所述的服务器,其中,所述发送模块,配置为采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;将所述编码信息填充到所述Notification消息的扩展字段中发送。
  9. 根据权利要求7或8所述的服务器,其中,所述固件版本信息包括: 厂商号码、设备的型号、设备ID号码以及软件版本型号。
  10. 一种终端设备,所述终端设备包括:接收模块和确定模块;其中,
    所述接收模块,配置为接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息;
    所述确定模块,配置为根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
  11. 根据权利要求10所述的终端设备,其中,所述固件版本信息包括:厂商号码、设备的型号、设备ID号码以及软件版本型号。
  12. 根据权利要求11所述的终端设备,其中,所述确定模块,配置为将所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
    当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
    当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;
    当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
    当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本型号时,则结束处理流程。
  13. 一种DM会话的触发系统,所述系统包括:服务器和终端设备;其中,
    所述服务器,配置为获取最新软件升级包对应的固件版本信息;发送 Notification消息,所述Notification消息包括所述固件版本信息;其中,所述固件版本信息用于使终端设备确定是否向服务器发送DM会话请求以及是否启动空中接口固件更新FOTA操作;
    所述终端设备,配置为接收Notification消息,所述Notification消息中携带有最新软件升级包对应的固件版本信息;根据所述固件版本信息与自身当前的固件版本信息,确定是否向所述服务器发送DM会话请求以及是否启动FOTA操作。
  14. 根据权利要求13所述的系统,其中,所述服务器,配置为采用预设编码方式对所述固件版本信息进行编码,将所述固件版本信息转换为对应的编码信息;其中,所述预设编码方式包括但不限于二进制、八进制或十六进制的编码方式;将所述编码信息填充到所述Notification消息的扩展字段中发送。
  15. 根据权利要求13所述的系统,其中,所述终端设备,配置为将接收到的所述固件版本信息与自身当前的固件版本信息进行对比,获得第一比对结果;
    当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码不相同时,则结束处理流程;
    当所述第一比对结果为所述固件版本信息中的厂商号码、设备的型号、设备ID号码与自身当前的厂商号码、设备的型号、设备ID号码相同时,则将所述固件版本信息中的软件版本型号与自身当前的软件版本型号进行对比,获得第二比对结果;
    当所述第二比对结果为所述软件版本型号高于自身当前的软件版本型号时,则向所述服务器发送DM会话请求以及启动FOTA操作;
    当所述第二比对结果为所述软件版本型号不高于自身当前的软件版本 型号时,则结束处理流程。
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至3任一项所述的DM会话的触发方法。
  17. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求4至6任一项所述的DM会话的触发方法。
PCT/CN2014/090701 2014-05-20 2014-11-10 设备管理会话的触发方法、设备、系统及计算机存储介质 WO2015176501A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP14892511.8A EP3148114A4 (en) 2014-05-20 2014-11-10 Device management session triggering method, device, system and computer storage medium
US15/312,126 US20170102934A1 (en) 2014-05-20 2014-11-10 Device Management Session Triggering Method, Device, System and Computer Storage Medium
JP2017513288A JP2017525059A (ja) 2014-05-20 2014-11-10 デバイス管理セッションのトリガー方法、デバイス、システム及びコンピュータ記憶媒体

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410213935.8A CN105100021B (zh) 2014-05-20 2014-05-20 一种设备管理会话的触发方法、设备及系统
CN201410213935.8 2014-05-20

Publications (1)

Publication Number Publication Date
WO2015176501A1 true WO2015176501A1 (zh) 2015-11-26

Family

ID=54553360

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090701 WO2015176501A1 (zh) 2014-05-20 2014-11-10 设备管理会话的触发方法、设备、系统及计算机存储介质

Country Status (5)

Country Link
US (1) US20170102934A1 (zh)
EP (1) EP3148114A4 (zh)
JP (1) JP2017525059A (zh)
CN (1) CN105100021B (zh)
WO (1) WO2015176501A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882277A (zh) * 2018-05-28 2018-11-23 新华三技术有限公司 一种版本升级的方法及装置

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491159A (zh) * 2016-01-15 2016-04-13 青岛海尔智能家电科技有限公司 一种固件升级包下发方法、获取方法及装置
CN107347017A (zh) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 一种设备升级的方法、装置及配置点设备
JP6786937B2 (ja) 2016-08-04 2020-11-18 株式会社リコー 情報処理システム、クライアント端末及びプログラム
US10630857B2 (en) * 2017-12-21 2020-04-21 Ricoh Company, Ltd. Electronic apparatus and method to update firmware of the electronic apparatus when adding a web application to the electronic apparatus
CN110268386A (zh) * 2018-01-19 2019-09-20 深圳市大疆创新科技有限公司 一种固件升级方法、装置、电子设备及控制设备
CN108572837A (zh) * 2018-06-11 2018-09-25 广州视源电子科技股份有限公司 软件升级方法、装置、可读存储介质及计算机设备
CN111367542A (zh) * 2018-12-26 2020-07-03 博西华电器(江苏)有限公司 家电设备及家电设备固件升级方法
US11726761B2 (en) * 2019-03-26 2023-08-15 Tymphany Acoustic Technology (Huizhou) Co., Ltd. Firmware upgrade for wireless stereo earbuds
CN110795119A (zh) * 2019-09-19 2020-02-14 平安科技(深圳)有限公司 固件升级方法、装置、计算机设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716276B1 (en) * 2003-11-17 2010-05-11 Hewlett-Packard Development Company, L.P. Network that supports user-initiated device management
CN101909282A (zh) * 2010-08-20 2010-12-08 中兴通讯股份有限公司 终端操作的触发方法、装置及系统
CN102136934A (zh) * 2010-10-21 2011-07-27 华为技术有限公司 实现Zigbee设备远程升级的方法、装置及网络系统
US20110276956A1 (en) * 2010-05-10 2011-11-10 Canon Kabushiki Kaisha Distribution apparatus, distribution method, and program distribution system
CN102457784A (zh) * 2010-10-28 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 在EPON+EoC网络中对EoC设备软件进行批量升级的方法
CN102811136A (zh) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 软件升级系统及方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169073A1 (en) * 2002-04-12 2007-07-19 O'neill Patrick Update package generation and distribution network
US20060005046A1 (en) * 2004-06-30 2006-01-05 Seagate Technology Llc Secure firmware update procedure for programmable security devices
JP2006235838A (ja) * 2005-02-23 2006-09-07 Nec Corp ソフトウェア更新システム、サーバ、方法およびプログラム
WO2006110991A1 (en) * 2005-04-18 2006-10-26 Research In Motion Limited Method and system for controlling software version updates
US7844721B2 (en) * 2005-11-23 2010-11-30 Qualcomm Incorporated Method for delivery of software upgrade notification to devices in communication systems
US8001385B2 (en) * 2006-06-21 2011-08-16 Intel Corporation Method and apparatus for flash updates with secure flash
JP2009009391A (ja) * 2007-06-28 2009-01-15 Sony Ericsson Mobilecommunications Japan Inc 更新処理ソフトウェア自己更新方法および携帯端末装置
US20090075641A1 (en) * 2007-09-18 2009-03-19 Metropcs Wireless, Inc. Automated over-the-air firmware update for a wireless phone
JP5559001B2 (ja) * 2010-10-15 2014-07-23 株式会社日立ソリューションズ 組込プログラム更新方法、組込プログラム更新プログラム、電子機器、ネットワークシステム
TW201224814A (en) * 2010-12-07 2012-06-16 Hon Hai Prec Ind Co Ltd System and method for updating software on android
US8924778B2 (en) * 2010-12-29 2014-12-30 Lsi Corporation Method to synchronize a replacement controller's firmware version to the native configuration database version on a simplex array

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716276B1 (en) * 2003-11-17 2010-05-11 Hewlett-Packard Development Company, L.P. Network that supports user-initiated device management
US20110276956A1 (en) * 2010-05-10 2011-11-10 Canon Kabushiki Kaisha Distribution apparatus, distribution method, and program distribution system
CN101909282A (zh) * 2010-08-20 2010-12-08 中兴通讯股份有限公司 终端操作的触发方法、装置及系统
CN102136934A (zh) * 2010-10-21 2011-07-27 华为技术有限公司 实现Zigbee设备远程升级的方法、装置及网络系统
CN102457784A (zh) * 2010-10-28 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 在EPON+EoC网络中对EoC设备软件进行批量升级的方法
CN102811136A (zh) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 软件升级系统及方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3148114A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882277A (zh) * 2018-05-28 2018-11-23 新华三技术有限公司 一种版本升级的方法及装置
CN108882277B (zh) * 2018-05-28 2022-04-26 新华三技术有限公司 一种版本升级的方法及装置

Also Published As

Publication number Publication date
EP3148114A4 (en) 2017-06-14
JP2017525059A (ja) 2017-08-31
CN105100021A (zh) 2015-11-25
EP3148114A1 (en) 2017-03-29
CN105100021B (zh) 2021-03-16
US20170102934A1 (en) 2017-04-13

Similar Documents

Publication Publication Date Title
WO2015176501A1 (zh) 设备管理会话的触发方法、设备、系统及计算机存储介质
CN109561118B (zh) 软件升级方法、装置、系统、存储介质、电子设备及车辆
US11864263B2 (en) Wireless connection establishing methods and wireless connection establishing apparatuses
CN107888577B (zh) 门锁固件的升级方法、门锁、服务器、系统及存储介质
CN108762791A (zh) 固件升级方法及装置
WO2016201732A1 (zh) 一种虚拟sim卡参数管理方法、移动终端及服务器
JP2015176601A (ja) ソフトウェアアップデートの方法、ソフトウェアアップデートシステム及びモバイル機器
JP6793667B2 (ja) アプリケーションダウンロード方法及び装置
CN111355684A (zh) 一种物联网数据传输方法、装置、系统、电子设备及介质
TW201719476A (zh) 一種在設備之間進行授權的方法和裝置
CN106341815B (zh) 一种无线连接方法、终端及ap
JP2022530788A (ja) 通信方法及び通信装置
CN113613227B (zh) 蓝牙设备的数据传输方法和装置、存储介质及电子装置
EP2930962B1 (en) Encryption/decryption method, system and device
CN112466053B (zh) 一种家电设备的控制系统及目标操作的执行方法和装置
CN107682335B (zh) 数据传输方法、服务端以及计算机可读存储介质
WO2019019280A1 (zh) 物联网终端数据的分时段加密方法及装置
WO2019019282A1 (zh) 物联网终端数据的按顺序加密方法及装置
CN109951417B (zh) 一种身份认证的方法、系统及终端设备
WO2016188150A1 (zh) 会话的交互方法及服务器、用户终端、计算机存储介质
CN108365973A (zh) 用于在虚拟隧道上进行传输的方法和设备
CN112333699A (zh) 一种物联网通信协议加密方法、设备及存储介质
WO2013189457A2 (zh) 终端和云系统服务器以及其交互方法和系统
WO2016065919A1 (zh) 传输配置信息的方法、移动终端及设备管理服务器、存储介质
WO2019019287A1 (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: 14892511

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017513288

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014892511

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15312126

Country of ref document: US

Ref document number: 2014892511

Country of ref document: EP