The content of the invention
Embodiments of the invention provide a kind of method, apparatus and system for sending information, to reduce the storage of mapped device
Burden, and improve the efficiency of data transfer.
First aspect there is provided it is a kind of send information method, including:When the network equipment sends command information to terminal,
If it is determined that the terminal is in non-sleep state, the network equipment sends the command information to the terminal;
If it is determined that the terminal is in a dormant state, first message is sent to mapped device, so that the mapped device is deposited
Store up the first message, and after the terminal departs from resting state, the mapped device receive that the terminal sends the
Two message, the first message is sent to the terminal, to cause the terminal according to the first message to the network
Equipment sends the 3rd message and obtains the command information.
In first aspect in the first possible implementation, it is described determine the terminal in a dormant state before, institute
Stating method also includes:
Receive the 4th message that the terminal is sent;
After the 4th message is received, the first flag bit is set to dormancy identification, wherein, the dormancy identification mark
Show the terminal in a dormant state;
It is described to determine that the terminal includes in a dormant state:It is the dormancy identification to determine first flag bit.
With reference to first aspect or the first possible implementation, in second of possible implementation, methods described
Also include:
Receive the 3rd message that the terminal is sent;
After the 3rd message is received, by first flag bit be set to non-sleep mark, wherein, it is described it is non-stop
Mark of the sleeping sign terminal is in non-sleep state;
It is described to determine that the terminal includes in non-sleep state:Determine that first flag bit identifies for non-sleep.
With reference to any one of first aspect to second possible implementation, in the third possible implementation
In, include after the transmission first message to mapped device:3rd flag bit is set to send mark;It is described to have sent
The mark sign network equipment has sent the first message;
Include after the 3rd message for receiving the terminal transmission:3rd flag bit is set to not send out
Send mark;
It is described to include to mapped device transmission first message:It is determined that the 3rd flag bit does not send mark to be described
When, send the first message to the mapped device.
With reference to any of the first possible implementation to the third possible implementation, in the 4th kind of possibility
Implementation in, it is described to receive the 4th message that the terminal sends and include:Receive the terminal-pair that the terminal is sent
The end points EndPoint marks answered and the address of mapped device;Wherein, the Endpoint ID is mark corresponding with the end points,
The end points is distributed by the mapped device and should with the terminal-pair.
With reference to the 4th kind of possible implementation, in the 5th kind of possible implementation, methods described also includes:
According to the address configuration of the corresponding Endpoint ID of the terminal and mapped device the network equipment, the terminal and
Binding relationship between the mapped device.
With reference to the 4th kind of possible implementation or the 5th kind of possible implementation, in the 6th kind of possible implementation
In, methods described also includes:If it is determined that the terminal is in a dormant state, the command information is stored;
When the terminal departs from resting state, the 5th message that the terminal is sent is received, and receiving described the
After five message, the command information is sent to the terminal.
Second aspect there is provided it is a kind of send information method, including:
Terminal sends the 4th message and enters resting state, so that the network equipment is after the 4th message is received, really
The fixed terminal in a dormant state, and when the network equipment sends command information to the terminal, is sent out to mapped device
First message is sent, so that the mapped device stores the first message;
After the terminal departs from resting state, the second message is sent to the mapped device, so as to the mapped device
After second message is received, the first message is sent to the terminal;
The first message that the mapped device is sent is received, and is sent out according to the first message to the network equipment
Send the 3rd message and obtain the command information.
In second aspect in the first possible implementation, methods described also includes:
When the terminal is in non-sleep state, the terminal receives the command information that the network equipment is sent.
With reference to second aspect or second aspect the first possible implementation, in second of possible implementation,
The terminal, which sends the 4th message, to be included:4th message described in the terminal broadcast;Or, the 4th disappears described in the terminal multicast
Breath;Or, the terminal sends the 4th message to the network equipment.
With reference to any of second aspect to second possible implementation, in the third possible implementation
In, methods described also includes:Receive the Endpoint ID of the mapped device transmission and store the Endpoint ID;The end points mark
Know and identified to be corresponding with end points, the end points is distributed by the mapped device and should with the terminal-pair;
Second flag bit is set to the first mark;
The terminal, which sends the 4th message, to be included:The terminal sends the 4th message according to the described first mark;Wherein, institute
Stating the 4th message includes:The address of the Endpoint ID and the mapped device;
After the terminal sends the 4th message according to the described first mark, methods described also includes:By the second flag bit
It is set to the second mark.
With reference to the third possible implementation, in the 4th kind of possible implementation, it is in second flag bit
During second mark, the terminal, which sends the 4th message, to be included:The terminal sends the 4th message according to the described second mark;
Wherein, the 4th message does not include the address of the Endpoint ID and the mapped device.
With reference to the third possible implementation or the 4th kind of possible implementation, in the 5th kind of possible implementation
In, however, it is determined that the Endpoint ID distribution failure, when the terminal departs from resting state, the 5th is sent to the network equipment
Message, and receive the command information that the network equipment is sent according to the 5th message.
With reference to any of the 5th kind of possible implementation of second aspect to second aspect, in the 6th kind of possible reality
In existing mode, after the first message that the mapped device is sent is received, methods described also includes:
Sent to the mapped device and delete mapping message, so that the mapped device is released according to the deletion mapping message
Put the corresponding end points of the Endpoint ID.
The third aspect there is provided it is a kind of send information method, including:Terminal in a dormant state when, if the network equipment
Command information is sent to the terminal, mapped device receives the first message that the network equipment is sent;
Store the first message;
After the terminal departs from resting state, the second message that the terminal is sent is received;
After second message is received, the first message is sent to the terminal, to cause the terminal root
The 3rd message is sent to the network equipment and obtain the command information according to the first message.
In the third aspect in the first possible implementation, after the first message is stored, methods described also includes:
Subsequently when receiving the first message that the network equipment is sent, the subsequently received first message is deleted.
With reference to the third aspect or the first possible implementation, in second of possible implementation, incited somebody to action described
The first message is sent to the terminal, in addition to:
Empty the message stored in the corresponding end points of the Endpoint ID.
With reference to the third aspect to second of possible implementation of the third aspect, in the third possible implementation,
The first message is sent to the terminal described, in addition to:
Receive the deletion mapping message that the terminal is sent;
The corresponding end points of the Endpoint ID is discharged according to the deletion mapping message.
Fourth aspect, the embodiment of the present invention provides a kind of network equipment, including:Processing unit, for determining that terminal is in
Non-sleep state;
Transmitting element, for when the processing unit determines that the terminal is in non-sleep state, the order to be believed
Breath is sent to the terminal;
The processing unit is additionally operable to, and determines the terminal in a dormant state;
The transmitting element is additionally operable to, and the data and processing unit determines that the terminal is in are being sent to the terminal
During resting state, first message is sent to mapped device, so that the mapped device stores the first message, and at the end
End departs from after resting state, and the mapped device receives the second message that the terminal is sent, and will according to second message
The first message that carries is sent to the terminal, to cause the terminal to be sent according to the first message to the network equipment
3rd message simultaneously obtains the command information.
In fourth aspect in the first possible implementation, the network equipment also includes:Receiving unit, for true
Before determining the terminal in a dormant state, the 4th message that the terminal is sent is received;
The processing unit is additionally operable to, and after the receiving unit receives the 4th message, the first flag bit is set
Dormancy identification is set to, wherein, the dormancy identification indicates the terminal in a dormant state;
The processing unit is specifically for it is the dormancy identification to determine first flag bit.
It is described to receive in second of possible implementation with reference to fourth aspect or the first possible implementation
Unit is additionally operable to, and receives the 3rd message that the terminal is sent;
The processing unit is additionally operable to, after the receiving unit receives the 3rd message, and described first is indicated
Position is set to non-sleep mark, wherein, the non-sleep mark sign terminal is in non-sleep state;
The processing unit is specifically for determining that first flag bit identifies for non-sleep.
With reference to any of fourth aspect to second of possible implementation of fourth aspect, in the third possible reality
In existing mode, the processing unit is additionally operable to after the transmitting element sends first message to mapped device, by the 3rd mark
Position is set to send mark;The mark sign network equipment that sent has sent the first message;Connect described
Receive unit to receive after the 3rd message, the 3rd flag bit is set to not send mark;
The transmitting element in the processing unit specifically for determining that the 3rd flag bit does not send mark to be described
When, send the first message to the mapped device.
With reference to any of the first possible implementation to the third possible implementation, in the 4th kind of possibility
Implementation in, the receiving unit specifically for, receive the corresponding Endpoint ID of the terminal that the terminal sends and
The address of mapped device;Wherein, the Endpoint ID is mark corresponding with the end points, and the end points is by the mapped device
Distribute and answered with the terminal-pair.
With reference to the 4th kind of possible implementation, in the 5th kind of possible implementation, the processing unit is additionally operable to,
According to the receiving unit receive the corresponding Endpoint ID of the terminal and mapped device address configuration described in the network equipment,
Binding relationship between the terminal and the mapped device.
With reference to the 4th kind of possible implementation or the 5th kind of possible implementation, in the 6th kind of possible implementation
In, the processing unit is additionally operable to, however, it is determined that the terminal in a dormant state, stores the command information;
The receiving unit is additionally operable to, when the terminal departs from resting state, and receive the terminal transmission the 5th disappears
Breath;
The transmitting element is additionally operable to, after the receiving unit receives the 5th message, and the command information is sent
To the terminal.
There is provided a kind of terminal in terms of 5th, including:Transmitting element, for sending the 4th message, so that the network equipment is connecing
Receive after the 4th message, determine the terminal in a dormant state, and life is sent to the terminal in the network equipment
When making information, first message is sent to mapped device, so that the mapped device stores the first message;It is de- in the terminal
After resting state, the second message is sent to the mapped device, so that the mapped device is receiving second message
Afterwards, the first message is sent to the terminal;
Receiving unit, for receiving the first message that the mapped device is sent, and according to the first message to
The network equipment sends the 3rd message and obtains the command information.
In the first possible implementation in terms of the 5th, the receiving unit is additionally operable to, and is in the terminal non-
During resting state, the command information that the network equipment is sent is received.
With reference to the 5th aspect or the 5th aspect the first possible implementation, in second of possible implementation,
The transmitting element is specifically for broadcasting the 4th message;Or, the 4th message described in multicast;Or, set to the network
Preparation send the 4th message.
With reference to any of the 5th aspect to second possible implementation, in the third possible implementation
In, the receiving unit is additionally operable to, and receives the Endpoint ID that the mapped device is sent;The Endpoint ID is corresponding with end points
Mark, the end points distributed by the mapped device and with the terminal-pair should;
The terminal also includes:Memory cell, for storing the Endpoint ID that the receiving unit is received;
Processing unit, for after the receiving unit receives the Endpoint ID that the mapped device is sent, by second
Flag bit is set to the first mark;
The transmitting element according to the described first mark specifically for sending the 4th message;Wherein, the 4th message package
Include:The address of the Endpoint ID and the mapped device;
The processing unit is additionally operable to, after the transmitting element sends the 4th message according to the described first mark, by the
Two flag bits are set to the second mark.
With reference to the third possible implementation, in the 4th kind of possible implementation, the transmitting element is specifically used
In when second flag bit is the described second mark, according to the described second mark transmission the 4th message;Wherein, institute
Stating the 4th message does not include the address of the Endpoint ID and the mapped device.
With reference to the third possible implementation or the 4th kind of possible implementation, in the 5th kind of possible implementation
In, the transmitting element is additionally operable to, however, it is determined that the Endpoint ID distribution failure, when the terminal departs from resting state, to
The network equipment sends the 5th message;
The receiving unit is specifically for receiving the command information that the network equipment is sent according to the 5th message.
With reference to any of the 5th aspect to the 5th the 5th kind of possible implementation of aspect, in the 6th kind of possible reality
In existing mode, the transmitting element is additionally operable to, after the receiving unit receives the first message that the mapped device is sent,
Sent to the mapped device and delete mapping message, so that the mapped device discharges the end according to the deletion mapping message
The corresponding end points of point identification.
There is provided a kind of mapped device in terms of 6th, including:Receiving unit, for terminal in a dormant state when, if net
Network equipment sends command information to the terminal, receives the first message that the network equipment is sent, and depart from the terminal
After resting state, the second message that the terminal is sent is received;
Memory cell, for storing the first message that the receiving unit is received;
Transmitting element, for after the receiving unit receives second message, the memory cell to be stored
First message is sent to the terminal, to cause the terminal sends the 3rd according to the first message to the network equipment to disappear
Cease and obtain the command information.
The first possible implementation in terms of the 6th, in second of possible implementation, the processing unit,
It is additionally operable to after the memory cell stores the first message, the receiving unit is follow-up to receive the network equipment hair
During the first message sent, the subsequently received first message is deleted.
With reference to the 6th aspect or the 6th aspect the first possible implementation, in second of possible implementation,
The processing unit is additionally operable to, and sends the first message to the terminal in the transmitting element, empties the end points
Identify the message stored in corresponding end points.
With reference to the 6th aspect to the 6th second of possible implementation of aspect, in the third possible implementation,
The receiving unit, is additionally operable to the transmitting element and sends the first message to the terminal, receives the terminal hair
The deletion mapping message sent;
The processing unit, the deletion mapping message for being additionally operable to be received according to the receiving unit discharges the Endpoint ID
Corresponding end points.
There is provided the network equipment, above-mentioned 5th aspect of a kind of communication system, including the description of above-mentioned fourth aspect for 7th aspect
Mapped device in the terminal of description and above-mentioned 6th aspect description.
By using the above method, the network equipment directly sends out command information when it is determined that terminal is in non-sleep state
Deliver to the terminal, and it is determined that the terminal in a dormant state, the network equipment is when needing to send command information to terminal, Xiang Ying
Jet device sends first message, so that when terminal departs from resting state, terminal obtains the first message of mapped device storage, and
According to the first message from the network equipment obtain command information, compared with prior art, it is not necessary to again by command information send to
Mapped device, is then sent to terminal by mapped device, while the storage burden of mapped device is reduced, reduces data
The time delay of transmission, from the efficiency for improving data transfer.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method for sending information, as shown in figure 1, the executive agent of this method sets for network
Standby, this method includes:
S101, the network equipment to terminal send command information when, however, it is determined that the terminal be in non-sleep state, the network
Equipment sends the command information to the terminal.
S102, however, it is determined that in a dormant state, the network equipment sends first message to the terminal to mapped device, so as to this
Mapped device stores the first message, and after the terminal departs from resting state, the mapped device receives terminal transmission
Second message, and sent the first message to the terminal according to second message, to cause the terminal according to the first message
The 3rd message is sent to the network equipment and obtains the command information.
Especially, no matter the network equipment sends how many command informations to the terminal, only sends a first message to reflecting
Jet device, to point out mapped device to there is command information to send to terminal.
Specifically, the 3rd flag bit is set to send mark by the network equipment after first message is sent to mapped device
Know;This sent mark indicate the network equipment sent the first message;And receive the of terminal transmission in the network equipment
After three message, the 3rd flag bit is set to not send mark;So, the network equipment is it is determined that the 3rd flag bit is not send
During mark, first message is sent to mapped device, for example, the network equipment to the terminal when sending command information first time, really
The fixed flag bit is does not send mark, and the network equipment sends first message to mapped device, and after first message is sent, network is set
Standby to be set to the 3rd flag bit to have sent mark, so, the network equipment to terminal when subsequently sending command information, however, it is determined that
3rd flag bit is has sent mark, and expression has been transmitted across the first message, then first message need not have been retransmited, so as to subtract
The expense of small signaling.
In addition, mapped device may be stored with, multiple different network equipments are sent to the first information of the terminal, therefore,
Preferably, when the terminal departs from resting state, the mapped device is received after the second message of terminal transmission, and mapped device will
Send and be integrated into a prompting message to the corresponding first message of command information of same terminal and send to the terminal, the prompting
Message includes sending command information to the address of the network equipment of the terminal.
Further, it is determined that the terminal in a dormant state before, the network equipment receive the terminal transmission the 4th message,
After the 4th message is received, the first flag bit is set to dormancy identification.
Wherein, the dormancy identification indicates the terminal in a dormant state.
Determine that the terminal can include in a dormant state:The network equipment determines that first flag bit is dormancy identification.
Further, the network equipment receives the 3rd message of terminal transmission;
After the 3rd message is received, first flag bit is set to non-sleep and identified by the network equipment, wherein, this is non-
Dormancy identification indicates the terminal and is in non-sleep state;
Then determine that the terminal includes in non-sleep state:Determine that first flag bit identifies for non-sleep.
Specifically, terminal departs from after resting state, and the second message is sent to the network equipment, the network equipment receive this
After two message, to terminal send first message, with inform the terminal send command information the network equipment mark, terminal according to
The mark of the network equipment sends the 3rd message to the corresponding network equipment, and the network equipment disappears in receive terminal transmission the 3rd
After breath, the command information is sent to terminal, so that terminal gets the command information, meanwhile, the network equipment can by this first
Flag bit resets to non-sleep mark, to determine that the terminal is in non-sleep state, now, order is subsequently sent in the network equipment
During information, when it is determined that first flag bit is non-sleep mark, directly the command information can be sent to terminal, so as to carry
The high efficiency of data transfer.
Further, the network equipment receives the corresponding end points of the terminal (End Point) mark of terminal transmission and reflected
The address of jet device, wherein, the address of the corresponding Endpoint ID of the terminal and mapped device may be embodied in above-mentioned 4th message
In.
Wherein, the Endpoint ID for it is corresponding with end points mark, the end points distributed by the mapped device and with the terminal-pair
Should, the end points is used for the message that storage networking device is sent.The network equipment is set according to the corresponding Endpoint ID of the terminal and mapping
Binding relationship between the standby address configuration network equipment, the terminal and the mapped device, so, the network equipment subsequently to
When mapped device sends first message, directly first message can be sent to the mapped device according to the binding relationship, be not required to
The information such as the address of the corresponding Endpoint ID of terminal and mapped device are searched again, are reduced the time delay of message transmission, are improved
Efficiency of transmission.It should be noted that the Endpoint ID included when the 4th subsequently received message and the address of mapped device
When the address of corresponding from above-mentioned binding relationship Endpoint ID and mapped device is different, the network equipment needs to re-establish new tie up
Determine relation, i.e., new binding pass is set up in the Endpoint ID included according to the 4th message of receipt of subsequent and the address of mapped device
System.
Further, when terminal is prepared to enter into resting state, if mapped device distribution end points failure (such as mapped device
Space for distributing end points is inadequate), then do not include Endpoint ID, now, the network equipment in the response message sent to terminal
Also the address of Endpoint ID and mapped device is not included in the 4th message received, therefore, this method also includes:The network equipment exists
When determining the terminal in a dormant state, the command information is stored.
When the terminal departs from resting state, the network equipment receives the 5th message of terminal transmission, and is receiving this
After 5th message, the command information is sent to the terminal.
Specifically, however, it is determined that end points distribution failure, then when terminal departs from resting state, terminal is sent out to the network equipment
Send the 5th message, and receive the command information that the network equipment is sent according to the 5th message, specifically, the network equipment it is determined that
The terminal in a dormant state when, store the command information sent to terminal, the terminal depart from resting state when, set to network
Preparation send the 5th message, and the network equipment sends command information to terminal after the 5th message is received.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and the 4th message can be dormancy notification message, for the terminal notification network equipment
In a dormant state, the 5th message can be data acquisition message to the terminal, and order letter is obtained from the network equipment for terminal
Breath.
By using the above method, the network equipment directly sends out command information when it is determined that terminal is in non-sleep state
Deliver to the terminal, and it is determined that the terminal in a dormant state, the network equipment is when needing to send command information to terminal, Xiang Ying
Jet device sends first message, so that when terminal departs from resting state, terminal obtains the first message of mapped device storage, and
According to the first message from the network equipment obtain command information, compared with prior art, it is not necessary to again by command information send to
Mapped device, is then sent to terminal by mapped device, while the storage burden of mapped device is reduced, reduces data
The time delay of transmission, from the efficiency for improving data transfer.
The embodiment of the present invention provides a kind of method for sending information, as shown in Fig. 2 the executive agent of this method is terminal,
This method includes:
S201, terminal send the 4th message and enter resting state, so that the network equipment is after the 4th message is received,
The terminal is determined in a dormant state according to the 4th message, and when the network equipment sends command information to the terminal, to
Mapped device sends first message, so that the mapped device stores the first message.
Further, when the network equipment determines that the terminal is in non-sleep state, terminal receives network equipment hair
The command information sent.
Alternatively, terminal sends the 4th message and can realized by following three kinds of modes:
Mode one:The message of terminal broadcast the 4th.
Mode two:The message of terminal multicast the 4th.
Mode three:Terminal sends the 4th message to the network equipment.
It should be noted that in mode three, terminal sends the 4th to each network equipment corresponding with the terminal
Message, it is therefore desirable to substantial amounts of Signalling exchange, so that the expense of signaling is added, it is therefore preferable that employing mode one or mode two
In method send the 4th message.
Further, before the terminal sends the 4th message and enters resting state, the terminal is sent to mapped device reflects
Request message is penetrated, so that the mapped device distributes the terminal corresponding end points according to the mapping request message, the end points is to that should have
Endpoint ID, the end points is used for the message that storage networking device is sent.
Terminal receives the Endpoint ID of mapped device transmission and stores the Endpoint ID.
Wherein, the Endpoint ID for it is corresponding with end points mark, the end points distributed by the mapped device and with the terminal-pair
Should.
Receiving Endpoint ID that the mapped device sends and after storing the Endpoint ID, the second flag bit is set to the
One mark;Terminal sends the 4th message according to first mark;Wherein, the 4th message includes:The Endpoint ID and the mapping
The address of equipment.
After the terminal sends the 4th message according to first mark, the second flag bit is set to the second mark by terminal.
Further, when second flag bit is the second mark, the terminal sends the 4th message according to the second mark;Its
In, the 4th message does not include the Endpoint ID and the address of the mapped device.
Specifically, when the second flag bit is set to the first mark (such as second flag bit being set into 1), terminal root
The 4th message is sent according to first mark, the network equipment is after the 4th message is received, according to the end points in the 4th message
Binding relationship between mark and the address configuration of the mapped device network equipment, the terminal and the mapped device, in the second mark
When will position is set to the second mark, terminal sends the 4th message according to second mark, now, due to not wrapped in the 4th message
The address of Endpoint ID and mapped device is included, therefore, the network equipment carries out the transmission of signaling according to existing binding relationship.This
Sample, for identical Endpoint ID, due to the existing binding relationship of the network equipment, therefore terminal need not be according to the second mark
The Endpoint ID is carried in the 4th message sent, so as to save the expense of signaling.
If it is to be prepared to enter into resting state (such as terminal in terminal that above-mentioned terminal sends mapping request message to mapped device
Do not carry out data interaction) when carry out, however, it is determined that end points distribution failure, then when terminal departs from resting state, terminal to
The network equipment sends the 5th message, and receives the command information that the network equipment is sent according to the 5th message, specifically, net
Network equipment it is determined that the terminal in a dormant state when, store the command information sent to terminal, the terminal depart from dormancy shape
During state, the 5th message is sent to the network equipment, the network equipment sends command information to end after the 5th message is received
End.
S202, the terminal depart from resting state after, terminal to mapped device send the second message, so as to the mapped device
After second message is received, the first message is sent to the terminal.
Mapped device empties what is stored in the corresponding end points of the Endpoint ID after the first message is sent to the terminal
Message.
Further, if it is that will enter resting state in terminal that above-mentioned terminal sends mapping request message to mapped device
Shi Jinhang's, and end points is allocated successfully, then when terminal departs from resting state, terminal is sent to the mapped device deletes mapping and disappears
Breath, so that the mapped device discharges the corresponding end points of the Endpoint ID according to the deletion mapping message.
S203, terminal receive the first message of mapped device transmission, and are sent out according to the first message to the network equipment
Send the 3rd message and obtain the command information.
The network equipment sends the data-message to terminal after the 3rd message is received.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and above-mentioned 4th message can be dormancy notification message, and for terminal notification, the network is set
In a dormant state, above-mentioned 5th message can be data acquisition message to the standby terminal, obtain and order from the network equipment for terminal
Make information.
Above-mentioned executive agent is used for the method for terminal, if terminal is in a dormant state, the network equipment is being needed to terminal
When sending command information, first message is sent to mapped device, so that when terminal departs from resting state, terminal obtains mapping and set
The first message of standby storage, and command information is obtained from the network equipment according to the first message, so, the network equipment only need to by
First message is sent to mapped device, to represent to have data to send to terminal, it is not necessary to sent by command information to mapping
Equipment, so as to save the memory space of mapped device, reduces the storage burden of mapped device.
The embodiment of the present invention provides a kind of method for sending information, as shown in figure 3, the executive agent of this method sets for mapping
Standby, this method includes:
S301, terminal in a dormant state when, if the network equipment to the terminal send command information, mapped device receive
The first message that the network equipment is sent.
Further, mapped device is the terminal distribution end points, and the corresponding Endpoint ID of end points is sent to terminal.
Specifically, mapped device receives the mapping request message of terminal transmission, and is distributed according to the mapping request message
The corresponding end points of the terminal, the end points is to that should have Endpoint ID;And send the Endpoint ID to the terminal, so that the terminal is deposited
Store up the Endpoint ID.
S302, mapped device store the first message.
Specifically, the first message is stored in the end points for the terminal distribution by mapped device.
Alternatively, terminal in a dormant state when, store the first message after, subsequently receiving the network equipment
During the first message of transmission, the subsequently received first message is deleted, specifically, for what is sent from consolidated network equipment
First message, mapped device only store first reception first message, if it is subsequently received from the network equipment first
Message then deletes the first message of receipt of subsequent, so, and mapped device only preserves first disappearing from consolidated network equipment
Breath, so that the memory space of mapped device is saved, if for example, the mapping carried in the subsequently received first message of end points is set
Standby address or Endpoint ID are identical with the address of mapped device carried in the first message preserved or Endpoint ID, then
Delete the first message of the receipt of subsequent.
S303, the terminal depart from resting state after, mapped device receive the terminal transmission the second message.
S304, mapped device send the first message to the terminal after second message is received, to cause the end
End sends the 3rd message to the network equipment according to the first message and obtains the command information.
Alternatively, after according to second message, the first message is sent to the terminal, mapped device empties the end points
Identify the message stored in corresponding end points.
Further, if the mapping request message that above-mentioned mapped device is received is that terminal will enter resting state (example
As terminal does not carry out data interaction) when send, and in the case where end points is allocated successfully, depart from resting state in terminal
When, mapped device receives the deletion mapping message of terminal transmission, and discharges the Endpoint ID pair according to the deletion mapping message
The end points answered, so, in the longer terminal of non-sleep state, because the network equipment is when terminal is in non-sleep state
Directly command information is sent to terminal, therefore, the end points of mapped device distribution can be released when terminal is in non-sleep state
Bleed off, to save the storage resource of mapped device.
It should be noted that mapped device may be stored with, multiple different network equipments are sent to the first letter of the terminal
Breath, it is therefore preferred that departing from resting state in the terminal, the mapped device is received after the second message of terminal transmission, mapping
Equipment, which will be sent, to be integrated into a prompting message to the corresponding first message of command information of same terminal and sends to the terminal,
The prompting message includes sending command information to the mark (such as address information) of the network equipment of the terminal, and terminal is connecing
Receive after the prompting message, the 3rd message is sent to the network equipment according to the mark of the network equipment, the network equipment is receiving this
After 3rd message, command information is sent to the terminal.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment.
Above-mentioned executive agent is used for the method for mapped device, if terminal is in a dormant state, the network equipment need to
When terminal sends command information, first message is sent to mapped device, so, mapped device only needs what storage networking device was sent
First message, it is not necessary to store command information, so as to save the memory space of mapped device, the storage for reducing mapped device is born
Load.
The embodiment of the present invention provides a kind of method for sending information, as shown in figure 4, this method includes:
After S401, terminal initialization or replacement, mapping request message is sent to mapped device.
Wherein, above-mentioned initialization or replacement can be starting up of terminal or restart that this is not limited by the present invention.
S402, mapped device are the terminal distribution end points according to the mapping request message.
Wherein, end points correspondence is by Endpoint ID, and the end points is used for the message that storage networking device is sent.
S403, mapped device send the Endpoint ID to terminal.
Specifically, mapped device can carry the Endpoint ID into the response message of terminal sending.
S404, terminal preserve the Endpoint ID.
S405, terminal prepare dormancy when, terminal send the 4th message.
Wherein, the 4th message includes:The mark of end points and the address of mapped device.
Specifically, when terminal preparation dormancy can be that terminal does not carry out data transmission.
Alternatively, terminal sends the 4th message and can realized by following three kinds of modes:
Mode one:The message of terminal broadcast the 4th.
Mode two:The message of terminal multicast the 4th.
Mode three:Terminal sends the 4th message to the network equipment.
It should be noted that in mode three, terminal sends the 4th to each network equipment corresponding with the terminal
Message, it is therefore desirable to substantial amounts of Signalling exchange, so that the expense of signaling is added, it is therefore preferable that employing mode one or mode two
In method send the 4th message.
S406, the network equipment are according to the address configuration of the Endpoint ID and mapped device network equipment, the terminal and should
Binding relationship between mapped device.
So, the network equipment can directly will when subsequently sending four message to mapped device according to the binding relationship
4th message is sent to the mapped device, it is not necessary to search the letter such as address of the corresponding Endpoint ID of terminal and mapped device again
Breath, reduces the time delay of message transmission, improves efficiency of transmission.
It should be noted that the Endpoint ID that includes when the 4th subsequently received message and the address of mapped device with
When the corresponding Endpoint ID of above-mentioned binding relationship is different with the address of mapped device, the network equipment needs to re-establish new binding
New binding pass is set up in relation, i.e., the Endpoint ID included according to the 4th message of receipt of subsequent and the address of mapped device
System.
First flag bit is set to dormancy identification by S407, the network equipment, to indicate the terminal in a dormant state.
Specifically, the network equipment can determine first flag bit for dormancy identification so that it is determined that the terminal is in dormancy shape
State.
S408, the network endpoint network equipment send first message when sending command information to terminal to mapped device.
No matter the network equipment sends how many command informations to the terminal, only sends a first message to mapped device,
To point out mapped device to there is command information to send to terminal.
Specifically, the 3rd flag bit is set to send mark by the network equipment after first message is sent to mapped device
Know;This sent mark indicate the network equipment sent the first message;And receive the of terminal transmission in the network equipment
After three message, the 3rd flag bit is set to not send mark;So, the network equipment is it is determined that the 3rd flag bit is not send
During mark, first message is sent to mapped device, for example, the network equipment to the terminal when sending command information first time, really
The fixed flag bit is does not send mark, and the network equipment sends first message to mapped device, and after first message is sent, network is set
Standby to be set to the 3rd flag bit to have sent mark, so, the network equipment to terminal when subsequently sending command information, however, it is determined that
3rd flag bit is has sent mark, and expression has been transmitted across the first message, then first message need not have been retransmited, so as to subtract
The expense of small signaling.
S409, mapped device store the first message.
S410, when terminal departs from resting state, terminal sends the second message to mapped device, and by first flag bit
Non-sleep mark is set to, non-sleep state is in indicate the terminal.
S411, mapped device send first message to the terminal.
It should be noted that mapped device may be stored with, multiple different network equipments are sent to the first letter of the terminal
Breath, it is therefore preferred that when the terminal departs from resting state, the mapped device is received after the second message of terminal transmission, is reflected
Jet device, which will be sent, to be integrated into a prompting message to the corresponding first message of command information of same terminal and sends to the end
End, the prompting message includes sending command information to the address of the network equipment of the terminal.
S412, terminal send the 3rd message according to the first message to the network equipment.
Now, mapped device empties the message in end points.
S413, the network equipment send command information after the 3rd message is received to terminal.
Now,, can when it is determined that first flag bit is non-sleep mark when the network equipment subsequently sends command information
Directly to send the command information to terminal, so as to improve the efficiency of data transfer.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and above-mentioned 4th message can be dormancy notification message, and for terminal notification, the network is set
The standby terminal is in a dormant state.
In addition, for foregoing embodiment of the method, in order to be briefly described, therefore it to be all expressed as to a series of action group
Close, but those skilled in the art should know, the present invention is not limited by described sequence of movement.Secondly, this area
Technical staff should also know that embodiment described in this description belongs to preferred embodiment, involved action and module
Not necessarily necessary to the present invention.
Using the above method, command information is sent directly to by the network equipment when it is determined that terminal is in non-sleep state
Terminal, reduces the time delay of data transfer, so as to improve the efficiency of data transfer, meanwhile, terminal in a dormant state when,
The network equipment sends first message when needing to send command information to terminal to mapped device, to depart from dormancy in terminal
During state, terminal obtains the first message of mapped device storage, and obtains command information from the network equipment according to the first message,
So, the network equipment only needs to send first message to mapped device, to represent to have data to send to terminal, it is not necessary to
Command information is sent to mapped device, so as to save the memory space of mapped device, the storage for reducing mapped device is born
Load.
The embodiment of the present invention provides a kind of method for sending information, as shown in figure 5, this method includes:
After S501, terminal initialization or replacement, mapping request message is sent to mapped device.
Wherein, above-mentioned initialization or replacement can be starting up of terminal or restart that this is not limited by the present invention.
S502, mapped device are the terminal distribution end points according to the mapping request message.
Wherein, the end points is to that should have Endpoint ID, and the end points is used for the message that storage networking device is sent.
S503, mapped device send the Endpoint ID to terminal.
Specifically, mapped device can carry the Endpoint ID into the response message of terminal sending.
S504, terminal preserve the Endpoint ID.
Second flag bit is set to the first mark by S505, terminal, and sends the 4th message according to first mark.
Wherein, the 4th message includes:The address of the Endpoint ID and the mapped device.
Specifically, when terminal preparation dormancy can be that terminal does not carry out data transmission.
Alternatively, terminal sends the 4th message and can realized by following three kinds of modes:
Mode one:The message of terminal broadcast the 4th.
Mode two:The message of terminal multicast the 4th.
Mode three:Terminal sends the 4th message to the network equipment.
It should be noted that in mode three, terminal sends the 4th to each network equipment corresponding with the terminal
Message, it is therefore desirable to substantial amounts of Signalling exchange, so that the expense of signaling is added, it is therefore preferable that employing mode one or mode two
In method send the 4th message.
In addition, after the terminal sends the 4th message according to first mark, the second flag bit is set to second by terminal
Mark, when second flag bit is the second mark, the 4th message that the terminal is sent according to the second mark does not include the end points
The address of mark and the mapped device.
The address configuration of the Endpoint ID and mapped device network of S506, the network equipment in the 4th message is set
Binding relationship between the standby, terminal and the mapped device.
So, the network equipment can directly will when subsequently sending first message to mapped device according to the binding relationship
First message is sent to the mapped device, it is not necessary to search the letter such as address of the corresponding Endpoint ID of terminal and mapped device again
Breath, reduces the time delay of message transmission, improves efficiency of transmission.
It should be noted that the Endpoint ID that includes when the 4th subsequently received message and the address of mapped device with
When the corresponding Endpoint ID of above-mentioned binding relationship is different with the address of mapped device, the network equipment needs to re-establish new binding
New binding pass is set up in relation, i.e., the Endpoint ID included according to the 4th message of receipt of subsequent and the address of mapped device
System.
In addition, when the second flag bit is set to the second mark, terminal sends the 4th message according to second mark, this
When, due to not including the address of Endpoint ID and mapped device in the 4th message, therefore, the network equipment is according to existing binding
Relation carries out the transmission of signaling.So, for identical Endpoint ID, due to the existing binding relationship of the network equipment, therefore eventually
End need not carry the Endpoint ID according to the second mark in the 4th message of transmission, so as to save the expense of signaling.
First flag bit is set to dormancy identification by S507, the network equipment, to indicate the terminal in a dormant state.
Specifically, the network equipment can determine first flag bit for dormancy identification so that it is determined that the terminal is in dormancy shape
State.
S508, the network equipment send first message when sending command information to terminal to mapped device.
No matter the network equipment sends how many command informations to the terminal, only sends a first message to mapped device,
To point out mapped device to there is command information to send to terminal.
Specifically, the 3rd flag bit is set to send mark by the network equipment after first message is sent to mapped device
Know;This sent mark indicate the network equipment sent the first message;And receive the of terminal transmission in the network equipment
After three message, the 3rd flag bit is set to not send mark;So, the network equipment is it is determined that the 3rd flag bit is not send
During mark, first message is sent to mapped device, for example, the network equipment to the terminal when sending command information first time, really
The fixed flag bit is does not send mark, and the network equipment sends first message to mapped device, and after first message is sent, network is set
Standby to be set to the 3rd flag bit to have sent mark, so, the network equipment to terminal when subsequently sending command information, however, it is determined that
3rd flag bit is has sent mark, and expression has been transmitted across the first message, then first message need not have been retransmited, so as to subtract
The expense of small signaling.
S509, mapped device store the first message.
S510, when terminal departs from resting state, terminal sends the second message to mapped device, and by first flag bit
Non-sleep mark is set to, non-sleep state is in indicate the terminal.
S511, mapped device send first message to the terminal.
It should be noted that mapped device may be stored with, multiple different network equipments are sent to the first letter of the terminal
Breath, it is therefore preferred that when the terminal departs from resting state, the mapped device is received after the second message of terminal transmission, is reflected
Jet device, which will be sent, to be integrated into a prompting message to the corresponding first message of command information of same terminal and sends to the end
End, the prompting message includes sending command information to the address of the network equipment of the terminal.
S512, terminal send the 3rd message according to the first message to the network equipment.
Now, mapped device empties the message in end points.
S513, the network equipment send command information after the 3rd message is received to terminal.
Now,, can when it is determined that first flag bit is non-sleep mark when the network equipment subsequently sends command information
Directly to send the command information to terminal, so as to improve the efficiency of data transfer.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and above-mentioned 4th message can be dormancy notification message, and for terminal notification, the network is set
The standby terminal is in a dormant state.
In addition, for foregoing embodiment of the method, in order to be briefly described, therefore it to be all expressed as to a series of action group
Close, but those skilled in the art should know, the present invention is not limited by described sequence of movement.Secondly, this area
Technical staff should also know that embodiment described in this description belongs to preferred embodiment, involved action and module
Not necessarily necessary to the present invention.
Using the above method, command information is sent directly to by the network equipment when it is determined that terminal is in non-sleep state
Terminal, reduces the time delay of data transfer, so as to improve the efficiency of data transfer, meanwhile, terminal in a dormant state when,
The network equipment sends first message when needing to send command information to terminal to mapped device, to depart from dormancy in terminal
During state, terminal obtains the first message of mapped device storage, and obtains command information from the network equipment according to the first message,
So, the network equipment only needs to send first message to mapped device, to represent to have data to send to terminal, it is not necessary to
Command information is sent to mapped device, so as to save the memory space of mapped device, the storage for reducing mapped device is born
Load.
The embodiment of the present invention provides a kind of method for sending information, as shown in fig. 6, the embodiment, which is used for terminal, is in non-stop
Under time of dormancy state longer scene, this method includes:
S601, when terminal is prepared to enter into resting state, to mapped device send mapping request message.
Wherein, it is above-mentioned when to be prepared to enter into resting state can be that terminal does not carry out data transmission.
S602, mapped device are the terminal distribution end points according to the mapping request message.
Wherein, end points correspondence is by Endpoint ID, and the end points is used for the message that storage networking device is sent.
When end points is allocated successfully, step S603 to step S613 is performed;
When end points distributes failure (such as the space that mapped device is used to distribute end points is inadequate), step S614 is performed extremely
S618。
S603, mapped device send the Endpoint ID to terminal.
Specifically, mapped device can carry the Endpoint ID into the response message of terminal sending.
S604, terminal preserve the Endpoint ID.
S605, terminal send the 4th message when preparing dormancy.
Wherein, the 4th includes:The mark of end points and the address of mapped device.
Specifically, when terminal preparation dormancy can be that terminal does not carry out data transmission.
Alternatively, terminal sends the 4th message and can realized by following three kinds of modes:
Mode one:The message of terminal broadcast the 4th.
Mode two:The message of terminal multicast the 4th.
Mode three:Terminal sends the 4th message to the network equipment.
It should be noted that in mode three, terminal sends the 4th to each network equipment corresponding with the terminal
Message, it is therefore desirable to substantial amounts of Signalling exchange, so that the expense of signaling is added, it is therefore preferable that employing mode one or mode two
In method send the 4th message.
S606, the network equipment are according to the address configuration of the Endpoint ID and mapped device network equipment, the terminal and should
Binding relationship between mapped device.
So, the network equipment can directly will when subsequently sending first message to mapped device according to the binding relationship
First message is sent to the mapped device, it is not necessary to search the letter such as address of the corresponding Endpoint ID of terminal and mapped device again
Breath, reduces the time delay of message transmission, improves efficiency of transmission.
It should be noted that the Endpoint ID that includes when the 4th subsequently received message and the address of mapped device with
When the corresponding Endpoint ID of above-mentioned binding relationship is different with the address of mapped device, the network equipment needs to re-establish new binding
New binding pass is set up in relation, i.e., the Endpoint ID included according to the 4th message of receipt of subsequent and the address of mapped device
System.
First flag bit is set to dormancy identification by S607, the network equipment, to indicate the terminal in a dormant state.
Specifically, the network equipment can determine first flag bit for dormancy identification so that it is determined that the terminal is in dormancy shape
State.
S608, the network equipment send first message when sending command information to terminal to mapped device.
No matter the network equipment sends how many command informations to the terminal, only sends a first message to mapped device,
To point out mapped device to there is command information to send to terminal.
Specifically, the 3rd flag bit is set to send mark by the network equipment after first message is sent to mapped device
Know;This sent mark indicate the network equipment sent the first message;And receive the of terminal transmission in the network equipment
After three message, the 3rd flag bit is set to not send mark;So, the network equipment is it is determined that the 3rd flag bit is not send
During mark, first message is sent to mapped device, for example, the network equipment to the terminal when sending command information first time, really
The fixed flag bit is does not send mark, and the network equipment sends first message to mapped device, and after first message is sent, network is set
Standby to be set to the 3rd flag bit to have sent mark, so, the network equipment to terminal when subsequently sending command information, however, it is determined that
3rd flag bit is has sent mark, and expression has been transmitted across the first message, then first message need not have been retransmited, so as to subtract
The expense of small signaling.
S609, mapped device store the first message.
S610, when terminal departs from resting state, terminal sends the second message to mapped device, and by first flag bit
Non-sleep mark is set to, non-sleep state is in indicate the terminal.
S611, mapped device send first message to the terminal.
It should be noted that mapped device may be stored with, multiple different network equipments are sent to the first letter of the terminal
Breath, it is therefore preferred that when the terminal departs from resting state, the mapped device is received after the second message of terminal transmission, is reflected
Jet device, which will be sent, to be integrated into a prompting message to the corresponding first message of command information of same terminal and sends to the end
End, the prompting message includes sending command information to the address of the network equipment of the terminal.
S612, terminal send the 3rd message according to the first message to the network equipment.
Now, mapped device empties the message in end points.
Further, mapped device receives the deletion mapping message of terminal transmission, and is released according to the deletion mapping message
Put the corresponding end points of the Endpoint ID, so, due to the network equipment when terminal is in non-sleep state directly by command information
Send to terminal, therefore, the end points of mapped device distribution can be discharged when terminal is in non-sleep state, to save mapping
The storage resource of equipment.
S613, the network equipment send command information after the 3rd message is received to terminal.
Now,, can when it is determined that first flag bit is non-sleep mark when the network equipment subsequently sends command information
Directly to send the command information to terminal, so as to improve the efficiency of data transfer.
S614, mapped device send response message to terminal.
Wherein, the response message does not include Endpoint ID.
S615, terminal determine end points distribution failure according to the response message.
S616, terminal in a dormant state when, the network equipment to terminal send command information when, store the order letter
Breath.
S617, terminal depart from resting state when, terminal to the network equipment send the 5th message.
S618, the network equipment send command information after the 5th message is received to terminal.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and above-mentioned 4th message can be dormancy notification message, and for terminal notification, the network is set
In a dormant state, above-mentioned 5th message can be data acquisition message to the standby terminal, obtain and order from the network equipment for terminal
Information is made, above-mentioned deletion mapping message can be release message, for indicating that mapped device discharges the corresponding end of the Endpoint ID
Point.
In addition, for foregoing embodiment of the method, in order to be briefly described, therefore it to be all expressed as to a series of action group
Close, but those skilled in the art should know, the present invention is not limited by described sequence of movement.Secondly, this area
Technical staff should also know that embodiment described in this description belongs to preferred embodiment, involved action and module
Not necessarily necessary to the present invention.
Using the method for the above-mentioned time longer scene that non-sleep state is in applied to terminal, the network equipment it is determined that
When terminal is in non-sleep state, command information is sent directly to terminal, the time delay of data transfer is reduced, so as to improve
The efficiency of data transfer, meanwhile, terminal in a dormant state when, if end points is allocated successfully, the network equipment is being needed to terminal
When sending command information, first message is sent to mapped device, so that when terminal departs from resting state, terminal obtains mapping and set
The first message of standby storage, and command information is obtained from the network equipment according to the first message, so, the network equipment only need to by
First message is sent to mapped device, to represent to have data to send to terminal, it is not necessary to sent by command information to mapping
Equipment, if end points distribution failure, terminal in a dormant state when, the network equipment storage command information, until terminal depart from stop
Dormancy state, command information is sent to terminal, so as to save the memory space of mapped device, reduces the storage of mapped device
Burden.
The embodiment of the present invention provides a kind of network equipment 700, as shown in fig. 7, comprises:
Processing unit 701, for determining that terminal is in non-sleep state.
Transmitting element 702, when determining that the terminal is in non-sleep state for managing unit 701 in this place, the order is believed
Breath is sent to the terminal.
The processing unit 701 is additionally operable to, and determines the terminal in a dormant state.
The transmitting element 702 is additionally operable to, and determines that the terminal is in dormancy sending data and the processing unit to the terminal
During state, first message is sent to mapped device, so that the mapped device stores the first message, and departs from dormancy in the terminal
After state, the mapped device receives the second message of terminal transmission, and this is carried into first message transmission according to second message
To the terminal, to cause the terminal to send the 3rd message to the network equipment according to the first message and obtain the command information.
Especially, no matter how many command informations are sent to the terminal, one first message of transmission to mapped device, with
Prompting mapped device has command information to send to terminal.
Specifically, the 3rd flag bit is set to send mark by the network equipment after first message is sent to mapped device
Know;This sent mark indicate the network equipment sent the first message;And receive the of terminal transmission in the network equipment
After three message, the 3rd flag bit is set to not send mark;So, the network equipment is it is determined that the 3rd flag bit is not send
During mark, first message is sent to mapped device, for example, the network equipment to the terminal when sending command information first time, really
The fixed flag bit is does not send mark, and the network equipment sends first message to mapped device, and after first message is sent, network is set
Standby to be set to the 3rd flag bit to have sent mark, so, the network equipment to terminal when subsequently sending command information, however, it is determined that
3rd flag bit is has sent mark, and expression has been transmitted across the first message, then first message need not have been retransmited, so as to subtract
The expense of small signaling.
In addition, mapped device may be stored with, multiple different network equipments are sent to the first information of the terminal, therefore,
Preferably, when the terminal departs from resting state, the mapped device is received after the second message of terminal transmission, and mapped device will
Send and be integrated into a prompting message to the corresponding first message of command information of same terminal and send to the terminal, the prompting
Message includes sending command information to the address of the network equipment of the terminal.
Further, as shown in figure 8, the network equipment 700 also includes:
Receiving unit 703, for manage in this place unit 701 determine the terminal in a dormant state before, receive the terminal hair
The 4th message sent.
The processing unit 701 is additionally operable to, and after the receiving unit 703 receives the 4th message, the first flag bit is set
It is set to dormancy identification.
Wherein, the dormancy identification indicates the terminal in a dormant state.
The processing unit 701 is specifically for it is the dormancy identification to determine first flag bit.
Further, the receiving unit 703 is additionally operable to, and receives the 3rd message of terminal transmission.
The processing unit 701 is additionally operable to, after the receiving unit 703 receives the 3rd message, by first flag bit
It is set to non-sleep mark.
Wherein, non-sleep mark indicates the terminal and is in non-sleep state.
The processing unit 701 is specifically for determining that first flag bit identifies for non-sleep.
Specifically, terminal departs from after resting state, and the second message is sent to the network equipment, the network equipment receive this
After two message, to terminal send first message, with inform the terminal send command information the network equipment mark, terminal according to
The mark of the network equipment sends the 3rd message to the corresponding network equipment, and the network equipment disappears in receive terminal transmission the 3rd
After breath, the command information is sent to terminal, so that terminal gets the command information, meanwhile, the network equipment can by this first
Flag bit resets to non-sleep mark, to determine that the terminal is in non-sleep state, now, order is subsequently sent in the network equipment
During information, when it is determined that first flag bit is non-sleep mark, directly the command information can be sent to terminal, so as to carry
The high efficiency of data transfer.
Alternatively, the processing unit 701 is additionally operable to after the transmitting element sends first message to mapped device, by the 3rd
Flag bit is set to send mark;This sent mark indicate the network equipment sent the first message;In the reception list
Member 703 is received after the 3rd message, and the 3rd flag bit is set to not send mark;
The transmitting element 702 specifically for, in this place manage unit 701 determine the 3rd flag bit for do not send mark when,
First message is sent to mapped device.
Alternatively, the receiving unit 703 is specifically for receiving the corresponding Endpoint ID of the terminal of terminal transmission and reflecting
The address of jet device.
Wherein, the Endpoint ID for it is corresponding with end points mark, the end points distributed by the mapped device and with the terminal-pair
Should.The end points is used for the message that storage networking device is sent.
The processing unit 701 is additionally operable to, the corresponding Endpoint ID of the terminal received according to the receiving unit 703 and mapping
Binding relationship between the address configuration of the equipment network equipment, the terminal and the mapped device.
So, the network equipment can directly will when subsequently sending first message to mapped device according to the binding relationship
First message is sent to the mapped device, it is not necessary to search the letter such as address of the corresponding Endpoint ID of terminal and mapped device again
Breath, reduces the time delay of message transmission, improves efficiency of transmission.It should be noted that when in the 4th subsequently received message
Including the address of Endpoint ID and mapped device Endpoint ID corresponding with above-mentioned binding relationship and mapped device address not
Meanwhile, the network equipment needs to re-establish new binding relationship, i.e., the end points mark according to the 4th message of receipt of subsequent included
Know and new binding relationship is set up in the address of mapped device.
Alternatively, when terminal is prepared to enter into resting state, if the failure of mapped device distribution end points (such as use by mapped device
It is inadequate in the space of distribution end points), then do not include Endpoint ID in the response message sent to terminal, now, the network equipment connects
Also the address of Endpoint ID and mapped device is not included in the 4th message received.
The processing unit 701 is additionally operable to, however, it is determined that the terminal in a dormant state, stores the command information.
The receiving unit 703 is additionally operable to, and when the terminal departs from resting state, receives the 5th message of terminal transmission.
The transmitting element 702 is additionally operable to, and after the receiving unit 703 receives the 5th message, the command information is sent
To the terminal.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and above-mentioned 4th message can be dormancy notification message, and for terminal notification, the network is set
In a dormant state, above-mentioned 5th message can be data acquisition message to the standby terminal, obtain and order from the network equipment for terminal
Make information.
Using the above-mentioned network equipment, when it is determined that terminal is in non-sleep state, command information is sent directly to terminal,
The time delay of data transfer is reduced, so as to improve the efficiency of data transfer.
Affiliated those skilled in the art can be understood that, for convenience and simplicity of description, the net of foregoing description
The specific work process of network equipment and description, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
The embodiment of the present invention provides a kind of terminal 900, as shown in figure 9, including:
Transmitting element 901, for sending the 4th message, so that the network equipment is after the 4th message is received, it is determined that should
Terminal in a dormant state, and when the network equipment sends command information to the terminal, first message is sent to mapped device,
So that the mapped device stores the first message;After the terminal departs from resting state, the second message is sent to mapped device, with
Just the mapped device sends the first message to the terminal after second message is received.
Receiving unit 902, the first message for receiving mapped device transmission, and according to the first message to the network
Equipment sends the 3rd message and obtains the command information.
Further, the receiving unit 902 is additionally operable to, and when the terminal is in non-sleep state, receives the network equipment
The command information of transmission.
Alternatively, the transmitting element 901 is specifically for broadcasting the 4th message;Or, the message of multicast the 4th;Or,
The 4th message is sent to the network equipment.
It should be noted that when sending four message to the network equipment, terminal is to each net corresponding with the terminal
Network equipment sends the 4th message, it is therefore desirable to substantial amounts of Signalling exchange, so that the expense of signaling is added, it is therefore preferable that extensively
Broadcast the 4th message.
Further, as shown in Figure 10, the receiving unit 902 is additionally operable to, and receives the Endpoint ID of mapped device transmission;
The Endpoint ID is mark corresponding with end points, and the end points is distributed by the mapped device and should with the terminal-pair;
The terminal 900 also includes:Memory cell 903, the Endpoint ID for storing the receiving unit 902 reception;
Processing unit 904, for after the Endpoint ID that the receiving unit 902 receives mapped device transmission, by the
Two flag bits are set to the first mark;
The transmitting element 901 according to first mark specifically for sending the 4th message;Wherein, the 4th message includes:
The address of the Endpoint ID and the mapped device;
The processing unit 904 is additionally operable to, after the transmitting element 901 sends the 4th message according to first mark, by the
Two flag bits are set to the second mark.
Alternatively, the transmitting element 901 is specifically for when second flag bit is the second mark, according to second mark
Know and send the 4th message;Wherein, the 4th message does not include the Endpoint ID and the address of the mapped device.
Specifically, when the second flag bit is set to the first mark (such as second flag bit being set into 1), according to this
First mark sends the 4th message, and the network equipment is after the 4th message is received, according to the Endpoint ID in the 4th message
Binding relationship between the address configuration of the mapped device network equipment, the terminal and the mapped device, in the second flag bit
When being set to the second mark, terminal sends the 4th message according to second mark, now, due to not including end in the 4th message
The address of point identification and mapped device, therefore, the network equipment carry out the transmission of signaling according to existing binding relationship.So, it is right
In identical Endpoint ID, due to the existing binding relationship of the network equipment, therefore terminal need not be in transmission according to the second mark
The 4th message in carry the Endpoint ID, so as to save the expense of signaling.
Alternatively, if it is to be prepared to enter into resting state in terminal that above-mentioned terminal sends mapping request message to mapped device
Carried out when (such as terminal does not carry out data interaction), the transmitting element 901 is additionally operable to, however, it is determined that Endpoint ID distribution is lost
Lose, when the terminal departs from resting state, the 5th message is sent to the network equipment.
The receiving unit 902 is specifically for receiving the command information that the network equipment is sent according to the 5th message.
Further, the transmitting element 901 is additionally operable to, and the of mapped device transmission is received in the receiving unit 902
After one message, sent to the mapped device and delete mapping message, so that the mapped device should according to deletion mapping message release
The corresponding end points of Endpoint ID.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and above-mentioned 4th message can be dormancy notification message, and for terminal notification, the network is set
In a dormant state, above-mentioned 5th message can be data acquisition message to the standby terminal, obtain and order from the network equipment for terminal
Information is made, above-mentioned deletion mapping message can be release message, for indicating that mapped device discharges the corresponding end of the Endpoint ID
Point.
Using above-mentioned terminal, if terminal is in a dormant state, the network equipment need to terminal send command information when, to
Mapped device sends first message, so that when terminal departs from resting state, terminal obtains the first message of mapped device storage,
And command information is obtained from the network equipment according to the first message, so, the network equipment only needs to send first message to reflecting
Jet device, to represent to have data to send to terminal, it is not necessary to send to mapped device, reflected so as to save by command information
The memory space of jet device, reduces the storage burden of mapped device.
Affiliated those skilled in the art can be understood that, for convenience and simplicity of description, the end of foregoing description
The specific work process at end, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
The embodiment of the present invention provides a kind of mapped device 1100, as shown in figure 11, including:
Receiving unit 1101, for terminal in a dormant state when, if the network equipment to the terminal send command information,
The first message of network equipment transmission is received, and after the terminal departs from resting state, receive terminal transmission second disappears
Breath.
Specifically, receiving unit 1101 receives the mapping request message that the terminal is sent, and according to the mapping request message
Distribute the terminal corresponding end points, the end points is to that there should be Endpoint ID;And send the Endpoint ID to the terminal, so as to the end
End stores the Endpoint ID.
Memory cell 1102, the first message for storing the receiving unit 1101 reception.
Transmitting element 1103, for after the receiving unit 1101 receives second message, by the memory cell 1102
The first message of storage is sent to the terminal, to cause the terminal to send the 3rd message to the network equipment according to the first message
And obtain the command information.
It should be noted that mapped device may be stored with, multiple different network equipments are sent to the first letter of the terminal
Breath, it is therefore preferred that departing from resting state in the terminal, the mapped device is received after the second message of terminal transmission, mapping
Equipment, which will be sent, to be integrated into a prompting message to the corresponding first message of command information of same terminal and sends to the terminal,
The prompting message includes sending command information to the mark (such as address information) of the network equipment of the terminal, and terminal is connecing
Receive after the prompting message, the 3rd message is sent to the network equipment according to the mark of the network equipment, the network equipment is receiving this
After 3rd message, command information is sent to the terminal.
Further, as shown in figure 12, the mapped device 1100 also includes:Processing unit 1104, in the storage list
Member 1102 is stored after the first message, and the receiving unit 1101 is follow-up when receiving the first message of network equipment transmission,
Delete the subsequently received first message.
Specifically, for the first message sent from consolidated network equipment, mapped device only store first reception
First message, deletes the first message of receipt of subsequent if the subsequently received first message from the network equipment, so, reflects
Jet device only preserves a first message from consolidated network equipment, so that the memory space of mapped device is saved, for example,
If the address of the mapped device carried in the subsequently received first message of end points or Endpoint ID and the first message of preservation
The address of the mapped device of middle carrying or Endpoint ID are identical, then delete the first message of the receipt of subsequent.
Alternatively, the processing unit 1104 is additionally operable to, and sends the first message to the terminal in the transmitting element 1103
Afterwards, the message stored in the corresponding end points of the Endpoint ID is emptied.
Further, the receiving unit 1101, is additionally operable to the transmitting element 1103 and sends the first message to the terminal
Afterwards, the deletion mapping message of terminal transmission is received.
The processing unit 1104, is additionally operable to discharge the end points mark according to the deletion mapping message that the receiving unit 1101 is received
Know corresponding end points.
So, in the longer terminal of non-sleep state, because the network equipment is when terminal is in non-sleep state
Directly command information is sent to terminal, therefore, the end points of mapped device distribution can be released when terminal is in non-sleep state
Bleed off, to save the storage resource of mapped device.
It should be noted that above-mentioned first message can be prompting message, for pointing out the mapped device network equipment
There is command information to send to terminal, above-mentioned second message can be to obtain request message, for departing from dormancy in the terminal
During state, terminal obtains the first message of storage to mapped device, and above-mentioned 3rd message can be data acquisition message, for end
End obtains command information from the network equipment, and above-mentioned deletion mapping message can be release message, for indicating that mapped device discharges
The corresponding end points of the Endpoint ID.
Using above-mentioned mapped device, if terminal is in a dormant state, the network equipment is needing to send command information to terminal
When, first message is sent to mapped device, so, mapped device only needs the first message that storage networking device is sent, it is not necessary to deposit
Command information is stored up, so as to save the memory space of mapped device, the storage burden of mapped device is reduced.
Affiliated those skilled in the art can be understood that, for convenience and simplicity of description, the end of foregoing description
The specific work process at end and description, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
The embodiment of the present invention provides a kind of network equipment 130, and as shown in figure 13, the network equipment 130 includes:Processor
(processor) 131, communication interface (Communications Interface) 132, memory (memory) 133 and communication
Bus 134;Wherein, the processor 131, the communication interface 132 and the memory 133 pass through the communication bus 134
Complete mutual communication.
Processor 131 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present invention
Road.
Memory 133 is used to deposit program code, and described program code includes computer-managed instruction.Memory 133 can
High-speed RAM memory can be included, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least
One magnetic disk storage.
The communication interface 132, for realizing the connection communication between these devices.
The configuration processor code of processor 131, for when sending command information to terminal, however, it is determined that the terminal is in
Non-sleep state, the command information is sent to the terminal, and if it is determined that the terminal in a dormant state, is sent to mapped device
First message, so that the mapped device stores the first message, and after the terminal departs from resting state, the mapped device is received
To the terminal send the second message, the first message is sent to the terminal, with cause the terminal according to the first message to
The network equipment sends the 3rd message and obtains the command information.
Alternatively, the processor 131 is additionally operable to, the determination terminal in a dormant state before, receive terminal transmission
The 4th message, after the 4th message is received, the first flag bit is set to dormancy identification, wherein, the dormancy identification mark
Show the terminal in a dormant state;And determine that first flag bit is the dormancy identification.
Alternatively, the processor 131 is additionally operable to, and receives the 3rd message of terminal transmission, and is receiving the 3rd
After message, first flag bit is set to non-sleep mark, wherein, non-sleep mark indicates the terminal and is in non-sleep shape
State, determines that first flag bit identifies for non-sleep.
Alternatively, the processor 131 is additionally operable to, and the 3rd flag bit is set to send mark;This has sent mark mark
Show that the network equipment has sent the first message;And be set to not send mark by the 3rd flag bit;And it is determined that the 3rd
When flag bit does not send mark for this, the first message is sent to the mapped device.
Alternatively, the processor 131 is specifically for receiving the corresponding Endpoint ID of the terminal and the mapping of terminal transmission
The address of equipment;Wherein, the Endpoint ID for it is corresponding with the end points mark, the end points distributed by the mapped device and with the end
End correspondence.
Alternatively, the processor 131 is additionally operable to, according to the address configuration of the corresponding Endpoint ID of the terminal and mapped device
Binding relationship between the network equipment, the terminal and the mapped device.
Alternatively, the processor is additionally operable to, however, it is determined that the terminal in a dormant state, stores the command information, and at this
When terminal departs from resting state, the 5th message of terminal transmission is received, and after the 5th message is received, the order is believed
Breath is sent to the terminal.
The embodiment of the present invention provides a kind of terminal 140, and as shown in figure 14, the terminal 140 includes:Processor
(processor) 141, communication interface (Communications Interface) 142, memory (memory) 143 and communication
Bus 144;Wherein, the processor 141, the communication interface 142 and the memory 143 pass through the communication bus 144
Complete mutual communication.
Processor 141 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present invention
Road.
Memory 143 is used to deposit program code, and described program code includes computer-managed instruction.Memory 143 can
High-speed RAM memory can be included, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least
One magnetic disk storage.
The communication interface 142, for realizing the connection communication between these devices.
The configuration processor code of processor 141, for sending the 4th message and entering resting state, so as to the network equipment
After the 4th message is received, the terminal is determined in a dormant state, and send order letter to the terminal in the network equipment
During breath, first message is sent to mapped device, so that the mapped device stores the first message, departs from resting state in the terminal
Afterwards, the second message is sent to the mapped device, so that the mapped device is after second message is received, the first message is sent out
The terminal is delivered to, the first message of mapped device transmission is received, and the is sent to the network equipment according to the first message
Three message simultaneously obtain the command information.
Alternatively, the processor 141 is additionally operable to, and when the terminal is in non-sleep state, receives network equipment transmission
Command information.
Alternatively, the processor 141 is specifically for broadcasting the 4th message;Or, the message of multicast the 4th;Or, to
The network equipment sends the 4th message.
Alternatively, the processor 141 is additionally operable to, and is received the Endpoint ID of mapped device transmission and is stored the end points mark
Know;The Endpoint ID is mark corresponding with end points, and the end points is distributed by the mapped device and answered with the terminal-pair, by the second mark
Will position is set to the first mark, and sends the 4th message according to first mark;Wherein, the 4th message includes:The end points
The address of mark and the mapped device, and after the terminal sends the 4th message according to first mark, this second is indicated
Position is set to the second mark.
Alternatively, the processor 141 is additionally operable to, when second flag bit is second mark, according to second mark
Send the 4th message;Wherein, the 4th message does not include the Endpoint ID and the address of the mapped device.
Alternatively, the processor 141 is additionally operable to, however, it is determined that Endpoint ID distribution failure, departs from dormancy shape in the terminal
During state, the 5th message is sent to the network equipment, and receive the command information that the network equipment is sent according to the 5th message.
Alternatively, the processor 141 is additionally operable to, and after the first message that the mapped device is sent is received, is set to the mapping
Preparation send deletion mapping message, so that the mapped device discharges the corresponding end points of the Endpoint ID according to the deletion mapping message.
The embodiment of the present invention provides a kind of mapped device 150, and as shown in figure 15, the mapped device 150 includes:Processor
(processor) 151, communication interface (Communications Interface) 152, memory (memory) 153 and communication
Bus 154;Wherein, the processor 151, the communication interface 152 and the memory 153 pass through the communication bus 154
Complete mutual communication.
Processor 151 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present invention
Road.
Memory 153 is used to deposit program code, and described program code includes computer-managed instruction.Memory 153 can
High-speed RAM memory can be included, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least
One magnetic disk storage.
The communication interface 152, for realizing the connection communication between these devices.
The configuration processor code of processor 151, for terminal in a dormant state when, if the network equipment is to the terminal
Command information is sent, mapped device receives the first message of network equipment transmission, store the first message, and it is de- in the terminal
After resting state, the second message of terminal transmission is received, and after second message is received, the first message is sent
To the terminal, to cause the terminal to send the 3rd message to the network equipment according to the first message and obtain the command information.
Alternatively, the processor 151 is additionally operable to, after the first message is stored, and is subsequently receiving network equipment hair
During the first message sent, the subsequently received first message is deleted.
Alternatively, the processor 151 is additionally operable to, after this sends the first message to the terminal, empties the end points mark
Know the message stored in corresponding end points.
Alternatively, the processor 151 is additionally operable to, after this sends the first message to the terminal, receives terminal hair
The deletion mapping message sent, and the corresponding end points of the Endpoint ID is discharged according to the deletion mapping message.
The embodiment of the present invention provides a kind of communication system, as shown in figure 16, including:Network described in above-mentioned Fig. 7 or Fig. 8 is set
Standby 700, the terminal 900 described in above-mentioned Fig. 9 or Figure 10 and the mapped device 1100 described in above-mentioned Figure 11 or Figure 12.
The method that the above-mentioned network equipment is applied to the transmission message described in above-mentioned Fig. 1, and each list in the network equipment
Member is also corresponding with each step in this method, and above-mentioned terminal applies are in the method for the transmission message described in above-mentioned Fig. 2, and the end
Unit in end is also corresponding with each step in this method, and above-mentioned mapped device is applied to the transmission described in above-mentioned Fig. 3
Unit in the method for message, and the mapped device is also corresponding with each step in this method.
It should be noted that above-mentioned communication system can be HAN (Home Area Network, home network).
Using above-mentioned communication system, the network equipment directly sends out command information when it is determined that terminal is in non-sleep state
Terminal is delivered to, the time delay of data transfer is reduced, so that the efficiency of data transfer is improved, meanwhile, it is in dormancy shape in terminal
During state, the network equipment sends first message, to depart from terminal when needing to send command information to terminal to mapped device
During resting state, terminal obtains the first message of mapped device storage, and obtains order from the network equipment according to the first message
Information, so, the network equipment only need to send first message to mapped device, to represent to have data to send to terminal, no
Need to send to mapped device by command information, so as to save the memory space of mapped device, reduce mapped device
Storage burden.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.