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

Method and device for acquiring terminal information Download PDF

Info

Publication number
CN102045698A
CN102045698A CN2009101107946A CN200910110794A CN102045698A CN 102045698 A CN102045698 A CN 102045698A CN 2009101107946 A CN2009101107946 A CN 2009101107946A CN 200910110794 A CN200910110794 A CN 200910110794A CN 102045698 A CN102045698 A CN 102045698A
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.)
Granted
Application number
CN2009101107946A
Other languages
Chinese (zh)
Other versions
CN102045698B (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 loading of portable terminal, information uploading provide technical guarantee.
WiMAX NWG (WiMAX Network Group network work 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 to provide 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, have some basic certificate informations, 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 signatory mode on 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 to encrypt 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 promptly 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 promptly 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,, maybe need already present data, parameter are replaced as new data or the parameter of needs configuration, 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, just can normally network, so aaa server also can not receive charge at this terminal begin message after, 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 startup flow process earlier to this terminal, 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 to finish 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 an 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 that the DM server sends, 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, if described terminal does not satisfy above-mentioned condition, then to aaa server transmitting apparatus state request DeviceStatusRequest message;
If the DM server is a 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 a 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, if described terminal does not satisfy above-mentioned condition, then send DeviceStatusRequest message to aaa server, do not carry request type=need bootstrap in this DeviceStatusRequest message;
If the DM server carries request type=need bootstrap in the DeviceStatusRequest message that aaa server sends, 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 that aaa server sends, 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, if described terminal does not satisfy above-mentioned condition, then sending DeviceStatusRequest message to aaa server, report type value entrained in this DeviceStatusRequest message is provided with as required;
If the DM server carries report type=one time in the DeviceStatusRequest message that aaa server sends, 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 carrying the value of report type in the DeviceStatusRequest message that aaa server sends, the DM server is not one time, 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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: if described sending module sends to aaa server is NewDeviceStatusRequest message, be used to receive 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 a DeviceStatusRequest message to the aaa server transmission, be used to receive 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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 that aaa server sends, be used to receive 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 that aaa server sends, be used to receive 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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 is provided with as required;
Receiver module: if described sending module carries report type=one time in the DeviceStatusRequest message that aaa server sends, be used to receive 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 carrying the value of report type in the DeviceStatusRequest message that aaa server sends, described sending module is not one time, be used to receive 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 that the DM server sends in some scene, thereby reduced the redundancy of message, saved resource.
Description of drawings
Fig. 1 is an 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 when aaa server be subscribed to end message, 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 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 that the DM server sends 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 when aaa server be subscribed to end message, 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 promptly preserve DM_Acc information, and then the DM server need be when aaa server be subscribed to end message, 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 pairing 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 pairing 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 a 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, promptly 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; Promptly carry the end message except that 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 the foregoing description, 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, promptly 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 the foregoing description, 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 the foregoing description 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, promptly 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 be provided with 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 the foregoing description, in different scenes, by the request message to the aaa server transmission is the response times of carrying, 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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: if described sending module sends to aaa server is NewDeviceStatusRequest message, be used to receive 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 a DeviceStatusRequest message to the aaa server transmission, be used to receive 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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 that aaa server sends, be used to receive 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 to receive 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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 is provided with as required;
Receiver module: if described sending module carries report type=one time in the DeviceStatusRequest message that aaa server sends, be used to receive 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 carrying the value of report type in the DeviceStatusRequest message that aaa server sends, described sending module is not one time, be used to receive 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 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 that the DM server sends in some scene, thereby have reduced the redundancy of message, have saved resource.
Being preferred embodiment of the present invention only below, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, 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 does not satisfy above-mentioned condition, then to aaa server transmitting apparatus state request DeviceStatusRequest message;
If the DM server is a 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 a 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 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: if the DM server detects the device activation value of statistical indicant device activate flag of this terminal of self preserving is TRUE, 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 does not satisfy above-mentioned condition, then send DeviceStatusRequest message to aaa server, do not carry request type=need bootstrap in this DeviceStatusRequest message;
If the DM server carries request type=need bootstrap in the DeviceStatusRequest message that aaa server sends, 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 that aaa server sends, 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: if the DM server detects the device activation value of statistical indicant device activate flag of this terminal of self preserving is TRUE, 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 does not satisfy above-mentioned condition, then sending DeviceStatusRequest message to aaa server, report type value entrained in this DeviceStatusRequest message is provided with as required;
If the DM server carries report type=one time in the DeviceStatusRequest message that aaa server sends, 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 carrying the value of report type in the DeviceStatusRequest message that aaa server sends, the DM server is not one time, 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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: if described sending module sends to aaa server is NewDeviceStatusRequest message, be used to receive 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 a DeviceStatusRequest message to the aaa server transmission, be used to receive 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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 that aaa server sends, be used to receive 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 that aaa server sends, be used to receive 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: whether when the DM server need be subscribed to terminal information, being used to detect described terminal is the starting state of activated terminals and 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 is provided with as required;
Receiver module: if described sending module carries report type=one time in the DeviceStatusRequest message that aaa server sends, be used to receive 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 carrying the value of report type in the DeviceStatusRequest message that aaa server sends, described sending module is not one time, be used to receive 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 true CN102045698A (en) 2011-05-04
CN102045698B 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)

Cited By (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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196600A (en) * 2004-01-09 2005-07-21 Hitachi Ltd 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

Cited By (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

Also Published As

Publication number Publication date
CN102045698B (en) 2013-09-11

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
US10397771B2 (en) Techniques for provisioning bootstrap electronic subscriber identity modules (eSIMS) to mobile devices
CN106131816B (en) Virtual SIM card management method and terminal
CN103580921A (en) Automatic network equipment upgrading method and automatic network equipment upgrading system
CN101299674B (en) Method, system and management platform for implementing terminal identification
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
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
US11122421B2 (en) Loading of a new subscription profile into an embedded subscriber identification module
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
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
GB2557353A (en) Configuration of wireless-equipped devices
US8515455B2 (en) Method and apparatus for location update in mobile communication system
CN107547723B (en) Method and device for receiving information by application
CN103763693A (en) Operator service recommendation method and device
US11903088B2 (en) ESIM profile management
RU2791001C1 (en) Testing method for checking the process of remote initialization of embedded sim cards and an active testing system that provides such a testing method
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