Communication authentication method and communication authentication system of power system
By using blockchain technology to verify the identity and permissions of communication initiating devices in the power system and generating cross-domain secure communication strategies, the problem of inter-regional communication barriers in the power system is solved, and efficient cross-regional data interaction is achieved.
Patent Information
- Application Number
- CN202411465058.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the power distribution network scenario, communication barriers caused by differences in security strategies between different regions make it difficult to achieve cross-regional data interaction, forming an island problem.
By using blockchain technology, the identity and communication context information of the communication initiating device can be obtained, its legitimacy and permissions can be verified, cross-domain secure communication policies can be generated based on differences in security policies, and synchronized to electronic devices in the source and target regions, thus breaking down communication barriers between regions.
It enables communication authentication between different regions, reduces computational load, simplifies cross-domain access control policies, improves communication authentication efficiency, and ensures the confidentiality and integrity of data transmission.
Smart Images

Figure CN118972184A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a communication authentication method and a communication authentication system for a power system. Background Art
[0002] In the power distribution network scenario, the power system is divided into multiple areas. In order to protect the information security within the area, each area has established a set of security policies. The differences in security policies between different areas lead to interoperability barriers between different areas, making it difficult to achieve cross-regional data interaction, and the island problem is becoming increasingly prominent. Therefore, a communication authentication method is urgently needed to break the communication barriers between different areas. Summary of the invention
[0003] Based on this, the present invention provides a communication authentication method and a communication authentication system for an electric power system to solve the problem of communication barriers between different areas in the current electric power system.
[0004] To achieve the above object, an embodiment of the present invention provides a communication authentication method for a power system, comprising: When the communication response device determines that there is a potential risk in the current cross-domain communication based on the security policy difference information between the source area and the target area, the identity identification and communication context information of the communication initiating device are obtained; wherein the communication response device and the communication initiating device are electronic devices in different areas of the power system, the electronic devices of the power system serve as nodes of the blockchain, the source area is the area where the communication initiating device is located, the target area is the area where the communication response device is located, and the security policy difference information between different areas in the power system is pre-stored in the policy difference database; Verifying the identity and communication context information of the communication initiating device; After the verification is passed, if the blockchain does not have a cross-domain security communication policy corresponding to the source area and the target area, obtain the security policy to be processed; wherein the security policy to be processed includes the security policy of the source area associated with the security policy difference information, and the security policy of the target area associated with the security policy difference information; The smart contract is called to generate a cross-domain security communication strategy according to the pending security strategy, and the blockchain technology is used to synchronize all electronic devices in the source area and the target area to complete the communication authentication.
[0005] To achieve the above object, an embodiment of the present invention further provides a communication authentication system, including: Communication response equipment, used to obtain information on security policy differences between the source area and the target area to determine whether there is a potential risk in the current cross-domain communication; An authentication service node, used to obtain the identity and communication context information of a communication initiating device when there is a potential risk in the current cross-domain communication; wherein the communication response device and the communication initiating device are electronic devices in different areas of the power system, the electronic devices of the power system serve as nodes of the blockchain, the authentication service node is any node in the blockchain, the source area is the area where the communication initiating device is located, the target area is the area where the communication response device is located, and the security policy difference information between different areas in the power system is pre-stored in a policy difference database; The authentication service node is further used to verify the identity identification and communication context information of the communication initiating device; The authentication service node is further configured to, after verification, obtain a security policy to be processed if the blockchain does not have a cross-domain security communication policy corresponding to the source area and the target area; wherein the security policy to be processed includes the security policy of the source area associated with the security policy difference information, and the security policy of the target area associated with the security policy difference information; The authentication service node is also used to call the smart contract, generate a cross-domain security communication strategy based on the security policy to be processed, and synchronize all electronic devices in the source area and the target area using blockchain technology to complete communication authentication.
[0006] Compared with the prior art, the communication authentication method and communication authentication system of the power system disclosed in the embodiment of the present invention, first, when the communication response device determines that there is a potential risk in the current cross-domain communication based on the security policy difference information between the source area and the target area, the identity identification and communication context information of the communication initiating device are obtained; wherein the communication response device and the communication initiating device are electronic devices in different areas of the power system, the electronic devices of the power system serve as nodes of the blockchain, the source area is the area where the communication initiating device is located, the target area is the area where the communication response device is located, and the security policy difference information between different areas in the power system is pre-stored in the policy difference database; then, verify the identity and communication context information of the communication initiating device; after the verification is passed, if the blockchain does not have a cross-domain secure communication policy corresponding to the source area and the target area, obtain the security policy to be processed; wherein the security policy to be processed includes the security policy of the source area associated with the security policy difference information, and the security policy of the target area associated with the security policy difference information; finally, call the smart contract, generate a cross-domain secure communication policy according to the security policy to be processed, and synchronize it to all electronic devices in the source area and the target area using blockchain technology to complete communication authentication. It can be seen that the embodiment of the present invention verifies the identity and communication context information of the communication initiating device when it is determined that there is a potential risk in the current cross-domain communication based on the security policy difference information between the two areas, and after the verification is passed, the security policies associated with the security policy difference information of the two areas are obtained to negotiate and generate a cross-domain secure communication policy and synchronize it to all electronic devices in the two areas, completing communication authentication in different areas and breaking the communication barriers between different areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0008] Figure 1 It is a flow chart of a communication authentication method provided by an embodiment of the present invention; Figure 2 is a structural schematic diagram of a power system provided by an embodiment of the present invention; Figure 3 It is a structural diagram of a communication authentication device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0009] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0010] See also Figure 1 , is a flow chart of a communication authentication method for a power system provided by an embodiment of the present invention. Specifically, the communication authentication method for the power system includes steps S1 to S4: S1. When the communication response device determines that there is a potential risk in the current cross-domain communication based on the security policy difference information between the source area and the target area, the identity identification and communication context information of the communication initiating device are obtained; wherein the communication response device and the communication initiating device are electronic devices in different areas of the power system, the electronic devices of the power system serve as nodes of the blockchain, the source area is the area where the communication initiating device is located, the target area is the area where the communication response device is located, and the security policy difference information between different areas in the power system is pre-stored in the policy difference database.
[0011] It is worth noting that the power system is divided into multiple areas, each of which has multiple electronic devices, including smart meters, distribution automation equipment and other equipment. In a power system, all electronic devices serve as nodes in the blockchain to form a blockchain. In order to ensure information security within the region, each region has its own set of security policies, including but not limited to encryption policies, anti-virus policies, and third-party connection policies, etc. Among them, the encryption policy describes the region's security requirements for data encryption, and the anti-virus policy provides some guidelines for effectively reducing the threat of computer viruses to the region, clarifying which links require virus detection, and the third-party connection policy defines the security requirements for third-party access. The specific structure of the power system can be found in Figure 2 As shown, it is assumed that the power system 10 is divided into area 11, area 12 and area 13, and area 11 has multiple electronic devices 110, area 12 has multiple electronic devices 120, and area 13 has multiple electronic devices 130. It can be understood that the electronic devices in each area can be the same or different, which is not limited here.
[0012] Specifically, the communication initiating device and the communication responding device are electronic devices in different areas. The area where the communication initiating device is located is the source area, and the area where the communication responding device is located is the target area. Different areas are each set with corresponding security policies. The security policies of different areas are compared in advance to obtain the security policy difference information between different areas and store it in the policy difference database. The communication initiating device initiates a cross-domain communication request to the communication responding device, triggering the communication authentication process. The communication responding device queries the security policy difference information between the source area and the target area from the policy difference database, and determines whether there is a potential risk in the current cross-domain communication based on the queried information. If there is no potential risk, the communication initiating device and the communication responding device are allowed to communicate; for example, the security policy difference information between the source area and the target area is "the format types of the interactive data in the target area are partially the same as the format types of the interactive data in the source area" (for example, the electronic devices in the source area use XML or JSON format for data interaction, and the electronic devices in the target area use XML format for data interaction). Although the security policies of the source area and the target area are not exactly the same, a complete set of target security policies can be extracted after comparison and analysis of the security policies of the target area and the source area. This set of target security policies meets the requirements of the security policies of the target area and the source area. Therefore, it is considered that there is no potential risk in the current cross-domain communication, and the communication initiating device and the communication responding device negotiate and use a format that both have for data interaction; or when the security policies of the source area and the target area are exactly the same, it is considered that there is no potential risk. If there is a potential risk, obtain the identity identification and communication context information of the communication initiating device; for example, the security policy difference information between the source area and the target area is "the encryption method for data interaction between electronic devices in the source area is completely different" (for example, the data interaction between electronic devices in the source area is encrypted using encryption method A, and the data interaction between electronic devices in the target area is encrypted using encryption method B); or when the security policies of the source area and the target area are not exactly the same, it is considered that there is a potential risk.
[0013] S2. Verify the identity identification and communication context information of the communication initiating device.
[0014] Specifically, first, based on the pre-established device identity database (the device identity database records the identities of all legal electronic devices in the power system), it is determined whether there is an identity of the communication initiating device in the device identity database. If it exists, it means that the communication initiating device is a legal device. If it does not exist, it means that the communication initiating device is not a legal device, the verification fails, and the communication initiating device and the communication response device cannot communicate. Then, after the identity of the communication initiating device is verified, based on the preset communication authority rules of the source area (the communication authority rules limit the communication authority between the source area and other areas), it is determined whether the communication authority in the communication context information meets the requirements. If both the identity authentication and the authority check are passed, step S3 is executed; if the identity authentication or the authority check fails, the communication initiating device and the communication response device cannot communicate. Finally, through the consensus mechanism of the blockchain, the verification result is recorded in the blockchain.
[0015] S3. After the verification is passed, if the blockchain does not have a cross-domain security communication policy corresponding to the source area and the target area, obtain the security policy to be processed; wherein the security policy to be processed includes the security policy of the source area associated with the security policy difference information, and the security policy of the target area associated with the security policy difference information.
[0016] S4. Call the smart contract to generate a cross-domain security communication strategy based on the pending security policy, and use blockchain technology to synchronize all electronic devices in the source area and the target area to complete communication authentication.
[0017] Specifically, after the identity identification and communication context information of the communication initiating device are verified, if the cross-domain security communication policies corresponding to the source area and the target area are not recorded in the blockchain, the specific security policies (i.e., the security policies to be processed) that differ between the source area and the target area are determined based on the security policy difference information between the source area and the target area recorded in the policy difference database. For example, if the security policy difference information between the source area and the target area shows that the encryption policies of the two areas are different, the encryption policy of the source area and the encryption policy of the target area are obtained, and the pre-deployed smart contract is called to automatically negotiate the cross-domain security communication policies of the source area and the target area according to the encryption policy of the source area and the encryption policy of the target area, and the negotiated cross-domain security communication policies are packaged into blocks, which are synchronized to all electronic devices in the source area and the target area through blockchain technology to complete communication authentication. Among them, the cross-domain security communication policy can include key parameters such as communication data encryption keys and session validity periods, which are used to guide electronic devices in the source area and electronic devices in the target area to establish a secure communication channel, encrypt and protect subsequently transmitted data, and ensure the confidentiality and integrity of the communication data.
[0018] It should be noted that the interaction of business data generated by electronic devices in different regions during the formal communication process is not directly related to the blockchain, and the business data will not become on-chain data. Only data related to the communication authentication process will be converted into on-chain data, such as cross-domain secure communication strategies.
[0019] Compared with the prior art, this embodiment verifies the identity and communication context information of the communication initiating device when it is determined that there is a potential risk in the current cross-domain communication based on the security policy difference information between the two regions, and after the verification is passed, the security policies associated with the security policy difference information of the two regions are obtained to negotiate and generate a cross-domain security communication strategy and synchronize it to all electronic devices in the two regions, thereby completing communication authentication in different regions and breaking the communication barriers between different regions. It is worth noting that the method is applied to the power system, and the electronic devices that perform data interaction in the power system are relatively fixed and limited in number. Therefore, the security policies of each region can be compared and analyzed in advance, and the security policy difference information between each region can be pre-stored. When communication authentication is required, the security policy to be processed is obtained based on the pre-stored security policy difference information, and the cross-domain security communication strategy is formulated only according to the security policy to be processed, and there is no need to obtain all security policies of the source region and the target region to formulate the cross-domain security communication strategy, which reduces the calculation amount of communication authentication and simplifies the cross-domain access control strategy.
[0020] In a preferred embodiment, based on the above steps S1 to S4, the method is applied to an authentication service node, which is an idle electronic device in the power system and the computing power resources of the authentication service node are greater than the set computing power resources.
[0021] Specifically, after the communication response device currently has potential risks in cross-domain communication, it sends an authentication request to the authentication service node in the power system. The authentication service node responds to the authentication request, obtains the identity identification and communication context information of the communication initiating device to verify the communication initiating device. After the verification is passed, if the authentication service node does not have a corresponding cross-domain security communication strategy in the blockchain, it obtains the pending security strategy, calls the smart contract to generate a cross-domain security communication strategy, and synchronizes the cross-domain security communication strategy to all electronic devices in the source area and the target area through blockchain technology.
[0022] It is worth noting that there are multiple authentication service nodes set up in the power system, and the multiple authentication service nodes are distributed in different areas; the idle time proportion of the authentication service node is larger than that of most electronic equipment in its area, and its computing power resources are greater than the set computing power resources. The busy time of each authentication service node is staggered. When communication authentication is required, the currently most idle node is selected from all the authentication service nodes to perform the communication authentication operation, thereby improving the communication authentication efficiency.
[0023] In a preferred embodiment, based on the above steps S1 to S4, the method further includes: After the verification is passed, if the blockchain has a cross-domain secure communication policy corresponding to the source area and the target area, the communication initiating device and the communication response device are controlled to establish a secure communication channel so that the communication initiating device and the communication response device can perform cross-domain communication in the secure communication channel according to the cross-domain secure communication policy.
[0024] Specifically, when the verification result of the identity identification and communication context information of the communication initiating device is passed, check whether the blockchain has a cross-domain secure communication policy corresponding to the source area and the target area. If so, control the communication device and the communication response device to directly establish a secure communication channel and communicate using the cross-domain secure communication policy. If not, it is necessary to call the smart contract to generate a cross-domain secure communication policy corresponding to the source area and the target area and store it in the blockchain. The cross-domain secure communication policy can be directly applied later without having to regenerate it each time, which reduces resource consumption and improves communication authentication efficiency.
[0025] Furthermore, when the security policy in the first area changes, the cross-domain security communication policy related to the first area in the blockchain is deleted; wherein the first area is any one of all areas of the power system.
[0026] Specifically, when the security policy of the first area changes, the previously generated cross-domain security communication policy related to the first area may become invalid, so it is necessary to delete the cross-domain security communication policy related to the first area in the blockchain.
[0027] In a preferred implementation, based on the above steps S1 to S4, the security policy difference information is stored in the policy difference database in the following manner: Obtaining security strategies for various areas in the power system; Compare and analyze the security policies of different regions to obtain the difference information of security policies between different regions; The security policy difference information between different areas is stored in the policy difference database.
[0028] Exemplarily, the security policies of each area are obtained through web crawler technology, and the security policies include multiple policy information. A text similarity algorithm is used to compare and analyze the same type of policy information in area A and area B, and the similarity threshold is set to 8. If the similarity between a certain policy information in area A and area B is lower than the similarity threshold, it is determined that there is an interoperability barrier between area A and area B in this type of policy information. By comparing and analyzing all security policies in area A and area B, the security policy difference information between area A and area B is obtained, and the security policy difference information is stored in a policy difference database.
[0029] Further, the communication response device determines whether the current cross-domain communication has the potential risk by: receiving a cross-domain communication request initiated by the communication initiating device, and extracting a region identifier of the source region and a region identifier of the target region from the cross-domain communication request; querying security policy difference information between the source area and the target area from a policy difference database according to the area identifier of the source area and the area identifier of the target area; Determine whether there is a potential risk in the current cross-domain communication according to the security policy difference information between the source area and the target area.
[0030] Specifically, the communication initiating device initiates a cross-domain communication request to the communication responding device, and the communication responding device parses the received cross-domain communication request to obtain information such as the area identifier of the source area, the area identifier of the target area, the communication context information and identity identifier of the communication initiating device, and searches the policy difference database for corresponding security policy difference information based on the area identifier of the source area and the area identifier of the target area, and determines whether there is a potential risk in the current cross-domain communication based on the found security policy difference information.
[0031] In a preferred embodiment, based on the above steps S1 to S4, the method further includes: When the security policy in the first area changes, the changed security policy in the first area is compared and analyzed with the security policies in other areas except the first area to obtain security policy difference information between the first area and other areas; wherein the first area is any area in all areas of the power system; The policy difference database is updated according to the security policy difference information between the first area and other areas.
[0032] Specifically, when the security policy of the first area changes, such as when the first area adds, deletes or modifies policy information, the previously generated security policy difference information related to the first area will become invalid. Therefore, it is necessary to compare and analyze the changed security policy of the first area with the security policies of other areas to obtain the latest security policy difference information between the first area and other areas, so as to update the policy difference database.
[0033] In a preferred implementation, based on the above steps S1 to S4, the verification of the identity identification and communication context information of the communication initiating device includes: The legitimacy of the identity of the communication initiating device is judged according to a pre-established device identity database to obtain an identity authentication result; Based on the preset communication authority rules of the communication response device, judging whether the current cross-domain communication meets the authority requirements according to the identity identification and communication context information of the communication initiating device, and obtaining an authority check result; Recording the identity verification result and the authority check result in the blockchain through the consensus mechanism of the blockchain; When the identity identifier of the communication initiating device is legal and the current cross-domain communication meets the permission requirement, determining that the verification is passed; When the identity identifier of the communication initiating device is legal or the current cross-domain communication does not meet the permission requirement, it is determined that the verification fails.
[0034] Specifically, when the communication response device determines that there is a potential risk in the current cross-domain communication, it generates an authentication request carrying the identity identification and communication context information of the communication initiating device to the authentication service node (the authentication service node is an idle electronic device in the power system), and the authentication service node verifies the identity identification and communication context information of the communication initiating device.
[0035] Exemplarily, the authentication service node verifies the identity and communication context information of the communication initiating device as follows: first, the identity of the communication initiating device contained in the authentication request (such as a unique identifier such as a device serial number or MAC address) is extracted, and compared with the device information in the pre-established device identity database, and the hash value of the identity in the authentication request is calculated using a hash algorithm, and the hash value of the corresponding device identity in the database is matched. The identity of the communication initiating device is considered to be legitimate only when the matching degree reaches more than 99%. Then the authentication service node extracts the communication context information of the communication initiating device from the authentication request (communication data type, communication frequency, communication time period, etc.), and uses a rule-based matching algorithm to compare it with the communication permission rules of the preset communication response device, and judges whether the cross-domain communication request initiated by the communication initiating device meets the permission requirements of the communication response device according to the comparison results. The authentication service node combines the identity authentication result and the permission check result into the verification result data in a certain format, and uses the consensus algorithm in the blockchain network (such as the practical Byzantine fault tolerance algorithm) to pass the verification result by more than two-thirds of the authentication service nodes, and records it in the blockchain to ensure that the verification result data cannot be tampered with and is traceable.
[0036] In one embodiment, after executing steps S1 to S4, a secure communication channel is established between the communication initiating device and the communication responding device, and during the cross-domain communication between the communication initiating device and the communication responding device, the network traffic of the current cross-domain communication is continuously monitored; Inputting the network traffic into a pre-trained normal communication behavior model for analysis to obtain a communication behavior analysis result; When the communication behavior analysis result is abnormal behavior, the communication behavior analysis result is recorded in the blockchain through the smart contract, and security measures are implemented.
[0037] Specifically, during the cross-domain communication process, the authentication service node in the blockchain continuously monitors the current cross-domain communication network traffic, analyzes the network traffic using the support vector machine algorithm, and calculates the deviation between the current cross-domain communication network traffic and the normal traffic. If the deviation exceeds the preset threshold, it is determined that abnormal behavior exists and corresponding security measures are taken to prevent possible risks.
[0038] Exemplarily, the blockchain obtains network traffic in real time and uses a pre-trained normal communication behavior model to detect anomalies in the real-time acquired network traffic. The normal communication behavior model is trained in the following way: by training 5,000 normal communication data samples and 1,000 abnormal communication data samples, a normal communication behavior model with an accuracy of 95% is constructed. According to the normal communication behavior model, the Mahalanobis distance between the network traffic and the normal traffic is calculated. When the Mahalanobis distance exceeds the set empirical threshold, it is considered that the current cross-domain communication has abnormal behavior. Throughout the process, the support vector machine algorithm, with its good classification performance, provides reliable data analysis support for the identification of abnormal behavior, ensuring the effectiveness of power system security protection.
[0039] In addition, the threat level of abnormal behavior is evaluated based on the Mahalanobis distance between network traffic and normal traffic. Finally, the corresponding security measures are determined according to the threat level, such as blocking malicious connections, limiting suspicious account permissions, etc., and an early warning notification is sent to the management system of the relevant area. The early warning notification contains detailed information about the abnormal behavior and recommended security measures. After receiving the early warning notification, the management system of the relevant area takes targeted security measures based on the security measures recommended in the early warning notification and the actual situation of the area, such as suspending the communication permissions of abnormal devices and isolating the affected areas, to curb the further spread of security threats. While taking preliminary security measures, the management system initiates the emergency response plan, establishes an emergency disposal team, organizes relevant personnel to carry out further security analysis and disposal work, assesses the scope of the incident, and formulates a detailed disposal plan. For example, the emergency disposal team uses the blockchain security audit algorithm according to the abnormal situation to conduct a deep security audit on the data of the relevant blocks, etc., to check for possible security risks, and provide a basis for subsequent security reinforcement; according to the results of the deep security audit, the emergency disposal team formulates and implements targeted security reinforcement measures, such as upgrading security strategies and repairing known system vulnerabilities, to further improve the information security of the power system.
[0040] Compared with the prior art, the method disclosed in the embodiment of the present invention, when determining that there is a potential risk in the current cross-domain communication based on the security policy difference information between the two areas, verifies the identity identification and communication context information of the communication initiating device, and after the verification is passed, obtains the security policies associated with the security policy difference information of the two areas to negotiate and generate a cross-domain security communication policy and synchronizes it to all electronic devices in the two areas, thereby completing communication authentication in different areas and breaking down the communication barriers between different areas.
[0041] The embodiment of the present invention further provides a communication authentication system, the communication authentication system comprising: Communication response equipment, used to obtain information on security policy differences between the source area and the target area to determine whether there is a potential risk in the current cross-domain communication; An authentication service node, used to obtain the identity and communication context information of a communication initiating device when there is a potential risk in the current cross-domain communication; wherein the communication response device and the communication initiating device are electronic devices in different areas of the power system, the electronic devices of the power system serve as nodes of the blockchain, the authentication service node is any node in the blockchain, the source area is the area where the communication initiating device is located, the target area is the area where the communication response device is located, and the security policy difference information between different areas in the power system is pre-stored in a policy difference database; The authentication service node is further used to verify the identity identification and communication context information of the communication initiating device; The authentication service node is further configured to, after verification, obtain a security policy to be processed if the blockchain does not have a cross-domain security communication policy corresponding to the source area and the target area; wherein the security policy to be processed includes the security policy of the source area associated with the security policy difference information, and the security policy of the target area associated with the security policy difference information; The authentication service node is also used to call the smart contract, generate a cross-domain security communication strategy based on the security policy to be processed, and synchronize all electronic devices in the source area and the target area using blockchain technology to complete communication authentication.
[0042] It is worth noting that the specific working process of the communication authentication system can refer to the working process of the communication authentication method described in the above embodiment, which will not be repeated here.
[0043] Compared with the prior art, the communication authentication system disclosed in the embodiment of the present invention verifies the identity identification and communication context information of the communication initiating device when it is determined that there is a potential risk in the current cross-domain communication based on the security policy difference information between the two areas. After the verification is passed, the system negotiates and generates a cross-domain security communication policy by obtaining the security policies associated with the security policy difference information of the two areas and synchronizes it to all electronic devices in the two areas, thereby completing communication authentication in different areas and breaking down the communication barriers between different areas.
[0044] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a communication authentication device provided by an embodiment of the present invention, wherein the communication authentication device comprises a processor 31, a memory 32, and a computer program stored in the memory 32 and configured to be executed by the processor 31. When the processor 31 executes the computer program, the steps in the above-mentioned communication authentication method embodiment are implemented, for example Figure 1 Steps S1 to S4 described in .
[0045] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 32 and executed by the processor 31 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the communication authentication device.
[0046] The communication authentication device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The communication authentication device may include, but is not limited to, a processor 31 and a memory 32. Those skilled in the art may understand that the communication authentication device may also include an input / output device, a network access device, a bus, etc.
[0047] The processor 31 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 31 is the control center of the communication authentication device, and uses various interfaces and lines to connect various parts of the entire communication authentication device.
[0048] The memory 32 can be used to store the computer program and / or module. The processor 31 implements various functions of the communication authentication device by running or executing the computer program and / or module stored in the memory 32 and calling the data stored in the memory 32. The memory 32 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory 32 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0049] Wherein, if the module integrated in the communication authentication device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor 31, the steps of the above-mentioned method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0050] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A communication authentication method for a power system, characterized in that: include: When the communication response device determines that there is a potential risk in the current cross-domain communication based on the security policy difference information between the source area and the target area, the identity identification and communication context information of the communication initiating device are obtained; wherein the communication response device and the communication initiating device are electronic devices in different areas of the power system, the electronic devices of the power system serve as nodes of the blockchain, the source area is the area where the communication initiating device is located, the target area is the area where the communication response device is located, and the security policy difference information between different areas in the power system is pre-stored in the policy difference database; Verifying the identity and communication context information of the communication initiating device; After the verification is passed, if the blockchain does not have a cross-domain security communication policy corresponding to the source area and the target area, obtain the security policy to be processed; wherein the security policy to be processed includes the security policy of the source area associated with the security policy difference information, and the security policy of the target area associated with the security policy difference information; The smart contract is called to generate a cross-domain security communication strategy according to the pending security strategy, and the blockchain technology is used to synchronize all electronic devices in the source area and the target area to complete the communication authentication.
2. The communication authentication method according to claim 1, characterized in that: The method is applied to an authentication service node, which is an idle electronic device in the power system and has a computing power resource greater than a set computing power resource.
3. The communication authentication method according to claim 1, characterized in that: The method further comprises: After the verification is passed, if the blockchain has a cross-domain secure communication policy corresponding to the source area and the target area, the communication initiating device and the communication response device are controlled to establish a secure communication channel so that the communication initiating device and the communication response device can perform cross-domain communication in the secure communication channel according to the cross-domain secure communication policy.
4. The communication authentication method according to claim 3, characterized in that: The method also includes: when the security policy in the first area changes, deleting the cross-domain security communication policy related to the first area in the blockchain; wherein the first area is any one area among all areas of the power system.
5. The communication authentication method according to claim 1, wherein: The security policy difference information is stored in the policy difference database in the following manner: Obtaining security strategies for various areas in the power system; Compare and analyze the security policies of different regions to obtain the difference information of security policies between different regions; The security policy difference information between different areas is stored in the policy difference database.
6. The communication authentication method according to claim 5, characterized in that: The communication response device determines whether the current cross-domain communication has the potential risk by: receiving a cross-domain communication request initiated by the communication initiating device, and extracting a region identifier of the source region and a region identifier of the target region from the cross-domain communication request; querying security policy difference information between the source area and the target area from a policy difference database according to the area identifier of the source area and the area identifier of the target area; Determine whether there is a potential risk in the current cross-domain communication according to the security policy difference information between the source area and the target area.
7. The communication authentication method according to claim 5, characterized in that: The method further comprises: When the security policy in the first area changes, the changed security policy in the first area is compared and analyzed with the security policies in other areas except the first area to obtain security policy difference information between the first area and other areas; wherein the first area is any area in all areas of the power system; The policy difference database is updated according to the security policy difference information between the first area and other areas.
8. The communication authentication method according to claim 1, wherein: The verifying the identity identification and communication context information of the communication initiating device includes: The legitimacy of the identity of the communication initiating device is judged according to a pre-established device identity database to obtain an identity authentication result; Based on the preset communication authority rules of the communication response device, judging whether the current cross-domain communication meets the authority requirements according to the identity identification and communication context information of the communication initiating device, and obtaining an authority check result; Recording the identity verification result and the authority check result in the blockchain through the consensus mechanism of the blockchain; When the identity identifier of the communication initiating device is legal and the current cross-domain communication meets the permission requirement, determining that the verification is passed; When the identity identifier of the communication initiating device is legal or the current cross-domain communication does not meet the permission requirement, it is determined that the verification fails.
9. The communication authentication method according to claim 3, characterized in that: The method further comprises: During the cross-domain communication between the communication initiating device and the communication responding device, continuously monitoring the network traffic of the current cross-domain communication; Inputting the network traffic into a pre-trained normal communication behavior model for analysis to obtain a communication behavior analysis result; When the communication behavior analysis result is abnormal behavior, the communication behavior analysis result is recorded in the blockchain through the smart contract, and security measures are implemented.
10. A communication authentication system, characterized in that: include: Communication response equipment, used to obtain information on security policy differences between the source area and the target area to determine whether there is a potential risk in the current cross-domain communication; An authentication service node, used to obtain the identity and communication context information of a communication initiating device when there is a potential risk in the current cross-domain communication; wherein the communication response device and the communication initiating device are electronic devices in different areas of the power system, the electronic devices of the power system serve as nodes of the blockchain, the authentication service node is any node in the blockchain, the source area is the area where the communication initiating device is located, the target area is the area where the communication response device is located, and the security policy difference information between different areas in the power system is pre-stored in a policy difference database; The authentication service node is further used to verify the identity identification and communication context information of the communication initiating device; The authentication service node is further configured to, after verification, obtain a security policy to be processed if the blockchain does not have a cross-domain security communication policy corresponding to the source area and the target area; wherein the security policy to be processed includes the security policy of the source area associated with the security policy difference information, and the security policy of the target area associated with the security policy difference information; The authentication service node is also used to call the smart contract, generate a cross-domain security communication strategy based on the security policy to be processed, and synchronize all electronic devices in the source area and the target area using blockchain technology to complete communication authentication.
Citation Information
Patent Citations
Environment monitoring method and correlation equipment
CN107679454A
Electric power Internet of Things cross-domain authentication method based on cross-chain technology
CN112019349A
Science and technology service platform cross-domain identity authentication scheme based on a block chain
CN113676447A
Power terminal cross-domain authentication mechanism based on block chain and credibility evaluation
CN115277182A
Private data cross-domain sharing method based on PURH-CP-ABE under block chain
CN115714669A
Cited By
Block chain-based information security intelligent management system and method
CN120639515A
