Security implementation method and device, terminal equipment, network element and voucher generation equipment
Patent Information
- Application Number
- CN202280093802.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technologies are difficult to effectively protect sensory data from being leaked or stolen. Especially in synaesthesia integration technology, the personal or sensitive nature of sensory data makes traditional authorization mechanisms insufficient to ensure data security.
By introducing an authorization certificate mechanism on the terminal device and the network side, using digital signatures to verify the legitimacy of the authorization certificate, and ensuring that sensing data is transmitted only after authorization is passed, the traditional model of the network side authorizing the terminal side is changed, so that the terminal device Have permission to authorize the network side.
It effectively prevents the leakage and theft of sensing data, improves network security, ensures that sensing data is not illegally accessed during transmission, and enhances data privacy protection.
Smart Images

Figure CN118872233A_ABST
Abstract
Description
Security implementation method, device, terminal equipment, network element, and certificate generation device Technical Field
[0001] The embodiments of the present application relate to the field of mobile communication technology, and specifically to a security implementation method, apparatus, terminal equipment, network element, and credential generation device. Background Art
[0002] With the continuous advancement of communication technology, integrated synaesthesia technology, which enables the perception, interconnection, and intelligence of everything, has become a focus of industry attention. Synaesthesia technology refers to the integration of communication and perception. Communication refers to the transmission of information between two or more points, while perception refers to the detection of physical environmental information, such as speed measurement and target location. Synaesthesia technology can enable future communication systems to simultaneously integrate communication and perception. While transmitting information over wireless channels, it can actively learn and analyze channel characteristics to perceive the physical characteristics of the surrounding environment, enhancing both communication and perception capabilities. For example, communication systems can utilize sensory devices such as user devices, wearable devices, and base stations to sense physical environmental information and digitize this information to generate sensory data (such as location, temperature, speed, heart rate, blood pressure, etc.). Based on the sensory data transmitted by these sensory devices, sensory servers can then provide services such as positioning services, speed measurement services, and health call services.
[0003] However, perception data is usually personal data or sensitive data, and there is currently no clear solution to ensure that perception data is not leaked or stolen.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a security implementation method, apparatus, terminal device, network element, and credential generation device.
[0006] This embodiment of the present application provides a security implementation method, including:
[0007] The terminal device obtains an authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the transmission of the sensing data is authorized; the authorization certificate includes a first digital signature;
[0008] In a case where the authorization credential is verified successfully based on the first digital signature, the terminal device authorizes the transmission of the perception data.
[0009] The present application also provides a security implementation method, including:
[0010] The first network element sends a first request message to the terminal device; the first request message is used to request the terminal device to authorize the transmission of perception data; the first request message includes the authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the transmission of perception data is authorized; the authorization certificate is verified by the first digital signature included therein.
[0011] The present application also provides another security implementation method, including:
[0012] The credential issuing device receives a fourth request message sent by the first network element; the fourth request message is used to request an authorization credential of the first network element; the authorization credential is used by the terminal device to verify whether the transmission of the sensing data is authorized;
[0013] The credential issuing device generates an authorization credential for the first network element.
[0014] The present invention provides a security implementation device, which is applied to a terminal device and includes:
[0015] A first acquiring unit is configured to acquire an authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the terminal device is authorized to transmit the sensing data; the authorization certificate includes a first digital signature;
[0016] The authorization unit is configured to authorize the transmission of the perception data if the authorization credential is verified successfully based on the first digital signature.
[0017] The embodiment of the present application further provides a security implementation device, applied to a first network element, including:
[0018] The second sending unit is configured to send a first request message to the terminal device; the first request message is used to request the terminal device to authorize the transmission of perception data; the first request message includes the authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the transmission of perception data is authorized; the authorization certificate is verified by the first digital signature included therein.
[0019] The present application also provides a security implementation device, which is applied to a credential issuing device and includes:
[0020] A third receiving unit is configured to receive a fourth request message sent by the first network element; the fourth request message is used to request an authorization credential of the first network element; the authorization credential is used by the terminal device to verify whether the transmission of the perception data is authorized;
[0021] The credential generation unit is configured as an authorization credential of the first network element.
[0022] The terminal device provided in an embodiment of the present application includes a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory to execute the above-mentioned security implementation method.
[0023] The first network element provided in an embodiment of the present application includes a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the above-mentioned security implementation method.
[0024] The credential generation device provided in an embodiment of the present application includes a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to perform the above-mentioned security implementation method.
[0025] The chip provided in the embodiment of the present application is used to implement the above-mentioned security implementation method.
[0026] Specifically, the chip includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes the above-mentioned security implementation method.
[0027] The computer-readable storage medium provided in an embodiment of the present application is used to store a computer program, which enables a computer to execute the above-mentioned security implementation method.
[0028] The computer program product provided in the embodiments of the present application includes computer program instructions, which enable a computer to execute the above-mentioned security implementation method.
[0029] The computer program provided in the embodiment of the present application, when run on a computer, enables the computer to execute the above-mentioned security implementation method.
[0030] In the security implementation method provided in the embodiments of this application, the terminal device can verify the authorization credentials of the network-side network element. If the verification is successful, the terminal device can authorize the transmission of the perception data. In other words, the authorization direction changes from the network side authorizing the terminal side in related technologies to the terminal side authorizing the network side, thus ensuring that the perception data is not leaked or stolen. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0032] FIG1 is a schematic diagram of a network architecture of an exemplary communication system provided in an embodiment of the present application;
[0033] FIG2 is a flowchart of a security implementation method according to an embodiment of the present application;
[0034] FIG3 is a second flow chart of a security implementation method provided in an embodiment of the present application;
[0035] FIG4 is a third flow chart of a security implementation method provided in an embodiment of the present application;
[0036] FIG5 is a fourth flow chart of a security implementation method provided in an embodiment of the present application;
[0037] FIG6 is a schematic flow chart of a security implementation method in application scenario 1 provided by an embodiment of the present application;
[0038] FIG7 is a schematic flow chart of a security implementation method in application scenario 2 provided by an embodiment of the present application;
[0039] FIG8 is a schematic flow chart of a security implementation method in application scenario three provided by an embodiment of the present application;
[0040] FIG9 is a schematic flow chart of a security implementation method in application scenario 4 provided by an embodiment of the present application;
[0041] FIG10 is a schematic diagram of the structure of a security implementation device 1000 provided in an embodiment of the present application;
[0042] FIG11 is a schematic diagram of the structure of a security implementation device 1100 provided in an embodiment of the present application;
[0043] FIG12 is a schematic diagram of the structure of a security implementation device 1200 provided in an embodiment of the present application;
[0044] FIG13 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0045] FIG14 is a schematic structural diagram of a chip according to an embodiment of the present application;
[0046] FIG15 is a schematic block diagram of a communication system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will describe the technical solutions in the embodiments of this application 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 the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0048] For ease of understanding, we first introduce the network architecture to which the security implementation method provided in the embodiments of this application may be applied, in conjunction with the relevant drawings. Figure 1 is a schematic diagram of the network architecture of the communication system provided in the embodiments of this application. As shown in Figure 1, the communication system 100 may include a terminal device, an access network device, a core network, and a third-party application network. The terminal device accesses the core network through the access network device. Multi-service transmission is supported between the terminal device and the network device.
[0049] It should be understood that the embodiments of the present application are only illustrative of the communication system 100, but the embodiments of the present application are not limited thereto. That is, the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Internet of Things (IoT) system, Narrow Band Internet of Things (NB-IoT) system, enhanced Machine-Type Communications (eMTC) system, fifth-generation communication system (i.e., 5G communication system, also known as New Radio (NR) communication system), sixth-generation communication system (6G), or future communication systems.
[0050] In the communication system 100 shown in FIG1 , the access network equipment can provide communication coverage for a specific geographical area and can communicate with terminal devices located in the coverage area.
[0051] The access network device can be an evolved base station (eNB or eNodeB) in a Long Term Evolution (LTE) system, or a base station (gNB) in an NR system, or a 6G base station, or a Next Generation Radio Access Network (NG RAN) device, or a wireless controller in a Cloud Radio Access Network (CRAN), or the network device 120 can be a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, or a network device in a future evolved Public Land Mobile Network (PLMN), etc.
[0052] The terminal device may be any terminal device, including but not limited to a terminal device connected to a network device or other terminal device by wire or wireless connection.
[0053] For example, the terminal device may refer to an access terminal, user equipment (UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user apparatus. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, an IoT device, a satellite handheld terminal, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a drone, an unmanned vehicle, a robot, a terminal device in a 5G network, a terminal device in a 6G network, or a terminal device in a future evolution network, etc.
[0054] The terminal device can also be used for device-to-device (D2D) communication.
[0055] The core network can serve as a bearer network, providing an interface to external third-party application networks, providing communication connections, authentication, management, policy control, and data service bearer services for terminal devices. The core network can be a 5G core network (5G Core, 5GC) or an LTE packet core evolution network (Evolved Packet Core, EPC), which is not limited in this embodiment of the present application.
[0056] As shown in FIG1 , the core network may include the following network elements: an access and mobility management function (AMF), an authentication server function (AUSF), an application function (AF), a network exposure function (NEF), a perception control element, and a perception collection element. The core network 130 may also include other network elements not shown in FIG1 , such as a user plane function (UPF), a session management function (SMF), a unified data manager (UDM), a network application function (NAF), and the like.
[0057] Among them, AMF is a control plane network element provided by the operator, which is responsible for access control and mobility management of terminal devices accessing the operator's network. AMF serves as the termination point of non-access layer signaling and processes network signaling. AUSF is also a control plane network element provided by the operator, which is used for terminal device authentication. AF is used to store business security requirements and provide information for policy decisions. NEF is used to expose functions and events to other systems, which not only provides openness but also ensures the security of the system. The perception control network element can be a control plane network element provided by the operator, which mainly manages and controls perception services. The perception collection entity can be a user plane network element, which is used to collect perception data sent by different devices and manage the perception data.
[0058] It should be noted that the solid arrows in FIG1 represent the transmission direction of the control message, and the dotted arrows represent the transmission direction of the IP routing data.
[0059] It should be understood that during network evolution, the network elements in the core network may be called other names, or new network entities may be formed by dividing the functions of the core network, and this is not limited in the embodiments of the present application. The above-mentioned network elements can be deployed separately, or two or more network elements can be integrated and deployed in one entity. For example, the perception control network element and the perception collection entity can be deployed in one entity, or the perception control network element and the perception collection entity can be deployed in different entities respectively, and this is not limited in the embodiments of the present application.
[0060] It should be noted that Figure 1 is merely an example of a system applicable to this application. Of course, the methods described in the embodiments of this application can also be applied to other systems. Furthermore, the terms "system" and "network" are often used interchangeably herein. The term "and / or" herein simply describes an association relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " generally indicates that the associated objects are in an "or" relationship. It should also be understood that the term "indication" in the embodiments of this application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, "A indicates B" can mean that A directly indicates B, for example, B can obtain information through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can obtain information through C; or it can mean that A and B have an association relationship. It should also be understood that the term "corresponding" in the embodiments of this application can mean that two objects have a direct or indirect correspondence relationship, an association relationship, or a relationship between an indicator and the indicated, a configuration and the configured, and so on. It should also be understood that the “predefined” or “predefined rules” mentioned in the embodiments of the present application can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices), and the present application does not limit its specific implementation method. For example, predefined can refer to what is defined in the protocol. It should also be understood that in the embodiments of the present application, the “protocol” may refer to a standard protocol in the field of communications, such as LTE protocols, NR protocols, and related protocols used in future communication systems, and the present application does not limit this.
[0061] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following relevant technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all fall within the protection scope of the embodiments of the present application.
[0062] Synaesthesia integration: refers to a new information processing technology that realizes the coordination of perception and communication functions based on software and hardware resource sharing or information sharing, which can effectively improve the system spectrum efficiency, hardware efficiency and information processing efficiency.
[0063] The simultaneous capability of communication and perception will be the future trend for base stations and terminal devices in communication systems. Future terminal devices will be upgraded to intelligent agents, with the capabilities of unmanned vehicles, drones, robots, and other intelligent device systems continuously increasing. At close range, intelligent agents will need to recognize human posture, movement, and expression to enhance human-machine interface performance. They will also need to identify the motion states of multiple agents to improve their collaborative performance. At microscopic distances, it will be necessary to identify the attributes of objects within the human body, products, and objects, enabling remote, AI-powered, and unmanned health, quality, and security inspection services.
[0064] Due to differences in system functions and specifications, communication and perception systems have significant differences in bandwidth, power output capability, receiving detection sensitivity, system dynamic range, duplex capability and performance, as well as RF channel frequency deviation, phase noise, nonlinearity and other indicators. Therefore, traditional hardware architectures design hardware separately according to communication and perception requirements. However, integrated telepathy technology hopes that the architecture and hardware system can simultaneously realize perception and communication functions. Therefore, the system must balance communication and perception requirements from the beginning of design, and add new requirements such as shared spectrum resources, high dynamic range, full-duplex and self-interference cancellation, and high channel performance. In addition, it must also take into account the goals of low implementation complexity, low power consumption, and high integration. For example, the communication and perception of integrated telepathy terminal devices share newly added spectrum resources.
[0065] At present, the authorization mechanism in 5G security technology usually refers to the service network granting access authorization to the terminal device, allowing the terminal device to use the network resources, and the home network authorizing the service network to serve the terminal device. Specifically, during the terminal device registration process, 5GC performs identity authentication and access authorization based on the subscription profile in the UDM. It can be understood that the service network should authorize the terminal device through the subscription profile of the terminal device obtained from the home network. Among them, the authorization of the terminal device is based on the authenticated user permanent identifier (SUPI). It can be understood that the current security technology can better meet the access authentication problem of terminal devices in 5G security technology, and defines some key generation functions and processes.
[0066] In future communication technologies, sensory data is often personal or sensitive, requiring protection from leakage and theft. However, current security technologies only authorize network resources, with authorization from the network to the terminal. This does not address the need for authorization of sensory data, which also requires authorization from the terminal or access side to the network.
[0067] To improve network security, an embodiment of the present application provides a security implementation method, as shown in FIG2 , which includes but is not limited to the following steps:
[0068] Step 210: The terminal device obtains the authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the transmission of the perception data is authorized; the authorization certificate includes a first digital signature.
[0069] Step 220: When the authorization certificate is verified successfully based on the first digital signature, the terminal device authorizes the transmission of the sensing data.
[0070] Among them, the terminal device can be a device that supports synaesthesia integration technology, and the terminal device can obtain sensory data by detecting physical environment information. The sensory data can be location data, altitude data, temperature data, speed, human heart rate, respiratory rate, blood pressure, etc. The sensory data can come from sensory signals obtained using sensory technology, and the embodiments of the present application do not limit this. The terminal device in the embodiments of the present application can be understood as the provider of sensory data.
[0071] In addition, the first network element may be a core network element (such as a base station), an access network element (such as a perception control network element), a network element in a third-party application network (such as a perception server), etc., and the present embodiment does not limit this. Among them, the perception server may be an application server that provides perception services (such as positioning, speed measurement, and health call services).
[0072] In actual applications, since perception data is personal data or sensitive data, the terminal device needs to verify the recipient of the perception data or the requester of the perception data to determine the legitimacy of their identity and whether they have the authority to obtain the perception data, so as to prevent the perception data from being leaked or stolen by attackers.
[0073] In an embodiment of the present application, the terminal device can verify whether it is authorized to transmit the perception data to the network element on the network side using the authorization certificate of the first network element. The authorization certificate of the first network element may include a first digital signature, and the terminal device can use the first digital signature to verify the authorization certificate to determine whether the network element on the network side has the authority to obtain the perception data of the terminal device.
[0074] In summary, in the security implementation method provided in the embodiments of this application, a terminal device can verify the authorization credentials of a network-side network element. If the verification is successful, the terminal device can authorize the transmission of the perception data. In other words, the authorization direction has changed from the network side authorizing the terminal side in related technologies to the terminal side authorizing the network side, thereby ensuring that the perception data is not leaked or stolen.
[0075] Optionally, the first digital signature may be a signature of a certificate issuing device, that is, the first digital signature may be obtained by signing other information in the authorization certificate using the private key of the certificate issuing device. It should be understood that the certificate issuing device is a device that generates the first network element authorization certificate.
[0076] Optionally, the authorization certificate may further include at least one of the following information:
[0077] Business identification information;
[0078] Identification information of the credential issuing device;
[0079] The public key of the credential issuing device;
[0080] identification information of the first network element;
[0081] The public key of the first network element;
[0082] RSA accumulator parameters corresponding to the first network element;
[0083] Data identification information.
[0084] The service identification information may be used to indicate the service type of the sensing data to be authorized, which may include positioning service, speed measurement service, health call service, environmental monitoring service, etc., which is not limited in the present embodiment.
[0085] Optionally, the service identification information may be a fixed-length bit data, wherein different bit data corresponds to different service types. The terminal device determines the service type corresponding to the bit data by looking up a table.
[0086] Optionally, the service identification information may be the identification information of a perception server providing the perception service. Generally speaking, a perception server may provide one or more perception services, and therefore the required perception service types may vary. Based on this, in embodiments of the present application, the identification information of the perception server may be used to characterize the service type of the perception data to be authorized.
[0087] The RSA accumulator parameters corresponding to the first network element are used to verify whether the authorization certificate of the first network element has been revoked. It should be understood that in actual applications, there are cases where the authorization certificate is revoked. Therefore, the RSA parameters of the authorization certificate need to be carried in the authorization certificate for the terminal device to verify whether the authorization certificate has been revoked.
[0088] In addition, data identification information can be used to indicate the data type of the sensory data. The sensory data can come from sensory signals acquired using sensory technology, and the data type can include one or more types. For example, if the sensory service is a health call service, the data type can include heart rate data, body temperature data, exercise data, blood pressure data, respiratory rate data, etc. If the sensory service is an environmental monitoring service, the data type can include location data, wind speed data, temperature data, sunlight exposure data, altitude data, etc. This embodiment of the application does not limit the data type.
[0089] It should be noted that the credential issuing device can generate an authorization credential for the first network element at the request of the first network element. The credential issuing device can be an application provider certificate authority (CA), a perception server, or an operator CA, and this embodiment of the application does not impose any restrictions on this. In addition, the relevant content of the first network element requesting the credential issuing device to generate an authorization credential is described in detail below and is not repeated here for the sake of brevity.
[0090] Optionally, the first digital signature can be obtained by signing all or part of the above information using the private key of the credential issuing device. Correspondingly, the terminal device can verify the authorization credential based on the first digital signature by the following steps:
[0091] Step 230: The terminal device verifies the first digital signature using the public key of the credential issuing device to obtain first verification information.
[0092] Step 240: If the first verification information is consistent with other information in the authorization certificate except the first digital signature, it is determined that the authorization certificate verification is successful.
[0093] It is understood that since the first digital signature is signed using the private key of the credential issuing device, the terminal device can verify the first digital signature using the public key of the credential issuing device to obtain first verification information. Only if the first verification information is consistent with other information in the authorization credential will the terminal device authorize the transmission of the perception data to the network-side network element; otherwise, the terminal device will not perform further processing.
[0094] It should be noted that the terminal device can obtain the public key of the credential issuing device from the authorization certificate to verify the first digital signature. The terminal device can also store the public key of the credential issuing device in advance and use the pre-stored public key to verify the first digital signature. This embodiment of the application does not limit the source of the public key of the credential issuing device.
[0095] Optionally, in some embodiments, if the authorization credential includes service identification information and / or data identification information, before verifying the authorization credential, the terminal device needs to determine whether the terminal device supports the service type indicated by the service identification information in the authorization credential, and / or the data type indicated by the data identification information.
[0096] The service identification information carried in the authorization voucher can be used to identify the service type of the perception data that the network-side network element needs to obtain. The data identification information carried in the authorization voucher can be used to identify the data type of the perception data that the network-side network element needs to obtain. Therefore, after the terminal device obtains the authorization voucher from the first network element, it must first determine whether it supports the service type and / or data type required by the network side.
[0097] Optionally, the terminal device may maintain a service identification information list that stores service identification information corresponding to all service types supported by the terminal device. Thus, after obtaining the authorization certificate from the first network element, the terminal device may compare the service identification information in the authorization certificate with the contents of the above list to determine whether the terminal device supports the service type indicated by the service identification information carried in the authorization certificate.
[0098] Optionally, the terminal device may also maintain a data identification information list, which may store data identification information corresponding to data types supported by the terminal device. After obtaining the authorization certificate from the first network element, the terminal device may compare the data identification information in the authorization certificate with the contents of the list to determine whether the terminal device supports the data type indicated by the data identification information in the authorization certificate.
[0099] For example, in a scenario where the authorization certificate includes only service identification information, if the terminal device supports the service type indicated by the service identification information, the terminal device may verify the authorization certificate based on the first digital signature. Otherwise, the terminal device ignores the authorization certificate and does not perform further processing.
[0100] In the scenario where the authorization certificate only includes data identification information, if the terminal device supports the data type indicated by the data identification information, the terminal device can verify the authorization certificate based on the first digital signature. Otherwise, the terminal device ignores the authorization certificate and does not perform further processing.
[0101] In the scenario where the authorization voucher includes service identification information and data identification information, the terminal device will verify the authorization voucher based on the first digital signature only if the terminal device supports the service type indicated by the service identification information and the data type indicated by the data identification information. Conversely, if the terminal device does not support the service type indicated by the service identification information or does not support the data type indicated by the data identification information, the terminal device will ignore the authorization voucher and will not process it further.
[0102] In an embodiment of the present application, after a terminal device authorizes the transmission of perception data, the terminal device may transmit perception data corresponding to the service type and / or data type indicated by the service identification information. In other words, the service type of the perception data transmitted by the terminal device is the service type indicated by the service identification information in the authorization voucher, and the data type is the data type indicated by the data identification information in the authorization voucher. This ensures that the perception data transmitted by the terminal device matches the perception data required by the first network element, thereby improving transmission efficiency.
[0103] Optionally, in some embodiments, when the authorization credential includes an RSA accumulator parameter corresponding to the first network element, in step 220, if the authorization credential is verified based on the first digital signature, the terminal device authorizes transmission of the perception data, which may also be implemented in the following manner:
[0104] In a case where the authorization credential is verified successfully based on the first digital signature, the terminal device verifies whether the authorization credential of the first network element is revoked based on the RSA accumulator parameter;
[0105] If the authorization credential has not been revoked, the terminal device authorizes the transmission of the sensing data.
[0106] It is understood that after the authorization credential is verified, the terminal device can also verify whether the authorization credential has been revoked based on the RSA accumulator parameter. If the authorization credential of the first network element has not been revoked, the terminal device authorizes the transmission of the perception data. If the authorization credential of the first network element has been revoked, the terminal device determines that the first network element does not have the authority to obtain the perception data. In this way, the efficiency of the terminal device's authorization of the perception data can be improved.
[0107] In the embodiment of the present application, there are multiple ways for the terminal device to obtain the authorization certificate of the first network element, two of which are described in detail below.
[0108] Method 1:
[0109] In an embodiment of the present application, as shown in FIG3 , the terminal device obtains the authorization certificate of the first network element in step 210, which can be implemented by the following steps:
[0110] Step 2101: The terminal device receives a first request message sent by a first network element, where the first request message is used to request authorization from the terminal device to transmit sensing data; the first request message includes an authorization credential.
[0111] Step 2102: The terminal device obtains the authorization certificate from the first request information.
[0112] When the first network element requires the terminal device to send perception data to it, it may send a first request message to the terminal device to trigger a perception service request. Here, the first network element may include its authorization certificate in the first request message. Thus, after receiving the first request message, the terminal device may obtain the authorization certificate of the first network element from the first request message and verify the authorization certificate based on the first digital signature in the authorization certificate to determine whether to authorize the transmission of the perception data.
[0113] Optionally, in some embodiments, the first network element locally stores its authorization credentials. When the first network element triggers a perception service request, the locally stored authorization credentials may be sent to the terminal device via a first request message.
[0114] Optionally, in some embodiments, the authorization credentials may not be stored locally on the first network element, but may be distributedly stored in the blockchain node through a decentralized identity (DID). When the first network element needs to transmit a perception service request, it may first obtain the authorization credentials of the first network element from the storage block of the blockchain node. Referring to the flowchart shown in FIG3 (the dotted lines in FIG3 represent optional steps), before the first network element sends the first request information to the terminal device, it may also perform the following steps:
[0115] Step 2001: The first network element sends a third request message to the blockchain node; the third request message is used to request the authorization certificate of the first network element; the third request message includes storage location information of the authorization certificate in the blockchain node;
[0116] Step 2002: The first network element receives the authorization certificate of the first network element sent by the blockchain node.
[0117] In other words, before triggering a sensing service request, the first network element can request the blockchain node for its authorization credentials based on the storage location of the first network element's authorization credentials. After receiving the authorization credentials from the blockchain node, the first network element can send the obtained authorization credentials along with a first request message to the terminal device, thereby authorizing the terminal device to transmit the sensing data.
[0118] Optionally, because the authorization certificate includes the first digital signature of the certificate issuing device, upon receiving the authorization certificate from the blockchain node, the first network element can verify the first digital signature using the public key of the certificate issuing device to confirm the authenticity of the authorization certificate. After successfully verifying the first digital signature, the first network element sends the authorization certificate to the terminal device along with the first request information.
[0119] It should be understood that the authorization credential for the first network element can be pre-generated by a credential issuing device. Here, after the credential issuing device generates the authorization credential, it can transmit the authorization credential back to the first network element or upload the authorization credential to a blockchain node for distributed storage. Furthermore, when the first network element needs to obtain sensory data, it can obtain the authorization credential from local storage or request the authorization credential from a blockchain node and send the obtained authorization credential to the terminal device via a first request message. This improves the flexibility of the terminal device in authorizing sensory data.
[0120] Optionally, after receiving the first request information, the terminal device may first authenticate the first network element that sent the first request information to determine whether the first network element is a trusted network element and whether the first request information has been tampered with. Only if the authentication of the first network element is successful does the terminal device obtain an authorization credential based on the first request information and verify the authorization credential, thereby ensuring that the perception data is not leaked or stolen during subsequent transmission.
[0121] Optionally, the terminal device may use a shared key between the terminal device and the first network element to authenticate the first network element, or the terminal device may use the public key of the first network element to authenticate the first network element. This embodiment of the present application does not impose any restrictions on this.
[0122] Optionally, the first request information may include at least one of the following information:
[0123] identification information of the first network element;
[0124] Identification information of the terminal device;
[0125] Channel parameters; the channel parameters are used to establish a trusted channel between the first network element and the terminal device;
[0126] The public key of the first network element;
[0127] Second digital signature: The second digital signature is obtained by signing other information in the first request information using the private key of the first network element.
[0128] It should be understood that when the first request information includes the second digital signature, the terminal device can use the second digital signature to authenticate the first network element. The manner in which the terminal device authenticates the first network element includes the following:
[0129] The terminal device uses the public key of the first network element to verify the above-mentioned second digital signature and obtain second verification information; if the second verification information is consistent with other information in the first request information except the second digital signature, the terminal device determines that the identity authentication of the first network element is passed.
[0130] Optionally, the terminal device may maintain a public key list that stores identification information of multiple network elements and the public key corresponding to each network element. After receiving the first request information sent by the first network element, the terminal device may search the public key corresponding to the identification information of the first network element from the public key list. The terminal device then verifies the second digital signature based on the public key to obtain second verification information.
[0131] Optionally, if the first request information includes the public key of the first network element, the terminal device can also verify the second digital signature based on the public key carried in the first request information to obtain second verification information. This embodiment of the application does not limit the identity authentication method of the first network element.
[0132] It should be understood that if the second verification information is consistent with other information in the first request information except the second digital signature, the terminal device confirms that the first network element is a trusted network element and that the first request information has not been tampered with. If the second verification information is inconsistent with other information in the first request information except the second digital signature, the terminal device may determine that the first network element is an untrusted network element and / or that the first request information has been tampered with by a third party. In this case, the terminal device may ignore the first request information and not perform further processing.
[0133] In summary, in the security implementation method provided in the embodiments of the present application, a network element on the network side can request authorization for the transmission of perception data from a terminal device. Upon receiving the request from the network element on the network side, the terminal device can verify the identity and permissions of the network element on the network side. Furthermore, upon successful verification, the terminal device can authorize the transmission of the perception data, ensuring that the perception data is not leaked or stolen.
[0134] Method 2:
[0135] In one embodiment of the present application, referring to the flowchart shown in FIG4 , the terminal device obtains the authorization certificate of the first network element in step 210, which can be implemented by the following steps:
[0136] Step 2103: The terminal device sends a second request message to the blockchain node, where the second request message is used to request the authorization credential of the first network element; the authorization credential is stored in a block of the blockchain node; and the second request message includes storage location information of the authorization credential in the blockchain node.
[0137] Step 2104: The terminal device receives the authorization certificate sent by the blockchain node.
[0138] It should be understood that the authorization certificate of the first network element can be distributedly stored in the block of the blockchain node through a decentralized identity (DID). The terminal device actively requests the authorization certificate of the first network element from the blockchain node. Specifically, the terminal device can request the authorization certificate of the first network element from the blockchain node based on the storage location information of the authorization certificate of the first network element.
[0139] It should be noted that the storage location information of the first network element authorization certificate can be obtained by the terminal device from the access network element (such as a base station) or the core network element, and this embodiment of the application does not limit this.
[0140] Optionally, the terminal device actively requests the authorization certificate of the first network element from the blockchain node for verification and authorization. This may be triggered by an interactive instruction received in the user interface, or by an application of the terminal device, or may be actively triggered after obtaining perception data. This embodiment of the present application does not impose any restrictions on this.
[0141] Optionally, in an embodiment of the present application, the terminal device may be triggered to periodically upload sensory data. This periodic uploading of sensory data may be initiated by the terminal device, or may be triggered by user interface interaction, an application of the terminal device, etc., and this embodiment of the present application does not limit this.
[0142] Based on this, after the terminal device is triggered to periodically upload sensory data, it can proactively request the blockchain node for the authorization certificate of the first network element. After verifying the requested authorization certificate, it can then send the sensory data according to a preset time period. Of course, the terminal device can also proactively request the blockchain node for the authorization certificate of the first network element first, and then trigger the periodic upload of sensory data. This application does not restrict the order of the two.
[0143] Thus, in the security implementation method provided by the embodiment of the present application, the terminal device can actively obtain the authorization credentials of the network-side network element and verify them. If the verification is successful, the terminal device can authorize the transmission of the perception data, ensuring that the perception data is not leaked or stolen. In addition, distributed verification and authorization close to the terminal device, that is, the same type of services in different geographical locations can authorize perception data in parallel, improving the efficiency of perception data authorization.
[0144] The following details the process of generating authorization credentials.
[0145] In an embodiment of the present application, referring to the flowchart shown in FIG5 , the security implementation method provided in the embodiment of the present application may include the following steps:
[0146] Step 510: The credential issuing device receives the fourth request information sent by the first network element; the fourth request information is used to request the authorization credential of the first network element; the authorization credential is used by the terminal device to verify whether the transmission of the perception data is authorized.
[0147] Step 520: The certificate issuing device generates an authorization certificate for the first network element.
[0148] Among them, the credential issuing device can be an application provider CA, a perception server, or an operator CA, and the embodiments of this application do not limit this.
[0149] It is understandable that before determining to collect the perception data, the first network element may initiate a credential request to the credential issuing device. Specifically, the first network element may send a fourth request message to the credential issuing device via a secure channel to request the credential issuing device to generate an authorization credential for the first network element, so that the terminal device can perform verification based on the authorization credential.
[0150] Optionally, after receiving the fourth request information, the credential issuing device may first authenticate the first network element that sent the fourth request information to determine whether the first network element is a trusted network element and whether the fourth request information has been tampered with. Only if the authentication of the first network element is successful can the credential issuing device generate an authorization credential for the first network element.
[0151] Optionally, the fourth request information may include at least one of the following information:
[0152] Business identification information;
[0153] identification information of the first network element;
[0154] The public key of the first network element;
[0155] Data identification information;
[0156] The third digital signature is obtained by signing the other information in the fourth request information using the private key of the first network element.
[0157] It should be understood that when the fourth request information includes the third digital signature, the credential issuing device can use the third digital signature to authenticate the first network element. The manner in which the credential issuing device authenticates the first network element includes the following:
[0158] The certificate issuing device uses the public key of the first network element to verify the third digital signature and obtain third verification information; if the third verification information is consistent with other information in the fourth request information except the third digital signature, the certificate issuing device determines that the identity authentication of the first network element is passed.
[0159] Optionally, the credential issuing device may maintain a public key list that stores identification information of multiple network elements and the public key corresponding to each network element. After receiving the fourth request information sent by the first network element, the credential issuing device may search the public key corresponding to the identification information of the first network element from the public key list. The credential issuing device then verifies the third digital signature based on the public key to obtain third verification information.
[0160] Optionally, if the fourth request information includes the public key of the first network element, the certificate issuing device may also verify the third digital signature based on the public key carried in the fourth request information to obtain third verification information. This embodiment of the application does not limit the identity authentication method of the first network element.
[0161] It should be understood that if the third verification information is consistent with other information in the fourth request information, excluding the third digital signature, the credential issuing device confirms that the first network element is a trusted network element and that the fourth request information has not been tampered with. If the third verification information is inconsistent with other information in the fourth request information, excluding the third digital signature, the credential issuing device may determine that the first network element is an untrusted network element and / or that the fourth request information has been tampered with by a third party. In this case, the credential issuing device may ignore the fourth request information and not perform further processing.
[0162] Optionally, before the credential issuing device generates the authorization credential of the first network element, an RSA accumulator parameter α may be generated for the first network element. The RSA accumulator parameter α of the first network element may be used to prove whether the authorization credential of the first network element is revoked.
[0163] Optionally, the authorization certificate generated by the certificate issuing device may include at least one of the following information:
[0164] Business identification information;
[0165] Identification information of the credential issuing device;
[0166] The public key of the credential issuing device;
[0167] identification information of the first network element;
[0168] The public key of the first network element;
[0169] RSA accumulator parameters corresponding to the first network element;
[0170] Data identification information;
[0171] First digital signature.
[0172] The first digital signature may be obtained by the certificate issuing device using its own private key to sign other information in the authorization certificate.
[0173] Optionally, referring to the flow chart shown in FIG5 , in an embodiment of the present application, the credential issuing device may further execute steps 530 and 540 after generating the authorization credential of the first network element.
[0174] Step 530: The certificate issuing device sends the authorization certificate of the first network element to the blockchain node;
[0175] Step 540: The credential issuing device receives the storage location information of the authorization credential sent by the blockchain node.
[0176] It is understood that the credential issuing device can send the generated authorization credential of the first network element to the blockchain node, and perform an on-chain operation on the authorization credential of the first network element to achieve distributed storage of the authorization credential. Furthermore, after receiving the authorization credential, the blockchain node can store the authorization credential in a storage block of the blockchain and feedback the storage location information to the credential issuing device.
[0177] Optionally, as shown in FIG5 , step 540 may further include the following steps:
[0178] Step 550: The credential issuing device sends the authorization credential to the first network element, and / or stores the location information.
[0179] It is understood that after generating the authorization credential, the credential issuing device may send the generated authorization credential to the requesting party, i.e., the first network element. The credential issuing device may also send the storage location information of the authorization credential in the storage block to the first network element, and the first network element may request the authorization credential from the blockchain node based on the storage location information when needed.
[0180] In summary, in the security implementation method provided in the embodiments of the present application, the credential generation device can generate an authorization credential for the first network element upon request, and store the authorization credential in a distributed manner. In this way, the first network element or terminal device can request the authorization credential from the blockchain node for distributed verification. This means that the authorization of perception data can be performed in parallel for the same type of services in different geographic locations, improving the efficiency of perception data authorization.
[0181] The following describes the embodiments of the present application in combination with specific application scenarios.
[0182] Application scenario 1:
[0183] In application scenario 1, the first network element may be a perception server, and the credential issuing device may be an application provider CA. Referring to the flowchart shown in FIG6 , the security implementation method provided in the embodiment of the present application may be implemented by the following steps:
[0184] Step 601: The perception server Server sends a credential request message to the application provider CA.
[0185] In this embodiment, the credential request information is used to request the authorization credential of the perception server Server. The credential request information may include ID server 、pk server 、ID SP 、Type server , and Sig server At least one of the .
[0186] Among them, ID server pk is the identification information of the perception server. server The public key of the perception server, ID SP For business identification information, Type server For data identification information, Sig server The digital signature of the perception server. server The server uses its own private key to identify the server 、pk server 、ID SP 、Type server One or more signatures are obtained.
[0187] Step 602: The application provider CA generates an authorization certificate for the perception server Server.
[0188] Optionally, the application provider CA may authenticate the perception server that sends the request information.
[0189] Specifically, the application provider CA can maintain a list of public keys that is used to store the usage ID sp All server IDs and public keys of the corresponding business types. The application provider CA can check the ID in the certificate request information. server Is it in the public key list? If so, get the ID server The corresponding public key.
[0190] Furthermore, the application provider CA uses ID server The corresponding public key pair Sig in the certificate request information serverIf the verification result is consistent with the other information in the credential request information, the server authentication is confirmed to be successful.
[0191] It should be noted that the embodiment of the present application does not limit the method of obtaining the public key list.
[0192] In this embodiment, the application provider CA can generate an authorization credential for the perception server Server based on the content in the credential request information. The authorization credential can be represented by Certsp->server.
[0193] Specifically, Certsp->server can include ID server 、pk server 、ID SP 、Type server 、pk SP , α server , and at least one of Sigsp->server. Among them, pk SP is the public key of the application provider CA, α server This is the RSA accumulator parameter generated by the application provider CA for the perception server sever. Sigsp->server is the ID of the application provider CA using its own private key. server 、pk server 、ID SP 、Type server 、pk SP , α server One or more signatures are obtained.
[0194] Step 603: The application provider CA sends the authorization certificate Certsp->server to the blockchain node.
[0195] Step 604: The application provider CA receives the storage location information BlockNum sent by the blockchain node. Cert .
[0196] Step 605: The application provider CA sends the storage location information BlockNum of the authorization credential to the perception server Server. Cert .
[0197] Optionally, the application provider CA may also send the authorization certificate Certsp->server directly to the perception server Server.
[0198] Step 606: The perception server Server receives the data according to the storage location information BlockNum Cert Get the authorization certificate Certsp->server from the blockchain node.
[0199] Optionally, the perception server Server can use the public key pk of the application provider CA SP Verify the authenticity of the obtained authorization credentials. Specifically, the perception server uses pk SP Verify Sigsp->server in the authorization certificate Certsp->server. If the verification result is consistent with other information in the authorization certificate Certsp->server, the authorization certificate is determined to be authentic.
[0200] Step 607: The perception server sends a perception data request to the UE.
[0201] In this embodiment, the perception data request may include an ID server 、ID UE 、pk server ,g,Certsp->server,Sig server '. Among them, ID UE Sig is the identification information of UE, g is the channel parameter, which is used to establish a trusted channel between the perception server and UE. server 'The server uses its own private key to identify server 、ID UE 、pk server ,g,One or more signatures in Certsp->server are obtained.
[0202] Step 608: The UE verifies the identity of the perception server.
[0203] Specifically, the UE can maintain a public key list that stores the identification information of multiple perception servers and the public key corresponding to each perception server. After the UE receives the perception data request sent by the perception server, it can search for the ID from the public key list. server The corresponding public key pk server . Then UE is based on pk server To Sig server 'Verify. If UE is based on pk server To Sig server If the verification result is consistent with the other information in the perception data request, the perception server is determined to be a trusted device. Otherwise, the UE determines that the verification has failed and does not perform further processing.
[0204] Step 609: After the UE verifies the identity of the perception server Server, it verifies Certsp->server and authorizes the transmission of perception data after the verification is successful.
[0205] In this embodiment, after the UE verifies the identity of the perception server Server, it further verifies Certsp->server. Specifically, the UE uses the public key pk SP Verify the digital signature Sigsp->server in Certsp->server. If the verification result is consistent with the other information in Certsp->server, it is determined that the perception server Server has the authority to obtain UE perception data. If the verification result is inconsistent with the other information in Certsp->server, no further processing is performed.
[0206] Optionally, if Certsp->server includes the RSA accumulator parameter α of the perception server Server server , then the terminal device can use α server Verify whether the Certsp->server is revoked. If so, no further processing is performed. If not, the UE may proceed to step 610.
[0207] Step 610: The UE sends perception data to the perception server.
[0208] It should be noted that in application scenario 1, steps 601 to 605 can be implemented separately, steps 606 to 610 can also be implemented separately, and steps 601 to 610 can be implemented together, and the embodiment of the present application does not limit this.
[0209] Application scenario 2:
[0210] In application scenario 2, the first network element may be a base station, and the certificate issuing device may be an application provider CA. The certificate issuing device may independently issue an authorization certificate to the base station. Referring to the flowchart shown in FIG7 , the process of the application provider CA issuing an authorization certificate to the base station may be implemented by the following steps:
[0211] Step 701: The base station sends a certificate request message to the application provider CA.
[0212] In this embodiment, the credential request information is used to request the authorization credential of the base station. The credential request information may include ID bs 、pk bs 、ID SP 、Type bs , and Sig bs At least one of the .
[0213] Among them, ID bs is the identification information of the base station, pk bsis the public key of the base station, ID SP For business identification information, Type bs For data identification information, Sig bs It is the digital signature of the base station. bs The base station uses its own private key to ID bs 、pk bs 、ID SP 、Type bs One or more signatures are obtained.
[0214] Step 702: The application provider CA generates an authorization certificate for the base station.
[0215] Optionally, the application provider CA may authenticate the base station that sends the request information.
[0216] Specifically, the application provider CA can maintain a list of public keys that is used to store the usage ID sp All base station IDs and corresponding public keys of the corresponding service types. The application provider CA can check the ID in the certificate request information bs Is it in the public key list? If so, get the ID bs The corresponding public key.
[0217] Furthermore, the application provider CA uses ID bs The corresponding public key pair Sig in the certificate request information bs If the verification result is consistent with the other information in the credential request information, the base station identity authentication is confirmed to be successful.
[0218] It should be noted that the embodiment of the present application does not limit the method of obtaining the public key list.
[0219] In this embodiment, the application provider CA can generate an authorization certificate for the base station based on the content in the certificate request information. The authorization certificate can be generated using Cert sp->bs express.
[0220] Specifically, Cert sp->bs Can include ID bs 、pk bs 、ID SP 、Type sbs 、pk SP , α bs , and Sig sp->bs At least one of them. Among them, pk SP is the public key of the application provider CA, α bs The RSA accumulator parameter generated by the application provider CA for the base station, Sig sp->bs For application provider CA, use your own private key to IDbs 、pk bs 、ID SP 、Type sbs 、pk SP , α bs One or more signatures are obtained.
[0221] Step 703: The application provider CA sends the authorization certificate Cert to the blockchain node. sp->bs .
[0222] Step 704: The application provider CA receives the storage location information BlockNum sent by the blockchain node. Cert .
[0223] Step 705: The application provider CA sends the storage location information BlockNum of the authorization certificate to the base station. Cert .
[0224] Optionally, the application provider CA can also send the authorization certificate Cert sp->bs Sent directly to the base station.
[0225] It should be noted that the base station in the above embodiment can also be replaced by a perception control network element.
[0226] Application Scenario 3
[0227] In application scenario three, the first network element may be a perception control network element, and the credential issuing device may be an application provider CA. The perception control network element may request the terminal device to authorize the transmission of perception data. Referring to the flowchart shown in FIG8 , the method in this embodiment of the application in which the perception control network element requests the terminal device to authorize the transmission of perception data may be implemented by the following steps:
[0228] Step 801: The perception control network element stores the location information BlockNum Cert Obtain the authorization certificate Certsp->server of the perception control network element from the blockchain node.
[0229] Optionally, the perception control network element can use the public key pk of the application provider CA SP Verify the authenticity of the obtained authorization certificate. Specifically, the perception control network element can use pk SP Verify Sigsp->server in the authorization certificate Certsp->server. If the verification result is consistent with other information in the authorization certificate Certsp->server, the authorization certificate is determined to be authentic.
[0230] Step 802: The perception control network element sends a perception data request to the UE.
[0231] In this embodiment, the perception data request may include an ID server 、ID UE 、pk server ,g,Certsp->server,Sig server '. Among them, ID server To sense the identification information of the control network element, ID UE is the identification information of UE, pk server Sig can be the public key of the perception control network element, and g is the channel parameter used to establish a trusted channel between the perception control network element and the UE. server 'It is the perception control network element that uses its own private key to ID server 、ID UE 、pk server ,g,One or more signatures in Certsp->server are obtained.
[0232] Optionally, the perception control network element can directly send the perception data request to the UE, or forward the perception data request to the UE through the AMF network element / AUSF network element. This embodiment of the present application does not limit this.
[0233] Step 803: The UE verifies the identity of the perception control network element.
[0234] Specifically, the UE can maintain a public key list that stores the identification information of multiple network elements and the public key corresponding to each network element. After the UE receives the perception data request sent by the perception control network element, it can search for the ID from the above public key list. server The corresponding public key pk server . Then UE is based on pk server To Sig server 'Verify. If UE is based on pk server To Sig server If the verification result is consistent with the other information in the perception data request, the perception control network element is determined to be a trusted device. Otherwise, the UE determines that the verification has failed and does not perform further processing.
[0235] Step 804: After the UE verifies the identity of the perception control network element, it verifies the Certsp->server and authorizes the transmission of perception data after the verification is successful.
[0236] In this embodiment, after the UE verifies the identity of the perception control network element, it further verifies Certsp->server. Specifically, the UE uses the public key pk SPVerify the digital signature Sigsp->server in Certsp->server. If the verification result is consistent with the other information in Certsp->server, the perception control network element is determined to have the authority to obtain UE perception data. If the verification result is inconsistent with the other information in Certsp->server, no further processing is performed.
[0237] Optionally, if Certsp->server includes the RSA accumulator parameter α of the perception control network element server , then the UE can use α server Verify whether the Certsp->server is revoked. If so, no further processing is performed. If not, the UE may proceed to step 805.
[0238] Step 805: The UE sends the sensing data to the sensing collection entity.
[0239] Optionally, the UE may send the perception data directly to the perception collection entity, or the UE may forward the perception data to the perception collection entity through the UPF. This embodiment of the present application does not impose any restrictions on this.
[0240] Application scenario four:
[0241] In application scenario 4, the first network element may be a perception server Sever, and the credential issuing device may be an application provider CA. The terminal device may actively obtain the authorization credential of the perception server Sever for verification. Referring to the flowchart shown in FIG9 , the following steps may be included:
[0242] Step 901: UE stores location information BlockNum Cert Obtain the authorization certificate Certsp->server of the perception control network element from the blockchain node.
[0243] Optionally, the UE can use the public key pk of the application provider CA SP Verify the authenticity of the obtained authorization certificate. Specifically, the UE can use pk SP Verify Sigsp->server in the authorization certificate Certsp->server. If the verification result is consistent with other information in the authorization certificate Certsp->server, the authorization certificate is determined to be authentic.
[0244] Step 902: The UE is triggered to periodically upload sensing data.
[0245] It should be noted that step 901 can be executed before step 902 or after step 902. The embodiment of the present application does not limit the execution order of the two steps.
[0246] Step 903: The UE verifies Certsp->server and authorizes the transmission of sensing data after the verification is successful.
[0247] Specifically, the UE can use the public key pk of the certificate issuing device SP Verify the digital signature Sigsp->server in Certsp->server. If the verification result is consistent with the other information in Certsp->server, the perception control network element is determined to have the authority to obtain UE perception data. If the verification result is inconsistent with the other information in Certsp->server, no further processing is performed.
[0248] Optionally, if Certsp->server includes the RSA accumulator parameter α of the perception control network element server , then the UE can use α server Verify whether the Certsp->server is revoked. If so, no further processing is performed. If not, the UE may proceed to step 904.
[0249] Step 904: The UE sends the perception data to the perception server.
[0250] Optionally, the above-mentioned perception server can be replaced by a base station, and accordingly, Certsp->server can be replaced by Cert sp->bs .
[0251] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all fall within the scope of protection of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will no longer describe the various possible combinations separately. For another example, the various different embodiments of the present application can also be arbitrarily combined, as long as they do not violate the idea of the present application, they should also be regarded as the contents disclosed in the present application. For another example, under the premise of no conflict, the various embodiments and / or the technical features in each embodiment described in the present application can be arbitrarily combined with the prior art, and the technical solution obtained after the combination should also fall within the scope of protection of the present application.
[0252] It should also be understood that in the various method embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. In addition, in the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three types of relationships can exist. Specifically, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the related objects before and after are in an "or" relationship.
[0253] FIG10 is a schematic diagram of the structure of a security implementation apparatus 1000 provided in an embodiment of the present application, which is applied to a terminal device. As shown in FIG10 , the security implementation apparatus 1000 includes:
[0254] The first receiving unit 1001 is configured to obtain an authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the terminal device is authorized to transmit the sensing data; the authorization certificate includes a first digital signature;
[0255] The authorization unit 1002 is configured to authorize the transmission of the perception data if the authorization credential is verified successfully based on the first digital signature.
[0256] Optionally, the authorization certificate further includes at least one of the following:
[0257] Business identification information;
[0258] Identification information of the credential issuing device;
[0259] the public key of the credential issuing device;
[0260] identification information of the first network element;
[0261] a public key of the first network element;
[0262] RSA accumulator parameters corresponding to the first network element;
[0263] Data identification information.
[0264] Optionally, the first digital signature is signed by the private key of the certificate issuing device; the security implementation device 1000 also includes a first verification unit, which is configured to use the public key of the certificate issuing device to verify the first digital signature to obtain first verification information; if the first verification information is consistent with other information in the authorization certificate except the first digital signature, it is determined that the authorization certificate verification has passed.
[0265] Optionally, the authorization certificate further includes an RSA accumulator parameter corresponding to the first network element;
[0266] The authorization unit 1002 is also configured to verify whether the authorization certificate of the first network element is revoked based on the RSA accumulator parameters when the authorization certificate is verified successfully using the public key of the certificate issuing device; if the authorization certificate is not revoked, the terminal device authorizes the transmission of the perception data.
[0267] Optionally, the authorization certificate also includes service identification information; the service identification information is used to indicate the service type of the perception data to be authorized; the first verification unit is also configured to verify the authorization certificate based on the first digital signature when the terminal device supports the service type.
[0268] Optionally, the security implementation device 1000 further includes a first sending unit configured to send perception data corresponding to the perception service type.
[0269] Optionally, the first receiving unit 1001 is further configured to receive a first request message sent by the first network element, the first request message being used to request authorization from the terminal device to transmit the perception data; the first request message includes the authorization credential; and the authorization credential is obtained from the first request message.
[0270] Optionally, the first receiving unit 1001 is further configured to obtain the authorization credential from the first request information when the identity authentication of the first network element is passed.
[0271] Optionally, the first request information also includes a second digital signature signed by the private key of the first network element; the verification unit is also configured to use the public key of the first network element to verify the second digital signature to obtain second verification information; if the second verification information is consistent with other information in the authorization certificate of the first request information except the second digital signature, it is determined that the identity authentication of the first network element is passed.
[0272] Optionally, the first sending unit is configured to send a second request message to the blockchain node, where the second request message is used to request an authorization credential of the first network element; the authorization credential is stored in a block of the blockchain node; and the second request message includes storage location information of the authorization credential in the blockchain node;
[0273] Optionally, the first sending unit is further configured to send the perception data according to a preset time period.
[0274] FIG11 is a schematic diagram of the structure of a security implementation device 1100 provided in an embodiment of the present application, which is applied to a first network element. As shown in FIG11 , the security implementation device 1100 includes:
[0275] The second sending unit 1101 is configured to send a first request message to the terminal device; the first request message is used to request the terminal device to authorize the transmission of perception data; the first request message includes the authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the transmission of perception data is authorized; the authorization certificate is verified by the first digital signature included therein.
[0276] Optionally, the first request information further includes at least one of the following:
[0277] identification information of the first network element;
[0278] identification information of the terminal device;
[0279] Channel parameters; the channel parameters are used to establish a trusted channel between the first network element and the terminal device;
[0280] a public key of the first network element;
[0281] The second digital signature is used by the terminal device to verify the identity of the first network element; the second digital signature is obtained by signing other information in the first request information using the private key of the first network element.
[0282] Optionally, the second sending unit 1101 is further configured to send a third request message to the blockchain node; the third request message is used to request an authorization credential of the first network element; the authorization credential is stored in a block of the blockchain node; the third request message includes storage location information of the authorization credential in the blockchain node;
[0283] The security implementation device 1101 also includes a second receiving unit configured to receive the authorization certificate sent by the blockchain node.
[0284] Optionally, the second sending unit 1101 is further configured to send fourth request information to the credential issuing device; the fourth request information is used to request an authorization credential of the first network element.
[0285] Optionally, the fourth request information includes at least one of the following:
[0286] Business identification information;
[0287] identification information of the first network element;
[0288] a public key of the first network element;
[0289] Data identification information;
[0290] The third digital signature is obtained by signing other information in the fourth request information using the private key of the first network element.
[0291] Optionally, the second receiving unit is further configured to receive the authorization credential sent by the credential issuing device, and / or storage location information of the authorization credential.
[0292] FIG12 is a schematic diagram of the structure of a security implementation apparatus 1200 provided in an embodiment of the present application, which is applied to a credential issuing device. As shown in FIG12 , the security implementation apparatus 1200 includes:
[0293] The third receiving unit 1201 is configured to receive a fourth request message sent by the first network element; the fourth request message is used to request an authorization credential of the first network element; the authorization credential is used by the terminal device to verify whether the transmission of the sensing data is authorized;
[0294] The credential generation unit 1202 is configured to generate an authorization credential for the first network element.
[0295] Optionally, the authorization credential includes at least one of the following:
[0296] Business identification information;
[0297] identification information of the credential issuing device;
[0298] the public key of the credential issuing device;
[0299] identification information of the first network element;
[0300] a public key of the first network element;
[0301] RSA accumulator parameters corresponding to the first network element;
[0302] Data identification information;
[0303] First digital signature.
[0304] Optionally, the credential generating unit 1202 is further configured to, when the identity authentication of the first network element is passed, generate, by the credential issuing device, an authorization credential for the first network element.
[0305] Optionally, the fourth request information includes a third digital signature; the third digital signature is signed by the private key of the first network element.
[0306] Optionally, the security implementation device 1200 also includes a second verification unit, which is configured to verify the third digital signature based on the public key of the first network element to obtain third verification information; if the third verification information is consistent with other information in the fourth request information except the third digital signature, it is determined that the identity authentication of the first network element is passed.
[0307] Optionally, the security implementation device 1200 further includes a third sending unit configured to send the authorization certificate to the blockchain node;
[0308] The third receiving unit 1201 is further configured to receive the storage location information of the authorization certificate sent by the blockchain node.
[0309] Optionally, the third sending unit is further configured to send the authorization certificate and / or the storage location information to the first network element.
[0310] Those skilled in the art should understand that the relevant description of the above-mentioned security implementation device in the embodiment of the present application can be understood with reference to the relevant description of the security implementation method in the embodiment of the present application.
[0311] Figure 13 is a schematic diagram of a communication device 1300 provided in an embodiment of the present application. The communication device can be a terminal device, a first network element, or a credential issuing device. The communication device 1300 shown in Figure 13 includes a processor 1310, which can call and execute a computer program from a memory to implement the method in the embodiment of the present application.
[0312] Optionally, as shown in FIG13 , the communication device 1300 may further include a memory 1320. The processor 1310 may call and execute a computer program from the memory 1320 to implement the method in the embodiment of the present application.
[0313] The memory 1320 may be a separate device independent of the processor 1310 , or may be integrated into the processor 1810 .
[0314] Optionally, as shown in FIG13 , the communication device 1300 may further include a transceiver 1330 , and the processor 1310 may control the transceiver 1330 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices.
[0315] The transceiver 1330 may include a transmitter and a receiver. The transceiver 1330 may further include an antenna, and the number of antennas may be one or more.
[0316] Optionally, the communication device 1300 may specifically be a terminal device of an embodiment of the present application, and the communication device 1300 may implement the corresponding processes implemented by the terminal device in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0317] Optionally, the communication device 1300 may specifically be the first network element of the embodiment of the present application, and the communication device 1300 may implement the corresponding processes implemented by the first network element in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0318] Optionally, the communication device 1300 may specifically be a certificate issuing device in an embodiment of the present application, and the communication device 1300 may implement the corresponding processes implemented by the certificate issuing device in each method in the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0319] Figure 14 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 1400 shown in Figure 14 includes a processor 1410, which can call and run a computer program from a memory to implement the method according to the embodiment of the present application.
[0320] Optionally, as shown in FIG14 , the chip 1400 may further include a memory 1420 , wherein the processor 1410 may call and execute a computer program from the memory 1420 to implement the method in the embodiment of the present application.
[0321] The memory 1420 may be a separate device independent of the processor 1410 , or may be integrated into the processor 1410 .
[0322] Optionally, the chip 1400 may further include an input interface 1430. The processor 1410 may control the input interface 1430 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0323] Optionally, the chip 1400 may further include an output interface 1440. The processor 1410 may control the output interface 1440 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0324] Optionally, the chip can be applied to the terminal device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0325] Optionally, the chip can be applied to the first network element in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the first network element in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0326] Optionally, the chip can be applied to the credential issuing device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the credential issuing device in each method of the embodiment of the present application. For the sake of brevity, it will not be repeated here.
[0327] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0328] FIG15 is a schematic block diagram of a communication system 1500 provided in an embodiment of the present application. As shown in FIG15 , the communication system 1500 includes a terminal device 1510 , a first network element 1520 , and a certificate issuing device 1530 .
[0329] Among them, the terminal device 1510 can be used to implement the corresponding functions implemented by the terminal device in the above method, the first network element 1520 can be used to implement the corresponding functions implemented by the first network element in the above method, and the certificate issuing device 1530 can be used to implement the corresponding functions implemented by the certificate issuing device in the above method. For the sake of brevity, they will not be repeated here.
[0330] It should be understood that the processor of the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by hardware integrated logic circuits in the processor or software instructions. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0331] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0332] It should be understood that the above-mentioned memories are exemplary but not restrictive. For example, the memories in the embodiments of the present application may also be static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM RAM (DR RAM), etc. In other words, the memories in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0333] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.
[0334] Optionally, the computer-readable storage medium can be applied to the terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0335] Optionally, the computer-readable storage medium can be applied to the first network element in the embodiment of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the first network element in the various methods of the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0336] Optionally, the computer-readable storage medium can be applied to the credential issuing device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the credential issuing device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0337] An embodiment of the present application also provides a computer program product, including computer program instructions.
[0338] Optionally, the computer program product can be applied to the terminal device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0339] Optionally, the computer program product can be applied to the first network element in the embodiment of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the first network element in the various methods of the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0340] Optionally, the computer program product can be applied to the credential issuing device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the credential issuing device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0341] The embodiment of the present application also provides a computer program.
[0342] Optionally, the computer program can be applied to the terminal device in the embodiments of the present application. When the computer program runs on the computer, the computer executes the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0343] Optionally, the computer program can be applied to the first network element in the embodiment of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the first network element in the various methods of the embodiment of the present application. For the sake of brevity, they are not repeated here.
[0344] Optionally, the computer program can be applied to the credential issuing device in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the credential issuing device in the various methods of the embodiments of the present application. For the sake of brevity, they are not described here.
[0345] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0346] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0347] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0348] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0349] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0350] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute 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.
[0351] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A security implementation method, comprising: The terminal device obtains the authorization certificate of the first network element; The authorization certificate is used by the terminal device to verify whether the transmission of the sensing data is authorized; The authorization certificate includes a first digital signature; In a case where the authorization credential is verified successfully based on the first digital signature, the terminal device authorizes transmission of the perception data.
2. The method according to claim 1, wherein The authorization certificate also includes at least one of the following: Business identification information; Identification information of the credential issuing device; the public key of the credential issuing device; identification information of the first network element; a public key of the first network element; RSA accumulator parameters corresponding to the first network element; Data identification information.
3. The method according to claim 1 or 2, wherein: The first digital signature is signed by a private key of a credential issuing device; the method further comprises: The terminal device verifies the first digital signature using the public key of the certificate issuing device to obtain first verification information; If the first verification information is consistent with other information in the authorization certificate except the first digital signature, the terminal device determines that the authorization certificate verification is successful.
4. The method according to any one of claims 1 to 3, wherein: The authorization certificate also includes an RSA accumulator parameter corresponding to the first network element; The step of authorizing, by the terminal device, transmitting the sensing data when the authorization credential is verified successfully based on the first digital signature includes: In a case where the authorization credential is verified successfully based on the first digital signature, the terminal device verifies whether the authorization credential of the first network element is revoked based on the RSA accumulator parameter; If the authorization credential has not been revoked, the terminal device authorizes the transmission of the sensing data.
5. The method according to any one of claims 1 to 4, wherein: The authorization credential includes service identification information and / or data identification information; the service identification information is used to indicate the service type of the sensing data to be authorized; The data identification information is used to indicate the data type of the perception data; The method further comprises: In a case where the terminal device supports the service type and / or the data type, the terminal device verifies the authorization certificate based on the first digital signature.
6. The method according to claim 5, wherein: After the terminal device authorizes transmission of the sensing data, the method further includes: The terminal device sends perception data corresponding to the perception service type.
7. The method according to any one of claims 1 to 6, wherein: The terminal device obtains the authorization certificate of the first network element, including: The terminal device receives a first request message sent by the first network element, where the first request message is used to request the terminal device to be authorized to transmit the sensing data; the first request message includes the authorization certificate; The terminal device obtains the authorization certificate from the first request information.
8. The method according to claim 7, wherein: The first request information further includes at least one of the following: identification information of the first network element; identification information of the terminal device; Channel parameters; the channel parameters are used to establish a trusted channel between the first network element and the terminal device; a public key of the first network element; The second digital signature is used by the terminal device to verify the identity of the first network element; the second digital signature is obtained by signing other information in the first request information using the private key of the first network element.
9. The method according to claim 7 or 8, wherein The terminal device obtains the authorization credential from the first request information, including: When the identity authentication of the first network element is passed, the terminal device obtains the authorization credential from the first request information.
10. The method according to claim 9, wherein: The first request information also includes a second digital signature signed by the private key of the first network element; The method further comprises: The terminal device verifies the second digital signature using the public key of the first network element to obtain second verification information; If the second verification information is consistent with other information in the first request information except the second digital signature, it is determined that the first network element identity authentication is passed.
11. The method according to any one of claims 1 to 6, wherein: The terminal device obtains the authorization certificate, including: The terminal device sends a second request message to the blockchain node, where the second request message is used to request an authorization credential of the first network element; the authorization credential is stored in a block of the blockchain node; and the second request message includes storage location information of the authorization credential in the blockchain node; The terminal device receives the authorization certificate sent by the blockchain node.
12. The method according to claim 11, wherein The method further comprises: The terminal device sends the sensing data according to a preset time period.
13. A security implementation method, comprising: The first network element sends first request information to the terminal device; The first request information is used to request authorization from the terminal device to transmit the sensing data; The first request information includes the authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the terminal device is authorized to transmit the perception data; the authorization certificate is verified by the first digital signature included therein.
14. The method according to claim 13, wherein The first request information further includes at least one of the following: identification information of the first network element; identification information of the terminal device; Channel parameters; the channel parameters are used to establish a trusted channel between the first network element and the terminal device; a public key of the first network element; The second digital signature is used by the terminal device to verify the identity of the first network element; the second digital signature is obtained by signing other information in the first request information using the private key of the first network element.
15. The method according to claim 13 or 14, wherein: Before the first network element sends the first request information to the terminal device, the method further includes: The first network element sends a third request message to the blockchain node; the third request message is used to request an authorization credential of the first network element; the authorization credential is stored in a block of the blockchain node; the third request message includes storage location information of the authorization credential in the blockchain node; The first network element receives the authorization certificate sent by the blockchain node.
16. The method according to claim 15, wherein Before the first network element sends the third request to the blockchain node, the method further includes: The first network element sends a fourth request message to the credential issuing device; the fourth request message is used to request an authorization credential of the first network element.
17. The method according to claim 16, wherein The fourth request information includes at least one of the following: Business identification information; identification information of the first network element; a public key of the first network element; Data identification information; The third digital signature is obtained by signing other information in the fourth request information using the private key of the first network element.
18. The method according to claim 16 or 17, wherein Also includes: The first network element receives the authorization certificate sent by the certificate issuing device and / or the storage location information of the authorization certificate.
19. A security implementation method comprising: The credential issuing device receives the fourth request information sent by the first network element; The fourth request information is used to request the authorization certificate of the first network element; The authorization certificate is used by the terminal device to verify whether the transmission of the sensing data is authorized; The credential issuing device generates an authorization credential for the first network element.
20. The method according to claim 19, wherein The authorization credential includes at least one of the following: Business identification information; identification information of the credential issuing device; the public key of the credential issuing device; identification information of the first network element; a public key of the first network element; RSA accumulator parameters corresponding to the first network element; Data identification information; First digital signature.
21. The method according to claim 19 or 20, wherein Also includes: In a case where the identity authentication of the first network element is passed, the credential issuing device generates an authorization credential for the first network element.
22. The method according to claim 21, wherein The fourth request information includes a third digital signature; the third digital signature is signed by the private key of the first network element; and the method further includes: The certificate issuing device verifies the third digital signature based on the public key of the first network element to obtain third verification information; If the third verification information is consistent with other information in the fourth request information except the third digital signature, the certificate issuing device determines that the identity authentication of the first network element is successful.
23. The method according to any one of claims 19 to 22, wherein: Also includes: The certificate issuing device sends the authorization certificate to the blockchain node; The credential issuing device receives the storage location information of the authorization credential sent by the blockchain node.
24. The method according to claim 23, wherein Also includes: The credential issuing device sends the authorization credential and / or the storage location information to the first network element.
25. A security implementation device, applied to a terminal device, comprising: A first obtaining unit is configured to obtain an authorization credential of the first network element; The authorization certificate is used by the terminal device to verify whether the transmission of the sensing data is authorized; The authorization certificate includes a first digital signature; The authorization unit is configured to authorize the transmission of the perception data if the authorization credential is verified successfully based on the first digital signature.
26. A security implementation device, applied to a first network element, comprising: A second sending unit is configured to send first request information to the terminal device; The first request information is used to request authorization from the terminal device to transmit the sensing data; The first request information includes the authorization certificate of the first network element; the authorization certificate is used by the terminal device to verify whether the terminal device is authorized to transmit the perception data; the authorization certificate is verified by the first digital signature included therein.
27. A security implementation device, applied to a credential issuing device, comprising: A third receiving unit is configured to receive fourth request information sent by the first network element; The fourth request information is used to request the authorization certificate of the first network element; The authorization certificate is used by the terminal device to verify whether the transmission of the sensing data is authorized; The credential generation unit is configured as an authorization credential of the first network element.
28. A terminal device comprising: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 11.
29. A first network element, comprising: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 12 to 17.
30. A credential issuing device comprising: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 18 to 24.
31. A chip, comprising: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the method according to any one of claims 1 to 12.
32. A chip comprising: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the method according to any one of claims 13 to 18.
33. A chip comprising: A processor, configured to call and execute a computer program from a memory, so that a device equipped with the chip executes the method according to any one of claims 19 to 24.
34. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 12.
35. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 13 to 18.
36. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 19 to 24.
37. A computer program product comprising computer program instructions for causing a computer to perform the method according to any one of claims 1 to 12.
38. A computer program product comprising computer program instructions for causing a computer to perform the method according to any one of claims 13 to 18.
39. A computer program product comprising computer program instructions for causing a computer to perform the method of any one of claims 19 to 24.
40. A computer program causing a computer to execute the method according to any one of claims 1 to 12.
41. A computer program causing a computer to execute the method according to any one of claims 13 to 18.
42. A computer program causing a computer to perform the method of any one of claims 19 to 24.
