Data transmission method and device, electronic equipment and storage medium
By establishing a preset session in the proxy node and negotiating the SSL/TLS encryption and decryption algorithm, the problem of mismatch in support capabilities of the client and server's national secret SSL certificates is solved, and the efficiency and security of data transmission are achieved.
Patent Information
- Application Number
- CN202311416719.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2024-10-18
AI Technical Summary
When the client and server have mismatched SSL certificate support capabilities, a secure connection cannot be established and business efficiency is low.
By establishing a preset session in the proxy node, mapping the device information of the user device and the instruction information of the secure connection proxy service, initiating the first and second secure channels based on SSL/TLS, and negotiating encryption and decryption including the national encryption and decryption algorithm. Rules to ensure the security and efficiency of data transmission.
Even if the client and server's national secret SSL certificate support capabilities do not match, data transmission can be completed smoothly, ensuring normal business operations and improving data transmission efficiency.
Smart Images

Figure CN118802218A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, device, electronic device and storage medium. Background Art
[0002] At present, in the process of promoting the National Secret Secure Sockets Layer (SSL), there are some scenarios where some clients support the National Secret SSL certificate, but the server to be accessed does not support the National Secret SSL certificate; or some servers support the National Secret SSL certificate, but the client does not support the National Secret SSL certificate. If the National Secret SSL certificate support capabilities of the client and server do not match, the secure connection cannot be established and the business cannot be carried out. Therefore, the current efficiency of data transmission between the client and the server is low. Summary of the invention
[0003] The embodiments of the present application provide a data transmission method, device, electronic device and storage medium to solve the problem of low efficiency in data transmission between a current client and a server.
[0004] In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a proxy node; the data transmission method includes:
[0005] A data transmission request between a user device and a target server is received; the data transmission request is initiated on a preset session; a mapping relationship between device information of the user device and indication information of a secure connection proxy service is established in the preset session;
[0006] If it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, after starting the secure connection proxy service, a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS is established with the user device, and a second secure channel based on SSL / TLS is established with the target server;
[0007] Data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel and the second secure channel; the secure connection proxy service is used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel, and the encryption and decryption algorithms include national secret encryption algorithms and / or non-national secret encryption algorithms.
[0008] In one embodiment, the proxy node includes a cellular network node, and the cellular network node includes a mobility management function AMF, a session management function SMF, and a user plane function UPF; the preset session is specifically established by the following steps:
[0009] Receiving a session establishment request message sent by the user equipment based on the AMF; the session establishment request message includes device information of the user equipment;
[0010] Sending a session establishment request message to SMF based on the AMF;
[0011] Based on the SMF, secure connection proxy service information is obtained according to the session establishment request message; the secure connection proxy service information includes a mapping relationship between the device information of the user device and the indication information of the secure connection proxy service;
[0012] Based on the SMF, the data processing rules after the secure proxy service is started are determined according to the mapping relationship, and the data processing rules and the indication information of the secure connection proxy service are sent to the UPF to establish a preset session.
[0013] In one embodiment, the secure connection proxy service information includes secure connection proxy service subscription information and secure connection proxy service policy information; the cellular network node also includes a unified data management UDM and a policy control function PCF; the obtaining of the secure connection proxy service information based on the SMF according to the session establishment request message includes any of the following:
[0014] Based on the SMF, sending a contract information acquisition request to the UDM according to the session establishment request message, and receiving the secure connection proxy service contract information returned by the UDM based on the contract information acquisition request;
[0015] Based on the SMF, a policy information acquisition request is sent to the PCF according to the session establishment request message, and the secure connection proxy service policy information returned by the PCF based on the policy information acquisition request is received.
[0016] In one embodiment, the data transmission between the user device and the target server through the secure connection proxy service, the first secure channel, and the second secure channel includes:
[0017] Receiving, based on the UPF, encrypted data sent by the user equipment through the first security channel;
[0018] Based on the UPF, through the data processing rules after the secure connection proxy service is started, the encrypted data is decrypted using the encryption and decryption algorithm negotiated with the user equipment in the first secure channel;
[0019] Based on the UPF, through the data processing rules after the secure connection proxy service is started, the decrypted data is encrypted using the encryption and decryption algorithm negotiated with the target server in the second secure channel;
[0020] Based on UPF, the decrypted data is encrypted through the second security pass and then sent to the target server.
[0021] In one embodiment, the establishing of a first secure channel based on the secure socket layer protocol SSL / transport layer security protocol TLS with the user device comprises:
[0022] Establishing a Transmission Control Protocol TCP connection with the user equipment based on UPF;
[0023] Based on the UPF, a first secure channel based on SSL / TLS is established between the user device and the TCP connection.
[0024] In one embodiment, the proxy node includes a non-cellular network node, the non-cellular network node includes an access controller / gateway controller, and an access device / gateway; the preset session is established specifically through the following steps:
[0025] Acquire secure connection proxy service information based on the access controller / gateway controller; the secure connection proxy service information includes a mapping relationship between device information of the user device and indication information of the secure connection proxy service;
[0026] Based on the access controller / gateway controller, the data processing rules after the secure proxy service is started are determined according to the mapping relationship, and the data processing rules and the indication information of the secure connection proxy service are sent to the access device / gateway to establish a preset session.
[0027] In one embodiment, after data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel, and the second secure channel, the method further includes:
[0028] Determine the proxy information record reporting rules after the secure connection proxy service is started;
[0029] Determine secure connection proxy event record information based on the proxy information record reporting rule;
[0030] According to the proxy information record reporting rule, the secure connection proxy event record information is sent to the user equipment and the target server respectively.
[0031] In a second aspect, an embodiment of the present application provides a data transmission device, including:
[0032] A receiving module, configured to receive a data transmission request between a user device and a target server; the data transmission request is initiated on a preset session; a mapping relationship between device information of the user device and indication information of a secure connection proxy service is established in the preset session;
[0033] a starting module, configured to establish a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS with the user device after starting the secure connection proxy service if it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, and to establish a second secure channel based on SSL / TLS with the target server;
[0034] A transmission module is used to transmit data between the user device and the target server through the secure connection proxy service, the first secure channel and the second secure channel; the secure connection proxy service is used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel, and the encryption and decryption algorithms include national secret encryption algorithms and / or non-national secret encryption algorithms.
[0035] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing a computer program, wherein when the processor executes the program, the data transmission method described in the first aspect is implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a storage medium, which is a computer-readable storage medium and includes a computer program. When the computer program is executed by a processor, it implements the data transmission method described in the first aspect.
[0037] The data transmission method, device, electronic device and storage medium of the content distribution network provided by the embodiment of the present application, when the user device initiates a data transmission request between the target server on the preset session in which the mapping relationship between the device information of the user device and the indication information of the secure connection proxy service is established, the secure connection proxy service can be started when it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, and a first secure channel based on SSL / TLS is established between the user device and the second secure channel based on SSL / TLS is established between the target server, so that the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel can be negotiated according to the secure connection proxy service, and because the encryption and decryption algorithms can include national secret encryption algorithms and / or non-national secret encryption algorithms, even if the national secret SSL certificate support capabilities of the client and the server do not match, the data transmission between the user device and the target server can be successfully completed to ensure the normal operation of the business. Therefore, the efficiency of data transmission between the client and the server can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 This is one of the flowcharts of the data transmission method provided in the embodiment of the present application;
[0040] Figure 2 This is the second flow chart of the data transmission method provided in the embodiment of the present application;
[0041] Figure 3 This is the third flow chart of the data transmission method provided in the embodiment of the present application;
[0042] Figure 4 This is a functional module diagram of an embodiment of a data transmission device of the present application;
[0043] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] Below is a combination of the embodiments and Figure 1-Figure 5 The data transmission method, device, electronic device and storage medium provided by the present invention are described in detail.
[0046] in, Figure 1 One of the flowcharts of the data transmission method provided in the embodiment of the present application; Figure 2 A second flowchart of a data transmission method provided in an embodiment of the present application; Figure 3 The third flowchart of the data transmission method provided in the embodiment of the present application.
[0047] Specifically, refer to Figure 1 , Figure 2 and Figure 3 , an embodiment of the present application provides a data transmission method, which may include:
[0048] Step 100, receiving a data transmission request between a user device and a target server;
[0049] It should be noted that the executor of the device identification method provided in the embodiment of the present application can be a computer device, such as a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc.
[0050] Among them, a proxy node can be set on the computer device, and the proxy node can include a cellular network node (for example, a node of a 5G cellular network) and a non-cellular network node.
[0051] The cellular network node may include but is not limited to mobility management function (AMF), session management function (SMF), user plane function (UPF), unified data management (UDM) and policy control function (PCF).
[0052] Non-cellular network nodes may include access controllers / gateway controllers, and may include access devices / gateways.
[0053] Understandably, the National SSL Certificate follows national standard technical specifications and refers to international standards. It adopts the independently developed SM2 public key algorithm system and supports domestic cryptographic algorithms such as SM2, SM3, and SM4 as well as digital certificates of the National SSL security protocol. The National SSL Certificate adopts independent and controllable cryptographic technology, which can meet the compliance requirements of users in key areas such as government agencies, public institutions, large state-owned enterprises, and financial banks for the localization transformation of the Hypertext Transfer Protocol Secure (HTTPS) protocol and the application of national cryptographic algorithms. At present, most website servers use traditional SSL certificates. Traditional SSL certificates mainly rely on foreign certificate authorities (CA). Once foreign certificate brands are cut off or revoked in my country, websites or information management systems in various important fields in China will face large-scale access failures and huge data security leakage risks.
[0054] In the process of promoting SSL, some clients may support SSL certificates, but the servers they want to access do not support SSL certificates, or some servers may support SSL certificates, but the clients do not support SSL certificates. If the SSL support capabilities of the client and server do not match, a secure connection cannot be established and business cannot be carried out.
[0055] Therefore, this application proposes a unified proxy management and transfer solution for intermediate nodes in scenarios where the SSL capabilities of the client and server are inconsistent, so as to complete a secure connection and conduct business communications in scenarios where the SSL capabilities of the client and server are inconsistent.
[0056] In the present application, the user may pre-establish a session with the proxy node through a user equipment (UE) or a client on the user equipment as a preset session, in which a mapping relationship between device information of the user equipment and indication information of a secure connection proxy service is established.
[0057] The indication information of the secure connection proxy service may specifically be enabled or disabled. Enable means enabling the secure connection proxy service, and disable means disabling the secure connection proxy service.
[0058] The device information may include a Permanent Equipment Identifier (PEI), a Global Unique Temporary Identifier (GUTI), a Device Identity (ID), a Subscription Concealed Identifier (SUCI), and a Subscription Permanent Identifier (SUPI). Specifically, the Global Unique Temporary Identifier may be a 5G Global Unique Temporary Identifier, i.e., 5G-GUTI.
[0059] Therefore, on the basis of having established a preset session with the proxy node, the user can further use the user device to initiate a data transmission request to the target server through the proxy node on the preset session, requesting data transmission with the target server.
[0060] Furthermore, the proxy node may receive a data transmission request between the user equipment and the target server.
[0061] It should be noted that in the present application, when the user equipment initiates a data transmission request to the target server through the proxy node on the preset session, the data transmission request may include a transmission control protocol (TCP) connection establishment request with the proxy node, information about the target server, and data to be transmitted. Specifically, the information about the target server may include, for example, the Internet Protocol (IP) address of the server.
[0062] Step 200, if it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, after starting the secure connection proxy service, a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS is established with the user device, and a second secure channel based on SSL / TLS is established with the target server;
[0063] When the TCP connection establishment request (also referred to as TCP connection 1) initiated by the user device to the target server is transmitted to the UPF of the proxy node, the UPF can query according to the mapping relationship between the device information of the user device in the preset session, and obtain the indication information of the secure connection proxy service corresponding to the device information of the user device, and when it is determined that the indication information of the secure connection proxy service is enabled, the secure connection proxy service is first started, and then a TCP connection is established between the user device and the target server respectively, and on the basis of the TCP connection, a secure channel based on SSL / Transport Layer Security (TLS) is established between the user device and the target server respectively.
[0064] Among them, the secure channel between the user device can be called the first secure channel (also called secure channel 1), and the secure channel between the target server can be called the second secure channel (also called secure channel 2).
[0065] Step 300, data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel and the second secure channel.
[0066] It should be noted that the secure connection proxy service in this application can be used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel, as well as to negotiate the encryption and decryption algorithms of SSL / TLS in the second secure channel, and the encryption and decryption algorithms in this application include national secret encryption algorithms and / or non-national secret encryption algorithms.
[0067] Therefore, the present application can negotiate the encryption and decryption algorithms of SSL / TLS in the first security channel and the encryption and decryption algorithms of SSL / TLS in the second security channel based on the secure connection proxy service, so that the corresponding encryption and decryption algorithms can be used in the first security channel and the second security channel respectively to encrypt and decrypt the data to be transmitted between the user device and the target server, thereby completing the secure transmission of the data to be transmitted.
[0068] The data transmission method provided in the embodiment of the present application, when the user device initiates a data transmission request with the target server on a preset session in which a mapping relationship between the device information of the user device and the indication information of the secure connection proxy service is established, the secure connection proxy service can be started when it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, and a first secure channel based on SSL / TLS is established with the user device, and a second secure channel based on SSL / TLS is established with the target server, so that the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel can be negotiated according to the secure connection proxy service, and since the encryption and decryption algorithms can include national secret encryption algorithms and / or non-national secret encryption algorithms, even if the national secret SSL certificate support capabilities of the client and the server do not match, the data transmission between the user device and the target server can be successfully completed to ensure the normal operation of the business. Therefore, the efficiency of data transmission between the client and the server can be improved.
[0069] In the scenario where the SSL / TLS encryption algorithms supported by the client (such as a browser or APP) and the server used by the user device are inconsistent, such as one end supports the national encryption algorithm and the other end supports the foreign general encryption algorithm, the client / user device and / or server negotiates with the cellular network or non-cellular network to determine whether to use the secure connection proxy service provided by the network to complete the data interaction between the client and the server under different secure encryption connections. While maintaining the secure connection proxy service policy in the cellular network or non-cellular network, send the policy to the data network data access node or gateway node to instruct the data access node or gateway node to start the secure connection proxy service and report the data processing records.
[0070] This allows the introduction of reliable proxy nodes to assist in establishing SSL connections with different encryption mechanisms during the transition period when the SSL capabilities of the client and server are inconsistent. The function of the secure connection proxy in the proxy node can be flexibly negotiated to be turned on or off according to actual needs, and the specific data processing information completed by the proxy service can be traced back.
[0071] In one embodiment, the preset session can be established through the following steps:
[0072] AMF receives a session establishment request message sent by a user device; the session establishment request message includes device information of the user device;
[0073] Send a session establishment request message to SMF based on AMF;
[0074] Based on SMF, secure connection proxy service information is obtained according to the session establishment request message; the secure connection proxy service information includes a mapping relationship between device information of the user device and indication information of the secure connection proxy service;
[0075] Based on SMF, the data processing rules after the secure proxy service is started are determined according to the mapping relationship, and the data processing rules and the instruction information of the secure connection proxy service are sent to UPF to establish a preset session.
[0076] Specifically, in one embodiment, a user accesses a network service through a cellular network to access a server. The client (such as a browser or APP) used by the user device is inconsistent with the SSL / TLS encryption algorithm supported by the server, such as one end supports a national encryption algorithm and the other end supports a foreign general encryption algorithm. In a scenario where one end supports a national encryption algorithm and the other end supports a foreign general encryption algorithm, the client / user device and / or server determines whether to use the secure connection proxy service provided by the cellular network through negotiation with the cellular network to complete data interaction between the client and the server under different secure encryption connections. Therefore, there are:
[0077] Step 1: The client / user device can negotiate with the cellular network node for a secure connection proxy service. The secure connection proxy service refers to whether to use the cellular network for secure connection proxy service when the SSL / TLS encryption algorithm supported by the client / user device and the server being accessed is inconsistent. It is used to support data interaction in scenarios where the SSL / TLS encryption algorithm used by the client / user device and the server being accessed is inconsistent. Methods include 1a and 1b:
[0078] 1a. The client or user equipment UE registers / activates / negotiates the secure connection proxy service in the UDM of the cellular network. The UDM binds the user equipment permanent identification, global unique identification, device ID (such as SUPI / SUCI, 5G-GUTI, PEI, etc.), application (Application, APP) ID and other contract information with the secure connection proxy service, or the UDM maintains the protocol data unit (Protocol Data Unit, PDU) session related (using UE IP and / or data network name (Data NetworkName, DNN) to determine the session) secure connection proxy contract information. An example of the UDM secure connection proxy service contract information is shown in Table 1 below:
[0079] Table 1
[0080] Contract information matching items Secure connection proxy service SUPI / SUCI:X Enable 5G-GUTI: Y Enable PEI: Z Enable UE IP: W; DNN: N Enable APP ID: Q Enable
[0081] The above-mentioned security connection proxy signing information can be configured in the UDM in advance, or the UE can interact with the UDM through the open interface of the cellular network such as the Network Exposure Function (NEF) to complete the configuration of the security connection proxy signing information.
[0082] PCF maintains secure connection proxy policy information: the server and client / user device interact with PCF through NEF to exchange packet filters or PDU session information with the policy information of its secure connection proxy service. The packet filter includes the IP address, port number, protocol type, etc. in the IP quintuple. The PDU session information includes UE IP, DNN, etc.
[0083] 1b. The UE or user equipment registers / activates / negotiates the secure connection proxy service policy in the PCF of the cellular network. The PCF maintains the policy information of the secure connection proxy service corresponding to the user equipment permanent identification, global unique identification, device ID (such as SUPI / SUCI, 5G-GUTI, PEI, etc.), or the PCF maintains the secure connection proxy policy information related to the PDU session (using UE IP and / or DNN to determine the session). An example of the secure connection proxy service policy information of the UE or user equipment maintained by the PCF is shown in Table 2 below:
[0084] Table 2
[0085] Policy Matching Items Secure connection proxy service SUPI / SUCI:X Enable 5G-GUTI: Y Enable PEI: Z Enable UE IP: W; DNN: N Enable APP ID: Q Enable
[0086] The above-mentioned secure connection proxy policy information may be configured in advance in the PCF, or the UE may interact with the PCF through an open interface of the cellular network such as NEF to complete the configuration of the secure connection proxy policy information.
[0087] Step 2: The server registers / activates / negotiates the secure connection proxy service in the network and maintains its secure connection proxy service policy information in the PCF of the cellular network. The PCF maintains the policy information of the secure connection proxy service corresponding to the server IP address. An example of the server secure connection proxy service policy information maintained by the PCF is shown in Table 3 below:
[0088] Table 3
[0089]
[0090] The secure connection proxy policy information of step 2 may be configured in advance in the PCF, or the server may interact with the PCF through an open interface of the cellular network such as NEF to complete the configuration of the secure connection proxy policy information.
[0091] It should be noted that, in the above embodiment, step 1 and step 2 may coexist or step 1 may exist but step 2 may not exist. When step 1 exists but step 2 does not exist, it means that the UE or user equipment has negotiated with the network to provide a secure connection proxy service for the UE or user equipment; when step 1 exists and step 2 exists, it means that the UE or user equipment and the server have negotiated with the network to provide a secure connection proxy service for the server.
[0092] The user equipment sends a session establishment request message to the AMF in the 5G cellular network. The session establishment request message may carry device information of the user equipment such as SUPI / SUCI, 5G-GUTI, PEI information, DNN or client APP ID information. The session establishment request message may also carry indication information of the secure connection proxy service to indicate that the user equipment wishes to obtain the network secure connection proxy service.
[0093] Therefore, the proxy node can receive the session establishment request message sent by the user equipment through the AMF, and forward the session establishment request message to the SMF.
[0094] Furthermore, the proxy node may obtain secure connection proxy service information from UDM or PCF through SMF according to a session establishment request message; wherein the secure connection proxy service information includes a mapping relationship between device information of the user device and indication information of the secure connection proxy service.
[0095] Furthermore, the SMF determines the data processing rules and / or the proxy information record reporting rules after the uplink and downlink secure connection proxy services of the PDU session are started based on the acquired secure connection proxy service information, and sends the data processing rules and the proxy information record reporting rules to the UPF. The message sent may also carry a "secure connection proxy service start" indication, instructing the UPF to perform the secure connection proxy service for this session. Thus, the establishment of the preset session is completed.
[0096] The secure connection proxy service can distinguish between uplink secure connection proxy service and downlink secure connection proxy service. For a PDU session, the uplink and downlink secure connection proxy services can be started at the same time, or only the uplink secure connection proxy service or the downlink secure connection proxy service can be started. That is, for uplink data from UE to the data network (DN), the UPF agent UE establishes a transport layer connection (including TCP connection and SSL / TLS connection) or an application layer security connection, such as a QUIC connection, with the DN; for downlink data from DN to UE, the UPF agent DN establishes a transport layer connection (including TCP connection and SSL / TLS connection) or an application layer security connection, such as a QUIC connection, with the UE. The proxy information record reporting rule is used to instruct the UPF to report the data processing record of the secure proxy service.
[0097] Further, based on the SMF, secure connection proxy service information is obtained according to the session establishment request message, including any of the following:
[0098] Based on SMF, send a contract information acquisition request to UDM according to the session establishment request message, and receive the secure connection proxy service contract information returned by UDM based on the contract information acquisition request;
[0099] The proxy node can send a contract information acquisition request to the UDM through SMF according to the session establishment request message. The contract information acquisition request message can carry SUPI / SUCI, 5G-GUTI, PEI information, DNN, client APP ID information, etc., to request the acquisition of contract information.
[0100] UDM sends the secure connection proxy service contract information to SMF based on SMF's contract information acquisition request.
[0101] Therefore, SMF can receive the secure connection proxy service contract information returned by UDM based on the contract information acquisition request.
[0102] Based on SMF, a policy information acquisition request is sent to PCF according to a session establishment request message, and secure connection proxy service policy information returned by PCF based on the policy information acquisition request is received.
[0103] The proxy node can send a policy information acquisition request to the PCF through the SMF according to the session establishment request message. The policy information acquisition request message can carry SUPI / SUCI, 5G-GUTI, PEI information, DNN, client APP ID information, etc.
[0104] PCF obtains the policy information of SMF based on the request and sends the secure connection proxy service policy information to SMF.
[0105] This embodiment establishes a session between the user device and the proxy node in advance, and maintains a mapping relationship between the device information of the user device and the indication information of the secure connection proxy service in the session, so that the secure connection proxy service can be started for the data transmission request initiated on the session based on the mapping relationship, thereby successfully completing the data transmission between the user device and the target server and ensuring the normal operation of the business. Therefore, the efficiency of data transmission between the client and the server can be improved.
[0106] In one embodiment, the preset session is established through the following steps:
[0107] Acquire secure connection proxy service information based on the access controller / gateway controller; the secure connection proxy service information includes a mapping relationship between device information of the user device and indication information of the secure connection proxy service;
[0108] Based on the access controller / gateway controller, the data processing rules after the secure proxy service is started are determined according to the mapping relationship, and the data processing rules and the instruction information of the secure connection proxy service are sent to the access device / gateway to establish a preset session.
[0109] In another embodiment, the UE or device registers / activates / negotiates a secure connection proxy service in the network. Specifically, the user accesses the network service server through a non-cellular network (such as a wireless fidelity (WIRELESS FIDELITY, WIFI) network or a gateway system). The client (such as a browser or APP) used by the user device is inconsistent with the SSL / TLS encryption algorithm supported by the server, such as one end supports a national encryption algorithm and the other end supports a foreign general encryption algorithm. In a scenario where one end supports a national encryption algorithm and the other end supports a foreign general encryption algorithm, the client / user device and / or server end negotiates with a non-cellular network (such as a WIFI access controller (AC)) or a gateway system (such as a gateway controller) to determine whether the gateway system provides a secure connection proxy service, and completes data interaction between the client and the server under different secure encryption connections. Thus, there are:
[0110] Step 3, the client / user device can interact with the AC of the WIFI network or the gateway controller of the gateway system to complete the negotiation of the non-cellular network security connection proxy service. After the negotiation is successful, the non-cellular network maintains the security connection proxy service policy information. An example of the policy information of the non-cellular network maintaining the security connection proxy service is shown in Table 4:
[0111] Table 4
[0112]
[0113] Step 4, the server registers / activates / negotiates the secure connection proxy service in the network. Specifically, the server interacts with the non-cellular network to negotiate the non-cellular network secure connection proxy service. Specifically, the client / user device can interact with the AC of the WIFI network or the gateway controller of the gateway system to complete the non-cellular network secure connection proxy service negotiation. After the negotiation is successful, the non-cellular network maintains the secure connection proxy service policy information. An example of the policy information for the non-cellular network to maintain the secure connection proxy service is shown in Table 5:
[0114] Table 5
[0115]
[0116]
[0117] Among them, in the above embodiment, step 3 and step 4 can coexist or step 3 exists but step 4 does not exist. When step 3 exists but step 4 does not exist, it means that the client has negotiated with the network to provide a secure connection proxy service for the client; when step 3 exists and step 4 exists, it means that both the client and the server have negotiated with the network to provide a secure connection proxy service for the server.
[0118] Further, the access controller / gateway controller determines the data processing rules after the uplink and downlink secure connection proxy service is started and / or the proxy information record reporting rules after the secure connection proxy service is started according to the secure connection proxy service information negotiated with the client / user device and the server, and sends the data processing rules and the proxy information record reporting rules to the access device / gateway. The sent message may also carry a "secure connection proxy service started" indication to instruct the access device / gateway to perform the secure connection proxy service for this session.
[0119] The secure connection proxy service can be divided into an upstream secure connection proxy service and a downstream secure connection proxy service. For a session, the upstream and downstream secure connection proxy services can be started at the same time, or only the upstream secure connection proxy service or the downstream secure connection proxy service can be started. That is, for the upstream data from the client to the server, the access device / gateway agent establishes a transport layer connection (including TCP connection and SSL / TLS connection) or an application layer secure connection, such as a QUIC connection, between the client and the server; for the downstream data from the server to the client, the access device / gateway agent establishes a transport layer connection (including TCP connection and SSL / TLS connection) or an application layer secure connection, such as a QUIC connection, between the server and the client. The proxy information record reporting rule is used to instruct the access device / gateway to report the data processing record of the secure proxy service.
[0120] This embodiment establishes a session between the user device and the proxy node in advance, and maintains a mapping relationship between the device information of the user device and the indication information of the secure connection proxy service in the session, so that the secure connection proxy service can be started for the data transmission request initiated on the session based on the mapping relationship, thereby successfully completing the data transmission between the user device and the target server and ensuring the normal operation of the business. Therefore, the efficiency of data transmission between the client and the server can be improved.
[0121] In one embodiment, establishing a first secure channel based on the secure socket layer protocol SSL / transport layer security protocol TLS with the user device may include:
[0122] Step 201, establishing a Transmission Control Protocol TCP connection with a user equipment based on the UPF;
[0123] Step 202: Based on UPF, a first secure channel based on SSL / TLS is established between the user device and the TCP connection.
[0124] When the TCP connection establishment request initiated by the user equipment UE to the target server is transmitted to the UPF, the UPF can initiate a TCP connection establishment response to the UE, wherein the source address when initiating the TCP connection establishment response to the UE is the IP address of the server.
[0125] The UE replies with a TCP connection establishment response and completes the TCP three-way handshake, thereby establishing a TCP connection between the UPF and the user equipment.
[0126] On the TCP connection established between the UE and UPF, the UE and UPF establish an SSL / TLS secure channel (which may be referred to as the first secure channel in this application). When the UE uses the national secret encryption algorithm, the UPF's secure connection proxy service supports the UPF to use the national secret encryption algorithm to negotiate the secret key of the SSL / TLS secure connection between the UE and UPF; when the UE uses a foreign general cryptographic algorithm, the UPF's secure connection proxy service supports the UPF to use a foreign general cryptographic algorithm to negotiate the secret key of the SSL / TLS secure connection between the UE and UPF.
[0127] Furthermore, the UPF agent completes the TCP three-way handshake between the UE and the target server to establish a TCP connection (also referred to as TCP connection 2). The UPF can use the UE's IP address on behalf of the UE when the TCP connection is established.
[0128] On the TCP connection established between UPF and the server, UPF and the server establish an SSL / TLS secure channel (which may be referred to as the second secure channel in this application). When the server uses the national secret encryption algorithm, UPF's secure connection proxy service supports UPF to use the national secret encryption algorithm to negotiate the secret key of the SSL / TLS secure connection between UPF and the server; when the server uses a foreign general cryptographic algorithm, UPF's secure connection proxy service supports UPF to use a foreign general cryptographic algorithm to negotiate the secret key of the SSL / TLS secure connection between UPF and the server.
[0129] Establishing a first secure channel based on the secure socket layer protocol SSL / transport layer security protocol TLS with the user device may also include:
[0130] When the TCP connection establishment request initiated by the client in the user device to the target server is transmitted to the access device / gateway, the access device / gateway can initiate a TCP connection establishment response to the client, and the source address when initiating the TCP connection establishment response to the client is the IP address of the server.
[0131] The client replies with a TCP connection 1 establishment response, completing the TCP three-way handshake, whereby the UPF establishes a TCP connection with the user device / client.
[0132] On the TCP connection 1 established between the client and the access device / gateway, the client and the access device / gateway establish an SSL / TLS secure channel (which may be referred to as the first secure channel in this application). When the client uses the national secret encryption algorithm, the access device / gateway's secure connection proxy service supports the access device / gateway to use the national secret encryption algorithm to negotiate the secret key of the SSL / TLS secure connection between the client and the access device / gateway; when the client uses a foreign general cryptographic algorithm, the access device / gateway's secure connection proxy service supports the access device / gateway to use a foreign general cryptographic algorithm to negotiate the secret key of the SSL / TLS secure connection between the client and the access device / gateway.
[0133] Furthermore, the access device / gateway completes the TCP three-way handshake between the client and the server to establish a TCP connection. The access device / gateway can use the IP address of the client on behalf of the client when the TCP connection is established.
[0134] On the TCP connection established between the access device / gateway and the server, the access device / gateway and the server establish an SSL / TLS secure channel (which may be referred to as the second secure channel in this application). When the server uses the national secret encryption algorithm, the access device / gateway's secure connection proxy service supports the access device / gateway to use the national secret encryption algorithm to negotiate the secret key of the SSL / TLS secure connection between the access device / gateway and the server; when the server uses a foreign general cryptographic algorithm, the access device / gateway's secure connection proxy service supports the access device / gateway to use a foreign general cryptographic algorithm to negotiate the secret key of the SSL / TLS secure connection between the access device / gateway and the server.
[0135] This embodiment establishes a first secure channel based on SSL / TLS with the user device, and establishes a second secure channel based on SSL / TLS with the target server, so that the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel can be negotiated according to the secure connection proxy service. Since the encryption and decryption algorithms can include national secret encryption algorithms and / or non-national secret encryption algorithms, even if the national secret SSL certificate support capabilities of the client and the server do not match, the data transmission between the user device and the target server can be successfully completed to ensure the normal operation of the business. Therefore, the efficiency of data transmission between the client and the server can be improved.
[0136] In one embodiment, data transmission between a user device and a target server is performed through a secure connection proxy service, a first secure channel, and a second secure channel, including:
[0137] Step 301, receiving encrypted data sent by a user equipment through a first security channel based on the UPF;
[0138] Step 302, based on the UPF, through the data processing rules after the secure connection proxy service is started, the encrypted data is decrypted using the encryption and decryption algorithm negotiated with the user equipment in the first secure channel;
[0139] Step 303, based on the UPF, through the data processing rules after the secure connection proxy service is started, the decrypted data is encrypted using the encryption and decryption algorithm negotiated with the target server in the second secure channel;
[0140] Step 304: Based on the UPF, the decrypted data is encrypted through the second security channel and then sent to the target server.
[0141] In the present application, the user device or the client in the user device can encrypt and transmit the data to be transmitted through the first secure channel.
[0142] Therefore, in one embodiment, the proxy node may receive, through the UPF, the encrypted data sent by the user equipment through the first secure channel.
[0143] Furthermore, the UPF can implement data conversion between the first security channel and the second security channel according to the data processing rules. Specifically, the UPF uses the encryption and decryption algorithm negotiated with the UE in the first security channel to decrypt the received encrypted data, and then uses the encryption and decryption algorithm negotiated with the target server in the second security channel to encrypt the decrypted data.
[0144] Furthermore, UPF encrypts the decrypted data and sends it to the target server through the second secure channel.
[0145] In another embodiment, the proxy node may receive, through the access device / gateway, the encrypted data sent by the user equipment through the first secure channel.
[0146] Furthermore, the access device / gateway implements data conversion between the first security channel and the second security channel according to the data processing rules. Specifically, the access device / gateway uses the encryption and decryption algorithm negotiated with the client of the user device in the first security channel to decrypt the received encrypted data, and uses the encryption and decryption algorithm negotiated with the target server in the second security channel to encrypt the decrypted data.
[0147] Furthermore, the access device / gateway encrypts the decrypted data and sends it to the target server.
[0148] In this embodiment, data transmission can be performed after the encryption and decryption algorithms of SSL / TLS in the first and second security channels are negotiated according to the secure connection proxy service. Since the encryption and decryption algorithms may include national secret encryption algorithms and / or non-national secret encryption algorithms, even if the national secret SSL certificate support capabilities of the client and the server do not match, data transmission between the user device and the target server can be successfully completed to ensure normal business. Therefore, the efficiency of data transmission between the client and the server can be improved.
[0149] In one embodiment, after data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel and the second secure channel, the method further includes:
[0150] Determine the proxy information record reporting rules after the secure connection proxy service is started;
[0151] Determine the secure connection proxy event record information based on the proxy information record reporting rules;
[0152] According to the proxy information record reporting rules, the secure connection proxy event record information is sent to the user device and the target server respectively.
[0153] Specifically, in one embodiment, the UPF may determine the proxy information record reporting rules after the secure connection proxy service is started, and determine the secure connection proxy event record information according to the proxy information record reporting rules.
[0154] Therefore, UPF can send security connection proxy event record information to SMF according to the proxy information record reporting rules.
[0155] The target server may send a secure connection proxy event log information request / subscription information to the cellular network via the NEF.
[0156] The UE may also send a secure connection proxy event log information request / subscription message to the cellular network through the NEF.
[0157] NEF sends secure connection proxy event record information request / subscription information to SMF.
[0158] SMF sends the security connection proxy event record information to NEF based on the security connection proxy event record information request / subscription information.
[0159] The NEF replies to the server (the server in this application may refer to the target server mentioned above) with a response message of the secure connection proxy event record information request / subscription information.
[0160] NEF replies to the UE with a response message for the request / subscription information of the security connection proxy event record information.
[0161] In another embodiment, the access device / gateway may determine a proxy information record reporting rule after the secure connection proxy service is started, and determine the secure connection proxy event record information according to the proxy information record reporting rule.
[0162] Therefore, the access device / gateway can determine the secure connection proxy event record information according to the proxy information record reporting rule.
[0163] The access device / gateway sends the secure connection proxy event record information to the access controller / gateway controller according to the proxy information record reporting rule.
[0164] The target server may send a secure connection proxy event record information request / subscription information to the access controller / gateway controller.
[0165] The client may also send a secure connection proxy event record information request / subscription information to the access controller / gateway controller.
[0166] The access controller / gateway controller replies to the server with a response message of the secure connection proxy event record information request / subscription information.
[0167] The access controller / gateway controller replies to the client with a response message of the secure connection proxy event record information request / subscription information.
[0168] In this embodiment, the client or server can interact with the cellular network node or the non-cellular network node to obtain the security connection proxy event record information, thereby realizing the information recording of the security connection proxy time to facilitate information tracing.
[0169] Furthermore, the present application also provides a data transmission device.
[0170] Reference Figure 4 , Figure 4 This is a schematic diagram of the functional modules of an embodiment of a data transmission device of the present application.
[0171] The data transmission device comprises:
[0172] The receiving module 410 is used to receive a data transmission request between a user device and a target server; the data transmission request is initiated on a preset session; a mapping relationship between device information of the user device and indication information of a secure connection proxy service is established in the preset session;
[0173] The starting module 420 is used for establishing a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS with the user device and establishing a second secure channel based on SSL / TLS with the target server after starting the secure connection proxy service if it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled;
[0174] The transmission module 430 is used to transmit data between the user device and the target server through the secure connection proxy service, the first secure channel and the second secure channel; the secure connection proxy service is used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel, and the encryption and decryption algorithms include national secret encryption algorithms and / or non-national secret encryption algorithms.
[0175] The data transmission device provided in the embodiment of the present application, when the user device initiates a data transmission request with the target server on a preset session in which a mapping relationship between the device information of the user device and the indication information of the secure connection proxy service is established, can start the secure connection proxy service when it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, and establish a first secure channel based on SSL / TLS with the user device, and establish a second secure channel based on SSL / TLS with the target server, so that the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel can be negotiated according to the secure connection proxy service, and because the encryption and decryption algorithms can include national secret encryption algorithms and / or non-national secret encryption algorithms, even if the national secret SSL certificate support capabilities of the client and the server do not match, the data transmission between the user device and the target server can be successfully completed to ensure the normal operation of the business. Therefore, the efficiency of data transmission between the client and the server can be improved.
[0176] In one embodiment, the startup module 420 is specifically used to:
[0177] Establishing a Transmission Control Protocol TCP connection with the user equipment based on UPF;
[0178] Based on the UPF, a first secure channel based on SSL / TLS is established between the user device and the TCP connection.
[0179] In one embodiment, the transmission module 430 is specifically used for:
[0180] Receiving, based on the UPF, encrypted data sent by the user equipment through the first security channel;
[0181] Based on the UPF, through the data processing rules after the secure connection proxy service is started, the encrypted data is decrypted using the encryption and decryption algorithm negotiated with the user equipment in the first secure channel;
[0182] Based on the UPF, through the data processing rules after the secure connection proxy service is started, the decrypted data is encrypted using the encryption and decryption algorithm negotiated with the target server in the second secure channel;
[0183] Based on UPF, the decrypted data is encrypted through the second security pass and then sent to the target server.
[0184] In one embodiment, the transmission module 430 is further configured to:
[0185] Determine the proxy information record reporting rules after the secure connection proxy service is started;
[0186] Determine secure connection proxy event record information based on the proxy information record reporting rule;
[0187] According to the proxy information record reporting rule, the secure connection proxy event record information is sent to the user equipment and the target server respectively.
[0188] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call a computer program in the memory 50 to execute the steps of the data transmission method, for example including:
[0189] A data transmission request between a user device and a target server is received; the data transmission request is initiated on a preset session; a mapping relationship between device information of the user device and indication information of a secure connection proxy service is established in the preset session;
[0190] If it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, after starting the secure connection proxy service, a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS is established with the user device, and a second secure channel based on SSL / TLS is established with the target server;
[0191] Data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel and the second secure channel; the secure connection proxy service is used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel, and the encryption and decryption algorithms include national secret encryption algorithms and / or non-national secret encryption algorithms.
[0192] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0193] On the other hand, an embodiment of the present application further provides a storage medium, wherein the storage medium is a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program is used to enable a processor to execute the steps of the methods provided in the above embodiments, for example, including:
[0194] A data transmission request between a user device and a target server is received; the data transmission request is initiated on a preset session; a mapping relationship between device information of the user device and indication information of a secure connection proxy service is established in the preset session;
[0195] If it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, after starting the secure connection proxy service, a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS is established with the user device, and a second secure channel based on SSL / TLS is established with the target server;
[0196] Data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel and the second secure channel; the secure connection proxy service is used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel, and the encryption and decryption algorithms include national secret encryption algorithms and / or non-national secret encryption algorithms.
[0197] The computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0198] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0199] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0200] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A data transmission method, characterized in that: Applied to a proxy node; the data transmission method comprises: A data transmission request between a user device and a target server is received; the data transmission request is initiated on a preset session; a mapping relationship between device information of the user device and indication information of a secure connection proxy service is established in the preset session; If it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, after starting the secure connection proxy service, a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS is established with the user device, and a second secure channel based on SSL / TLS is established with the target server; Data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel and the second secure channel; the secure connection proxy service is used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel, and the encryption and decryption algorithms include national secret encryption algorithms and / or non-national secret encryption algorithms.
2. The data transmission method according to claim 1, characterized in that: The proxy node includes a cellular network node, and the cellular network node includes a mobility management function AMF, a session management function SMF and a user plane function UPF; the preset session is specifically established through the following steps: Receiving a session establishment request message sent by the user equipment based on the AMF; the session establishment request message includes device information of the user equipment; Sending a session establishment request message to SMF based on the AMF; Based on the SMF, obtaining secure connection proxy service information according to the session establishment request message; The secure connection proxy service information includes a mapping relationship between the device information of the user device and the indication information of the secure connection proxy service; Based on the SMF, the data processing rules after the secure proxy service is started are determined according to the mapping relationship, and the data processing rules and the indication information of the secure connection proxy service are sent to the UPF to establish a preset session.
3. The data transmission method according to claim 2, characterized in that: The secure connection proxy service information includes secure connection proxy service subscription information and secure connection proxy service policy information; the cellular network node also includes a unified data management UDM and a policy control function PCF; the obtaining of the secure connection proxy service information based on the SMF according to the session establishment request message includes any of the following: Based on the SMF, sending a contract information acquisition request to the UDM according to the session establishment request message, and receiving the secure connection proxy service contract information returned by the UDM based on the contract information acquisition request; Based on the SMF, a policy information acquisition request is sent to the PCF according to the session establishment request message, and the secure connection proxy service policy information returned by the PCF based on the policy information acquisition request is received.
4. The data transmission method according to claim 2, characterized in that: The data transmission between the user device and the target server through the secure connection proxy service, the first secure channel and the second secure channel includes: Receiving, based on the UPF, encrypted data sent by the user equipment through the first security channel; Based on the UPF, through the data processing rules after the secure connection proxy service is started, the encrypted data is decrypted using the encryption and decryption algorithm negotiated with the user equipment in the first secure channel; Based on the UPF, through the data processing rules after the secure connection proxy service is started, the decrypted data is encrypted using the encryption and decryption algorithm negotiated with the target server in the second secure channel; Based on UPF, the decrypted data is encrypted through the second security pass and then sent to the target server.
5. The data transmission method according to claim 2, characterized in that: The step of establishing a first secure channel based on a secure socket interface protocol (SSL) / transport layer security protocol (TLS) with the user device comprises: Establishing a Transmission Control Protocol TCP connection with the user equipment based on UPF; Based on the UPF, a first secure channel based on SSL / TLS is established between the user device and the TCP connection.
6. The data transmission method according to claim 1, characterized in that: The proxy node includes a non-cellular network node, and the non-cellular network node includes an access controller / gateway controller and an access device / gateway; the preset session is established specifically through the following steps: Acquire secure connection proxy service information based on the access controller / gateway controller; the secure connection proxy service information includes a mapping relationship between device information of the user device and indication information of the secure connection proxy service; Based on the access controller / gateway controller, the data processing rules after the secure proxy service is started are determined according to the mapping relationship, and the data processing rules and the indication information of the secure connection proxy service are sent to the access device / gateway to establish a preset session.
7. The data transmission method according to any one of claims 1 to 6, characterized in that: After data transmission between the user device and the target server is performed through the secure connection proxy service, the first secure channel, and the second secure channel, the method further includes: Determine the proxy information record reporting rules after the secure connection proxy service is started; Determine secure connection proxy event record information based on the proxy information record reporting rule; According to the proxy information record reporting rule, the secure connection proxy event record information is sent to the user equipment and the target server respectively.
8. A data transmission device, characterized in that: include: A receiving module, used for receiving a data transmission request between a user device and a target server; The data transmission request is initiated on a preset session; A mapping relationship between the device information of the user device and the indication information of the secure connection proxy service is established in the preset session; a starting module, configured to establish a first secure channel based on the secure socket protocol SSL / transport layer security protocol TLS with the user device after starting the secure connection proxy service if it is determined that the indication information of the secure connection proxy service corresponding to the device information is enabled, and to establish a second secure channel based on SSL / TLS with the target server; a transmission module, configured to perform data transmission between the user equipment and the target server through the secure connection proxy service, the first secure channel and the second secure channel; The secure connection proxy service is used to negotiate the encryption and decryption algorithms of SSL / TLS in the first secure channel and the second secure channel, and the encryption and decryption algorithms include national secret encryption algorithms and / or non-national secret encryption algorithms.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the data transmission method according to any one of claims 1 to 7 is implemented.
10. A storage medium, the storage medium being a computer-readable storage medium, comprising a computer program, characterized in that: When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Communication method and device, gateway equipment, system and medium
CN119583204A
A communication method, apparatus, gateway device, system, and medium
CN119583204B
Train-ground communication method and system applied to train control system
CN119729405A
A train-ground communication method and system applied to a train control system
CN119729405B
