Method, device and system for data stream transmission

The embodiments of the present disclosure provide a method, a device and a system for data stream transmission, which relate to the field of communication, and can reduce the energy consumption of the data stream transmission between devices. The method includes: receiving, by a resting device, a message indicating to enter into an energy-saving state; after receiving the message indicating to enter into the energy-saving state, sending, by the resting device, stored user information to an on-duty device so that the on-duty device receives and synchronizes user information; and, after the user information is synchronized, setting, by the resting device, the transmission state of the resting device as standby and entering into a sleeping state. The embodiments of the present disclosure are used for data stream transmission.

TECHNICAL FIELD

The present disclosure relates to the field of communication, and particularly, to a method, a device and a system for data stream transmission.

BACKGROUND

The Broadband Remote Access Server (Broadband Remote Access Server, BRAS) is a new-type access gateway oriented to the broadband network application. It is located in the edge layer of backbone network, and capable of completing the data access of the Internet Protocol (Internet Protocol, IP)/Asynchronous Transfer Mode (Asynchronous Transfer Mode, ATM) network for the user bandwidth, thereby realizing applications such as broadband Internet for commercial buildings and village residents, IP Security Protocol (IP Security Protocol, IPSec)-based IP Virtual Private Network (IP Virtual Private Network, IP VPN) service, Intranet construction, and support to the Internet Service Provider (ISP) to wholesale services to the users.

Currently, there are often multiple BRASs to simultaneously provide the user with the data stream transmission service, without considering various scenarios of data traffic change during the data stream transmission.

The inventors find that the energy consumption during the data stream transmission of the BRAS is not considered in the prior art.

SUMMARY

The embodiments of the present disclosure provide a method, a device and a system for data stream transmission, which can reduce the energy consumption of the data stream transmission between devices.

An aspect provides a method for data stream transmission, including:receiving a message indicating to enter into an energy-saving state;after receiving the message indicating to enter into the energy-saving state, sending stored user information to an on-duty device, wherein the on-duty device receives and synchronizes the user information; andafter the user information is synchronized, setting transmission state as standby and entering into a sleeping state.

Another aspect further provides a method for data stream transmission, including:receiving a message indicating to enter into an energy-saving state;after receiving the message indicating to enter into the energy-saving state, receiving and synchronizing user information sent by a resting device; andafter the user information is synchronized, setting transmission state as main and performing a data stream switching.

Another aspect provides a resting device for data transmission, including:a receiving unit configured to receive a message indicating to enter into an energy-saving state;a synchronizing unit configured to send stored user information to an on-duty device for data transmission so that the on-duty device for data transmission receives and synchronizes user information, after the receiving unit receives the message indicating to enter into the energy-saving state; anda setting unit configured to set transmission state as standby and enters the sleeping state, after the user information is synchronized.

Another aspect provides an on-duty device for data transmission, including:a receiving unit configured to receive a message indicating to enter into an energy-saving state;a synchronizing unit configured to receive and synchronize user information sent by a resting device for data transmission, after the receiving unit receives the message indicating to enter into the energy-saving state; anda setting unit configured to set transmission state as main and perform a data stream switching, after the user information is synchronized.

Another aspect provides a system for data stream transmission, including:a resting device for data transmission configured to receive a message indicating to enter into an energy-saving state; send stored user information to an on-duty device for data transmission after receiving the message indicating to enter into the energy-saving state; and set transmission state of the resting device as standby and enter into a sleeping state, after the user information is synchronized;the on-duty device for data transmission configured to receive a message indicating to enter into the energy-saving state; receive and synchronize the user information sent by the resting device for data transmission, after receiving the message indicating to enter into the energy-saving state; and set the transmission state of the on-duty device as main and perform a data stream switching, after the user information is synchronized; anda network management device configured to detect the network traffic, send the messages indicating to enter into the energy-saving state to the resting device for data transmission, and send the messages indicating to enter into the energy-saving state to the on-duty device for data transmission.

The embodiments of the present disclosure provide a method, a device and a system for data stream transmission, wherein after the message indicating to enter into the energy-saving state is received, the resting device sends stored user information to the on-duty device so that the on-duty device receives and synchronizes user information; and after the user information is synchronized, the resting device sets the transmission state of itself as standby and enters into the sleeping state, while the on-duty device sets the transmission state of itself as main and switches the data stream. Thus, after the user information is synchronized between the devices, one (group of) device enters into the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption in the data stream transmission between the devices.

DESCRIPTION OF EMBODIMENTS

The technical solutions of the embodiments of the present disclosure will be clearly and completely described as follows with reference to the drawings. The described embodiments are just a part of embodiments of the present disclosure rather than all the embodiments. Based on the embodiments of the present disclosure, any other embodiment obtained by a person skilled in the art without paying a creative effort shall fall within the protection scope of the present disclosure.

In the embodiments of the present disclosure, a device in the working state after the data stream switching is defined as an on-duty device, while a device in the sleeping state after the data stream switching is defined as a resting device.

A method for data stream transmission provided by an embodiment of the present disclosure is illustrated inFIG. 1, including the following steps.

In step S100, a resting device receives a message indicating to enter into the energy-saving state.

Herein, the message indicating to enter into the energy-saving state may be sent by a network management device.

In step S101, after receiving the message indicating to enter into the energy-saving state, the resting device sends stored the user information to an on-duty device so that the on-duty device receives and synchronizes the user information.

In step S102, after the user information is synchronized, the resting device sets the transmission state of itself as standby and enters into the sleeping state.

For example, the resting device may set the device priority as low according to the Virtual Router Redundancy Protocol of itself, so as to set the transmission state of itself as standby.

In the method for data stream transmission provided by the embodiment of the present disclosure, after receiving the message indicating to enter the energy-saving state, the resting device sends stored user information to the on-duty device so that the on-duty device receives and synchronizes the user information; and after the user information is synchronized, the resting device sets transmission state of itself as standby and enters into the sleeping state, while the on-duty device sets the transmission state of itself as main and switches the data stream. Thus, after the user information is synchronized between the devices, one (group of) device enters into the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption during the data stream transmission between the devices.

A method for data stream transmission provided by another embodiment of the present disclosure is illustrated inFIG. 2, including the following steps.

In step S200, an on-duty device receives a message indicating to enter into the energy-saving state.

Herein, the message indicating to enter into the energy-saving state may be sent by a network management device.

In step S201, after receiving the message indicating to enter into the energy-saving state, the on-duty device receives and synchronizes the user information sent by a resting device.

In step S202, after the user information is synchronized, the on-duty device sets the transmission state of itself as main and performs a data stream switching.

For example, the on-duty device distributes a routing to the upstream device, to trigger the data stream switching. The on-duty device may set the device priority as high according to the Virtual Router Redundancy Protocol (Virtual Router Redundancy Protocol, VRRP) of itself, so as to set the transmission state of itself as main, and send Address Resolution Protocol (Address Resolution Protocol, ARP) packets to the downstream device.

In this embodiment, either the on-duty device or the resting device may be a Broadband Remote Access Server (Broadband Remote Access Server, BRAS).

In the method for data stream transmission provided by the embodiment of the present disclosure, after the on-duty device receives the message indicating to enter into the energy-saving state, the resting device sends the stored user information to the on-duty device so that the on-duty device receives and synchronizes the user information; and after the user information is synchronized, the resting device sets the transmission state of itself as standby and enters into the sleeping state, while the on-duty device sets the transmission state of itself as main and switches the data stream. Thus, after the user information is synchronized between the devices, one (group of) device enters into the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption during the data stream transmission between the devices.

A method for data stream transmission provided by still another embodiment of the present disclosure is described with reference toFIGS. 3 and 4through the examples of two devices for data stream transmission. As illustrated inFIG. 3, a network management device301is connected to a first device302and a second device303used as transmission devices, respectively. An upstream device304(e.g., an upper-layer router) is connected to the first device302and the second device303, respectively. The first device302and the second device303are further connected to a downstream device305(e.g., a switch), respectively. In this embodiment, either the first device302or the second device303may be the BRAS.

As illustrated inFIG. 4, this embodiment includes the following steps.

In S400, the network management device301sends a message indicating to enter into the energy-saving state to the first device302and the second device303which are used as devices for data stream transmission. In this embodiment, it may be pre-assigned that the first device302is the resting device and the second device303is the on-duty device.

Herein, the network management device301may periodically send the message indicating to enter into the energy-saving state to the first device302and the second device303; or detect the data traffic in the network, and send the message indicating to enter into the energy-saving state to the first device302and the second device303when the data traffic meets the predetermined condition.

In S401, after receiving the message indicating to enter into the energy-saving state sent by the network management device301, the resting device302sends the user information stored by itself to the on-duty device303that receives and synchronizes the user information.

In S402, after receiving and synchronizing the user information sent by the resting device302, the on-duty device303distributes a user side routing to the upper-layer router304which is used as the upstream device, so as to perform the data stream switching.

In S403, the on-duty device303sends a user information synchronization completed message to the network management device301.

In S404, after synchronizing the user information, the on-duty device303sets the device priority as high according to its VRRP, so as to set the transmission state of itself as main.

In S405, the network management device301sends a message indicating to start switching to the resting device302.

In S406, after receiving the message indicating to start switching sent by the network management device, the resting device302sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby.

In S407, after setting the transmission state of itself as standby, the resting device302sends a message of canceling user side routing to the upper-layer router304.

In S408, while the resting device302sends the message of canceling user side routing to the upper-layer router304, the on-duty device303sends ARP packets to the switch305which is used as the downstream device.

In S409, after sending the message of canceling user side routing to the upper-layer router304, the resting device302sends a switching completion message to the network management device301.

In S410, after sending the ARP packets to the switch305, the on-duty device303sends a switching completion message to the network management device301.

In S411, after receiving the switching completion messages sent by the resting device302and the on-duty device303, respectively, the network management device301sends a sleeping instruction to the resting device302.

In S412, after receiving the sleeping instruction, the resting device302enters into the sleeping state. Further, the interface board of the resting device may be powered off.

In the method for data stream transmission provided by the embodiment of the present disclosure, after receiving the message indicating to enter into the energy-saving state, the resting device sends the stored user information to the on-duty device so that the on-duty device receives and synchronizes the user information; and after the user information is synchronized, the resting device sets the transmission state of itself as standby and enters into the sleeping state, while the on-duty device sets the transmission state of itself as main and switches the data stream. Thus, after the user information is synchronized between the devices, one device enters into the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption in the data stream transmission between the devices.

Further, when the energy-saving state expires or the network management device detects that the data traffic in the network meets the predetermined condition, the resting device in the sleeping state shall be awoken to recover the working state. As illustrated inFIG. 5, this embodiment includes the following state.

In S500, the network management device301sends a recovery indication message to the resting device302.

In S501, after receiving the recovery indication message, the resting device302recovers the related configuration information.

In S502, after recovering the related configuration information, the resting device302sends a recovery completion message to the network management device301.

In S503, the network management device301sends a user information synchronization instruction to the resting device302and the on-duty device303.

In S504, after receiving the user information synchronization instruction sent by the network management device301, the on-duty device303sends the user information stored by itself to the resting device302; and after receiving the user information synchronization instruction sent by the network management device301, the resting device302receives and synchronizes the user information sent by the on-duty device303.

In S505, after synchronizing the user information sent by the on-duty device303, the resting device302sends a synchronization completion message to the network management device301.

In S506, after receiving the synchronization completion message sent by the resting device302, the network management device301sends a message indicating to start switching to the resting device302.

In S507, after receiving the message indicating to start switching sent by the network management device301, the resting device302sets the device priority as high according to its VRRP, so as to set the transmission state of itself as main.

In S508, the on-duty device303sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby. To be noted, S508is performed after step S504where the on-duty device303sends the user information to the resting device302, while not limited to be performed after S507.

In S509, after setting the transmission state of itself as main, the resting device302distributes a user side routing to the upper-layer router304, so as to perform the data stream switching.

In S510, while distributing the user side routing to the upper-layer router304, the resting device302sends ARP packets to the switch305.

In S511, after distributing the user side routing to the upper-layer router304and sending the ARP packets to the switch305, the resting device302sends a switching completion message to the network management device301.

Thus, the sleeping resting device may be awoken by the network management device to recover the working state, thereby ensuring normal data stream transmission.

In addition, when the system enters into the energy-saving state, the communication link between the resting device and the network management device shall not be closed, so as to ensure that the resting device can recover the working state in time.

A method for data stream transmission provided by another embodiment of the present disclosure is described with reference toFIGS. 6 and 7through the examples of four data streams in two groups. As illustrated inFIG. 6, a network management device601is connected to a third device603, a fourth device604, a fifth device605and a sixth device606which are used as devices for data stream transmission, respectively. An upstream device602(e.g., an upper-layer router) is connected to the third device603, the fourth device604, the fifth device605and the sixth device606, respectively. The third device603, the fourth device604, the fifth device605and the sixth device606are further connected to a downstream device607(e.g., a switch), respectively. In this embodiment, any of the third device603, the fourth device604, the fifth device605and the sixth device606may be the BRAS.

In this embodiment, it may be pre-assigned that the third device603and the fourth device604are resting devices, wherein the third device603is a main resting device and the fourth device604is a standby resting device; the fifth device605and the sixth device606are on-duty devices, wherein the fifth device605is a main on-duty device and the sixth device606is a standby on-duty device.

As illustrated inFIG. 7, this embodiment includes the following steps.

In S700, the network management device601sends a message indicating to enter into the energy-saving state to the main resting device603.

Herein, the network management device601may periodically send the message indicating to enter into the energy-saving state to the main resting device603, or detect the data traffic in the network, and send the message indicating to enter the energy-saving state to the main resting device603when the data traffic meets the predetermined condition.

In S701, after receiving the message indicating to enter into the energy-saving state sent by the network management device601, the main resting device603sends the stored user information to the main on-duty device605that receives and synchronizes the user information.

In S702, after receiving and synchronizing the user information sent by the main resting device603, the main on-duty device605sends the user information to the standby on-duty device606that receives and synchronizes the user information.

In S703, after the standby on-duty device606receives and synchronizes the user information, the main on-duty device605distributes a user side routing to the upper-layer router602which is used as the upstream device, so as to perform a data stream switching.

In S704, while the main on-duty device605distributes the user side routing to the upper-layer router602, the standby on-duty device606also distributes a user side routing to the upper-layer router602, so as to perform a data stream switching.

In S705, after the main on-duty device605and the standby on-duty device606distribute the user side routing to the upper-layer router602, the standby on-duty device606sends a user information synchronization completion message to the network management device601.

In S706, after sending the user information synchronization completion message to the network management device601, the standby on-duty device606sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby.

In S707, the network management device601sends a message indicating to start switching to the main resting device603, the standby resting device604and the main on-duty device605.

In S708, after receiving the message indicating to start switching sent by the network management device601, the main resting device603sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby.

In S709, after receiving the message indicating to start switching sent by the network management device601, the standby resting device604sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby.

In S710, after receiving the message indicating to start switching sent by the network management device601, the main on-duty device605sets the device priority as high according to its VRRP, so as to set the transmission state of itself as main.

In S711, after switching their transmission states, the main resting device603and the standby resting device604send messages of cancelling user side routing to the upper-layer router602.

In S712, after switching their transmission states, the main on-duty device605and the standby on-duty device606send ARP packets to the switch607.

In S713, after sending the ARP packets to the switch607, the main on-duty device605sends a switching completion message to the network management device601.

In S714, after sending the ARP packets to the switch607, the standby on-duty device606sends a switching completion message to the network management device601.

In S715, after receiving the switching completion messages sent by the main on-duty device605and the standby on-duty device606, the network management device601sends a sleeping instruction to the main resting device603and the standby resting device604.

In S716, after receiving the sleeping instruction, the main resting device603enters into the sleeping state. Further, the main resting device603may be powered off.

In S717, after receiving the sleeping instruction, the standby resting device604enters into the sleeping state. Further, the standby resting device604may be powered off.

In this embodiment, the process of user information synchronization between the resting devices and the on-duty devices may further include: the main resting device sends the stored user information to the main on-duty device, and the standby resting device sends the stored user information to the standby on-duty device; or, the main resting device sends the stored user information to the main on-duty device, and the main resting device sends the stored user information to the standby on-duty device.

However, considering the practical applications, in order to prevent the information of the main and standby on-duty devices being inconsistent with each other and improve the information reliability, it would be better to employ the synchronization mode that the main resting device sends the stored user information to the main on-duty device, and then the main on-duty device synchronizes the user information with the standby on-duty device.

In the method for data stream transmission provided by the embodiment of the present disclosure, after receiving the message indicating to enter into the energy-saving state, the resting devices send the stored user information to the on-duty devices so that the on-duty devices receives and synchronizes the user information; and after the user information is synchronized, the resting devices set the transmission state as standby and enter into the sleeping state, while the on-duty devices set the transmission state as main and switches the data stream. Thus, after the user information is synchronized between the devices, one group of devices enters into the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption in the data stream transmission between the devices. Meanwhile, since each group consists of two devices for data stream transmission, the reliability of data stream transmission of the on-duty devices is ensured by the hot-standby mechanism.

Further, when the energy-saving state expires or the network management device detects that the data traffic in the network meets the predetermined condition, the resting devices in the sleeping state shall be awoken to recover the working state. As illustrated inFIG. 8, this embodiment includes the following steps.

In S800, the network management device601sends a recovery indication message to the main resting device603and the standby resting device604.

In S801: after receiving the recovery indication message sent by the network management device601, the main resting device603recovers the related configuration information.

In S802: after receiving the recovery indication message sent by the network management device601, the standby resting device604recovers the related configuration information.

In S803: after recovering the related configuration information, the main resting device603and the standby resting device604send recovery completion messages to the network management device601.

In S804: after receiving the recovery completion messages sent by the main resting device603and the standby resting device604, the network management device601sends a user information synchronization instruction to the main resting device603, the standby resting device604and the main on-duty device605.

In S805: after receiving the user information synchronization instruction sent by the network management device601, the main on-duty device605sends the stored user information to the main resting device603so that the main resting device603receives and synchronizes the user information.

In S806: after receiving and synchronizing the user information sent by the main on-duty device605, the main resting device603sends the user information to the standby resting device604so that the standby resting device604receives and synchronizes the user information.

In S807: after the standby resting device604receives and synchronizes the user information, the main resting device603sends a synchronization completion message to the network management device601.

In S808: after receiving the user information synchronization instruction sent by the network management device601, the main on-duty device605sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby.

In S809: the standby on-duty device606sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby.

In S810: after receiving the synchronization completion message sent by the main resting device603, the network management device601sends a message indicating to start switching to the main resting device603and the standby resting device604.

In S811: after receiving the message indicating to start switching sent by the network management device601, the main resting device603sets the device priority as high according to its VRRP, so as to set the transmission state of itself as main.

In S812: after receiving the message indicating to start switching sent by the network management device601, the standby resting device604sets the device priority as low according to its VRRP, so as to set the transmission state of itself as standby.

In S813: after switching its transmission state, the main resting device603distributes a user side routing to the upper-layer router602which is used as the upstream device, so as to perform a data stream switching.

In S814: after switching its transmission state, the standby resting device604distributes a user side routing to the upper-layer router602so as to perform a data stream switching.

In S815: while distributing the user side routing to the upper-layer router602, the main resting device603sends ARP packets to a switch607which is used as the downstream device.

In S816: while distributing the user side routing to the upper-layer router602, the standby resting device604sends ARP packets to the switch607.

In S817: after distributing the user side routings to the upper-layer router602and sending the ARP packets to the switch607, the main resting device603and the standby resting device604send switching completion messages to the network management device601.

Thus, the sleeping resting devices may be awoken by the network management device to recover the working state, thereby ensuring normal data stream transmission.

In addition, when the system enters into the energy-saving state, the communication link between the network management device and the main and standby resting devices shall not be closed, so as to ensure that the resting devices can recover the working state in time.

In this embodiment, the process of user information synchronization may further include: the main resting device receives and synchronizes the user information stored by the main on-duty device, and the standby resting device receives and synchronizes the user information stored by the standby on-duty device. Or, the main resting device receives and synchronizes the user information stored by the main on-duty device, and the standby on-duty device receives and synchronizes the user information stored by the main on-duty device. However, considering the practical applications, in order to prevent the information of the main and standby on-duty devices being inconsistent with each other and improve the information reliability, it would be better to employ the synchronization mode that the main resting device receives and synchronizes the user information stored by the main on-duty device, and then the main resting device synchronizes the user information with the standby resting device.

During the process of data stream transmission by each device in this embodiment, the network management device may notify each device to perform the data stream transmission according to the state of each device and the condition of the information synchronization, until the information synchronizations between all the devices in the running state are completed. Or, multiple devices in the working group interact with each other to judge the progress of the information synchronizations, and respectively perform a switching after all the synchronizations are completed. However, considering the practical applications, in order that the network management device uniformly performs the monitoring and uniformly triggers the switching, it would be better to employ the network management device to notify each device to perform the data stream transmission according to the state of each device and the condition of the information synchronization, until the information synchronizations between all the devices in the running state are completed.

A device90for resting data transmission provided by an embodiment of the present disclosure is illustrated inFIG. 9, including a receiving unit900, a synchronizing unit901and a setting unit902.

The receiving unit900is configured to receive a message indicating to enter into the energy-saving state.

The synchronizing unit901is configured to send the stored user information to an on-duty device for data transmission so that the on-duty device for data transmission receives and synchronizes the user information, after the receiving unit900receives the message indicating to enter the energy-saving state.

The setting unit902is configured to set its transmission state as standby and enters into the sleeping state, after the user information is synchronized.

Further, the receiving unit900is also configured to receive a recovery indication message.

The synchronizing unit901is also configured to receive and synchronize the user information sent by the on-duty device for data transmission, after the receiving unit900receives the recovery indication message.

The setting unit902is also configured to set its transmission state as main and perform a data stream switching, after the user information is synchronized.

In this embodiment, the resting device for data transmission may be the BRAS.

The resting device for data transmission provided by the embodiment of the present disclosure receives the message indicating to enter into the energy-saving state, sends the stored user information to the on-duty device for data transmission, and after the user information is synchronized, sets its transmission state as standby and enters into the sleeping state. Thus, after the user information is synchronized between the devices, one (group of) device enters into the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption in the data stream transmission between the devices. Moreover, the resting device for data transmission receives the recovery indication message, receives and synchronizes the user information sent by the on-duty device for data transmission, and after the user information is synchronized, sets its transmission state as main and performs a data stream switching. Thus the sleeping resting device for data transmission may be awoken by the network management device to recover the working state, thereby ensuring the normal data stream transmission.

A device100for on-duty data transmission provided by an embodiment of the present disclosure is illustrated inFIG. 10, including a receiving unit1001, a synchronizing unit1002, and a setting unit1003.

The receiving unit1001is configured to receive a message indicating to enter into the energy-saving state.

The synchronizing unit1002is configured to receive and synchronize the user information sent by the resting device for data transmission, after the receiving unit1001receives the message indicating to enter into the energy-saving state.

The setting unit1003is configured to set its transmission state as main and perform a data stream switching, after the user information is synchronized.

Further, the receiving unit1001is also configured to receive a recovery indication message.

The synchronizing unit is also configured to send the stored user information to the resting device for data transmission after the receiving unit1001receives the recovery indication message, so that the resting device for data transmission receives and synchronizes the user information.

The synchronizing unit1003is also configured to set its transmission state as standby after the user information is synchronized.

In this embodiment, the on-duty device for data transmission may be the BRAS.

The on-duty device for data transmission provided by the embodiment of the present disclosure receives the message indicating to enter into the energy-saving state, receives and synchronizes the user information sent by the resting device for data transmission, and after the user information is synchronized, sets its transmission state as main and performs a data stream switching. Thus, after the user information is synchronized between the devices, one (group of) device enters into the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption in the data stream transmission between the devices. Moreover, the on-duty device for data transmission receives the recovery indication message, sends the stored user information to the resting device for data transmission, and after the user information is synchronized, sets its transmission state as standby. Thus after being awoken, the sleeping resting device for data transmission recovers the working state in cooperation with the on-duty device for data transmission, thereby ensuring the normal data stream transmission.

A system for data stream transmission provided by an embodiment of the present disclosure is illustrated inFIG. 11, including a resting device for data transmission110, an on-duty device for data transmission111and a network management device112.

The device for resting data transmission110is configured to receive a message indicating to enter into the energy-saving state; send the stored user information to a device for on-duty data transmission111after receiving the message indicating to enter into the energy-saving state; and set its transmission state as standby and enter into the sleeping state, after the user information is synchronized.

The device for on-duty data transmission111is configured to receive a message indicating to enter into the energy-saving state; receive and synchronize the user information sent by the device for resting data transmission110, after receiving the message indicating to enter into the energy-saving state; and set its transmission state as main and perform a data stream switching, after the user information is synchronized.

The network management device112is configured to detect the network traffic, and send the messages indicating to enter into the energy-saving state to the device for resting data transmission110and the device for on-duty data transmission111.

Further, the device for resting data transmission110is also configured to receive a recovery indication message; receive and synchronize the user information sent by the device for on-duty data transmission111, after receiving the recovery indication message; and set its transmission state as main and perform a data stream switching, after the user information is synchronized.

The device for on-duty data transmission111is also configured to receive a recovery indication message; send the stored user information to the device for resting data transmission110after receiving the recovery indication message, so that the device110for resting data transmission receives and synchronizes the user information; and set its transmission state as standby after the user information is synchronized.

The network management device112is also configured to detect the network traffic, and send the recovery indication messages to the device for resting data transmission110and the device for on-duty data transmission111.

In this embodiment, the device for resting data transmission110and the device for on-duty data transmission111resting device for data transmission may be the BRAS.

In the system for data stream transmission provided by the embodiment of the present disclosure, the resting device for data transmission receives the message indicating to enter into the energy-saving state, sends the stored user information to the on-duty device for data transmission, and after the user information is synchronized, sets its transmission state as standby and enters into the sleeping state. Thus, after the user information is synchronized between the devices, one (group of) device enters the sleeping state and the other keeps the normal working state, thereby reducing the energy consumption in the data stream transmission between the devices.

Moreover, the resting device for data transmission receives the recovery indication message, receives and synchronizes the user information sent by the on-duty device for data transmission, and after the user information is synchronized, sets its transmission state as main and performs a data stream switching. Thus, the sleeping resting device for data transmission may be awoken by the network management device to recover the working state, thereby ensuring the normal data stream transmission.

The above descriptions are just some embodiments of the present disclosure, and the protection scope of the present disclosure is not limited thereto. Any change or replacement easily conceivable to a person skilled in the art within the technical scope disclosed by the present disclosure shall be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be determined by the protection scope of the claims.