summary of the invention
The problem that the embodiment of the present invention exists for prior art, a kind of method for activating terminal equipment software component, terminal equipment and device management server are provided, terminal equipment can select suitable application program to carry out activating software assembly for the component software of different application type, without user, select application program, guaranteed user's experience.
The embodiment of the present invention provides a kind of method for activating terminal equipment software component, comprising:
By the application type parameter pre-defining in data model being set, the application type of notification terminal equipment component software to be activated;
Transmission is used for the order of activating software assembly to described terminal equipment, to control described terminal equipment according to the application type of described component software, selects applicable software to activate described component software.
The embodiment of the present invention also provides a kind of method for activating terminal equipment software component, comprising:
According to the value of application type parameter in data model, obtain the application type of component software to be activated;
Receive for activating the order of described component software, and carry out according to the application type of described component software, select the operation of component software described in applicable software activation.
The embodiment of the present invention also provides a kind of device management server, comprising:
Software type arranges module, for the value pre-defining in the application type parameter of data model is set, thereby the application type of component software to be activated is set;
Activation command sending module, for sending for control terminal according to the application type of described component software, selects applicable software to activate the order of described component software to be activated.
The embodiment of the present invention also provides a kind of terminal equipment, comprising:
Software type acquisition module, for the value of the application parameter type by described data model, obtains the application type of component software to be activated;
Active module, for receiving when activating the order of described component software, the application type of the component software to be activated obtaining according to described software type acquisition module, selects and component software described in corresponding the first software activation of described component software application type.
The embodiment of the present invention is by before sending order control terminal activating software assembly to terminal equipment at device management server, first the application type of component software to be activated is notified to terminal equipment, terminal equipment just can know that device management server control activates the object of this component software like this, terminal equipment just can be according to the application type of this component software, select applicable software to activate this component software, and needn't be selected by user the software of activating software assembly, guaranteed user's experience.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
embodiment
For device management protocols such as DM, CWMP, terminal can offer the information that server manages, and for DM agreement, this information is a kind of management object, and this management object, with the form performance of tree, also can be called management tree.For CWMP agreement, this information is a kind of data framework model, in the embodiment of the present invention, terminal in each device management protocol is offered to the information that server manages and is referred to as data model.
Be illustrated in figure 3 method for activating terminal equipment software component embodiment mono-flow chart of the present invention, comprise:
Step 101, by the application type parameter pre-defining in data model being set, the application type of notification terminal equipment component software to be activated;
The order that step 102, transmission are used for activating software assembly is to terminal equipment, with control terminal activating software assembly.
Be illustrated in figure 4 method for activating terminal equipment software component embodiment bis-flow charts of the present invention, comprise:
Step 201, according to the value of application type parameter in described data model, obtain the application type of component software to be activated;
Step 202, reception are for activating the order of described component software and carrying out the operation that activates described component software.
In software component management object (SCOMO) agreement providing based on OMA DM agreement, data model is management object, its form of expression is tree-shaped management tree, can be by a pre-defined type node (Category) in management tree as an application type parameter, by the value of this node is set, application type that can notification terminal equipment component software to be activated.Specific to CWMP agreement, data model is a data frame model, can in this data framework model, define an application type parameter, the type that the value by this application type parameter is set just can notification terminal equipment component software to be activated.
In the embodiment of the present invention one, two, send order control terminal activating software assembly to terminal equipment at device management server before, first the application type of component software to be activated is notified to terminal equipment, terminal equipment just can know that device management server control activates the object of this component software like this, terminal equipment just can be according to the application type of this component software, select applicable software to activate this component software, and needn't be selected by user the software of activating software assembly, guaranteed user's experience.
The embodiment of the present invention three provides a kind of method for activating terminal equipment software component.In this embodiment, before sending order control terminal activating software assembly, device management server is define styles (Category) node in the management tree of terminal equipment first, and the value of this node is set to for showing the sign of component software purposes.
Operator can arrange the purposes of component software, and the situation that is resource file for component software for example can be by the purposes of resource file as table six setting.
Purposes sign and the implication thereof of the resource file relating in table six, the embodiment of the present invention
Purposes represents |
Implication |
0 (default value) |
This resource file will directly be presented to user |
1 |
This resource file will be as icon |
2 |
This resource file will be as the tinkle of bells |
3 |
This resource file will be as background |
4 |
? |
Terminal equipment and device management server can be held consultation in advance, like this, when terminal equipment is known the purposes sign of a certain resource file, just can carry out corresponding operation.
For example, device management server is distributed to terminal equipment by a picture file, device management server is pre-defined type (Category) node in the management tree of terminal equipment, as shown in Figure 5, be illustrated in figure 5 and in method for activating terminal equipment software component embodiment tri-of the present invention, add the management tree structural representation after type node, then the value of the type (Category) node is set to 0, terminal equipment, after receiving the fill order of device management server transmission, will be used Photo Browser that this picture file is shown so; If the value of the type (Category) node is set to 3, terminal equipment, after receiving the fill order that management server sends, will be set to background by this picture file so.
Also child node that can be using type (Category) node as Active node, before device management server issues fill order control activating software assembly, the value of the type (Category) node is set, terminal equipment is after receiving fill order, can, according to the value of type node, carry out operation accordingly.
The embodiment of the present invention four provides a kind of method for activating terminal equipment software component, and the present embodiment is to the difference of embodiment tri-: the value of type in the present embodiment four (Category) node is set to the protocol-identifier relevant with component software to be activated or standard sign or product type sign.By agreement, standard, the product type of each normal structure/incorporated business definition, identify the application type of component software to be activated, when terminal equipment is received the fill order of device management server, can identify to select corresponding the first software to activate this component software according to this protocol-identifier or standard sign or product type.
For example, the value of device management server type (Category) node is set to MACROMEDIA_FLASH, when terminal equipment receives fill order, can use the Flash playout software broadcasting of macromedia company to download to the resource file in terminal equipment.If the value of device management server type (Category) node is set to OMA_LFC, when terminal equipment receives fill order, can use based on OMA appearance customization (Look and FeelCustomization, abbreviation LFC) the terminal appearance hypervisor operation of protocol development downloads to the resource file in terminal equipment, and this resource file is set to screen protection.
The embodiment of the present invention five provides a kind of method for activating terminal equipment software component, the difference of the present embodiment and embodiment tri-is: in the present embodiment, the value of type (Category) node is set to the sign of the first software that activating software assembly need to use.When a software is installed in terminal equipment and while registering the management of receiving equipment management server in software component management object, this software can be assigned with a sign (ID).The value of device management server type (Category) node is set to the sign of some software, with regard to devices illustrated management server, wish to process with this first software the component software to be activated downloading in terminal equipment so, terminal equipment, after receiving the fill order that device management server sends, just can select the software with the sign in type (Category) node to carry out corresponding operation.
For example, in software component management tree, have a MP3Player software subtree, this software be designated ID=0015, have the software subtree of a CRBT setting program, this software be designated ID=0021.In this software component management tree, also has a component software subtree, a corresponding mp3 file.Before sending this mp3 file of fill order control activation, a pre-defined type (Category) node in component software subtree corresponding to this mp3 file, the value of device management server this node is set to 0021, terminal equipment is after receiving fill order, and just this mp3 file is set to the CRBT of terminal equipment.If before sending this mp3 file of fill order control activation, a pre-defined type (Category) node in component software subtree corresponding to this mp3 file, the value of this node of device management server is set to 0015, terminal equipment, after receiving fill order, is play this mp3 file.
The embodiment of the present invention six provides a kind of method for activating terminal equipment software component, the difference of the present embodiment and embodiment five is: the value of type in the present embodiment (Category) node is set to the sign of the first software that activating software assembly need to use and moves the designated parameter information of this first software, in embodiment five, only by the sign that is set to the first software that activating software assembly need to use of type (Category) node.By the designated parameter information of operation the first software is set in type (Category) node, can be so that the more detailed information of terminal while being informed in activating software assembly.
For example, the value of device management server type (Category) node is set to OMA_LFCLock, after terminal equipment is received fill order, the terminal appearance hypervisor of use based on OMA LFC protocol development, the resource file to be excited downloading in terminal equipment is set to screen protection, and lock this screen protection, prevent that other people from revising.
And for example, the value of device management server type (Category) node is set to 0015 & repeat, after terminal equipment is received fill order, use MP3Player software to play and download to the mp3 file to be excited in terminal equipment, and loop play.
The embodiment of the present invention seven provides a kind of method for activating terminal equipment software component, in this embodiment, can in terminal equipment, preserve the corresponding relation of a component software classification and the needed software of activating software assembly, this corresponding relation can be with form or function representation.In this corresponding relation, the classification of component software can be by as the method as described in embodiment tri-, four, five, six, type by the node identification component software to be activated that increases in management tree, also can identify by the file extension of component software the type of component software; The needed software of activating software assembly can be the title of this software, generic resource identifier (Universal Resource Identifier be called for short URI) or this software ID value in management tree of this software in terminal equipment.When terminal equipment is received fill order, terminal equipment, according to the classification of this component software, is inquired about above-described corresponding relation, searches and whether has the corresponding software that can activate this component software, if had, with this component software of software activation finding; Otherwise terminal equipment ejects a dialog box, request user selects this component software of software activation, and the software records that the classification of this component software and user are selected is in above-mentioned corresponding relation.
Above embodiment tri-to embodiment seven is mainly with in SCOMO agreement, the type node pre-defining in management tree is set is example how the application type of notification terminal device software assembly is described, for CWMP agreement, can be by a pre-defined application type parameter in data framework model, by device management server, this application type parameter is arranged, thus the application type of notification terminal equipment component software to be activated.The value of application parameter type can be set to the sign for showing component software purposes, protocol-identifier or standard sign or product type identify, activating software assembly need to use the sign of first software or the sign of first software that activating software assembly need to use and the designated parameter information of moving this first software relevant to component software to be activated.
Be illustrated in figure 6 present device management server structural representation, comprise: software type arranges module 11, for the value pre-defining in the application type parameter of data model is set, thereby the application type of component software to be activated is set; Activation command sending module 12, after software type arranges the value that module 11 sets up application type parameter, for sending the order that activates described component software to be activated for control terminal.
Be illustrated in figure 7 terminal equipment structural representation of the present invention, comprise: software type acquisition module 21, for the value of the application parameter type by described data model, obtains the application type of component software to be activated; Active module 22, for the application type of the component software to be activated that obtains according to described software type acquisition module 21, selects and component software described in corresponding the first software activation of described component software application type.
In the embodiment of the present invention, device management server is before sending order control terminal activating software assembly, first by pre-defined application type parameter is set, notify the application type of component software to be activated, terminal just can be after receiving fill order like this, select suitable software activation component software to be activated, and do not need user to select, guaranteed user's experience.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.