CN106911578B - Service data transmission method and device - Google Patents

Service data transmission method and device Download PDF

Info

Publication number
CN106911578B
CN106911578B CN201510980977.9A CN201510980977A CN106911578B CN 106911578 B CN106911578 B CN 106911578B CN 201510980977 A CN201510980977 A CN 201510980977A CN 106911578 B CN106911578 B CN 106911578B
Authority
CN
China
Prior art keywords
transmission device
transmission
service
path
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510980977.9A
Other languages
Chinese (zh)
Other versions
CN106911578A (en
Inventor
韩柳燕
胡新天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510980977.9A priority Critical patent/CN106911578B/en
Publication of CN106911578A publication Critical patent/CN106911578A/en
Application granted granted Critical
Publication of CN106911578B publication Critical patent/CN106911578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0066Provisions for optical burst or packet networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0075Wavelength grouping or hierarchical aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for transmitting service data, wherein the method comprises the following steps: the control equipment sets a shared wavelength for a transmission equipment set under the control of the control equipment; the control device judges whether the service flow of a first transmission device exceeds a preset threshold value, wherein the first transmission device is each transmission device in the transmission device set; when the service flow of the first transmission device exceeds a preset threshold value, the control device sends a starting instruction to a transmission device on a service path of the first transmission device, where the starting instruction is used to instruct the transmission device on the service path to open a shared wavelength, and the transmission device on the service path includes the first transmission device.

Description

Service data transmission method and device
Technical Field
The present invention relates to electronic technologies, and in particular, to a method and an apparatus for transmitting service data.
Background
With the rapid development of data services, broadband services such as Voice over Internet Protocol (VoIP) and Internet Protocol Television (IPTV) are continuously emerging, and a Packet Transport Network (PTN) technology with an IP core is introduced into a transport network to meet the requirement of large-scale resilient packet service transmission. The PTN is a packet-switched, connection-oriented transport technology, can carry various services, and satisfies basic characteristics such as high reliability, strict quality of service, and operation, administration and maintenance (OAM). However, the rapid development of PTNs also presents significant challenges to network planning and maintenance management, especially PTN network traffic planning and flow control. When network traffic is planned, a threshold value of a bandwidth is pre-allocated according to the amount of traffic used by each link in a network, and as the types and the scales of services are increasingly enlarged, burst traffic is often difficult to avoid.
In the prior art, at the initial stage of network planning, a network manager sets a bandwidth threshold for each transmission device, but when burst traffic occurs in a network and the bandwidth required by the burst traffic exceeds the preset bandwidth threshold, packet loss rate is increased, so that service transmission quality is reduced, and even a service cannot be normally transmitted.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a device for transmitting service data to solve at least one problem in the prior art, so that when a bandwidth required by a service flow exceeds a bandwidth threshold, the service data can be guaranteed to be transmitted normally, thereby improving the quality of service transmission.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for transmitting service data, where a control device sets a shared wavelength for a set of transmission devices under its control; the method comprises the following steps:
the control device judges whether the service flow of a first transmission device exceeds a preset threshold value, wherein the first transmission device is each transmission device in the transmission device set;
when the service flow of the first transmission device exceeds a preset threshold value, the control device sends a starting instruction to a transmission device on a service path of the first transmission device, where the starting instruction is used to instruct the transmission device on the service path to open a shared wavelength, and the transmission device on the service path includes the first transmission device.
In a second aspect, an embodiment of the present invention provides a method for transmitting service data, where the method further includes:
the first transmission equipment receives an enabling instruction sent by control equipment, wherein the enabling instruction is used for commanding the transmission equipment on the service path to open a shared wavelength;
enabling the shared wavelength by the first transmission equipment in response to the enabling instruction;
the first transmission equipment receives a closing instruction sent by control equipment, wherein the closing instruction is used for commanding the transmission equipment on the service path to close the shared wavelength;
and the first transmission equipment responds to the enabling instruction and closes the shared wavelength.
In a third aspect, an embodiment of the present invention provides a control device, which includes a setting unit, a determining unit, and a transmitting unit, wherein:
the setting unit is used for setting the shared wavelength for the transmission equipment set under the control of the equipment;
the determining unit is configured to determine whether a traffic flow of a first transmission device exceeds a preset threshold, where the first transmission device is each transmission device in the transmission device set;
the sending unit is configured to send an enabling instruction to a transmission device on a service path of the first transmission device when a service traffic of the first transmission device exceeds a preset threshold, where the enabling instruction is used to instruct the transmission device on the service path to open a shared wavelength, where the transmission device on the service path includes the first transmission device.
In a fourth aspect, an embodiment of the present invention provides a transmission device, where the transmission device further includes a first receiving unit, an opening unit, and a closing unit, where:
the receiving unit is configured to receive an enabling instruction sent by a control device, where the enabling instruction is used to instruct a transmission device on the service path to open a shared wavelength;
the starting unit is used for responding to the starting instruction and starting the shared wavelength;
the receiving unit is further configured to receive a closing instruction sent by the control device, where the closing instruction is used to instruct the transmission device on the service path to close the shared wavelength;
and the closing unit is used for responding to the enabling instruction and closing the shared wavelength.
The method and the device for transmitting the service data provided by the embodiment of the invention are characterized in that the control device sets the shared wavelength for the transmission device set under the control of the control device; the control device judges whether the service flow of a first transmission device exceeds a preset threshold value, wherein the first transmission device is each transmission device in the transmission device set; when the service flow of the first transmission device exceeds a preset threshold value, the control device sends a starting instruction to a transmission device on a service path of the first transmission device, wherein the starting instruction is used for commanding the transmission device on the service path to open a shared wavelength, and the transmission device on the service path comprises the first transmission device; therefore, when the bandwidth required by the service flow exceeds the bandwidth threshold value, the normal transmission of the service data can be ensured, and the quality of service transmission is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a service data transmission method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a service data transmission method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a transmission system of three service data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a structure of a control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a transmission system of five service data according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Example one
In order to solve the problems in the prior art, an embodiment of the present invention provides a method for transmitting service data, fig. 1 is a schematic diagram illustrating an implementation flow of the method for transmitting service data according to the embodiment of the present invention, and as shown in fig. 1, the method includes:
step S101, the control equipment sets a shared wavelength for a transmission equipment set under the control of the control equipment;
here, the shared wavelength refers to wavelength information within a certain frequency range that can be set for two or more transmission devices, and when the traffic flow exceeds a preset threshold, the shared wavelength is allocated to the transmission device for use, so as to ensure that the service data can be normally transmitted, thereby improving the quality of service transmission.
In the specific implementation process, one or more than two shared wavelengths may be set, for example, when 30 transmission devices are in the control range of the control device, one shared wavelength may be set for the 30 transmission devices, or two shared wavelengths may be set for the 30 transmission devices. For another example, the control device may be set in different regions, for example, there are 60 devices in the control range of the control device, 30 devices in another region may be set with one shared wavelength, and the other 30 devices may be set with two shared wavelengths.
Step S102, the control device judges whether the service flow of a first transmission device exceeds a preset threshold value, wherein the first transmission device is each transmission device in the transmission device set;
step S103, when the service flow of the first transmission equipment exceeds a preset threshold value, the control equipment sends a starting instruction to the transmission equipment on the service path of the first transmission equipment;
here, the enabling instruction is used to instruct a transmission device on the traffic path to open a shared wavelength, where the transmission device on the traffic path includes a first transmission device.
Step S104, the first transmission equipment receives an enabling instruction sent by the control equipment;
here, the enabling instruction is used for commanding the transmission equipment on the service path to open a shared wavelength;
here, the receiving, by the first transmission device, the enabling instruction sent by the control device includes: the control device sends an enabling instruction to the transmission device on the service path of the first transmission device by using an independent control channel; or, the control device carries the enabling instruction in a specified message, and sends the specified message to the first transmission device; or, the control device carries the enabling instruction in a control field or a management overhead field in a data channel, and the control device sends the control field or the management overhead field to the first transmission device.
Step S105, the first transmission equipment responds to the enabling instruction and enables the shared wavelength;
step S106, the control device continuously judges whether the service flow of the first transmission device exceeds a preset threshold value;
step S107, when the service flow of the first transmission equipment does not exceed a preset threshold value, the control equipment sends a closing instruction to the transmission equipment on the service path of the first transmission equipment;
here, the shutdown instruction is used to instruct the transmission device on the traffic path to shutdown the shared wavelength.
Here, the manner of sending the close command is similar to the manner of sending the open command, and thus, the description thereof is omitted.
Step S108, the first transmission equipment receives a closing instruction sent by control equipment, and the closing instruction is used for commanding the transmission equipment on the service path to close the shared wavelength;
step S109, the first transmission device closes the shared wavelength in response to the enabling instruction.
In step S101 in the embodiment of the present invention, several implementation manners are provided below:
the first method is as follows: the control device determining whether the traffic flow of the first transmission device exceeds a preset threshold value includes:
step S1011, the control device judges whether the control device receives alarm information of the first transmission device, wherein the alarm information is used for indicating that the service flow of the first transmission device exceeds a preset threshold value;
step S1012, when receiving the alarm information sent by the first transmission device, the control device determines that the traffic flow of the first transmission device exceeds a preset threshold; when the alarm information sent by the first transmission equipment is not received, the control equipment determines that the service flow of the first transmission equipment does not exceed a preset threshold value.
The second method comprises the following steps: the method is based on an active reporting mode of a transmission device, and the control device determines whether the service flow of a first transmission device exceeds a preset threshold, including:
step S1013, the control device receives a first parameter sent by the first transmission device, where the first parameter is used to reflect a service traffic condition;
here, the first parameter includes at least one of: traffic flow and packet loss rate.
Step S1014, the control device determines whether the service traffic is greater than a preset threshold according to the first parameter.
The third method comprises the following steps: the method is based on a mode that a control device actively requests, and the control device judges whether the service flow of a first transmission device exceeds a preset threshold value, and includes:
step S1015, the control device sends a first message to the first transmission device, where the first message is used to trigger the first transmission device to send a first parameter of the control device.
Step S1016, the control device receives a first parameter sent by the first transmission device, where the first parameter is used to reflect a service traffic condition;
here, the first parameter includes at least one of: traffic flow and packet loss rate.
Step S1014, the control device determines whether the service traffic is greater than a preset threshold according to the first parameter.
Here, when the first parameter is a service flow, the determining, by the control device, whether the service flow is greater than a preset threshold according to the first parameter includes: the control equipment judges whether the service flow is larger than a preset threshold value;
here, when the first parameter is a packet loss rate, the determining, by the control device, whether the service traffic is greater than a preset threshold according to the first parameter includes: the control device judges whether the packet loss rate is greater than a preset first packet loss rate threshold value or not, and when the packet loss rate is greater than the first packet loss rate threshold value, the control device determines that the service flow is greater than a preset threshold value; and when the packet loss rate is smaller than the first packet loss rate threshold, determining that the service flow is smaller than a preset threshold.
In the embodiment of the invention, the control equipment sets the shared wavelength for the transmission equipment set under the control of the control equipment; the control device judges whether the service flow of a first transmission device exceeds a preset threshold value, wherein the first transmission device is each transmission device in the transmission device set; when the service flow of the first transmission device exceeds a preset threshold value, the control device sends a starting instruction to a transmission device on a service path of the first transmission device, wherein the starting instruction is used for commanding the transmission device on the service path to open a shared wavelength, and the transmission device on the service path comprises the first transmission device; therefore, when the bandwidth required by the service flow exceeds the bandwidth threshold value, the normal transmission of the service data can be ensured, and the quality of service transmission is improved.
Example two
In order to solve the problems in the prior art, an embodiment of the present invention provides a method for transmitting service data, fig. 2 is a schematic diagram illustrating an implementation flow of a method for transmitting service data according to a second embodiment of the present invention, and as shown in fig. 2, the method includes:
step S201, the control device sets a shared wavelength for a transmission device set under the control of the control device;
here, the shared wavelength refers to wavelength information within a certain frequency range that can be set for two or more transmission devices, and when the traffic flow exceeds a preset threshold, the shared wavelength is allocated to the transmission device for use, so as to ensure that the service data can be normally transmitted, thereby improving the quality of service transmission.
In the specific implementation process, one or more than two shared wavelengths may be set, for example, when 30 transmission devices are in the control range of the control device, one shared wavelength may be set for the 30 transmission devices, or two shared wavelengths may be set for the 30 transmission devices.
Step S202, the control device judges whether the service flow of the first transmission device exceeds a preset threshold value;
here, the first transmission apparatus is each transmission apparatus in the set of transmission apparatuses;
step S203, when the traffic flow of the first transmission device exceeds a preset threshold, the control device sends an enabling instruction to the transmission device on the traffic path of the first transmission device;
here, the enabling instruction is used to instruct a transmission device on the traffic path to open a shared wavelength, where the transmission device on the traffic path includes a first transmission device.
Here, the sending, by the control device, an enabling instruction to the transmission device on the traffic path of the first transmission device includes: the control device sends an enabling instruction to the transmission device on the service path of the first transmission device by using an independent control channel; or, the control device carries the enabling instruction in a specified message, and sends the specified message to the first transmission device; or, the control device carries the enabling instruction in a control field or a management overhead field in a data channel, and the control device sends the control field or the management overhead field to the first transmission device.
Here, the first transmission device receives an enabling instruction sent by a control device, and the first transmission device enables the shared wavelength in response to the enabling instruction.
Step S204, the control device determines a service path for the first transmission device by adopting a least hop algorithm;
here, the determining, by the control device, a traffic path for the first transmission device by using a minimum hop count algorithm includes:
step S241, an initial path w from u to v is established from any link connected to the first transmission device u, where two points are directly connected to each other to represent a hop count of 1, and if there is an intermediate device between the two points, the hop count is 2; and so on; if no link is connected between the two points, the hop count is infinite;
step S242, finding out another path w ' between the two points u and v, comparing the hop count of the path w ' with the hop count of the initial path w, and if w ' is smaller than w, updating w;
step S243, traversing all paths between uv;
step S244, using the path with the least number of hops in all the paths as a service path.
Step S205, the control device sends the service path information to the first transmission device.
Here, the first transmission device receives the traffic path information sent by the control device; and the first transmission equipment transmits the service data according to the service path information.
EXAMPLE III
An embodiment of the present invention first provides a transmission system of service data, fig. 3 is a schematic structural diagram of a transmission system of service data according to a third embodiment of the present invention, as shown in fig. 3, the transmission system includes a transmission device 330 and a controller 320, wherein the controller 320 includes a first acquisition submodule 321, a first determination submodule 322, a first switch submodule 323, a first configuration submodule 324 and a calculation submodule 325, wherein the transmission device 330 includes a second acquisition submodule 331, a second determination submodule 332, a second switch submodule 333, a second configuration submodule 334, a working laser 335 and a standby laser 336, based on the structural configuration of the transmission system of service data, a transmission method of service data is provided below, the functions of each module in the transmission device and the controller may refer to the relevant description of each module in the transmission method, which needs to be described, the controller and the network management unit (network management) in the background art are logically divided, and in the specific implementation process, the controller and the network management unit in the background art may be implemented on one entity device, or certainly may be implemented on two independent entity devices, and in addition, the controller in this embodiment may be understood as the control device in the first embodiment.
The flow of the service data transmission method based on fig. 3 includes:
step S301, each device sets one or more shared idle wavelengths, and when the service quality of the device is worse than a preset threshold value or the flow is higher than a preset threshold value, the idle wavelengths are enabled to transmit service data.
Step S302, a first acquisition submodule of the controller acquires service quality or flow information of the device.
Here, in the process of implementing specifically, there may be two implementation manners:
the first method is as follows: a first acquisition submodule of the controller sends a request to the equipment within a specified time period, and then a second acquisition submodule of the equipment reports service quality or flow information to the controller after receiving the request, so that the first acquisition submodule of the controller acquires the service quality or flow information of the equipment;
in the second mode, the second acquisition submodule of the device actively reports the service quality or the traffic information within a specified time period, so that the first acquisition submodule of the controller acquires the service quality or the traffic information of the device.
The first embodiment of the first method is as follows: a first acquisition submodule of the controller sets a time interval for collecting information and a time period for collecting the information; a first acquisition submodule of the controller sends a request to corresponding equipment at a time interval within a time period for collecting information; after receiving the request, the second acquisition submodule of the device replies information such as packet loss rate or service arrival rate of the user side interface to the controller; the first acquisition submodule of the controller acquires information such as packet loss rate or service arrival rate of a user side interface and stores the information in the first acquisition submodule.
The second embodiment of the second method is as follows: a first acquisition submodule of the controller sets an information collection time interval and an information collection time period for a second acquisition submodule of the equipment; a second acquisition submodule of the device sends information such as packet loss rate or service arrival rate of a user side interface to a first acquisition submodule of the controller within a time period of information collection; the first acquisition submodule of the controller acquires information such as packet loss rate or service arrival rate of a user side interface and stores the information in the first acquisition submodule of the controller.
In step S303, the first determining sub-module of the controller determines whether the service quality of the device is worse than a preset threshold or whether the traffic is higher than the preset threshold.
Here, in the process of implementation, there may be the following two ways:
the first method is as follows: and after extracting the service quality or the flow information from the first acquisition submodule of the controller, the first judgment submodule of the controller judges whether the service quality of the equipment is worse than a preset threshold value or whether the flow is higher than the preset threshold value.
The specific implementation example of the first mode is as follows: a first judgment sub-module of the controller extracts packet loss rate information from a first acquisition sub-module of the controller, and if the extracted packet loss rate is larger than a preset threshold value, the packet loss rate of the controller is judged to exceed the preset threshold value; otherwise, judging that the packet loss rate of the equipment does not exceed a preset threshold value.
In the second mode, the first judgment sub-module of the controller sets a threshold value of the service quality or the flow of the device, and the second judgment sub-module of the device judges whether the service quality is worse than the preset threshold value or whether the flow is higher than the preset threshold value.
The specific implementation example of the second mode is as follows: the first judgment sub-module of the controller sets a threshold value of the packet loss rate to be 1% for the second judgment sub-module of the device in advance, and the packet loss rate generated by normal service transmission on the device does not exceed the threshold value. When the device has burst traffic, the burst traffic causes that the packet loss rate of the device continuously exceeds a preset threshold value, a second judgment sub-module on the device reports alarm information that the packet loss rate continuously exceeds the preset threshold value to a first judgment sub-module in the controller, and the first judgment sub-module of the controller judges that the packet loss rate exceeds the preset threshold value after receiving the alarm; when only transient burst flow exists on the equipment and the packet loss rate does not exceed the threshold value, the second judgment submodule of the equipment does not report the alarm information.
Step S304, if the first determining sub-module of the controller determines that the service quality of the device is worse than the preset threshold or the traffic exceeds the preset threshold, the first calculating sub-module of the controller needs to re-determine the service path for the device.
Here, in the implementation process, the obtained previous traffic path of the device may be directly utilized, or the optimal traffic path may be recalculated according to an algorithm. The method specifically comprises the following steps:
(1) when the first calculation sub-module of the controller directly utilizes the obtained previous service path of the equipment, the idle wavelength is started on the previous path.
(2) When the first calculation submodule of the controller calculates the optimal service path, the hop count passed by the equipment is taken as a main consideration factor, and a minimum hop count algorithm is used. The specific algorithm process is as follows:
step S1) establishes an initial path w from node u to node v starting from any link connected to node u. The two points are directly connected (namely directly connected through a link without passing through intermediate equipment) to represent that the hop count is 1; if there is an intermediate device between the two points, the hop count is step S2; and so on; if no link is connected between the two points, the number of hops is infinite.
Step S2), another path w ' between the two points of the node u and the node v is found, the hop count of the path w ' is compared with the hop count of the initial path w, and if w ' is smaller than w, w is updated.
Step S3) traverses all paths between uv, repeating step S2).
Step S305, the first switch submodule of the controller sends a starting instruction to the second switch submodule of the device, and the second switch submodule of the device turns on the laser after receiving the instruction, so as to start the idle wavelength.
Specifically, the controller sends information carrying an idle wavelength enabling instruction to the device on the path; the independent control channel can be used, the enabling instruction is carried by the appointed message field, and the enabling instruction can also be carried by the control or management overhead field in the data channel; and after receiving the information, a second switch submodule on the equipment starts the idle wavelength by opening the corresponding laser.
Step S306, the first configuration submodule of the controller configures the service path parameter for the device. Specifically, a first configuration submodule of the controller issues information of idle wavelength service path configuration parameters to a device on the path, where the information of the configuration parameters includes information of a start node of the path, a used wavelength channel, a bandwidth of the path, and the like, and a second configuration submodule of the device automatically configures the wavelength service path parameters for the device after receiving the information.
Step S307, when the first determining sub-module of the controller determines that the bandwidth used in the idle wavelength is continuously lower than the preset threshold, the first configuration sub-module of the controller removes the service path configuration parameter on the idle wavelength of the device. The first configuration sub-module sends information for removing idle wavelength service path configuration parameters to the equipment on the path, wherein the information comprises information such as a starting node for removing the path, a used wavelength channel, a path bandwidth and the like, and the configuration module of the equipment removes the service path configuration on the wavelength after receiving the information.
And step S308, the first switch submodule of the controller sends a closing instruction to the equipment, and the second switch submodule on the equipment closes the laser and closes the idle wavelength after receiving the instruction.
Specifically, the controller sends information carrying an instruction for closing the idle wavelength to the equipment on the path; the closing instruction can be carried by an independent control channel through a specified message field, and can also be carried by a control or management overhead field in a data channel; and after receiving the information, the second switch submodule of the equipment closes the idle wavelength by closing the corresponding laser.
Example four
Based on the foregoing method embodiment, an embodiment of the present invention provides a control device, where each unit included in the control device and each module included in each unit may be implemented by a processor in the control device, and may also be implemented by a specific logic circuit; in the course of a particular embodiment, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 4 is a schematic diagram of a composition structure of a four-control device according to an embodiment of the present invention, and as shown in fig. 4, the control device 400 includes a setting unit 401, a determining unit 402, and a sending unit 403, where:
the setting unit 401 is configured to set a shared wavelength for a transmission device set under its own control;
the determining unit 402 is configured to determine whether a traffic flow of a first transmission device exceeds a preset threshold, where the first transmission device is each transmission device in the transmission device set;
the sending unit 403 is configured to send, when the traffic flow of the first transmission device exceeds a preset threshold, an enabling instruction to a transmission device on a traffic path of the first transmission device, where the enabling instruction is used to instruct the transmission device on the traffic path to open a shared wavelength, where the transmission device on the traffic path includes the first transmission device.
The following provides a way for a single household to implement the judgment unit:
in a first mode, the determining unit includes a determining module and a first determining module, where:
the judging module is used for judging whether the judging module receives alarm information of the first transmission equipment, and the alarm information is used for indicating that the service flow of the first transmission equipment exceeds a preset threshold value;
the first determining module is configured to determine that the traffic flow of the first transmission device exceeds a preset threshold when receiving the alarm information sent by the first transmission device, and determine that the traffic flow of the first transmission device does not exceed the preset threshold when receiving the alarm information sent by the first transmission device.
In a second mode, the determining unit includes a receiving module and a determining module, where:
the receiving module is configured to receive a first parameter sent by the first transmission device, where the first parameter is used to reflect a service traffic condition;
and the judging module is used for judging whether the service flow is greater than a preset threshold value according to the first parameter.
In a third mode, the determining unit includes a sending module, a receiving module, and a determining module, where:
the sending module is configured to send a first message to the first transmission device, where the first message is used to trigger the first transmission device to send a first parameter of the first transmission device to the control device.
The receiving module is configured to receive a first parameter sent by the first transmission device, where the first parameter is used to reflect a service traffic condition;
the judging module is used for judging whether the service flow is greater than a preset threshold value according to the first parameter;
here, the first parameter includes at least one of: traffic flow and packet loss rate. When the first parameter is the service flow, a judging module is used for judging whether the service flow is larger than a preset threshold value; when the first parameter is a packet loss rate, a determining module, configured to determine whether the packet loss rate is greater than a preset first packet loss rate threshold, and when the packet loss rate is greater than the first packet loss rate threshold, determine that the traffic flow is greater than a preset threshold; and when the packet loss rate is smaller than the first packet loss rate threshold, determining that the service flow is smaller than a preset threshold.
In the embodiment of the present invention, the device further includes a determining unit, configured to determine a service path for the first transmission device by using a minimum hop count algorithm;
the sending unit is further configured to send the service path information to the first transmission device.
Here, the determination unit includes an establishment module, an update module, a traversal module, and a second determination module, wherein:
the establishing module is used for establishing an initial path w from u to v from any link connected with the first transmission equipment u, wherein the direct connection between the two points represents that the hop count is 1, and if an intermediate device is arranged between the two points, the hop count is 2; and so on; if no link is connected between the two points, the hop count is infinite;
the updating module is used for finding out another path w ' between the two points u and v, comparing the hop count of the path w ' with the hop count of the initial path w, and updating w if w ' is smaller than w;
the traversal module is used for traversing all paths between uv;
and the second determining module is configured to determine a path with the fewest hops in all paths as a service path.
In this embodiment of the present invention, the sending unit is configured to send an enabling instruction to a transmission device on a service path of the first transmission device by using an independent control channel; or, the enabling instruction is carried in a specified message, and the specified message is sent to the first transmission device; or, the control device is configured to carry the enabling instruction in a control field or a management overhead field in a data channel, and send the control field or the management overhead field to the first transmission device.
Here, it should be noted that: the above description of the embodiment of the apparatus is similar to the above description of the embodiment of the method, and has similar beneficial effects to the embodiment of the method, and therefore, the description thereof is omitted. For technical details that are not disclosed in the embodiments of the apparatus of the present invention, please refer to the description of the embodiments of the method of the present invention for understanding, and therefore, for brevity, will not be described again.
EXAMPLE five
Based on the foregoing method embodiment, an embodiment of the present invention provides a transmission system for service data, where the transmission system includes a transmission device and a control device, each unit included in the control device and each module included in each unit may be implemented by a processor in the control device, and each unit included in the transmission device may be implemented by a processor in the transmission device, and may also be implemented by a specific logic circuit; in the course of a particular embodiment, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 5 is a schematic structural diagram of a transmission system of five service data according to an embodiment of the present invention, and as shown in fig. 5, the transmission system includes a transmission device 410 and a control device 400, where the control device 400 includes a setting unit 401, a determining unit 402, and a sending unit 403, where the transmission device 410 further includes a first receiving unit 411, an opening unit 412, and a closing unit 413, where:
the setting unit 401 is configured to set a shared wavelength for a transmission device set under its own control;
the determining unit 402 is configured to determine whether a traffic flow of a first transmission device exceeds a preset threshold, where the first transmission device is each transmission device in the transmission device set;
the sending unit 403 is configured to send, when the traffic flow of the first transmission device exceeds a preset threshold, an enabling instruction to a transmission device on a traffic path of the first transmission device, where the enabling instruction is used to instruct the transmission device on the traffic path to open a shared wavelength, where the transmission device on the traffic path includes the first transmission device.
The sending unit 403 is further configured to send a closing instruction to the transmission device on the service path of the first transmission device when the service traffic of the first transmission device does not exceed a preset threshold, where the closing instruction is used to instruct the transmission device on the service path to close the shared wavelength.
The receiving unit 411 is configured to receive an enabling instruction sent by the control device, where the enabling instruction is used to instruct the transmission device on the service path to open the shared wavelength;
the enabling unit 412 is configured to enable the shared wavelength in response to the enabling instruction;
the receiving unit 411 is further configured to receive a closing instruction sent by the control device, where the closing instruction is used to instruct the transmission device on the service path to close the shared wavelength;
the closing unit 413 is configured to enable the shared wavelength in response to the enabling instruction.
In this embodiment of the present invention, the receiving unit in the transmission device is further configured to receive service path information sent by the control device; the transmission device further includes a transmission unit configured to transmit the service data according to the service path information.
Here, it should be noted that: the above description of the embodiment of the apparatus is similar to the above description of the embodiment of the method, and has similar beneficial effects to the embodiment of the method, and therefore, the description thereof is omitted. For technical details that are not disclosed in the embodiments of the apparatus of the present invention, please refer to the description of the embodiments of the method of the present invention for understanding, and therefore, for brevity, will not be described again.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (26)

1. A transmission method of service data is characterized in that control equipment in a transmission network sets shared wavelength for a transmission equipment set under the control of the control equipment; the method comprises the following steps:
the control device judges whether the service flow of a first transmission device exceeds a preset threshold value, wherein the first transmission device is each transmission device in the transmission device set;
when the service flow of the first transmission device exceeds a preset threshold value, the control device sends a starting instruction to a transmission device on a service path of the first transmission device, wherein the starting instruction is used for commanding the transmission device on the service path to open a shared wavelength, and the transmission device on the service path comprises the first transmission device;
the control equipment sends information of shared wavelength service path configuration parameters to the transmission equipment on the service path, wherein the information of the configuration parameters comprises an initial node of the service path, a used wavelength channel and a path bandwidth.
2. The method of claim 1, wherein the determining, by the control device, whether the traffic flow of the first transmission device exceeds a preset threshold comprises:
the control equipment judges whether the control equipment receives alarm information of first transmission equipment, wherein the alarm information is used for indicating that the service flow of the first transmission equipment exceeds a preset threshold value;
when the alarm information sent by the first transmission equipment is received, the control equipment determines that the service flow of the first transmission equipment exceeds a preset threshold value.
3. The method of claim 1, wherein the determining, by the control device, whether the traffic flow of the first transmission device exceeds a preset threshold comprises:
the control equipment receives a first parameter sent by the first transmission equipment, wherein the first parameter is used for embodying the condition of service flow;
and the control equipment judges whether the service flow is greater than a preset threshold value according to the first parameter.
4. The method of claim 3, wherein the determining, by the control device, whether the traffic flow of the first transmission device exceeds a preset threshold comprises:
the control device sends a first message to the first transmission device, wherein the first message is used for triggering the first transmission device to send a first parameter of the control device.
5. The method of claim 3, wherein the first parameter comprises at least one of: traffic flow and packet loss rate.
6. The method according to claim 5, wherein when the first parameter is a traffic flow, the determining, by the control device, whether the traffic flow is greater than a preset threshold according to the first parameter includes: and the control equipment judges whether the service flow is greater than a preset threshold value.
7. The method according to claim 5, wherein when the first parameter is a packet loss rate, the determining, by the control device, whether the traffic flow is greater than a preset threshold according to the first parameter includes: the control device judges whether the packet loss rate is greater than a preset first packet loss rate threshold value or not, and when the packet loss rate is greater than the first packet loss rate threshold value, the control device determines that the service flow is greater than a preset threshold value; and when the packet loss rate is smaller than the first packet loss rate threshold, determining that the service flow is smaller than a preset threshold.
8. The method of claim 1, further comprising:
the control equipment determines a service path for the first transmission equipment by adopting a minimum hop count algorithm;
and the control equipment sends the service path information to the first transmission equipment.
9. The method of claim 8, wherein the control device determines a traffic path for the first transmission device using a least hop algorithm, comprising:
starting to establish an initial path w from u to a second transmission device v from any link connected with the first transmission device u, wherein the direct connection between two points represents that the hop count is 1, and if an intermediate device is arranged between the two points, the hop count is 2; and so on; if no link is connected between the two points, the hop count is infinite;
finding out another path w ' between the two points u and v, comparing the hop count of the path w ' with the hop count of the initial path w, and if w ' is smaller than w, updating w;
traversing all paths between uv;
and taking the path with the least hop number in all paths as a service path.
10. The method according to any one of claims 1 to 9, wherein the sending, by the control device, an enabling instruction to the transmission device on the traffic path of the first transmission device comprises:
the control device sends an enabling instruction to the transmission device on the service path of the first transmission device by using an independent control channel; alternatively, the first and second electrodes may be,
the control equipment carries the enabling instruction in a specified message and sends the specified message to the first transmission equipment; alternatively, the first and second electrodes may be,
the control device carries the enabling instruction in a control field or a management overhead field in a data channel, and the control device sends the control field or the management overhead field to the first transmission device.
11. The method according to any one of claims 1 to 9, further comprising:
the control device continuously judges whether the service flow of the first transmission device exceeds a preset threshold value;
and when the service flow of the first transmission equipment does not exceed a preset threshold value, the control equipment sends a closing instruction to the transmission equipment on the service path of the first transmission equipment, wherein the closing instruction is used for instructing the transmission equipment on the service path to close the shared wavelength.
12. A method for transmitting service data, the method comprising:
a first transmission device in a transmission network receives an enabling instruction sent by a control device in the transmission network, wherein the enabling instruction is used for commanding the transmission device on a service path to open a shared wavelength;
enabling the shared wavelength by the first transmission equipment in response to the enabling instruction;
the first transmission equipment receives the information of the shared wavelength service path configuration parameters sent by the control equipment and configures the wavelength service path parameters for the first transmission equipment;
the first transmission equipment receives a closing instruction sent by control equipment, wherein the closing instruction is used for commanding the transmission equipment on the service path to close the shared wavelength;
and the first transmission equipment responds to the closing instruction and closes the shared wavelength.
13. The method of claim 12, further comprising:
the first transmission equipment receives the service path information sent by the control equipment;
and the first transmission equipment transmits the service data according to the service path information.
14. A control device, applied in a transport network, comprising a setting unit, a judging unit, a transmitting unit, and a configuration unit, wherein:
the setting unit is used for setting the shared wavelength for the transmission equipment set under the control of the equipment;
the determining unit is configured to determine whether a traffic flow of a first transmission device exceeds a preset threshold, where the first transmission device is each transmission device in the transmission device set;
the sending unit is configured to send an enabling instruction to a transmission device on a service path of the first transmission device when a service traffic of the first transmission device exceeds a preset threshold, where the enabling instruction is used to instruct the transmission device on the service path to open a shared wavelength, where the transmission device on the service path includes the first transmission device;
the configuration unit is configured to issue information of configuration parameters of a shared wavelength service path to the transmission device on the service path, where the information of the configuration parameters includes a start node of the service path, a wavelength channel used, and a bandwidth of the path.
15. The control apparatus according to claim 14, wherein the judging unit includes a judging module and a first determining module, wherein:
the judging module is used for judging whether the judging module receives alarm information of the first transmission equipment, and the alarm information is used for indicating that the service flow of the first transmission equipment exceeds a preset threshold value;
the first determining module is configured to determine that the traffic flow of the first transmission device exceeds a preset threshold when the alarm information sent by the first transmission device is received, and determine that the traffic flow of the first transmission device does not exceed the preset threshold when the alarm information sent by the first transmission device is not received.
16. The control apparatus according to claim 14, wherein the determination unit includes a reception module and a determination module, wherein:
the receiving module is configured to receive a first parameter sent by the first transmission device, where the first parameter is used to reflect a service traffic condition;
the judging module is further configured to judge whether the traffic flow is greater than a preset threshold according to the first parameter.
17. The control device according to claim 16, wherein the determining unit includes a sending module, configured to send a first message to the first transmission device, where the first message is used to trigger the first transmission device to send its first parameter to the control device.
18. The control apparatus of claim 16, wherein the first parameter comprises at least one of: traffic flow and packet loss rate.
19. The control device according to claim 18, wherein when the first parameter is a traffic flow, the determining module is further configured to determine whether the traffic flow is greater than a preset threshold.
20. The control device according to claim 18, wherein when the first parameter is a packet loss rate, the determining module is configured to determine whether the packet loss rate is greater than a preset first packet loss rate threshold, and when the packet loss rate is greater than the first packet loss rate threshold, determine that the traffic flow is greater than a preset threshold; and when the packet loss rate is smaller than the first packet loss rate threshold, determining that the service flow is smaller than a preset threshold.
21. The control device according to claim 14, wherein the device further comprises a determining unit configured to determine a traffic path for the first transmission device using a minimum hop count algorithm;
the sending unit is further configured to send the service path information to the first transmission device.
22. The control device of claim 21, wherein the determination unit comprises a setup module, an update module, a traverse module, and a second determination module, wherein:
the establishing module is configured to establish an initial path w from u to a second transmission device v starting from any link connected to the first transmission device u, where direct connection between two points represents that the hop count is 1, and if there is an intermediate device between the two points, the hop count is 2; and so on; if no link is connected between the two points, the hop count is infinite;
the updating module is used for finding out another path w ' between the two points u and v, comparing the hop count of the path w ' with the hop count of the initial path w, and updating w if w ' is smaller than w;
the traversal module is used for traversing all paths between uv;
and the second determining module is configured to determine a path with the fewest hops in all paths as a service path.
23. The control device according to any one of claims 14 to 22, wherein the sending unit is configured to send an enabling instruction to a transmission device on a traffic path of the first transmission device by using a separate control channel; or, the enabling instruction is carried in a specified message, and the specified message is sent to the first transmission device; or, the control device is configured to carry the enabling instruction in a control field or a management overhead field in a data channel, and send the control field or the management overhead field to the first transmission device.
24. The control device according to any one of claims 14 to 22, wherein the determining unit is further configured to continue determining whether the traffic flow of the first transmission device exceeds a preset threshold;
the sending unit is further configured to send a closing instruction to the transmission device on the service path of the first transmission device when the service traffic of the first transmission device does not exceed a preset threshold, where the closing instruction is used to instruct the transmission device on the service path to close the shared wavelength.
25. A transmission device, applied to a transmission network, further comprising a first receiving unit, an opening unit, a configuration unit, and a closing unit, wherein:
the receiving unit is configured to receive an enabling instruction sent by the control device, where the enabling instruction is used to instruct the transmission device on the service path to open the shared wavelength;
the starting unit is used for responding to the starting instruction and starting the shared wavelength;
the configuration unit is configured to receive information of a shared wavelength service path configuration parameter sent by the control device, and configure a wavelength service path parameter for the transmission device;
the receiving unit is further configured to receive a closing instruction sent by the control device, where the closing instruction is used to instruct the transmission device on the service path to close the shared wavelength;
and the closing unit is used for responding to the closing instruction and closing the shared wavelength.
26. The transmission apparatus according to claim 25, wherein the receiving unit is further configured to receive traffic path information sent by the control apparatus; the transmission device further includes a transmission unit configured to transmit the service data according to the service path information.
CN201510980977.9A 2015-12-23 2015-12-23 Service data transmission method and device Active CN106911578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510980977.9A CN106911578B (en) 2015-12-23 2015-12-23 Service data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510980977.9A CN106911578B (en) 2015-12-23 2015-12-23 Service data transmission method and device

Publications (2)

Publication Number Publication Date
CN106911578A CN106911578A (en) 2017-06-30
CN106911578B true CN106911578B (en) 2020-09-08

Family

ID=59199940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510980977.9A Active CN106911578B (en) 2015-12-23 2015-12-23 Service data transmission method and device

Country Status (1)

Country Link
CN (1) CN106911578B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039537B (en) * 2018-07-26 2020-05-05 烽火通信科技股份有限公司 AMCC information transmission method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011075922A1 (en) * 2009-12-22 2011-06-30 北京锐安科技有限公司 Method for detecting distributed denial of service attack

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621454B (en) * 2008-06-30 2012-04-18 华为技术有限公司 Passive optical network system, optical line terminal and optical network units
CN102710362A (en) * 2012-06-19 2012-10-03 南京邮电大学 Allocation method for downlink wavelength in shared multi-wavelength WDM-PON
CN102916900B (en) * 2012-10-09 2016-02-17 中国联合网络通信集团有限公司 Work flow forwarding method and device
CN102904827B (en) * 2012-10-09 2015-11-25 中国联合网络通信集团有限公司 Bypass flow local methodology and bypass networking structure

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011075922A1 (en) * 2009-12-22 2011-06-30 北京锐安科技有限公司 Method for detecting distributed denial of service attack

Also Published As

Publication number Publication date
CN106911578A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
US20190334820A1 (en) Routing Method and Apparatus
CN104662814B (en) Method and apparatus for the autonomous cluster head selection for machine type communication (MTC)
US8988982B2 (en) Method and apparatus for protection switching in point-to-multipoint network
US9713099B2 (en) Systems and methods for cable and WLAN coexistence
CN100553213C (en) A kind of method and apparatus of WLAN abnormal quick restoring
KR20150000152A (en) Method for controlling software defined networking network and apparatus for performing the same
JP2007318501A (en) Access controller, wireless unit and network
EP2238714A2 (en) Management of a wireless network
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
US11252585B2 (en) Access network node, radio communication system, communication method and program
CN109150808B (en) Communication method, device and system
US20190253344A1 (en) Method and Device for Transmitting Data
WO2012077262A1 (en) Server management apparatus, server management method, and program
Zeng et al. Proactive and adaptive reconfiguration for reliable communication in tactical networks
CN108401227A (en) A kind of method and system for establishing connectionless mesh networks routing
WO2012171168A1 (en) Method, device and system for monitoring indoor overlay network
JP4681507B2 (en) Request interpretation method and request interpretation device
CN106911578B (en) Service data transmission method and device
CN107948000B (en) Method, device and system for switching main channel and standby channel
EP3107231B1 (en) Data processing method and device
JP2010034910A (en) Wireless communication system, administrative server and wireless communication method
CN103701519A (en) Active/standby judging method for passive optical network
EP2899934A1 (en) Traffic grooming method and system
CN109743112B (en) OTN networking method, device, equipment and computer readable storage medium
KR101586950B1 (en) Method for controlling convergence time of network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant