Embodiment
Figure 1 shows that an embodiment of the method for a kind of initiating management session provided by the invention, the method comprises the steps:
Step 100, management server sends managing conversation notification message to being managed terminal, wherein, carries the policy information being used to indicate the opportunity being managed terminal determination initiating management session in this notification message;
Step 102, be managed the managing conversation notification message that terminal receiving management server sends, the opportunity that the managing conversation between management server is initiated is determined according to the policy information in this notification message, on this opportunity, initiate to described management server the managing conversation corresponding to described managing conversation notification message.
The initiation of this managing conversation can realize by sending managing conversation initiation message to described management server, and the present invention does not limit which kind of message of employing.
In one embodiment of the invention, multiple time period information in this policy information, can be comprised, and the substrategy information of initiating management session in the time period of this information instruction time period.These substrategy information can comprise:
1, the first substrategy information, is used to indicate within the time period that described time period information is corresponding, by the described time (terminal is determined) being managed terminal and determining to described management server initiating management session; And/or
2, the second substrategy information, is used to indicate when arriving time period corresponding to described time period information, described in be managed terminal immediately to management server initiating management session (initiating immediately); And/or
3, the 3rd substrategy information, is used to indicate within the time period that described time period information is corresponding, described in be managed terminal judges self idle time, to described management server initiating management session (idle initiate); And/or
4, the 4th substrategy information, is used to indicate within the time period that described time period information is corresponding, described in be managed terminal after the confirmation receiving user, according to the instruction of user to described management server initiating management session (user's confirmation).
Pattern corresponding to the first substrategy information selects whenever initiating management session by being managed terminal, mainly for the situation downloading software or renewal firmware, if being managed terminal all may cause server stress excessive with server contact all immediately, then can time of being connected with server of unconnected terminal by being managed terminal Stochastic choice, alleviate the pressure of server.
Pattern corresponding to the second substrategy information is for urgent renewal or administration configuration, requirement is managed terminal after receiving managing conversation notification message, initiating management session immediately, accepts the administration configuration of management server, and this pattern may impact being managed the business run in terminal.
Pattern corresponding to the 3rd substrategy information, for non-emergent administration configuration, is managed terminal whether has business in operation by being managed terminal judges, do not disturb the service operation being managed terminal as far as possible, start session when being managed terminal idle.Here the definition of " free time " can be managed without any task run in terminal, also can be have task run, but being managed terminal has enough surplus resources to conversate, and can not impact existing business.
Pattern corresponding to the 4th substrategy information can have the situations such as renewal for needs user charges or to existing business, starts session and carry out administration configuration after user confirms.
Certainly, can also comprise other substrategys, the present invention is not exhaustive one by one.
In one embodiment of the invention, management server is to being managed in managing conversation notification message that terminal sends, and policy information can the form of parameter as shown in table 1 carry.
Wherein time period parameter TimePeriod can be relative time also can be absolute time, if absolute time, it is then the absolute time information of such as " 09:00:00AM-2010 on December 22nd, 2010 09:00:15AM on December 22 ", how certain management server represents this absolute time segment information, and be managed terminal and how identify this absolute time segment information, the present invention does not limit.If time period parameter TimePeriod is relative time, then this time can be for a certain event of specifying or moment after time period, as can be be managed after terminal receives managing conversation notification message or management server sends within 15 seconds after managing conversation notification message, within 15-30 second, etc.How concrete management server represents this relative time segment information, and is managed terminal and how identifies this relative time segment information, and the present invention does not limit.
Table 1
Certainly, it is pointed out that in certain embodiments of the present invention, this policy information also only can comprise a time period information and a corresponding substrategy information; Or only comprise a sub-policy information, and do not comprise corresponding time period information, namely policy information is exactly substrategy information itself.
In addition, in one embodiment of the invention, represent by absolute time when the time period, when being absolute time section, also can with two Parametric Representations, a parameter is the initial time parameter of time period, and another parameter is the termination time parameter of time period.
In the embodiment above, the policy information that can send according to management server owing to being managed terminal determines to be managed the opportunity of terminal initiating management session, makes the opportunity of terminal initiating management session more flexible.
Such as, when management strategy is for " terminal is determined ", terminal can select any time initiating management session in section sometime, and the flexibility ratio of terminal is high;
When management strategy is " idle initiation ", terminal according to the idle condition of self, can select idle initiating management session on opportunity, little on the impact of other processes or service.Especially, after initiating management session, some bookkeeping can cause being managed terminal and restarts or take larger resource, if now do not consider the idle condition being managed terminal, can seriously affect other processes or service.And adopt which, other processes in terminal of being managed or service can not be affected, reduce the interference that bookkeeping uses user.
And when management strategy is " user's confirmation ", be managed terminal and only under user's instruction, initiate administrative session operations, which can to the right to know of user management operation and control, user when do not want to use be managed terminal make disturbed, instruction can not be sent to terminal, management be controlled more flexible.
In one embodiment of the invention, the substrategy information that the different time sections comprised in policy information is corresponding different.Such as, such as, within first time period, adopt looser pattern, within second time period, then adopt more urgent pattern.
As for software download or renewal, within first time period (as 24 hours) that server sends notice, above-mentioned mode 3 can be adopted, session is started when being namely managed terminal idle, if be managed terminal in first time period to fail the free time always, then within second time period, adopt above-mentioned pattern 2, namely require to be managed terminal initiating management session immediately, thus realize the renewal being managed terminal in time.
Hereafter introduce the instantiation of the application of the present invention in OMA DM agreement and BBF CWMP agreement.
OMA DM protocol procedures comprises three phases: notification phase (Alert Phase), session establishment phase (Setup Phase), the session management stage (Management Phase).When management server wish initiatively to be managed terminal manage time, OMA DM agreement defines management server to be needed to use the notification message notification terminal specified in this standard of Package 0 to set up managing conversation with it at AlertPhase, realizes managing.
The structure of package 0 as shown in Figure 2, in the structure of this package 0, message header (notification-hdr) comprises version information (version), user interaction patterns (ui-mode), promoter (the initiator of management activities, can for being managed terminal or management server), following expansion content (feature use), session id (sessionid), the information such as server info (server-identifier), manufacturer's extend information (vendor specific) etc. is comprised in message body (notification-body), out of Memory in this structure is not listed in fig. 2.
Policy information is not comprised, to inform that terminal is after receiving notice, according to which kind of is tactful or how select time starts managing conversation in this notification message.Therefore in the present embodiment of the present invention, can expand Future-use and/or Vendor specific, make it comprise policy information in previous embodiment, this policy information can comprise the time period information described in previous embodiment and corresponding substrategy.Equally, this policy information also only can comprise a time period information and a corresponding substrategy information; Or only comprise a sub-policy information, and do not comprise corresponding time period information, namely policy information is exactly substrategy information itself.
And in BBF CWMP agreement, Automatic Configuration Server (Auto-configuration Server, ACS) connection request (Connection Request) informing mechanism request customer premises equipment, CPE (CPE can at any time be used, namely Customer Premises Equipment, be also managed terminal) initiate a connection (i.e. managing conversation) to ACS.This notice request is an empty HTTP request message, do not comprise any content, in existing BBF CWMP agreement, CPE must respond the request of ACS upon receiving the message in 30 seconds, and initiating management session accepts management, so this mechanism can not provide one session setup mechanism flexibly for being managed terminal.
In one embodiment of the invention, for BBF CWMP agreement, comprise policy information in the HTTP request that can send at management server (as ACS), this policy information comprises the time period information described in previous embodiment and corresponding substrategy.
Below only for OMA DM agreement and BBF CWMP agreement, embodiments of the present invention are described, persons of ordinary skill in the art may appreciate that the present invention is not limited to be applied to OMA DM agreement and BBF CWMP agreement.
As shown in Figure 3, in one embodiment of the invention, being managed terminal and can comprising receiving circuit 300, processor 302, transtation mission circuit 304 in above-described embodiment:
Receiving circuit 300, for receiving the managing conversation notification message from management server;
In some embodiments of the invention, this is managed terminal can be the terminal meeting OMA DM agreement, such as mobile phone, data card, the wireless terminals such as fixed station.Now, the receiving circuit that these wireless terminals are corresponding can comprise the relevant radio circuit of antenna 3000 and antenna and chip 3002.
In other embodiments of the present invention, this is managed terminal can be the terminal meeting BBF CWMP, for example, home gateway, the customer premises equipment, CPEs such as Set Top Box.The receiving circuit that now these customer premises equipment, CPEs are corresponding can be made up of network interface and the corresponding drive circuit of network interface, also can be that WiFi interface and WiFi circuit or chip are formed, also can be made up of infrared interface and respective drive circuit, also can be made up of blue tooth interface and respective drive circuit.
Processor 302, for the treatment of the conversation informing message that described receiving circuit 300 receives, obtains the policy information in this notification message, and determines according to described policy information the opportunity being managed the managing conversation between terminal and described management server described in initiation;
In some embodiments of the invention, this is managed terminal can be the terminal meeting OMA DM agreement, such as mobile phone, data card, the wireless terminals such as fixed station.Now, this processor can be made up of baseband processor 3022 and application processor 3020, the notification message of the radio circuit that antenna and antenna are correlated with by baseband processor 3022 and the radiofrequency signal form that chip receives is treated to the notification message of the accessible digital signal form of application processor 3020, application processor 3020 parses policy information from the notification message of digital signal form, and determines according to described policy information the opportunity being managed the managing conversation between terminal and described management server described in initiation.
In other embodiments of the present invention, this is managed terminal can be the terminal meeting BBF CWMP, for example, home gateway, the customer premises equipment, CPEs such as Set Top Box.Now this processor 302 will from network interface or other interfaces (as WiFi, bluetooth, infrared interface etc.) notification message of digital signal form that receives, and policy information is parsed from this notification message, determine according to described policy information the opportunity being managed the managing conversation between terminal and described management server described in initiation.
Transtation mission circuit 300, for the instruction according to processor 302, sends session initiation message on the described opportunity determined to described management server, to initiate the described managing conversation corresponding to described managing conversation notification message.
In some embodiments of the invention, this is managed terminal can be the terminal meeting OMA DM agreement, such as mobile phone, data card, the wireless terminals such as fixed station.Now, the transtation mission circuit 300 that these wireless terminals are corresponding can comprise the relevant radio circuit of antenna 3000 and antenna and chip 3002 (this transtation mission circuit can share a set of antenna with receiving circuit, radio circuit and chip).The application of wireless terminal process 3020 devices determine initiate management can opportunity after, build managing conversation and initiate message, and by baseband processor 3022, the managing conversation of digital signal form to be initiated message transformation be radiofrequency signal, on the opportunity determined, this signal is launched by the relevant radio circuit of antenna 3000 and antenna and chip 3002.
In other embodiments of the present invention, this is managed terminal can be the terminal meeting BBF CWMP, for example, home gateway, the customer premises equipment, CPEs such as Set Top Box.The transtation mission circuit 300 that now these customer premises equipment, CPEs are corresponding can be made up of network interface and the corresponding drive circuit of network interface, also can be that WiFi interface and WiFi circuit or chip are formed, also can be made up of infrared interface and respective drive circuit, also can be made up of blue tooth interface and respective drive circuit.The processor 302 of customer premises equipment, CPE determine initiate management can opportunity after, build managing conversation and initiate message, on the opportunity determined, this signal is sent to management server by network interface or other interfaces (as WiFi, bluetooth, infrared interface etc.).
In Fig. 3, be illustrated for wireless terminal, but described in passing through above, those skilled in the art will appreciate that and the invention is not restricted to wireless terminal.In Fig. 3, transtation mission circuit and receiving circuit are made up of same set of antenna and radio circuit and chip, but those skilled in the art will appreciate that they also can be made up of the radio circuit of different antennas and correspondence thereof and chip.
In this embodiment, the policy information that can send according to management server owing to being managed terminal determines to be managed the opportunity of terminal initiating management session, makes the opportunity of terminal initiating management session more flexible.
As previously mentioned, the terminal that is managed in the present embodiment is applicable to method in previous embodiment and correlation properties, so, in one embodiment of the invention, the processor 302 being managed terminal also can be used for resolving described policy information, obtain the one or more time period information in described policy information, and be used to indicate the substrategy information of strategy of initiating management session in time period corresponding to each time period information.
Be understandable that, for wireless terminal, above function can be completed by application processor 3020.
In this embodiment, be managed terminal and can configure different substrategys according to the different time periods, make the management being managed terminal more flexible.
In one embodiment of the invention, described processor 302 also can be used for:
According to described substrategy information, within the corresponding time period, independently determine the opportunity of initiating described managing conversation; (particularly, for wireless terminal, application processor 3020 determines opportunity according to substrategy, and build managing conversation initiation message, issue on the opportunity determined the session initiation message that this message conversion is radiofrequency signal form by baseband processor 3020, and sent to management server by antenna 3000 and radio circuit and chip 3002; For customer premises equipment, CPE, the opportunity of initiating described managing conversation determined by processor 302, and builds managing conversation initiation message, sends this managing conversation initiate message on the opportunity determined by transtation mission circuit; The specific implementation of following function is similar, repeats no more.) and/or
According to described substrategy information, within the corresponding time period, described transtation mission circuit is indicated to send described session initiation message immediately; And/or
According to described substrategy information, whether be idlely managed terminal described in judgement, if idle, then indicate described transtation mission circuit to send described session initiation message; And/or
According to described substrategy information, after the confirmation receiving user, described transtation mission circuit is indicated to send described session initiation message.
The technique effect that this embodiment can reach please participate in above to the first substrategy information to the description of the effect of the 4th substrategy information, repeat no more herein.
As shown in Figure 4, in one embodiment of the invention, the management server 40 in above-described embodiment can comprise receiving circuit 400, processor 402, transtation mission circuit 404, wherein:
Processor 402, for building the managing conversation notification message comprising policy information, policy information be used for for described in be managed the opportunity that terminal determines to management server initiating management session;
Transtation mission circuit 404, under the instruction of processor 402, sends described managing conversation notification message to being managed terminal;
Receiving circuit 400, is managed the managing conversation initiation message of terminal in the transmission on opportunity determined according to described management strategy information described in receiving.
In one embodiment of the invention, the policy information carried in the conversation informing message that the processor 402 of management server 40 builds comprises:
One or more time period information; And
Be used to indicate the substrategy information of the strategy of initiating management session in time period corresponding to each time period information.
In one embodiment of the invention, the substrategy information that the described policy information that the notification message that the processor 402 of management server 40 builds carries comprises comprises:
First substrategy information, is used to indicate within the time period that described time period information is corresponding, by the described time being managed terminal and determining to described management server initiating management session; Or
Second substrategy information, is used to indicate when arriving time period corresponding to described time period information, described in be managed terminal immediately to management server initiating management session; Or
3rd substrategy information, is used to indicate within the time period that described time period information is corresponding, described in be managed terminal judges self idle time, to described management server initiating management session; Or
4th substrategy information, is used to indicate within the time period that described time period information is corresponding, described in be managed terminal after the confirmation receiving user, according to the instruction of user to described management server initiating management session.
In the embodiment of above management server, the policy information that can send according to management server owing to being managed terminal determines to be managed the opportunity of terminal initiating management session, makes the opportunity of terminal initiating management session more flexible.
The above is embodiments more of the present invention, and equivalent replacement or the obvious distortion of the understandable above-mentioned execution mode of any person of ordinary skill in the field all belong to protection scope of the present invention.