Data communication method and device

By obtaining the security requirement identification of the data in the network device and selecting a matching transmission link, the problem that the sensing application network cannot sense the data security requirements is solved, and the security and efficiency of data transmission are improved.

CN118740407APending Publication Date: 2024-10-01HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310365115.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing application-aware networks cannot sense the security requirements of data. As a result, when the security assurance capabilities of the transmission channel change, the transmission performance of the network cannot meet the security requirements of business data, affecting data transmission.

Method used

By obtaining the data carrying the identifier of the security requirements in the network device, and determining the link that matches the data security requirements from the preset multiple links, it is ensured that the data is transmitted on the link that matches the security guarantee capability, and avoids data transmission. packet loss and improve transmission efficiency.

Benefits of technology

It improves the security and efficiency of data transmission, ensures the security and performance of data during transmission, and adapts to the data transmission needs of different security requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740407A_ABST
    Figure CN118740407A_ABST
Patent Text Reader

Abstract

The invention discloses a data communication method and device, and relates to the technical field of communication. And the network equipment allocates a transmission link matched with the security appeal of the data to the data according to the information which is carried by the data and indicates the security appeal, and transmits the data based on the allocated transmission link. Compared with the situation that the transmission performance of the network cannot be matched with the to-be-transmitted data due to the fact that the network cannot perceive the security appeal of the data, in the data transmission method and device, the security guarantee capability of the transmission link is matched with the security appeal of the data, so that the transmission security of the data is guaranteed under the condition that the data is transmitted through the distributed transmission link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data communication method and device. Background Art

[0002] Application-aware networking (APN) means that when a network transmits business data that carries application information, it can perceive the application and its requirements based on the application information carried in the business data. According to the security requirements of different applications, the network pre-configures a transmission channel that matches the security requirements of the application to transmit the business data carrying the application. However, since the network cannot perceive the security requirements of the business data, when the security assurance capability of the transmission channel changes, the network's transmission performance cannot meet the security requirements of the business data, resulting in the transmission of business data being affected. Summary of the invention

[0003] The present application provides a data communication method and device for solving the problem that data transmission is affected by the network's inability to perceive the security requirements of the data.

[0004] In a first aspect, the present application provides a data communication method. The data communication method is performed by a network device, and the method includes: first, the network device obtains data to be transmitted. The data carries a first identifier indicating the security requirement of the data. Secondly, the network device determines a first link that matches the first identifier from a plurality of preset links. The security assurance capability of the first link matches the security requirement of the data. Finally, the network device transmits the data based on the first link.

[0005] In this application, the network device allocates a transmission link that matches the security requirements of the data to the data according to the information indicating the security requirements carried by the data, and transmits the data based on the allocated transmission link. Compared with the network's inability to perceive the security requirements of the data, which causes the network's transmission performance to be unable to match the data to be transmitted, in this application, since the security assurance capability of the transmission link matches the security requirements of the data, the transmission security of the data is guaranteed when the data is transmitted via the allocated transmission link.

[0006] In a possible implementation, after the network device obtains the data to be transmitted, if the security assurance capabilities of the multiple links do not match the first identifier, the network device determines a second link from the multiple links. The second link is any one of the multiple links. The network device transmits the data based on the second link.

[0007] In the present application, if the security assurance capabilities of the preset multiple links cannot meet the security requirements of the data, the network device can select any link from the multiple links and transmit the data based on the selected link. While giving priority to ensuring the adaptation of the network to the security requirements of the data, it can avoid the problem of data packet loss caused by the communication process of the data being stagnates in the network device, which is conducive to improving the network's transmission efficiency for data with different security requirements, thereby improving the network's data transmission performance.

[0008] In one possible scenario, the first identifier includes a mandatory mark. The mandatory mark indicates whether the security assurance capability of the link transmitting the data matches the trust level and / or the trust claim. The trust level indicates one of a plurality of preset security levels, and the trust claim indicates a security level defined according to user needs.

[0009] In this application, the data message carries a mandatory mark. During the transmission of the data message, the network device parses the data message to determine whether the network device transmitting the data message needs to meet the trust level and trust requirements. If the mandatory mark is "1", a network device that meets the trust level and / or trust requirements is used to transmit the message data. If the mandatory mark is "0", there is no need to use a network device that meets the trust level and trust requirements to transmit the message data. Depending on different situations, network devices with different security assurance capabilities are selected to ensure the security of data transmission.

[0010] In another possible scenario, the first identifier includes at least one of a risk mark, a trusted delivery mark, a trusted level, and a trusted claim.

[0011] The risk mark indicates that the data is transmitted via a link whose security assurance capability does not match the security requirement of the data. In the present application, the device receiving the data message can identify the security of the received data according to the risk mark.

[0012] The trusted delivery mark indicates that it has been executed on the data. The security service refers to a series of measures taken to strengthen the security of the communication system and resist security attacks, such as at least one of intrusion detection, intrusion prevention, firewall and website application-level intrusion prevention. In this application, the network device can identify the security service that has been executed on the data message based on the trusted delivery mark, and execute all / partial or no security service according to its own situation. When executing part or no security service, the data transmission efficiency can be improved.

[0013] The trust level indicates one of the preset multiple security levels; the trust claim indicates the security level defined according to user needs. In this application, the network device can parse the trust level and trust claim to obtain the security claim of the data, and can flexibly define the security claim of the data by customizing the trust claim.

[0014] In a second aspect, the present application provides a data communication device, which includes modules for executing the data communication method in the first aspect or any possible design of the first aspect.

[0015] In one possible design, the data communication device includes: a transceiver module and a link determination module. First, the transceiver module obtains data to be transmitted. The data carries a first identifier indicating the security requirements of the data. Secondly, the link determination module is used to determine a first link matching the first identifier from a plurality of preset links. The security assurance capability of the first link matches the security requirements of the data. Finally, the transceiver module is used to transmit data based on the first link.

[0016] In a third aspect, the present application provides a network device. The network device includes: a memory and a processor. The memory is used to store a set of computer instructions. When the processor executes the set of computer instructions, the operation steps of the data communication method in the first aspect or any possible implementation of the first aspect are executed.

[0017] In a fourth aspect, the present application provides a communication system. The communication system includes a source network device and a destination network device. The source network device obtains data to be transmitted. The data carries a first identifier indicating a security requirement of the data. A first link matching the first identifier is determined from a plurality of preset links. The security assurance capability of the first link matches the security requirement of the data. The source network device transmits data to the destination network device based on the first link.

[0018] In a fifth aspect, the present application provides a network card, which includes a processor and a power supply circuit, the power supply circuit is used to supply power to the processor, and the processor is used to execute the operation steps of the data communication method in the first aspect or any possible implementation of the first aspect.

[0019] In a sixth aspect, the present application provides a chip system. The chip system includes a processor for implementing the functions of the network device in the method of the first aspect. In a possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip, or can include a chip and other discrete devices.

[0020] In a seventh aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium includes: computer software instructions; when the computer software instructions are executed in a computing device, the computing device executes the operation steps of the method described in the first aspect or any possible implementation of the first aspect.

[0021] In an eighth aspect, the present application provides a computer program product. When the computer program product is executed on a computer, the computing device is caused to execute the operation steps of the method described in the first aspect or any possible implementation of the first aspect.

[0022] Regarding the beneficial effects of the second to eighth aspects above, reference may be made to the description of any implementation in the first aspect, which will not be repeated here. Based on the implementations provided in the above aspects, this application may further combine to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

[0024] Figure 2 An example of the structure of an APN data message provided in an embodiment of the present application Figure 1 ;

[0025] Figure 3A A schematic diagram of a data communication method provided in an embodiment of the present application Figure 1 ;

[0026] Figure 3B An example of the structure of an APN data message provided in an embodiment of the present application Figure 2 ;

[0027] Figure 3C FIG3 is a structural example of an APN data message provided in an embodiment of the present application;

[0028] Figure 3D An example of the structure of an APN data message provided in an embodiment of the present application Figure 4 ;

[0029] Figure 3E An example of the structure of an APN data message provided in an embodiment of the present application Figure 5 ;

[0030] Figure 3F A schematic diagram of a data message transmission route provided in an embodiment of the present application;

[0031] Figure 3G FIG6 is a structural example of an APN data message provided in an embodiment of the present application;

[0032] Figure 3H A data packet transmission scenario diagram provided for an embodiment of the present application;

[0033] Fig. 3I It is a schematic diagram of data message transmission;

[0034] Figure 3JA schematic diagram of a data communication method provided in an embodiment of the present application Figure 2 ;

[0035] Figure 4 A schematic diagram of the structure of a data communication device provided in an embodiment of the present application;

[0036] Figure 5 A schematic diagram of the structure of a network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The present application provides a data communication method, in which a network device allocates a transmission link that matches the security requirements of the data to the data according to information indicating the security requirements carried by the data, and transmits the data based on the allocated transmission link. Compared with the situation where the network cannot perceive the security requirements of the data, resulting in the inability of the network's transmission performance to match the data to be transmitted, in the present application, since the security guarantee capability of the transmission link matches the security requirements of the data, the transmission security of the data is guaranteed when the data is transmitted via the allocated transmission link.

[0038] In order to make the description of the following embodiments clear and concise, a brief introduction to relevant terms is first given.

[0039] (1) Network-aware applications

[0040] An application-aware network is one that carries application information in data. When the network transmits the data, it can perceive the application and its needs based on the application information carried in the data. Thus, the network provides refined network resource allocation, transmission path scheduling and service-level agreement (SLA).

[0041] In combination with the above related terms, the related technologies of this application are introduced below in combination with the drawings. Figure 1 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the communication system 100 includes a terminal (such as Figure 1 Terminals 111-115) and multiple network devices (such as Figure 1 Network devices 121-network devices 134) are shown.

[0042] A terminal can send and / or receive data packets. A terminal can also be called a terminal device, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. A terminal can be a mobile phone (such as Figure 1 The terminal 111 shown in FIG. 1 ), a tablet computer (such as Figure 1), a computer with wireless transceiver function (such as Figure 1 ), personal communication service (PCS) telephone (such as terminal 113 shown in Figure 1 Terminal 114 shown in FIG. ), desktop computer (such as Figure 1 ), virtual reality (VR) terminal equipment, augmented reality (AR) terminal equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. The embodiments of the present application do not limit the specific technology and specific device form used by the terminal.

[0043] Network devices can forward and / or process data packets. Depending on their location, network devices can appear in different physical forms, which are described below in different situations.

[0044] In one possible scenario, the network device may be a user-side device close to the terminal. The user-side device may be Figure 1 The network devices 121, 122, 129 to 132 are shown. The network device 121 may be an optical network terminal (ONT), and the network device 122 may be an optical line terminal (OLT). The network devices 129 and 130 may both be wireless access points (APs), such as wireless routers. The network devices 131 and 132 may both be switches connected to wireless routers.

[0045] In another possible scenario, the network device may be a network side device close to the application server. The network side device may be a network device provided by an Internet service provider (ISP) for forwarding and processing data packets from a terminal. For example, network device 123 may be a broadband remote access server (BRAS), network device 124 may be a core router (CR), network device 125 and network device 126 may be provider edge routers (PE) located on the network, network device 133 may be an access point controller (AC), and network device 134 may be a layer 3 switch.

[0046] Terminals and network equipment can be deployed in different usage scenarios on land, such as indoors (such as Figure 1 room shown), outdoors (such as Figure 1 The embodiment of the present application does not limit the application scenarios of network devices and terminals.

[0047] Figure 1 This is only a schematic diagram provided in the embodiment of the present application. The communication system may also include Figure 1 Other terminals and network devices not shown. The embodiments of the present application do not limit the number of network devices and terminals included in the communication system.

[0048] In one possible scenario, a user may use a terminal to establish a communication connection with a network device using wireless broadband (wireless-fidelity, WIFI) technology so that the terminal can access an application server (such as Figure 1 140). Figure 1 In the indoor scenario shown, terminal 112 accesses application server 140 via network devices 121 to 124 .

[0049] In another possible scenario, the user can also use the terminal to establish a communication connection with a radio access network (RAN) device using mobile communication technology, and access the application server through the radio access network device and other network devices. Figure 1 In the basketball court scene shown, terminal 111 accesses application server 140 via network device 127 and network device 128. Network device 127 may refer to a wireless access network device.

[0050] The wireless access network device is an access device that the terminal uses wirelessly to access the communication system. The wireless access network device can be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next generation NodeB (gNB) in a 5G mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system, etc.; it can also be a module or unit that completes some functions of a base station, for example, a centralized unit (CU) or a distributed unit (DU). For example, the mobile communication technology can be the 4th generation mobile communication technology (4G) or the 5th generation mobile communication technology (5G). The embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device.

[0051] In another possible scenario, the user can also access the application server by using the communication connection between the terminal and a wireless access point (AP). Figure 1 In the campus scenario shown, terminal 113 accesses application server 140 through network device 129 , network device 131 , network device 133 , and network device 134 .

[0052] Data transmission equipment can use Figure 1 The communication system described transmits data messages, and the following is combined with Figure 2 The structure of the data message provided in the embodiment of the present application is described. Figure 2 An example of the structure of an APN data message provided in an embodiment of the present application Figure 1 ,like Figure 2 As shown, the APN data message includes a basic header, N extension parts and a data part.

[0053] The basic header may be referred to as a basic message header, the N extended headers may be referred to as extended message headers, and the N extended headers and the data portion may be referred to as a payload or net load.

[0054] The basic header includes an identification type (ID-type), flags, parameter type (para-type), an identification (ID), service requirements for the network (intent), and parameters (para). Among them, the parameter type includes 8 bits. The parameter includes at least 32 bits and is optional. For the specific explanation of each field of the APN data message, please refer to the description of the prior art, which will not be repeated here.

[0055] Data transmission equipment can use Figure 2 The message format described encapsulates the data to be transmitted and uses Figure 1 The described communication system transmits encapsulated data messages. The communication system can process and transmit data messages with different security requirements in different ways. For example, for data messages with high security requirements, a dedicated transmission channel can be used for transmission, such as an IPSec (IPsecurity) tunnel; it can be transmitted after encryption; or it can be transmitted through a dedicated transmission channel after encryption. Although the above method can improve the security of data message transmission to a certain extent, the communication system cannot perceive the security requirements of the data message during the data message transmission process. When the security assurance capability of the transmission channel changes, the transmission performance of the network cannot meet the security requirements of the data message, resulting in the transmission of the data message being affected. For this reason, the present application provides a data communication method. Figure 3A A flow chart of a data communication method provided in an embodiment of the present application, the data communication method can be Figure 1 The described network device executes the following steps S310 to S330.

[0056] Step S310: The network device obtains data to be transmitted.

[0057] The data carries a first identifier indicating the security requirement of the data. The first identifier may include at least one of a mandatory mark, a risk mark, a trusted delivery mark, a trust level (TL) and a trust value (TV). The data carrying the first identifier may be encapsulated as Figure 2 The format of the described APN data message is transmitted in the network. For example, the first identifier can be encapsulated in the parameter type or parameter part of the APN data message. The specific location and timing of encapsulating the first identifier in the APN data message vary depending on the specific content of the first identifier. The following is an exemplary description of each case.

[0058] In a first possible example, the first identifier includes a trust level. The trust level indicates one of a plurality of preset security levels. Each of the plurality of security levels indicates the requirement of the data message for the trust level of the network device transmitting the data message. The trust level of the network device can be classified by one or more of the items of integrity, confidentiality, authentication and authorization, such as dividing the trust level into levels 1 to 5 as shown in Table 1.

[0059] Table 1

[0060] Trust Level Trust project Level 1 Distrust Confidentiality is partially satisfied Level 2 Limited Trust Integrity and confidentiality are partially satisfied Level 3 General Trust Integrity and confidentiality are partially met, and authentication and authorization are both met Level 4 Full trust Integrity and confidentiality are partially met, and authentication and authorization are both met Level 5 Complete trust Integrity, confidentiality, authentication and authorization are all met

[0061] Table 1 above is only an example of classification of a trust level provided in an embodiment of the present application. According to different application requirements, more or fewer items can be used to divide the trust level into more or fewer levels, or the same items can be used to apply different classification criteria to divide the trust level into more or fewer levels. The present application does not limit this. The specific location and marking timing of the trust level in the APN data message are described below.

[0062] The specific location of the trust level in the APN data message: Figure 3B An example of the structure of an APN data message provided in an embodiment of the present application Figure 2 ,like Figure 3B As shown, in the APN data message, the trust level can be located in the reserved field of the parameter type field of the basic header of the APN data message. For example, 3 bits of the APN parameter type can be used to identify the trust level. At this time, the user can define 8 trust levels as needed. For example, "xxxxx011" means that the trust level is level 3. The user can choose to use several bits in the parameter type field to identify the trust level according to specific needs, and this application does not limit this. If 4 bits of the APN parameter type are used to identify the trust level, the user can define 16 trust levels as needed.

[0063] Timing of Trust Level Marking: The trust level can be marked by the data sending device. Exemplarily, the data sending device selects a level that matches the security requirement of the data to be transmitted from the trust level relationship based on the security requirement of the data to be transmitted, and records the level in the parameter type field of the basic header of the APN data message. The trust level relationship indicates the corresponding relationship between the security requirement of the data to be transmitted and the multiple levels indicated by the trust level. The trust level relationship can be recorded in a table or stored in a database.

[0064] In the embodiment of the present application, the data message carries a trust level. During the data message transmission process, the network device parses the trust level of the data message to obtain the security requirements of the network device carried by the data message. The network device with a security capability corresponding to the security requirement of the data message is used to transmit the data to meet the security requirements of the data.

[0065] In a second possible example, the first identifier includes a trusted claim. The trusted claim indicates a security level defined according to user needs. The security level defined according to user needs indicates the trust level requirements of the data message for the network device. When the preset trusted level cannot meet the requirements, a customized trusted claim can be used. Different from the trusted level, the user can customize the trust level requirements for the network device according to needs using items such as integrity, confidentiality, authentication and authorization. Compared with the trusted level, the user can more flexibly configure the trust level requirements of the data message for the network device. The following explains the specific location and marking timing of the trusted claim in the APN data message.

[0066] The specific location of the trusted request in the APN data message: Figure 3C FIG. 3 is a structural example of an APN data message provided in an embodiment of the present application, as shown in FIG. Figure 3C As shown, in the APN data message, the trusted claim can be identified by using the parameter field of the basic header of the APN data message. For example, the 8 bits of the APN parameter field can be used to identify the trusted claim, such as "00000010".

[0067] Trusted claim marking time: Trusted claims can be marked by the data sending device. Exemplarily, the data sending device defines the trust level requirement of the to-be-transmitted data on the network device in the parameter field of the basic header of the APN data message according to the security requirement of the data message.

[0068] Credibility claims can be used alone or in conjunction with credibility levels, as explained below for each case.

[0069] Case ①: Credible claims are used alone.

[0070] In this case, there is no need to define the trust level in the parameter type field of the basic header of the APN data message.

[0071] Case ②: Credibility claims and credibility levels are used together.

[0072] In this case, the trust level needs to be defined in the parameter type field of the basic header of the APN data message, and the trust requirement needs to be defined in the parameter field of the basic header of the APN data message. Whether the network device needs to meet both the trust requirement and the trust level can be determined based on Figure 3DDescribes the content judgment of the mandatory tag.

[0073] In the implementation of this application, the data message carries a trust claim. During the transmission of the data message, the network device parses the data message to obtain the trust claim of the data message for the security assurance capability of the network device transmitting the data message. The data message is transmitted using a network device with the security assurance capability to improve the security of the data message transmission.

[0074] In a third possible example, the first identifier includes a mandatory flag. The mandatory flag indicates whether the security assurance capability of the link transmitting the data message matches the trust level and / or trust claim of the data message. The trust level indicates one of the preset multiple security levels. The trust claim indicates the security level defined according to user needs. For details about the trust level, please refer to the above Figure 3B For details about the credible claims, please see above. Figure 3C The following describes the specific location and timing of the mandatory mark in the APN data message.

[0075] The specific location of the mandatory mark in the APN data message: Figure 3D An example of the structure of an APN data message provided in an embodiment of the present application Figure 4 ,like Figure 3D As shown, in the APN data message, the mandatory mark can be identified by 1 bit in the parameter field of the basic header of the APN data message. For example, "1" is used to indicate that the trust level and trust claim are met, and "0" is used to indicate that the trust level and / or trust claim are not met. For example, "1xxxxxxx" means that the network device transmitting the data message must meet the security assurance capability requirements indicated by the trust level and trust claim carried by the data message, and the message will be discarded if it does not meet the requirements.

[0076] Mandatory marking timing: The mandatory marking can be marked by the data sending device. Exemplarily, the data sending device uses 1 bit to record the mandatory marking in the parameter field of the basic header of the APN data message according to the security requirements of the data to be transmitted.

[0077] In an embodiment of the present application, a data message carries a mandatory mark. During the transmission of the data message, the network device parses the data message to determine whether the network device transmitting the data message needs to meet the trust level and trust requirements. If the mandatory mark is "1", a network device that meets the trust level and / or trust requirements is used to transmit the message data. If the mandatory mark is "0", there is no need to use a network device that meets the trust level and trust requirements to transmit the message data. Depending on different situations, network devices with different security assurance capabilities are selected to ensure data transmission efficiency.

[0078] In a fourth possible example, the first identifier includes a risk tag. The risk tag indicates that the data message is transmitted via a network device that does not meet the security requirements corresponding to the data message. The specific position and marking timing of the risk tag in the APN data message are described below.

[0079] The specific location of the risk marker in the APN data message: Figure 3E An example of the structure of an APN data message provided in an embodiment of the present application Figure 5 ,like Figure 3E As shown, in the APN data message, the risk tag can be identified by 1 bit of the parameter field of the basic header of the APN data message. "1" indicates that the data message is transmitted via a network device that does not meet the security requirements corresponding to the data message, and "0" indicates that the data message is transmitted via a network device that meets the security requirements corresponding to the data message.

[0080] Risk tagging timing: Risk tags can be marked by different network devices. Figure 3F The scenario shown is described in detail. Figure 3F A schematic diagram of a data message transmission route provided in an embodiment of the present application, such as Figure 3F As shown, the data message needs to be transmitted from network device 1 to network device 6. The data message adopts Figure 3F The line 1 shown is transmitted. Line 1 includes network device 1, network device 2, network device 3, network device 4, network device 5 and network device 6. Among them, network device 4 is an untrusted network device, and an untrusted network device refers to a network device whose security protection capability does not match the security requirements of the data message. The network where the untrusted network device is located is an untrusted network. Network devices 3 and 4 are located in network 2.

[0081] Case ①: The risk tag is marked by the network device that sends the data message to the untrusted network. Figure 3F In the scenario shown, the risk mark is marked by the network device 2 .

[0082] Case ②: The risk tag is marked by the network device that sends the data message to the untrusted network device. Figure 3F In the scenario shown, the risk mark is marked by the network device 3.

[0083] Case ③: Risk tags are marked by untrusted network devices. Figure 3F In the scenario shown, the risk flag is marked by the network device 4 .

[0084] Case ④: Risk tag is marked by the network device that receives the data sent by the untrusted network device. Figure 3FIn the illustrated scenario, the risk tag is marked by the network device 5. Avoiding the data packet loss problem caused by the data communication process being stuck in the network device is conducive to improving the network transmission efficiency of data with different security requirements, thereby improving the network transmission performance of data.

[0085] In the embodiment of the present application, the data message carries a risk tag, and data transmission can be achieved even when all transmission links do not meet the security requirements of the data message. In addition, the data receiving device determines the security of the received data message by parsing the risk tag in the message, and chooses to retain or discard the message according to its own situation. In the case that the security assurance capability of the network device for transmitting data does not match the security requirements of the data, the network device is still used to transmit the data, avoiding the problem that the data receiving device cannot determine the security of the received data.

[0086] In a fifth possible example, the first identifier includes a trusted delivery tag. The trusted delivery tag indicates the security service performed on the data message when the network transmits the data message. Security service refers to a series of measures taken to enhance the security of the communication system and combat security attacks, such as firewalls, intrusion prevention services (IPS), intrusion detection services (IDS), website application-level intrusion prevention (WAF) services, etc. The specific location and marking timing of the trusted delivery tag in the APN data message are explained below.

[0087] The specific location of the trusted delivery mark in the APN data message: Figure 3G FIG6 is an example of the structure of an APN data message provided in an embodiment of the present application, as shown in FIG6 Figure 3G As shown, in the APN data message, the trusted delivery tag can be identified by the parameter field of the basic header of the APN data message. For example, the 8 bits of the parameter field can be used to identify the trusted request, such as "00000101" indicating that the data message has been detected by the firewall, IPS and IDS.

[0088] Trusted delivery tag marking time: Trusted delivery tag can be marked by the network device that transmits the data message, or by the security resource pool. The security resource pool includes software units such as firewall unit, IPS unit, IDS unit and WAF unit. The various software units of the security resource pool can be deployed on the same network device or on different network devices. The security resource pool can be used to implement the function of data security service. For the content of security service, please refer to the above, which will not be repeated here.

[0089] For example, Figure 3H A data packet transmission scenario diagram provided in an embodiment of the present application, in which a data packet needs to be transmitted to a data receiving device via network 1 and network 2. Network 1 includes edge equipment (premise equipment, PE) 1 and security resource pool 1, and network 2 includes PE2. Figure 3H The timing of marking the trusted delivery tag is explained according to different situations.

[0090] Case ①: The trusted delivery tag is marked by the network device.

[0091] When a data message enters network 1, the edge device PE1 of network 1 transmits the data message to security resource pool 1. Security resource pool 1 performs security services on the data message. When the security service is completed, PE1 writes the security service performed by security resource pool 1 into the data message. Network 2 receives the data message carrying the trusted delivery mark and determines whether it is necessary to perform all or part of the security services on the data message again.

[0092] Case ②: The trusted delivery tag is marked by the security resource pool.

[0093] Different from situation ①, after completing the security service, security resource pool 1 directly writes the executed security service into the data message, and transmits the data message carrying the trusted transfer mark to PE1.

[0094] Compared with data packets not carrying a trusted delivery mark, the embodiment of the present application can improve the efficiency of data packet transmission for the following reasons. Fig. 3I A schematic diagram of data message transmission is shown in FIG. Fig. 3I As shown, in the case where the data message needs to be transmitted to the data receiving device via network 1 and network 2. After network 1 performs security services on the data message, network 2 does not know the security service execution status of the data message, and network 2 will still perform all security services on the data message. Carrying a trusted delivery tag: Network 2 can parse the security service that has been performed on the data message according to the trusted delivery tag carried by the data message. Network 2 can execute or not execute all or part of the security service according to its own situation. When network 2 executes part or no security service, the efficiency of data message transmission can be improved compared to not carrying a trusted delivery tag.

[0095] Step S320: The network device determines a first link matching the first identifier from among a plurality of preset links, wherein the security assurance capability of the first link matches the security requirement of the data. The security assurance capability of the link indicates the deployed security function of the link.

[0096] by Figure 3AAs an example, the preset multiple links are described, and the multiple links include link 1 to link n, and the transmission path of each link passes through at least one network device. Among them, link 1 is also called the first link. It is worth noting that Figure 3A The multiple links shown are merely possible implementations provided by the present application and should not be construed as limitations on the present application.

[0097] The security assurance capability of each of the at least one network device through which the first link passes matches the security requirement of the data.

[0098] Exemplarily, the network device parses the first identifier carried by the data message, obtains the security requirement of the data message, determines the link 1 that matches the security requirement, and transmits the data based on the link 1. The first identifier indicates Figure 3B-Figure 3I At least one of the trust level, trust claim, mandatory mark, risk mark and trusted delivery mark described. For the specific content of the first mark, please refer to the above description.

[0099] Step S330: The network device transmits data based on the first link.

[0100] In the embodiment of the present application, the network device allocates a transmission link that matches the security requirement of the data to the data according to the information indicating the security requirement carried by the data, and transmits the data based on the allocated transmission link. Compared with the situation where the network cannot perceive the security requirement of the data, resulting in the inability of the network's transmission performance to match the data to be transmitted, in the present application, since the security guarantee capability of the transmission link matches the security requirement of the data, the transmission security of the data is guaranteed when the data is transmitted via the allocated transmission link.

[0101] In some possible situations, the first identifier of the data does not match the security assurance capabilities of the preset multiple links. Figure 3J Take this as an example to illustrate the situation. Figure 3J A schematic diagram of a data communication method provided in an embodiment of the present application Figure 2 ,like Figure 3J As shown, the method includes the following steps.

[0102] Step S310: The network device obtains data to be transmitted.

[0103] For more information about S310, please refer to the above Figure 3B-Figure 3I The description is not repeated here.

[0104] Step S340: If the security assurance capabilities of the multiple links do not match the first identifier, the network device determines a second link from the multiple links.

[0105] by Figure 3JAs an example, the preset multiple links are described. The multiple links include link 1 to link n, and the transmission path of each link passes through at least one network device. Among them, link 1 is also called the first link, link 2 is also called the second link, and link n is also called the nth link. It is worth noting that Figure 3J The multiple links shown are merely possible implementations provided by the present application and should not be construed as limitations on the present application.

[0106] Among them, the security assurance capabilities of the first link to the nth link do not match the security requirements of the data.

[0107] Exemplarily, after the network device obtains the data to be transmitted, it parses the first identifier carried by the data to obtain the security requirement of the data. The security assurance capabilities of link 1 to link n do not match the security requirement indicated by the first identifier carried by the data. At this time, the network device selects any link from link 1 to link n. If the selected link is link 2.

[0108] Step S350: The network device transmits data based on the second link.

[0109] In an embodiment of the present application, if the security assurance capabilities of the preset multiple links cannot meet the security requirements of the data, the network device can select any link from the multiple links and transmit the data based on the selected link. While giving priority to ensuring the adaptation of the network to the security requirements of the data, the data communication process is avoided from being stagnant in the network device, causing data packet loss problems. This is beneficial to improving the network's transmission efficiency for data with different security requirements, thereby improving the network's data transmission performance.

[0110] Combination of the above Figure 3A-3J The data communication method provided by the present application is described below. Figure 4 The data communication device provided in the embodiment of the present application is described. Figure 4 A structural diagram of a data communication device provided in an embodiment of the present application, the data communication device can realize the functions of a network device, and therefore, can also achieve the beneficial effects possessed by the above-mentioned method embodiment.

[0111] like Figure 4 As shown, the data communication device 400 includes a transceiver module 410 and a link determination module 420 .

[0112] First, the transceiver module 410 obtains the data to be transmitted. The data carries a first identifier indicating the security requirement of the data. Again, the link determination module 420 determines a first link matching the first identifier from a plurality of preset links. The security assurance capability of the first link matches the security requirement of the data. Finally, the transceiver module 410 transmits the data based on the first link.

[0113] In a possible scenario, after the transceiver module 410 obtains the data to be transmitted, if the security assurance capabilities of the multiple links do not match the first identifier, the link determination module 420 is further used to determine a second link from the multiple links. The second link is any one of the multiple links. The transceiver module 410 transmits data based on the second link.

[0114] In one possible scenario, the first identifier includes a mandatory mark. The mandatory mark indicates whether the security assurance capability of the link transmitting the data matches the trust level and / or the trust claim. The trust level indicates any one of a plurality of preset security levels. The trust claim indicates a security level defined according to user requirements.

[0115] In one possible scenario, the first identifier includes any one or more of a risk tag, a trusted transfer tag, a trusted level, and a trusted claim. Among them, the risk tag indicates that the data is transmitted via a link whose security assurance capability does not match the security claim of the data. The trusted transfer tag indicates the security service that has been performed on the data. For the content of the security service, please refer to the description above, which will not be repeated here. The trusted level indicates one of the preset multiple security levels. The trusted claim indicates the security level defined according to user needs.

[0116] When the data communication device implements the data communication method shown in any of the above-mentioned figures by software, the data communication device and its various modules may also be software units. The above-mentioned data communication method is implemented by calling the software module by a processor. The processor may be a central processing unit (CPU), a neural processing unit (NPU) or a graphic processing unit (GPU), an application-specific integrated circuit (ASIC), or a programmable logic device (PLD). The above-mentioned PLD may be a complex programmable logical device (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL), or other general-purpose processors, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0117] For a more detailed description of the above-mentioned data communication device, please refer to the relevant description in the embodiment shown in the above-mentioned drawings, which will not be repeated here. It can be understood that the data communication shown in the above-mentioned drawings is only an example provided by this embodiment. According to different scenarios in which the data communication device can be applied, the data communication device may include more or fewer units, and this application is not limited to this.

[0118] When the data communication device is implemented by hardware, the hardware can be implemented by a processor or a chip. The chip includes an interface circuit and a control circuit. The interface circuit is used to receive data from other devices outside the processor and transmit it to the control circuit, or send data from the control circuit to other devices outside the processor. The control circuit and the interface circuit are used to implement any possible implementation method in the above embodiments through a logic circuit or execution code instructions. The beneficial effects can be found in the description of any aspect of the above embodiments, which will not be repeated here.

[0119] in addition, Figure 4 The data communication device 400 shown can also be implemented by a network device, such as Figure 5 As shown, Figure 5 This is a schematic diagram of the structure of a network device provided in an embodiment of the present application. The network device 500 includes: a memory 510 and at least one processor 520. The processor 520 can implement the data communication method provided in the above embodiment. The memory 510 is used to store software instructions corresponding to the above data communication method.

[0120] As an optional implementation, in hardware implementation, the network device 500 may refer to a chip or a chip system encapsulating one or more processors 520 .

[0121] For example, when the network device 500 is used to implement the method steps in the above embodiment, the processor 520 included in the network device 500 executes the steps of the above method and possible sub-steps thereof.

[0122] In an optional scenario, the network device 500 may further include a communication interface 530, which may be used to send and receive data.

[0123] For example, the communication interface 530 is used to receive data to be transmitted, or to send data to be transmitted, etc.; the communication interface 530 can be implemented by an interface circuit included in the network device 500.

[0124] In the embodiment of the present application, the communication interface 530, the processor 520 and the memory 510 may be connected via a bus 540, and the bus 540 may be divided into an address bus, a data bus, a control bus, etc. The bus 540 may be a peripheral component interconnect express (PCIe) bus, or an extended industry standard architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc.

[0125] It is worth noting that the network device 500 can also perform Figure 4 The functions of the data communication device 400 shown are not described in detail here.

[0126] The method steps in the embodiments of the present application can also be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium can also be present in a network device or a terminal device as discrete components.

[0127] The present application also provides a chip system, which includes a processor for implementing the functions of the network device in the above method. In one possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip, or can include a chip and other discrete devices.

[0128] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When a computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user terminal device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, or a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

[0129] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A data communication method, characterized in that: The method comprises: Acquire data to be transmitted, the data carrying a first identifier indicating a security requirement of the data; Determine a first link matching the first identifier from a plurality of preset links, wherein a security assurance capability of the first link matches a security requirement of the data; The data is transmitted based on the first link.

2. The method according to claim 1, characterized in that: After acquiring the data to be transmitted, the method further includes: If the security assurance capabilities of the multiple links do not match the first identifier, determining a second link from the multiple links, where the second link is any one of the multiple links; The data is transmitted based on the second link.

3. The method according to claim 1 or 2, characterized in that: The first identification includes a mandatory mark; The mandatory mark is used to indicate whether the security assurance capability of the link transmitting the data matches the trust level and / or trust claim, the trust level is used to indicate one of multiple preset security levels, and the trust claim is used to indicate the security level defined according to user needs.

4. The method according to any one of claims 1 to 3, characterized in that The first identification includes: A risk marker, used to indicate that the data is transmitted via a link whose security assurance capability does not match the security requirement of the data; and / or, a trusted delivery tag to indicate that security services have been performed on said data; and / or, a trust level, used to indicate one of a plurality of preset security levels; and / or, trust claims, used to indicate the security level defined according to user needs.

5. A data communication device, characterized in that: The device comprises: A transceiver module, used for acquiring data to be transmitted, the data carrying a first identifier indicating a security requirement of the data; A link determination module, configured to determine a first link matching the first identifier from a plurality of preset links, wherein the security assurance capability of the first link matches the security requirement of the data; The transceiver module is further used to transmit the data based on the first link.

6. The device according to claim 5, characterized in that The link determination module is further configured to: if the security assurance capabilities of the multiple links do not match the first identifier, determine a second link from the multiple links, where the second link is any one of the multiple links; The transceiver module is further used to transmit the data based on the second link.

7. The device according to claim 5 or 6, characterized in that The first identification includes a mandatory mark; The mandatory mark is used to indicate whether the security assurance capability of the link transmitting the data matches the trust level and / or trust claim, the trust level is used to indicate one of multiple preset security levels, and the trust claim is used to indicate the security level defined according to user needs.

8. The device according to any one of claims 5 to 7, characterized in that: The first identification includes: A risk marker, used to indicate that the data is transmitted via a link whose security assurance capability does not match the security requirement of the data; and / or, a trusted delivery tag to indicate that security services have been performed on said data; and / or, a trust level, used to indicate one of a plurality of preset security levels; and / or, trust claims, used to indicate the security level defined according to user needs.

9. A network device, characterized in that: The network device comprises: a processor and a memory, wherein the memory is used to store computer instructions. When the processor executes the instructions, the network device executes the method according to any one of claims 1 to 4.

10. A communication system, characterized in that: The communication system comprises: a source network device and a destination network device; The source network device obtains data to be transmitted, where the data carries a first identifier indicating a security requirement of the data; Determine a first link matching the first identifier from a plurality of preset links, wherein a security assurance capability of the first link matches a security requirement of the data; The source network device transmits the data to the destination network device based on the first link.

11. A network card, characterized in that: The network card comprises a processor and a power supply circuit, wherein the power supply circuit is used to supply power to the processor; and the processor is used to execute the method according to any one of claims 1 to 4.

12. A computer-readable storage medium, characterized in that: include: Computer software instructions; when the computer software instructions are executed in a network device, the network device executes the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Path selection method and device, routing equipment and storage medium

    CN112104553A

  • Service Packet Transmission Method and Device

    US20220182315A1