CN114363739B - Service application method and device based on optical service unit - Google Patents

Service application method and device based on optical service unit Download PDF

Info

Publication number
CN114363739B
CN114363739B CN202111562467.1A CN202111562467A CN114363739B CN 114363739 B CN114363739 B CN 114363739B CN 202111562467 A CN202111562467 A CN 202111562467A CN 114363739 B CN114363739 B CN 114363739B
Authority
CN
China
Prior art keywords
bandwidth
client
service
optical
flow
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
CN202111562467.1A
Other languages
Chinese (zh)
Other versions
CN114363739A (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.)
Beijing Huahuan Electronics Co Ltd
Original Assignee
Beijing Huahuan Electronics 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 Beijing Huahuan Electronics Co Ltd filed Critical Beijing Huahuan Electronics Co Ltd
Priority to CN202111562467.1A priority Critical patent/CN114363739B/en
Publication of CN114363739A publication Critical patent/CN114363739A/en
Application granted granted Critical
Publication of CN114363739B publication Critical patent/CN114363739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a service application method and a device based on an optical service unit, wherein the service application method comprises the following steps: establishing a mapping relation between a client and optical service unit equipment; monitoring bandwidth usage data of the client service flow according to the mapping relation; and if the bandwidth use data meet the preset rule, performing bandwidth adjustment on the service flow of the client. In the invention, the optical service unit equipment can flexibly adjust the bandwidth of the optical transport network service flow, thereby effectively solving the problem that the bandwidth resource of the optical transport service is wasted or insufficient because the bandwidth can not be flexibly adjusted in the prior art.

Description

Service application method and device based on optical service unit
Technical Field
The present invention relates to the field of optical transport network technology based on optical service units, and in particular, to a service application method and apparatus based on optical service units.
Background
In the definition of a conventional Optical Transport Network (OTN), a method for loading a plurality of service signals into a payload of an Optical Transport Network signal includes: firstly, dividing an area of an optical transmission network signal into n time slots, wherein the time slots are realized in a byte interleaving mode; the traffic signal is then encapsulated in one or more time slots in the payload of the optical transport network signal.
According to the existing optical transport network standard, the minimum time slot granularity of the existing optical transport network technology is 1.25Gbps, and when the service with the bandwidth lower than 1.25Gbps is carried, especially with the development of informatization and clouding, special line and video services with more and more vigorous service carrying requirements cannot provide efficient carrying service for the services.
An Optical transport network based on an Optical Service Unit (OSU) is an optimization and extension of a traditional Optical transport network, in the Optical transport network supporting the OSU, the characteristic that the traditional Optical transport network utilizes a time slot to divide a frame structure is changed, a more flexible payload block division mode is adopted, high-efficiency bearing of services with different granularity of 2M-100 Gbps can be realized, the connection quantity of k levels is supported, and the flexible and variable differentiation requirements of Service bandwidth of different clients can be well met.
However, in the current optical transport network based on the optical service unit, the adjustment of the customer service bandwidth needs to be completed by means of manual intervention, and the flexibility is poor; moreover, a reasonable bandwidth cannot be provided in real time according to the service requirements of the customers, thereby causing serious waste of bandwidth resources of the optical transmission service.
Therefore, how to solve the problem that the bandwidth of the optical transport network is not flexibly adjusted in the prior art, which causes waste or shortage of bandwidth resources of the optical transport network, is an important issue to be urgently solved in the technical field of the optical transport network based on the optical service unit.
Disclosure of Invention
The invention provides a service application method and a device based on an optical service unit, which are used for solving the problem that the service bandwidth of an optical transport network cannot be flexibly adjusted in the prior art, thereby avoiding the waste or the deficiency of the bandwidth resources of the optical transport service.
In one aspect, the present invention provides a service application method based on an optical service unit, including: establishing a mapping relation between a client and optical service unit equipment; monitoring bandwidth usage data of the client service flow according to the mapping relation; and if the bandwidth use data accords with a preset rule, performing bandwidth adjustment on the client service flow.
Further, the establishing a mapping relationship between the client and the optical service unit device includes:
acquiring the client service flow, and performing flow identification on the client service flow according to service configuration; and establishing a mapping relation between the client and the optical service unit equipment according to the flow identification result of the client service flow.
Further, if the bandwidth usage data conforms to a preset rule, performing bandwidth adjustment on the client service stream, including: acquiring the bandwidth use data according to a preset period; and when the bandwidth use data reaches the bandwidth threshold value continuously for a preset time, responding to a bandwidth adjustment request issued by a network manager or a controller, and performing bandwidth adjustment on the client service flow.
Further, if the bandwidth usage data conforms to a preset rule, performing bandwidth adjustment on the client service stream, including: if the client has time requirement for bandwidth adjustment, responding to a bandwidth adjustment request issued by a network manager or a controller, triggering a bandwidth automatic adjustment mechanism, and adjusting the bandwidth of the client service flow; if the client has no time requirement on bandwidth adjustment, responding to a bandwidth resource reservation request issued by a network manager or a controller, reserving corresponding bandwidth resources, transmitting a signal of successful bandwidth resource reservation to the network manager or the controller, and adjusting the bandwidth of the client service flow according to the bandwidth adjustment request issued by the network manager or the server.
Further, the bandwidth adjustment request includes a bandwidth increase request and a bandwidth decrease request, and the bandwidth decrease request includes a bandwidth stepwise decrease request.
Further, the establishing a mapping relationship between the client and the optical service unit device according to the traffic identification result of the client service flow includes: acquiring a source MAC of the client service flow according to the flow identification result of the client service flow; and inserting a service label of the corresponding optical service unit equipment after the source MAC of the client service flow, and establishing a mapping relation between the client and the corresponding optical service unit equipment.
In a second aspect, the present invention further provides a service application apparatus based on an optical service unit, including: the mapping establishing module is used for establishing a mapping relation between the client and the optical service unit equipment; the bandwidth monitoring module is used for monitoring the bandwidth use data of the service flow of the client according to the mapping relation; and the bandwidth adjusting module is used for adjusting the bandwidth of the client service flow if the bandwidth utilization data accords with a preset rule.
In a third aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the steps of the service application method based on the optical service unit are implemented as any one of the above.
In a fourth aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the optical service unit based service application method according to any one of the above.
In a fifth aspect, the present invention also provides a computer program product comprising a computer program which, when being executed by a processor, implements the steps of the method for applying services based on optical service units as described in any one of the above.
The business application method based on the optical business unit provided by the invention monitors the bandwidth utilization data of the business flow of the client in real time by establishing the mapping relation between the client and the optical business unit equipment and according to the mapping relation between the client and the optical business unit equipment, and when the monitored bandwidth utilization data accords with the preset rule, the optical business unit equipment can adjust the bandwidth of the business flow of the client. By the method, the optical service unit equipment can flexibly adjust the bandwidth of the optical transport network service flow, and effectively solves the problem that the bandwidth of the optical transport service is wasted or insufficient due to the fact that the bandwidth cannot be flexibly adjusted in the prior art.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a service application method based on an optical service unit according to the present invention;
FIG. 2 is a mapping relationship diagram between the user side address and the OSU device ID provided by the present invention;
FIG. 3 is a flow diagram of the service awareness provided by the present invention;
FIG. 4 is a schematic flow chart of bandwidth increase provided by the present invention;
FIG. 5 is a flow chart illustrating the bandwidth reduction provided by the present invention;
FIG. 6 is a schematic flow chart of the gradual bandwidth reduction provided by the present invention;
fig. 7 is a format diagram of the device identifier of the optical service unit inserted into the client service flow provided by the present invention;
fig. 8 is a diagram of a model of an optical service unit device supporting automatic connection disconnection and establishment according to the present invention;
fig. 9 is a schematic structural diagram of a service application apparatus based on an optical service unit according to the present invention;
fig. 10 is a system function diagram of a service application apparatus based on an optical service unit provided in the present invention;
fig. 11 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a flow chart of a service application method based on an optical service unit provided by the present invention. As shown in fig. 1, the service application method includes:
s101, establishing a mapping relation between a client and optical service unit equipment.
Note that in this step, the clients include a DNS client, a Web client, and a mobile client. When a user accesses network resources by using a domain name instead of an IP address, the system can analyze the domain name to be accessed and find out the IP address corresponding to the domain name, and the user side is the DNS client. The Web client mainly refers to a Web browser, such as a commonly used IE browser, 360 browser and Chrome browser. The mobile client includes a mobile phone, an electronic watch, a tablet and a personal computer, and specifically, taking the mobile phone as an example, the mobile client includes various software running on a mobile phone terminal, such as a WeChat, a QQ and a microblog. In this embodiment, the client may be all terminal devices that generate service traffic, and is not particularly limited.
An Optical Service Unit (OSU) is a technical improvement made for a technical short board of a traditional Optical transport network technology, and on the premise of keeping advantages of a traditional Optical transport network hard pipeline, rich OAM and the like, a frame structure division mode based on a payload block is adopted, so that a finer time slot granularity and a simpler bandwidth lossless adjustment mechanism are provided, efficient bearing of client services with the speed of 2M-100 Gbps is supported, and the requirement of flexible and variable bandwidth of the client services can be better met.
It can be understood that, in the application of the optical service unit technology, an optical channel data unit (ODU) frame is divided into a plurality of payload blocks, one optical service unit occupies one or more payload blocks, each payload block includes a branch port number, and the branch port number not only enables an optical service unit device to quickly identify a client service type carried in the payload block, but also can be used to indicate connection of optical service unit devices carried in corresponding payload blocks. According to the identified client service type, unique identification information of each client can be obtained, such as an IP address or a MAC (media Access control) address of a service currently used by the client, where the MAC address is a media Access control address, and each optical service unit device also has its own unique identification ID. According to the established mapping relation, the condition of the service used by the client can be known in real time so as to carry out corresponding adjustment.
Taking the user side address of the client as an example, fig. 2 shows a mapping relationship diagram between the user side address and the OSU device ID provided by the present invention. As shown in fig. 2, user side addresses Net-1, Net-5, Net-3, and Net-6 correspond to OSU-UUID-A, OSU-UUID-C, OSU-UUID-F and OSU-UUID-X one to one, respectively, where OSU devices are optical service unit devices.
It should be noted that, in this embodiment, the mapping relationship between the client and the optical service device may be one-to-one, or may be many-to-one, but cannot be many-to-many or one-to-many. For example, the clients A, B, C, D and E establish a mapping relationship with the optical service unit device F at the same time, which means that the optical service unit device F can know the service flow usage of the clients A, B, C, D and E in real time.
And S102, monitoring bandwidth use data of the client service flow according to the mapping relation.
In this step, the client traffic refers to ethernet traffic, and particularly refers to traffic belonging to small granular traffic for optical transport frames, i.e. some traffic with small bandwidth. The client traffic stream is generated according to the traffic usage of the client. For example, in an ethernet network, the client a makes a voice call or a video to a friend through a WeChat, and a traffic flow corresponding to the voice call or the video is generated.
Bandwidth refers to the amount of data that can be transmitted in a unit of time (typically referred to as 1 second). The network is similar to a highway, the larger the bandwidth is, the more lanes are similar to the highway, and the higher the traffic capacity is. For example, under an ethernet network, the bandwidth of the client traffic stream generated by wechat video telephony is significantly higher than that generated by voice telephony, according to common sense.
The bandwidth usage data in this embodiment may include one or more of the following: the bandwidth utilization rate, the data uplink bandwidth and the applicable time interval, the data downlink bandwidth and the applicable time interval, the uplink bandwidth and the downlink bandwidth and the applicable time interval, and may further include a data flow direction, an uplink minimum guaranteed bandwidth, an uplink maximum limit bandwidth, a downlink minimum guaranteed bandwidth and/or a downlink maximum limit bandwidth, and the like. Of course, the bandwidth usage data may also include other parameters according to different user requirements, which is not limited in this embodiment. The uplink data bandwidth refers to the bandwidth when the client sends information to the network; the data downlink bandwidth refers to the bandwidth when the network sends information to the client.
It can be understood that once the client uses the network service, a client service flow is generated, and on the basis of establishing the mapping relationship between the client and the optical service unit device in the previous step, the optical service unit device monitors the bandwidth usage data of the corresponding client service flow in real time according to the established mapping relationship, analyzes the obtained bandwidth usage data, and judges whether adjustment is needed or not so as to meet the real requirement of the client.
And S103, if the bandwidth use data accord with a preset rule, performing bandwidth adjustment on the service flow of the client.
In this step, the preset rule may be: the bandwidth usage data of the client service stream approaches the maximum limit bandwidth or the minimum guarantee bandwidth within a continuous period of time; or, within a period of time, approaching the maximum limited bandwidth or the minimum guaranteed bandwidth multiple times; or, the client has a problem, so that the network cannot be normally used. The "proximity" interval, duration and number of proximity times to the maximum or minimum constrained bandwidth may be set according to the actual requirements of the client.
According to the analysis of the bandwidth use data, the bandwidth adjustment can be to increase the bandwidth, can be to reduce the bandwidth, and can also be to rollback the bandwidth so as to meet the actual requirements of the client, thereby avoiding the waste of the bandwidth resources of the service flow. For example, the client a makes a video call to a friend first, and then changes from the video call to a voice call, if the duration of the video call is long enough, the bandwidth needs to be increased appropriately; after switching to voice telephony, if the voice telephony lasts long enough, the bandwidth needs to be reduced appropriately; if the network is suddenly interrupted in the whole voice call or video call process, the bandwidth rollback is needed, namely, the original state is recovered after a problem occurs.
It can be understood that, according to the established mapping relationship between the client and the optical service unit device, the optical service unit device may perform real-time monitoring on the bandwidth usage data of the corresponding client service stream. Judging whether the bandwidth of the service flow of the client is adjusted or not according to a preset rule; the optical service unit device adjusts the bandwidth of the client service stream only when the bandwidth usage data of the client service stream satisfies a preset rule. Otherwise, the bandwidth usage data of the client service flow is continuously monitored.
In this embodiment, the bandwidth usage data of the client service stream is monitored in real time by establishing a mapping relationship between the client and the optical service unit device and according to the mapping relationship between the client and the optical service unit device, and when the monitored bandwidth usage data meets a preset rule, the optical service unit device adjusts the bandwidth of the client service stream. By the method, the optical service unit equipment can flexibly adjust the bandwidth of the optical transport network service flow, and effectively solves the problem that the bandwidth of the optical transport service is wasted or insufficient due to the fact that the bandwidth cannot be flexibly adjusted in the prior art.
On the basis of the foregoing embodiment, further, establishing a mapping relationship between the client and the optical service unit device includes: acquiring a client service flow, and identifying the flow of the client service flow according to service configuration; and establishing a mapping relation between the client and the optical service unit equipment according to the flow identification result of the client service flow.
It can be understood that a mapping relationship between the client and the optical service unit device is established, specifically, a client service flow is obtained from a cloud pool or a service container, and the cloud pool or the service container may be understood as a container that is specially used for storing various types of service flows, which may include various communication protocols, MAC addresses and IP addresses corresponding to the client service flows, and various application software that needs to consume network traffic. And carrying out flow identification on the obtained client service flow according to preset service configuration, wherein the target of the flow identification can be three-layer connection identified by the SRC-IP and the DST-IP, or two-layer connection identified by the VLAN-ID. The SRC-IP is used for carrying out load sharing according to a target IP address under the condition of load balancing; DST-IP means that load sharing is carried out according to a source IP address under the condition of load balancing; VLAN-IDs refer to virtual networks that can help users configure isolated running virtual machines. And establishing a mapping relation between the client and the optical service unit equipment according to the flow identification result of the client service flow.
The service configuration refers to a set of fields that can classify the service flow, such as a network address of the service flow and a network protocol used by the service flow. The traffic identification result of the client service flow may include a source MAC, a destination MAC, an ethernet type, a source IP, a destination IP, and various network communication protocols of the client service flow. The flow identification result of the customer service flow is a trigger condition for establishing a mapping relation between the client and the optical service unit equipment.
In this embodiment, by acquiring the client service flow, performing traffic identification on the client service flow according to the service configuration, and establishing a mapping relationship between the client and the optical service unit device according to the obtained traffic identification result, the optical service unit device can further monitor the bandwidth usage data of the client service flow in real time, thereby flexibly adjusting the bandwidth of the client service flow.
On the basis of the above embodiment, further, performing traffic identification on the client service flow according to the service configuration includes: and identifying the client service flow as a two-layer service, a three-layer service or a four-layer protocol identification according to the service configuration.
It can be understood that, the traffic identification is performed on the client service flow according to the service configuration, and specifically, the identification result of the client service flow may be two-layer service, three-layer service, or four-layer protocol identification. The layer two traffic may include the source MAC, destination MAC, ethernet type and CoS domain of the client traffic flow. Wherein the Ethernet type comprises 1010Mbps Ethernet, 100Mbps Ethernet, 1Gbps Ethernet and 10Gbps Ethernet; the CoS domain is a marking mechanism of QoS, and QoS is a security mechanism of a network, and is a technology for solving the problems of network delay and congestion.
The three-tier traffic may include the source IP, destination IP address, and DSCP of the client traffic flow. The DSCP is a differentiated services code point, and is used for encoding 8 identification bytes in the IP header of a packet to prioritize services in order to guarantee QoS of communication.
The four-layer protocol identification may include TCP, UDP, IGMP, and ICMP used by the client traffic stream. Wherein, TCP refers to transmission control protocol, aiming at adapting to layered protocol hierarchy supporting multi-network application; UDP refers to a user data packet protocol by which encapsulated IP data packets can be sent without establishing a connection; IGMP refers to Internet group management protocol, including IGMPv1, IGMPv2 and IGMPv3 versions; ICMP is Internet control message protocol, a subprotocol of TCP/IP protocol cluster, used to transfer control information between IP host and router.
In this embodiment, the service configuration is used to identify the service flow of the client as a two-layer service, a three-layer service, or a four-layer protocol, and a mapping relationship between the client and the optical service unit device is established according to the obtained traffic identification result, so that the optical service unit device can further monitor the bandwidth usage data of the service flow of the client in real time, thereby flexibly adjusting the bandwidth of the service flow of the client.
On the basis of the foregoing embodiment, further, if the bandwidth usage data conforms to a preset rule, performing bandwidth adjustment on the client service flow includes: acquiring bandwidth use data according to a preset period; and when the bandwidth use data reaches the bandwidth threshold value continuously for the preset time, responding to a bandwidth adjustment request issued by a network manager or a controller, and performing bandwidth adjustment on the service flow of the client.
It can be understood that, when the bandwidth usage data of the client service flow conforms to the preset rule, the bandwidth of the client service flow is adjusted. Specifically, bandwidth usage data of a client service stream may be obtained according to a preset period, and when the obtained bandwidth usage data always continuously reaches a preset bandwidth threshold in a preset time period, a network manager or a controller may issue a bandwidth adjustment request for the client service stream according to the situation, and after receiving the bandwidth adjustment request, the optical service unit device performs bandwidth adjustment on the corresponding client service stream according to the bandwidth adjustment request.
The preset period can be set according to the actual requirement of the client. The bandwidth threshold may be a specific value, such as a maximum limit bandwidth or a minimum guaranteed bandwidth; or a range of values, such as 80% -99% of the maximum limit bandwidth value, or less than 80% of the default bandwidth value, which refers to the system's default bandwidth value. The bandwidth adjustment request can be to increase the bandwidth or decrease the bandwidth, which is mainly determined by the actual condition of the client.
Fig. 3 shows a flow diagram of the service awareness provided by the present invention. As shown in fig. 3, a period for timing monitoring is preset, and the period may be 1-15 minutes, but other time lengths may also be used as the preset period. The object of the timing monitoring is the bandwidth usage data of each client service flow, the bandwidth usage data is reported to the controller, and whether the bandwidth usage data of the client service flow is close to the bandwidth threshold value is judged. If the bandwidth is close to the threshold value of the bandwidth, adding 1 to a counter for counting, and if and only if the counting times of the counter reach 2, initiating a bandwidth adjustment application so as to adjust the bandwidth of the service flow of the client; and if the bandwidth utilization data of the client service flow does not meet the bandwidth threshold, continuously monitoring the bandwidth utilization data of the client service flow. Of course, if the count number of the counter has not reached 2, the bandwidth adjustment condition is not met, and the bandwidth usage data of the client traffic flow should be continuously monitored.
In a specific embodiment, the optical service unit device obtains the uplink bandwidth and the applicable time period of the client service flow in a preset period of 15 minutes, where the uplink bandwidth of the client service flow continuously exceeds 89% of the maximum limit bandwidth in 4 consecutive periods (60 minutes) or more, that is, the uplink bandwidth of the client service flow continuously exceeds the bandwidth threshold in 4 consecutive periods, and the preset time period is 2-3 periods, and 4 periods are greater than 2-3 periods.
In this embodiment, bandwidth usage data of a client service stream is obtained according to a preset period, and if the bandwidth usage data continuously reaches a bandwidth threshold value within a preset time period, an optical service unit device automatically adjusts the bandwidth of the client service stream according to a bandwidth adjustment request issued by a network manager or a controller, thereby effectively solving the problem that bandwidth cannot be flexibly adjusted in the prior art, which results in waste or shortage of bandwidth resources of an optical transmission service.
On the basis of the foregoing embodiment, further, if the bandwidth usage data conforms to a preset rule, performing bandwidth adjustment on the client service flow includes: if the client has time requirement for bandwidth adjustment, responding to a bandwidth adjustment request issued by a network manager or a controller, triggering a bandwidth automatic adjustment mechanism, and adjusting the bandwidth of the service flow of the client; if the client has no time requirement for bandwidth adjustment, responding to a bandwidth resource reservation request issued by the network management or the controller, reserving corresponding bandwidth resources, and forwarding a signal of successful bandwidth resource reservation to the network management or the controller, and adjusting the bandwidth of the service flow of the client according to the bandwidth adjustment request issued by the network management or the server.
It can be understood that in the use of actual services, different scenarios are often encountered, for example, the client is time critical or the time requirement is not high. The implementation sets different adjustment modes for the client service flow bandwidth aiming at different application scenes.
For a scene with low requirement on real-time performance of bandwidth adjustment, such as a common private line service, a network manager or a controller can trigger a single station of optical service unit equipment to perform bandwidth adjustment. Specifically, the webmaster or the controller issues a bandwidth resource reservation request to the corresponding optical service unit device according to analysis of bandwidth usage data of a client service flow, the optical service unit device reserves a required bandwidth resource for the client service flow after receiving the bandwidth resource reservation request, and forwards a signal of successful bandwidth resource reservation to the webmaster or the controller, the webmaster or the controller issues a bandwidth adjustment request to the optical service unit device again after receiving a response of successful bandwidth resource reservation, and the optical service unit device adjusts the bandwidth of the client service flow according to the bandwidth adjustment request.
For a scene with a high requirement on the real-time performance of bandwidth adjustment, such as Cloud VR services, according to a bandwidth adjustment request issued by a network manager or a controller, without forwarding and responding to a bandwidth resource reservation request, a bandwidth automation adjustment mechanism of optical service unit equipment is directly triggered to perform bandwidth adjustment on a service flow of a client, so that the time for performing resource reservation protocol interaction between the optical service unit equipment and the network manager or the controller is saved, and the requirement of the client on the real-time performance is met.
It should be further noted that, in the implementation process of the two bandwidth adjustment manners, the corresponding optical service unit device should meet some requirements, which specifically includes: the node has the capacity of initiating bandwidth adjustment and confirming bandwidth resource reservation, and the node refers to optical service unit equipment; the adjusting process is initiated by the source node, the intermediate node confirms, and after the adjustment is completed, the source node feeds back the adjusting result to the network manager or the controller no matter whether the adjustment is successful or not; the process of bandwidth adjustment of the optical service unit device has an end-to-end confirmation mechanism to ensure reliability.
In this embodiment, two different time application scenarios are divided according to different requirements of the client for bandwidth adjustment time, and different bandwidth adjustment mechanisms are set according to different scenarios, so as to flexibly adjust the bandwidth of the service flow of the client, thereby better meeting the requirements of the client.
On the basis of the above embodiment, further, the bandwidth adjustment request includes a bandwidth increase request and a bandwidth decrease request, and the bandwidth decrease request includes a bandwidth stepwise decrease request.
It can be understood that, after receiving a bandwidth adjustment request issued by a network manager or a controller, the optical service unit adjusts the bandwidth of the service flow at the client according to the bandwidth adjustment request, where the bandwidth adjustment includes increasing the bandwidth and decreasing the bandwidth, and the bandwidth reduction also includes reducing the bandwidth step by step.
In one embodiment, fig. 4 shows a flow diagram of the bandwidth increase provided by the present invention. As shown in fig. 4, a period for timing monitoring is preset, and the period may be 15 minutes, but other time lengths may also be used as the preset period. The object of the timing monitoring is the bandwidth usage data of each client service flow, and whether the bandwidth usage data is smaller than the maximum limit bandwidth and larger than 95% of the maximum limit bandwidth is judged. If the bandwidth use data of the client service flow is smaller than the maximum limit bandwidth and larger than 95% of the maximum limit bandwidth, adding 1 to a counter for counting, and if and only if the counting times of the counter reach 2, initiating a bandwidth adjustment application so as to adjust the bandwidth of the client service flow; and if the bandwidth utilization data of the client service flow does not meet the judgment condition, continuously monitoring the bandwidth utilization data of the client service flow. Of course, if the number of counts of the counter has not reached 2, the bandwidth increase condition has not been met, and the monitoring of the bandwidth usage data of the client traffic flow should be continued.
Fig. 5 shows a flow diagram of the bandwidth reduction provided by the present invention. As shown in fig. 5, a period for timing monitoring is preset, and the period may be 20 minutes, but other time lengths may also be used as the preset period. The object of the timing monitoring is the bandwidth usage data of each client traffic stream, which is uploaded to the controller and judged whether the bandwidth usage data is less than 80% of the default bandwidth. If the bandwidth usage data of the client service flow is less than 80% of the default bandwidth, adding 1 to a counter for counting, and if and only if the counting times of the counter reach 4, initiating a bandwidth adjustment application so as to adjust the bandwidth of the client service flow; and if the bandwidth utilization data of the client service flow does not meet the judgment condition, continuously monitoring the bandwidth utilization data of the client service flow. Of course, if the number of counts of the counter has not reached 4, the bandwidth reduction condition has not been met, and the monitoring of the bandwidth usage data of the client traffic flow should be continued.
Fig. 6 shows a flow chart of the gradual bandwidth reduction provided by the present invention. As shown in fig. 6, a period for timing monitoring is preset, and the period may be 20 minutes, but other time lengths may also be used as the preset period. The target of timing monitoring is bandwidth usage data of each client service flow, the bandwidth usage data is uploaded to the controller, and whether the current bandwidth usage data is smaller than 80% (current bandwidth usage data-step length) or not is judged, the last bandwidth usage data is not smaller than the default bandwidth, and the step length is a bandwidth value which is gradually reduced each time. If the bandwidth utilization data of the client service flow is less than 80 percent (the current bandwidth utilization data-step length) and the last bandwidth is not less than the default bandwidth, adding 1 to a counter for counting, and if and only if the counting times of the counter reach 4, initiating a bandwidth adjustment application so as to adjust the bandwidth of the client service flow; and if the bandwidth utilization data of the client service flow does not meet the judgment condition, continuously monitoring the bandwidth utilization data of the client service flow. Of course, if the counting number of the counter is not up to 4, the condition of gradually decreasing the bandwidth is not met, and the bandwidth usage data of the service flow of the client side should be continuously monitored.
In this embodiment, the bandwidth of the service flow of the optical transport network can be adjusted more flexibly by adjusting the bandwidth of the service flow of the client according to different bandwidth adjustment requests, thereby effectively solving the problem that bandwidth resources of the optical transport service are wasted or insufficient due to the fact that the bandwidth cannot be adjusted flexibly in the prior art.
On the basis of the foregoing embodiment, further, establishing a mapping relationship between the client and the optical service unit device according to a traffic identification result of the client service flow includes: acquiring a source MAC of the client service flow according to the flow identification result of the client service flow; and inserting a service label of the corresponding optical service unit equipment after the source MAC of the client service flow, and establishing a mapping relation between the client and the corresponding optical service unit equipment.
It can be understood that, according to the traffic identification result of the client service flow, a mapping relationship between the client and the optical service unit device is established. Specifically, the traffic identification result of the client service flow includes a source MAC address of the client service flow, the source MAC address corresponds to the client one to one, and if a mapping relationship between the client and the optical service unit device is to be established, the optical service unit device may be associated with the source MAC address of the client service flow, so that a mapping relationship between the client and the corresponding optical service unit device may be established by inserting a service tag of the corresponding optical service unit device behind the source MAC address of the client service flow, where the service tag corresponds to the optical service unit device. Through the established mapping relationship, the optical service unit device can monitor the bandwidth utilization data of the client service stream corresponding to the optical service unit device in real time.
Fig. 7 shows a format diagram of a client service flow insertion optical service unit device identification provided by the present invention. As shown in fig. 7, the total length of the service tag is 32bits, and includes two parts, i.e., a tag header 0x9966 and an OSU virtual port number. Wherein, the length of the tag head is 16bits, the length of the OSU virtual port number is 12bits, and the RES refers to reserved resources.
In this embodiment, a source MAC address of a client service flow is obtained according to a flow identification result, and a service tag of a corresponding optical service unit device is inserted after the source MAC address, so as to establish a mapping relationship between the client and the corresponding optical service unit device, and through the mapping relationship, bandwidth usage data of the client service flow can be monitored in real time, so as to perform corresponding bandwidth adjustment on the client service flow.
On the basis of the foregoing embodiment, further, according to the mapping relationship, monitoring bandwidth usage data of the client traffic flow, and then further including: and automatically establishing or removing the connection between the client and the corresponding optical service unit equipment according to the monitored bandwidth use data.
It is understood that after the mapping relationship between the client and the optical service unit device is established, the bandwidth usage data of the client service flow can be monitored in real time. When the client uses the service, a client service flow corresponding to the service is generated, and the optical service unit device can sense the change of the client service flow and monitor the bandwidth use data of the client service flow in real time. The optical service unit device analyzes the bandwidth usage data obtained by real-time monitoring, and judges the actual demand of the client. If the client needs to use, the optical service unit converts the original client service stream into a frame type related to the optical service unit according to the established mapping relation, so as to automatically establish connection; if the connection is established, the client does not need to use the connection through the flow sensing, and the optical service unit automatically breaks the connection.
For example, when a client a makes a voice call to a friend, a call service is generated, and according to the established mapping relationship, the optical service unit device senses a service flow of the client, and converts the sensed service flow into a frame type related to the optical service unit, and establishes a connection, so that the voice call is performed. Correspondingly, after the client A and the friend chat, the voice telephone can be hung up, the client does not need to be used any more at the moment, and the optical service unit equipment automatically removes the channel connection according to the flow perception.
In addition, fig. 8 shows a model diagram of an optical service unit device supporting automatic connection dismantling provided by the present invention. As shown in fig. 8, the device model introduces three modules, namely a traffic monitoring module, an optical service unit bandwidth adjustment decision module and an optical service unit connection decision module, behind the ethernet service interface, which are respectively used for sensing of the client service flow, bandwidth adjustment and connection decision.
The input interface of the flow monitoring module is used for inputting the client service flow accessed from the Ethernet service interface. The object of traffic monitoring is a three-layer connection identified by < SRC-IP, DST-IP > or a two-layer connection identified by VLAN-ID, but it may be another object newly added. The monitoring content is bandwidth use data and/or delay use data of the client service flow. Furthermore, the result of the traffic monitoring module is used as the input of the bandwidth adjusting module of the optical service unit, the optical service unit adjusting module adjusts the corresponding client service flow, and then the connection is automatically established or removed through the optical service unit connection decision module. Ethernet switching always refers to switching a client service stream into a frame type related to an optical service unit; OSU crossing refers to converting the frame type related to the optical service unit into the frame type related to the optical wavelength conversion unit; the ODU cross refers to converting a frame type associated with an optical wavelength conversion unit into a frame type associated with an optical conversion unit.
In this embodiment, the connection between the client and the corresponding optical service unit device can be automatically established or removed according to the monitored bandwidth usage data.
On the basis of the above embodiment, further, the service application method based on the optical service unit further includes: and monitoring the time delay use data of the service flow of the client according to the mapping relation, and reporting the time delay use data to the controller.
It can be understood that, in this embodiment, in addition to real-time monitoring of bandwidth usage data of a client service flow, the delay usage data of the client service flow can also be monitored in real time according to the established mapping relationship, and the delay usage data obtained through monitoring is reported to the controller. In this embodiment, the bandwidth adjustment method is applicable to a client service flow, and is also applicable to a delay adjustment method for a client service flow, which has been discussed in detail above and will not be described herein again.
In this embodiment, according to the mapping relationship between the client and the corresponding optical service unit device, the time delay usage data of the client service flow can be monitored in real time, and adjusted correspondingly according to the actual situation, so as to better meet the requirements of the client.
Fig. 9 shows a schematic structural diagram of a service application device based on an optical service unit provided by the present invention. As shown in fig. 9, the apparatus includes: a mapping establishing module 901, configured to establish a mapping relationship between a client and an optical service unit device; a bandwidth monitoring module 902, configured to monitor bandwidth usage data of a client service stream according to the mapping relationship; a bandwidth adjusting module 903, configured to perform bandwidth adjustment on the client service stream if the bandwidth usage data meets a preset rule.
The service application apparatus based on the optical service unit provided in the embodiment of the present invention and the service application method based on the optical service unit described above are referred to correspondingly, and are not described in detail herein.
It should be noted that fig. 10 shows a system functional diagram of the service application device based on the optical service unit provided in the present invention. As shown in fig. 10, a client service flow enters from the left side, is identified by the optical service unit device, and monitors the bandwidth usage data in real time, and reports the bandwidth usage data obtained by real-time monitoring to the controller. Meanwhile, the bandwidth of the service flow of the client can be automatically adjusted according to the monitored bandwidth use data. Furthermore, to automatically establish a connection according to the client traffic flow information, the optical service unit device to which the client is connected is found according to the service configuration of the client traffic flow, such as an IP address, a VLAN type, or a MAC address. The service adaptation in the figure is used to establish a mapping relationship between the client and the corresponding optical service unit device. The OSU crossbar is used to create cross-connect ports for optical service units and to allocate bandwidth resources. OTN processing mainly refers to the conversion between client traffic streams and frame types associated with optical traffic units.
Fig. 11 illustrates a physical structure diagram of an electronic device, and as shown in fig. 11, the electronic device may include: a processor (processor)110, a communication interface (communication interface)120, a memory (memory)130 and a communication bus 140, wherein the processor 110, the communication interface 120 and the memory 130 complete communication with each other through the communication bus 140. The processor 110 may invoke logic instructions in the memory 130 to perform an optical service unit based service application method comprising: establishing a mapping relation between a client and optical service unit equipment; monitoring bandwidth usage data of the client service flow according to the mapping relation; and if the bandwidth utilization data accord with a preset rule, performing bandwidth adjustment on the client service flow.
In addition, the logic instructions in the memory 130 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes 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 steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, a computer is capable of executing the method for applying services based on optical service units provided by the above methods, the method including: establishing a mapping relation between a client and optical service unit equipment; monitoring bandwidth usage data of the client service flow according to the mapping relation; and if the bandwidth use data accords with a preset rule, performing bandwidth adjustment on the client service flow.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements a method for applying services based on optical service units provided by the above methods, the method comprising: establishing a mapping relation between a client and optical service unit equipment; monitoring bandwidth usage data of the client service flow according to the mapping relation; and if the bandwidth use data accords with a preset rule, performing bandwidth adjustment on the client service flow.
The above-described embodiments of the apparatus are merely illustrative, and 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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A service application method based on an optical service unit is characterized by comprising the following steps:
establishing a mapping relation between a client and optical service unit equipment;
the establishing of the mapping relationship between the client and the optical service unit device includes:
acquiring the client service flow, and performing flow identification on the client service flow according to service configuration;
establishing a mapping relation between the client and the optical service unit equipment according to the flow identification result of the client service flow;
the establishing of the mapping relationship between the client and the optical service unit device according to the flow identification result of the client service flow includes:
acquiring a source MAC of the client service flow according to the flow identification result of the client service flow;
inserting a service label of corresponding optical service unit equipment after a source MAC of the client service flow, and establishing a mapping relation between the client and the corresponding optical service unit equipment;
monitoring bandwidth usage data of the client service flow according to the mapping relation;
and if the bandwidth use data accords with a preset rule, performing bandwidth adjustment on the client service flow.
2. The method of claim 1, wherein the performing bandwidth adjustment on the client service flow if the bandwidth utilization data conforms to a preset rule comprises:
acquiring the bandwidth use data according to a preset period;
and when the bandwidth use data acquired within the preset time all reach the bandwidth threshold, responding to a bandwidth adjustment request issued by a network manager or a controller, and performing bandwidth adjustment on the client service flow.
3. The method of claim 2, wherein the performing bandwidth adjustment on the client service flow if the bandwidth utilization data conforms to a preset rule comprises:
if the client has time requirement for bandwidth adjustment, responding to a bandwidth adjustment request issued by a network manager or a controller, triggering a bandwidth automatic adjustment mechanism, and adjusting the bandwidth of the client service flow;
if the client has no time requirement on bandwidth adjustment, responding to a bandwidth resource reservation request issued by a network manager or a controller, reserving corresponding bandwidth resources, transmitting a signal of successful bandwidth resource reservation to the network manager or the controller, and adjusting the bandwidth of the client service flow according to the bandwidth adjustment request issued by the network manager or the server.
4. The method of claim 3, wherein the bandwidth adjustment request comprises a bandwidth increase request and a bandwidth decrease request, and the bandwidth decrease request comprises a bandwidth gradual decrease request.
5. An optical service unit based service application apparatus, comprising:
the mapping establishing module is used for establishing a mapping relation between the client and the optical service unit equipment;
the establishing of the mapping relationship between the client and the optical service unit device includes:
acquiring the client service flow, and performing flow identification on the client service flow according to service configuration;
establishing a mapping relation between the client and the optical service unit equipment according to the flow identification result of the client service flow;
the establishing of the mapping relationship between the client and the optical service unit device according to the flow identification result of the client service flow includes:
acquiring a source MAC of the client service flow according to the flow identification result of the client service flow;
inserting a service label of corresponding optical service unit equipment after a source MAC of the client service flow, and establishing a mapping relation between the client and the corresponding optical service unit equipment;
the bandwidth monitoring module is used for monitoring the bandwidth use data of the service flow of the client according to the mapping relation;
and the bandwidth adjusting module is used for adjusting the bandwidth of the client service flow if the bandwidth utilization data accords with a preset rule.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor when executing the program realizes the steps of the method for applying services based on optical service units according to any of claims 1 to 4.
7. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, implements the steps of the optical service unit based service application method according to any one of claims 1 to 4.
8. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the optical service unit based service application method according to any of claims 1 to 4 when executed by a processor.
CN202111562467.1A 2021-12-20 2021-12-20 Service application method and device based on optical service unit Active CN114363739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111562467.1A CN114363739B (en) 2021-12-20 2021-12-20 Service application method and device based on optical service unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111562467.1A CN114363739B (en) 2021-12-20 2021-12-20 Service application method and device based on optical service unit

Publications (2)

Publication Number Publication Date
CN114363739A CN114363739A (en) 2022-04-15
CN114363739B true CN114363739B (en) 2022-09-09

Family

ID=81100634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111562467.1A Active CN114363739B (en) 2021-12-20 2021-12-20 Service application method and device based on optical service unit

Country Status (1)

Country Link
CN (1) CN114363739B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016350A (en) * 2022-12-19 2023-04-25 中国联合网络通信集团有限公司 Automatic adjustment method and device for dedicated line rate and electronic equipment
CN117201434A (en) * 2023-11-07 2023-12-08 杭州初灵信息技术股份有限公司 Ethernet data interaction method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821029A (en) * 2011-06-08 2012-12-12 上海贝尔股份有限公司 Multi-service bandwidth allocation method and device in passive optical network of Ethernet
CN103067224A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Business flow monitoring relative method and device and system
CN105634991A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 Method and apparatus for achieving service bandwidth allocation
WO2020156287A1 (en) * 2019-01-28 2020-08-06 中兴通讯股份有限公司 Method, device and system for customer business transfer, and computer readable storage medium
CN112511915A (en) * 2020-02-28 2021-03-16 中兴通讯股份有限公司 Service processing method and device in optical transport network and electronic equipment
CN112752173A (en) * 2021-01-04 2021-05-04 烽火通信科技股份有限公司 Method and device for dynamic lossless bandwidth adjustment of M-OTN system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821029A (en) * 2011-06-08 2012-12-12 上海贝尔股份有限公司 Multi-service bandwidth allocation method and device in passive optical network of Ethernet
CN103067224A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Business flow monitoring relative method and device and system
CN105634991A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 Method and apparatus for achieving service bandwidth allocation
WO2020156287A1 (en) * 2019-01-28 2020-08-06 中兴通讯股份有限公司 Method, device and system for customer business transfer, and computer readable storage medium
CN112511915A (en) * 2020-02-28 2021-03-16 中兴通讯股份有限公司 Service processing method and device in optical transport network and electronic equipment
CN112752173A (en) * 2021-01-04 2021-05-04 烽火通信科技股份有限公司 Method and device for dynamic lossless bandwidth adjustment of M-OTN system

Also Published As

Publication number Publication date
CN114363739A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
US8531945B2 (en) Method and apparatus to support deep packet inspection in a mobile network
CN114363739B (en) Service application method and device based on optical service unit
US8868735B2 (en) Wide area network optimization
CN107347198B (en) Speed limiting method, speed limiting control node and speed limiting equipment
CN106712899B (en) Port rate adjusting method and device
EP2685758A1 (en) Method, device and system for scheduling data flow
WO2004092927A2 (en) Call admission control/session management based on n source to destination severity levels for ip networks
CN111555974B (en) Data packet processing method and device, terminal equipment and storage medium
US8787160B2 (en) Method, apparatus, and system for judging path congestion
CN110519119A (en) Bandwidth management method, device and storage medium based on view networking
US20130058214A1 (en) Method and apparatus to avoid overloads on subscriber access lines
CN111083581B (en) ONU service transmission configuration adjustment method, device and equipment
US8872880B1 (en) Video conference service with multiple service tiers
JP2006506845A (en) How to select a logical link for a packet in a router
WO2021088584A1 (en) Service traffic adjusting method and apparatus
CN112311610B (en) Communication method and device for realizing QOS guarantee under non-IP system
CN111224889A (en) Data transmission method and device
US9054985B2 (en) System and method for dynamic rate limiting and shaping of traffic based on available bandwidth
CN111211936A (en) Data processing method and device based on network state
US9591108B2 (en) Management of network impairment by communication endpoints
US20150109922A1 (en) Method and apparatus for bandwidth adjustment in network virtualization system
CN113395612B (en) Data forwarding method in optical fiber communication and related device
US8792342B2 (en) Bandwidth guaranteeing apparatus and bandwidth guaranteeing method
CN107231316B (en) Message transmission method and device
CN109889380A (en) A kind of transmission rate processing method and system of data packet

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