CN113645676B - Service data sending method and device, computer equipment and storage medium - Google Patents
Service data sending method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113645676B CN113645676B CN202110928387.7A CN202110928387A CN113645676B CN 113645676 B CN113645676 B CN 113645676B CN 202110928387 A CN202110928387 A CN 202110928387A CN 113645676 B CN113645676 B CN 113645676B
- Authority
- CN
- China
- Prior art keywords
- channel
- service data
- station address
- data
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims abstract description 93
- 230000003068 static effect Effects 0.000 claims abstract description 31
- 230000003287 optical effect Effects 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
- H04W40/246—Connectivity information discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/1851—Systems using a satellite or space-based relay
- H04B7/18513—Transmission in a satellite or space-based system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/1851—Systems using a satellite or space-based relay
- H04B7/18519—Operations control, administration or maintenance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
- H04W40/248—Connectivity information update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
- H04Q2011/0037—Operation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- Aviation & Aerospace Engineering (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a service data sending method, which comprises the following steps: receiving all service data to be transmitted of all terminals; for each service data to be transmitted: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table; for each target transmission channel: counting the data flow of a target transmission channel; and when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted. A transmission device, a computer device and a storage medium for service data are also provided. Receiving service data to be transmitted of all terminals, and automatically distributing a target transmission channel aiming at each service data, so that the error is low and the efficiency is high; in addition, the data flow of each target transmission channel is automatically counted, and the data flow is transmitted only when the data flow does not exceed a preset threshold, so that the reliability of service data transmission is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for sending service data, a computer device, and a storage medium.
Background
Building a flexible transmission network by means of optical cables and satellite equipment, and distributing corresponding special line service rates based on all user flow demands in the current transmission network for applying or allocating corresponding physical links; the IP bearing network constructed based on the router and the switch needs to make a static routing table based on the networking topology and the user data flow direction for the routing configuration of all routers in the network.
However, at present, manual calculation is basically adopted to allocate a corresponding transmission channel for service data, configure static route, and the error is extremely large and the efficiency is extremely low.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a method, a device, computer equipment and a storage medium for sending service data.
In a first aspect, in an embodiment, the present invention provides a method for sending service data, including:
receiving all service data to be transmitted of all terminals;
for each service data to be transmitted: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table;
for each target transmission channel: counting the data flow of a target transmission channel;
and when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted.
In one embodiment, determining a destination site for a destination data center based on traffic data to be transmitted includes:
and analyzing the packet head part of the service data to be transmitted to obtain the destination station address of the destination data center.
In one embodiment, determining a target transport channel from an originating site to a destination site in a pre-configured channel network includes:
determining a target network plane to which the service data to be transmitted belongs, and determining a target transmission channel in a channel network corresponding to the target network plane.
In one embodiment, determining a target transport channel at a channel network corresponding to a target network plane includes:
searching a direct channel from a starting station address to a destination station address;
if the direct channel exists, determining the direct channel as a target transmission channel, otherwise, searching an indirect channel from a starting station address to a neighbor station address and then to a destination station address;
if the indirect channel exists, determining the indirect channel as a target transmission channel, otherwise, searching a direct channel from the initial station address to a primary station address to which the initial station address belongs and then to a center to which the target station address belongs;
if the center direct channel exists, the center direct channel is determined as a target transmission channel, otherwise, the channel lacking the plane is prompted.
In one embodiment, for direct channels, indirect channels, and affiliated center direct channels:
if the target network plane is a plane, searching an optical channel and then searching a guard channel;
if the target network plane is a two-plane, the guard channel is searched first, and then the optical channel is searched.
In one embodiment, after the step of counting the data traffic of the target transport channel, the method further comprises:
and prompting when any data flow exceeds a preset threshold value.
In one embodiment, after the step of prompting if any data traffic exceeds the preset threshold, the method further includes:
and after the manager adjusts the channel network, re-entering the step of determining the destination station address of the destination data center according to the service data to be transmitted.
In a second aspect, in one embodiment, the present invention provides a service data transmitting apparatus, including:
the data acquisition module is used for receiving all the business data to be sent of all the terminals;
a channel determining module, configured to, for each service data to be sent: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table;
a traffic statistics module for, for each target transmission channel: counting the data flow of a target transmission channel;
and the data sending module is used for sending all the service data to be sent when each data flow does not exceed the preset threshold value.
In a third aspect, in one embodiment, the invention provides a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
receiving all service data to be transmitted of all terminals;
for each service data to be transmitted: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table;
for each target transmission channel: counting the data flow of a target transmission channel;
and when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted.
In a fourth aspect, in one embodiment, the present invention provides a storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
receiving all service data to be transmitted of all terminals;
for each service data to be transmitted: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table;
for each target transmission channel: counting the data flow of a target transmission channel;
and when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted.
By the method, the device, the computer equipment and the storage medium for sending the service data, the service data to be sent of all terminals are automatically received, and a target transmission channel is automatically allocated for each service data, so that the error is low and the efficiency is high; in addition, the data flow of each target transmission channel is automatically counted, and the data flow is transmitted only when the data flow does not exceed a preset threshold, so that the reliability of service data transmission is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
fig. 1 is a flow chart of a method for sending service data according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of determining a target transmission channel according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of determining a target transmission channel according to another embodiment of the present invention;
fig. 4 is a flow chart of a method for sending service data according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service data transmitting device according to an embodiment of the present invention;
fig. 6 is a schematic diagram showing an internal structure of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In a first aspect, as shown in fig. 1, in an embodiment, the present invention provides a method for sending service data, including:
and 102, receiving all service data to be transmitted, which are transmitted by all terminals.
The execution body of the embodiment is a computer, and the computer may receive, in a wireless or wired manner, service data to be sent, which is sent by the terminal. The computer can receive the service data to be transmitted in a circulating manner according to the preset period, and in each preset period, the computer is required to complete the receiving and processing of the service data to be transmitted, so that the frequency of final transmission of the service data to be transmitted, namely the real-time performance, can be controlled by adjusting the size of the preset period.
Step 104, for each service data to be sent: and determining a target transmission channel from the initial station address to the target station address in a pre-configured channel network according to the target station address of the target data center to be sent, and adding a corresponding static route in a routing table.
The data center is mainly used for processing service data of each terminal.
The initial site refers to the current network address (the second site) of the terminal, the destination site refers to the current network address (the first site) of the data center, the first site corresponds to a large network area, and the second site corresponds to a small network area in the large network area. When determining the target transmission channel, the judgment needs to be carried out according to the distance between the initial station address and the target station address and the network area to which the initial station address and the target station address respectively belong, and different channels are selected as the target transmission channel according to different situations. The computer is also connected with the router, and after the target transmission channel is determined, the determined relevant information is added into a routing table of the router as a static route.
The static route is used for planning and designing the link relation between the optical channel and the guard channel, and mainly comprises information such as a site and equipment, a destination network segment, a mask, a next hop address, a destination, a next hop and the like.
The method comprises the steps that a station of static routing fills in a secondary station address name corresponding to a terminal, a destination network segment and a mask fill in the network segment and the mask of a destination data center, a next-hop address is automatically calculated according to a static routing algorithm, the destination is the name of a primary station address of the destination data center, the name of the next-hop is determined by a transmission channel between the terminal and the destination data center, and if the destination is a direct channel, the destination is the name of the primary station address of the destination data center; if it is an indirect channel, it is the name of the transfer site of the direct channel.
Step 106, for each target transmission channel: and counting the data flow of the target transmission channel.
The target transmission channels generally have forwarding nodes, the forwarding nodes divide the target transmission channels into multiple segments, and different target transmission channels may have repeated segments, so that statistics of data traffic need to be performed for each segment of the target transmission channel.
And step 108, when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted.
The preset threshold is determined according to the bandwidth of the channel which is already opened, for example, the preset threshold of the optical channel is X% of the opened bandwidth (X is settable); for a guard channel with an open bandwidth greater than A Mbps (A is settable), the preset threshold is M% (M is settable) of the open bandwidth; for a guard channel with an open bandwidth not greater than A Mbps (A is settable), the preset threshold is N% (N is settable) of the open bandwidth; and the rounding up operation is performed in multiples of 64K. When the data flow does not exceed the preset threshold, the channel can be used for containing the service data to be sent of the data flow, so that the risk of data loss is avoided.
The computer is configured with data flow direction and available physical channel configuration software based on Django frame (MVT-based frame mode application frame, namely model M, view V and template T), and provides an operation interface, and a user configures a physical transmission channel through various input business data flow direction requirements.
By the service data sending method, the service data to be sent of all terminals are automatically received, and a target transmission channel is automatically allocated for each service data, so that the error is low, and the efficiency is high; in addition, the data flow of each target transmission channel is automatically counted, and the data flow is transmitted only when the data flow does not exceed a preset threshold, so that the reliability of service data transmission is improved.
In one embodiment, determining a destination site for a destination data center based on traffic data to be transmitted includes:
and analyzing the packet head part of the service data to be transmitted to obtain the destination station address of the destination data center.
In one embodiment, determining a target transport channel from an originating site to a destination site in a pre-configured channel network includes:
determining a target network plane to which the service data to be transmitted belongs, and determining a target transmission channel in a channel network corresponding to the target network plane.
In order to consider the fault tolerance of the channel network, the pre-configured channel network needs to be divided into different network planes, each network plane includes a corresponding channel network, and the different network planes can realize standby and complementary functions. And determining a corresponding network plane according to the property of the service data to be transmitted.
As shown in fig. 2, in one embodiment, determining a target transmission channel at a channel network corresponding to a target network plane includes:
step 202, find the direct channel from the originating site to the destination site.
When the starting station address is adjacent to the station corresponding to the destination station address, the next-hop station address which can start the station address can be directly used as the destination station address, and the corresponding channel is the direct channel.
If the direct channel exists, the direct channel is determined as a target transmission channel, otherwise, an indirect channel from the initial station address to the adjacent station address and then to the destination station address is searched for.
When the station corresponding to the initial station address and the destination station address are not adjacent but the initial station address is adjacent to the station corresponding to the station address of another data center, the next hop of the initial station address can be the station address of the data center, then the station address is reached to the destination station address, and the corresponding channel is an indirect channel.
If the indirect channel exists, the indirect channel is determined as a target transmission channel, otherwise, the direct channel from the initial station address to the primary station address to which the initial station address belongs and then to the center of the destination station address is searched for.
When the initial station address and the destination station address are not adjacent to each other and are not adjacent to the station corresponding to the station address of another data center, the initial station address can only reach the primary station address (possibly the destination station address) to which the initial station address belongs, and then reach the destination station address, and the corresponding channel is the direct channel of the affiliated center.
Step 208, if there is a direct channel of the center, it is determined as the target transmission channel, otherwise, the channel lacking the plane is prompted.
If all channels are not found, prompting is carried out, so that management personnel can conveniently adjust the channels.
In one embodiment, for direct channels, indirect channels, and affiliated center direct channels:
if the target network plane is a plane, searching an optical channel and then searching a guard channel;
if the target network plane is a two-plane, the guard channel is searched first, and then the optical channel is searched.
As shown in fig. 3, in one embodiment, the flow of the method for sending service data is as follows:
firstly traversing all terminals, traversing all business flow data of each terminal, and realizing automatic selection of a data center according to data center information contained in the business data. And judging whether the service data belongs to a plane, if so, searching a plane direct optical channel according to the source secondary station address to the target data center. If the plane direct optical channel exists, the optical channel is automatically selected, the data is added to the optical channel, and the static route is added to a routing table. If the one-plane direct optical channel does not exist, the destination station address is checked for a one-plane direct guard channel of the data center, and the second-level station address is used for checking the station arrangement information of the satellite communication equipment to check the satellite communication equipment. If the plane direct guard channel exists, the guard channel is automatically selected, the data is added to the guard channel, and the static route is added to a routing table. If the one-plane direct guard channel does not exist, a one-plane indirect channel is found by finding a one-plane channel from the secondary site to the neighboring data center and a one-plane channel from the neighboring data center to the destination data center. If the one-plane indirect channel exists, the two one-plane channels are automatically selected, the data is added in the two channels, and the static route is added in a routing table. If the plane indirect channel does not exist, the central direct optical channel to which a plane belongs is searched by searching a primary site to which the secondary site belongs and a plane optical channel from the primary site to the target data center. If there is a center direct optical channel to which a plane belongs, automatically selecting the optical channel, adding the data to the optical channel, and adding a static route to a routing table. If there is no central direct optical channel to which a plane belongs, a central direct guard channel to which a plane belongs is searched by searching a primary site to which the secondary site belongs and a plane guard channel from the primary site to the destination data center. If the plane guard channel exists, the guard channel is automatically selected, the data is added to the guard channel, and the static route is added to a routing table. If the one plane channel does not exist, the data is indicated to lack one plane channel.
If the service data does not belong to a plane, a two-plane direct guard channel is searched. If the guard channel exists, the guard channel is automatically selected, the service data is added in the guard channel, and a static route is added in a routing table. If the direct guard channel does not exist, a two-plane direct optical channel is found. If the optical channel exists, the optical channel is automatically selected, service data is added in the optical channel, and static route is added in a routing table. If the two-plane direct optical channel does not exist, a two-plane indirect channel is found by finding two-plane channels from the secondary site to the adjacent data center and two-plane channels from the adjacent data center to the destination data center. If two planar indirect channels exist, the two planar channels are automatically selected, the traffic data is added to the channels, and a static route is added to the routing table. If the two-plane indirect channel does not exist, the center direct guard channel to which the two planes belong is searched by searching the primary site to which the secondary site belongs and the two-plane guard channel from the primary site to the target data center. If the direct guard channel of the affiliated center exists, the guard channel is automatically selected, service data is added to the guard channel, and the static route is added to a routing table. If the center direct guard channel does not exist, the center direct optical channel to which the two planes belong is searched by searching the primary site to which the secondary site belongs and the two-plane optical channel from the primary site to the target data center. If the center direct optical channel exists, the direct optical channel is automatically selected, the service data is added in the channel, and the static route is added in the routing table. If not, the traffic data is prompted to lack a two-plane channel.
In one embodiment, after the step of counting the data traffic of the target transport channel, the method further comprises:
and prompting when any data flow exceeds a preset threshold value.
In one embodiment, after the step of prompting if any data traffic exceeds the preset threshold, the method further includes:
and after the manager adjusts the channel network, re-entering the step of determining the destination station address of the destination data center according to the service data to be transmitted.
As shown in fig. 4, in one embodiment, the present invention provides a method for sending service data, including:
step 302, receiving all service data to be transmitted of the data center.
Step 304, for each service data to be sent: and determining a target transmission channel from the initial station address to the target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route into a routing table.
The static route site fills in the primary site name of the data center, the destination network segment and the mask fill in the network segment and the mask of the secondary site corresponding to the destination terminal, the next hop address is automatically calculated according to a static route algorithm, the destination is the name of the secondary site corresponding to the destination terminal, the name of the next hop is determined by a transmission channel between the data center and the destination terminal, and if the destination network segment and the mask are direct channels, the name of the secondary site corresponding to the destination terminal is the name of the secondary site corresponding to the destination terminal; if it is an indirect channel, it is the name of the transfer site of the direct channel.
Step 306, for each target transport channel: and counting the data flow of the target transmission channel.
And 308, when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted.
In a second aspect, as shown in fig. 5, in one embodiment, the present invention provides a service data transmitting apparatus, including:
a data acquisition module 402, configured to receive all service data to be sent of all terminals;
a channel determining module 404, configured to, for each service data to be sent: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table;
traffic statistics module 406 for each target transport channel: counting the data flow of a target transmission channel;
the data sending module 408 is configured to send all the service data to be sent when each data traffic does not exceed the preset threshold.
By the service data transmitting device, the service data to be transmitted of all terminals are automatically received, and a target transmission channel is automatically allocated for each service data, so that the error is low and the efficiency is high; in addition, the data flow of each target transmission channel is automatically counted, and the data flow is transmitted only when the data flow does not exceed a preset threshold, so that the reliability of service data transmission is improved.
In one embodiment, the channel determining module is specifically configured to parse a header portion of the service data to be sent to obtain a destination station address of the destination data center.
In one embodiment, the channel determining module is specifically configured to determine a target network plane to which the service data to be sent belongs, and determine a target transmission channel in a channel network corresponding to the target network plane.
In one embodiment, the channel determining module is specifically configured to find a direct channel from the starting site to the destination site; if the direct channel exists, determining the direct channel as a target transmission channel, otherwise, searching an indirect channel from a starting station address to a neighbor station address and then to a destination station address; if the indirect channel exists, determining the indirect channel as a target transmission channel, otherwise, searching a direct channel from the initial station address to a primary station address to which the initial station address belongs and then to a center to which the target station address belongs; if the center direct channel exists, the center direct channel is determined as a target transmission channel, otherwise, the channel lacking the plane is prompted.
In one embodiment, for direct channels, indirect channels, and affiliated center direct channels: if the target network plane is a plane, the channel determining module is specifically configured to search for an optical channel first and then search for a guard channel; if the target network plane is a two-plane, the channel determining module is specifically configured to search for the guard channel first and then search for the optical channel.
As shown in fig. 5, in one embodiment, the sending device of service data further includes:
the excessive prompting module 410 is configured to prompt when any one of the data flows exceeds a preset threshold.
In one embodiment, the channel determining module is further configured to re-enter the step of determining the destination address of the destination data center based on the traffic data to be transmitted after the manager adjusts the channel network.
In a third aspect, as shown in fig. 6, in one embodiment, the present invention provides a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
receiving all service data to be transmitted of all terminals;
for each service data to be transmitted: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table;
for each target transmission channel: counting the data flow of a target transmission channel;
and when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted.
Through the computer equipment, the service data to be sent of all terminals are automatically received, and a target transmission channel is automatically allocated for each service data, so that the error is low, and the efficiency is high; in addition, the data flow of each target transmission channel is automatically counted, and the data flow is transmitted only when the data flow does not exceed a preset threshold, so that the reliability of service data transmission is improved.
In a fourth aspect, in one embodiment, the present invention provides a storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
receiving all service data to be transmitted of all terminals;
for each service data to be transmitted: determining a target transmission channel from a starting station address to a target station address in a pre-configured channel network according to the service data to be transmitted, and adding a corresponding static route in a routing table;
for each target transmission channel: counting the data flow of a target transmission channel;
and when each data flow does not exceed the preset threshold value, transmitting all the service data to be transmitted.
Through the storage medium, the service data to be sent of all terminals are automatically received, and a target transmission channel is automatically allocated for each service data, so that the error is low, and the efficiency is high; in addition, the data flow of each target transmission channel is automatically counted, and the data flow is transmitted only when the data flow does not exceed a preset threshold, so that the reliability of service data transmission is improved.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present invention, which are described in more detail and are not to be construed as limiting the scope of the present invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of the invention should be assessed as that of the appended claims.
Claims (7)
1. A method for transmitting service data, comprising:
receiving all service data to be transmitted of all terminals;
for each of the service data to be transmitted:
determining a destination station address of a destination data center according to the service data to be sent;
determining a target transmission channel from an originating site to the destination site in a pre-configured channel network, comprising: determining a target network plane to which the service data to be sent belongs, and determining the target transmission channel in a channel network corresponding to the target network plane;
adding a corresponding static route into the routing table;
wherein the determining, by the channel network corresponding to the target network plane, the target transmission channel includes: searching a direct channel from the initial station address to the destination station address; if the direct channel exists, determining the direct channel as the target transmission channel, otherwise, searching an indirect channel from the starting station address to a neighbor station address and then to the destination station address; if the indirect channel exists, determining the indirect channel as the target transmission channel, otherwise, searching a direct channel from the initial station address to a primary station address to which the initial station address belongs and then to a center to which the target station address belongs; if the center direct channel exists, determining the center direct channel as the target transmission channel, otherwise prompting the lack of the channel of the plane;
for the direct channel, the indirect channel, and the belonging center direct channel: if the target network plane is a plane, searching an optical channel and then searching a guard channel; if the target network plane is a two-plane, searching a guard channel and then searching an optical channel;
for each of the target transport channels: counting the data flow of the target transmission channel;
and when each data flow does not exceed a preset threshold value, transmitting all the service data to be transmitted.
2. The method for transmitting service data according to claim 1, wherein said determining a destination site of a destination data center according to the service data to be transmitted comprises:
and analyzing the packet head part of the service data to be sent to obtain the destination station address of the destination data center.
3. The method for transmitting traffic data according to claim 1, further comprising, after said step of counting the data traffic of said target transmission channel:
and prompting when any one of the data flows exceeds the preset threshold value.
4. A method for transmitting service data according to claim 3, wherein, if any one of said data traffic flows
After the step of prompting when the preset threshold is exceeded, the method further comprises the following steps:
after the manager adjusts the channel network, reentering the determination according to the service data to be sent
And a step of destination station address of destination data center.
5. A transmission apparatus for service data, comprising:
the data acquisition module is used for acquiring all the service data to be transmitted;
a channel determining module, configured to, for each service data:
determining a destination station address of a destination data center according to the service data;
determining a target transmission channel from an initial site to the destination site in a pre-configured channel network; comprising the following steps: determining a target network plane to which the service data to be sent belongs, and determining the target transmission channel in a channel network corresponding to the target network plane;
adding a corresponding static route into the routing table;
wherein the determining, by the channel network corresponding to the target network plane, the target transmission channel includes: searching a direct channel from the initial station address to the destination station address; if the direct channel exists, determining the direct channel as the target transmission channel, otherwise, searching an indirect channel from the starting station address to a neighbor station address and then to the destination station address; if the indirect channel exists, determining the indirect channel as the target transmission channel, otherwise, searching a direct channel from the initial station address to a primary station address to which the initial station address belongs and then to a center to which the target station address belongs; if the center direct channel exists, determining the center direct channel as the target transmission channel, otherwise prompting the lack of the channel of the plane;
for the direct channel, the indirect channel, and the belonging center direct channel: if the target network plane is a plane, searching an optical channel and then searching a guard channel; if the target network plane is a two-plane, searching a guard channel and then searching an optical channel;
a traffic statistics module, configured to, for each of the target transmission channels: counting the data flow of the target transmission channel;
and the data sending module is used for sending all the service data when each data flow does not exceed a preset threshold value.
6. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the computer program, when executed by the processor, causes the processor to perform the method of transmitting traffic data according to any of claims 1-4.
7. A storage medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the method of transmitting traffic data according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110928387.7A CN113645676B (en) | 2021-08-13 | 2021-08-13 | Service data sending method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110928387.7A CN113645676B (en) | 2021-08-13 | 2021-08-13 | Service data sending method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113645676A CN113645676A (en) | 2021-11-12 |
CN113645676B true CN113645676B (en) | 2023-12-15 |
Family
ID=78421406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110928387.7A Active CN113645676B (en) | 2021-08-13 | 2021-08-13 | Service data sending method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113645676B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005008922A1 (en) * | 2003-07-16 | 2005-01-27 | Zte Corporation | Signalling routing apparatus and method in optical network |
CN101170711A (en) * | 2007-11-19 | 2008-04-30 | 中兴通讯股份有限公司 | Information transmission device and method for automatically switching optical network SCN and MCN |
CN103024860A (en) * | 2012-12-11 | 2013-04-03 | 上海卫星工程研究所 | Method for routing distribution of satellite channel |
CN106034331A (en) * | 2015-03-20 | 2016-10-19 | 中国移动通信集团公司 | Network data flow balancing method and system |
CN106685828A (en) * | 2016-12-19 | 2017-05-17 | 武汉船舶通信研究所 | Message transmitting method and apparatus |
WO2018188337A1 (en) * | 2017-04-10 | 2018-10-18 | 华为技术有限公司 | Method and device for packet broadcasting |
CN109155994A (en) * | 2016-05-17 | 2019-01-04 | 华为技术有限公司 | A kind of user face method for managing resource, user's veil member and control plane network element |
CN110336742A (en) * | 2019-06-20 | 2019-10-15 | 网联清算有限公司 | Method for sending information, device, computer equipment and storage medium |
CN110545336A (en) * | 2019-09-06 | 2019-12-06 | 深圳平安通信科技有限公司 | IP address replacing method, device, computer equipment and storage medium |
CN111314229A (en) * | 2020-02-18 | 2020-06-19 | 中国电子科技集团公司第五十四研究所 | Communication method suitable for narrow-band emergency communication network |
CN111314221A (en) * | 2018-12-11 | 2020-06-19 | 北京京东金融科技控股有限公司 | Service processing method, device, equipment and computer readable storage medium |
CN111431803A (en) * | 2020-03-27 | 2020-07-17 | 中国联合网络通信集团有限公司 | Routing method and device |
CN112217555A (en) * | 2020-08-24 | 2021-01-12 | 成都天奥集团有限公司 | Formation satellite routing method based on SDN architecture and adopting SR routing protocol |
CN112261681A (en) * | 2020-10-10 | 2021-01-22 | 北京航空航天大学 | Low earth orbit satellite DTN network routing path selection method and system |
WO2021063515A1 (en) * | 2019-10-03 | 2021-04-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Management of traffic over a communication channel |
CN113067625A (en) * | 2021-03-17 | 2021-07-02 | 西安电子科技大学 | Satellite network multi-service QoS routing method based on region division |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102740428B (en) * | 2012-06-20 | 2015-04-15 | 华为技术有限公司 | Method for regulating and controlling transmitting power and wireless router equipment |
US9900761B2 (en) * | 2015-04-27 | 2018-02-20 | At&T Intellectual Property I, L.P. | System and method for direct tunneling in point-to-multipoint mobile service |
US9913195B2 (en) * | 2015-06-19 | 2018-03-06 | Terranet Ab | Mesh path selection |
EP3758298B1 (en) * | 2016-03-02 | 2023-10-04 | Huawei Technologies Co., Ltd. | Network device management method and apparatus |
CN108207012B (en) * | 2016-12-20 | 2021-10-29 | 中兴通讯股份有限公司 | Flow control method, device, terminal and system |
CN108631824B (en) * | 2017-03-20 | 2022-12-30 | 华为技术有限公司 | Data transmission method, communication equipment and data transmission system |
US10454816B2 (en) * | 2017-12-12 | 2019-10-22 | Mastercard International Incorporated | Transparent satellite routing system and method |
-
2021
- 2021-08-13 CN CN202110928387.7A patent/CN113645676B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005008922A1 (en) * | 2003-07-16 | 2005-01-27 | Zte Corporation | Signalling routing apparatus and method in optical network |
CN101170711A (en) * | 2007-11-19 | 2008-04-30 | 中兴通讯股份有限公司 | Information transmission device and method for automatically switching optical network SCN and MCN |
CN103024860A (en) * | 2012-12-11 | 2013-04-03 | 上海卫星工程研究所 | Method for routing distribution of satellite channel |
CN106034331A (en) * | 2015-03-20 | 2016-10-19 | 中国移动通信集团公司 | Network data flow balancing method and system |
CN109155994A (en) * | 2016-05-17 | 2019-01-04 | 华为技术有限公司 | A kind of user face method for managing resource, user's veil member and control plane network element |
CN106685828A (en) * | 2016-12-19 | 2017-05-17 | 武汉船舶通信研究所 | Message transmitting method and apparatus |
WO2018188337A1 (en) * | 2017-04-10 | 2018-10-18 | 华为技术有限公司 | Method and device for packet broadcasting |
CN111314221A (en) * | 2018-12-11 | 2020-06-19 | 北京京东金融科技控股有限公司 | Service processing method, device, equipment and computer readable storage medium |
CN110336742A (en) * | 2019-06-20 | 2019-10-15 | 网联清算有限公司 | Method for sending information, device, computer equipment and storage medium |
CN110545336A (en) * | 2019-09-06 | 2019-12-06 | 深圳平安通信科技有限公司 | IP address replacing method, device, computer equipment and storage medium |
WO2021063515A1 (en) * | 2019-10-03 | 2021-04-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Management of traffic over a communication channel |
CN111314229A (en) * | 2020-02-18 | 2020-06-19 | 中国电子科技集团公司第五十四研究所 | Communication method suitable for narrow-band emergency communication network |
CN111431803A (en) * | 2020-03-27 | 2020-07-17 | 中国联合网络通信集团有限公司 | Routing method and device |
CN112217555A (en) * | 2020-08-24 | 2021-01-12 | 成都天奥集团有限公司 | Formation satellite routing method based on SDN architecture and adopting SR routing protocol |
CN112261681A (en) * | 2020-10-10 | 2021-01-22 | 北京航空航天大学 | Low earth orbit satellite DTN network routing path selection method and system |
CN113067625A (en) * | 2021-03-17 | 2021-07-02 | 西安电子科技大学 | Satellite network multi-service QoS routing method based on region division |
Also Published As
Publication number | Publication date |
---|---|
CN113645676A (en) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105264845B (en) | Data Transmission Controlling node, communication system and data transfer management method | |
US7764617B2 (en) | Mobile ad-hoc network and methods for performing functions therein based upon weighted quality of service metrics | |
US20170237669A1 (en) | Network traffic shaping for low power and lossy networks | |
CN100544480C (en) | Be used for handling the apparatus and method of the grand diversity of Universal Mobile Telecommunications System | |
US11190437B2 (en) | Methods, apparatus and computer programs for allocating traffic in a telecommunications network | |
EP2787700A1 (en) | Systems and methods for providing resource allocation meeting communication constraints for multi-hop network data flows | |
CN113839870B (en) | Path creation method, device and system | |
JP2003258806A (en) | Method for allocating radio resource and base station | |
EP3611956B1 (en) | Automatic connection of base stations via bearer devices and based on geographical location information | |
US10075364B2 (en) | Method and apparatus for self-tuned adaptive routing | |
CN111555982B (en) | Method and system for intelligently routing message based on IPv6 extension header | |
CN109274589B (en) | Service transmission method and device | |
CN111917645A (en) | SDN-based path optimization method and system for mobile network | |
CN101341692B (en) | Admission control using backup link based on access network in Ethernet | |
RU2606966C2 (en) | Method of path control, wireless communication system, path control device and not short-term computer-readable medium | |
CN113645676B (en) | Service data sending method and device, computer equipment and storage medium | |
Taramit et al. | Load-aware channel allocation for IEEE 802.11 ah-based networks | |
CN104935374A (en) | Satellite internet protocol (IP) resource reservation processing method based on dynamic window | |
US20160050612A1 (en) | Aggregation-node selection using virtual hub | |
CN109039951B (en) | Method and system for realizing QoS (quality of service) strategy of heterogeneous network | |
US20230379266A1 (en) | Path determination method, network element, and computer-readable storage medium | |
Battula et al. | Path and link aware routing algorithm for cognitive radio wireless mesh network | |
CN112235208B (en) | Method and device for determining service flow type, communication equipment and storage medium | |
CN110601893B (en) | Data transmission system, method and device | |
US11201816B2 (en) | Optimal routing in a communications network |
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 |