To the method for terminal notification message transmission, server, gateway and system
Technical field
The present invention relates to the communications field, particularly a kind of method to terminal notification message transmission, server, gateway and system.
Background technology
OMADM (OpenMobileAllianceDeviceManagement, Open Mobile Alliance terminal management specification) V1.3 (hereinafter referred to as DM specification) is the equipment control unified standard that OMADMWorkGroup (Open Mobile Alliance terminal management working group) formulates.DM specification provides a kind of lower cost solution, is managed for configuration via gateway for server to target terminal.Wherein, need the method for the notification message transmission having a kind of science in the management process of target terminal as gerentocratic server, simplify the process of notification message transmission in configuration management process whereby, improve the efficiency of management.
In prior art, server to the method for terminal notification message transmission is: server know under gateway with all terminal identification information; The target terminal identification information that will be managed for configuration is identified from all terminal identification information known; Server is by target terminal identification information and need the content of the notification message sent to target terminal to send to gateway; Gateway generates corresponding notification message according to the content of notification message, and according to the target terminal identification information that server issues, is forwarded by the corresponding notification message generated to target terminal.
Realizing in process of the present invention, inventor finds that above-mentioned prior art at least has following shortcoming:
The target terminal identification information that gateway issues according to server and need the content of the notification message sent to target terminal, regenerates the notification message pointing to target terminal, thus adds the work load of gateway, improve the performance requirement to gateway.
Summary of the invention
In order to reduce the managing conversation that server local area network terminal under DM specification is implemented to repeat in the process of management, that improves administration order issues efficiency, reduce the performance requirement to gateway simultaneously, embodiments provide a kind of method to terminal notification message transmission, server, gateway and system.
On the one hand, provide a kind of method to terminal notification message transmission, described method comprises:
Content according to notification message generates notification message;
Obtain target terminal identification information, and described notification message and described target terminal identification information are sent to gateway, make described gateway described notification message is transmitted to target terminal corresponding to described target terminal identification information.
On the other hand, provide a kind of server, described server comprises:
Generation module, generates notification message for the content according to notification message;
Acquisition module, for obtaining target terminal identification information;
Sending module, the target terminal identification information got for the notification message that generated by described generation module and described acquisition module sends to gateway, makes described gateway described notification message is transmitted to target terminal corresponding to described target terminal identification information.
Again on the one hand, provide a kind of gateway, described gateway comprises:
Receiver module, the notification message sent for reception server and target terminal identification information;
Forwarding module, the notification message for being received by described receiver module is transmitted to target terminal corresponding to described target terminal identification information.
Additionally provide a kind of system of notification message transmission, described system comprises: server and gateway;
Described server is as above-mentioned server;
Described gateway is as above-mentioned gateway.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By server, the notification message of generation and target terminal identification information are sent to gateway, gateway can be known before managing conversation starts, and the target of current managing conversation is local area network terminal or gateway, decrease repetition managing conversation during proxy management, improve resource utilization; Meanwhile, gateway can forward notification message directly to target terminal local area network terminal, does not need to generate separately, therefore alleviates the operating pressure of gateway, reduce the performance requirement to gateway.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram to terminal notification message transmission that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram to terminal notification message transmission that the embodiment of the present invention two provides;
Fig. 3 is the management tree schematic diagram of the gateway that the embodiment of the present invention two provides;
Fig. 4 is the method flow diagram to terminal notification message transmission that the embodiment of the present invention three provides;
Fig. 5 is the local area network terminal management object structural representation that the embodiment of the present invention three provides;
Fig. 6 is the method flow diagram to terminal notification message transmission that the embodiment of the present invention four provides;
Fig. 7 is that the message that the embodiment of the present invention four provides forwards management object structural representation;
Fig. 8 is the server architecture schematic diagram that the embodiment of the present invention five provides;
Fig. 9 is the acquisition module structural representation that the embodiment of the present invention five provides;
Figure 10 is the another kind of acquisition module structural representation that the embodiment of the present invention five provides;
Figure 11 is the transmission sub modular structure schematic diagram that the embodiment of the present invention five provides;
Figure 12 is that the another kind that the embodiment of the present invention five provides sends sub modular structure schematic diagram;
Figure 13 be the embodiment of the present invention five provide indicate cellular construction schematic diagram;
Figure 14 is the sending module structural representation that the embodiment of the present invention five provides;
Figure 15 is the gateway architecture schematic diagram that the embodiment of the present invention six provides;
Figure 16 is the another kind of gateway architecture schematic diagram that the embodiment of the present invention six provides;
Figure 17 is another gateway architecture schematic diagram that the embodiment of the present invention six provides;
Figure 18 is the system configuration schematic diagram to terminal notification message transmission that the embodiment of the present invention seven provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Present embodiments provide a kind of method to terminal notification message transmission, see Fig. 1, method flow is specific as follows:
101: the content according to notification message generates notification message;
102: obtain target terminal identification information, and notification message and target terminal identification information are sent to gateway, make gateway notification message is transmitted to target terminal corresponding to target terminal identification information.
Wherein, obtain target terminal identification information, comprising:
Notification message is sent to gateway, receives the terminal identification information list that gateway feeds back according to notification message, and obtain target terminal identification information from terminal identification information list;
Or, obtain the terminal identification information of human configuration, from terminal identification information, obtain target terminal identification information;
Wherein, terminal identification information at least comprises local area network terminal Position Number, instance number and the corresponding relation between local area network terminal Position Number and instance number.
Particularly, notification message is sent to gateway, comprising:
After local area network terminal Position Number in notification message is set to sky, notification message is sent to gateway;
Correspondingly, receive the terminal identification information list that gateway feeds back according to notification message, comprising:
Receiving gateway according to local area network terminal Position Number is empty notification message, with the terminal identification information list of the form of local area network terminal management object feedback.
Alternatively, notification message is sent to gateway, comprising:
Notification message is sent to gateway after being local area network terminal by the management objectives type indicated in notification message;
Correspondingly, receive the terminal identification information list that gateway feeds back according to notification message, comprising:
Receiving gateway is the notification message of local area network terminal according to management objectives type, with the terminal identification information list of the form of local area network terminal subtree feedback.
Particularly, the management objectives type indicated in notification message is local area network terminal, comprising:
The field representing session reason in the notification message of gateway is pointed in amendment, and amended field shows to there is the reason of carrying out managing conversation with gateway, requires initiating management session;
The field representing session reason data in the notification message of gateway is pointed in expansion, and the field after expansion comprises the character representing local area network terminal, and indicating management objectives type is local area network terminal;
The field representing in the notification message of gateway and require feedback device details is pointed in amendment, and amended field shows that requirement gateway feedback net shuts the equipment details of preservation.
Wherein, receiving gateway is the notification message of local area network terminal according to management objectives type, with the terminal identification information list of the form of local area network terminal subtree feedback, comprising:
Receive the local area network terminal subtree that gateway is carried by the mode of adding expanding node in equipment details;
Or, receive the local area network terminal subtree that gateway is carried by the mode of adding message in a session, add message and carry local area network terminal subtree in WAP (wireless application protocol) binary system extend markup language/extend markup language mode;
Wherein, local area network terminal subtree comprises terminal identification information list.
Further, target terminal identification information is sent to gateway, comprising:
Target terminal identification information is carried in managing conversation information and sends to gateway;
Or, target terminal identification information is carried in subsequent notification messages and sends to gateway;
Or target terminal identification information is configured at message on gateway and forwards in management object node, message forwards management object node and at least comprises: target terminal identification information, the notification message sent to target terminal and executable node.
Further, target terminal identification information is carried in subsequent notification messages and sends to gateway, comprising:
Be responsible for identifying to management objectives the field pointed out in amendment subsequent notification messages, amended field shows to comprise in the content of subsequent notification messages points out content to target terminal identification information;
Be responsible for identify to management objectives the field be described in expansion subsequent notification messages, target identification managed by amended field middle finger exposed conduit is target terminal identification information under local area network terminal management object and local area network terminal management object.
Further, before gateway forwards notification message to target terminal, the numbering of the information element in the notification message issued is replaced with the numbering of the information element be transmitted in the notification message of target terminal by gateway.
In order to the method that the present embodiment provides clearly is described, below, in conjunction with foregoing, by the content of following embodiment two to embodiment four, the method that the present embodiment provides is described in detail, refers to following each embodiment:
Embodiment two
Present embodiments provide a kind of method to terminal notification message transmission, in the method, server is in the notification message sent to gateway, by revising existing field, indicating management objectives type is local area network terminal, to make gateway to server feedback local area network terminal identification information, server selects target terminal again from terminal identification information, target terminal identification information is carried in session information, and this session information is handed down to gateway, make gateway identify target terminal from the session information issued and forward notification message to target terminal.As shown in Figure 2, the method flow that provides of the present embodiment is specific as follows:
201: server generates notification message according to the content of notification message, and issues the notification message of generation to gateway, this notification message middle finger exposed conduit reason target type is local area network terminal;
For this step, the present embodiment does not limit the mode that server generates notification message according to the content of notification message, target terminal identification information is known in order to make server, it is local area network terminal that server indicates management objectives type to gateway, requires that gateway feeds back local area network terminal identification information with this.Wherein, the present embodiment does not limit the mode that server indicates management objectives type to gateway, for convenience of explanation, this sentences server, and by the field revised in the notification message that issues, to indicate management objectives type be local area network terminal is example, and detailed process is as follows:
Server is by expanding the session reason data field <ReasonData> field in notification message, to gateway indicate management objectives type be under gateway with local area network terminal, now, server makes following amendment in the notification message being handed down to gateway:
1, the field representing session reason in the notification message of gateway is pointed in server amendment, this sentences amendment <reason-present> field be 1 is example, amended field shows to there is the reason of carrying out managing conversation with gateway, requires initiating management session;
2, Server Extension points to the field representing session reason data in the notification message of gateway, this sentence expansion <ReasonData> be represent local area network terminal character " LanDevice " or represent that the character of other management objectives types is example, it is local area network terminal or other management objectives types that field after expansion indicates management objectives type, instead of gateway, this step is to representing that the specific character of other management objectives types limits;
3, the field representing in the notification message of gateway and require feedback device details is pointed in server amendment, this sentences amendment <send-devdetail> field be 1 is example, amended field shows to need gateway feedback net to shut the DevDetail (DeviceDetail, equipment details) of preservation.
202: gateway identifies the management objectives type indicated in the notification message that server issues;
Particularly, after <ReasonData> field in the notification message that gateway issues server is resolved, the management objectives type identifying server is local area network terminal, and determines according to this to need to server feedback local area network terminal identification information.
203: gateway is to server feedback local area network terminal identification information;
For this step, the present embodiment does not limit the mode of gateway to server feedback local area network terminal identification information, and in practical application, gateway can in the form of a list to server feedback local area network terminal identification information.Then after gateway identifies the management objectives type indicated in the notification message that server issues, determine to need to server feedback local area network terminal identification information, feedback system includes but not limited to following two kinds:
Feedback system one: as shown in Figure 3, gateway carries local area network terminal subtree by the mode of DevDetail being added to expanding node, and sends the managing conversation carrying DevDetail to server, provides terminal identification information list whereby to server.Wherein, contain terminal identification information list in local area network terminal subtree, local area network terminal subtree is preserved by gateway and is responsible for maintenance.
Feedback system two: gateway by with the session of server in add message come to server feedback local area network terminal identification information, during specific implementation, this sentences Alert message is example, gateway carries Alert message in the managing conversation pointing to server, by WBXML (WirelessApplicationProtocolBinaryExtensibleMarkupLanguag e in Alert message, WAP (wireless application protocol) binary system extend markup language)/XML (ExtensibleMarkupLanguage, extend markup language) etc. mode local area network terminal subtree carry, terminal identification information list is provided whereby to server.
Such as:
204: server finds target terminal identification information in the terminal identification information received, and target terminal identification information is carried to indicate concrete target terminal in the managing conversation information pointing to gateway;
Particularly, after server receives the terminal identification information list of gateway feedback, target terminal is found in terminal identification information list, and target terminal identification information is carried to indicate target terminal in the managing conversation information pointing to gateway, wherein, the managing conversation information pointing to gateway is the managing conversation information sent to gateway, and its mode of carrying target terminal identification information includes but not limited to following three kinds:
Carrying mode one: target terminal identification information is carried in the administration order information pointing to gateway by server, this sentences by expanding the aiming field <Target> in administration order information, and carrying target terminal identification information in field is after expansion example.
Such as: server needs instance number under local area network terminal subtree to be ./Inbox when carrying out interpolation operation on the target terminal of 1, owing to having known the corresponding relation between local area network terminal Position Number and local area network terminal instance number before server from the terminal identification information list of gateway feedback, and <Target> field not directly carries target terminal position numbering, server can only indicate target terminal by target terminal instance number to gateway, therefore <Target> field set can be ./LanDevice/1/Inbox by server.
Carrying mode two: target terminal identification information is carried in the synchronous head information of the synchronization makeup language information issued by server, this sentences the SyncML (SynchronizationMarkupLanguage issued, synchronization makeup language) SyncHdr (SynchronizationHeader in information, synchronous head) to expand <TargetParent> field in information be example, <TargetParent> field after expansion carries target terminal identification information, such as: server needs local area network terminal instance number under local area network terminal subtree to be ./Inbox when carrying out Add operation on the target terminal of 1, due to the not definition in SyncHdr of <TargetParent> field, therefore <TargetParent> field directly can be appointed as target terminal position numbering or target terminal instance number by server in SyncHdr, wherein SyncHdr is the header of concrete administration order.
Carrying mode three: target terminal identification information is carried in the information pointing to gateway by server, this sentences in the Package2 information issued, carrying target terminal identification information by expansion Alert message is example, such as: server needs instance number under local area network terminal subtree to be ./Inbox when carrying out interpolation operation on the target terminal of 1, under local area network terminal subtree, instance number is the Position Number of the target terminal of 1 is 2345, then Server Extension Alert is encoded to 2345 and indicates target terminal to gateway, or expansion Alert is encoded to target terminal instance number and indicates target terminal to gateway.
205: the target terminal identification information that gateway identified server issues is to identify target terminal;
Particularly, when server is expanded by <Target> field in administration order information, carry target terminal identification information wherein, and when administration order information is handed down to gateway, target due to gateway qualifying server management be in step 201 under gateway with local area network terminal, and server can not revise local area network terminal subtree, therefore gateway can identify the instance number in this target terminal identification information, and identifies the target terminal corresponding to target terminal instance number.
When server is in the SyncML information issued, in SyncHdr information, expansion uses <TargetParent> field, carry target terminal identification information, and when SyncHdr information is handed down to gateway, target due to gateway qualifying server management be in step 201 under gateway with local area network terminal, therefore gateway resolves <TargetParent> field carrying in the administration order of target terminal identification information of sending of server, and the target terminal identified corresponding to target terminal identification information.
When server is in the Package2 information issued, target terminal identification information is carried by expansion Alert message, and when Package2 information is handed down to gateway, target due to gateway qualifying server management be in step 201 under gateway with local area network terminal, therefore gateway directly can read target terminal identification information from the Alert message the Package2 information that server issues, and identifies the target terminal corresponding to target terminal identification information.
206: the notification message that gateway issues to target terminal forwarding server, proxy management is carried out to target terminal.
For this step, gateway is after obtaining the target terminal identification information that issues of server, identify the target terminal that server instruction gateway carries out proxy management, the notification message issued by server is transmitted to this target terminal, the managing conversation of pull-up target terminal therewith, carries out proxy management to this target terminal.Wherein, before the notification message issued by server is transmitted to this target terminal, also comprise: the numbering of the information element in notification message is replaced with the numbering of the information element be handed down in the notification message of target terminal by gateway, information element refers to all kinds of software and hardware objects related in notification message, such as: server is numbered, session number, integrity verification value Digest etc.
The method that the present embodiment provides, in the managing conversation information pointing to gateway, target terminal identification information is carried by server, to indicate concrete target terminal, and the notification message of generation is sent to gateway, gateway can be known before managing conversation starts, and the target of current managing conversation is local area network terminal or gateway, decrease repetition managing conversation during proxy management, improve resource utilization; Meanwhile, gateway can forward notification message directly to target terminal local area network terminal, does not need to generate separately, therefore alleviates the operating pressure of gateway, reduce the performance requirement to gateway.
Embodiment three
Present embodiments provide a kind of method to terminal notification message transmission, in the method, when server by the mode of notification message transmission obtain to carry out the target terminal identification information managed time, server is by the subsequent notification messages sent to gateway, revise existing field, carry target terminal identification information, make gateway directly forward notification message to target terminal, and carry out proxy management.See Fig. 4, the method flow that the present embodiment provides is specific as follows:
401: server generates notification message according to the content of notification message, to gateway notification message transmission, obtain target terminal identification information;
Particularly, the present embodiment does not limit the mode that server generates notification message according to the content of notification message.In addition, the present embodiment does not limit the mode of server acquisition target terminal identification information equally, during specific implementation, server can send to gateway and carry the notification message that local area network terminal Position Number is empty information, make gateway determine to need to server feedback local area network terminal identification information with this, server obtains target terminal identification information again from the local area network terminal identification information of gateway feedback; Or before server starts management to terminal, by human configuration terminal identification information, server directly obtains the terminal identification information of human configuration, obtains target terminal identification information from terminal identification information.
Wherein, when server to target terminal manage first maybe will upgrade local area network terminal management object time, carrying local area network terminal Position Number in the notification message that server sends to gateway is empty information, this sentences in the management object identification data field <moi-data> field in the notification message issued at server that to add DevID (DeviceIdentity local area network terminal Position Number) be empty instruction DevID=Null is example, represent under server uncertain gateway with terminal identification information, thus require that gateway feeds back local area network terminal management object (local area network terminal management object saves terminal identification information list) with this.Server knows terminal identification information list whereby, and from terminal identification information list, obtains target terminal identification information.
402: server issues the subsequent notification messages comprising target terminal identification information to gateway;
Further, after server obtains target terminal identification information, target terminal identification information is carried in the subsequent notification messages pointing to gateway, this <moi-data> field sentenced after the expansion in subsequent notification messages target terminal identification information being carried on sensing gateway is example, server indicates target terminal by the content of the <moi-data> field after expansion to gateway, namely the <moi-data> field after expansion carries target terminal identification information, target terminal is indicated to gateway, concrete steps comprise:
1, be responsible for identifying to management objectives the field pointed out in server amendment subsequent notification messages, this sentences and <moi-present> field is revised as 1 for example, and amended field shows to comprise the content of pointing out to target terminal identification information in the content of subsequent notification messages;
2, be responsible in Server Extension subsequent notification messages identifying to management objectives the field be described, amended field middle finger exposed conduit reason target identification is the target terminal identification information under local area network terminal management object and local area network terminal management object, this sentences expansion <moi-data> field, MOI (ManagementObjectIdentity is specified in <moi-data> field, management object identifies) be LanDeviceMO (LanDevicesManagementObject, local area network terminal management object) be example, field after expansion can indicate out target terminal identification information under LanDeviceMO, such as: be " moi=LanDeviceMO & DevID=1234 " by <moi-data> field extension, then represent that server will be numbered the target terminal of 1234 by target terminal position in follow-up management session.As shown in Figure 5, due to gateway saving local area network terminal identification information by the form of local area network terminal management object, and local area network terminal management object is safeguarded voluntarily by gateway, so the target terminal identification information that gateway identifiable design server issues.
403: gateway identifies target terminal from the subsequent notification messages that server issues;
For this step, the target terminal identification information that server provides by gateway in subsequent notification messages is compared with the local area network terminal identification information in the local area network terminal management object be stored on gateway, identifies target terminal.
404: gateway forwards notification message to target terminal, proxy management is carried out to target terminal.
Particularly, gateway identifies server instruction gateway and carries out the target terminal of proxy management, and the notification message issued by server is transmitted to this target terminal, and the managing conversation of pull-up target terminal therewith, carries out proxy management to target terminal.Wherein, gateway performs in embodiment two step 206 equally specified numbers to information element the action changed, and repeats no more herein.
The method that the present embodiment provides, because gateway forwards notification message directly to target terminal local area network terminal, does not need to generate separately, therefore alleviates the operating pressure of gateway, reduce the performance requirement to gateway.
Embodiment four
Present embodiments provide a kind of method to terminal notification message transmission, in the method, server obtains the target terminal identification information that will carry out managing by the mode of notification message transmission, or after passing through to obtain target terminal identification information from the terminal identification information of human configuration, management object node is forwarded according to the target terminal identification information obtained configuration messages on gateway, after having configured, trigger agents manages.After server triggers proxy management, gateway forwards the notification message in management object node to target terminal forwarding messages, and carries out proxy management to target terminal, and see Fig. 6, the method flow that the present embodiment provides is specific as follows:
601: server generates notification message according to the content of notification message, and issues the notification message of generation to gateway, obtain target terminal identification information;
For this step, the present embodiment does not limit the mode that server generates notification message according to the content of notification message.In addition, the present embodiment does not limit the mode of server acquisition target terminal identification information equally, during specific implementation, in the notification message that server sends to gateway, by revising existing field, indicating management objectives type is local area network terminal, makes gateway determine to need to server feedback local area network terminal identification information, and at gateway after server feedback local area network terminal identification information, server obtains target terminal identification information at this point; Or before server starts management to terminal, server by obtaining target terminal identification information from the terminal identification information of human configuration.
602: server forwards management object node according to the target terminal identification information obtained configuration messages on gateway;
Further, server is after acquisition local area network terminal identification information, and on gateway, configuration messages forwards management object node, and target terminal identification information and server is carried in message forwarding management object node to the notification message that target terminal sends.As shown in Figure 7, message forwards management object node and at least comprises: the notification message that target terminal identification information, server send to target terminal and executable node, wherein server performs this node for trigger agents management process.
603: server performs the message executable node forwarded in management object node and carrys out trigger agents management, and sends the administration order for target terminal to gateway;
Particularly, after server configuration messages forwards management object node, by performing the executable node in message forwarding management object node, trigger agents management process, and send the administration order for target terminal to gateway simultaneously.Server performs the trigger action needs of executable node and the administration order for target terminal is bound, and when correct trigger agents management process, the administration order for target terminal just can be sent out.
604: gateway forwards management object node from message and identifies target terminal, and forwards the notification message in management object node to target terminal forwarding messages;
For this step, gateway forwards management object node from message and finds target terminal identification information, identifies target terminal.Gateway forwards the notification message preserved in management object node to target terminal forwarding messages.
605: the administration order for target terminal that gateway issues to target terminal forwarding server, proxy management is carried out to target terminal.
Further, after gateway forwards notification message to target terminal, target terminal is to gateway feeding back conversation response message, gateway is after the conversational response message receiving target terminal feedback, the administration order for target terminal issued by server is transmitted to target terminal, thus carries out normal proxy management to target terminal.
In the method that the present embodiment provides, in advance notification message and administration order configured complete by server and be supplied to gateway, gateway is made only to need directly to forward target terminal, without the need to regenerating a notification message for objective management local area network terminal, alleviate the operating pressure of gateway, reduce the performance requirement to gateway.
Embodiment five
Present embodiments provide a kind of server, see Fig. 8, comprising:
Generation module 801, generates notification message for the content according to notification message;
Acquisition module 802, for obtaining target terminal identification information;
Sending module 803, the target terminal identification information got for the notification message that generated by generation module 801 and acquisition module 802 sends to gateway, makes gateway notification message is transmitted to target terminal corresponding to target terminal identification information.
Wherein, see Fig. 9, acquisition module 802, comprising:
Send submodule 8021, send to gateway for the notification message generated by generation module 801;
Receive submodule 8022, for receiving gateway according to the terminal identification information list sending the notification message feedback that submodule 8021 sends;
First obtains submodule 8023, for obtaining target terminal identification information from receiving in the terminal identification information list that receives of submodule 8022;
Or see Figure 10, acquisition module 802, comprising:
Second obtains submodule 8024, for obtaining the terminal identification information of human configuration;
3rd obtains submodule 8025, obtains target terminal identification information for obtaining in the terminal identification information of submodule 8024 acquisition from second;
Wherein, terminal identification information at least comprises local area network terminal Position Number, instance number and the corresponding relation between local area network terminal Position Number and instance number.
See Figure 11, send submodule 8021, comprising:
Setting unit 8021a, is set to sky for the local area network terminal Position Number in the notification message that generated by generation module 801;
First transmitting element 8021b, sends to gateway for the notification message after being arranged by setting unit 8021a;
Correspondingly, receiving submodule 8022, is empty notification message for receiving gateway according to the local area network terminal Position Number that the first transmitting element 8021b sends, with the terminal identification information list of the form of local area network terminal management object feedback.
See Figure 12, send submodule 8021, comprising:
Indicate unit 8021c, the management objectives type be used in reference in the notification message of bright generation module 801 generation is local area network terminal;
Second transmitting element 8021d, for by indicate unit 8021c indicate after notification message send to gateway;
Correspondingly, receiving submodule 8022, is the notification message of local area network terminal for receiving gateway according to the management objectives type that the second transmitting element 8021d sends, with the terminal identification information list of the form of local area network terminal subtree feedback.
See Figure 13, indicate unit 8021c, comprising:
First amendment subelement 8021c1, for revise point to gateway notification message in represent the field of session reason, amended field shows to there is the reason of carrying out managing conversation with gateway, requires initiating management session;
Expansion subelement 8021c2, for expand point to gateway notification message in represent the field of session reason data, the field after expansion comprises the character representing local area network terminal, and indicating management objectives type is local area network terminal;
Second amendment subelement 8021c3, for revise point to gateway notification message in represent the field requiring feedback device details, amended field shows that requirement gateway feedback net shuts the equipment details of preservation.
Further, receive submodule 8022, for receiving the local area network terminal subtree that gateway is carried by the mode of adding expanding node in equipment details; Or, receive the local area network terminal subtree that gateway is carried by the mode of adding message in a session, add message and carry local area network terminal subtree in WAP (wireless application protocol) binary system extend markup language/extend markup language mode;
Wherein, local area network terminal subtree comprises terminal identification information list.
When target terminal identification information is sent to gateway by sending module 803, send to gateway for being carried in managing conversation information by target terminal identification information; Or, target terminal identification information is carried in subsequent notification messages and sends to gateway; Or target terminal identification information is configured at message on gateway and forwards in management object node, message forwards management object node and at least comprises: target terminal identification information, the notification message sent to target terminal and executable node.
See Figure 14, when target terminal identification information is carried in subsequent notification messages and sends to gateway by sending module 803, comprising:
Amendment submodule 8031, is responsible for identifying to management objectives the field pointed out for revising in subsequent notification messages, and amended field shows to comprise in the content of subsequent notification messages points out content to target terminal identification information;
Expansion submodule 8032, be responsible for identify to management objectives the field be described for expanding in subsequent notification messages, target identification managed by amended field middle finger exposed conduit is target terminal identification information under local area network terminal management object and local area network terminal management object.
The target terminal identification information of acquisition is carried in the session information issued by the server that the present embodiment provides, make gateway without the need to regenerating a notification message for objective management local area network terminal, alleviate the operating pressure of gateway, reduce the performance requirement to gateway.
Embodiment six
Present embodiments provide a kind of gateway, see Figure 15, this gateway comprises:
Receiver module 1501, the notification message sent for reception server and target terminal identification information;
Forwarding module 1502, the notification message for being received by receiver module 1501 is transmitted to target terminal corresponding to target terminal identification information.
See Figure 16, this gateway, also comprises:
Feedback module 1503, for the notification message feedback terminal list of identification information received according to receiver module 1501, makes server obtain target terminal identification information from terminal identification information list;
Wherein, terminal identification information at least comprises local area network terminal Position Number, instance number and the corresponding relation between local area network terminal Position Number and instance number.
Particularly, receiver module 1501 is empty notification message for receiving local area network terminal Position Number;
Correspondingly, feedback module 1503, the local area network terminal Position Number for receiving according to receiver module 1501 is empty notification message, with the form of local area network terminal management object to the list of server feedback terminal identification information.
Alternatively, receiver module 1501 is the notification message of local area network terminal for receiving management target type;
Correspondingly, feedback module 1503, the management objectives type for receiving according to receiver module 1501 is the notification message of local area network terminal, with the form of local area network terminal subtree to the list of server feedback terminal identification information.
Further, feedback module 1503, carries the local area network terminal subtree to server feedback for the mode by adding expanding node in equipment details;
Or, feedback module 1503, carrying the local area network terminal subtree to server feedback for the mode by adding message in a session, adding message and carrying local area network terminal subtree in WAP (wireless application protocol) binary system extend markup language/extend markup language mode;
Wherein, local area network terminal subtree comprises terminal identification information list.
See Figure 17, this gateway, also comprises:
Replacement module 1504, for before forwarding module 1502 forwards notification message to target terminal, the numbering of the information element in the notification message issued by server replaces with the numbering of the information element be transmitted in the notification message of target terminal.
The gateway that the present embodiment provides, according to the requirement of server, provides terminal identification information list, identifies target terminal for server; And the notification message of the sensing target terminal issued by server is transmitted to target terminal, decreases the managing conversation of repetition, that improves administration order issues efficiency.
Embodiment seven
Present embodiments provide a kind of system to terminal notification message transmission, see Figure 18, this system comprises: server 1801 and gateway 1802.
Wherein, the server that server 1801 provides as above-described embodiment five, the gateway that gateway 1802 provides as above-described embodiment six.
The system that the present embodiment provides, by server, the notification message pointing to target terminal is directly handed down to gateway, notification message can directly be forwarded target terminal by gateway, therefore the repetition managing conversation when system of notification message transmission decreases proxy management, improve resource utilization, alleviate the operating pressure of gateway, reduce the performance requirement to gateway.
It should be noted that: the method to terminal notification message transmission that above-described embodiment provides, only carry out for the division of above-mentioned each scene, in practical application, can as required above-mentioned application scenarios be combined to complete all or part of function described above.In addition, the server that above-described embodiment provides, gateway and the system to terminal notification message transmission belong to same design with the embodiment of the method to terminal notification message transmission, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program has come, described program can be stored in a kind of computer-readable recording medium, and the above-mentioned storage medium mentioned can be system memory, disk or CD etc.
These are only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.