WO2015117522A1 - Parameter configuration data processing method and device, and parameter configuration method and device - Google Patents

Parameter configuration data processing method and device, and parameter configuration method and device Download PDF

Info

Publication number
WO2015117522A1
WO2015117522A1 PCT/CN2014/094699 CN2014094699W WO2015117522A1 WO 2015117522 A1 WO2015117522 A1 WO 2015117522A1 CN 2014094699 W CN2014094699 W CN 2014094699W WO 2015117522 A1 WO2015117522 A1 WO 2015117522A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
terminal
packet
data
parameter configuration
Prior art date
Application number
PCT/CN2014/094699
Other languages
French (fr)
Chinese (zh)
Inventor
张�杰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117522A1 publication Critical patent/WO2015117522A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates

Definitions

  • the present invention relates to the field of communications, and in particular to a data processing method, apparatus, and parameter configuration method and apparatus for parameter configuration.
  • Terminal parameter configuration has been widely used on terminal devices of different operators and manufacturers. Generally speaking, terminal parameter configuration is often used to configure some simple parameters in the terminal, such as the browser homepage and access point. (Access Point Name, APN for short) configuration, Microsoft Media Server protocol (MMS) server address, etc. These parameter configuration functions are often passed through the Open Mobile Architecture (OMA) protocol. Management (Device Management, referred to as DM) protocol to achieve parameter matching, can meet the requirements of the terminal equipment after configuration.
  • DM Device Management
  • the terminal parameter configuration content is more and more abundant, and it is not only the configuration of some simple parameters, but also the file data configuration items that occupy a large space such as boot animation and ringtone.
  • the data content related to files in the previous OMA DM protocol is often implemented by large object download in the DM protocol. Through large object data download, the data needs to be included in SyncML (Synchronization Markup Language, a platform-independent information synchronization standard protocol). Data packets are transmitted for data, and the data is more redundant. Sub-package downloads are also required. In this way, not only is the speed very slow, but also does not support the resume of the breakpoint, especially the file data of the boot animation of several megabytes (M), which is difficult to download successfully or takes a lot of time.
  • M megabytes
  • FUMO Firmware Update Management Object
  • the embodiment of the invention provides a data processing method, device and parameter configuration method and device for parameter configuration, so as to solve at least the problem of inconvenient downloading when the data amount of parameter configuration in the related art is large.
  • a data processing method for parameter configuration includes: encapsulating a parameter configuration data template and file data into a parameter package, wherein the data template is set to be imported by the terminal according to the data template.
  • the file data is configured and parameterized; the parameter package is uploaded.
  • the method further includes: configuring a corresponding identifier and user type information for the parameter packet; and when the terminal initiates a parameter configuration process, according to the user type information reported by the terminal.
  • the identifier of the parameter packet of the terminal is determined by the identifier of the parameter packet, and the description information of the sent parameter packet is sent to the terminal.
  • the user type information includes at least one of the following: operator information of the user, brand information of the terminal of the user, and group information of the user.
  • the parameter packet that is sent is determined according to the identifier of the parameter packet of the terminal that is reported by the terminal; and the description of the parameter that is sent by the terminal is sent to the terminal, according to the parameter of the terminal reported by the terminal.
  • An identifier of the packet determining whether there is a parameter packet whose generation time is later than the parameter packet; if yes, sending the description information of the parameter packet whose generation time is later than the parameter packet to the terminal; and/or if not If it exists, it refuses to deliver the parameter package.
  • a parameter configuration method including: downloading a parameter package, wherein the parameter package includes a data template and file data; importing the file data according to the data template and performing parameters Configuration.
  • the method before the parameter packet is downloaded, the method further includes: initiating a parameter configuration process, and reporting the user type information and/or the identifier of the parameter packet of the terminal, where the user type information and/or the identifier of the terminal parameter package are used.
  • the parameter package that is sent by the server is determined.
  • the method further includes: receiving description information of the parameter packet that is sent by the server; and downloading according to the description information.
  • the parameter package
  • downloading the parameter package includes: downloading the parameter package by using a DL method or an HTTP method.
  • a parameter processing data processing apparatus including: a packaging module, configured to encapsulate a parameter configured data template and file data into a parameter package, wherein the data template is set as a terminal Importing the file data according to the data template and performing parameter configuration; and uploading a module, and setting the parameter packet to be uploaded.
  • a parameter configuration apparatus including: a downloading module, configured to download a parameter package, wherein the parameter package includes a data template and file data; and a parameter configuration module is configured to follow The data template imports the file data and performs parameter configuration.
  • the data template and the file data configured by the parameter are encapsulated into a parameter package, where the data template is configured to import the file data according to the data template and perform parameter configuration;
  • the method of uploading solves the problem that the data of the parameter configuration in the related art is inconvenient to download, and can conveniently download the file data of the parameter configuration by using multiple download modes, so that the data file of the parameter configuration can further increase the capacity.
  • FIG. 1 is a flowchart of a data processing method of parameter configuration according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of a data processing apparatus for parameter configuration according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a parameter configuration method according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a parameter configuration apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic flow chart of parameter configuration of a large data packet terminal according to a preferred embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a terminal and server interaction process according to a preferred embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a data template of a parameter packet in accordance with a preferred embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing a partitioning of a terminal device according to a preferred embodiment of the present invention.
  • FIG. 9 is a schematic diagram of state switching of a terminal device according to a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a data processing method for parameter configuration according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 the data template and the file data of the parameter configuration are encapsulated into a parameter package, where the data template is configured to import the file data according to the data template and perform parameter configuration.
  • Step S104 uploading the parameter package.
  • the data template and the file data of the parameter configuration are encapsulated into a parameter package, and the parameter package is uploaded to the server, so that when the terminal downloads the file data configured by the parameter, the terminal can download the data in the parameter package manner.
  • the file data, and after downloading, can be configured according to the data template import file data, thereby avoiding the various inconveniences of directly downloading the parameter configuration file data, so that the terminal can download using multiple download methods, for example,
  • the parameter package is downloaded by using a high-speed download method with a breakpoint resume function such as DL mode or HTTP, which solves the problem that the data of the parameter configuration in the related art is inconvenient to download, and the parameter configuration can be conveniently downloaded using multiple download modes.
  • the file data enables the parameter configuration of the data file to further increase the capacity, providing a technical basis for improving the user experience.
  • the corresponding identifier and the user type information may be configured for the parameter packet; and when the terminal initiates the parameter configuration process, the user type information reported by the terminal may be used. And the identifier of the parameter packet of the terminal is determined, and then the parameter packet of the delivered parameter packet is sent to the terminal.
  • the user type information may include, but is not limited to, at least one of the following: operator information of the user, brand information of the terminal of the user, group information of the user, and the like.
  • the parameter packet sent by the terminal is determined according to the identifier of the parameter packet of the terminal reported by the terminal; and the determining, by the terminal, the description information of the parameter packet sent by the terminal may be: An identifier of the parameter packet, determining whether there is a parameter packet whose generation time is later than the parameter packet; if yes, sending the description information of the parameter packet whose generation time is later than the parameter packet to the terminal; and/or, If it does not exist, it refuses to deliver the parameter package.
  • the method for determining the parameter packet to be delivered may be determined according to the user type information (for example, the operator information of the user) reported by the terminal, and then determined according to the identifier of the parameter packet reported by the terminal. Whether the parameter packet adapted to the user type information has the updated parameter packet, if any, may send the updated parameter packet, preferably the latest parameter packet, to the terminal, and if not, the parameter is rejected. package.
  • the user type information for example, the operator information of the user
  • a parameter processing data processing device is also provided in the embodiment, and the device is configured to implement the above-mentioned embodiments and preferred embodiments, and the description thereof has been omitted.
  • module may implement a combination of software and/or hardware for a predetermined function.
  • FIG. 2 is a structural block diagram of a data processing apparatus for parameter configuration according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a packaging module 22 and an uploading module 24. The following describes each module in detail:
  • the encapsulating module 22 is configured to encapsulate the data template and the file data of the parameter configuration into a parameter package, wherein the data template is configured to import the file data according to the data template and perform parameter configuration; the uploading module 24, and the encapsulating Module 22 is connected and arranged to upload the parameter package.
  • FIG. 3 is a flowchart of a parameter configuration method according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
  • Step S302 downloading a parameter package, where the parameter package includes a data template and file data;
  • Step S304 importing the file data according to the data template and performing parameter configuration.
  • the data template and the file data of the parameter configuration are encapsulated into a parameter package.
  • the file data configured by the parameter is downloaded, the file data is downloaded as a parameter package, and the file can be imported according to the data template after downloading.
  • the data is parameter-configured, thereby avoiding the various inconveniences of directly downloading the parameter profile data, so that the terminal can download using multiple download modes, for example, a high-speed DL mode or HTTP and a resume function with breakpoints can be used.
  • the download method downloads the parameter package, which solves the problem that the data of the parameter configuration in the related art is inconvenient to download, and can conveniently download the file data of the parameter configuration by using multiple download modes, so that the data file of the parameter configuration can be further increased. Capacity provides a technical foundation for improving the user experience.
  • the steps of downloading the parameter package and performing parameter configuration are generally performed by the user side (terminal side).
  • the user side may also initiate a parameter configuration process and report the user type information and/or the identifier of the parameter package of the terminal, where the user type information and/or the parameter package of the terminal The identifier is used by the server to determine the parameter package that is delivered.
  • the server may further receive the description information of the parameter packet that is sent by the server, and according to the description information. Download the parameter package.
  • the parameter package can be downloaded by using a DL (also called DLOTA in OMA protocol) or Hypertext transfer protocol (HTTP).
  • DL also called DLOTA in OMA protocol
  • HTTP Hypertext transfer protocol
  • FIG. 4 is a structural block diagram of a parameter configuration device according to an embodiment of the present invention.
  • the device includes a download module 42 and Parameter configuration module 44, the following describes each module in detail:
  • the downloading module 42 is configured to download a parameter package, where the parameter package includes a data template and file data; the parameter configuration module 42 is connected to the download module 42 and configured to import the file data according to the data template and perform parameters. Configuration.
  • a large data packet terminal parameter configuration method and system are provided.
  • the following mainly uses the OMA protocol to implement large data packet parameter configuration as an example for detailed description.
  • big data package is encapsulated.
  • the big data package mainly includes two parts: data template and file data. After the data packet is composed according to a specific format, it is packaged;
  • the data packet of the upload server needs to be tagged with the brand or operator according to the requirements and numbered;
  • the terminal device initiates parameter configuration DM session by means of manual or server-triggered mode.
  • the device reports its own device information and packet number in the session.
  • the server judges the device according to the device information and number. If the requirements of the delivery package are met, the DL process is entered and the data is sent. package. In the DL process, downloading data packets can support multi-threading and resume transmission, and can download data packets quickly and steadily;
  • the parameter configuration management module first validates the correctness and integrity of the packet, parses the data packet, and performs data configuration according to the data template and file data in the data packet.
  • the parameter configuration is not the same as the device upgrade, you need to assign a specific parameter to the device to configure the partition to save the configuration parameters.
  • the device firmware needs to be upgraded, it can be upgraded normally without affecting the parameter configuration partition.
  • the preferred embodiment provides a method and system for grouping, downloading, and configuring a large data packet, which can effectively solve the problem that the large data packet downloading speed in the DM protocol is slow and cannot be resumed, and the parameter configuration with a large data size can be changed. achieve.
  • Parameter configuration is often an important means for operators to require manufacturers to manage devices after they leave the factory. Especially in North American operators, this parameter configuration is quite extensive. Some of them have proposed to customize the terminal parameters of some of their own brands through OMA DM, such as boot animation, background, etc., but due to the implementation, the large object download of DM protocol can not meet such requirements, so they have to cancel Such a node configuration item.
  • the parameter configuration and system of the large data packet terminal proposed by the preferred embodiment effectively solves the disadvantages of the prior methods, and solves the difficulty of configuring the parameter parameters of the large data packet by utilizing the advantages of the DL download.
  • FIG. 5 is a schematic flowchart of a parameter configuration of a large data packet terminal according to a preferred embodiment of the present invention. As shown in FIG. 5, the process includes:
  • the first thing to be processed is to manage and configure the parameter package.
  • the parameter package mainly includes two parts of content, data template and file data.
  • the data template is a contract that stipulates which configurations are included in the packet, targets that are configured to the terminal, and data sources.
  • File data is generally a large amount of data, such as boot animation, background ringtones, background images, and so on.
  • FIG. 7 is a schematic diagram of a data template of a parameter packet (also referred to as a data packet) according to a preferred embodiment of the present invention, as shown in FIG. 7 is a composition of a parameter packet, where name represents the name of the currently configured node, and the type value is equal to "STRING".
  • name represents the name of the currently configured node
  • type value is equal to "STRING"
  • FILE indicates the file configuration
  • value indicates the specific location configured to the terminal
  • the last string is the file location.
  • the location of the parameter package The maximum package number assigned by the server when the top package ID is the package's upload parameter package.
  • the content to be configured can be effectively organized, and the source and destination of the configuration item can be clearly known, and the parameter package can be accurately configured after being downloaded to the device.
  • Step S504 in FIG. 5 after the parameter package is prepared, the packet may be encapsulated by using UPC (an encoding method) or other methods, and then the server is uploaded, and the operator, brand, and group information corresponding to the parameter packet are filled in the parameter. In the package label, the ID assigned by the server is entered into the parameter package.
  • UPC an encoding method
  • Step S506 after the parameter packet is successfully uploaded, the terminal initiates a parameter configuration process, reporting the information of the device and the parameter packet number of the terminal.
  • Step S508 the server determines whether to send the parameter packet according to the information reported by the terminal, if the matching parameter packet is not found or the parameter packet has been delivered, go to step S510; otherwise, go to step S512, and send the parameter packet description information.
  • DD download description, download upgrade package descriptor
  • Step S514 the terminal starts to enter the DL download data packet process according to the DD description information, and downloads a data packet of a large data amount.
  • step S516 performs parameter configuration according to the content of the data template.
  • FIG. 6 is a schematic diagram of a terminal and server interaction process according to a preferred embodiment of the present invention.
  • steps S618, S620, and S622 in the figure are data packet uploading processes. Due to the parameter configuration, in the preferred embodiment, the parameter configuration problem of different operators, different brands or groups is mainly explained as an example. Therefore, when uploading a data packet, it is necessary to fill in the relevant information of the data packet, and The server assigns a unique ID number to the data packet. The ID value is sent along with the data packet. The server determines whether to send a new data packet based on the ID value reported by the terminal.
  • step S602 the terminal reads the operator, the brand, and the group according to the inserted SIM card information and the device parameters.
  • the terminal triggers the parameter configuration request, and reports the device information and parameter configuration request to the server. .
  • Steps S604-S606 the server performs authentication according to the information reported by the terminal. If the authentication is passed, the terminal returns a response 200 (200 OK) to request terminal authentication. After the terminal authentication is passed, the server responds with a response 200.
  • Step S608 the server receives the terminal authentication pass message, and actively acquires (GET) the terminal data packet ID value.
  • step S610 the terminal reports its own packet ID value, and the default factory is 0.
  • step S612 the server determines whether the data packet needs to be delivered according to the operator (OEM), brand (BRAND), and group (GROUP) information reported by the terminal, and if necessary, sends the packet descriptor DD to enter the DL download.
  • OEM operator
  • BRAND brand
  • GROUP group
  • Step S614 the terminal enters the DL download according to the DD descriptor information, and the process supports the resume transmission of the breakpoint and the multi-threading, which can meet the download requirement of the big data packet; when the data packet is downloaded, the configuration is performed according to the information of the data template in the packet. The configuration is complete and the configuration result is reported to the server.
  • step S616 the server records the last reported result.
  • FIG. 8 A schematic diagram of the terminal device partitioning of the preferred embodiment of the present invention, as shown in FIG. 8, the newly added Customization partition can only be erased after a specific engineering instruction or a SIM card is replaced, and the normal factory reset will not be Erase.
  • FIG. 9 is a schematic diagram of state switching of a terminal device according to a preferred embodiment of the present invention.
  • the terminal when the device is powered on for the first time, the terminal belongs to an unconfigured state, and after the parameter configuration, the configuration state is changed.
  • the normal restart or restore factory settings only the user data is erased, the parameter partition is not erased, and the parameter configuration package is not downloaded again.
  • the parameter configuration method of the big data packet terminal overcomes the limitation of the common parameter configuration, so that the large data packet can be smoothly downloaded and the parameter configuration of the large data amount of the device is performed. And the use of OMA DM protocol authentication, DL download method, making the whole process more secure and reliable.
  • a software is provided that is configured to perform the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium in which the above software is stored, including but not limited to an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the data processing method, apparatus, and parameter configuration method and apparatus for parameter configuration provided by the embodiments of the present invention have the following beneficial effects: the problem of inconvenient downloading when the data amount of the parameter configuration in the related art is large is solved.
  • the file data of the parameter configuration can be conveniently downloaded by using multiple download modes, so that the data file configured by the parameter can further increase the capacity, and provides a technical basis for improving the user experience.

Abstract

Disclosed are a parameter configuration data processing method and device, and a parameter configuration method and device. The parameter configuration data processing method comprises: encapsulating a parameter configuration data template and file data into a parameter packet, the data template being configured such that the terminal imports the file data according to the data template and performs parameter configuration; transmitting the parameter packet. The present invention solves the problem in the prior art of inconvenient downloads when the parameter configuration data is relatively large, and supports convenient downloads of parameter configuration file data using multiple download modes, thereby further enhancing the capacity of parameter configuration data files and providing the technical foundation for enhancing user experience.

Description

参数配置的数据处理方法、装置及参数配置方法、装置Data processing method, device and parameter configuration method and device for parameter configuration 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种参数配置的数据处理方法、装置及参数配置方法、装置。The present invention relates to the field of communications, and in particular to a data processing method, apparatus, and parameter configuration method and apparatus for parameter configuration.
背景技术Background technique
终端参数配置,在不同的运营商和厂家的终端设备上,已经广泛使用起来,一般来说,终端参数配置,往往用来对终端中的一些简单参数进行配置,比如浏览器主页、接入点(Access Point Name,简称为APN)配置、彩信(Microsoft Media Server protocol,简称为MMS)服务器地址等等,这些参数配置功能,往往通过开放移动联盟(Open Mobile Architecture,简称为OMA)协议中的设备管理(Device Management,简称为DM)协议来实现参数采配,可以满足终端设备出厂后进行配置的要求。Terminal parameter configuration has been widely used on terminal devices of different operators and manufacturers. Generally speaking, terminal parameter configuration is often used to configure some simple parameters in the terminal, such as the browser homepage and access point. (Access Point Name, APN for short) configuration, Microsoft Media Server protocol (MMS) server address, etc. These parameter configuration functions are often passed through the Open Mobile Architecture (OMA) protocol. Management (Device Management, referred to as DM) protocol to achieve parameter matching, can meet the requirements of the terminal equipment after configuration.
目前终端参数配置内容越来越丰富,已经不仅仅是一些简单参数的配置,还包括开机动画、铃声等占用空间较大的文件数据配置项。之前OMA DM协议中与文件相关的数据内容,往往通过DM协议中的大对象下载来实现,通过大对象数据下载,数据需要包含在SyncML(Synchronization Markup Language,一种平台无关的信息同步标准协议)数据包进行数据传输,数据更冗余,还需要进行分包下载。这样的方式,不仅仅速度非常慢,且不支持断点续传,特别是几兆(M)大小的开机动画这种文件数据,很难下载成功或者需花费大量的时间。At present, the terminal parameter configuration content is more and more abundant, and it is not only the configuration of some simple parameters, but also the file data configuration items that occupy a large space such as boot animation and ringtone. The data content related to files in the previous OMA DM protocol is often implemented by large object download in the DM protocol. Through large object data download, the data needs to be included in SyncML (Synchronization Markup Language, a platform-independent information synchronization standard protocol). Data packets are transmitted for data, and the data is more redundant. Sub-package downloads are also required. In this way, not only is the speed very slow, but also does not support the resume of the breakpoint, especially the file data of the boot animation of several megabytes (M), which is difficult to download successfully or takes a lot of time.
虽然DM协议中有固件升级管理对象(Firmware Update Management Object,简称为FUMO)升级,可以下载升级包,但FUMO是依赖设备的外部版本号与服务器交互,同一个版本不能下载不同的升级包,所以无法达到参数配置的目的。Although the DM protocol has a Firmware Update Management Object (FUMO) upgrade, you can download the upgrade package, but FUMO relies on the external version number of the device to interact with the server. The same version cannot download different upgrade packages. The purpose of parameter configuration could not be achieved.
针对相关技术中参数配置的数据量较大时下载不便的问题,目前尚未提出有效的解决方案。The problem of inconvenient downloading when the amount of data configured by the parameters in the related art is large has not yet been proposed.
发明内容Summary of the invention
本发明实施例提供了一种参数配置的数据处理方法、装置及参数配置方法、装置,以至少解决相关技术中参数配置的数据量较大时下载不便的问题。 The embodiment of the invention provides a data processing method, device and parameter configuration method and device for parameter configuration, so as to solve at least the problem of inconvenient downloading when the data amount of parameter configuration in the related art is large.
根据本发明的一个实施例,提供了一种参数配置的数据处理方法,包括:将参数配置的数据模板及文件数据封装为参数包,其中,所述数据模板设置为终端按照所述数据模板导入所述文件数据并进行参数配置;将所述参数包上传。According to an embodiment of the present invention, a data processing method for parameter configuration is provided, which includes: encapsulating a parameter configuration data template and file data into a parameter package, wherein the data template is set to be imported by the terminal according to the data template. The file data is configured and parameterized; the parameter package is uploaded.
本实施例中,在将所述参数包上传之后,还包括:为所述参数包配置对应的标识及用户类型信息;在终端发起参数配置流程的情况下,根据所述终端上报的用户类型信息和/或终端的参数包的标识确定下发的参数包;将确定下发的参数包的描述信息发送给所述终端。In this embodiment, after the parameter packet is uploaded, the method further includes: configuring a corresponding identifier and user type information for the parameter packet; and when the terminal initiates a parameter configuration process, according to the user type information reported by the terminal The identifier of the parameter packet of the terminal is determined by the identifier of the parameter packet, and the description information of the sent parameter packet is sent to the terminal.
本实施例中,所述用户类型信息包括以下至少之一:用户的运营商信息,用户的终端的品牌信息,用户的群组信息。In this embodiment, the user type information includes at least one of the following: operator information of the user, brand information of the terminal of the user, and group information of the user.
本实施例中,根据所述终端上报的终端的参数包的标识确定下发的参数包;将确定下发的参数包的描述信息发送给所述终端包括:根据所述终端上报的终端的参数包的标识,确定是否存在生成时间晚于该参数包的参数包;如果存在,则将所述生成时间晚于该参数包的参数包的描述信息发送给所述终端;和/或,如果不存在,则拒绝下发参数包。In this embodiment, the parameter packet that is sent is determined according to the identifier of the parameter packet of the terminal that is reported by the terminal; and the description of the parameter that is sent by the terminal is sent to the terminal, according to the parameter of the terminal reported by the terminal. An identifier of the packet, determining whether there is a parameter packet whose generation time is later than the parameter packet; if yes, sending the description information of the parameter packet whose generation time is later than the parameter packet to the terminal; and/or if not If it exists, it refuses to deliver the parameter package.
根据本发明的另一实施例,提供了一种参数配置方法,包括:下载参数包,其中,所述参数包中包含数据模板及文件数据;按照所述数据模板导入所述文件数据并进行参数配置。According to another embodiment of the present invention, a parameter configuration method is provided, including: downloading a parameter package, wherein the parameter package includes a data template and file data; importing the file data according to the data template and performing parameters Configuration.
本实施例中,下载参数包之前,还包括:发起参数配置流程,并上报用户类型信息和/或终端的参数包的标识,其中,所述用户类型信息和/或终端的参数包的标识用于服务器确定下发的参数包。In this embodiment, before the parameter packet is downloaded, the method further includes: initiating a parameter configuration process, and reporting the user type information and/or the identifier of the parameter packet of the terminal, where the user type information and/or the identifier of the terminal parameter package are used. The parameter package that is sent by the server is determined.
本实施例中,在发起参数配置流程,并上报用户类型信息和/或终端的参数包的标识之后,还包括:接收所述服务器确定下发的参数包的描述信息;根据所述描述信息下载所述参数包。In this embodiment, after the parameter configuration process is initiated, and the user type information and/or the identifier of the parameter packet of the terminal are reported, the method further includes: receiving description information of the parameter packet that is sent by the server; and downloading according to the description information. The parameter package.
本实施例中,下载参数包包括:使用DL方式或者HTTP方式下载所述参数包。In this embodiment, downloading the parameter package includes: downloading the parameter package by using a DL method or an HTTP method.
根据本发明的再一实施例,提供了一种参数配置的数据处理装置,包括:封装模块,设置为将参数配置的数据模板及文件数据封装为参数包,其中,所述数据模板设置为终端按照所述数据模板导入所述文件数据并进行参数配置;上传模块,设置为将所述参数包上传。 According to still another embodiment of the present invention, a parameter processing data processing apparatus is provided, including: a packaging module, configured to encapsulate a parameter configured data template and file data into a parameter package, wherein the data template is set as a terminal Importing the file data according to the data template and performing parameter configuration; and uploading a module, and setting the parameter packet to be uploaded.
根据本发明的再一实施例,还提供了一种参数配置装置,包括:下载模块,设置为下载参数包,其中,所述参数包中包含数据模板及文件数据;参数配置模块,设置为按照所述数据模板导入所述文件数据并进行参数配置。According to still another embodiment of the present invention, a parameter configuration apparatus is further provided, including: a downloading module, configured to download a parameter package, wherein the parameter package includes a data template and file data; and a parameter configuration module is configured to follow The data template imports the file data and performs parameter configuration.
通过本发明实施例,采用将参数配置的数据模板及文件数据封装为参数包,其中,所述数据模板设置为终端按照所述数据模板导入所述文件数据并进行参数配置;将所述参数包上传的方式,解决了相关技术中参数配置的数据量较大时下载不便的问题,能够方便地使用多种下载方式下载参数配置的文件数据,使得参数配置的数据文件可以进一步增大容量,为提升用户体验提供了技术基础。According to the embodiment of the present invention, the data template and the file data configured by the parameter are encapsulated into a parameter package, where the data template is configured to import the file data according to the data template and perform parameter configuration; The method of uploading solves the problem that the data of the parameter configuration in the related art is inconvenient to download, and can conveniently download the file data of the parameter configuration by using multiple download modes, so that the data file of the parameter configuration can further increase the capacity. Providing a technical foundation for improving the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的参数配置的数据处理方法的流程图;1 is a flowchart of a data processing method of parameter configuration according to an embodiment of the present invention;
图2是根据本发明实施例的参数配置的数据处理装置的结构框图;2 is a block diagram showing the structure of a data processing apparatus for parameter configuration according to an embodiment of the present invention;
图3是根据本发明实施例的参数配置方法的流程图;3 is a flowchart of a parameter configuration method according to an embodiment of the present invention;
图4是根据本发明实施例的参数配置装置的结构框图;4 is a block diagram showing the structure of a parameter configuration apparatus according to an embodiment of the present invention;
图5是根据本发明优选实施例的大数据包终端参数配置的流程示意图;5 is a schematic flow chart of parameter configuration of a large data packet terminal according to a preferred embodiment of the present invention;
图6是根据本发明优选实施例的终端、服务器交互流程示意图;6 is a schematic diagram of a terminal and server interaction process according to a preferred embodiment of the present invention;
图7是根据本发明优选实施例的参数包的数据模板示意图;7 is a schematic diagram of a data template of a parameter packet in accordance with a preferred embodiment of the present invention;
图8是根据本发明优选实施例的终端设备分区示意图;FIG. 8 is a schematic diagram showing a partitioning of a terminal device according to a preferred embodiment of the present invention; FIG.
图9是根据本发明优选实施例的终端设备状态切换示意图。FIG. 9 is a schematic diagram of state switching of a terminal device according to a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中,提供了一种参数配置的数据处理方法,图1是根据本发明实施例的参数配置的数据处理方法的流程图,如图1所示,该方法包括如下步骤:In this embodiment, a data processing method for parameter configuration is provided. FIG. 1 is a flowchart of a data processing method for parameter configuration according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S102,将参数配置的数据模板及文件数据封装为参数包,其中,所述数据模板设置为终端按照所述数据模板导入所述文件数据并进行参数配置;Step S102, the data template and the file data of the parameter configuration are encapsulated into a parameter package, where the data template is configured to import the file data according to the data template and perform parameter configuration.
步骤S104,将所述参数包上传。Step S104, uploading the parameter package.
本实施例通过上述步骤,将参数配置的数据模板及文件数据封装为参数包,并将所述参数包上传至服务器,从而使得终端在下载参数配置的文件数据时,可以以参数包的方式下载该文件数据,并在下载后能够根据数据模板导入文件数据进行参数配置,从而避开了直接下载参数配置文件数据所具有的各种不便,使得终端能够使用多种下载方式进行下载,例如,可以使用DL方式或者HTTP等高速且具有断点续传功能的下载方式下载参数包,解决了相关技术中参数配置的数据量较大时下载不便的问题,能够方便地使用多种下载方式下载参数配置的文件数据,使得参数配置的数据文件可以进一步增大容量,为提升用户体验提供了技术基础。In this embodiment, the data template and the file data of the parameter configuration are encapsulated into a parameter package, and the parameter package is uploaded to the server, so that when the terminal downloads the file data configured by the parameter, the terminal can download the data in the parameter package manner. The file data, and after downloading, can be configured according to the data template import file data, thereby avoiding the various inconveniences of directly downloading the parameter configuration file data, so that the terminal can download using multiple download methods, for example, The parameter package is downloaded by using a high-speed download method with a breakpoint resume function such as DL mode or HTTP, which solves the problem that the data of the parameter configuration in the related art is inconvenient to download, and the parameter configuration can be conveniently downloaded using multiple download modes. The file data enables the parameter configuration of the data file to further increase the capacity, providing a technical basis for improving the user experience.
本实施例中,在将所述参数包上传之后,还可以为所述参数包配置对应的标识及用户类型信息;在终端发起参数配置流程的情况下,可以根据所述终端上报的用户类型信息和/或终端的参数包的标识确定下发的参数包,然后将确定下发的参数包的描述信息发送给所述终端。其中,所述用户类型信息可以包括但不限于以下至少之一:用户的运营商信息,用户的终端的品牌信息,用户的群组信息等。In this embodiment, after the parameter packet is uploaded, the corresponding identifier and the user type information may be configured for the parameter packet; and when the terminal initiates the parameter configuration process, the user type information reported by the terminal may be used. And the identifier of the parameter packet of the terminal is determined, and then the parameter packet of the delivered parameter packet is sent to the terminal. The user type information may include, but is not limited to, at least one of the following: operator information of the user, brand information of the terminal of the user, group information of the user, and the like.
在本实施例中,根据所述终端上报的终端的参数包的标识确定下发的参数包;将确定下发的参数包的描述信息发送给所述终端可以包括:根据所述终端上报的终端的参数包的标识,确定是否存在生成时间晚于该参数包的参数包;如果存在,则将所述生成时间晚于该参数包的参数包的描述信息发送给所述终端;和/或,如果不存在,则拒绝下发参数包。In this embodiment, the parameter packet sent by the terminal is determined according to the identifier of the parameter packet of the terminal reported by the terminal; and the determining, by the terminal, the description information of the parameter packet sent by the terminal may be: An identifier of the parameter packet, determining whether there is a parameter packet whose generation time is later than the parameter packet; if yes, sending the description information of the parameter packet whose generation time is later than the parameter packet to the terminal; and/or, If it does not exist, it refuses to deliver the parameter package.
例如,对于上述确定下发的参数包的方式,可以先根据所述终端上报的用户类型信息(例如用户的运营商信息)确定适应的数据包,然后再根据终端上报的参数包的标识,确定上述适应于该用户类型信息的数据包中是否具有更新的参数包,如果有,则可以将这些更新的参数包,优选为最新的参数包,下发给终端,如果没有,则拒绝下发参数包。For example, the method for determining the parameter packet to be delivered may be determined according to the user type information (for example, the operator information of the user) reported by the terminal, and then determined according to the identifier of the parameter packet reported by the terminal. Whether the parameter packet adapted to the user type information has the updated parameter packet, if any, may send the updated parameter packet, preferably the latest parameter packet, to the terminal, and if not, the parameter is rejected. package.
对应于上述方法,在本实施例中还提供了一种参数配置的数据处理装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用 的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。Corresponding to the above method, a parameter processing data processing device is also provided in the embodiment, and the device is configured to implement the above-mentioned embodiments and preferred embodiments, and the description thereof has been omitted. As used below The term "module" may implement a combination of software and/or hardware for a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的参数配置的数据处理装置的结构框图,如图2所示,该装置包括封装模块22和上传模块24,下面对各个模块进行详细说明:2 is a structural block diagram of a data processing apparatus for parameter configuration according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a packaging module 22 and an uploading module 24. The following describes each module in detail:
封装模块22,设置为将参数配置的数据模板及文件数据封装为参数包,其中,所述数据模板设置为终端按照所述数据模板导入所述文件数据并进行参数配置;上传模块24,与封装模块22相连,设置为将所述参数包上传。The encapsulating module 22 is configured to encapsulate the data template and the file data of the parameter configuration into a parameter package, wherein the data template is configured to import the file data according to the data template and perform parameter configuration; the uploading module 24, and the encapsulating Module 22 is connected and arranged to upload the parameter package.
在本实施例中,还提供了一种参数配置方法,图3是根据本发明实施例的参数配置方法的流程图,如图3所示,该方法包括如下步骤:In this embodiment, a parameter configuration method is also provided. FIG. 3 is a flowchart of a parameter configuration method according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
步骤S302,下载参数包,其中,所述参数包中包含数据模板及文件数据;Step S302, downloading a parameter package, where the parameter package includes a data template and file data;
步骤S304,按照所述数据模板导入所述文件数据并进行参数配置。Step S304, importing the file data according to the data template and performing parameter configuration.
本实施例通过上述步骤,将参数配置的数据模板及文件数据封装为参数包,在下载参数配置的文件数据时,以参数包的方式下载该文件数据,并在下载后能够根据数据模板导入文件数据进行参数配置,从而避开了直接下载参数配置文件数据所具有的各种不便,使得终端能够使用多种下载方式进行下载,例如,可以使用DL方式或者HTTP等高速且具有断点续传功能的下载方式下载参数包,解决了相关技术中参数配置的数据量较大时下载不便的问题,能够方便地使用多种下载方式下载参数配置的文件数据,使得参数配置的数据文件可以进一步增大容量,为提升用户体验提供了技术基础。In the embodiment, the data template and the file data of the parameter configuration are encapsulated into a parameter package. When the file data configured by the parameter is downloaded, the file data is downloaded as a parameter package, and the file can be imported according to the data template after downloading. The data is parameter-configured, thereby avoiding the various inconveniences of directly downloading the parameter profile data, so that the terminal can download using multiple download modes, for example, a high-speed DL mode or HTTP and a resume function with breakpoints can be used. The download method downloads the parameter package, which solves the problem that the data of the parameter configuration in the related art is inconvenient to download, and can conveniently download the file data of the parameter configuration by using multiple download modes, so that the data file of the parameter configuration can be further increased. Capacity provides a technical foundation for improving the user experience.
优选地,上述下载参数包及进行参数配置的步骤通常可以由用户侧(终端侧)执行。Preferably, the steps of downloading the parameter package and performing parameter configuration are generally performed by the user side (terminal side).
在本实施例中,下载参数包之前,用户侧还可以主动发起参数配置流程,并上报用户类型信息和/或终端的参数包的标识,其中,所述用户类型信息和/或终端的参数包的标识用于服务器确定下发的参数包。In this embodiment, before downloading the parameter packet, the user side may also initiate a parameter configuration process and report the user type information and/or the identifier of the parameter package of the terminal, where the user type information and/or the parameter package of the terminal The identifier is used by the server to determine the parameter package that is delivered.
在本实施例中,在发起参数配置流程,并上报用户类型信息和/或终端的参数包的标识之后,还可以接收所述服务器确定下发的参数包的描述信息,并根据所述描述信息下载所述参数包。 In this embodiment, after initiating the parameter configuration process, and reporting the user type information and/or the identifier of the parameter packet of the terminal, the server may further receive the description information of the parameter packet that is sent by the server, and according to the description information. Download the parameter package.
其中,可以使用DL(download,OMA协议中也称为DLOTA)方式或者超文本传输协议(Hypertext transfer protocol,简称为HTTP)方式下载所述参数包。The parameter package can be downloaded by using a DL (also called DLOTA in OMA protocol) or Hypertext transfer protocol (HTTP).
对应于上述参数配置方法,在本实施例中还提供了一种参数配置装置,图4是根据本发明实施例的参数配置装置的结构框图,如图4所示,该装置包括下载模块42和参数配置模块44,下面对各个模块进行详细说明:Corresponding to the above parameter configuration method, a parameter configuration device is also provided in this embodiment, and FIG. 4 is a structural block diagram of a parameter configuration device according to an embodiment of the present invention. As shown in FIG. 4, the device includes a download module 42 and Parameter configuration module 44, the following describes each module in detail:
下载模块42,设置为下载参数包,其中,所述参数包中包含数据模板及文件数据;参数配置模块42,与下载模块42相连,设置为按照所述数据模板导入所述文件数据并进行参数配置。The downloading module 42 is configured to download a parameter package, where the parameter package includes a data template and file data; the parameter configuration module 42 is connected to the download module 42 and configured to import the file data according to the data template and perform parameters. Configuration.
下面结合优选实施例进行说明,以下优选实施例结合了上述实施例及其优选实施方式。The following description is made in conjunction with the preferred embodiments, and the following preferred embodiments incorporate the above-described embodiments and preferred embodiments thereof.
在以下优选实施例中,提供了一种大数据包终端参数配置方法及系统,下面主要以使用OMA协议实现大数据包参数配置为例进行详细说明。In the following preferred embodiments, a large data packet terminal parameter configuration method and system are provided. The following mainly uses the OMA protocol to implement large data packet parameter configuration as an example for detailed description.
在以下优选实施例中,能够克服大数据包通过DM协议下载速度慢且不支持断点续传问题,解决大数据参数包下载和终端参数配置问题,让参数配置可以更灵活、更实用。In the following preferred embodiments, it is possible to overcome the problem that the large data packet is slow to download through the DM protocol and does not support the breakpoint resume transmission, and solve the problem of large data parameter packet download and terminal parameter configuration, so that the parameter configuration can be more flexible and practical.
本优选实施例采用的技术方案如下:The technical solution adopted by the preferred embodiment is as follows:
首先进行大数据包封装,大数据包主要包括两部分:数据模板和文件数据。数据包按照特定格式组成后,进行打包处理;First, big data package is encapsulated. The big data package mainly includes two parts: data template and file data. After the data packet is composed according to a specific format, it is packaged;
数据包打包后,按照一定的编码格式上传服务器,上传服务器的数据包需根据需求打上品牌或者运营商标签并进行编号;After the data package is packaged, upload the server according to a certain encoding format. The data packet of the upload server needs to be tagged with the brand or operator according to the requirements and numbered;
终端设备通过手动或者服务器触发的方式,发起参数配置DM会话,会话中上报自身的设备信息和数据包编号,服务器根据设备信息和编号进行判断,如果满足下发包要求,进入DL流程,下发数据包。DL过程中下载数据包可以支持多线程、断点续传,可以快速稳定地下载数据包;The terminal device initiates parameter configuration DM session by means of manual or server-triggered mode. The device reports its own device information and packet number in the session. The server judges the device according to the device information and number. If the requirements of the delivery package are met, the DL process is entered and the data is sent. package. In the DL process, downloading data packets can support multi-threading and resume transmission, and can download data packets quickly and steadily;
数据包下载到设备后,通过参数配置管理模块,首先效验包的正确性和完整性,再解析数据包,根据数据包中的数据模板和文件数据,进行数据配置。After the data packet is downloaded to the device, the parameter configuration management module first validates the correctness and integrity of the packet, parses the data packet, and performs data configuration according to the data template and file data in the data packet.
由于参数配置并不等同于设备升级,所以需要给设备划定特定参数配置分区保存配置参数,当设备固件需要升级的时候,可以正常升级,不影响参数配置分区。 Because the parameter configuration is not the same as the device upgrade, you need to assign a specific parameter to the device to configure the partition to save the configuration parameters. When the device firmware needs to be upgraded, it can be upgraded normally without affecting the parameter configuration partition.
本优选实施例提供大数据包组包、下载、配置的方法和系统,能够有效解决DM协议中大数据包下载速度慢、不能断点续传问题,让数据规模较大的参数配置变为可以实现。The preferred embodiment provides a method and system for grouping, downloading, and configuring a large data packet, which can effectively solve the problem that the large data packet downloading speed in the DM protocol is slow and cannot be resumed, and the parameter configuration with a large data size can be changed. achieve.
下面更为详细地描述本优选实施例的大数据包组包、下载、配置方案:The big packet package, download, and configuration scheme of the preferred embodiment are described in more detail below:
参数配置往往是运营商要求厂家对设备出厂后进行管理的一个重要手段,特别在北美运营商中,这种参数配置使用的相当广泛。其中一些运营商提出来通过OMA DM来定制自己旗下某些不同品牌的终端参数,如开机动画、背景等等,但由于实现起来,DM协议的大对象下载不能满足这样的要求,所以不得不取消这样的节点配置项。Parameter configuration is often an important means for operators to require manufacturers to manage devices after they leave the factory. Especially in North American operators, this parameter configuration is quite extensive. Some of them have proposed to customize the terminal parameters of some of their own brands through OMA DM, such as boot animation, background, etc., but due to the implementation, the large object download of DM protocol can not meet such requirements, so they have to cancel Such a node configuration item.
针对这种情况,本优选实施例提出的大数据包终端参数配置及系统,有效的解决了以往方法中存在的弊端,利用DL下载的优点解决了大数据包参数配置的难点。In response to this situation, the parameter configuration and system of the large data packet terminal proposed by the preferred embodiment effectively solves the disadvantages of the prior methods, and solves the difficulty of configuring the parameter parameters of the large data packet by utilizing the advantages of the DL download.
图5是根据本发明优选实施例的大数据包终端参数配置的流程示意图,如图5所示,该流程包括:FIG. 5 is a schematic flowchart of a parameter configuration of a large data packet terminal according to a preferred embodiment of the present invention. As shown in FIG. 5, the process includes:
步骤S502,首先需要处理的是对参数包进行管理和配置。参数包主要包括两部分内容,数据模板和文件数据。数据模板是约定了数据包中包含了有哪些配置的节点,配置到终端的目标以及数据源。文件数据一般为大数据量的文件,比如开机动画,背景铃声、背景图片等等。In step S502, the first thing to be processed is to manage and configure the parameter package. The parameter package mainly includes two parts of content, data template and file data. The data template is a contract that stipulates which configurations are included in the packet, targets that are configured to the terminal, and data sources. File data is generally a large amount of data, such as boot animation, background ringtones, background images, and so on.
图7是根据本发明优选实施例的参数包(也称数据包)的数据模板示意图,如图7所示为参数包的组成,其中name表示当前配置节点的名称,type值等于“STRING”表示为参数配置,“value”表示终端的配置项,最后的字符串表示配置的值;type值等于“FILE”表示为文件配置,“value”表示配置到终端的具体位置,最后字符串为文件位于参数包的位置。最上面的包(Package)ID为包的上传参数包时,服务器分配的包唯一编号。7 is a schematic diagram of a data template of a parameter packet (also referred to as a data packet) according to a preferred embodiment of the present invention, as shown in FIG. 7 is a composition of a parameter packet, where name represents the name of the currently configured node, and the type value is equal to "STRING". For the parameter configuration, "value" indicates the configuration item of the terminal, the last string indicates the configured value; the type value is equal to "FILE" indicates the file configuration, "value" indicates the specific location configured to the terminal, and the last string is the file location. The location of the parameter package. The maximum package number assigned by the server when the top package ID is the package's upload parameter package.
通过这种管理参数包的方式,可以把需要配置的内容,有效的组织起来,明确的知道配置项的源、目的,让参数包下载到设备后,能够准确进行配置。Through the management of the parameter package, the content to be configured can be effectively organized, and the source and destination of the configuration item can be clearly known, and the parameter package can be accurately configured after being downloaded to the device.
图5中的步骤S504,当参数包准备好后,可以使用UPC(一种编码方式)或者其他方式进行封包,然后上传服务器,将参数包对应的运营商、品牌、组群信息填入到参数包标签中,并将服务器分配的ID打入参数包中。Step S504 in FIG. 5, after the parameter package is prepared, the packet may be encapsulated by using UPC (an encoding method) or other methods, and then the server is uploaded, and the operator, brand, and group information corresponding to the parameter packet are filled in the parameter. In the package label, the ID assigned by the server is entered into the parameter package.
步骤S506,参数包上传成功后,终端发起参数配置流程,上报设备的信息及终端的参数包编号。 Step S506, after the parameter packet is successfully uploaded, the terminal initiates a parameter configuration process, reporting the information of the device and the parameter packet number of the terminal.
步骤S508,服务器根据终端上报信息,决定是否下发参数包,如果找不到匹配的参数包或者参数包已经下发过,则走到步骤S510中;否则进入步骤S512,下发参数包描述信息DD(download description,下载升级包描述符)。Step S508, the server determines whether to send the parameter packet according to the information reported by the terminal, if the matching parameter packet is not found or the parameter packet has been delivered, go to step S510; otherwise, go to step S512, and send the parameter packet description information. DD (download description, download upgrade package descriptor).
步骤S514,终端根据DD描述信息开始进入DL下载数据包流程,下载大数据量的数据包。当数据包顺利下载完成后,步骤S516根据数据模板内容,进行参数配置。Step S514, the terminal starts to enter the DL download data packet process according to the DD description information, and downloads a data packet of a large data amount. After the data package is successfully downloaded, step S516 performs parameter configuration according to the content of the data template.
步骤S518,配置完成后,上报服务器配置的结果。Step S518, after the configuration is completed, report the result of the server configuration.
以上流程大概描述了大数据包参数配置的大致流程。下面再对终端、服务器交互流程进行详细描述。The above process roughly describes the general flow of large packet parameter configuration. The terminal and server interaction processes are described in detail below.
图6是根据本发明优选实施例的终端、服务器交互流程示意图,如图6所示,图中的步骤S618,S620,S622是数据包上传的过程。由于参数配置,在本优选实施例中主要是以解决不同运营商、不同品牌或者组群的参数配置问题为例进行说明,所以上传数据包的时候,需要填入数据包的相关信息,并由于服务器分配数据包唯一编号ID,ID值会跟随数据包一起下发,服务器会根据终端上报的ID值,来判断要不要下发新的数据包。FIG. 6 is a schematic diagram of a terminal and server interaction process according to a preferred embodiment of the present invention. As shown in FIG. 6, steps S618, S620, and S622 in the figure are data packet uploading processes. Due to the parameter configuration, in the preferred embodiment, the parameter configuration problem of different operators, different brands or groups is mainly explained as an example. Therefore, when uploading a data packet, it is necessary to fill in the relevant information of the data packet, and The server assigns a unique ID number to the data packet. The ID value is sent along with the data packet. The server determines whether to send a new data packet based on the ID value reported by the terminal.
图6步骤S602,终端根据插入SIM卡信息和设备参数,读取运营商、品牌、组群,当新插入SIM卡的设备开机的时候,触发参数配置请求,给服务器上报设备信息及参数配置请求。In step S602, the terminal reads the operator, the brand, and the group according to the inserted SIM card information and the device parameters. When the device that newly inserts the SIM card is powered on, the terminal triggers the parameter configuration request, and reports the device information and parameter configuration request to the server. .
步骤S604-S606,服务器根据终端上报信息,进行鉴权,如果鉴权通过,则返回终端响应200(200OK),请求终端鉴权;终端鉴权通过后,回复服务器响应200。Steps S604-S606, the server performs authentication according to the information reported by the terminal. If the authentication is passed, the terminal returns a response 200 (200 OK) to request terminal authentication. After the terminal authentication is passed, the server responds with a response 200.
步骤S608,服务器收到终端鉴权通过消息,主动获取(GET)终端数据包ID值。Step S608, the server receives the terminal authentication pass message, and actively acquires (GET) the terminal data packet ID value.
步骤S610,终端上报自身的数据包ID值,默认出厂为0。In step S610, the terminal reports its own packet ID value, and the default factory is 0.
步骤S612,服务器根据终端上报的运营商(OEM)、品牌(BRAND)、组群(GROUP)信息,确定是否需要下发数据包,如果需要,则下发包描述符DD,进入DL下载。In step S612, the server determines whether the data packet needs to be delivered according to the operator (OEM), brand (BRAND), and group (GROUP) information reported by the terminal, and if necessary, sends the packet descriptor DD to enter the DL download.
步骤S614,终端根据DD描述符信息进入DL下载,该过程支持断点续传、多线程,可以满足大数据包的下载要求;当数据包下载完成后,根据包中数据模板的信息进行配置,配置完成给服务器上报配置结果。Step S614, the terminal enters the DL download according to the DD descriptor information, and the process supports the resume transmission of the breakpoint and the multi-threading, which can meet the download requirement of the big data packet; when the data packet is downloaded, the configuration is performed according to the information of the data template in the packet. The configuration is complete and the configuration result is reported to the server.
步骤S616,服务器记录最后的上报结果。 In step S616, the server records the last reported result.
最后,对终端自身状态如何切换做下描述:Finally, describe how to switch the terminal's own state:
对于支持参数配置的终端,划定特定的分区,这种分区恢复出厂设置的时候,可以不被擦除,避免用户没有更换SIM会再次下载参数配置包,浪费流量和时间,图8是根据本发明优选实施例的终端设备分区示意图,如图8所示,新增的定制(Customization)分区,只能被特定工程指令或者更换SIM卡后,才会被擦除,普通恢复出厂设置不会被擦除。For a terminal that supports parameter configuration, a specific partition is demarcated. When the partition is restored to the factory settings, it may not be erased. This prevents the user from downloading the parameter configuration package without replacing the SIM, which wastes traffic and time. Figure 8 is based on this. A schematic diagram of the terminal device partitioning of the preferred embodiment of the present invention, as shown in FIG. 8, the newly added Customization partition can only be erased after a specific engineering instruction or a SIM card is replaced, and the normal factory reset will not be Erase.
图9是根据本发明优选实施例的终端设备状态切换示意图,如图9所示,当设备第一次插入SIM卡开机的时候,终端属于未配置的状态,经过参数配置后,变为配置状态,当输入特殊工程指令或者更换SIM卡,需要重新进行参数配置的时候,擦除掉Customization分区,可以重新进行参数配置。当普通重启或者恢复出厂设置,仅擦除用户数据,不擦参数分区,不用再次去下载参数配置包。FIG. 9 is a schematic diagram of state switching of a terminal device according to a preferred embodiment of the present invention. As shown in FIG. 9 , when the device is powered on for the first time, the terminal belongs to an unconfigured state, and after the parameter configuration, the configuration state is changed. When inputting special engineering instructions or replacing the SIM card, you need to re-configure the parameters, erase the Customization partition, and re-configure the parameters. When the normal restart or restore factory settings, only the user data is erased, the parameter partition is not erased, and the parameter configuration package is not downloaded again.
综上所述,大数据包终端参数配置方法,克服了普通参数配置的局限,让大数据包可以顺利下载并对设备进行大数据量的参数配置。并且利用了OMA DM协议的鉴权、DL下载的方法,让整个过程更加安全,可靠。In summary, the parameter configuration method of the big data packet terminal overcomes the limitation of the common parameter configuration, so that the large data packet can be smoothly downloaded and the parameter configuration of the large data amount of the device is performed. And the use of OMA DM protocol authentication, DL download method, making the whole process more secure and reliable.
在另外一个实施例中,还提供了一种软件,该软件设置为执行上述实施例及优选实施例中描述的技术方案。In another embodiment, a software is provided that is configured to perform the technical solutions described in the above embodiments and preferred embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is also provided, in which the above software is stored, including but not limited to an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种参数配置的数据处理方法、装置及参数配置方法、装置,具有以下有益效果:解决了相关技术中参数配置的数据量较大时下载不便的问题,能够方便地使用多种下载方式下载参数配置的文件数据,使得参数配置的数据文件可以进一步增大容量,为提升用户体验提供了技术基础。 As described above, the data processing method, apparatus, and parameter configuration method and apparatus for parameter configuration provided by the embodiments of the present invention have the following beneficial effects: the problem of inconvenient downloading when the data amount of the parameter configuration in the related art is large is solved. The file data of the parameter configuration can be conveniently downloaded by using multiple download modes, so that the data file configured by the parameter can further increase the capacity, and provides a technical basis for improving the user experience.

Claims (10)

  1. 一种参数配置的数据处理方法,包括:A data processing method for parameter configuration, comprising:
    将参数配置的数据模板及文件数据封装为参数包,其中,所述数据模板设置为终端按照所述数据模板导入所述文件数据并进行参数配置;Encapsulating the data template and the file data of the parameter configuration into a parameter package, where the data template is configured to import the file data according to the data template and perform parameter configuration;
    将所述参数包上传。Upload the parameter package.
  2. 根据权利要求1所述的方法,其中,在将所述参数包上传之后,还包括:The method of claim 1, wherein after the parameter packet is uploaded, the method further comprises:
    为所述参数包配置对应的标识及用户类型信息;Configuring a corresponding identifier and user type information for the parameter package;
    在终端发起参数配置流程的情况下,根据所述终端上报的用户类型信息和/或终端的参数包的标识确定下发的参数包;Determining the delivered parameter packet according to the user type information reported by the terminal and/or the identifier of the parameter packet of the terminal, where the terminal initiates the parameter configuration process;
    将确定下发的参数包的描述信息发送给所述终端。Sending description information of the delivered parameter packet to the terminal.
  3. 根据权利要求2所述的方法,其中,所述用户类型信息包括以下至少之一:The method of claim 2, wherein the user type information comprises at least one of the following:
    用户的运营商信息,用户的终端的品牌信息,用户的群组信息。User's carrier information, brand information of the user's terminal, and group information of the user.
  4. 根据权利要求2所述的方法,其中,根据所述终端上报的终端的参数包的标识确定下发的参数包;将确定下发的参数包的描述信息发送给所述终端包括:The method according to claim 2, wherein the parameter packet sent by the terminal is determined according to the identifier of the parameter packet of the terminal reported by the terminal; and the sending the description information of the sent parameter packet to the terminal includes:
    根据所述终端上报的终端的参数包的标识,确定是否存在生成时间晚于该参数包的参数包;Determining, according to the identifier of the parameter packet of the terminal reported by the terminal, whether there is a parameter packet whose generation time is later than the parameter packet;
    如果存在,则将所述生成时间晚于该参数包的参数包的描述信息发送给所述终端;和/或,If yes, sending the description information of the parameter packet whose generation time is later than the parameter packet to the terminal; and/or,
    如果不存在,则拒绝下发参数包。If it does not exist, it refuses to deliver the parameter package.
  5. 一种参数配置方法,包括:A parameter configuration method includes:
    下载参数包,其中,所述参数包中包含数据模板及文件数据;Downloading a parameter package, wherein the parameter package includes a data template and file data;
    按照所述数据模板导入所述文件数据并进行参数配置。Importing the file data according to the data template and configuring parameters.
  6. 根据权利要求5所述的方法,其中,下载参数包之前,还包括:The method according to claim 5, wherein before downloading the parameter package, the method further comprises:
    发起参数配置流程,并上报用户类型信息和/或终端的参数包的标识,其中,所述用户类型信息和/或终端的参数包的标识用于服务器确定下发的参数包。 The parameter configuration process is initiated, and the identifier of the user type information and/or the parameter packet of the terminal is reported, wherein the identifier of the user type information and/or the parameter packet of the terminal is used by the server to determine the delivered parameter packet.
  7. 根据权利要求6所述的方法,其中,在发起参数配置流程,并上报用户类型信息和/或终端的参数包的标识之后,还包括:The method according to claim 6, wherein after the parameter configuration process is initiated and the user type information and/or the identifier of the parameter package of the terminal are reported, the method further includes:
    接收所述服务器确定下发的参数包的描述信息;Receiving, by the server, description information of the parameter packet delivered;
    根据所述描述信息下载所述参数包。The parameter packet is downloaded according to the description information.
  8. 根据权利要求5至7中任一项所述的方法,其中,下载参数包包括:The method according to any one of claims 5 to 7, wherein downloading the parameter package comprises:
    使用DL方式或者HTTP方式下载所述参数包。The parameter package is downloaded using DL mode or HTTP mode.
  9. 一种参数配置的数据处理装置,包括:A data processing device configured by parameters, comprising:
    封装模块,设置为将参数配置的数据模板及文件数据封装为参数包,其中,所述数据模板设置为终端按照所述数据模板导入所述文件数据并进行参数配置;The encapsulating module is configured to encapsulate the data template and the file data of the parameter configuration into a parameter package, where the data template is configured to import, by the terminal, the file data according to the data template and perform parameter configuration;
    上传模块,设置为将所述参数包上传。Upload module, set to upload the parameter package.
  10. 一种参数配置装置,包括:A parameter configuration device comprising:
    下载模块,设置为下载参数包,其中,所述参数包中包含数据模板及文件数据;The download module is configured to download a parameter package, where the parameter package includes a data template and file data;
    参数配置模块,设置为按照所述数据模板导入所述文件数据并进行参数配置。 The parameter configuration module is configured to import the file data according to the data template and perform parameter configuration.
PCT/CN2014/094699 2014-08-25 2014-12-23 Parameter configuration data processing method and device, and parameter configuration method and device WO2015117522A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410422892.4A CN104243202A (en) 2014-08-25 2014-08-25 Data processing method and device of parameter configuration and parameter configuration method and device
CN201410422892.4 2014-08-25

Publications (1)

Publication Number Publication Date
WO2015117522A1 true WO2015117522A1 (en) 2015-08-13

Family

ID=52230602

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094699 WO2015117522A1 (en) 2014-08-25 2014-12-23 Parameter configuration data processing method and device, and parameter configuration method and device

Country Status (2)

Country Link
CN (1) CN104243202A (en)
WO (1) WO2015117522A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116170307A (en) * 2023-04-26 2023-05-26 江西联创精密机电有限公司 Communication simulation device configuration method and device, readable storage medium and electronic device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104640135B (en) 2015-01-07 2018-05-15 宇龙计算机通信科技(深圳)有限公司 A kind of user configuration information acquisition methods and device
CN106603259B (en) * 2015-10-16 2019-08-30 大唐移动通信设备有限公司 The configuration data method of calibration and device of network element, network management device
CN106209429A (en) * 2016-06-29 2016-12-07 北京小米移动软件有限公司 Collecting method and device
CN109144565B (en) * 2018-09-20 2023-05-23 三六零科技集团有限公司 Processing method and device for configuration file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848760A (en) * 2005-08-30 2006-10-18 华为技术有限公司 Software assembly parameter configuration method, and system and terminal equipment thereof
CN101505549A (en) * 2008-02-04 2009-08-12 华为技术有限公司 Configuration method and apparatus for terminal equipment
CN101674263A (en) * 2008-09-11 2010-03-17 华为技术有限公司 Transmission method, transmission system, transmission device and receiving device of large data object

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848760A (en) * 2005-08-30 2006-10-18 华为技术有限公司 Software assembly parameter configuration method, and system and terminal equipment thereof
CN101505549A (en) * 2008-02-04 2009-08-12 华为技术有限公司 Configuration method and apparatus for terminal equipment
CN101674263A (en) * 2008-09-11 2010-03-17 华为技术有限公司 Transmission method, transmission system, transmission device and receiving device of large data object

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116170307A (en) * 2023-04-26 2023-05-26 江西联创精密机电有限公司 Communication simulation device configuration method and device, readable storage medium and electronic device

Also Published As

Publication number Publication date
CN104243202A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN108769165B (en) Data processing method in Internet of things and Internet of things access system
WO2015117522A1 (en) Parameter configuration data processing method and device, and parameter configuration method and device
US10268471B2 (en) Method for upgrading terminal system, terminal, and system
WO2017088388A1 (en) Method and system for upgrading sdk of application
CN103513998A (en) Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN104754062B (en) Information popularization method, server and user terminal based on internet
US20080037452A1 (en) Method Supplying Content to a Device
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN110471692B (en) Over-the-air upgrading method, device, equipment and storage medium of terminal program
CN104618437B (en) A kind of adaptation method that interface is set with android terminal device systems
CN110175042A (en) A kind of firmware upgrade method, device and its relevant device
US10990449B2 (en) Managing application relationships in machine-to-machine systems
CN102591678A (en) Method and system for allocating identifier of software component
CN104852971B (en) Plug-in protocol device and data communication method based on plug-in protocol
KR100663497B1 (en) Method for notifying service information to wireless terminal
CN108376078A (en) Upgrade method, device and the household appliance of equipment
WO2018033094A1 (en) Rich communication suite release platform, method and system for version update, and mobile terminal
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN111651180B (en) Firmware updating method and device, processor and intelligent gateway equipment
CN111142905A (en) OTA (over-the-air) upgrading method, OTA server and OTA upgrading system
WO2007022676A1 (en) A system for reporting and obtaining device information and the method therefor
JP7384920B2 (en) Method of providing subscription profile, subscriber identity module, and subscription server
WO2014180194A1 (en) Mobile terminal configuration method and system
CN103813014A (en) Information processing method and electronic devices
CN111049906A (en) Method, device and system for unified management of wireless network bridge network

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881745

Country of ref document: EP

Kind code of ref document: A1