CN102045698B - Method and device for acquiring terminal information - Google Patents

Method and device for acquiring terminal information Download PDF

Info

Publication number
CN102045698B
CN102045698B CN 200910110794 CN200910110794A CN102045698B CN 102045698 B CN102045698 B CN 102045698B CN 200910110794 CN200910110794 CN 200910110794 CN 200910110794 A CN200910110794 A CN 200910110794A CN 102045698 B CN102045698 B CN 102045698B
Authority
CN
China
Prior art keywords
message
terminal
server
aaa server
devicestatusrequest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200910110794
Other languages
Chinese (zh)
Other versions
CN102045698A (en
Inventor
肖晓玲
傅赛香
刘经及
钱韬
李秀艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200910110794 priority Critical patent/CN102045698B/en
Publication of CN102045698A publication Critical patent/CN102045698A/en
Application granted granted Critical
Publication of CN102045698B publication Critical patent/CN102045698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a method and device for acquiring terminal information. The method comprises the following steps of: detecting whether a terminal is activated or not and the starting state of the terminal if a DM (Data Management) server needs to subscribe terminal information; and indicating whether the starting information of the terminal is needed or not according to the detection result when subscribing the terminal information to an AAA server, and sending the terminal information to the DM server according to the indication of the DM server by the AAA server. The method and the device provided by the embodiment of the invention enable the terminal information sent to the DM server by the AAA server not to include the starting information of the terminal under certain occasions, thereby reducing the redundance of the information and saving resources.

Description

A kind of method and device that obtains end message
Technical field
The present invention relates to wireless communication field, particularly a kind of method and device that obtains end message.
Background technology
Aerial download technology (Over the Air, abbreviate OTA as) upload in the air and download technology with portable terminal is closely-related as a kind of, be subjected to extensive concern just day by day, and constantly perfect along with mobile terminal function, the OTA technology also will be applied in the mobile service more and more.
Mobile phone users can be realized data upload and download, functions such as various application programs, download pictures/the tinkle of bells, firmware updating are installed by the OTA technology, OTA has reduced operation maintenance and upgrade cost for functions such as the remote firmware of portable terminal loads, information is uploaded provide technical guarantee.
WiMAX NWG (WiMAX Network Group network working group) is devoted to the research on standard work of OTA technology, the OTA network configuration as shown in Figure 1, the network element that the OTA process relates to mainly comprises:
Terminal MS: be used for the equipment of access network, include but not limited to mobile phone, notebook, PDA, CPE (CPE Customer Premise Equipment customer premise equipment) etc.;
Aaa server (authentication, authentication and accounting server): be mainly used in terminal is carried out authentication;
DM server (device management server, Device Management Sever): be used for the server of management terminal device, existing general management agreement comprises: TR-069 and OMA etc.;
WIB server (WIMAX Initial Bootstrap, initialization start server): be used for providing the information that inserts DM server necessity to terminal to be configured, as: land information such as the user name of DM server and password; And
SPB (Service Provider Backoffice, rear end equipment): the relevant CAMEL-Subscription-Information that is used for providing Network and storage terminal.
Wherein the WIB server can be positioned at identical or different physical network entity with the DM server.
Terminal management is a bigger problem, comprising: the granting of terminal, basic parameter configuration, edition upgrading etc.; Terminal is provided pattern and is mainly comprised:
Custom terminal: dispose some necessary end message and operator's informaitons during appearance, even user profile; According to configuration information what, custom terminal is divided into activated terminals and un-activation terminal again, if the device activation value of statistical indicant (device activate flag) that terminal and DM management server are preserved is TRUE, then this terminal is activated terminals, if the device activation value of statistical indicant that terminal and device management server are preserved is FALSE, then this terminal is the un-activation terminal; Activated terminals does not need initial configuration can finish normal networking flow process, if terminal need be upgraded configuration, network side can further continue configuration to this terminal; The un-activation terminal need be carried out initial configuration and could normally be networked.
Retail terminal: be equivalent to bare machine when dispatching from the factory, some basic certificate informations may be arranged, but also need to carry out normally access network of initial configuration;
Separation between machine and card pattern: be inserted in the terminal in case block, with regard to similar custom terminal.
The basic parameter configuration of terminal mainly comprises customer parameter setting and network parameter and terminal parameter configuration; Customer parameter mainly comprises username and password etc., is mainly used in identifying user, can adopt signatory mode under the line by user and the SPB acquisition of contracting, and also can adopt the signatory mode of the line that carries out after terminal is reached the standard grade; The configuration of network parameter and terminal parameter can realize by aerial download OTA technology.
At present, WiMAX NWG has proposed based on the terminal initial configuration flow of OTA technology and has continued configuration flow, for the un-activation terminal, need carry out the OTA initial configuration and just can normally network, and OTA initial configuration flow process mainly comprises:
In the terminal initial layoutprocedure, terminal need be constructed NAI and be reported aaa server in network authentication messages, if terminal need be carried out initial configuration, be that the device activation value of statistical indicant that terminal is preserved is FALSE, then during terminal constructions NAI, need carry SM (service mode service mode)=1, aaa server confirms that according to the service mode information (SM=1) of terminal to report this terminal need carry out the OTA initial configuration, set up initial Business Stream with terminal and IP is connected, aaa server receives after charging from ASN-GW begins message, can send the end message notification message and give DM server, comprise end message in this notification message, this end message mainly comprises: the key information BEK (starting encryption key bootstrap encryption key) that is used for encrypting bootstrap information, and the timer timer relevant with startup, can also comprise other relevant information of terminal, as MS ID etc.; After the DM server receives, send UDP Push (User Datagram Protocol to terminal, the User Agreement packet pushes) message, this UDP Push message contains the bootstrap information after the encryption of terminal, this bootstrap information is used for terminal and inserts the DM server, mainly comprise and insert user name, password, and the DM server address etc., above-mentioned information is called equipment control account (DM_ACC) information.If terminal has obtained the bootstrap information in this UDP Push message, perhaps terminal is by initiatively initiating the bootstrap information that the WIB discovery procedure has obtained terminal, can preserve DM_ACC information, and to DM server transmission package#1 message, after the DM server is received package#1 message, think that starting terminal is successful, just can carry out follow-up layoutprocedure to terminal, in layoutprocedure, the DM server can be subscribed to terminal information as required, and namely the DM server is to aaa server transmitting apparatus status request message, after aaa server receives, can send the end message notification message to the DM server, comprise end message in this notification message, this end message mainly comprises: key information BEK, and the timer timer relevant with startup, can also comprise other relevant information of terminal, as MS ID etc.After layoutprocedure was finished, terminal namely changed activated terminals into.After configuration finished, terminal exitted network, and later terminal networks with new configuration parameter.
For activated terminals, do not need to carry out above-mentioned initial configuration and just can formally network, as new data or the parameter of needs configuration, maybe need already present data, parameter are replaced, the DM server can directly be configured this terminal, and this configuration is called lasting configuration.
Activated terminals does not need to carry service mode SM=1 and networks, and just can normally network, so aaa server can be after not receiving the beginning message of chargeing at this terminal yet, the end message that active will comprise log-on message such as BEK sends to the DM server.When needs continue configuration to this terminal, the DM server can initiatively be subscribed to terminal information as required, be the DM server to aaa server transmitting apparatus status request message, after aaa server receives, respond this request message, send the SOT state of termination response message to the DM server, comprise end message in this response message, this end message mainly comprises: key information BEK, and the timer timer relevant with startup, can also comprise other relevant information of terminal, as MS ID etc.
Passed through above-mentioned OTA initial configuration and the activated terminals that becomes for the un-activation terminal, just finished the activated terminals of activation when perhaps dispatching from the factory, network side can continue to dispose to it.
The difference of two kinds of activated terminals is:
Passed through the activated terminals of initial configuration, finished start-up course, terminal has been preserved equipment control account (DM_ACC) information, comprises the address information of DM server, lands the user name of DM server and password etc.;
And just finished the activated terminals of activation when dispatching from the factory, if continue configuration for the first time, then terminal does not obtain DM_ACC information, the DM server continues before the configuration to this terminal, need finish the startup flow process to this terminal earlier, the DM server need be subscribed to terminal information to aaa server, needs to comprise log-on messages such as BEK in the ordered end message, to be used for finishing the encryption to bootstrap information.
By foregoing description as can be known, aaa server has to the scene that DM server transmission end message notification message relates to:
1, the un-activation terminal that need carry out the OTA initial configuration is reached the standard grade with SM=1, and aaa server sends to the DM server with the end message notification message, comprises log-on messages such as BEK in this end message notification message; For this scene, it is necessary carrying log-on messages such as BEK, because this terminal need be carried out initial configuration, does not also finish start-up course.
2, as required end message is subscribed to when the DM server, sent the SOT state of termination request message to aaa server, aaa server responds it, if terminal is online, sends carried terminal information in the SOT state of termination response message to this DM server; Wherein response is divided into only response once, and response repeatedly, regardless of one or many, all comprises log-on messages such as BEK in the end message that this SOT state of termination response message carries in the prior art.
But for scene 2,
When the DM server is subscribed to the information of the activated terminals of having finished initial configuration process as required, when if aaa server is received the end message request message of DM server transmission, if terminal is online, aaa server is in the SOT state of termination response message of DM server about status request message, be not need to carry BEK information, do not need log-on messages such as timer timer yet, because for this Terminal Type, when terminal was carried the SM=1 networking before, aaa server sent to the DM server with log-on messages such as BEK information and timer timer; After this process, the DM server no longer needs log-on messages such as BEK;
When the DM server need be subscribed to the un-activation terminal information, when if aaa server is received the SOT state of termination request message of DM server transmission, terminal does not also network, need carry SM=1 could network through initial configuration, in the SOT state of termination response message of aaa server to the transmission of DM server, do not need to carry log-on messages such as BEK information and timer yet, because for this Terminal Type, aaa server can initiatively send to the DM server with log-on messages such as BEK and timer after the SM=1 indication of receiving self terminal.
But if terminal is activated terminals, terminal is when networking, can not report SM=1 to aaa server, aaa server can be initiatively with log-on messages such as BEK notice DM server, before the DM server carries out start-up course to this terminal, the DM server sends the SOT state of termination request message to aaa server and subscribes to end message, aaa server responds this request message, in the SOT state of termination response message of DM server transmission, need carry log-on messages such as BEK, but only be to need to carry in the response message for the first time, response does not repeatedly then need to carry log-on messages such as BEK yet for follow-up response message if desired yet.
At above-mentioned two kinds of scenes, in the prior art, no matter when, if the DM server is subscribed to end message to aaa server, aaa server all comprises and log-on messages such as BEK and timer to the end message that the DM server sends, and do not distinguished, cause the redundancy of end message notification message, wasted system resource.
Summary of the invention
The embodiment of the invention provides a kind of method and device that obtains end message, so that the DM server can obtain different end messages according to different scenes, reduces the redundancy of end message.
A kind of method of obtaining end message, this method comprises:
Whether if equipment control DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal;
If described terminal is activated terminals, and described terminal do not start, and then sends new equipment state request NewDeviceStatusRequest message to authentication, authentication and charging aaa server; Or described terminal is activated terminals, and described terminal starts, or described terminal is the un-activation terminal, then to aaa server transmitting apparatus state request DeviceStatusRequest message;
If the DM server is NewDeviceStatusRequest message to the aaa server transmission, then described DM server receives the NewDeviceStatusResponse message from described aaa server, comprise end message in the described NewDeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If the DM server is DeviceStatusRequest message to the aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
A kind of method of obtaining end message comprises:
Whether if the DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal;
If described terminal is activated terminals, and terminal do not start, and then sends DeviceStatusRequest message to aaa server, carries request type=need bootstrap in this DeviceStatusRequest message; Or described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, then sends DeviceStatusRequest message to aaa server, does not carry request type=need bootstrap in this DeviceStatusRequest message;
If the DM server carries request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If the DM server does not carry request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
A kind of method of obtaining end message comprises:
Whether if the DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal;
If described terminal is activated terminals, and terminal do not start, and then sends DeviceStatusRequest message to aaa server, carries report type=one time in this DeviceStatusRequest message; Or described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, then sends DeviceStatusRequest message to aaa server, and report type value entrained in this DeviceStatusRequest message arranges as required;
If the DM server carries report type=one time in the DeviceStatusRequest message of aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
Be not one time if carry the value of report type in the DeviceStatusRequest message that the DM server sends to aaa server, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
A kind of DM server comprises:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and described terminal do not start, and is used for sending NewDeviceStatusRequest message to aaa server; Or described terminal is activated terminals, and described terminal starts, or described terminal is the un-activation terminal, is used for sending DeviceStatusRequest message to aaa server;
Receiver module: be NewDeviceStatusRequest message if described sending module sends to aaa server, be used for receiving the NewDeviceStatusResponse message from described aaa server, comprise end message in the described NewDeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If described sending module is DeviceStatusRequest message to the aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
A kind of DM server comprises:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and terminal do not start, and is used for sending DeviceStatusRequest message to aaa server, carries request type=need bootstrap in this DeviceStatusRequest message; Or described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, is used for sending DeviceStatusRequest message to aaa server, does not carry request type=need bootstrap in this DeviceStatusRequest message;
Receiver module: if described sending module carries request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If described sending module does not carry request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
A kind of DM server comprises:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and terminal do not start, and is used for sending DeviceStatusRequest message to aaa server, carries report type=one time in this DeviceStatusRequest message; Or described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, is used for sending DeviceStatusRequest message to aaa server, and the report type value in this DeviceStatusRequest message arranges as required;
Receiver module: if described sending module carries report type=one time in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
Be not one time if carry the value of report type in the DeviceStatusRequest message that described sending module sends to aaa server, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
Embodiment of the invention disclosed method and device, whether if the DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal; According to testing result, when subscribing to end message, aaa server needs to indicate whether the log-on message of terminal, and aaa server sends end message according to the indication of DM server to this DM server; Make that aaa server does not comprise starting terminal information in the end message of DM server transmission in some scene, thereby reduced the redundancy of message, saved resource.
Description of drawings
Fig. 1 is OTA schematic network structure in the WIMAX system in the prior art;
Fig. 2 obtains the method flow diagram of end message for the embodiment of the invention;
Fig. 3 obtains the method flow diagram of end message for another embodiment of the present invention;
Fig. 4 obtains the method flow diagram of end message for another embodiment of the present invention;
Fig. 5 obtains the device schematic diagram of end message for the embodiment of the invention;
Embodiment
For making purpose of the present invention, technological means and advantage clearer, developing simultaneously below in conjunction with accompanying drawing, the present invention is described in detail for embodiment.
The embodiment of the invention discloses a kind of method and device that obtains end message, when the DM server need be subscribed to end message to aaa server, by according to different scenes, whether the SOT state of termination response message that aaa server is sent to the DM server carries log-on message such as BEK is distinguished, have only when need be to activating, but the terminal of not preserving DM_Acc information continues the scene of configuration, aaa server just carries log-on messages such as BEK to the SOT state of termination response message that the DM server sends, in other scene, aaa server does not carry log-on messages such as BEK to the SOT state of termination response message that the DM server sends, by distinguishing scene, the SOT state of termination response message redundancy that allows aaa server send to the DM server reduces conserve system resources.
In the present embodiment, whether if the DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal; According to testing result, when subscribing to end message, aaa server needs to indicate whether the log-on message of terminal, and aaa server sends end message according to the indication of DM server to this DM server; Embodiment of the invention disclosed method and device make that aaa server does not comprise starting terminal information in the end message of DM server transmission in some scene, thereby have reduced the redundancy of message, have saved resource.
Below in conjunction with specific embodiment and flow chart said method is described.
Embodiment one
In this embodiment, when the DM server need be subscribed to end message to aaa server, DM server elder generation sense terminals state, if the terminal of terminal for having activated, and terminal is not carried out the startup flow process, does not namely preserve DM_Acc information, when then the DM server need be subscribed to end message to aaa server, to the aaa server indication, need the relevant information of startup such as BEK; If terminal is not in above-mentioned state, then the DM server does not need the relevant information of startup such as BEK to the aaa server indication;
The DM server indicates it whether to need log-on messages such as BEK by a new message that is different from existing subscribe message, at the scene that needs BEK, this message name of definition is in the present embodiment: new equipment state request message NewDeviceStatusRequest, carry terminal iidentification MSID in this message, can also carry effective duration lifetime of request message in addition, can in this effective time, respond this request message by aaa server; Its corresponding response message is: new equipment state response message NewDeviceStatusResponse, and carry log-on messages such as BEK in this response message; At the scene that does not need startups such as BEK, still adopt existing message in the present embodiment, its name is called: equipment state request message DeviceStatusRequest, this message carries terminal iidentification MSID, can also carry effective duration lifetime of request message in addition, aaa server responds this request message in this effective time; Its corresponding response message is identical with existing response message, and its name is called: equipment state response message DeviceStatusResponse, but do not carry log-on message such as BEK in the response message;
With reference to figure 2, the disclosed method of obtaining end message of the embodiment of the invention comprises:
Step 101, if the DM server need be subscribed to terminal information to aaa server, then whether be activated terminals to the DM server if detecting this terminal, and the starting state of terminal;
The DM server need can trigger or need trigger because of configuration to the reason that aaa server is subscribed to end message because of external condition, for example: the DM server is received the configuring request that SPB sends, perhaps other terminal management reason, for example: in layoutprocedure, the DM server is in order to confirm whether terminal is presence, and initiate the SOT state of termination request message to aaa server, this trigger condition is prior art, no longer describes in detail.
If it is activated terminals that step 102 DM server detects terminal, and do not carry out start-up course, be that to detect the device activation value of statistical indicant device activate flag that the DM server preserves be TRUE to the DM server, and this terminal does not start, the startup method sign bootstrap method flag that is the terminal of DM server preservation is null, then the DM server sends NewDeviceStatusRequest to aaa server, expression needs the log-on message of terminal, as BEK, can also comprise log-on messages such as starting timer timer; In addition, can also carry lifetime effective time that AAA replys response message so that aaa server in effective time, respond.
If the DM server detects terminal and do not meet above-mentioned condition, namely not meeting terminal is activated terminals, and does not carry out the condition of start-up course, and then the DM server sends DeviceStatusRequest to aaa server, and expression does not need the log-on message of terminal.
If step 103 aaa server receives NewDeviceStatusRequest message, then reply NewDeviceStatusResponse message to the DM server, carry BEK information in this response message, timer and other log-on message can also be comprised, other-end information can also be carried in addition.
If aaa server receives DeviceStatusRequest message, then reply DeviceStatusResponse message to the DM server, carry other relevant informations of terminal in this response message, but do not carry BEK, timer and other startup relevant informations; Namely carry the end message except log-on message in this response message.
If carried lifetime effective time among NewDeviceStatusRequest or the DeviceStatusRequest, then aaa server need respond in effective time.
In above-described embodiment, in different scenes, by sending different message to aaa server, need to indicate whether log-on messages such as BEK, do not comprise log-on messages such as BEK in the end message that makes in some scene aaa server send, thereby reduced the redundancy of message, saved resource.
Embodiment two
What present embodiment and embodiment one were different is, present embodiment does not change the title of existing message, when the DM server need be subscribed to end message, in sending to the existing SOT state of termination request message of aaa server, carry the subscription type, need to indicate whether log-on messages such as BEK.
With reference to figure 3, the disclosed method of obtaining end message of the embodiment of the invention comprises:
Step 201, if the DM server need be subscribed to terminal information to aaa server, then whether DM server sense terminals is activated terminals, and the starting state of terminal;
Step 101 is similar among this step and the embodiment one, no longer describes in detail.
Step 202, if it is activated terminals that the DM server detects terminal, and do not carry out start-up course, be that to detect the device activation value of statistical indicant device activate flag that the DM server preserves be TRUE to the DM server, and terminal does not start, the startup method sign bootstrap method flag that is the terminal of DM server preservation is null, then the DM server sends DeviceStatusRequest to aaa server, the MS ID of carried terminal in this message, and also carry request type=need bootstrap in this message, expression needs the log-on message of terminal.As BEK, can also comprise log-on messages such as starting timer timer; In addition, can also carry lifetime effective time that AAA replys response message.
If the DM server detects terminal and does not meet above-mentioned condition, namely not meeting terminal is activated terminals, and do not carry out the condition of start-up course, then the DM server sends DeviceStatusRequest message to aaa server, and do not carry request type=need bootstrap in this request message, expression does not need the log-on message of terminal.
If step 203 aaa server receives DeviceStatusRequest message, carry request type=need bootstrap in this request message, then reply DeviceStatusResponse message to the DM server, carry BEK information in this response message, can also comprise that timer and other start relevant information, can also carry other-end information in addition.
If aaa server receives DeviceStatusRequest message, and do not carry request type=need bootstrap in this message, then reply DeviceStatusResponse message to the DM server, carry other relevant informations of terminal in this response message, but do not carry BEK, timer and other startup relevant informations.
In above-described embodiment, in different scenes, whether carry the indication that needs log-on message by the request message that sends to aaa server, need to indicate whether log-on messages such as BEK, do not comprise log-on messages such as BEK in the end message that makes in some scene aaa server send, thereby reduced the redundancy of message, saved resource.
Embodiment three
Different with above-described embodiment is, present embodiment does not change the title of existing message, when the DM server need be subscribed to end message, send to the number of times that carries report in the existing SOT state of termination subscribe message of aaa server, need to indicate whether log-on messages such as BEK.
With reference to figure 4, the disclosed method of obtaining end message of the embodiment of the invention comprises:
Step 301, if the DM server need be subscribed to terminal information to aaa server, then whether DM server sense terminals is activated terminals, and the starting state of terminal;
Step 101 is similar among this step and the embodiment one, no longer describes in detail.
If it is activated terminals that step 302 DM server detects terminal, and do not carry out start-up course, be that to detect the device activation value of statistical indicant device activate flag that the DM server preserves be TRUE to the DM server, and terminal does not start, the startup method sign bootstrap method flag that is the terminal of DM server preservation is null, then the DM server sends DeviceStatusRequest to aaa server, the MS ID of carried terminal in this message, and also carry report type=one time in this message, expression needs the log-on message of terminal.As BEK, can also comprise log-on messages such as starting timer timer; In addition, also represent to only require SOT state of termination response message of aaa server response in the prior art.
If the DM server detects terminal and does not meet above-mentioned condition, namely not meeting terminal is activated terminals, and do not carry out the condition of start-up course, then the DM server sends DeviceStatusRequest message to aaa server, and do not limit the value of report type in this request message, that is, the report type value in this DeviceStatusRequest message can arrange fully as required for one time or other values; If the value of report type is not one time, expression does not need the log-on message of terminal, but the DM server also can be set to one time because of other reasons consideration report type.
If 303 aaa servers receive DeviceStatusRequest message, carry report type=one time in this request message, then reply DeviceStatusResponse message to the DM server, carry BEK information in this response message, can also comprise that timer and other start relevant information, can also carry other-end information in addition.
If aaa server receives DeviceStatusRequest message, and carry report type value in this request message and be not one time, then reply DeviceStatusResponse message to the DM server, carry other relevant informations of terminal in this response message, but do not carry BEK, timer and other startup relevant informations.
In above-described embodiment, in different scenes, be the response times of carrying by the request message that sends to aaa server, need to indicate whether log-on messages such as BEK, do not comprise log-on messages such as BEK in the end message that makes in some scene aaa server send, thereby reduced the redundancy of message, saved resource.Although do not need the log-on message of terminal under some scene, but the DM server also can be considered report type because of other reasons and be set to one time, thereby comprise log-on message in the end message of receiving, but this scene is less, and report type itself also is the field in the existing request message, only given new implication in the present embodiment, existing message has not been changed, used simpler.
Embodiment four
At embodiment one, the embodiment of the invention also discloses a kind of device that obtains end message, with reference to figure 5:
A kind of DM server comprises:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and described terminal do not start, and is used for sending NewDeviceStatusRequest message to aaa server; Or, if described terminal does not satisfy above-mentioned condition, be used for sending DeviceStatusRequest message to aaa server;
Receiver module: be NewDeviceStatusRequest message if described sending module sends to aaa server, be used for receiving the NewDeviceStatusResponse message from described aaa server, comprise end message in the described NewDeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If described sending module is DeviceStatusRequest message to the aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
Wherein, if it is TRUE that detection module detects the device activation value of statistical indicant device activate flag of this terminal of self preserving, and the startup method sign bootstrap method flag that detects terminal is null, and then this terminal is activated terminals and does not start.
Wherein, the log-on message of described terminal comprises startup encryption key BEK, can also comprise timer timer.
Embodiment five
At embodiment two, the embodiment of the invention also discloses a kind of device that obtains end message, with reference to figure 5:
A kind of DM server comprises:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and terminal do not start, and is used for sending DeviceStatusRequest message to aaa server, carries request type=need bootstrap in this DeviceStatusRequest message; Or, if described terminal does not satisfy above-mentioned condition, be used for sending DeviceStatusRequest message to aaa server, do not carry request type=need bootstrap in this DeviceStatusRequest message;
Receiver module: if described sending module carries request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If do not carry request type=need bootstrap in the DeviceStatusRequest message that described sending module aaa server sends, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
Wherein, if it is TRUE that detection module detects the device activation value of statistical indicant device activate flag of this terminal of self preserving, and the startup method sign bootstrap method flag that detects terminal is null, and then this terminal is activated terminals and does not start.
Wherein, the log-on message of described terminal comprises startup encryption key BEK, can also comprise timer timer.
Embodiment six
At embodiment three, the embodiment of the invention also discloses a kind of device that obtains end message, with reference to figure 5:
A kind of DM server comprises:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and terminal do not start, and is used for sending DeviceStatusRequest message to aaa server, carries report type=one time in this DeviceStatusRequest message; Or, if described terminal does not satisfy above-mentioned condition, being used for sending DeviceStatusRequest message to aaa server, the report type value in this DeviceStatusRequest message arranges as required;
Receiver module: if described sending module carries report type=one time in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
Be not one time if carry the value of report type in the DeviceStatusRequest message that described sending module sends to aaa server, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
Wherein, if it is TRUE that detection module detects the device activation value of statistical indicant device activate flag of this terminal of self preserving, and the startup method sign bootstrap methodflag that detects terminal is null, and then this terminal is activated terminals and does not start.
Wherein, the log-on message of described terminal comprises startup encryption key BEK, can also comprise timer timer.
Embodiment of the invention disclosed method and device, whether if the DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal; According to testing result, when subscribing to end message, aaa server needs to indicate whether the log-on message of terminal, and aaa server sends end message according to the indication of DM server to this DM server; Embodiment of the invention disclosed method and device make that aaa server does not comprise starting terminal information in the end message of DM server transmission in some scene, thereby have reduced the redundancy of message, have saved resource.
Being preferred embodiment of the present invention only below, is not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of obtaining end message is characterized in that, comprising:
Whether if equipment control DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal;
If described terminal is activated terminals, and described terminal do not start, and then sends new equipment state request NewDeviceStatusRequest message to authentication, authentication and charging aaa server; Or if described terminal is activated terminals, and described terminal starts, or described terminal is the un-activation terminal, then to aaa server transmitting apparatus state request DeviceStatusRequest message;
If the DM server is NewDeviceStatusRequest message to the aaa server transmission, then described DM server receives the NewDeviceStatusResponse message from described aaa server, comprise end message in the described NewDeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If the DM server is DeviceStatusRequest message to the aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
2. the method for claim 1 is characterized in that: the log-on message of described terminal comprises and starts encryption key BEK.
3. method as claimed in claim 2, it is characterized in that: the log-on message of terminal also comprises timer timer.
4. as any described method of claim 1~3, it is characterized in that: be TRUE if the DM server detects the device activation value of statistical indicant device activate flag of this terminal of self preserving, and the startup method sign bootstrap method flag that detects terminal is null, and then this terminal is activated terminals and does not start.
5. a method of obtaining end message is characterized in that, comprising:
Whether if the DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal;
If described terminal is activated terminals, and terminal do not start, and then sends DeviceStatusRequest message to aaa server, carries request type=need bootstrap in this DeviceStatusRequest message; Or if described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, then sends DeviceStatusRequest message to aaa server, does not carry request type=need bootstrap in this DeviceStatusRequest message;
If the DM server carries request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If the DM server does not carry request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
6. method as claimed in claim 5, it is characterized in that: be TRUE if the DM server detects the device activation value of statistical indicant device activate flag of this terminal of self preserving, and the startup method sign bootstrap method flag that detects terminal is null, and then this terminal is activated terminals and does not start.
7. a method of obtaining end message is characterized in that, comprising:
Whether if the DM server need be subscribed to terminal information, detecting described terminal is the starting state of activated terminals and terminal;
If described terminal is activated terminals, and terminal do not start, and then sends DeviceStatusRequest message to aaa server, carries report type=one time in this DeviceStatusRequest message; Or if described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, then sends DeviceStatusRequest message to aaa server, and report type value entrained in this DeviceStatusRequest message arranges as required;
If the DM server carries report type=one time in the DeviceStatusRequest message of aaa server transmission, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
Be not one time if carry the value of report type in the DeviceStatusRequest message that the DM server sends to aaa server, then described DM server receives the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
8. a DM server is characterized in that, comprising:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and described terminal do not start, and is used for sending NewDeviceStatusRequest message to aaa server; Or if described terminal is activated terminals, and described terminal starts, or described terminal is the un-activation terminal, is used for sending DeviceStatusRequest message to aaa server;
Receiver module: be NewDeviceStatusRequest message if described sending module sends to aaa server, be used for receiving the NewDeviceStatusResponse message from described aaa server, comprise end message in the described NewDeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If described sending module is DeviceStatusRequest message to the aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
9. a DM server is characterized in that, comprising:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and terminal do not start, and is used for sending DeviceStatusRequest message to aaa server, carries request type=need bootstrap in this DeviceStatusRequest message; Or if described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, is used for sending DeviceStatusRequest message to aaa server, does not carry request type=need bootstrap in this DeviceStatusRequest message;
Receiver module: if described sending module carries request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
If described sending module does not carry request type=need bootstrap in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
10. a DM server is characterized in that, comprising:
Detection module: when the DM server need be subscribed to terminal information, whether be the starting state of activated terminals and terminal for detection of described terminal;
Sending module: if described terminal is activated terminals, and terminal do not start, and is used for sending DeviceStatusRequest message to aaa server, carries report type=one time in this DeviceStatusRequest message; Or if described terminal is activated terminals, and described terminal starts, or, described terminal is the un-activation terminal, is used for sending DeviceStatusRequest message to aaa server, and the report type value in this DeviceStatusRequest message arranges as required;
Receiver module: if described sending module carries report type=one time in the DeviceStatusRequest message of aaa server transmission, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message comprises the log-on message of terminal; Or
Be not one time if carry the value of report type in the DeviceStatusRequest message that described sending module sends to aaa server, be used for receiving the DeviceStatusResponse message from described aaa server, comprise end message in the described DeviceStatusResponse message, this end message does not comprise the log-on message of terminal.
CN 200910110794 2009-10-15 2009-10-15 Method and device for acquiring terminal information Active CN102045698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910110794 CN102045698B (en) 2009-10-15 2009-10-15 Method and device for acquiring terminal information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910110794 CN102045698B (en) 2009-10-15 2009-10-15 Method and device for acquiring terminal information

Publications (2)

Publication Number Publication Date
CN102045698A CN102045698A (en) 2011-05-04
CN102045698B true CN102045698B (en) 2013-09-11

Family

ID=43911357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910110794 Active CN102045698B (en) 2009-10-15 2009-10-15 Method and device for acquiring terminal information

Country Status (1)

Country Link
CN (1) CN102045698B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835902A (en) * 2020-07-20 2020-10-27 网易(杭州)网络有限公司 Device testing method and device, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638339A (en) * 2004-01-09 2005-07-13 株式会社日立制作所 Presence data management method
JP2009230203A (en) * 2008-03-19 2009-10-08 Ntt Advanced Technology Corp Status information management system, method, and status information management server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638339A (en) * 2004-01-09 2005-07-13 株式会社日立制作所 Presence data management method
JP2009230203A (en) * 2008-03-19 2009-10-08 Ntt Advanced Technology Corp Status information management system, method, and status information management server

Also Published As

Publication number Publication date
CN102045698A (en) 2011-05-04

Similar Documents

Publication Publication Date Title
US8050242B2 (en) Method and system for tailoring device provisioning based on device capability information communicated to network
US9009274B2 (en) Configuring a client application
EP2248322B1 (en) Methods and apparatus for wireless device registration
US8260885B2 (en) Method and system for bootstrap of a device
US20020178241A1 (en) Framework for a dynamic management system
CN103580921A (en) Automatic network equipment upgrading method and automatic network equipment upgrading system
US9313650B2 (en) Communications system, mobile communications device, transition control device, transition control method, and transition control program
KR20130003355A (en) Apparatus and method for providing application service based location
US11949741B2 (en) Device control method, server, and storage medium
CN101299674A (en) Method, system and management platform for implementing terminal identification
CN105684485A (en) Methods for a link recovery of a wireless network and respective devices
CN111466109A (en) Method and subscriber identity module for providing network access
CN101212346B (en) Software version management method and device for network element management system
CN101674572A (en) Method and system for carrying out remote deblocking and locking on mobile terminal
CN110602688B (en) Terminal software upgrading method and upgrading system
CN102045698B (en) Method and device for acquiring terminal information
JP2020502894A (en) Service ordering method and device
EP2891299B1 (en) Systems and methods for efficient remote security panel configuration and management
CN113824789B (en) Configuration method, device, equipment and storage medium of access descriptor
CN112469042B (en) System for locking bound equipment, module and subscriber identity module
CN101616372A (en) Realize the method and system of automatic configuration of wireless terminal
US8515455B2 (en) Method and apparatus for location update in mobile communication system
CN103763693A (en) Operator service recommendation method and device
CN113965444B (en) Remote recovery method and device for home gateway
CN102026158B (en) Method and device for obtaining user subscription information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant