CN100403836C - Terminal equipment software/firmware download update method - Google Patents
Terminal equipment software/firmware download update method Download PDFInfo
- Publication number
- CN100403836C CN100403836C CNB2005100752964A CN200510075296A CN100403836C CN 100403836 C CN100403836 C CN 100403836C CN B2005100752964 A CNB2005100752964 A CN B2005100752964A CN 200510075296 A CN200510075296 A CN 200510075296A CN 100403836 C CN100403836 C CN 100403836C
- Authority
- CN
- China
- Prior art keywords
- software
- firmware
- terminal device
- information
- management server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种终端设备软件/固件下载更新方法,包括获得用户预设的进行软件/固件下载更新处理的周期时间段;设备管理服务器判断自身被触发对终端设备进行软件/固件下载更新处理的时间点是否在所述预设周期时间段内,如果是,对终端设备进行软件/固件下载更新处理;否则将终端设备的软件/固件下载更新处理推迟到后续的周期时间段内进行。本发明可以减小对网络系统资源尤其是无线传输资源的损耗,并提高设备管理稳定性及运营商的服务质量。
The invention discloses a method for downloading and updating software/firmware of terminal equipment, which includes obtaining a cycle time period preset by the user for software/firmware downloading and updating processing; the equipment management server judges that it is triggered to perform software/firmware downloading and updating processing on the terminal equipment Whether the time point of the terminal device is within the preset cycle time period, if yes, perform software/firmware download and update processing on the terminal device; otherwise, postpone the software/firmware download update process of the terminal device to a subsequent cycle time period. The invention can reduce the loss of network system resources, especially wireless transmission resources, and improve the stability of equipment management and the service quality of operators.
Description
技术领域 technical field
本发明涉及开放移动联盟(OMA,Open Mobile Alliance)中的设备管理(DM,Device Management)技术,尤其涉及一种终端设备软件/固件下载更新方法。The present invention relates to the device management (DM, Device Management) technology in the Open Mobile Alliance (OMA, Open Mobile Alliance), in particular to a method for downloading and updating terminal device software/firmware.
背景技术 Background technique
移动终端是整个移动运营服务体系中的重要组成部分,伴随着移动终端性能的日益增强,终端设备中运行的各种软件/固件也层出不穷。对于移动运营商以及移动终端制造商而言,如何针对终端设备上运行的各种软件/固件实施有效的管理,以保证终端设备能够正常的使用各种软件/固件,使用户得到良好的用户体验,以及提高服务质量并有效降低设备维护成本都起着极其重要的作用。Mobile terminals are an important part of the entire mobile operation service system. With the increasing performance of mobile terminals, various software/firmware running in terminal devices are emerging in an endless stream. For mobile operators and mobile terminal manufacturers, how to effectively manage various software/firmware running on terminal equipment, so as to ensure that terminal equipment can use various software/firmware normally, so that users can get a good user experience , as well as improving service quality and effectively reducing equipment maintenance costs all play an extremely important role.
现有技术中,一般都是基于OMADM技术对终端设备中的软件/固件进行下载更新管理,由DM服务器向终端设备发出用于获取终端软件/固件信息的请求信息,终端设备响应该请求信息,通过与用户交互后向DM服务器反馈自身的软件/固件信息;DM服务器通过分析终端设备反馈来的软件/固件信息,向终端设备发送适合于该终端设备安装和使用的软件/固件数据包,终端设备接收到软件/固件数据包后,安装新的软件/固件或对已有的软件/固件进行升级更新处理,并向DM服务器上报相应的下载更新状态信息(如下载更新成功、失败或出现异常等状态信息),具体处理过程请参照图1,该图是现有终端设备软件/固件下载更新的处理过程示意图,处理过程包括:In the prior art, the software/firmware in the terminal device is generally downloaded and updated based on the OMADM technology, and the DM server sends a request message for obtaining terminal software/firmware information to the terminal device, and the terminal device responds to the request message, After interacting with the user, it feeds back its own software/firmware information to the DM server; the DM server analyzes the software/firmware information fed back by the terminal device, and sends the terminal device a software/firmware data package suitable for installation and use of the terminal device. After the device receives the software/firmware data package, it installs new software/firmware or upgrades the existing software/firmware, and reports the corresponding download update status information to the DM server (such as download update success, failure, or abnormal and other status information), please refer to Figure 1 for the specific processing process, which is a schematic diagram of the processing process for downloading and updating the existing terminal device software/firmware, and the processing process includes:
步骤1,DM服务器向终端设备发送用于获取终端软件/固件信息的请求信息;(其中DM服务器和终端设备之间的建立连接阶段部分在这里省略);
步骤2,终端设备接收到该请求信息后,通过操作界面请求用户授权;
步骤3,用户授权允许终端设备反馈自身的软件/固件信息给DM服务器;Step 3, the user authorizes and allows the terminal device to feed back its own software/firmware information to the DM server;
步骤4,终端设备反馈自身的软件/固件信息给DM服务器;Step 4, the terminal device feeds back its own software/firmware information to the DM server;
步骤5,DM服务器根据终端设备反馈的软件/固件信息,向终端设备下发适合于终端设备安装和使用的软件/固件数据包;Step 5, the DM server sends a software/firmware data package suitable for installation and use of the terminal device to the terminal device according to the software/firmware information fed back by the terminal device;
步骤6,终端设备根据接收的软件/固件数据包,安装新的软件/固件或对已有的软件/固件进行升级更新处理,并上报相应的下载更新状态信息给DM服务器。Step 6: The terminal device installs new software/firmware or upgrades existing software/firmware according to the received software/firmware data package, and reports the corresponding download update status information to the DM server.
其中在上述步骤3中,如果用户不允许终端设备反馈自身的软件/固件信息给DM服务器,终端设备在步骤4中将向DM服务器反馈操作取消信息,其操作取消信息的状态码如下所示:In the above step 3, if the user does not allow the terminal device to feed back its own software/firmware information to the DM server, the terminal device will feed back the operation cancellation information to the DM server in step 4, and the status code of the operation cancellation information is as follows:
<Status><Status>
<MsgRef>1</MsgRef><MsgRef>1</MsgRef>
<CmdRef>2</CmdRef><CmdRef>2</CmdRef>
<CmdID>3</CmdID><CmdID>3</CmdID>
<Cmd>Alert</Cmd><Cmd>Alert</Cmd>
<Data>214</Data><!--操作取消--><Data>214</Data><! -- operation cancel -->
</Status></Status>
DM服务器接收到终端设备反馈的操作取消信息后,将会中止和终端设备之间的会话连接,此次软件/固件下载更新过程结束。After the DM server receives the operation cancellation information fed back by the terminal device, it will terminate the session connection with the terminal device, and the software/firmware download and update process is over.
在上述现有终端设备软件/固件下载更新处理过程中,并没有对软件/固件下载更新的处理时间进行较好的控制,即DM服务器可能会随时向终端设备发起用于获取终端软件/固件信息的请求信息,以进行软件/固件下载更新处理,而在软件/固件下载更新的过程中,可能会由于一些客观原因(如终端设备关机或处于信号盲区等)和主观原因(如用户人为推迟和拒绝软件/固件下载更新操作等)而导致软件/固件下载更新处理流程无法正常进行,针对这种情况,DM服务器可能采取在后续时间继续向终端设备发起用于获取终端软件/固件信息的请求信息,以使终端设备能够得到更新的软件/固件信息,进行相应的软件/固件更新升级处理;也有可能DM服务器对于本次软件/固件下载更新处理失败的终端设备不再进行跟踪,即终端设备在后续时间将无法再接收到该次软件/固件下载更新过程中所需要的软件/固件数据包;由此可见这样的软件/固件下载更新过程势必会损耗网络系统资源尤其是无线传输资源以及增大DM服务器对终端设备进行管理的不稳定性,并且DM服务器随时向终端设备发送的请求信息也会给用户处理带来不便性,因此DM服务器和终端设备之间的这种软件/固件下载更新方式降低了运营商的服务质量(QoS,Quality Of Service)。In the above-mentioned existing terminal device software/firmware download and update process, the processing time of software/firmware download and update has not been well controlled, that is, the DM server may initiate a request to the terminal device at any time to obtain terminal software/firmware information In the process of software/firmware download and update, there may be some objective reasons (such as terminal equipment shutdown or being in a signal blind area, etc.) and subjective reasons (such as user artificial delay and Refusal of software/firmware download and update operations, etc.), resulting in the failure of the software/firmware download and update process to proceed normally, in view of this situation, the DM server may continue to initiate a request for terminal software/firmware information to the terminal device at a later time , so that the terminal device can obtain updated software/firmware information, and perform corresponding software/firmware update and upgrade processing; it is also possible that the DM server will no longer track the terminal device that fails to download and update the software/firmware this time, that is, the terminal device is in Subsequent time will no longer be able to receive the software/firmware data packets required in the software/firmware download and update process; it can be seen that such a software/firmware download and update process will inevitably consume network system resources, especially wireless transmission resources, and increase The management of terminal devices by the DM server is unstable, and the request information sent by the DM server to the terminal device at any time will also bring inconvenience to the user, so this software/firmware download update method between the DM server and the terminal device Reduce the operator's service quality (QoS, Quality Of Service).
发明内容 Contents of the invention
本发明要解决的技术问题在于提出一种终端设备软件/固件下载更新方法,以减小对网络系统资源尤其是无线传输资源的损耗,并提高设备管理稳定性及运营商的服务质量。The technical problem to be solved by the present invention is to propose a method for downloading and updating terminal equipment software/firmware to reduce the loss of network system resources, especially wireless transmission resources, and improve equipment management stability and service quality of operators.
为解决上述问题,本发明提出的技术方案如下:In order to solve the above problems, the technical scheme proposed by the present invention is as follows:
一种终端设备软件/固件下载更新方法,包括步骤:A method for downloading and updating terminal equipment software/firmware, comprising steps:
获得用户预设的进行软件/固件下载更新处理的周期时间段;Obtain the cycle time period preset by the user for software/firmware download and update processing;
设备管理服务器判断自身被触发对终端设备进行软件/固件下载更新处理的时间点是否在所述预设周期时间段内,如果是,对终端设备进行软件/固件下载更新处理;否则将终端设备的软件/固件下载更新处理推迟到后续的周期时间段内进行。The device management server judges whether the time point when it is triggered to perform software/firmware download and update processing on the terminal device is within the preset period of time, and if so, performs software/firmware download and update processing on the terminal device; The software/firmware download update process is deferred to a subsequent cycle time slot.
较佳地,获得用户区分不同软件/固件类型,分别对应每类软件/固件类型预设的进行软件/固件下载更新处理的周期时间段;Preferably, it is obtained that the user distinguishes between different software/firmware types, and respectively corresponds to the preset period of time for software/firmware download and update processing for each type of software/firmware type;
设备管理服务器判断自身被触发对终端设备进行相应类型软件/固件下载更新处理的时间点是否在对应该类型软件/固件的预设周期时间段内,如果是,对终端设备进行对应类型软件/固件下载更新处理;否则将终端设备的对应类型软件/固件下载更新处理推迟到对应该类型软件/固件的后续周期时间段内进行。The device management server judges whether the time point when it is triggered to download and update the corresponding type of software/firmware to the terminal device is within the preset cycle time period corresponding to the type of software/firmware, and if so, performs the corresponding type of software/firmware update on the terminal device. Download and update processing; otherwise, the corresponding type of software/firmware download and update processing of the terminal device is postponed to a subsequent cycle time period corresponding to the type of software/firmware.
所述方法还包括将预设周期时间段存储在设备管理服务器侧的步骤;The method also includes the step of storing the preset period of time on the side of the device management server;
所述设备管理服务器根据自身存储的周期时间段判断被触发时间点是否在预设周期时间段内。The device management server judges whether the triggered time point is within a preset period of time according to the period of time stored by itself.
其中所述将预设周期时间段存储在设备管理服务器中的过程具体包括:The process of storing the preset period of time in the device management server specifically includes:
将用户预设的周期时间段信息存储到终端设备中;Store the information of the cycle time period preset by the user in the terminal device;
终端设备通过与设备管理服务器的交互将预设周期时间段信息上报给设备管理服务器;The terminal device reports the preset cycle time period information to the device management server through interaction with the device management server;
设备管理服务器存储终端设备发来的预设周期时间段信息。The device management server stores the preset cycle time period information sent by the terminal device.
其中所述获得用户预设的周期时间段,并存储在设备管理服务器中的过程具体包括:The process of obtaining the cycle time period preset by the user and storing it in the device management server specifically includes:
设备管理服务器侧的运营商获得用户通过与所述运营商进行交互预设的周期时间段信息;The operator on the device management server side obtains the cycle time period information preset by the user through interaction with the operator;
所述运营商将接收到的预设周期时间段信息存储在设备管理服务器中。The operator stores the received preset cycle time period information in the device management server.
所述方法还包括将预设周期时间段存储在终端设备侧的步骤;The method also includes the step of storing the preset period of time on the side of the terminal device;
所述设备管理服务器在被触发时间点请求终端设备上报存储的预设周期时间段信息;并The device management server requests the terminal device to report the stored preset period time period information at the triggered time point; and
根据终端设备上报的预设周期时间段信息判断被触发时间点是否在预设周期时间段内。It is judged whether the triggered time point is within the preset period time period according to the preset period time period information reported by the terminal device.
其中所述获得用户预设的周期时间段,并存储在终端设备中的过程具体包括:The process of obtaining the user-preset cycle time period and storing it in the terminal device specifically includes:
获得用户在终端设备交互界面的提示下设置的预设周期时间段信息;Obtain the preset cycle time period information set by the user under the prompt of the terminal device interaction interface;
所述终端设备将用户设置的预设周期时间段信息存储。The terminal device stores the preset cycle time period information set by the user.
其中所述预设周期时间段信息存储在终端设备的管理树数据存储结构中。Wherein the preset cycle time period information is stored in the management tree data storage structure of the terminal device.
其中由外部触发机制触发设备管理服务器对终端设备进行软件/固件下载更新处理;或由设备管理服务器中存储的内部触发机制触发设备管理服务器对终端设备进行软件/固件下载更新处理。An external trigger mechanism triggers the device management server to perform software/firmware download and update processing on the terminal device; or an internal trigger mechanism stored in the device management server triggers the device management server to perform software/firmware download and update processing on the terminal device.
所述将下载更新处理推迟到后续的周期时间段内进行的过程具体包括:The process of postponing the download and update processing to a subsequent period of time specifically includes:
设备管理服务器根据预设周期时间段信息监测下一周期时间段的到达;并在到达的下一周期时间段内对终端设备进行软件/固件下载更新处理。The device management server monitors the arrival of the next periodic time period according to the preset periodic time period information; and performs software/firmware download and update processing on the terminal device within the next arrived periodic time period.
所述对终端设备进行软件/固件下载更新处理的过程具体包括:The process of performing software/firmware download and update processing on the terminal device specifically includes:
设备管理服务器向终端设备发送用于获取终端软件/固件信息的请求信息;The device management server sends request information for obtaining terminal software/firmware information to the terminal device;
终端设备响应该请求信息,反馈自身的软件/固件信息给设备管理服务器;The terminal device responds to the request information, and feeds back its own software/firmware information to the device management server;
设备管理服务器根据终端设备反馈的软件/固件信息,下载相应软件/固件数据包到终端设备;The device management server downloads the corresponding software/firmware data package to the terminal device according to the software/firmware information fed back by the terminal device;
终端设备根据设备管理服务器下载的软件/固件数据包,安装新的软件/固件或对已有的软件/固件进行升级更新处理;并The terminal device installs new software/firmware or upgrades existing software/firmware according to the software/firmware data package downloaded by the device management server; and
反馈对应的下载更新状态信息给设备管理服务器。Feedback the corresponding download update status information to the device management server.
相应的,本发明还提出了一种终端设备软件/固件下载更新方法,包括步骤:Correspondingly, the present invention also proposes a method for downloading and updating terminal equipment software/firmware, comprising steps:
获得用户设置的至少一个发起时间信息;Obtain at least one initiation time information set by the user;
设备管理服务器根据各个发起时间信息,分别对应每个发起时间信息设置不同的软件/固件下载更新任务;并The device management server sets different software/firmware download and update tasks corresponding to each initiation time information according to each initiation time information; and
将设置的各个任务下发给终端设备;Send the set tasks to the terminal device;
终端设备监测各个发起时间信息;并The terminal device monitors each initiation time information; and
在到达每一发起时间时,向设备管理服务器发起对应该发起时间的软件/固件下载更新任务的请求;When each initiation time is reached, initiate a request to the device management server for the software/firmware download update task corresponding to the initiation time;
设备管理服务器响应终端设备发起的请求,对终端设备进行对应的软件/固件下载更新处理。The device management server responds to the request initiated by the terminal device, and performs corresponding software/firmware download and update processing on the terminal device.
所述方法还包括将设置的各个发起时间信息分别存储在终端设备中的步骤。The method further includes the step of storing each set initiation time information in the terminal device respectively.
其中所述获得用户设置的各个发起时间信息,并存储在终端设备中的过程具体包括:The process of obtaining each initiation time information set by the user and storing it in the terminal device specifically includes:
获得用户在终端设备交互界面的提示下设置的发起时间信息;Obtain the initiation time information set by the user under the prompt of the terminal device interaction interface;
所述终端设备将用户设置的发起时间信息存储。The terminal device stores the initiation time information set by the user.
其中设备管理服务器根据各个发起时间信息,分别设置不同下载更新任务之前还包括步骤:终端设备通过与设备管理服务器的交互将存储的各个发起时间信息上报给设备管理服务器。Before the device management server sets different download and update tasks respectively according to each initiation time information, a step is further included: the terminal device reports each stored initiation time information to the device management server through interaction with the device management server.
其中所述将设置的各个发起时间信息分别存储在终端设备的管理树数据存储结构中。Wherein, the set initiation time information is respectively stored in the management tree data storage structure of the terminal device.
其中设备管理服务器根据各个发起时间信息,分别设置不同下载更新任务之前包括步骤:Among them, the device management server includes steps before setting different download and update tasks according to each initiation time information:
设备管理服务器侧的运营商获得用户通过与所述运营商进行交互设置的各个发起时间信息;The operator on the device management server side obtains each initiation time information set by the user through interaction with the operator;
所述运营商将接收到的各个发起时间信息指示给设备管理服务器。The operator indicates the received initiation time information to the device management server.
所述方法还包括步骤:The method also includes the steps of:
对已设置的发起时间信息进行修改;并modify the set launch time information; and
将修改后的发起时间信息上报给设备管理服务器。Report the modified initiation time information to the device management server.
所述方法还包括步骤:The method also includes the steps of:
用户控制终端设备提前触发未到达的发起时间,向设备管理服务器发起对应该发起时间的软件/固件下载更新任务的请求;The user controls the terminal device to trigger the unreached start time in advance, and initiates a request to the device management server for the software/firmware download and update task at the start time;
设备管理服务器响应终端设备发起的请求,对终端设备进行对应的软件/固件下载更新处理。The device management server responds to the request initiated by the terminal device, and performs corresponding software/firmware download and update processing on the terminal device.
本发明能够达到的有益效果如下:The beneficial effect that the present invention can reach is as follows:
本发明提出的第一种方案通过获得用户预设的进行软件/固件下载更新处理的周期时间段,以使DM服务器在每次被触发对终端设备进行软件/固件下载更新处理时,能够判断当前时间点是否在预设周期时间段内,如果在就对终端设备进行软件/固件下载更新处理;若不在则将终端设备的软件/固件下载更新处理推迟到后续的周期时间段内进行。因此这样就会减小在终端设备处于一些客观原因(如终端设备关机或处于信号盲区等)和主观原因(如用户人为推迟和拒绝软件/固件下载更新操作等)情况下为达到软件/固件下载更新成功而需要DM服务器和终端设备之间进行交互的次数,由此减小了对网络资源尤其是无线传输资源的损耗,并增强了软件/固件下载更新的成功率,提高了设备管理的稳定性和运营商的服务质量。The first solution proposed by the present invention obtains the cycle time period preset by the user for software/firmware download and update processing, so that the DM server can judge the current Whether the time point is within the preset cycle time period, if it is, the software/firmware download and update process is performed on the terminal device; if not, the software/firmware download update process of the terminal device is postponed to a subsequent cycle time period. Therefore, this will reduce the need to achieve software/firmware downloading when the terminal device is in some objective reasons (such as the terminal device is turned off or in a signal blind area, etc.) Successful update requires the number of interactions between the DM server and the terminal device, thereby reducing the loss of network resources, especially wireless transmission resources, and enhancing the success rate of software/firmware download and update, improving the stability of device management and operator quality of service.
相应的,本发明提出的第二种方案通过获得用户设置的发起时间信息,DM服务器为每个发起时间信息设置软件/固件下载更新任务并下发给终端设备;终端设备监测发起时间信息,在到达每一发起时间时,向DM服务器发起对应的软件/固件下载更新任务的请求,DM服务器响应该请求,对终端设备进行对应的软件/固件下载更新处理。从而也能能够达到减小在终端设备处于一些客观原因(如终端设备关机或处于信号盲区等)和主观原因(如用户人为推迟和拒绝软件/固件下载更新操作等)情况下为达到软件/固件下载更新成功而需要DM服务器和终端设备之间进行交互的次数,减小对网络资源尤其是无线传输资源损耗的目的,满足了用户对软件/固件下载更新方式进行灵活设置的要求,增强了软件/固件下载更新的成功率,提高了设备管理的稳定性和运营商的服务质量。Correspondingly, in the second solution proposed by the present invention, by obtaining the initiation time information set by the user, the DM server sets a software/firmware download update task for each initiation time information and sends it to the terminal device; the terminal device monitors the initiation time information, and When each initiation time is reached, a request for a corresponding software/firmware download and update task is initiated to the DM server, and the DM server responds to the request and performs corresponding software/firmware download and update processing on the terminal device. In this way, it is also possible to reduce the failure to achieve software/firmware when the terminal device is in some objective reasons (such as the terminal device is turned off or in a signal blind area, etc.) The number of times of interaction between the DM server and the terminal device is required for the success of the download update, and the purpose of reducing the loss of network resources, especially wireless transmission resources, meets the user's requirements for flexible setting of software/firmware download and update methods, and enhances the software /The success rate of firmware download and update improves the stability of device management and the service quality of operators.
附图说明 Description of drawings
图1为现有终端设备软件/固件下载更新的处理过程示意图;Fig. 1 is a schematic diagram of the processing process of downloading and updating the existing terminal equipment software/firmware;
图2为本发明终端设备软件/固件下载更新方法的主要实现原理流程图;Fig. 2 is the main realization principle flow chart of terminal equipment software/firmware download update method of the present invention;
图3为本发明中将预设周期时间段信息存储到DM服务器的第一实施方式处理过程示意图;Fig. 3 is a schematic diagram of the processing procedure of the first embodiment of storing the preset cycle time period information to the DM server in the present invention;
图4为本发明中将预设周期时间段信息存储到DM服务器的第二实施方式处理过程示意图;Fig. 4 is a schematic diagram of the processing procedure of the second embodiment of storing the preset cycle time period information to the DM server in the present invention;
图5为本发明中周期时间段信息存储在DM服务器侧的软件/固件下载更新处理过程示意图;Fig. 5 is a schematic diagram of the software/firmware download and update process in which the periodic time period information is stored on the DM server side in the present invention;
图6为本发明中将预设周期时间段信息存储在终端设备侧的处理过程示意图;FIG. 6 is a schematic diagram of the processing process of storing the preset cycle time period information on the terminal device side in the present invention;
图7为DM服务器通过终端设备中的DM管理树对终端设备进行管理的结构示意图;FIG. 7 is a schematic structural diagram of a DM server managing a terminal device through a DM management tree in the terminal device;
图8为终端设备中DM管理树的树状结构示意图;FIG. 8 is a schematic diagram of a tree structure of a DM management tree in a terminal device;
图9为本发明中周期时间段信息存储在终端设备侧未能正常进行软件/固件下载更新处理的处理过程示意图;Fig. 9 is a schematic diagram of the processing process in which the periodic time period information is stored on the terminal device side and fails to normally perform software/firmware download and update processing in the present invention;
图10为本发明中周期时间段信息存储在终端设备侧正常进行软件/固件下载更新处理的处理过程示意图;FIG. 10 is a schematic diagram of the processing process in which the periodic time period information is stored on the terminal device side to normally perform software/firmware download and update processing in the present invention;
图11为本发明采用DM管理树数据存储结构来设计用于进行软件/固件下载更新处理的周期时间段信息的树状结构示意图;Fig. 11 is a schematic tree structure diagram of the cycle time segment information designed for software/firmware download and update processing by adopting the DM management tree data storage structure in the present invention;
图12为本发明另一终端设备软件/固件下载更新方法的具体实现原理流程图;Fig. 12 is a flow chart of the specific implementation principle of another method for downloading and updating terminal device software/firmware according to the present invention;
图13为本发明中用户将设置的发起时间信息通过终端设备上报给DM服务器的处理过程示意图;FIG. 13 is a schematic diagram of the processing process in which the user reports the set initiation time information to the DM server through the terminal device in the present invention;
图14为本发明中用户将设置的发起时间信息通过外部方式上报给DM服务器的处理过程示意图;FIG. 14 is a schematic diagram of the processing process in which the user reports the set initiation time information to the DM server in an external manner in the present invention;
图15为本发明根据设置的各个发起时间信息进行软件/固件下载更新处理的处理过程示意图。FIG. 15 is a schematic diagram of the processing process of software/firmware download and update processing according to the set initiation time information according to the present invention.
具体实施方式 Detailed ways
本发明的主要设计思想是为OMADM规范中的软件/固件下载更新流程在处理时间上提供一种控制机制,该控制机制允许用户对终端设备上的软件/固件下载更新时机定制时间策略。以提高软件/固件下载更新的成功率,减少对网络资源尤其是无线传输资源的耗损,避免随时出现的软件/固件下载更新操作给用户带来不便,并提高设备管理的稳定性和运营商的服务质量。The main design idea of the present invention is to provide a control mechanism for the processing time of the software/firmware download and update process in the OMADM specification. The control mechanism allows users to customize the time strategy for the software/firmware download and update timing on the terminal device. In order to improve the success rate of software/firmware download and update, reduce the consumption of network resources, especially wireless transmission resources, avoid inconvenience to users caused by software/firmware download and update operations at any time, and improve the stability of device management and the operator's service quality.
下面将结合各个附图对本发明的具体实施方式进行详细阐述,请参照图2,该图是本发明终端设备软件/固件下载更新方法的主要实现原理流程图,其主要实现过程如下:The specific embodiment of the present invention will be described in detail below in conjunction with each accompanying drawing. Please refer to FIG. 2, which is a flow chart of the main realization principle of the terminal device software/firmware download update method of the present invention, and its main realization process is as follows:
步骤S10,获得用户预设的用于进行软件/固件下载更新处理的周期时间段;该预先设置的周期时间段主要用于对软件/固件下载更新处理过程提供一个时间段的控制,其中该周期时间段可以设置周期为每天,每周或每月。如果周期是每天,只需定义一个具体时间段即可;如果周期是每周,则需要定义是星期几,以及那一天的具体时间段;同理,如果周期是每月,也需要定义每月的具体某一天及其具体时间段。Step S10, obtaining the cycle time period preset by the user for software/firmware download and update processing; the preset cycle time period is mainly used to provide a time period control for the software/firmware download update process, wherein the cycle The time period can be set as daily, weekly or monthly. If the cycle is daily, you only need to define a specific time period; if the cycle is weekly, you need to define the day of the week and the specific time period of that day; similarly, if the cycle is monthly, you also need to define each month A specific day and a specific time period.
步骤S20,DM服务器被触发对终端设备进行软件/固件下载更新处理,其中DM服务器可以由外部触发机制(如运营商触发、终端厂商触发或终端用户触发等)触发对终端设备进行软件/固件下载更新处理;也可以通过在DM服务器中存储一个触发机制,由DM服务器内部存储的触发机制触发对终端设备进行软件/固件下载更新处理。Step S20, the DM server is triggered to perform software/firmware download and update processing on the terminal device, wherein the DM server can be triggered by an external trigger mechanism (such as operator trigger, terminal manufacturer trigger or end user trigger, etc.) to trigger software/firmware download to the terminal device Update processing; it is also possible to store a trigger mechanism in the DM server, and the trigger mechanism stored inside the DM server triggers the software/firmware download update process for the terminal device.
步骤S30,DM服务器判断被触发时间点是否在上述预设的周期时间段内,如果是,执行步骤S40;否则执行步骤S50;Step S30, the DM server judges whether the triggered time point is within the above preset period of time, if yes, execute step S40; otherwise, execute step S50;
步骤S40,DM服务器对终端设备进行软件/固件下载更新处理;Step S40, the DM server performs software/firmware download and update processing on the terminal device;
步骤S50,DM服务器将终端设备的软件/固件下载更新处理流程推迟到后续的周期时间段内进行。该过程实现可以通过由DM服务器根据上述预设的周期时间段信息,来监测下一周期时间段的到达;以及在到达的下一周期时间段内再对终端设备进行软件/固件下载更新处理。In step S50, the DM server postpones the software/firmware download and update process of the terminal device to a subsequent period of time. This process realizes that the DM server can monitor the arrival of the next cycle time segment according to the preset cycle time segment information; and perform software/firmware download and update processing on the terminal device within the next cycle time segment that arrives.
其中上述提及的对终端设备进行软件/固件下载更新处理的过程主要如下:The process of downloading and updating the software/firmware of the terminal device mentioned above is mainly as follows:
DM服务器向终端设备发送用于获取终端软件/固件信息的请求信息;The DM server sends request information for obtaining terminal software/firmware information to the terminal device;
终端设备响应该请求信息,反馈自身的软件/固件信息给DM服务器;The terminal device responds to the request information, and feeds back its own software/firmware information to the DM server;
DM服务器根据终端设备反馈的软件/固件信息,下载相应软件/固件数据包到终端设备;The DM server downloads the corresponding software/firmware data package to the terminal device according to the software/firmware information fed back by the terminal device;
终端设备根据DM服务器下载的软件/固件数据包,安装新的软件/固件或对已有的软件/固件进行升级更新处理;并The terminal device installs new software/firmware or upgrades existing software/firmware according to the software/firmware data package downloaded by the DM server; and
反馈对应的下载更新状态信息(如下载更新成功、失败或出现异常等情况)给DM服务器(更详细的处理过程描述请参照现有技术部分)。The corresponding download update status information (such as download update success, failure, or abnormality) is fed back to the DM server (for a more detailed description of the processing process, please refer to the prior art section).
当然,进而还可以获得用户区分不同软件/固件类型,分别对应每类软件/固件类型预设的进行软件/固件下载更新处理的周期时间段;这样DM服务器在每次被触发对终端设备进行相应类型的软件/固件下载更新处理时,判断当前被触发时间点是否在对应该类型软件/固件的预设周期时间段内,如果是,对终端设备进行对应类型软件/固件下载更新处理;否则将终端设备的对应类型软件/固件下载更新处理推迟到对应该类型软件/固件的后续周期时间段内进行。Of course, it is also possible to obtain the user's distinction between different software/firmware types, and the preset cycle time periods for software/firmware download and update processing corresponding to each type of software/firmware type; When downloading and updating a type of software/firmware, it is judged whether the current triggered time point is within the preset cycle time period corresponding to the type of software/firmware, and if so, the corresponding type of software/firmware is downloaded and updated for the terminal device; otherwise, the The download and update process of the corresponding type of software/firmware of the terminal device is postponed to a subsequent cycle time period corresponding to the type of software/firmware.
其中预设的周期时间段信息可以存储在DM服务器侧,也可以存储在终端设备侧,下面分别进行说明。The preset cycle time period information may be stored on the DM server side or on the terminal device side, which will be described respectively below.
如果预设的周期时间段信息存储在DM服务器侧,那么DM服务器直接根据自身存储的周期时间段信息来判断被触发时间点是否在预设周期时间段内即可。If the preset cycle time period information is stored on the DM server side, then the DM server can directly judge whether the triggered time point is within the preset cycle time period according to the cycle time period information stored by itself.
其中用户将预设的周期时间段信息存储到DM服务器中的方式主要有两种,请参照图3,该图是本发明中将预设周期时间段信息存储到DM服务器的第一实施方式处理过程示意图,其主要实现过程如下:There are mainly two ways for the user to store the preset cycle time period information in the DM server, please refer to Figure 3, which is the first embodiment of the present invention to store the preset cycle time period information into the DM server Schematic diagram of the process, the main implementation process is as follows:
1、用户通过操作终端设备,发起设置周期时间段的操作;1. The user initiates the operation of setting the cycle time period by operating the terminal device;
2、终端设备为用户提供设置操作的交互界面;2. The terminal device provides users with an interactive interface for setting operations;
3、用户在终端设备上交互界面的提示下设置用于进行软件/固件下载更新处理的周期时间段信息;3. The user sets the cycle time period information for software/firmware download and update processing under the prompt of the interactive interface on the terminal device;
4、终端设备将用户设置的周期时间段信息上报给DM服务器;4. The terminal device reports the cycle time period information set by the user to the DM server;
5、DM服务器将终端设备上报过来的周期时间段信息进行存储;5. The DM server stores the periodic time period information reported by the terminal device;
6、DM服务器向终端设备反馈周期时间段的设置状态信息,如设置成功、失败等。6. The DM server feeds back the setting status information of the cycle time period to the terminal device, such as setting success or failure.
请参照图4,该图是本发明中将预设周期时间段信息存储到DM服务器的第二实施方式处理过程示意图,其主要实现过程如下:Please refer to FIG. 4, which is a schematic diagram of the second embodiment of the processing process of storing the preset cycle time period information to the DM server in the present invention, and its main implementation process is as follows:
11、用户通过Internet、电话注册或运营商营业厅等方式向运营商侧发起设置周期时间段的操作;11. The user initiates the operation of setting the cycle time period to the operator side through the Internet, telephone registration, or the operator's business hall;
12、运营商将用户设置的用于进行软件/固件下载更新处理的周期时间段信息存储在DM服务器中;12. The operator stores the cycle time period information set by the user for software/firmware download and update processing in the DM server;
13、DM服务器向终端设备同步设置的周期时间段信息;13. The DM server synchronizes the set cycle time period information to the terminal device;
14、终端设备将周期时间段信息的设置状态通知给用户,如通知用户周期时间段信息设置成功、失败等。14. The terminal device notifies the user of the setting status of the cycle time segment information, such as notifying the user of the success or failure of the cycle time segment information setting.
基于上述将预设周期时间段信息存储在DM服务器中的方案,如果DM服务器每次被触发对终端设备进行软件/固件下载更新处理时,DM服务器都会判断当前触发时间点是否在预设时间段内,如果在才进行软件/固件下载更新处理;如果不在则DM服务器会根据预设时间段信息,在下一周期时间段内确定一个具体的下载更新时机再进行软件/固件下载更新处理。Based on the above scheme of storing the information of the preset cycle time period in the DM server, if the DM server is triggered to perform software/firmware download and update processing on the terminal device each time, the DM server will judge whether the current trigger time point is within the preset time period If not, the DM server will determine a specific download and update opportunity in the next period of time according to the preset time period information and then perform software/firmware download and update processing.
请参照图5,该图是本发明中周期时间段信息存储在DM服务器侧的软件/固件下载更新处理过程示意图;其处理过程如下:Please refer to Fig. 5, this figure is a schematic diagram of the software/firmware download and update process in which the cycle time period information is stored in the DM server side in the present invention; its process is as follows:
21、DM服务器被触发对终端设备进行软件/固件下载更新处理;21. The DM server is triggered to download and update the software/firmware of the terminal device;
22、DM服务器判断当前触发时间点是否在预设周期时间段内;(下述只论述当前触发时间点在周期时间段内的情况)22. The DM server judges whether the current trigger time point is within the preset cycle time period; (the following only discusses the current trigger time point within the cycle time period)
23、DM服务器对终端设备进行软件/固件下载更新处理(具体下载更新处理过程请参照现有技术部分);23. The DM server performs software/firmware download and update processing on the terminal device (please refer to the prior art section for the specific download and update processing process);
24、终端设备上报相应的下载更新状态信息给DM服务器,如上报下载更新成功、失败或出现异常等信息。24. The terminal device reports corresponding download and update status information to the DM server, such as reporting success, failure, or abnormality of the download and update.
将预设周期时间段信息存储在DM服务器侧,带来的明显好处就是减少了软件/固件下载更新过程中DM服务器和终端设备之间的交互次数,避免了一些无效的软件/固件下发操作,因此减少了对网络资源尤其是无线传输资源的消耗。带来的缺点就是占用了DM服务器的相关资源,用户在设定周期时间段参数的过程中需要和DM服务器进行交互,或者需要通过外部方式通知DM服务器设定的周期时间段参数。The obvious benefit of storing the preset cycle time period information on the DM server side is that it reduces the number of interactions between the DM server and the terminal device during the software/firmware download and update process, and avoids some invalid software/firmware delivery operations , thus reducing the consumption of network resources, especially wireless transmission resources. The disadvantage is that it occupies the relevant resources of the DM server, and the user needs to interact with the DM server in the process of setting the cycle time parameters, or needs to notify the DM server of the set cycle time parameters through an external method.
如果预设的周期时间段信息存储在终端设备侧,那么DM服务器在每次被触发对终端设备进行软件/固件下载更新处理时,都要要求终端设备上报存储的预设周期时间段信息;并根据终端设备上报的预设周期时间段信息来判断当前被触发时间点是否在预设周期时间段内。If the preset cycle time period information is stored on the terminal device side, the DM server will require the terminal device to report the stored preset cycle time period information every time it is triggered to download and update the software/firmware on the terminal device; and Whether the current triggered time point is within the preset period of time is judged according to the information of the preset period of time reported by the terminal device.
请参照图6,该图是本发明中将预设周期时间段信息存储在终端设备侧的处理过程示意图,其主要处理过程如下:Please refer to Figure 6, which is a schematic diagram of the processing process of storing the preset cycle time period information on the terminal device side in the present invention, and its main processing process is as follows:
31、用户通过操作终端设备,发起设置周期时间段的操作;31. The user initiates the operation of setting the cycle time period by operating the terminal device;
32、终端设备为用户提供设置操作的交互界面;32. The terminal device provides users with an interactive interface for setting operations;
33、用户在终端设备上交互界面的提示下设置用于进行软件/固件下载更新处理的周期时间段信息;33. The user sets the cycle time period information for software/firmware download and update processing under the prompt of the interactive interface on the terminal device;
34、终端设备将用户设置的周期时间段信息进行存储;34. The terminal device stores the cycle time period information set by the user;
35、终端设备向用户反馈周期时间段的设置状态信息,比如设置成功、失败等信息。35. The terminal device feeds back the setting status information of the cycle time period to the user, such as information such as setting success or failure.
其中将预设周期时间段信息存储在终端设备中可以通过将预设周期时间段信息存储在终端设备的管理树数据存储结构中实现。请参照图7,该图是DM服务器通过终端设备中的DM管理树对终端设备进行管理的结构示意图;从图中可以看出,DM管理树可以被认为是一个DM服务器通过DM协议对终端设备进行管理的接口。其中DM服务器可以通过对管理树上各个节点的操作达到管理控制终端设备资源的目的。The storage of the preset cycle time period information in the terminal device may be realized by storing the preset cycle time period information in the management tree data storage structure of the terminal device. Please refer to Figure 7, which is a schematic structural diagram of the DM server managing the terminal device through the DM management tree in the terminal device; it can be seen from the figure that the DM management tree can be considered as a DM server managing the terminal device through the DM protocol. Interface for management. The DM server can achieve the purpose of managing and controlling terminal device resources by operating each node on the management tree.
请参照图8,该图是终端设备中DM管理树的树状结构示意图,如图所示,如果DM服务器需要取得终端设备“Screen Saver”节点下的数据,可以通过OMA DM协议下发Get管理操作命令,如下:Please refer to Figure 8, which is a schematic diagram of the tree structure of the DM management tree in the terminal device. As shown in the figure, if the DM server needs to obtain the data under the "Screen Saver" node of the terminal device, it can issue the Get management through the OMA DM protocol The operation command is as follows:
<Get><Get>
<CmdID>4</CmdID><CmdID>4</CmdID>
<Item><Item>
<Target><Target>
<LocURI>./Vendor/Screen saver</LocURI><LocURI>./Vendor/Screen saver</LocURI>
</Target></Target>
</Item></Item>
</Get></Get>
终端设备响应Get管理操作命令,通过OMA DM协议回复Result命令来实现上报操作结果:The terminal device responds to the Get management operation command and responds to the Result command through the OMA DM protocol to report the operation result:
<Results><Results>
<MsgRef>1</MsgRef><CmdRef>4</CmdRef><MsgRef>1</MsgRef><CmdRef>4</CmdRef>
<CmdID>3</CmdID><CmdID>3</CmdID>
<Item><Item>
<Source><Source>
<LocURI>./Vendor/Screen saver</LocURI><LocURI>./Vendor/Screen saver</LocURI>
</Source></Source>
<Data>相关节点的数据内容</Data><Data>Data content of related nodes</Data>
</Item></Item>
</Results></Results>
由此可见,所有DM管理树上的节点都可以通过OMA DM协议来进行操作控制。It can be seen that all nodes on the DM management tree can be operated and controlled through the OMA DM protocol.
请参照图9,该图是本发明中周期时间段信息存储在终端设备侧未能正常进行软件/固件下载更新处理的处理过程示意图,其处理过程如下:Please refer to FIG. 9, which is a schematic diagram of the processing process in which the periodic time period information is stored on the terminal device side in the present invention and fails to perform software/firmware download and update processing normally. The processing process is as follows:
41、DM服务器被触发对终端设备进行软件/固件下载更新处理;41. The DM server is triggered to download and update the software/firmware of the terminal device;
42、DM服务器请求终端设备上报存储的预设周期时间段信息;42. The DM server requests the terminal device to report the stored preset cycle time period information;
43、终端设备响应接收请求,上报存储的预设周期时间段信息;43. The terminal device responds to the receiving request and reports the stored preset cycle time period information;
44、DM服务器根据终端设备上报的周期时间段信息,判断当前触发时间点是否在预设周期时间段内(下述过程只论述当前触发时间点不在周期时间段内的情况);44. The DM server judges whether the current trigger time point is within the preset cycle time period according to the cycle time period information reported by the terminal device (the following process only discusses the situation that the current trigger time point is not within the cycle time period);
45、DM服务器终止与终端设备之间的会话连接,即本次软件/固件下载更新处理过程结果,需要将对终端设备进行软件/固件更新处理的操作推迟到下一周期时间段内进行。45. The DM server terminates the session connection with the terminal device, that is, as a result of this software/firmware download and update process, the operation of software/firmware update processing on the terminal device needs to be postponed to the next period of time.
请参照图10,该图是本发明中周期时间段信息存储在终端设备侧正常进行软件/固件下载更新处理的处理过程示意图,其处理过程如下:Please refer to FIG. 10 , which is a schematic diagram of the processing process in which the periodic time period information is stored on the terminal device side in the present invention to normally perform software/firmware download and update processing. The processing process is as follows:
51、DM服务器被触发对终端设备进行软件/固件下载更新处理;51. The DM server is triggered to download and update the software/firmware of the terminal device;
52、DM服务器请求终端设备上报存储的预设周期时间段信息;52. The DM server requests the terminal device to report the stored preset cycle time period information;
53、终端设备响应接收请求,上报存储的预设周期时间段信息;53. The terminal device responds to the receiving request and reports the stored preset cycle time period information;
54、DM服务器根据终端设备上报的周期时间段信息,判断当前触发时间点是否在预设周期时间段内(下述过程只论述当前触发时间点在周期时间段内的情况);54. The DM server judges whether the current trigger time point is within the preset cycle time period according to the cycle time period information reported by the terminal device (the following process only discusses the situation that the current trigger time point is within the cycle time period);
55、DM服务器对终端设备进行软件/固件下载更新处理(具体下载更新处理过程请参照现有技术部分);55. The DM server performs software/firmware download and update processing on the terminal device (please refer to the prior art section for the specific download and update processing process);
56、终端设备上报相应的下载更新状态信息给DM服务器,如上报下载更新成功、失败或出现异常等信息。56. The terminal device reports corresponding download and update status information to the DM server, such as reporting success, failure, or abnormality of the download and update.
将预设周期时间段信息存储在终端设备中具有方便快捷的特点,在设置用于进行软件/固件下载更新处理的周期时间段参数过程中无需终端设备和DM服务器进行交互,缺点是DM服务器每次被触发进行下载更新操作都必须从终端设备中获取存储的周期时间段信息,因此增加了实际操作过程的交互步骤,导致了一定的网络资源浪费。It is convenient and quick to store the preset cycle time period information in the terminal device. In the process of setting the cycle time period parameters for software/firmware download and update processing, there is no need for interaction between the terminal device and the DM server. The disadvantage is that the DM server Every time a download update operation is triggered, the stored cycle time period information must be obtained from the terminal device, thus increasing the interaction steps in the actual operation process, resulting in a certain waste of network resources.
其中上述已描述,OMA DM规范中采用了管理树方式来对整个终端信息进行描述,为了方便DM服务器对终端设备的管理,终端设备中的管理树上的每个节点分别为终端资源提供了一个统一资源标识(URI,Uniform ResourceIdentify)。在终端设备软件/固件下载更新流程中,预设周期时间段作为一个重要信息,因此可以考虑将周期时间段信息存放在终端设备的DM管理树中。As described above, the OMA DM specification uses the management tree method to describe the entire terminal information. In order to facilitate the management of the terminal device by the DM server, each node on the management tree in the terminal device provides a terminal resource respectively. Uniform Resource Identification (URI, Uniform ResourceIdentify). In the software/firmware download and update process of the terminal device, the preset period of time is important information, so it can be considered to store the information of the period of time in the DM management tree of the terminal device.
请参照图11,该图是本发明采用DM管理树数据存储结构来设计用于进行软件/固件下载更新处理的周期时间段信息的树状结构示意图;其中该树状结构中各个节点上所携带的信息的具体解释如下:Please refer to Fig. 11, which is a tree structure schematic diagram of the cycle time period information designed for software/firmware download and update processing by using the DM management tree data storage structure of the present invention; wherein each node in the tree structure carries The specific explanation of the information is as follows:
<内部节点><internal node>
该内部节点是周期时间段设置管理树对象的根节点,包含了所有的周期时间段设置,它决定了其子节点的相对位置;The internal node is the root node of the period time period setting management tree object, which contains all the period time period settings, and it determines the relative position of its child nodes;
<Timer><Timer>
该节点是周期时间段设置的父节点;This node is the parent node of the cycle time period setting;
<Timer>/<Deployed><Timer>/<Deployed>
该节点是已经部署周期时间段信息的父节点;This node is the parent node that has deployed cycle time period information;
<Timer>/<Deployed>/<X><Timer>/<Deployed>/<X>
该节点是占位符,也是设置周期时间段信息的父节点;This node is a placeholder and is also the parent node for setting the period information;
<Timer>/<Deployed>/<X>/<TimerId><Timer>/<Deployed>/<X>/<TimerId>
该节点描述了每个周期时间段信息的具体标识;This node describes the specific identification of the time period information of each cycle;
<Timer>/<Deployed>/<X>/<Name><Timer>/<Deployed>/<X>/<Name>
该节点描述了每个周期时间段信息的名称;This node describes the name of each cycle time segment information;
<Timer>/<Deployed>/<X>/<Description><Timer>/<Deployed>/<X>/<Description>
该节点描述了每个周期时间段信息的详细描述;This node describes the detailed description of the time period information of each cycle;
<Timer>/<Deployed>/<X>/<Time><Timer>/<Deployed>/<X>/<Time>
该节点是设置周期时间段信息的父节点;This node is the parent node for setting cycle time period information;
<Timer>/<Deployed>/<X>/<Time>/<Start><Timer>/<Deployed>/<X>/<Time>/<Start>
该节点描述了周期时间段的起始时间(具体时间);This node describes the start time (specific time) of the cycle time period;
<Timer>/<Deployed>/<X>/<Time>/<End><Timer>/<Deployed>/<X>/<Time>/<End>
该节点描述了周期时间段的终止时间(具体时间);This node describes the termination time (specific time) of the cycle time period;
<Timer>/<Deployed>/<X>/<Time>/<Repeation><Timer>/<Deployed>/<X>/<Time>/<Repeation>
该节点描述了周期时间段的周期,可以定义具体的时间周期长度(以秒为单位),以天为单位,以周为单位,以月为单位等;This node describes the cycle of the cycle time period, and can define the specific time cycle length (in seconds), in days, in weeks, in months, etc.;
<Timer>/<Deployed>/<X>/<Time>/<Duration><Timer>/<Deployed>/<X>/<Time>/<Duration>
该节点描述了周期时间段的持续时间(以秒为单位);This node describes the duration of the periodic time period in seconds;
<Timer>/<Deployed>/<X>/<Time>/<Type><Timer>/<Deployed>/<X>/<Time>/<Type>
该节点描述了周期时间段的类型,分为One-Time(OT)一次和Multiple-Time(MT)多次类型;This node describes the type of periodic time period, which is divided into One-Time (OT) once and Multiple-Time (MT) multiple times;
<Timer>/<Deployed>/<X>/<Action><Timer>/<Deployed>/<X>/<Action>
该节点描述了在规定的周期时间段内可以由终端设备执行的操作;This node describes the operations that can be performed by the terminal device within the specified cycle time period;
<Timer>/<Deployed>/<X>/<SoftId><Timer>/<Deployed>/<X>/<SoftId>
该节点描述了在规定的周期时间段内允许下载更新的软件/固件标识;This node describes the software/firmware identities that are allowed to download updates during the specified period of time;
<Timer>/<Deployed>/<X>/<ServerId><Timer>/<Deployed>/<X>/<ServerId>
该节点描述了对应的DM服务器标识;This node describes the corresponding DM server ID;
<Timer>/<Deployed>/<X>/<Ext><Timer>/<Deployed>/<X>/<Ext>
该节点描述了周期时间段的扩展节点;This node describes the extension node of the cycle time segment;
<Timer>/<Delivered><Timer>/<Delivered>
该节点描述了未被设置周期时间段信息的父节点。This node describes the parent node for which period time period information is not set.
后续在<Delivered>下所有节点:Subsequent all nodes under <Delivered>:
<Timer>/<Delivered>/<X><Timer>/<Delivered>/<X>
<Timer>/<Delivered>/<X>/<TimerId><Timer>/<Delivered>/<X>/<TimerId>
<Timer>/<Delivered>/<X>/<Name><Timer>/<Delivered>/<X>/<Name>
<Timer>/<Delivered>/<X>/<Description><Timer>/<Delivered>/<X>/<Description>
<Timer>/<Delivered>/<X>/<Time><Timer>/<Delivered>/<X>/<Time>
<Timer>/<Delivered>/<X>/<Time>/<Start><Timer>/<Delivered>/<X>/<Time>/<Start>
<Timer>/<Delivered>/<X>/<Time>/<End><Timer>/<Delivered>/<X>/<Time>/<End>
<Timer>/<Delivered>/<X>/<Time>/<Repeation><Timer>/<Delivered>/<X>/<Time>/<Repeation>
<Timer>/<Delivered>/<X>/<Time>/<Duration><Timer>/<Delivered>/<X>/<Time>/<Duration>
<Timer>/<Delivered>/<X>/<Time>/<Type><Timer>/<Delivered>/<X>/<Time>/<Type>
<Timer>/<Delivered>/<X>/<Action><Timer>/<Delivered>/<X>/<Action>
<Timer>/<Delivered>/<X>/<SoftId><Timer>/<Delivered>/<X>/<SoftId>
<Timer>/<Delivered>/<X>/<ServerId><Timer>/<Delivered>/<X>/<ServerId>
<Timer>/<Delivered>/<X>/<Ext><Timer>/<Delivered>/<X>/<Ext>
其代表的信息描述和<Deployed>节点下的各个节点的描述是一致的。The information description it represents is consistent with the description of each node under the <Deployed> node.
相应的,本发明还提出了一种方便用户灵活设置软件/固件下载更新处理方式的方案,请参照图12,该图是本发明另一终端设备软件/固件下载更新方法的具体实现原理流程图;其主要实现过程如下:Correspondingly, the present invention also proposes a solution for users to flexibly set software/firmware download and update processing methods, please refer to FIG. 12 , which is a flow chart of the specific implementation principle of another terminal device software/firmware download and update method of the present invention ; Its main implementation process is as follows:
步骤S100,获得用户设置的至少一个发起时间信息(即设置多个发起时间机制);Step S100, obtaining at least one launch time information set by the user (that is, setting multiple launch time mechanisms);
步骤S200,DM服务器根据各个发起时间信息,分别对应每个发起时间信息设置不同的软件/固件下载更新任务;Step S200, the DM server sets different software/firmware download and update tasks corresponding to each initiation time information according to each initiation time information;
步骤S300,DM服务器将设置的各个任务下发给终端设备;Step S300, the DM server sends the set tasks to the terminal device;
步骤S400,后续,终端设备随时监测各个发起时间信息;Step S400, subsequently, the terminal device monitors each initiation time information at any time;
步骤S500,终端设备在监测到某一发起时间到达时,就向DM服务器发起对应该发起时间的软件/固件下载更新任务的请求;Step S500, when the terminal device monitors that a certain initiation time arrives, it initiates a request to the DM server for a software/firmware download and update task corresponding to the initiation time;
步骤S600,DM服务器响应终端设备发起的请求,对终端设备进行对应的软件/固件下载更新处理(其对终端设备的软件/固件进行下载更新处理的过程请参照现有技术部分的详细描述)。Step S600, the DM server responds to the request initiated by the terminal device, and performs corresponding software/firmware download and update processing on the terminal device (for the process of downloading and updating the software/firmware of the terminal device, please refer to the detailed description in the prior art section).
从而通过上述方案可见,终端设备可以通过监测不同的发起时间,分不同时间向DM服务器发起软件/固件下载更新处理的请求,因此可以方便用户根据具体情况灵活的设置各种软件/固件下载更新处理的时间。Therefore, it can be seen from the above scheme that the terminal device can initiate software/firmware download and update processing requests to the DM server at different times by monitoring different initiation times, so it is convenient for users to flexibly set various software/firmware download and update processing according to specific conditions time.
其中可以将用户设置的各个发起时间信息存储在终端设备中,其实现简要过程可以采用用户在终端设备交互界面的提示下设置发起时间信息,终端设备将用户设置的发起时间信息存储。The starting time information set by the user can be stored in the terminal device. The brief implementation process can be that the user sets the starting time information under the prompt of the terminal device interaction interface, and the terminal device stores the starting time information set by the user.
相应的,根据OMA DM规范,也可以通过将设置的各个发起时间信息分别存储在终端设备的DM树数据存储结构中实现将设置的各个发起时间信息存储在终端设备中的目的。Correspondingly, according to the OMA DM specification, the purpose of storing each set initiation time information in the terminal device can also be realized by storing each set initiation time information in the DM tree data storage structure of the terminal device respectively.
用户可以将设置的各个发起时间信息通过终端设备或通过外部上报给DM服务器,请参照图13,该图是本发明中用户将设置的发起时间信息通过终端设备上报给DM服务器的处理过程示意图;其处理过程如下:The user can report the set start time information to the DM server through the terminal device or externally. Please refer to FIG. 13 , which is a schematic diagram of the processing process in which the user reports the set start time information to the DM server through the terminal device in the present invention; Its processing is as follows:
61、用户通过操作终端设备,向终端设备发起设置发起时间的操作;61. The user initiates the operation of setting the initiation time to the terminal device by operating the terminal device;
62、终端设备为用户提供用于设置发起时间操作的交互界面;62. The terminal device provides the user with an interactive interface for setting the initiation time operation;
63、用户在终端设备交互界面的提示下,设置发起时间信息;63. The user sets the launch time information under the prompt of the terminal device interaction interface;
64、终端设备将用户设置的发起时间信息上报给DM服务器;64. The terminal device reports the initiation time information set by the user to the DM server;
65、DM服务器根据接收到的各个发起时间信息,对应每个发起时间信息,分别创建不同的软件/固件下载更新任务;65. The DM server creates different software/firmware download and update tasks corresponding to each initiation time information according to the received initiation time information;
66、DM服务器将创建的各个任务下发给终端设备;66. The DM server sends the created tasks to the terminal device;
67、终端设备反馈接收任务状态信息,如正确接收、未接收到等信息;67. The terminal device feeds back the status information of the receiving task, such as information received correctly or not received;
68、终端设备将DM服务器下发的各个任务信息显示通知给用户。68. The terminal device displays and notifies the user of each task information sent by the DM server.
请参照图14,该图是本发明中用户将设置的发起时间信息通过外部方式上报给DM服务器的处理过程示意图,其主要实现过程如下:Please refer to Figure 14, which is a schematic diagram of the processing process in which the user reports the set initiation time information to the DM server through an external means in the present invention, and its main implementation process is as follows:
71、用户通过Internet、电话注册或运营商营业厅等外部方式向运营商侧发起设置发起时间信息的操作;71. The user initiates the operation of setting the launch time information to the operator side through external means such as the Internet, telephone registration, or the operator's business hall;
72、DM服务器根据用户设置的各个发起时间信息,分别对应每个发起时间信息,创建不同的软件/固件下载更新处理任务;72. The DM server creates different software/firmware download and update processing tasks corresponding to each initiation time information according to each initiation time information set by the user;
73、DM服务器将创建的各个任务下发给终端设备;73. The DM server sends the created tasks to the terminal device;
74、终端设备反馈接收任务状态信息,如正确接收、未接收到等信息;74. The terminal device feeds back the status information of the receiving task, such as information received correctly or not received;
75、终端设备将DM服务器下发的各个任务信息显示通知给用户。75. The terminal device notifies the user of displaying and notifying the information of each task delivered by the DM server.
请参照图15,该图是本发明根据设置的各个发起时间信息进行软件/固件下载更新处理的处理过程示意图,其主要处理过程如下:Please refer to Fig. 15, which is a schematic diagram of the processing process of the present invention to perform software/firmware download and update processing according to each set initiation time information, and its main processing process is as follows:
81、DM服务器将创建的各个任务信息下发给终端设备;81. The DM server sends the created task information to the terminal device;
82、终端设备将DM服务器下发的各个任务信息显示通知给用户;82. The terminal device notifies the user of the display of each task information issued by the DM server;
83、在用户同意接受该任务的情况下;执行83. Under the condition that the user agrees to accept the task; execute
84、终端设备随时监测各个发起时间,在监测到某个发起时间到达时,则84. The terminal device monitors each initiation time at any time, and when a certain initiation time is detected, it will
85、向DM服务器发起对应该到达发起时间的任务请求;85. Initiate a task request to the DM server corresponding to the arrival initiation time;
86、DM服务器响应终端设备发来的请求,下发对应的软件/固件数据包给终端设备;86. The DM server responds to the request sent by the terminal device, and sends the corresponding software/firmware data package to the terminal device;
87、终端设备根据DM服务器下发的软件/固件数据包,进行软件/固件安装或对已有的软件/固件进行更新安装处理;并上报相应的下载更新状态信息给DM服务器,如上报下载更新成功、失败或出现异常等信息。87. The terminal device installs the software/firmware or updates and installs the existing software/firmware according to the software/firmware data package issued by the DM server; and reports the corresponding download update status information to the DM server, such as reporting download update Information such as success, failure, or an exception occurred.
其中对于已经设置的任务,用户可以根据具体需要随时修改分别对应这些任务的发起时间信息,并且终端设备要将用户修改的发起时间信息及时上报给DM服务器。For the tasks that have been set, the user can modify the initiation time information corresponding to these tasks at any time according to specific needs, and the terminal device should report the initiation time information modified by the user to the DM server in time.
其中用户还可以控制终端设备提前触发未到达的发起时间,以向DM服务Among them, the user can also control the terminal device to trigger the unreached initiation time in advance to provide DM service
器发起对应该发起时间的软件/固件下载更新任务的请求;DM服务器响应终端设备发起的请求,对终端设备进行对应的软件/固件下载更新处理对于已经设置而尚未执行的任务。即用户还可以根据具体需要随时向DM服务器发起相应任务请求,如终端设备可以通过提供一个灵活的操作界面,以通知用户还有哪些未执行的任务,例如在操作界面任务栏的某个地方设置显示一个活动图标,当用户选择该图标后就能显示未执行的任务列表,用户可以选择其一随时向DM服务器发起执行该任务的请求,以使DM服务器能够响应该请求,对终端设备执行对应软件/固件下载更新处理。The device initiates a request for the software/firmware download and update task at the time that should be initiated; the DM server responds to the request initiated by the terminal device, and performs corresponding software/firmware download and update processing on the terminal device for tasks that have been set but not yet executed. That is, the user can also initiate corresponding task requests to the DM server at any time according to specific needs. For example, the terminal device can provide a flexible operation interface to notify the user of unexecuted tasks, such as setting Display an activity icon, when the user selects the icon, a list of unexecuted tasks can be displayed, and the user can select one of them to initiate a request to execute the task to the DM server at any time, so that the DM server can respond to the request and perform corresponding tasks on the terminal device. Software/firmware download update processing.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (19)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100752964A CN100403836C (en) | 2005-06-10 | 2005-06-10 | Terminal equipment software/firmware download update method |
| PCT/CN2006/001256 WO2006131077A1 (en) | 2005-06-10 | 2006-06-08 | Download update method for software/firmware of terminal equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100752964A CN100403836C (en) | 2005-06-10 | 2005-06-10 | Terminal equipment software/firmware download update method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1878375A CN1878375A (en) | 2006-12-13 |
| CN100403836C true CN100403836C (en) | 2008-07-16 |
Family
ID=37498133
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005100752964A Expired - Fee Related CN100403836C (en) | 2005-06-10 | 2005-06-10 | Terminal equipment software/firmware download update method |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN100403836C (en) |
| WO (1) | WO2006131077A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI776579B (en) * | 2021-07-06 | 2022-09-01 | 技嘉科技股份有限公司 | Processing method and device of firmware updating |
Families Citing this family (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8214653B1 (en) * | 2009-09-04 | 2012-07-03 | Amazon Technologies, Inc. | Secured firmware updates |
| CN101790156B (en) * | 2009-11-19 | 2011-10-26 | 北京邮电大学 | Strategy optimization based method and device for repairing fault of terminal software |
| US9542203B2 (en) | 2010-12-06 | 2017-01-10 | Microsoft Technology Licensing, Llc | Universal dock for context sensitive computing device |
| US8923770B2 (en) | 2010-12-09 | 2014-12-30 | Microsoft Corporation | Cognitive use of multiple regulatory domains |
| US8792429B2 (en) | 2010-12-14 | 2014-07-29 | Microsoft Corporation | Direct connection with side channel control |
| US9294545B2 (en) | 2010-12-16 | 2016-03-22 | Microsoft Technology Licensing, Llc | Fast join of peer to peer group with power saving mode |
| US8948382B2 (en) | 2010-12-16 | 2015-02-03 | Microsoft Corporation | Secure protocol for peer-to-peer network |
| US8971841B2 (en) * | 2010-12-17 | 2015-03-03 | Microsoft Corporation | Operating system supporting cost aware applications |
| CN103106083B (en) * | 2011-11-09 | 2016-03-23 | 北京市三希电子科技开发公司 | A kind of loading method of firmware and device |
| KR101604303B1 (en) * | 2013-10-30 | 2016-03-18 | 삼성에스디에스 주식회사 | Apparatus and Method for Executing Update and Recording Medium Using the Same, Server and Method for Providing Update |
| JP6305069B2 (en) * | 2014-01-10 | 2018-04-04 | キヤノン株式会社 | Image forming apparatus, control method therefor, and program |
| CN105744509A (en) * | 2014-12-08 | 2016-07-06 | 中兴通讯股份有限公司 | Method, device and system of managing terminal |
| CN104793980B (en) * | 2015-05-19 | 2019-01-25 | 北京奇虎科技有限公司 | Application program update notification method and device thereof |
| CN105635270A (en) * | 2015-12-28 | 2016-06-01 | 余镓乐 | Application updating method and device |
| CN105791549A (en) * | 2016-02-25 | 2016-07-20 | 吴伟东 | Mobile phone software downloading method and system |
| CN109582402B (en) * | 2017-09-29 | 2022-11-22 | 北京金山安全软件有限公司 | Page display method and device |
| CN108494736A (en) * | 2018-02-23 | 2018-09-04 | 珠海格力电器股份有限公司 | Method for upgrading main board program of electrical equipment |
| CN108683546B (en) * | 2018-05-29 | 2020-07-10 | 深圳市星河智善科技有限公司 | Synchronous updating method for intelligent household equipment based on Internet of things |
| FR3087978A1 (en) | 2018-10-26 | 2020-05-01 | Orange | EQUIPMENT MANAGEMENT METHOD FOR UPDATING FIRMWARE |
| CN109901860B (en) * | 2019-02-21 | 2022-07-01 | 华数传媒网络有限公司 | Android mobile phone software version control method |
| KR102711206B1 (en) * | 2019-06-14 | 2024-09-27 | 현대자동차주식회사 | Vehicle and method of managing user setting menu |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20040049196A (en) * | 2002-12-05 | 2004-06-11 | 엘지전자 주식회사 | Software loading method and apparatus for mobile communication system |
| WO2004051488A1 (en) * | 2002-11-29 | 2004-06-17 | Ntt Docomo, Inc. | Download system, communication terminal, server, and download method |
| CN1585926A (en) * | 2001-09-17 | 2005-02-23 | 索马网络公司 | Software update method, device and system |
| JP2005078502A (en) * | 2003-09-02 | 2005-03-24 | Nec Corp | System and method for rewriting differentials of portable terminal software, portable terminal, and program |
-
2005
- 2005-06-10 CN CNB2005100752964A patent/CN100403836C/en not_active Expired - Fee Related
-
2006
- 2006-06-08 WO PCT/CN2006/001256 patent/WO2006131077A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1585926A (en) * | 2001-09-17 | 2005-02-23 | 索马网络公司 | Software update method, device and system |
| WO2004051488A1 (en) * | 2002-11-29 | 2004-06-17 | Ntt Docomo, Inc. | Download system, communication terminal, server, and download method |
| KR20040049196A (en) * | 2002-12-05 | 2004-06-11 | 엘지전자 주식회사 | Software loading method and apparatus for mobile communication system |
| JP2005078502A (en) * | 2003-09-02 | 2005-03-24 | Nec Corp | System and method for rewriting differentials of portable terminal software, portable terminal, and program |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI776579B (en) * | 2021-07-06 | 2022-09-01 | 技嘉科技股份有限公司 | Processing method and device of firmware updating |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2006131077A1 (en) | 2006-12-14 |
| CN1878375A (en) | 2006-12-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100403836C (en) | Terminal equipment software/firmware download update method | |
| US9158531B2 (en) | Software download method and software download apparatus | |
| US9332424B2 (en) | Centrally managed solution for all device management activities | |
| US8875116B2 (en) | Network for updating firmware and / or software in wireless communication devices | |
| US8250565B2 (en) | System and method for downloading update packages into a mobile handset in a carrier network | |
| US20060200658A1 (en) | Agent framework for mobile devices | |
| US20090075641A1 (en) | Automated over-the-air firmware update for a wireless phone | |
| CN102609277B (en) | Application software upgrading method of mobile terminal | |
| CN100391291C (en) | A data backup and recovery method and system thereof | |
| US20040068721A1 (en) | Network for updating firmware and / or software in wireless communication devices | |
| US9148744B2 (en) | Network data optimization | |
| US20110153806A1 (en) | Service delivery platform and management systems and methods | |
| WO2011137793A1 (en) | Method, apparatus and network system for achieving remote update of zigbee devices | |
| EP2109254B1 (en) | Configuration server for managed elements in a telecommunications system | |
| US9100468B2 (en) | Method and system of controlling state of devices operable to support calls between endpoints | |
| JP2016522515A (en) | How to update the local network and devices in the local network | |
| CN101068408B (en) | Multi-standby terminal self-registration method, terminal and server | |
| CN113934442A (en) | Software upgrading method and device | |
| KR20050080504A (en) | Upgrade firmware system of internet video phone and method for employing as the same | |
| CN101521600B (en) | Service control method in gateway equipment and gateway equipment | |
| JP2009508241A (en) | Method and system for handling scheduling tasks in device management | |
| KR20120089924A (en) | System and method for api call policy management of m2m application | |
| CN110286929A (en) | A method of management platform remotely controls Self-help vending machine edition upgrading | |
| CN101902762B (en) | Download control method, system and associated device | |
| JP5226462B2 (en) | WiMAX communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080716 Termination date: 20170610 |
