Data transmission method, device, electronic device and storage medium
By selecting optical channels for data transmission based on the deviation of data quality parameters and optical channel threshold parameters, the problem that FlexE optical channels are easily eavesdropped and stolen is solved, and the security and randomness of data transmission are improved.
Patent Information
- Application Number
- CN202211640844.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-20
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-12-20
AI Technical Summary
In the optical and wireless fusion access network, the optical channel formed by FlexE time slot allocation is easily eavesdropped and stolen, resulting in data security problems.
By obtaining the data quality parameters of the data to be transmitted and the threshold parameters of the optical channel, the degree of deviation of each data is determined, and the corresponding optical channel is selected for data transmission according to the degree of deviation, increasing the randomness of the data transmission channel.
Improves the security of data transmission, increases the cost of eavesdropping and stealing, and does not require additional overhead to increase key management and encryption and decryption computing.
Smart Images

Figure CN116192285B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a data transmission method, device, electronic equipment and storage medium. Background Art
[0002] The optical and wireless converged access network connects base stations and core networks and is an important infrastructure for cloud-network integration. The data throughput and transmission rate of the optical channel formed by FlexE (Flexible Ethernet) time slot allocation are large, so a large amount of information can be stolen through short-term eavesdropping, causing major data security issues. Summary of the invention
[0003] In view of the above problems, a data transmission method, device, electronic device and storage medium are proposed to overcome the above problems or at least partially solve the above problems, including:
[0004] A data transmission method, the method comprising:
[0005] Acquire data quality parameters of a plurality of data to be transmitted through an optical channel of a flexible Ethernet FlexE, and an optical channel threshold parameter of the optical channel, wherein the data quality parameters correspond to the optical channel threshold parameters one by one;
[0006] Determine the degree of deviation between the data quality parameter of each data and the optical channel threshold parameter;
[0007] Determining the optical channel corresponding to each data according to the degree of deviation;
[0008] The multiple data are transmitted according to the optical channels corresponding to the data.
[0009] Optionally, each data corresponds to a plurality of data quality parameters, and determining the optical channel corresponding to each data according to the degree of deviation includes:
[0010] Determining a first degree of deviation corresponding to various data quality parameters of the target data;
[0011] Determine the first M data quality parameters with the largest deviation degree from the data quality parameters corresponding to the multiple first deviation degrees; wherein M is a positive integer;
[0012] An optical channel corresponding to the target data is determined according to a first deviation degree of the first M data quality parameters.
[0013] Optionally, each data corresponds to a plurality of data quality parameters, and determining the optical channel corresponding to each data according to the degree of deviation includes:
[0014] Determining a first degree of deviation corresponding to various data quality parameters of the target data;
[0015] Determining a target interval for each first deviation degree, and determining a second deviation degree in a preset interval from the first deviation degrees;
[0016] An optical channel corresponding to the target data is determined according to the second deviation degree.
[0017] Optionally, the transmitting the plurality of data according to the optical channels corresponding to the respective data includes:
[0018] Determining a target time slot / target sub-time slot corresponding to the target data according to a first deviation degree corresponding to the target data;
[0019] The target data is allocated to the target time slot / target sub-time slot, and the target time slot / target sub-time slot allocated with the target data is transmitted through the target optical channel.
[0020] Optionally, the transmitting the target timeslot / target sub-timeslot to which the target data is allocated through the target optical channel includes:
[0021] Determining a target cushion node according to a first deviation degree of the target data;
[0022] The target time slot / target sub-time slot allocated with the target data is transmitted to the target pad node through the target optical channel.
[0023] Optionally, the method further comprises:
[0024] Determine, according to the degree of deviation, a traffic attack type of the attack behavior against the FlexE;
[0025] The attack behavior is processed according to the traffic attack type.
[0026] Optionally, the data quality parameter includes at least one of the following: a jitter parameter, a rate parameter, a connection density parameter, and a traffic density parameter.
[0027] An embodiment of the present invention further provides a data transmission device, the device comprising:
[0028] An acquisition module, used to acquire data quality parameters of a plurality of data to be transmitted through the FlexE optical channel and an optical channel threshold parameter of the optical channel, wherein the data quality parameters correspond to the optical channel threshold parameters one by one;
[0029] A deviation degree determination module, used to determine the deviation degree between the data quality parameter of each data and the optical channel threshold parameter;
[0030] An optical channel determination module, used to determine the optical channel corresponding to each data according to the deviation degree;
[0031] The transmission module is used to transmit the multiple data according to the optical channel corresponding to each data.
[0032] Optionally, each data corresponds to multiple data quality parameters, and the optical channel determination module is used to determine the first deviation degree corresponding to various data quality parameters of the target data; from the data quality parameters corresponding to the multiple first deviation degrees, determine the top M data quality parameters with the largest deviation degrees; wherein M is a positive integer; and determine the optical channel corresponding to the target data based on the first deviation degrees of the top M data quality parameters.
[0033] Optionally, each data corresponds to multiple data quality parameters, and the optical channel determination module is used to determine the first deviation degree corresponding to various data quality parameters of the target data; determine the target interval of each first deviation degree, and determine the second deviation degree in a preset interval from the first deviation degree; and determine the optical channel corresponding to the target data based on the second deviation degree.
[0034] Optionally, the transmission module is used to determine the target time slot / target sub-time slot corresponding to the target data according to the first deviation degree corresponding to the target data; allocate the target data to the target time slot / target sub-time slot, and transmit the target time slot / target sub-time slot allocated with the target data through the target optical channel.
[0035] Optionally, the transmission module is used to determine a target pad node according to a first deviation degree of the target data; and transmit a target time slot / target sub-time slot allocated with the target data to the target pad node through the target optical channel.
[0036] Optionally, the device further comprises:
[0037] The protection module is used to determine the traffic attack type of the attack behavior against the FlexE according to the deviation degree; and process the attack behavior according to the traffic attack type.
[0038] Optionally, the data quality parameter includes at least one of the following: a jitter parameter, a rate parameter, a connection density parameter, and a traffic density parameter.
[0039] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above data transmission method when executed by the processor.
[0040] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the data transmission method described above is implemented.
[0041] The embodiments of the present invention have the following advantages:
[0042] In an embodiment of the present invention, data quality parameters of multiple data to be transmitted through the FlexE optical channel and the optical channel threshold parameters of the optical channel are obtained, and the data quality parameters correspond to the optical channel threshold parameters one by one; the degree of deviation between the data quality parameters of each data and the optical channel threshold parameters is determined; according to the degree of deviation, the optical channel corresponding to each data is determined; and according to the optical channel corresponding to each data, multiple data are transmitted. Through the embodiment of the present invention, greater randomness is brought to the allocation of data transmission channels, thereby increasing the cost of data eavesdropping and theft, and improving the security of data transmission; and secure data transmission is performed based on the intrinsic properties of the optical channel without adding additional overhead. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0044] Figure 1 It is a schematic diagram of a data transmission method in the prior art;
[0045] Figure 2 is a flow chart of steps of a data transmission method according to an embodiment of the present invention;
[0046] Figure 3 is a flowchart of another method for transmitting data according to an embodiment of the present invention;
[0047] Figure 4 is a schematic diagram of a data transmission method according to an embodiment of the present invention;
[0048] Figure 5 is a flowchart of the steps of another data transmission method according to an embodiment of the present invention;
[0049] Figure 6 is a schematic diagram of an interval of an embodiment of the present invention;
[0050] Figure 7 It is a schematic diagram of a distribution method in the prior art;
[0051] Figure 8 is a schematic diagram of an allocation method according to an embodiment of the present invention;
[0052] Fig. 9 It is a structural schematic diagram of a data transmission device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] In practical applications, in order to ensure the security of data transmission, keys can be generated based on the optical characteristics of the device or the data signal modulation method, such as Figure 1 As shown: the user terminal side communicates with the core network through the optical and wireless converged access network; when transmitting data, the data can be encrypted based on quantum or optical signals, and the receiver can decrypt the data based on quantum or optical signals after receiving the data.
[0055] Although this method can ensure the security of data transmission, on the one hand, it adds additional overhead for key management and distribution, and requires additional computing mechanisms to achieve random allocation of optical channels. In addition, encryption and decryption calculations will reduce the fiber transmission rate and affect the user experience.
[0056] In order to achieve a transmission method that does not affect the transmission rate while ensuring data security, an embodiment of the present invention provides a data transmission method, which can select optical channels corresponding to different data based on the degree of deviation between the quality parameters of the data and the quality parameters of the optical channel; thereby, greater randomness is brought to the allocation of data transmission channels, thereby increasing the cost of data eavesdropping and theft, and improving the security of data transmission; and secure data transmission is performed based on the intrinsic properties of the optical channel without adding additional overhead.
[0057] Reference Figure 2 , shows a flow chart of a data transmission method according to an embodiment of the present invention, which may include the following steps:
[0058] Step 201: obtain data quality parameters of multiple data to be transmitted through the FlexE optical channel and an optical channel threshold parameter of the optical channel, where the data quality parameters correspond to the optical channel threshold parameters one by one.
[0059] As an example, the data quality parameter may include at least one of the following: a jitter parameter, a rate parameter, a connection density parameter, and a traffic density parameter.
[0060] In actual applications, when data needs to be transmitted through the FlexE optical channel, the data quality parameters of multiple data that the user is going to transmit through the FlexE optical channel can be obtained first; specifically, the various data quality parameters of the data of the input channel of the user entering the FlexE cushion layer can be obtained first.
[0061] For example, the jitter parameters, rate parameters, connection density parameters, and traffic density parameters of the data of the input channel of the user entering the FlexE pad can be obtained.
[0062] While acquiring the data quality parameters of each data, the optical channel threshold parameters of the optical channel may also be acquired; specifically, the optical channel threshold parameters of the optical channel having a corresponding relationship may be acquired according to the data quality parameters of the acquired data.
[0063] As an example, the optical channel threshold parameters may include at least one of the following: a jitter parameter, a rate parameter, a connection number density parameter, and a traffic density parameter; the optical channel threshold parameters correspond one-to-one to the data quality parameters, and the specific values of the optical channel threshold parameters can be set according to actual conditions, and the embodiments of the present invention do not limit this.
[0064] For example: if the data quality parameter of the acquired data is a jitter parameter, then the optical channel threshold parameter of the acquired optical channel is also the jitter parameter; if the data quality parameter of the acquired data is a jitter parameter and a rate parameter, then the optical channel threshold parameter of the acquired optical channel is also the jitter parameter and the rate parameter. This embodiment of the present invention does not limit this.
[0065] Step 202: Determine the degree of deviation between the data quality parameter of each data and the optical channel threshold parameter.
[0066] After obtaining the data quality parameters of each data and the corresponding optical channel threshold parameters, the degree of deviation of the data quality parameters of the data relative to the corresponding optical channel threshold parameters can be determined; for example: the difference between the data quality parameters of the data and the corresponding optical channel threshold parameters can be calculated, and the degree of deviation of the data quality parameters of the data relative to the corresponding optical channel threshold parameters can be determined based on the difference, and the embodiments of the present invention are not limited to this.
[0067] Step 203: Determine the optical channel corresponding to each data according to the degree of deviation.
[0068] After determining the degree of deviation of the data quality parameter of each data relative to the corresponding optical channel threshold parameter, an optical channel for transmitting each data may be determined based on the degree of deviation corresponding to each data.
[0069] Step 204: Transmit multiple data according to the optical channels corresponding to the data.
[0070] After determining the optical channel corresponding to each data, each data can be transmitted using the optical channel corresponding to each data; for example: data 1 corresponds to optical channel 1, and data 2 corresponds to optical channel 2, then optical channel 1 can be used to transmit data 1, and optical channel 2 can be used to transmit data 2. The embodiment of the present invention does not limit this.
[0071] In an embodiment of the present invention, data quality parameters of multiple data to be transmitted through the FlexE optical channel and the optical channel threshold parameters of the optical channel are obtained, and the data quality parameters correspond to the optical channel threshold parameters one by one; the degree of deviation between the data quality parameters of each data and the optical channel threshold parameters is determined; according to the degree of deviation, the optical channel corresponding to each data is determined; and according to the optical channel corresponding to each data, multiple data are transmitted. Through the embodiment of the present invention, greater randomness is brought to the allocation of data transmission channels, thereby increasing the cost of data eavesdropping and theft, and improving the security of data transmission; and secure data transmission is performed based on the intrinsic properties of the optical channel without adding additional overhead.
[0072] Reference Figure 3 , shows a flowchart of another data transmission method according to an embodiment of the present invention, which may include the following steps:
[0073] Step 301: Acquire data quality parameters of a plurality of data to be transmitted through a FlexE optical channel and an optical channel threshold parameter of the optical channel.
[0074] In actual applications, when data needs to be transmitted through the FlexE optical channel, the data quality parameters of multiple data that the user is going to transmit through the FlexE optical channel can be obtained first; specifically, the various data quality parameters of the data of the input channel of the user entering the FlexE cushion layer can be obtained first.
[0075] While acquiring the data quality parameters of each data, the optical channel threshold parameters of the optical channel may also be acquired; specifically, the optical channel threshold parameters of the optical channel having a corresponding relationship may be acquired according to the data quality parameters of the acquired data.
[0076] Step 302: Determine the degree of deviation between the data quality parameter of each data and the optical channel threshold parameter.
[0077] After the data quality parameters of each data and the corresponding optical channel threshold parameters are acquired, the degree of deviation of the data quality parameters of the data relative to the corresponding optical channel threshold parameters may be determined.
[0078] Step 303: Each data corresponds to a plurality of data quality parameters, and a first deviation degree corresponding to each data quality parameter of the target data is determined.
[0079] In practical applications, multiple data quality parameters may be obtained for each data; for target data, the first deviation degree corresponding to the multiple data quality parameters obtained for the target data may be determined first; each data quality parameter may correspond to a first deviation degree.
[0080] The target data may refer to a piece of data selected arbitrarily from a plurality of data, and the embodiment of the present invention does not limit this.
[0081] Step 304: Determine first M data quality parameters with the largest deviation degrees from the data quality parameters corresponding to the multiple first deviation degrees.
[0082] After determining multiple first deviation degrees of target data, the multiple first deviation degrees may be sorted in descending order; then, the first M first deviation degrees with the largest deviation degrees are determined, and the corresponding M data quality parameters are determined, where M is a positive integer.
[0083] Step 305: Determine the optical channel corresponding to the target data according to the first deviation degree of the first M data quality parameters.
[0084] After the first M data quality parameters are determined, the optical channel corresponding to the target data may be determined according to the first deviation degrees corresponding to the first M data quality parameters.
[0085] Step 306: Determine a target time slot / target sub-time slot corresponding to the target data according to the first deviation degree corresponding to the target data.
[0086] In practical applications, after determining the first deviation degree of the target data, the target time slot or target sub-time slot corresponding to the first deviation degree may also be determined. The correspondence between the deviation degree and the time slot and sub-time slot may be preset, and the embodiment of the present invention does not limit this.
[0087] Specifically, the target time slot or target sub-time slot corresponding to the target data may be determined according to the first deviation degrees corresponding to the first M data quality parameters.
[0088] Step 307: Allocate the target data to the target time slot / target sub-time slot, and transmit the target time slot / target sub-time slot allocated with the target data through the target optical channel.
[0089] After determining the target time slot or target sub-time slot corresponding to the target data, the target data can be allocated to the target time slot or target sub-time slot; then, the target time slot or target sub-time slot allocated with the target data can be transmitted through the target optical channel; thereby, the target data is transmitted from the source pad node to the target pad node.
[0090] In one embodiment of the present invention, step 307 may be implemented by the following sub-steps:
[0091] Sub-step 11: determining a target cushion node according to a first deviation degree of the target data.
[0092] In practical applications, the correspondence between the degree of deviation and the pad node can also be pre-set; then, after determining the first degree of deviation of the target data, the target pad node for the target data can be determined based on the first degree of deviation of the target data, so that the target data can be transmitted from the source pad node to the target pad node, thereby realizing the transmission of data between the source and destination ports at both ends of the optical channel.
[0093] Sub-step 12: transmitting the target time slot / target sub-time slot allocated with the target data to the target cushion node through the target optical channel.
[0094] In practical applications, after determining the target pad node, the target time slot allocated with the target data, or the target sub-time slot allocated with the target data, can be transmitted to the target pad node through the target optical channel; thereby, the transmission of the target data is completed.
[0095] In one embodiment of the present invention, the method further includes:
[0096] The traffic attack type of the attack behavior against FlexE is determined based on the degree of deviation, and the attack behavior is processed based on the traffic attack type.
[0097] In practical applications, the degree of deviation may also indicate that FlexE has been attacked. Specifically, the degree of deviation corresponding to different types of parameters and the corresponding relationship between the types of traffic attacks may be pre-set.
[0098] After the deviation degree is determined, the traffic attack type of the current attack behavior against FlexE can be determined according to the deviation degree. Then, the above attack behavior can be processed based on the traffic attack type, thereby maintaining the security of FlexE data transmission.
[0099] Reference Figure 4 The user terminal side communicates with the core network through the optical and wireless converged access network; when transmitting data, the transmission path randomization relies on the intrinsic randomness of the network and the intrinsic characteristics of the data and optical channels to transmit data from the source pad node to the target pad node; thus, there is no need for key management and encryption processing.
[0100] In an embodiment of the present invention, data quality parameters of multiple data to be transmitted through the optical channel of FlexE and the optical channel threshold parameters of the optical channel are obtained; the degree of deviation between the data quality parameters of each data and the optical channel threshold parameters is determined; each data corresponds to multiple data quality parameters, and the first degree of deviation corresponding to the various data quality parameters of the target data is determined; from the data quality parameters corresponding to the multiple first degrees of deviation, the first M data quality parameters with the largest degree of deviation are determined; according to the first degree of deviation of the first M data quality parameters, the optical channel corresponding to the target data is determined; according to the first degree of deviation corresponding to the target data, the target time slot / target sub-time slot corresponding to the target data is determined; the target data is allocated to the target time slot / target sub-time slot, and the target time slot / target sub-time slot allocated with the target data is transmitted through the target optical channel. Through the embodiment of the present invention, greater randomness is brought to the allocation of data transmission channels, thereby increasing the cost of data eavesdropping and theft, and improving the security of data transmission; and secure data transmission is performed based on the intrinsic properties of the optical channel without adding additional overhead.
[0101] Reference Figure 5 , shows a flowchart of another data transmission method according to an embodiment of the present invention, which may include the following steps:
[0102] Step 501: Acquire data quality parameters of a plurality of data to be transmitted through a FlexE optical channel and an optical channel threshold parameter of the optical channel.
[0103] In actual applications, when data needs to be transmitted through the FlexE optical channel, the data quality parameters of multiple data that the user is going to transmit through the FlexE optical channel can be obtained first; specifically, the various data quality parameters of the data of the input channel of the user entering the FlexE cushion layer can be obtained first.
[0104] While acquiring the data quality parameters of each data, the optical channel threshold parameters of the optical channel may also be acquired; specifically, the optical channel threshold parameters of the optical channel having a corresponding relationship may be acquired according to the data quality parameters of the acquired data.
[0105] Step 502: Determine the degree of deviation between the data quality parameter of each data and the optical channel threshold parameter.
[0106] After the data quality parameters of each data and the corresponding optical channel threshold parameters are acquired, the degree of deviation of the data quality parameters of the data relative to the corresponding optical channel threshold parameters may be determined.
[0107] Step 503: Each data corresponds to a plurality of data quality parameters, and a first deviation degree corresponding to each data quality parameter of the target data is determined.
[0108] In practical applications, multiple data quality parameters may be obtained for each data; for target data, the first deviation degree corresponding to the multiple data quality parameters obtained for the target data may be determined first; each data quality parameter may correspond to a first deviation degree.
[0109] Step 504: determine the target interval of each first deviation degree, and determine the second deviation degree in the preset interval from the first deviation degrees.
[0110] In practical applications, multiple intervals may be defined first; and then, the target interval in which the first deviation degree lies may be determined.
[0111] After determining the target interval in which each first deviation degree is located, one or more first deviation degrees in a preset interval may be determined therefrom, and the one or more first deviation degrees may be used as the second deviation degrees.
[0112] Step 505: Determine the optical channel corresponding to the target data according to the second deviation degree.
[0113] Then, the through passage to which the target data corresponds may be determined based on these second deviation degrees.
[0114] Step 506: Determine a target time slot / target sub-time slot corresponding to the target data according to the first deviation degree corresponding to the target data.
[0115] In practical applications, after determining the first deviation degree of the target data, the target time slot or target sub-time slot corresponding to the first deviation degree may also be determined. The correspondence between the deviation degree and the time slot and sub-time slot may be preset, and the embodiment of the present invention does not limit this.
[0116] Specifically, the target time slot / target sub-time slot corresponding to the target data may be determined according to the second deviation degree determined from the first deviation degree.
[0117] Step 507: Allocate the target data to the target time slot / target sub-time slot, and transmit the target time slot / target sub-time slot allocated with the target data through the target optical channel.
[0118] After determining the target time slot or target sub-time slot corresponding to the target data, the target data can be allocated to the target time slot or target sub-time slot; then, the target time slot or target sub-time slot allocated with the target data can be transmitted through the target optical channel; thereby, the target data is transmitted from the source pad node to the target pad node.
[0119] In an embodiment of the present invention, data quality parameters of multiple data to be transmitted through the FlexE optical channel and the optical channel threshold parameters of the optical channel are obtained; the degree of deviation between the data quality parameters of each data and the optical channel threshold parameters is determined; each data corresponds to multiple data quality parameters, and the first degree of deviation corresponding to the various data quality parameters of the target data is determined; the target interval in which each first degree of deviation is located is determined, and from the first degree of deviation, the second degree of deviation in the preset interval is determined; according to the second degree of deviation, the optical channel corresponding to the target data is determined; the target data is allocated to the target time slot / target sub-time slot, and the target time slot / target sub-time slot allocated with the target data is transmitted through the target optical channel. Through the embodiment of the present invention, greater randomness is brought to the allocation of data transmission channels, thereby increasing the cost of data eavesdropping and theft, and improving the security of data transmission; and secure data transmission is performed based on the intrinsic properties of the optical channel without adding additional overhead.
[0120] The following is an example of the data transmission method described above:
[0121] First, the transmission quality values of the data in the user input channel of the FlexE pad are obtained, and then compared with the quality threshold of the optical channel pad node. According to the degree of deviation between the two, a set of quality parameters with a deviation of bottom N is selected as the basis for time slot allocation, and is updated in real time according to the data transmission situation.
[0122] Before calculating the degree of deviation, in each quality parameter dimension, this method obtains a set of data quality parameter values in the channel within a certain time period. Then this method calculates the deviation value α between each data quality value and the quality threshold of the source pad node, which can be specifically expressed as:
[0123]
[0124] Where n represents the number of samples in the time period.
[0125] As attached Figure 6 As shown, the degree of deviation is then determined based on whether the quality parameter value acquired in real time falls in the ±α region, the ±2α region, or the ±3α region. The degree of deviation of the quality value increases from the ±α region to the ±3α region.
[0126] The bottom N quality parameter combination of jitter, rate, connection density, and traffic density is selected as the basis for allocating data into and out of time slots; while delay is not selected because of excessive deviation.
[0127] like Figure 7 ,The inherent security technology of network hard slicing in the existing ,technology requires that data bytes be allocated to time slot calendars based on the ,rate of data transmission, so there are limitations in the randomness of ,communication links.
[0128] This method divides data bytes into optical channels of different link qualities according to multi-dimensional quality parameters; Figure 8 , where data packets a and c are within the normal range, are classified into the normal time slot, and reach the pad node 1 through the normal optical channel. The source pad node 1 and the destination pad node 1 belong to the same FlexE group.
[0129] Packets b and d are larger than the jitter threshold and the connection number threshold, respectively, and are out of the normal range, and enter the sub-jitter time slot and the sub-connection number density time slot respectively. Packets b and d are then allocated to two low-quality optical channels, the higher jitter optical channel and the higher connection density optical channel. Packets a to d are allocated to the destination underlay nodes 1 and 3 and node 5 of a different FlexE group.
[0130] In another example:
[0131] The anti-eavesdropping mechanism used by the system when UE-side user A participates in the remote training platform competition
[0132] User A uses the 5G traffic of the user-side (UE-side) terminal to access the company's internal training platform for practical training. At this time, the training system intends to implement anti-eavesdropping measures for the trainees. User A's usage scenario belongs to the user experience-sensitive service. Therefore, the use of traditional mechanisms based on optical characteristics or data signal encryption will seriously affect the platform's response sensitivity to the trainees' operations, and the key generation and management mechanism based on optical signals will increase the deployment and operation and maintenance costs of the training platform. Therefore, this method combines the endogenous randomness of the network, the endogenous characteristics of the data in transmission, and the endogenous characteristics of the optical channel to maintain the security of the optical channel transmission between the UE and the telecommunications core network while also achieving a balance between operation and maintenance expenses and user experience.
[0133] By comparing the deviation of various real-time transmission quality values of the data of the input channel of the user entering the FlexE cushion layer with the optical channel quality threshold, the quality parameter with lower deviation is selected as the basis for time slot allocation.
[0134] In the scenario of the training platform, user A's data includes operation instructions, competition question bank, and topic information. After reaching the FlexE pad, the system will analyze user A's real-time data packets in multiple quality dimensions, including jitter, traffic density, connection density, latency, flow rate, etc. This method will intercept the jitter data set flowing through the optical channel over a period of time, calculate the degree of deviation of the data jitter from the jitter threshold of the pad nodes at both ends of the optical channel, and distinguish the degree of deviation based on the deviation values α, 2α, and 3α. Figure 3 The real-time rate value falls within the ±2α area of the transmission rate distribution diagram within a certain period of time.
[0135] In addition to dividing the optical channel flowing through the FlexE cushion into normal time slots and sub-rate time slots, other quality parameters of user data are also divided into sub-time slots. Similarly, the jitter value of user A's real-time data falls in the ±2α area, the traffic density value falls in the ±2α area, the delay falls in the ±3α area, and the connection density value falls in the ±α area. Finally, the delay, the quality parameter with the largest deviation from the optical channel node threshold, was eliminated, and jitter, traffic density, connection density, and flow rate were selected as the quality parameter combination.
[0136] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0137] Reference Fig. 9 , shows a schematic diagram of the structure of a data transmission device according to an embodiment of the present invention, which may include the following modules:
[0138] An acquisition module 901 is used to acquire data quality parameters of multiple data to be transmitted through the FlexE optical channel and an optical channel threshold parameter of the optical channel, where the data quality parameters correspond to the optical channel threshold parameters one by one;
[0139] The deviation degree determination module 902 is used to determine the deviation degree between the data quality parameter of each data and the optical channel threshold parameter;
[0140] An optical channel determination module 903, used to determine the optical channel corresponding to each data according to the degree of deviation;
[0141] The transmission module 904 is used to transmit multiple data according to the optical channel corresponding to each data.
[0142] In an optional embodiment of the present invention, each data corresponds to multiple data quality parameters, and the optical channel determination module 903 is used to determine the first deviation degree corresponding to the various data quality parameters of the target data; from the data quality parameters corresponding to the multiple first deviation degrees, determine the first M data quality parameters with the largest deviation degrees; wherein M is a positive integer; and determine the optical channel corresponding to the target data based on the first deviation degrees of the first M data quality parameters.
[0143] In an optional embodiment of the present invention, each data corresponds to multiple data quality parameters, and the optical channel determination module 903 is used to determine the first deviation degree corresponding to the various data quality parameters of the target data; determine the target interval of each first deviation degree, and determine the second deviation degree in a preset interval from the first deviation degree; and determine the optical channel corresponding to the target data based on the second deviation degree.
[0144] In an optional embodiment of the present invention, the transmission module 904 is used to determine the target time slot / target sub-time slot corresponding to the target data based on the first deviation degree corresponding to the target data; allocate the target data to the target time slot / target sub-time slot, and transmit the target time slot / target sub-time slot allocated with the target data through the target optical channel.
[0145] In an optional embodiment of the present invention, the transmission module 904 is used to determine the target pad node according to the first deviation degree of the target data; and transmit the target time slot / target sub-time slot allocated with the target data to the target pad node through the target optical channel.
[0146] In an optional embodiment of the present invention, the device further comprises:
[0147] The protection module is used to determine the traffic attack type of the attack behavior against FlexE according to the deviation degree, and process the attack behavior according to the traffic attack type.
[0148] In an optional embodiment of the present invention, the data quality parameter includes at least one of the following: a jitter parameter, a rate parameter, a connection number density parameter, and a traffic density parameter.
[0149] In an embodiment of the present invention, data quality parameters of multiple data to be transmitted through the FlexE optical channel and the optical channel threshold parameters of the optical channel are obtained, and the data quality parameters correspond to the optical channel threshold parameters one by one; the degree of deviation between the data quality parameters of each data and the optical channel threshold parameters is determined; according to the degree of deviation, the optical channel corresponding to each data is determined; and according to the optical channel corresponding to each data, multiple data are transmitted. Through the embodiment of the present invention, greater randomness is brought to the allocation of data transmission channels, thereby increasing the cost of data eavesdropping and theft, and improving the security of data transmission; and secure data transmission is performed based on the intrinsic properties of the optical channel without adding additional overhead.
[0150] An embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above data transmission method when executed by the processor.
[0151] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above data transmission method is implemented.
[0152] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0153] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0154] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0155] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0156] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0157] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0158] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0159] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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 also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0160] The above provides a detailed introduction to a data transmission method, device, electronic device and storage medium. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for a person skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A data transmission method, characterized in that: The method comprises: Acquire data quality parameters of a plurality of data to be transmitted through an optical channel of a flexible Ethernet FlexE, and an optical channel threshold parameter of the optical channel, wherein the data quality parameters correspond to the optical channel threshold parameters one by one; Determine the degree of deviation between the data quality parameter of each data and the optical channel threshold parameter; Determining the optical channel corresponding to each data according to the degree of deviation; Transmitting the plurality of data according to the optical channels corresponding to the respective data; Wherein, each data corresponds to a plurality of data quality parameters, and determining the optical channel corresponding to each data according to the degree of deviation includes: Determining a first degree of deviation corresponding to various data quality parameters of the target data; Determining a target interval for each first deviation degree, and determining a second deviation degree in a preset interval from the first deviation degrees; determining, according to the second deviation degree, optical channels corresponding to various data quality parameters of the target data; The data quality parameter includes at least one of the following: a jitter parameter, a rate parameter, a connection density parameter, and a flow density parameter.
2. The method according to claim 1, characterized in that: Each data corresponds to a plurality of data quality parameters, and the optical channel corresponding to each data is determined according to the degree of deviation, including: Determining a first degree of deviation corresponding to various data quality parameters of the target data; Determine the first M data quality parameters with the largest deviation degree from the data quality parameters corresponding to the multiple first deviation degrees; wherein M is a positive integer; An optical channel corresponding to the target data is determined according to a first deviation degree of the first M data quality parameters.
3. The method according to claim 1, characterized in that The transmitting the plurality of data according to the optical channels corresponding to the respective data includes: Determining a target time slot / target sub-time slot corresponding to the target data according to a first deviation degree corresponding to the target data; The target data is allocated to the target time slot / target sub-time slot, and the target time slot / target sub-time slot allocated with the target data is transmitted through a target optical channel.
4. The method according to claim 3, characterized in that The transmitting the target time slot / target sub-time slot allocated with the target data through the target optical channel includes: Determining a target cushion node according to a first deviation degree of the target data; The target time slot / target sub-time slot allocated with the target data is transmitted to the target pad node through the target optical channel.
5. The method according to claim 1, characterized in that The method further comprises: Determine, according to the degree of deviation, a traffic attack type of the attack behavior against the FlexE; The attack behavior is processed according to the traffic attack type.
6. A data transmission device, characterized in that: The device comprises: An acquisition module, used to acquire data quality parameters of a plurality of data to be transmitted through the FlexE optical channel and an optical channel threshold parameter of the optical channel, wherein the data quality parameters correspond to the optical channel threshold parameters one by one; A deviation degree determination module, used to determine the deviation degree between the data quality parameter of each data and the optical channel threshold parameter; An optical channel determination module, used to determine the optical channel corresponding to each data according to the deviation degree; A transmission module, used for transmitting the plurality of data according to the optical channel corresponding to each data; Wherein, each data corresponds to a plurality of data quality parameters, and the optical channel determination module is used to determine the first deviation degree corresponding to the various data quality parameters of the target data; determine the target interval in which each first deviation degree is located, and determine the second deviation degree in the preset interval from the first deviation degree; and determine the optical channel corresponding to the various data quality parameters of the target data according to the second deviation degree; The data quality parameter includes at least one of the following: a jitter parameter, a rate parameter, a connection density parameter, and a flow density parameter.
7. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the data transmission method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Service flow transmission method and device based on flexible Ethernet and communication system
CN108243120A
Data transmission method, apparatus, device and system, and readable storage medium
CN114844592A