CN115633197A - Service data distribution system, method, device, electronic equipment and medium - Google Patents
Service data distribution system, method, device, electronic equipment and medium Download PDFInfo
- Publication number
- CN115633197A CN115633197A CN202211130535.1A CN202211130535A CN115633197A CN 115633197 A CN115633197 A CN 115633197A CN 202211130535 A CN202211130535 A CN 202211130535A CN 115633197 A CN115633197 A CN 115633197A
- Authority
- CN
- China
- Prior art keywords
- target
- control device
- sub
- equipment
- service data
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000009826 distribution Methods 0.000 title claims description 131
- 238000011084 recovery Methods 0.000 claims description 32
- 238000012544 monitoring process Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 238000003860 storage Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 16
- 238000012545 processing Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 14
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Databases & Information Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a system, a method, a device, electronic equipment and a medium for shunting service data; the method can be used for configuring simulated sub-control equipment as the shunt equipment for entity sub-control equipment in the shunt system in a mode of triggering a preset simulation program; therefore, when the uplink/downlink flow of the target sub-control equipment configured with the flow dividing equipment exceeds a preset threshold value, the data is forwarded through the flow dividing equipment configured for the target sub-control equipment; the method and the device avoid the abnormity of the normal network access service caused by discarding the service data when the uplink/downlink flow of the target sub-control device exceeds the preset threshold.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a system, a method, an apparatus, an electronic device, and a medium for offloading service data.
Background
In a video communication network, in the process of processing a service, if a set upper limit of a flow is reached, a sub-control device may drop a data packet exceeding the upper limit; further, an exception may be caused to the traffic handling operation.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a traffic data offloading system, a method, an apparatus, an electronic device, and a medium that overcome the above problems or at least partially solve the above problems.
A traffic data shunting system comprises a main control device and at least one sub-control device, wherein the main control device is connected with the at least one sub-control device; the system also comprises target shunting equipment configured for the target sub-control equipment, wherein the target shunting equipment is virtual equipment;
the target sub-control device is used for sending a first warning message to a plurality of target terminal devices under the target sub-control device when the uplink flow exceeds a first threshold value; when the downlink flow exceeds a second threshold value, sending a second alarm message to the main control device and other sub-control devices except the target sub-control device; after receiving the first alarm message, the target terminal devices send first service data to be sent to the target branch control device;
the main control device is configured to send, to the target distribution device, second service data to be sent to the target distribution control device after receiving the second alarm message;
the target offloading device is configured to forward the first service data and/or the second service data.
Optionally, the method may be characterized in that,
the target offloading device is further configured to modify a media access control MAC address of the target offloading device to an MAC address of the target offloading device when forwarding the service data.
Optionally, the method may be characterized in that,
the target sub-control device is further configured to send a first recovery message to a plurality of target terminal devices under the target sub-control device when it is monitored that the uplink flow of the target sub-control device does not exceed the first threshold after sending the first alarm message; after receiving the first alarm message, the target terminal devices send third service data to be sent to the target distribution device to the target distribution control device, so that the third service data is forwarded through the target distribution control device;
the target sub-control device is further configured to send a second recovery message to the main control device and other sub-control devices except the target sub-control device when it is monitored that the downlink traffic of the target sub-control device does not exceed the second threshold after sending a second alarm message; and after receiving the second recovery message, the main control device and the other sub-control devices send fourth service data to be sent to the target sub-control device, so that the fourth service data is forwarded through the target sub-control device.
Optionally, the method may be characterized in that,
the target distribution equipment is also used for forwarding the data to be forwarded, which is to be forwarded by the target branch control equipment, when the target branch control equipment has a fault.
Optionally, the method may be characterized in that,
the master control device is further configured to register a target distribution device of the target distribution control device to generate first registration information; generating a target configuration file of the target distribution equipment according to the first registration information;
the system further comprises a preset server, wherein the preset server is used for importing the target configuration file into a preset simulation program, and starting the preset simulation program according to a trigger rule so as to create target shunt equipment configured for the target shunt control equipment.
Optionally, the method may be characterized in that,
the main control device is also used for acquiring second registration information of the target sub-control device; updating the second registration information according to the first registration information; generating a first notification message according to the updated second registration information; sending the first notification message to the sub-control equipment which has accessed the network;
and the target sub-control device is further configured to generate a second notification message based on the first notification message when receiving the first notification message, and send the second notification message to the plurality of target terminal devices.
In order to solve the above problem, an embodiment of the present invention further discloses a method for offloading service data, which is applied to the offloading system described above, where the method includes:
configuring target shunting equipment for target sub-control equipment, wherein the target shunting equipment is virtual equipment;
when monitoring that the uplink flow of the target sub-control equipment exceeds a first threshold value, sending a first alarm message to a plurality of target terminal equipment under the target sub-control equipment; after receiving the first alarm message, the target terminal devices send first service data to be sent to the target branch control device to the target branch device, so that the first service data is forwarded through the target branch device;
when it is monitored that the downstream flow of the target sub-control equipment exceeds a second threshold value, sending a second alarm message to the main control equipment and other sub-control equipment except the target sub-control equipment; after receiving the second alarm message, the main control device and the other sub-control devices send second service data to be sent to the target sub-control device to the target shunt device, so that the second service data is forwarded by the target shunt device
In order to solve the above problem, an embodiment of the present invention further discloses a traffic data offloading device, which is applied to the offloading system described above, and the device includes:
the configuration module is used for configuring target shunt equipment for the target shunt equipment, and the target shunt equipment is virtual equipment;
the first alarm module is used for sending a first alarm message to a plurality of target terminal devices under the target sub-control device when monitoring that the uplink flow of the target sub-control device exceeds a first threshold; after receiving the first alarm message, the target terminal devices send first service data to be sent to the target branch control device to the target branch device, so that the first service data is forwarded through the target branch device;
the second alarm module is used for sending a second alarm message to the main control equipment and other sub-control equipment except the target sub-control equipment when monitoring that the downlink flow of the target sub-control equipment exceeds a second threshold value; and after receiving the second alarm message, the main control device and the other sub-control devices send second service data to be sent to the target sub-control device to the target shunt device, so that the second service data is forwarded through the target shunt device.
In order to solve the above problem, an embodiment of the present invention further discloses an electronic device, including:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform a traffic data offloading method as described above.
In order to solve the above problem, an embodiment of the present invention further discloses a computer-readable storage medium, where a stored computer program causes a processor to execute the traffic data offloading method described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the simulated sub-control equipment can be configured as the shunt equipment for the entity sub-control equipment in the shunt system in a mode of triggering the preset simulation program; therefore, when the uplink/downlink flow of the target sub-control equipment configured with the flow dividing equipment exceeds a preset threshold value, the data is forwarded through the flow dividing equipment configured for the target sub-control equipment; the method and the device avoid the abnormity of the normal network access service caused by discarding the service data when the uplink/downlink flow of the target sub-control device exceeds the preset threshold.
Drawings
FIG. 1 is a block diagram of a server;
fig. 2 is a block diagram of a structure of an embodiment of a service data offloading system according to the present invention;
fig. 3 is a flowchart illustrating steps of an embodiment of a method for offloading service data according to the present invention;
fig. 4 is a flowchart illustrating steps of another embodiment of a method for offloading traffic data according to the present invention;
FIG. 5a is a schematic diagram of a data interaction process of the present invention;
FIG. 5b is a schematic view of a shunt system of the present invention;
fig. 6 is a block diagram of an embodiment of a traffic data offloading device according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
For a video communication network, the offloading of the service data is implemented by a server, which may include a main control device and a plurality of offloading devices cascaded under the main control device, as shown in fig. 1.
The main control device is the brain of the server and is mainly used for receiving and processing commands sent by the service layer and feeding back service results to the service layer. One sub-control device can be connected with a plurality of terminal devices, and the main user of the sub-control device is responsible for data forwarding.
In practical application, in order to avoid occupying excessive broadband resources, a flow upper limit is set for the sub-control equipment in advance; when the sub-control device reaches the set upper limit of the flow in the process of processing the service, the sub-control device may lose the service data exceeding the upper limit; however, this may cause an anomaly in the video communication network traffic corresponding to partially normal traffic data.
In order to avoid the foregoing situation, an embodiment of the present invention provides a service data offloading system, where the offloading system configures, as an offloading device, a simulated sub-control device for an entity sub-control device, and when a flow rate of the entity sub-control device exceeds an upper limit, a corresponding offloading device may assist the entity sub-control device in processing service data that exceeds the upper limit.
Referring to fig. 2, which is a block diagram illustrating a structure of an embodiment of a service data offloading system according to the present invention, an offloading system 210 may include a main control device 211 and at least one sub-control device 212, where the main control device 211 is connected to the at least one sub-control device 212; the shunting system 210 may further include a target shunting device 214 configured for the target sub-control device 213, where the target shunting device 214 is a virtual device. The slave control device 212 may be connected to a plurality of terminal devices 220, and the target slave control device 213 may be connected to a plurality of target terminal devices 221.
The target sub-control device 213 is configured to send a first warning message to the multiple target terminal devices 220 under the target sub-control device 213 when the uplink traffic exceeds a first threshold; when the downlink flow exceeds a second threshold, sending a second warning message to the main control device 211 and other sub-control devices except the target sub-control device 213; after receiving the first warning message, the target terminal devices 220 send the first service data to be sent to the target distribution control device 213 to the target distribution device 214.
The main control device 211 is configured to send, after receiving the second alarm message, the second service data to be sent to the target distribution control device 213 to the target distribution device 214.
And the target offloading device 214 is configured to forward the first service data and/or the second service data.
In practical application, in the process of processing a service, the target sub-control device 213 may forward the service data sent by the main control device 211 or other sub-control devices to the corresponding terminal device, or may send the service data sent by the terminal device to the main control device 211 or other corresponding sub-control devices; for the target sub-control device 213, the service data sent by the main control device 211 or other sub-control devices may correspond to downlink traffic, and the service data sent by the terminal device may correspond to uplink traffic.
In order to avoid that the target terminal device 220 discards the corresponding service data when the uplink traffic or the downlink traffic exceeds a preset value, which causes an abnormality in the normal service of the video communication network, the uplink traffic and the downlink traffic of the target sub-control device 213 may be monitored respectively.
If it is monitored that the uplink flow of the target sub-control device 213 exceeds the preset first threshold, it may indicate that the current uplink flow of the target sub-control device 213 has exceeded the range that can be normally processed by the target sub-control device.
At this time, the target sub-control device 213 may send a first alarm message to the multiple target terminal devices 220 under the target sub-control device 213 that generate the uplink traffic, where the first alarm message may be used to notify that the uplink traffic of the target sub-control device 213 at this time of the multiple target terminal devices 220 has exceeded the range that can be processed normally by the multiple target terminal devices 213.
In order to avoid that the service data subsequently sent by the target terminal device 220 to the target sub-control device 213 is discarded by the target sub-control device 213, after receiving the first alarm message, the target terminal device 220 may send the first service data to be sent to the target sub-control device 213 to the target offloading device 214, so as to forward the first service data to the corresponding other sub-control device or the main control device 211 through the target offloading device 214.
If it is monitored that the downlink traffic of the target sub-control device 213 exceeds the preset second threshold, it may indicate that the current downlink traffic of the target sub-control device 213 has exceeded the range that can be normally processed by the target sub-control device; at this time, the target sub-control device 213 may send a second alarm message to the main control device 211 and other sub-control devices generating the downlink traffic, where the second alarm message may be used to notify that the downlink traffic of the target sub-control device 213 at this time of the main control device 211 and other sub-control devices has exceeded the range that can be processed normally by the target sub-control device 213.
In order to avoid that the service data subsequently sent to the target sub-control device 213 by the main control device 211 and the other sub-control devices is discarded by the target sub-control device 213, after receiving the second alarm message, the main control device 211 and the other sub-control devices may send the second service data to be sent to the target sub-control device 213 to the target offloading device 214, so that the target offloading device 214 forwards the second service data to the corresponding target terminal device 220.
In practical application, although the target offloading device 214 may assist the target branch control device 213 to complete forwarding of service data, since the target offloading device is simulated by software, compared with the actual branch control device 212, the target offloading device does not have the processing speed, the security, and the like of the actual branch control device 212, and the simulated branch control device 212 cannot completely replace the actual branch control device 212; therefore, in this embodiment of the present invention, the target sub-control device 213 is further configured to send a first recovery message to the plurality of target terminal devices 221 under the target sub-control device 213 when it is monitored that the uplink flow of the target sub-control device 213 does not exceed the first threshold after sending the first alarm message; after receiving the first warning message, the target terminal devices 221 send third service data to be sent to the target distribution device 214 to the target distribution control device 213, so as to forward the third service data through the target distribution control device 213; the target sub-control device 213 is further configured to send a second recovery message to the main control device 211 and the other sub-control devices 212 except the target sub-control device 213 when it is monitored that the downlink traffic of the target sub-control device 213 does not exceed the second threshold after sending the second alarm message; after receiving the second recovery message, the main control device 211 and the other sub-control devices 212 send fourth service data to be sent to the target distribution device 214 to the target sub-control device 213, so as to forward the fourth service data through the target sub-control device 213.
Specifically, after the first warning message is sent to the multiple target terminal devices 221, the uplink traffic of the target sub-control device 213 may be continuously monitored; if it is monitored that the uplink flow of the target sub-control device 213 no longer exceeds the first threshold, a first recovery message may be generated; the first recovery message may be used to notify the plurality of target terminal devices 221 that the uplink traffic of the target sub-control device 213 at this time is no longer beyond the range that can be normally processed by the target sub-control device.
For example: the first recovery message may include an operation code to cancel the alarm that the uplink traffic exceeds the threshold, a device name of the terminal device 220 that received the first recovery message, and a current uplink traffic size.
After receiving the first recovery message, the target terminal device 221 may send the third service data to be sent to the target offloading device 214 to the target offloading device 213 that recovers to be normal, so as to forward the third service data through the target offloading device 213 that recovers to be normal, thereby avoiding using the target offloading device 214 with poor performance and security for a long time.
In addition, after the second warning message is sent to the main control device 211 and the other sub-control devices 212 except the target sub-control device 213, the downlink traffic of the target sub-control device 213 may be continuously monitored; if it is monitored that the downlink traffic of the target sub-control device 213 no longer exceeds the second threshold, a second recovery message may be generated; the second recovery message may be used to notify the main control device 211 and other sub-control devices 212 except the target sub-control device 213 that the downlink traffic of the target sub-control device 213 does not exceed the range that can be processed normally.
For example: the second recovery message may include an operation code for canceling the alarm that the downlink traffic exceeds the threshold, a device name of the terminal device 220 that receives the second recovery message, and a current downlink traffic size.
After receiving the second recovery message, the main control device 211 and the other sub-control devices 212 except the target sub-control device 213 may send the fourth service data to be sent to the target sub-control device 214 to the target sub-control device 213 that is recovered to be normal, so as to forward the third service data through the target sub-control device 213 that is recovered to be normal.
In an embodiment of the present invention, the main control device 211 is further configured to register a target distribution device 214 of the target distribution device 213, and generate first registration information; generating a target configuration file of the target offloading device 214 according to the first registration information; the system further includes a preset server, which is configured to import the target configuration file into a preset simulation program, and start the preset simulation program according to the trigger rule to create a target distribution device 214 configured for the target sub-control device 213.
The trigger rule may be set according to actual conditions, for example: the embodiment of the present invention does not limit this when detecting that the uplink/downlink flow rate of the target sub-control device 213 exceeds the third threshold (the third threshold may be lower than the first threshold and the second threshold), when predicting that the target sub-control device 213 will malfunction, when detecting that the uplink flow rate of the target sub-control device 213 exceeds the first threshold/when detecting that the downlink flow rate of the target sub-control device 213 exceeds the second threshold, and the like.
In practical applications, the master device 211 may be configured to register the device; specifically, when configuring the target distribution device 214 for the target distribution device 213, the target distribution device 214 may be registered in the main control device 211 first, so as to generate first registration information of the target distribution device 214; the first registration information may include a device name, a media access control address (MAC) address, and the like of the target offloading device 214, which is not limited in the embodiment of the present invention.
Specifically, a registration command may be sent to the main control device 211 through a network management system connected to the offloading system 210; the master device 211 may register for the target offloading device 214 in response to the registration command to generate first registration information of the target offloading device 214.
After the main control device 211 registers the target distribution device 214, first registration information of the target distribution device 214 may be acquired from the main control device 211, and a target configuration file for creating the target distribution device 214 is generated based on the first registration information; the target configuration file can be used to create a simulated sub-control device 212 in the preset simulation program, and the simulated sub-control device 212 is the above target shunt device 214.
The preset simulation program may be a sub-control simulation program, which may simulate all functions of the sub-control device 212 of the entity in a software manner.
After the target configuration file is generated, the target configuration file may be imported into a preset simulation program, and a start command is input in a root path of the preset simulation program according to a trigger rule, so as to start the preset simulation program into which the target configuration file is imported, for example: when detecting that the uplink flow of the target sub-control device 213 exceeds the first threshold, it may indicate that the trigger rule is triggered; at this time, a start command may be input in a root path of the preset simulation program to start the preset simulation program into which the target configuration file is imported.
The started preset simulation program may be used as the target distribution device 214 based on the target configuration file; after the start, a device-to-network command may be encapsulated according to a video communication network protocol and sent to the main control device 211, and the main control device 211 may complete network access of the target offloading device 214 in response to the network-to-network command.
As an example, the preset simulation program may be copied to the x86 server, and the MAC address of the x86 server may be modified to the MAC address in the first registration information while the target offloading device 214 is created, which is not limited in this embodiment of the present invention.
In an embodiment of the present invention, the main control device 211 is further configured to obtain second registration information of the target sub-control device 213; updating the second registration information according to the first registration information; generating a first notification message according to the updated second registration information; sending the first notification message to the networked slave control device 212; the target sub-control device 213 is further configured to generate a second notification message based on the first notification message when receiving the first notification message, and send the second notification message to the plurality of target terminal devices 221.
In practical application, in order to establish a corresponding relationship between the target distribution device 214 and the target distribution control device 213, a command for setting the distribution device may be sent to the main control device 211 through the network management system before, after, or at the same time as the target distribution device 214 is created; the set distribution device command may include an operation code for setting a distribution device, a device name of the target distribution device 214, and a device name of the target distribution control device 213.
Then, the main control device 211 may obtain the first registration information of the target distribution device 214 according to the device name of the target distribution device 214, and obtain the second registration information of the target distribution device 213 according to the device name of the target distribution device 213.
After the first registration information and the second registration information are obtained, the second registration information may be updated according to the first registration information, so as to add the first registration information of the target distribution device 214 to the second registration information of the target distribution device 213. For example: the first registration information may be written under config _ info of the second registration information:
wherein, cloddlet _ index may refer to an identifier of a switching network where the device is located; device _ number may refer to the number of the device (i.e., the aforementioned device name); logport _ adder may refer to the port address of the device; logdev _ id may refer to a logical identification of a device; mac _ adder may refer to the mac address of the device; parent _ denvm may refer to the number of the parent device corresponding to the device; config _ info may refer to configuration information of the device.
In practical application, after updating the second registration information, the main control device 211 may return a result of setting the offloading device to the network management system based on the update result; the shunting device result may include an operation code for setting the corresponding shunting device, a device name of the target shunting device 214, and a device name of the target sub-control device 213. And setting results (for example, 0 flag succeeds, and other flags fail), which is not limited in this embodiment of the present invention.
After the main control device 211 successfully updates the second registration information according to the first registration information, it may generate a first notification message according to the updated second registration information; the first notification message may include an operation code for notifying the splitting apparatus information, an apparatus name of the sub-control apparatus 212 that receives the first notification message, and the splitting apparatus information.
As an example, the shunting device information may be used to indicate a correspondence relationship between shunting devices and corresponding sub-control devices 212. For example, the second registration information written with the first registration information under config _ info may be used as the offloading device information, which is not limited in this embodiment of the present invention.
After generating the first notification message, the main control device 211 may send the first notification message to all the sub-control devices 212 that have accessed the network; in one aspect, when the other sub-control device 212 sends the service data to be forwarded to the target sub-control device 213, the service data to be forwarded may be sent to the target sub-control device 214 according to the first notification message.
On the other hand, after receiving the first notification message, the target sub-control device 213 may generate a second notification message according to the first notification message, where the second notification message may include an operation code for notifying the offloading device information, a device name of the terminal device 220 that receives the second notification message, and the offloading device information set. Then, the second notification message is sent to the target terminal device 221 that has already accessed the network, so that when the target terminal device 221 sends the service data that needs to be forwarded to the target branch control device 213, the service data that needs to be forwarded may be sent to the target branch device 214 according to the second notification message.
As an example, after receiving the first notification message, the networked sub-control device 212 may store the first notification message, so that the MAC address of the target offloading device 214 may be extracted from the first notification message, and send the traffic data to the target offloading device 214 based on the extracted MAC address of the target offloading device 214. After receiving the second notification message, the target terminal device 221 may also store the second notification message, so that the MAC address of the target offloading device 214 may be extracted from the second notification message in the following, and the service data is sent to the target offloading device 214 based on the extracted MAC address of the target offloading device 214.
In an embodiment of the present invention, the target offloading device 214 is further configured to modify a MAC address of the target offloading device 214 into a MAC address of the target offloading device 213 when forwarding the service data.
When the target offloading device 214 forwards the service data, the MAC address of the target offloading device 214 may be modified to the MAC address of the target offloading device 213; so that the target offloading device 214 can issue with the MAC address of the target offloading device 213 when forwarding the traffic data that should be forwarded by the target offloading device 213.
In an embodiment of the present invention, the target offloading device 214 is further configured to forward, when the target offloading device 213 fails, data to be forwarded by the target offloading 213.
In practical applications, the target sub-control device 213 may have faults except that the uplink and downlink traffic exceeds a preset threshold, for example: when a failure error is received except that the uplink and downlink traffic exceeds a preset threshold, the main control device 211 (or other sub-control devices 212 or the target terminal device 221) does not receive the heartbeat feedback.
In order to avoid the abnormal service of the video communication network caused by the occurrence of such a failure in the target sub-control device 213, when it is monitored that the target sub-control device 213 has a failure, the target shunting device 214 may be used to assist the target sub-control device 213 in forwarding the data to be forwarded, which is to be forwarded by the target sub-control device 213.
For example: the target offloading device 214 may forward the service data that the main control device 211 originally wants to send to the target offloading device 213 for forwarding; or, the target distribution device 214 forwards the service data that is originally to be sent to the target distribution device 213 by the other distribution device 212; alternatively, the target offloading device 214 forwards service data that a target terminal device 221 originally wants to send to the target offloading control device 213 for forwarding, which is not limited in this embodiment of the present invention.
In the embodiment of the invention, the simulated sub-control equipment can be configured as the shunt equipment for the entity sub-control equipment in the shunt system in a mode of triggering the preset simulation program; therefore, when monitoring that the uplink/downlink flow of the target sub-control equipment configured with the flow distribution equipment exceeds a preset threshold value, forwarding data through the flow distribution equipment configured for the target sub-control equipment; the method and the device avoid the abnormity of the normal network access service caused by discarding the service data when the uplink/downlink flow of the target sub-control device exceeds the preset threshold.
Referring to fig. 3, a flowchart illustrating steps of an embodiment of a method for offloading service data according to the present invention is shown, where the method may be applied to the offloading system described above, and may include the following steps:
In practical application, simulated sub-control devices may be configured in advance for all the entity sub-control devices as shunting devices, or simulated sub-control devices may be configured for some of the entity sub-control devices as shunting devices.
Specifically, a simulated sub-control device may be configured for a target sub-control device as a target shunt device in a manner of triggering a preset simulation program. Compared with the standby branch control equipment for deploying the entity for the target branch control equipment, the cost is lower through a program simulation mode, and the standby branch control equipment can be used for accessing the network as soon as possible in a special scene.
The target distribution device can assist the target branch control device of the entity to process the service data exceeding the upper limit when the flow rate of the target branch control device of the entity exceeds a preset value. The target sub-control device can be any entity sub-control device in the shunt system, which needs to be configured with the simulated sub-control device.
In the process of processing the service, the target sub-control device may forward the service data sent by the main control device or other sub-control devices to the corresponding terminal device, or may send the service data sent by the terminal device to the main control device or other corresponding sub-control devices; for the target sub-control device, the service data sent by the main control device or other sub-control devices may correspond to downlink traffic, and the service data sent by the terminal device may correspond to uplink traffic.
In order to avoid that the normal service of the video communication network is abnormal due to the fact that the target terminal device discards corresponding service data when the uplink flow or the downlink flow exceeds a preset value, the uplink flow and the downlink flow of the target sub-control device can be monitored respectively.
If the monitored uplink flow of the target sub-control device exceeds the preset first threshold, it can be shown that the current uplink flow of the target sub-control device exceeds the range which can be normally processed by the target sub-control device.
At this time, the target sub-control device may send the first warning message to a plurality of target terminal devices under the target sub-control device that generate the uplink traffic.
In order to avoid discarding, by the target sub-control device, the service data subsequently sent by the target terminal device to the target sub-control device, after receiving the first alarm message, the target terminal device may send the first service data to be sent to the target sub-control device to the target distribution device, so that the target distribution device forwards the first service data to the corresponding other sub-control device or main control device.
If the monitored downlink flow of the target sub-control device exceeds a preset second threshold, the current downlink flow of the target sub-control device can be represented to exceed the range which can be normally processed by the target sub-control device; at this time, the target sub-control device may send a second warning message to the main control device and other sub-control devices that generate the downlink traffic.
In order to avoid discarding, by the target sub-control device, the service data that is subsequently sent to the target sub-control device by the main control device and the other sub-control devices, after receiving the second alarm message, the main control device and the other sub-control devices may send the second service data to be sent to the target sub-control device, so as to forward the second service data to the corresponding target terminal device through the target sub-control device.
In the embodiment of the invention, the simulated sub-control equipment can be configured for the entity sub-control equipment in the shunt system as the shunt equipment in a mode of triggering the preset simulation program; therefore, when monitoring that the uplink/downlink flow of the target sub-control equipment configured with the flow distribution equipment exceeds a preset threshold value, forwarding data through the flow distribution equipment configured for the target sub-control equipment; the method and the device avoid the abnormity of the normal network access service caused by discarding the service data when the uplink/downlink flow of the target sub-control device exceeds the preset threshold.
Referring to fig. 4, a flowchart illustrating steps of another embodiment of a method for offloading service data according to the present invention is shown, where the method may include the following steps:
In practical application, when configuring a target distribution device for a target distribution device, the target distribution device may be registered in the main control device to generate first registration information of the target distribution device.
Specifically, a registration command may be sent to the master control device through the network management system connected to the offloading system; the main control device may register for the target distribution device in response to the registration command, so as to generate first registration information of the target distribution device.
After the master control device registers the target distribution device, first registration information of the target distribution device may be obtained from the master control device, and a target configuration file for creating the target distribution device is generated based on the first registration information.
And 403, importing the target configuration file into a preset simulation program, and starting the preset simulation program according to the trigger rule to create target shunt equipment configured for the target shunt control equipment.
After the target configuration file is generated, the target configuration file may be imported into a preset simulation program, and a start command may be input in a root path of the preset simulation program according to a trigger rule, so as to start the preset simulation program into which the target configuration file is imported.
The started preset simulation program can be used as target distribution equipment based on a target configuration file; after the network access command is started, a network access command of the device can be packaged according to a video communication network protocol and sent to the main control device, and the main control device responds to the network access command and can complete network access of the target distribution device.
And step 404, acquiring second registration information of the target sub-control device.
In practical application, in order to establish a corresponding relationship between the target distribution device and the target sub-control device, a command for setting the distribution device may be sent to the main control device through the network management system before, after, or at the same time as the target distribution device is created.
Then, the main control device may obtain first registration information of the target distribution device according to the device name of the target distribution device, and obtain second registration information of the target distribution device according to the device name of the target distribution device.
After the first registration information and the second registration information are obtained, the second registration information may be updated according to the first registration information, so that the first registration information of the target distribution equipment is added to the second registration information of the target distribution control equipment.
In practical application, after the main control device updates the second registration information, the result of setting the distribution device may be returned to the network management system based on the update result.
And step 406, generating a first notification message according to the updated second registration information.
After the main control device successfully updates the second registration information according to the first registration information, the main control device may generate a first notification message according to the updated second registration information.
After the master control device generates the first notification message, the master control device may send the first notification message to all the sub-control devices that have accessed the network; on one hand, when other branch control devices send the service data to be forwarded to the target branch control device, the service data to be forwarded can be sent to the target branch control device according to the first notification message.
On the other hand, after receiving the first notification message, the target sub-control device may generate a second notification message according to the first notification message. And then, sending the second notification message to the target terminal device which has accessed to the network, so that when the target terminal device sends the service data to be forwarded to the target branch control device, the service data to be forwarded can be sent to the target branch control device according to the second notification message.
As an example, after receiving the first notification message, the network-connected sub-control device may store the first notification message, so that the MAC address of the target offloading device may be extracted from the first notification message, and send the service data to the target offloading device based on the extracted MAC address of the target offloading device. After receiving the second notification message, the target terminal device may also store the second notification message, so that the MAC address of the target offloading device may be extracted from the second notification message in the following, and the service data is sent to the target offloading device based on the extracted MAC address of the target offloading device.
In the process of processing the service, the target sub-control device may forward the service data sent by the main control device or other sub-control devices to the corresponding terminal device, or may send the service data sent by the terminal device to the main control device or other corresponding sub-control devices; for the target sub-control device, the service data sent by the main control device or other sub-control devices may correspond to downlink traffic, and the service data sent by the terminal device may correspond to uplink traffic.
In order to avoid that the normal service of the video communication network is abnormal due to the fact that the corresponding service data is discarded when the uplink flow or the downlink flow of the target terminal device exceeds a preset value, the uplink flow and the downlink flow of the target sub-control device can be monitored respectively.
If the monitored uplink flow of the target sub-control device exceeds the preset first threshold, it can be shown that the current uplink flow of the target sub-control device exceeds the range which can be normally processed by the target sub-control device.
At this time, the target sub-control device may send the first warning message to a plurality of target terminal devices under the target sub-control device that generate the uplink traffic.
In order to avoid discarding, by the target sub-control device, the service data subsequently sent by the target terminal device to the target sub-control device, after receiving the first alarm message, the target terminal device may send the first service data to be sent to the target sub-control device to the target distribution device, so that the target distribution device forwards the first service data to the corresponding other sub-control device or main control device.
In practical application, although the target shunt device can assist the target sub-control device to complete forwarding of service data, because the target shunt device is simulated by software, compared with the entity sub-control device, the target shunt device does not have the processing speed, the safety and the like of the entity sub-control device, and the simulated sub-control device cannot completely replace the entity sub-control device; therefore, after the first alarm message is sent to the plurality of target terminal devices, the uplink flow of the target sub-control device can be continuously monitored; if the monitored uplink flow of the target sub-control device does not exceed the first threshold, a first recovery message can be generated.
After receiving the first recovery message, the target terminal device may send the third service data to be sent to the target distribution device that recovers to be normal, so as to forward the third service data through the target distribution device that recovers to be normal, thereby avoiding the target distribution device that has poor long-term service performance and security.
If the monitored downlink flow of the target sub-control device exceeds a preset second threshold, the current downlink flow of the target sub-control device can be represented to exceed the range which can be normally processed by the target sub-control device; at this time, the target sub-control device may send a second warning message to the main control device and other sub-control devices that generate the downlink traffic.
In order to avoid discarding, by the target sub-control device, the service data subsequently sent to the target sub-control device by the main control device and the other sub-control devices, after receiving the second alarm message, the main control device and the other sub-control devices may send the second service data to be sent to the target sub-control device to the target distribution device, so that the target distribution device forwards the second service data to the corresponding target terminal device.
Similarly, after the second alarm message is sent to the main control device and other sub-control devices except the target sub-control device, the downlink flow of the target sub-control device can be continuously monitored; and if the monitored downlink flow of the target sub-control device does not exceed the second threshold, generating a second recovery message.
After receiving the second recovery message, the main control device and the other sub-control devices except the target sub-control device may send the fourth service data to be sent to the target sub-control device, so as to forward the third service data by recovering the normal target sub-control device.
In an embodiment of the present invention, the method may further include the following steps:
and when the target sub-control equipment fails, forwarding the data to be forwarded, which is to be forwarded by the target sub-control equipment.
In practical applications, the target sub-control device may have a fault except that the uplink and downlink flow rates exceed a preset threshold.
In order to avoid the abnormal service of the video communication network caused by the occurrence of such a fault in the target sub-control device, when the target sub-control device is monitored to have a fault, the target shunt device may be used to assist the target sub-control device in forwarding the data to be forwarded, which is to be forwarded by the target sub-control device.
In an embodiment of the present invention, in order to let the data receiving side consider that the service data is sent by the target sub-control device, the method may further include the following steps:
when the target shunting equipment forwards the service data, modifying the Media Access Control (MAC) address of the target shunting equipment into the MAC address of the target shunting equipment
When the target distribution equipment forwards the service data, the MAC address of the target distribution equipment can be modified into the MAC address of the target sub-control equipment; therefore, when the target distribution equipment forwards the service data forwarded by the target branch control equipment, the service data can be sent out by the MAC address of the target branch control equipment.
Referring to fig. 5a, a schematic diagram of a data interaction process of the present invention is shown:
1. setting a shunting device for an entity sub-control device: and registering a new sub-control device to the distribution system through the network management system, and simultaneously, appointing the newly added sub-control device as the distribution device of the entity sub-control device.
2. And after receiving the command of setting the shunt equipment, the main control equipment acquires the sub-control equipment of the entity and the registration information of the shunt equipment on the main control equipment, and adds the registration information of the shunt equipment to the registration information of the sub-control equipment.
The main control device can return the result of setting the shunting device to the network management system: operation code (setting shunting equipment response), shunting equipment number (namely equipment name of the shunting equipment of the entity), shunting equipment number (namely equipment name of the shunting equipment), setting result (0 success, other failure)
3. And copying the sub-control simulation program to an x86 server.
Configuring analog sub-control: acquiring the registration information of the branch control device (namely, the shunting device) newly registered in the main control device, configuring the registration information into a configuration file simulating branch control, and simultaneously modifying the MAC address of the x86 server to be the MAC address corresponding to the MAC _ addr attribute in the registration information of the shunting device.
Starting analog sub-control: and inputting a starting command in a root path where a branch control simulation program in the x86 server is located.
Simulating sub-control network access: and after the sub-control simulation program is started, the main control equipment is accessed to the network according to the network access command of the video communication network protocol encapsulation equipment.
The branch control equipment and the shunt equipment are both provided with a port 0 and a port 1, and the port 0 of the shunt equipment and the port 0 of the branch control equipment of the entity are in the same switching network.
4. The main control device can detect the registration information of the sub-control devices of each entity to judge whether the sub-control devices of each entity are configured with the shunt devices; and if the distribution equipment is configured on the sub-control equipment of an entity, sending a notification containing the distribution equipment information set to network access equipment (including the sub-control equipment and the distribution equipment of the entity). The sub-control device and the distribution device of the entity can store the information set of the distribution device after receiving the notification containing the information set of the distribution device.
The notification including the offloading device information set may further include: an operation code (streaming device information notification) and a reception notification device number (i.e., a device name of a device that has entered the network that receives the notification).
5. After the network access of the terminal equipment under the sub-control equipment to the sub-control equipment is successful, the sub-control equipment inquires a locally stored information set of the shunt equipment, if the sub-control equipment is configured with the shunt equipment, a notification is sent to the terminal equipment which is successful in network access, and the notification message mainly comprises: operation code (distribution equipment information notification), receiving notification terminal equipment number (namely equipment name of the terminal equipment which has accessed the network and receives the notification), and distribution equipment information.
And the terminal equipment stores the information of the shunting equipment after receiving the notification.
6. The port 0 of the sub-control device and all the terminal devices under the sub-control device are in a switching network, and the port 1 of the sub-control device and the main control device and other sub-control devices are in a switching network.
a. When monitoring that the uplink flow of the port 0 of the sub-control device exceeds the maximum limit, the sub-control device sends a first alarm message to all terminals, where the first alarm message may include: operation code (uplink traffic alarm), receiving notification terminal number (i.e. device name of terminal device receiving message), and current traffic size.
When it is monitored that the uplink flow of the sub-control device is changed from exceeding the maximum limit to being in the normal range, a first recovery message needs to be sent to all the terminal devices, and the first recovery message may include: operation code (cancel uplink traffic alarm), receiving notification terminal number (i.e. device name of terminal device receiving message), and current traffic size.
And after receiving the first alarm message/the first recovery message, the terminal equipment performs corresponding service processing according to the operation code.
b. When it is monitored that the downlink flow of the port 1 of the sub-control device exceeds the maximum limit, the sub-control device sends a second alarm message to the main control device and other sub-control devices in the interactive network, where the second alarm message may include: operation code (downlink flow alarm), number of receiving notification device (namely device name of main control device and other sub control devices receiving message), and current flow.
When it is monitored that the downlink traffic of the sub-control device exceeds the maximum limit and becomes within the normal range, a second recovery message needs to be sent to the main control device and other sub-control devices in the interactive network, where the second recovery message may include: operation code (cancel downlink traffic alarm), number of receiving notification device (i.e. device name of main control device and other sub-control devices receiving message), and current traffic size.
And after receiving the second alarm message/the second recovery message, the main control device and other sub-control devices in the interactive network perform corresponding processing according to the operation codes.
7. In the actual service process, when the terminal equipment under the sub-control equipment sends service data upwards, whether a first alarm message sent by the sub-control equipment is received is detected:
if not: the service data are directly sent to the corresponding sub-control equipment;
if so: the terminal equipment checks whether the shunting equipment information exists locally or not, and if not, the shunting equipment information is forwarded according to a normal flow; and if the corresponding shunting device information exists, acquiring the MAC address of the shunting device. When the terminal equipment communicates according to the MAC address, the MAC address of the shunting equipment is filled in by the data receiving target MAC address
8. After receiving the service data, the shunting device queries a locally stored shunting device information set to obtain information of the entity sub-control device corresponding to the shunting device.
Meanwhile, the service data is analyzed according to the video communication network protocol, and a final receiving party (main control equipment or other sub-control equipment) of the service data is determined; when the shunting device forwards the service data, the source MAC address is modified into the MAC address of the entity sub-control device corresponding to the shunting device.
9. In the actual service process, when the main control device or other branch control devices send service data to a branch control device, the data sending party detects whether a second alarm message of the branch control device receiving the service data is received:
if not: the service data are directly sent to the corresponding sub-control equipment;
if so: inquiring whether the sub-control equipment receiving the service data has the configuration shunting equipment or not according to the locally stored shunting equipment information set; if not, the data is forwarded according to a normal flow; if yes, determining the MAC address of the shunting equipment; and when the data sender communicates according to the MAC address, the data receiving destination MAC address fills the MAC address of the shunting device.
10. After the distribution equipment receives the data, the information set of the distribution equipment stored locally is inquired, and the information of the entity sub-control equipment corresponding to the distribution equipment is obtained
Meanwhile, the service data is analyzed according to the video communication network protocol, and a final receiving party (terminal equipment or other sub-control equipment) of the service data is obtained; when the shunting device forwards the service data, the source MAC address is modified into the MAC address of the entity sub-control device corresponding to the shunting device.
When the main control device sends service data to the branch control devices, if the branch control devices are detected to quit the network, the main control device can acquire the MAC addresses of the branch control devices corresponding to the branch control devices which quit the network according to the locally stored information set of the branch control devices; and when the data sender communicates according to the MAC address, the data receiving destination MAC address fills the MAC address of the shunting device.
When the network is disconnected with the faulty sub-control device and the network is disconnected, the terminal device under the faulty sub-control device can also check the locally stored corresponding shunt device information. And meanwhile, initiating a network access flow to the shunting equipment and continuing the subsequent service.
Referring to fig. 5b, a schematic diagram of a shunt system of the present invention is shown:
the shunting system can comprise a main control device and a plurality of entity sub-control devices; in order to avoid that the normal service of the video communication network is abnormal due to the fact that the service data are discarded when the uplink/downlink flow of the branch control equipment exceeds a preset threshold value, simulated branch control equipment can be configured for any one or more entity branch control equipment to serve as shunt equipment.
The port 0 of the shunting equipment and the port 0 of the corresponding entity sub-control equipment are in the same switching network; the port 0 of the sub-control device and all the terminal devices under the sub-control device are in a switching network, and any port 1 of the sub-control device, the main control device and other sub-control devices are in a switching network.
A plurality of terminal devices can be connected under one control device; the shunt system can be connected with a network management system.
In the embodiment of the invention, the simulated sub-control equipment can be configured as the shunt equipment for the entity sub-control equipment in the shunt system in a mode of triggering the preset simulation program; therefore, when the uplink/downlink flow of the target sub-control equipment configured with the flow dividing equipment exceeds a preset threshold value, the data is forwarded through the flow dividing equipment configured for the target sub-control equipment; the method and the device avoid the abnormity of the normal network access service caused by discarding the service data when the uplink/downlink flow of the target sub-control device exceeds the preset threshold.
When the target distribution equipment is configured for the target distribution equipment, the registration information of the target distribution equipment can be updated based on the registration information of the target distribution equipment, and a notification message is generated based on the updated registration information; by sending the notification message to the network-accessed sub-control device and terminal device, when the target sub-control device is abnormal, other sub-control device/terminal device/main control device can determine the target shunt device corresponding to the target sub-control device based on the stored notification message, and send the service data to be forwarded to the target shunt device.
In addition, the situation of the uplink and downlink flow of the target sub-control equipment is continuously monitored, and the target sub-control equipment is adopted to forward the service data when the uplink and downlink flow of the target sub-control equipment is relieved, so that the simulated sub-control equipment with poor service performance and safety for a long time is avoided.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a block diagram of a configuration of an embodiment of a traffic data offloading device according to the present invention is shown, where the device may be applied to an offloading system as described above, and may include the following modules:
the configuration module 601 is configured to configure a target distribution device for a target sub-control device, where the target distribution device is a virtual device;
a first alarm module 602, configured to send a first alarm message to multiple target terminal devices under a target sub-control device when it is monitored that an uplink flow of the target sub-control device exceeds a first threshold; after receiving the first alarm message, the target terminal devices send first service data to be sent to the target branch control devices to the target shunt devices so as to forward the first service data through the target shunt devices;
a second alarm module 602, configured to send a second alarm message to the main control device and other sub-control devices except the target sub-control device when it is monitored that the downlink flow rate of the target sub-control device exceeds a second threshold; after receiving the second alarm message, the main control device and other sub-control devices send second service data to be sent to the target sub-control device to the target shunt device, so that the second service data is forwarded through the target shunt device.
In the embodiment of the invention, the simulated sub-control equipment can be configured as the shunt equipment for the entity sub-control equipment in the shunt system in a mode of triggering the preset simulation program; therefore, when monitoring that the uplink/downlink flow of the target sub-control equipment configured with the flow distribution equipment exceeds a preset threshold value, forwarding data through the flow distribution equipment configured for the target sub-control equipment; the method and the device avoid the abnormity of the normal network access service caused by discarding the service data when the uplink/downlink flow of the target sub-control device exceeds the preset threshold.
In order to solve the above problem, an embodiment of the present invention further discloses an electronic device, including:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform a traffic data offloading method as above.
In order to solve the above problem, an embodiment of the present invention further discloses a computer-readable storage medium, where a stored computer program causes a processor to execute the foregoing method for offloading service data.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are all described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same and similar between the embodiments may be referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or terminal apparatus that comprises the element.
The service data offloading system, method, apparatus, electronic device and medium provided by the present invention are introduced in detail, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. The system for shunting the service data is characterized by comprising a main control device and at least one sub-control device, wherein the main control device is connected with the at least one sub-control device; the system also comprises target shunting equipment configured for the target sub-control equipment, wherein the target shunting equipment is virtual equipment;
the target sub-control device is used for sending a first warning message to a plurality of target terminal devices under the target sub-control device when the uplink flow exceeds a first threshold value; when the downlink flow exceeds a second threshold value, sending a second alarm message to the main control device and other branch control devices except the target branch control device; after receiving the first alarm message, the target terminal devices send first service data to be sent to the target branch control device;
the main control device is configured to send, to the target distribution device, second service data to be sent to the target distribution device after receiving the second alarm message;
the target offloading device is configured to forward the first service data and/or the second service data.
2. The flow diversion system of claim 1,
the target distribution device is further configured to modify a media access control MAC address of the target distribution device to an MAC address of the target distribution device when forwarding the service data.
3. The flow diversion system of claim 1,
the target sub-control device is further configured to send a first recovery message to a plurality of target terminal devices under the target sub-control device when it is monitored that the uplink flow of the target sub-control device does not exceed the first threshold after sending the first alarm message; after receiving the first alarm message, the target terminal devices send third service data to be sent to the target distribution device to the target distribution control device, so that the third service data is forwarded through the target distribution control device;
the target sub-control device is further configured to send a second recovery message to the main control device and other sub-control devices except the target sub-control device when it is monitored that the downlink traffic of the target sub-control device does not exceed the second threshold after sending a second alarm message; and after receiving the second recovery message, the main control device and the other sub-control devices send fourth service data to be sent to the target sub-control device, so that the fourth service data is forwarded through the target sub-control device.
4. The flow diversion system of claim 1,
the target distribution equipment is further configured to forward the data to be forwarded, which is to be forwarded by the target sub-control equipment, when the target sub-control equipment fails.
5. The flow diversion system of claim 1,
the master control device is further configured to register a target distribution device of the target distribution control device to generate first registration information; generating a target configuration file of the target distribution equipment according to the first registration information;
the system further comprises a preset server, wherein the preset server is used for importing the target configuration file into a preset simulation program, and starting the preset simulation program according to a trigger rule so as to create target shunt equipment configured for the target shunt control equipment.
6. The shunt system of claim 5,
the main control device is further configured to obtain second registration information of the target sub-control device; updating the second registration information according to the first registration information; generating a first notification message according to the updated second registration information; sending the first notification message to the sub-control equipment which has accessed the network;
and the target sub-control device is further configured to generate a second notification message based on the first notification message when receiving the first notification message, and send the second notification message to the plurality of target terminal devices.
7. A traffic data offloading method applied to an offloading system according to any one of claims 1 to 6, the method comprising:
configuring target shunting equipment for target sub-control equipment, wherein the target shunting equipment is virtual equipment;
when monitoring that the uplink flow of the target sub-control equipment exceeds a first threshold value, sending a first warning message to a plurality of target terminal equipment under the target sub-control equipment; after receiving the first alarm message, the target terminal devices send first service data to be sent to the target branch control device to the target branch device, so that the first service data is forwarded through the target branch device;
when it is monitored that the downstream flow of the target sub-control equipment exceeds a second threshold value, sending a second alarm message to the main control equipment and other sub-control equipment except the target sub-control equipment; and after receiving the second alarm message, the main control device and the other sub-control devices send second service data to be sent to the target sub-control device to the target shunt device, so that the second service data is forwarded through the target shunt device.
8. A traffic data offloading device, applied to an offloading system according to any one of claims 1-6, the device comprising:
the configuration module is used for configuring target shunt equipment for the target shunt equipment, and the target shunt equipment is virtual equipment;
the first alarm module is used for sending a first alarm message to a plurality of target terminal devices under the target sub-control device when monitoring that the uplink flow of the target sub-control device exceeds a first threshold; after receiving the first alarm message, the target terminal devices send first service data to be sent to the target branch control device to the target branch device, so that the first service data is forwarded through the target branch device;
the second alarm module is used for sending a second alarm message to the main control equipment and other sub-control equipment except the target sub-control equipment when the monitored downstream flow of the target sub-control equipment exceeds a second threshold value; and after receiving the second alarm message, the main control device and the other sub-control devices send second service data to be sent to the target sub-control device to the target shunt device, so that the second service data is forwarded through the target shunt device.
9. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the traffic data offloading method of claim 7.
10. A computer-readable storage medium storing a computer program for causing a processor to execute the traffic data offloading method according to claim 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211130535.1A CN115633197B (en) | 2022-09-15 | 2022-09-15 | Service data distribution system, method and device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211130535.1A CN115633197B (en) | 2022-09-15 | 2022-09-15 | Service data distribution system, method and device, electronic equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115633197A true CN115633197A (en) | 2023-01-20 |
CN115633197B CN115633197B (en) | 2024-09-17 |
Family
ID=84903431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211130535.1A Active CN115633197B (en) | 2022-09-15 | 2022-09-15 | Service data distribution system, method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115633197B (en) |
Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043397A (en) * | 2006-06-20 | 2007-09-26 | 华为技术有限公司 | Network transmission control method and system |
WO2016123972A1 (en) * | 2015-02-02 | 2016-08-11 | 中兴通讯股份有限公司 | Load balancing method and load balancing apparatus |
CN105992228A (en) * | 2015-01-29 | 2016-10-05 | 中国移动通信集团浙江有限公司 | Wireless network capacity expansion method and device and electronic device |
WO2016177156A1 (en) * | 2015-07-16 | 2016-11-10 | 中兴通讯股份有限公司 | Traffic processing method, device and system |
CN106775936A (en) * | 2016-11-30 | 2017-05-31 | 华为技术有限公司 | The management method and device of a kind of virtual machine |
CN107005848A (en) * | 2014-12-05 | 2017-08-01 | 华为技术有限公司 | System and method for arranging Virtual Service gateway for mobile management |
CN107404350A (en) * | 2017-07-31 | 2017-11-28 | 北京邮电大学 | Satellite network simulation method, apparatus, electronic equipment and readable storage medium storing program for executing |
CN108768935A (en) * | 2018-04-12 | 2018-11-06 | 国家计算机网络与信息安全管理中心 | Support the separate system and method for shellring road flow detection and anti-DDOS attack |
CN109348505A (en) * | 2018-10-30 | 2019-02-15 | 郑州云海信息技术有限公司 | A kind of data distribution method, device and electronic equipment |
CN109429255A (en) * | 2017-09-01 | 2019-03-05 | 中国移动通信集团陕西有限公司 | Flow method of adjustment, device, server, electronic equipment and storage medium |
CN110225079A (en) * | 2019-04-26 | 2019-09-10 | 视联动力信息技术股份有限公司 | A kind of apparatus control method, device and readable storage medium storing program for executing |
CN110493351A (en) * | 2019-08-28 | 2019-11-22 | 视联动力信息技术股份有限公司 | A kind of view networking cut-in method, device, equipment and storage medium |
CN110519119A (en) * | 2019-07-31 | 2019-11-29 | 视联动力信息技术股份有限公司 | Bandwidth management method, device and storage medium based on view networking |
CN110557687A (en) * | 2019-08-02 | 2019-12-10 | 视联动力信息技术股份有限公司 | multicast data packet processing method, device and storage medium |
CN110661722A (en) * | 2019-09-09 | 2020-01-07 | 新华三信息安全技术有限公司 | Flow control method and device |
CN110809011A (en) * | 2020-01-08 | 2020-02-18 | 医渡云(北京)技术有限公司 | Access control method and system, and storage medium |
CN111224897A (en) * | 2018-11-23 | 2020-06-02 | 北京金山云网络技术有限公司 | Flow forwarding method and device, switch equipment and intelligent network card |
CN111404705A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | SDN optimization method and device and computer readable storage medium |
CN111555974A (en) * | 2020-03-19 | 2020-08-18 | 视联动力信息技术股份有限公司 | Data packet processing method and device, terminal equipment and storage medium |
CN111669333A (en) * | 2020-04-28 | 2020-09-15 | 视联动力信息技术股份有限公司 | Data transmission method and device, computing equipment and storage medium |
CN111683113A (en) * | 2020-04-21 | 2020-09-18 | 视联动力信息技术股份有限公司 | Method and device for clearing service |
CN111880926A (en) * | 2020-06-30 | 2020-11-03 | 苏州浪潮智能科技有限公司 | Load balancing method and device and computer storage medium |
CN112311689A (en) * | 2019-07-31 | 2021-02-02 | 上海幻电信息科技有限公司 | Burst flow shunting method, computer equipment and readable storage medium |
CN112838957A (en) * | 2021-02-23 | 2021-05-25 | 成都卓源网络科技有限公司 | Flow prediction system with intelligent scheduling function |
CN113098777A (en) * | 2021-03-19 | 2021-07-09 | 视联动力信息技术股份有限公司 | Data forwarding method and device, terminal equipment and storage medium |
CN114615337A (en) * | 2022-01-27 | 2022-06-10 | 网宿科技股份有限公司 | Equipment scheduling method, system, server and storage medium |
-
2022
- 2022-09-15 CN CN202211130535.1A patent/CN115633197B/en active Active
Patent Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043397A (en) * | 2006-06-20 | 2007-09-26 | 华为技术有限公司 | Network transmission control method and system |
CN107005848A (en) * | 2014-12-05 | 2017-08-01 | 华为技术有限公司 | System and method for arranging Virtual Service gateway for mobile management |
CN105992228A (en) * | 2015-01-29 | 2016-10-05 | 中国移动通信集团浙江有限公司 | Wireless network capacity expansion method and device and electronic device |
WO2016123972A1 (en) * | 2015-02-02 | 2016-08-11 | 中兴通讯股份有限公司 | Load balancing method and load balancing apparatus |
WO2016177156A1 (en) * | 2015-07-16 | 2016-11-10 | 中兴通讯股份有限公司 | Traffic processing method, device and system |
CN106775936A (en) * | 2016-11-30 | 2017-05-31 | 华为技术有限公司 | The management method and device of a kind of virtual machine |
CN107404350A (en) * | 2017-07-31 | 2017-11-28 | 北京邮电大学 | Satellite network simulation method, apparatus, electronic equipment and readable storage medium storing program for executing |
CN109429255A (en) * | 2017-09-01 | 2019-03-05 | 中国移动通信集团陕西有限公司 | Flow method of adjustment, device, server, electronic equipment and storage medium |
CN108768935A (en) * | 2018-04-12 | 2018-11-06 | 国家计算机网络与信息安全管理中心 | Support the separate system and method for shellring road flow detection and anti-DDOS attack |
CN109348505A (en) * | 2018-10-30 | 2019-02-15 | 郑州云海信息技术有限公司 | A kind of data distribution method, device and electronic equipment |
CN111224897A (en) * | 2018-11-23 | 2020-06-02 | 北京金山云网络技术有限公司 | Flow forwarding method and device, switch equipment and intelligent network card |
CN111404705A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | SDN optimization method and device and computer readable storage medium |
CN110225079A (en) * | 2019-04-26 | 2019-09-10 | 视联动力信息技术股份有限公司 | A kind of apparatus control method, device and readable storage medium storing program for executing |
CN110519119A (en) * | 2019-07-31 | 2019-11-29 | 视联动力信息技术股份有限公司 | Bandwidth management method, device and storage medium based on view networking |
CN112311689A (en) * | 2019-07-31 | 2021-02-02 | 上海幻电信息科技有限公司 | Burst flow shunting method, computer equipment and readable storage medium |
CN110557687A (en) * | 2019-08-02 | 2019-12-10 | 视联动力信息技术股份有限公司 | multicast data packet processing method, device and storage medium |
CN110493351A (en) * | 2019-08-28 | 2019-11-22 | 视联动力信息技术股份有限公司 | A kind of view networking cut-in method, device, equipment and storage medium |
CN110661722A (en) * | 2019-09-09 | 2020-01-07 | 新华三信息安全技术有限公司 | Flow control method and device |
CN110809011A (en) * | 2020-01-08 | 2020-02-18 | 医渡云(北京)技术有限公司 | Access control method and system, and storage medium |
CN111555974A (en) * | 2020-03-19 | 2020-08-18 | 视联动力信息技术股份有限公司 | Data packet processing method and device, terminal equipment and storage medium |
CN111683113A (en) * | 2020-04-21 | 2020-09-18 | 视联动力信息技术股份有限公司 | Method and device for clearing service |
CN111669333A (en) * | 2020-04-28 | 2020-09-15 | 视联动力信息技术股份有限公司 | Data transmission method and device, computing equipment and storage medium |
CN111880926A (en) * | 2020-06-30 | 2020-11-03 | 苏州浪潮智能科技有限公司 | Load balancing method and device and computer storage medium |
CN112838957A (en) * | 2021-02-23 | 2021-05-25 | 成都卓源网络科技有限公司 | Flow prediction system with intelligent scheduling function |
CN113098777A (en) * | 2021-03-19 | 2021-07-09 | 视联动力信息技术股份有限公司 | Data forwarding method and device, terminal equipment and storage medium |
CN114615337A (en) * | 2022-01-27 | 2022-06-10 | 网宿科技股份有限公司 | Equipment scheduling method, system, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115633197B (en) | 2024-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109344014B (en) | Main/standby switching method and device and communication equipment | |
CN110891018B (en) | Network traffic recovery method and device, SDN controller and storage medium | |
CN105379208A (en) | Multi-connection system and method for service using internet protocol | |
CN107111510B (en) | Method and device for operating VNF packet | |
CN110889143B (en) | File verification method and device | |
CN111565133B (en) | Private line switching method and device, electronic equipment and computer readable storage medium | |
CN111130821A (en) | Power failure alarm method, processing method and device | |
CN106941418B (en) | SSL VPN configuration information synchronization method and device | |
JP6607572B2 (en) | Recovery control system and method | |
CN109618021B (en) | Method and tool box for modifying IP address | |
CN109787790B (en) | Communication method, device and storage medium based on double-link management port | |
CN113055203B (en) | Method and device for recovering exception of SDN control plane | |
CN115633197B (en) | Service data distribution system, method and device, electronic equipment and medium | |
CN111490961B (en) | Communication connection blocking system, method, device and equipment | |
CN117955903A (en) | Device management method, device, system and storage medium | |
CN109962820B (en) | Detection method and detection platform of cloud platform | |
CN113824595B (en) | Link switching control method and device and gateway equipment | |
CN109219105B (en) | Route switching method and route switching system | |
CN111669320B (en) | Method for processing message and network equipment | |
CN113038394B (en) | Session binding relationship processing method and device, electronic equipment and readable medium | |
CN105763441B (en) | A kind of message transmitting method and device | |
CN111404810B (en) | Openflow flow table recovery method and device, electronic equipment and medium | |
WO2017054535A1 (en) | Traffic forwarding method and apparatus | |
CN112583650B (en) | SR-BE tunnel link detection method and system in SPN | |
EP3139536A1 (en) | Alarm reporting method and device |
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 |