Security access method and device of power internet of things, and electronic equipment

By parsing the access authentication requests and data access requests of terminal devices, assessing risk credit levels and controlling access rights, the problem of many terminal devices and low security connected to the power Internet of Things is solved, improving the security of the power grid platform and preventing data leakage. .

CN118764283APending Publication Date: 2024-10-11CHINA SOUTHERN POWER GRID COMPANY +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410981331.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

There are many terminal devices connected to the power Internet of Things and the services are complex, making it difficult to protect. As a result, the security of the power grid platform is low, vulnerable to network attacks, and the safety of electricity cannot be guaranteed.

Method used

By obtaining the access authentication request of the terminal device, parsing and determining whether the device is safe, receiving the data access request, determining the risk credit level according to the request, and controlling access rights according to the level, using the autoregressive integral moving average model and encryption algorithm to evaluate the risk credit level. Ensure data access security.

Benefits of technology

It achieves double verification of the power Internet of Things, improves the security of terminal equipment, prevents data leakage, and enhances the overall security of the power grid platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764283A_ABST
    Figure CN118764283A_ABST
Patent Text Reader

Abstract

The invention provides a secure access method and device for a power internet of things, and electronic equipment. The method comprises the steps that an access authentication request sent by terminal equipment is acquired, the access authentication request is analyzed, whether the terminal equipment is safe or not is determined, and the access authentication request is a request for establishing communication connection between the terminal equipment and the power internet of things; under the condition that the terminal equipment is safe, a data access request sent by the terminal equipment is received, the risk credit level of the terminal equipment is determined according to the data access request, the data access request is a request for the terminal equipment to access data of the power Internet of Things, and the risk credit level represents the safety level of the terminal equipment; the higher the risk credit level is, the higher the safety of the terminal equipment is, and otherwise, the lower the safety of the terminal equipment is; and determining an access permission corresponding to the risk credit level, and controlling the terminal device to perform data access within the access permission range corresponding to the risk credit level. According to the invention, the security of the power Internet of Things is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of secure access to the power Internet of Things, and more specifically, to a secure access method for the power Internet of Things, a secure access device for the power Internet of Things, a computer-readable storage medium, and an electronic device. Background Art

[0002] At present, the power Internet of Things presents a wide distribution range of terminal devices and many types of terminal devices. For example, the terminal device side of the power Internet of Things includes the power supply side, the grid side and the user side. The power supply side includes conventional energy types and new energy types. Conventional energy types include hydropower stations, thermal power stations and nuclear power stations. New energy types include wind farms, photovoltaic farms and biomass. The grid side includes transmission and transformation types and distribution network types. Transmission and transformation types include operation control, equipment detection and environmental detection. Distribution network types include DTU (wireless terminal equipment, Data Transfer Unit, referred to as DTU), FTU (distribution switch monitoring terminal, Feeder Terminal Unit, referred to as FTU) and intelligent terminal devices. The user side includes intelligent computing, interactive services, diversified loads and integrated energy services. It can be seen that the power Internet of Things has many terminal devices connected, which is difficult to control. In addition, the services of each terminal device are numerous and complex, and the network attack methods of different terminal devices are diverse and difficult to protect. If the power grid platform is maliciously attacked through the power terminal device, the power grid platform will not work normally, and thus the customer's electricity safety cannot be guaranteed.

[0003] Therefore, a security protection method for the power Internet of Things is needed. Summary of the invention

[0004] The main purpose of this application is to provide a secure access method for an electric power Internet of Things, a secure access device for an electric power Internet of Things, a computer-readable storage medium, and an electronic device, so as to at least solve the problem of low security of the electric power Internet of Things in the prior art.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a secure access method for an electric power Internet of Things is provided, comprising: obtaining an access authentication request sent by a terminal device, parsing the access authentication request and determining whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the electric power Internet of Things; when the terminal device is safe, receiving a data access request sent by the terminal device, and determining the risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access the data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device, and the higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device; determining the access right corresponding to the risk credit level, and controlling the terminal device to access data within the scope of the access right corresponding to the risk credit level.

[0006] Optionally, determining the risk credit level of the terminal device according to the data access request includes: parsing the data access request to obtain a first ciphertext, decrypting the first ciphertext to obtain original data, wherein the first ciphertext is data after the original data is encrypted, and the original data is data characterizing the behavior of the terminal device accessing the power Internet of Things and at least includes an access time; determining the risk credit level of the terminal device according to the original data.

[0007] Optionally, determining the risk credit level of the terminal device based on the original data includes: establishing a time series model of the original data through an autoregressive integral moving average model, and obtaining time series sample data according to the time series model, wherein the time series model is a model that characterizes the time series characteristics of the original data; extracting characteristics of the time series sample data to obtain multiple risk assessment indicators, performing vector conversion on the multiple risk assessment indicators to obtain a risk assessment vector corresponding to each risk assessment indicator; obtaining a risk assessment algorithm model, inputting the risk assessment vector into the risk assessment algorithm model, calculating a risk assessment result, and determining the corresponding risk credit level according to the risk assessment result.

[0008] Optionally, parsing the access authentication request and determining whether the terminal device is safe includes: parsing the access authentication request to obtain hardware information and unique identification information of the terminal device, wherein the hardware information represents information about the hardware configuration of the terminal device, and the unique identification information is information that uniquely identifies the terminal device; determining whether the hardware information is within the scope of legal hardware information, and determining whether the unique identification information is within the scope of legal identification information, wherein the legal hardware information represents legal hardware information of the terminal device, and the legal identification information represents legal unique identification information of the terminal device; determining that the terminal device is safe when the hardware information is within the scope of the legal hardware information and the unique identification information is within the scope of the legal identification information.

[0009] Optionally, the access authentication request is calculated by a hash algorithm based on hardware information and unique identification information of the terminal device, wherein the hardware information represents information of the hardware configuration of the terminal device, and the unique identification information is information that uniquely identifies the terminal device.

[0010] Optionally, the data access request is obtained by concatenating the MAC address, IP address, unique identification information and digital signature of the terminal device, wherein the unique identification information is information that uniquely identifies the terminal device.

[0011] Optionally, determining the access permission corresponding to the risk credit level includes: obtaining a one-to-one mapping relationship between historical risk credit levels and historical access permissions; and determining the access permission corresponding to the risk credit level according to the one-to-one mapping relationship between historical risk credit levels and historical access permissions.

[0012] According to another aspect of the present application, a secure access device for an electric power Internet of Things is provided, comprising: a first determination unit, for obtaining an access authentication request sent by a terminal device, parsing the access authentication request and determining whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the electric power Internet of Things; a second determination unit, for receiving a data access request sent by the terminal device when the terminal device is safe, and determining a risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device, a higher risk credit level indicates a higher security of the terminal device, and vice versa, a lower security of the terminal device; an access unit, for determining access rights corresponding to the risk credit level, and controlling the terminal device to access data within the scope of the access rights corresponding to the risk credit level.

[0013] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the secure access methods for the electric power Internet of Things.

[0014] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the secure access methods for the electric power Internet of Things.

[0015] Apply the technical solution of this application, obtain the access authentication request sent by the terminal device, parse the access authentication request and determine whether the terminal device is safe; when the terminal device is safe, receive the data access request sent by the terminal device, and determine the risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access the data of the power Internet of Things, and the risk credit level represents the security level of the terminal device. The higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device; determine the access rights corresponding to the risk credit level, and control the terminal device to access data within the scope of the access rights corresponding to the risk credit level. Compared with the prior art, the power Internet of Things has access to different terminal devices with a variety of services, which may lead to data leakage in the power Internet of Things. This application can first perform access verification when the terminal device sends an access authentication request, and further determine the risk credit level of the terminal device and the corresponding access rights when safety is confirmed, so that double verification is performed to improve the security of data access to the power Internet of Things. Therefore, the security of the power Internet of Things can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing a secure access method for the power Internet of Things provided by an embodiment of the present application is shown;

[0018] Figure 2 A schematic diagram of a process for secure access to a power Internet of Things provided by an embodiment of the present application is shown;

[0019] Figure 3A structural block diagram of a secure access device for an electric power Internet of Things provided in an embodiment of the present application is shown.

[0020] The above drawings include the following reference numerals:

[0021] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION

[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] As introduced in the background technology, in the prior art, the power Internet of Things is connected to a large number of terminal devices, and the security of the data of the power Internet of Things cannot be guaranteed. In order to solve the problem of insecurity of the power Internet of Things, the embodiments of the present application provide a secure access method for the power Internet of Things, a secure access device for the power Internet of Things, a computer-readable storage medium and an electronic device.

[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0027] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 11 is a hardware structure block diagram of a mobile terminal of a secure access method for the power Internet of Things according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the secure access method of the power Internet of Things in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific network examples may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0029] In this embodiment, a secure access method for the electric power Internet of Things running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0030] Figure 2 Flowchart of the secure access method of the power Internet of Things according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0031] Step S201, obtaining an access authentication request sent by a terminal device, parsing the access authentication request and determining whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the power Internet of Things;

[0032] Specifically, the power Internet of Things platform is usually equipped with perception gateways and edge gateways. Based on node devices such as perception gateways and edge gateways, access authentication requests sent by terminal devices for connecting to the power grid platform are received, and the terminal devices are authenticated according to the access authentication requests to preliminarily determine whether the identity of the terminal device is safe.

[0033] Step S202, when the terminal device is safe, receiving a data access request sent by the terminal device, and determining the risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device, and the higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device;

[0034] Specifically, after the terminal device passes the identity authentication, it verifies the data access request, determines the corresponding risk credit level, and transmits data to the power grid (power Internet of Things) platform to request access / read / write the database in the power grid platform. When the terminal device communicates with the gateway of the power Internet of Things, it needs to transmit data through a lightweight security protocol. In addition, firewall policies are configured, and access control policies, access control lists, NAT (Network Address Translation, Network Address Translation, NAT for short) rules are customized according to needs to protect the network from external attacks.

[0035] Step S203: determine the access rights corresponding to the risk credit level, and control the terminal device to access data within the scope of the access rights corresponding to the risk credit level.

[0036] Specifically, the risk assessment engine within the power grid platform uses a risk assessment algorithm to perform zero-trust risk assessment on terminal devices, determine the access rights corresponding to the risk credit level, and access data according to the corresponding rights, which can ensure the security of the power platform in the power Internet of Things scenario.

[0037] Through this embodiment, the access authentication request sent by the terminal device is obtained, the access authentication request is parsed and it is determined whether the terminal device is safe; when the terminal device is safe, the data access request sent by the terminal device is received, and the risk credit level of the terminal device is determined according to the data access request, wherein the data access request is a request for the terminal device to access the data of the power Internet of Things, and the risk credit level represents the security level of the terminal device. The higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device; the access rights corresponding to the risk credit level are determined, and the terminal device is controlled to access data within the scope of the access rights corresponding to the risk credit level. Compared with the prior art, the power Internet of Things has access to different terminal devices with a variety of services, which may lead to data leakage in the power Internet of Things. In this application, when the terminal device sends an access authentication request, access verification can be performed first, and the risk credit level of the terminal device and the corresponding access rights can be further determined when safety is confirmed. In this way, double verification is performed to improve the security of data access to the power Internet of Things. Therefore, the security of the power Internet of Things can be improved.

[0038] In the specific implementation process, the above step S202 determines the risk credit level of the above terminal device according to the above data access request, which can be implemented by the following steps: Step S2021: parse the above data access request to obtain the first ciphertext, decrypt the above first ciphertext to obtain the original data, wherein the above first ciphertext is the data after the above original data is encrypted, and the above original data is the data characterizing the behavior of the above terminal device accessing the above power Internet of Things and at least includes the access time; Step S2022: determine the risk credit level of the above terminal device according to the above original data. The method determines the risk credit level through the above steps, so that the security level of the terminal device can be further determined to match the corresponding access rights, and further ensure the security of the power Internet of Things.

[0039] Specifically, the data access request is obtained by encrypting the terminal device through an encryption algorithm. The encryption algorithm can adopt the SM4 national encryption algorithm. M2 = E (M1, e), where E () is the SM4 algorithm encryption function. M1 is the original data, e is the fingerprint ID value of the terminal device, and the original data M1 is encrypted through the encryption function to obtain the ciphertext M2. Assume that the data transmitted by the terminal device to the power Internet of Things terminal is d, d = MAC address data + IP address data + UID + M2 + s. UID is the ID number of the terminal device, and s is the data signature. By splicing these items, the new transmission data d is obtained, which is sent to the power Internet of Things as a data access request. When the gateway of the power Internet of Things receives the transmission data d, it first parses the ciphertext M2 (the first ciphertext), and then decrypts it through the SM4 algorithm decryption function to obtain the original data M1 (original data). The original data M1 is further sent to the risk assessment engine in the power Internet of Things platform to evaluate the risk credit level.

[0040] In some optional implementations, step S2022 determines the risk credit level of the terminal device according to the original data, which can be achieved by the following steps: establish a time series model of the original data through an autoregressive integral moving average model, calculate the time series sample data according to the time series model, wherein the time series model is a model that characterizes the time series characteristics of the original data; extract the characteristics of the time series sample data to obtain multiple risk assessment indicators, perform vector conversion on the multiple risk assessment indicators, and obtain the risk assessment vector corresponding to each risk assessment indicator; obtain the risk assessment algorithm model, input the risk assessment vector into the risk assessment algorithm model, calculate the risk assessment result, and determine the corresponding risk credit level according to the risk assessment result. The method evaluates the risk credit level of the terminal device through the risk assessment step, so that the risk credit level of the terminal device can be accurately determined to determine the possible risks of the terminal device and further improve the security of the power Internet of Things.

[0041] Specifically, when the terminal device sends a data access request to the gateway of the power Internet of Things, it carries the terminal information, login information, network access location and other information of the terminal device. Therefore, the risk assessment engine can collect the terminal information, login time and network access location of the terminal device within a period of time from the current time. In addition, the data original M1 transmitted by the terminal device can determine the user behavior of each terminal device access. Therefore, the risk assessment engine can collect the user behavior of the terminal device within a period of time from the current time. The risk assessment engine collects the user behavior, terminal information, login time and network access location of the terminal device within a period of time from the current time as sample data for credit rating assessment. The risk assessment algorithm adopts a weighted random forest algorithm, and the random forest is composed of multiple decision trees. Specifically, it includes the following steps: through the autoregressive integral sliding average model, multiple sample data (ie, original data) are modeled in time series to obtain time series sample data; feature extraction is performed on each type of data in the time series sample data, that is, feature extraction is performed according to user behavior, terminal information, login time and network access location. The extracted features are quantitatively analyzed for characteristic indicators to obtain multiple risk assessment indicators, and each risk assessment indicator is vectorized to obtain multiple risk assessment vectors; the multiple risk assessment vectors are input into the risk assessment algorithm model. The risk assessment vectors are intelligently assessed and predicted through multiple decision tree networks in the risk assessment algorithm model to obtain risk assessment results. The risk credit level of the terminal device is determined based on the risk assessment results, and then the access rights of the terminal device are dynamically adjusted based on the risk credit level. Finally, the data original M1 initiated by the terminal device is access controlled based on the determined access rights. The Autoregressive Integrated Moving Average Model (ARIMA) model is a commonly used time series analysis model, which is often used in time series analysis. It combines three technologies, autoregression (AR), difference (I) and moving average (MA), and can effectively analyze and predict time series data. Please search for your understanding of the relevant model by yourself.

[0042] For example, user behavior, terminal information, login time, and network access location within a period of time are input into the autoregressive integral moving average model. After the data is input, the model will scan the input data in time units to obtain the corresponding time series sample data. By analyzing the user behavior data within a period of time with time series characteristics, user behavior with time characteristics can be obtained. For example, the feature that a user accesses the terminal device at 3 pm every day for a week. The characteristics of the login time are similar. By analyzing the terminal information with time series characteristics, terminal characteristics with time characteristics can be obtained. For example, when a user accesses the terminal device at 3 pm every day for a week, whether the terminal information is the same. The characteristics of the network access location are similar. The concept of time series is introduced here to analyze the changes in user behavior, terminal information, login time, and network access location within a period of time, so as to determine the risk of the terminal device. The quantitative analysis of characteristic indicators is a series of quantitative evaluation indicators. These indicators include human operation risk, virus risk, and system risk. By analyzing the characteristics with time series characteristics corresponding to user behavior, terminal information, login time, and network access location, the indicators of human operation risk, virus risk, and system risk are obtained respectively.

[0043] In some optional implementations, the above step S201 parses the above access authentication request and determines whether the above terminal device is safe, which can be achieved by the following steps: Step S2011: parse the above access authentication request to obtain the hardware information and unique identification information of the above terminal device, wherein the above hardware information represents the information of the hardware configuration of the above terminal device, and the above unique identification information is the information that uniquely identifies the above terminal device; Step S2012: Determine whether the above hardware information is within the scope of legal hardware information, and determine whether the above unique identification information is within the scope of legal identification information, wherein the above legal hardware information represents the legal hardware information of the above terminal device, and the above legal identification information represents the legal unique identification information of the above terminal device; Step S2013: Determine that the above terminal device is safe when the above hardware information is within the scope of the above legal hardware information and the above unique identification information is within the scope of the above legal identification information. The method parses the access authentication request through the above steps to preliminarily determine whether the terminal device is safe.

[0044] In the specific implementation process, the terminal device sends an access authentication request containing the device fingerprint ID value to the gateway of the power grid platform. The gateway parses and verifies the device fingerprint ID value according to the set hash algorithm, and obtains the hardware information, system configuration information, physical address information, and geographic coordinate information of the terminal device (collectively referred to as hardware information) to confirm the legitimacy of the terminal device. In addition, since the unique identification information contained in the device fingerprint ID value is pre-assigned to the terminal device by the power grid platform, it is necessary to verify whether the hardware information and the unique identification information are within the legal range to avoid device fraud on the terminal side and further ensure the legitimacy of the identity of the terminal device.

[0045] In some optional implementations, the access authentication request is calculated by a hash algorithm based on the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device. The method obtains the access authentication request by the algorithm, so that the access authentication request can be guaranteed to contain more information of the terminal device and the security of the information can be guaranteed.

[0046] Specifically, the terminal device reads its own hardware information, system configuration information, physical address information and geographic coordinate information, collectively referred to as hardware information, and then reads the unique identification information of the terminal device pre-assigned from the power grid platform, extracts features and combines information for the hardware information, system configuration information, physical address information, geographic coordinate information and unique identification information of the device, and adopts the hash algorithm set on the power grid platform side to obtain the device fingerprint ID value of the terminal device, and the device fingerprint ID value is included in the above-mentioned access authentication request. Among them, the hash algorithm is used to compress a message of any length into a message digest of a fixed length. It converts data into a string of fixed length for identifying data. Specifically, the hardware information, system configuration information, physical address information, geographic coordinate information and unique identification information of the device are respectively assigned corresponding feature values, and each feature value is mapped by a hash function to obtain each binary mapping value, and then each mapping value is multiplied by the weight of the corresponding feature, and then all the mapping values ​​multiplied by the weight are accumulated, and then the accumulated value is subjected to dimensionality reduction processing to obtain the final device fingerprint ID value of the terminal device.

[0047] In some optional implementations, the data access request is obtained by concatenating the MAC address, IP address, unique identification information and digital signature of the terminal device, wherein the unique identification information is information that uniquely identifies the terminal device. The method combines the above multiple fields to enable the power Internet of Things to fully verify the security of the terminal device and ensure the security of the power Internet of Things.

[0048] In the specific implementation process, as mentioned above, it is assumed that the data transmitted from the terminal device to the power Internet of Things terminal is d, d = MAC address data + IP address data + UID + M2 + s. UID is the ID number of the terminal device, and s is the data signature. By splicing these items, the new transmission data d is obtained and sent to the power Internet of Things as a data access request.

[0049] In some optional implementations, the above step S203 determines the access rights corresponding to the above risk credit level, which can be achieved by the following steps: obtaining a one-to-one mapping relationship between historical risk credit levels and historical access rights; and determining the above access rights corresponding to the above risk credit level based on the one-to-one mapping relationship between historical risk credit levels and historical access rights. The method determines the access rights corresponding to the risk credit level through the historical mapping relationship, so that the access rights of the terminal device can be accurately determined and access can be performed according to the rights.

[0050] Specifically, different risk credit levels correspond to different access rights. Generally speaking, the higher the risk credit level, the greater the access rights, and vice versa.

[0051] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the secure access method of the power Internet of Things of the present application will be described in detail below in combination with specific embodiments.

[0052] This embodiment relates to a specific secure access method for the power Internet of Things, including the following steps:

[0053] Step S1: The terminal device assigns corresponding feature values ​​to the hardware information, system configuration information, physical address information, geographic coordinate information and unique identification information of the device, respectively, and maps each feature value through a hash function to obtain each binary mapping value, and then multiplies each mapping value by the weight of the corresponding feature, and then accumulates all the mapping values ​​multiplied by the weight, and then performs dimensionality reduction processing on the accumulated value to obtain the final device fingerprint ID value of the terminal device, and sends an access authentication request to the gateway of the power Internet of Things. After receiving the access authentication request, the power Internet of Things parses and preliminarily determines the security of the terminal device, wherein the access authentication request includes the device fingerprint ID value, and the terminal device sends the access authentication request including the device fingerprint ID value to the gateway of the power grid platform, and the gateway verifies the device fingerprint ID value according to the set hash algorithm;

[0054] Step S2: The encryption algorithm can adopt the SM4 national secret algorithm. M2=E(M1,e), E() is the encryption function of the SM4 algorithm. Encrypt the original data M1 to obtain the ciphertext M2. e is the device fingerprint ID value. The transmission data is d, d=MAC address data+IP address data+UID+M2+s. UID is the ID number of the terminal device, and s is the data signature. By splicing these items, the new transmission data d is obtained and sent to the gateway of the power Internet of Things. When the gateway receives the transmission data d, it parses the ciphertext M2. Then use the SM4 algorithm decryption function to obtain the original data M1. Send the original data M1 to the risk assessment engine in the power grid platform;

[0055] Step S3: Use the autoregressive integral moving average model to perform time series modeling on multiple sample data (data original M1) to obtain time series sample data; extract features from each type of data in the time series sample data, that is, extract features according to user behavior, terminal information, login time, and network access location. Perform feature indicator quantitative analysis on the extracted features to obtain multiple risk assessment indicators, convert each risk assessment indicator into a vector to obtain multiple risk assessment vectors, and input the multiple risk assessment vectors into the risk assessment algorithm model. Use multiple decision tree networks in the risk assessment algorithm model to perform intelligent risk assessment and prediction on the risk assessment vectors to obtain risk assessment results. Determine the risk credit level of the terminal device based on the risk assessment results, and then dynamically adjust the access rights of the terminal device based on the risk credit level.

[0056] The embodiment of the present application also provides a security access device for the power Internet of Things. It should be noted that the security access device for the power Internet of Things in the embodiment of the present application can be used to execute the security access method for the power Internet of Things provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0057] The following is an introduction to the secure access device for the electric power Internet of Things provided in an embodiment of the present application.

[0058] Figure 3 Schematic diagram of a secure access device for the power Internet of Things according to an embodiment of the present application. Figure 3 As shown, the device comprises:

[0059] A first determining unit 10 is used to obtain an access authentication request sent by a terminal device, parse the access authentication request and determine whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the power Internet of Things;

[0060] Specifically, the power Internet of Things platform is usually equipped with perception gateways and edge gateways. Based on node devices such as perception gateways and edge gateways, access authentication requests sent by terminal devices for connecting to the power grid platform are received, and the terminal devices are authenticated according to the access authentication requests to preliminarily determine whether the identity of the terminal device is safe.

[0061] The second determining unit 20 is used to receive a data access request sent by the terminal device when the terminal device is safe, and determine the risk credit level of the terminal device according to the data access request, wherein the data access request is a request by the terminal device to access data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device. The higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device;

[0062] Specifically, after the terminal device passes the identity authentication, it verifies the data access request, determines the corresponding risk credit level, and transmits data to the power grid (power Internet of Things) platform to request access / read / write the database in the power grid platform. When the terminal device communicates with the gateway of the power Internet of Things, it needs to transmit data through a lightweight security protocol. In addition, firewall policies are configured, and access control policies, access control lists, NAT (Network Address Translation, Network Address Translation, NAT for short) rules are customized according to needs to protect the network from external attacks.

[0063] The access unit 30 is used to determine the access rights corresponding to the risk credit level, and control the terminal device to access data within the scope of the access rights corresponding to the risk credit level.

[0064] Specifically, the risk assessment engine within the power grid platform uses a risk assessment algorithm to perform zero-trust risk assessment on terminal devices, determine the access rights corresponding to the risk credit level, and access data according to the corresponding rights, which can ensure the security of the power platform in the power Internet of Things scenario.

[0065] Through this embodiment, the access authentication request sent by the terminal device is obtained, the access authentication request is parsed and it is determined whether the terminal device is safe; when the terminal device is safe, the data access request sent by the terminal device is received, and the risk credit level of the terminal device is determined according to the data access request, wherein the data access request is a request for the terminal device to access the data of the power Internet of Things, and the risk credit level represents the security level of the terminal device. The higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device; the access rights corresponding to the risk credit level are determined, and the terminal device is controlled to access data within the scope of the access rights corresponding to the risk credit level. Compared with the prior art, the power Internet of Things has access to different terminal devices with a variety of services, which may lead to data leakage in the power Internet of Things. In this application, when the terminal device sends an access authentication request, access verification can be performed first, and the risk credit level of the terminal device and the corresponding access rights can be further determined when safety is confirmed. In this way, double verification is performed to improve the security of data access to the power Internet of Things. Therefore, the security of the power Internet of Things can be improved.

[0066] In the specific implementation process, the second determination unit includes a decryption module and a first determination module. The decryption module is used to parse the data access request to obtain the first ciphertext, decrypt the first ciphertext to obtain the original data, wherein the first ciphertext is the data after the original data is encrypted, and the original data is the data characterizing the behavior of the terminal device accessing the power Internet of Things and at least includes the access time; the first determination module is used to determine the risk credit level of the terminal device according to the original data. The device determines the risk credit level through the above steps, so that the security level of the terminal device can be further determined to match the corresponding access rights, and further ensure the security of the power Internet of Things.

[0067] Specifically, the data access request is obtained by encrypting the terminal device through an encryption algorithm. The encryption algorithm can adopt the SM4 national encryption algorithm. M2 = E (M1, e), where E () is the SM4 algorithm encryption function. M1 is the original data, e is the fingerprint ID value of the terminal device, and the original data M1 is encrypted through the encryption function to obtain the ciphertext M2. Assume that the data transmitted by the terminal device to the power Internet of Things terminal is d, d = MAC address data + IP address data + UID + M2 + s. UID is the ID number of the terminal device, and s is the data signature. By splicing these items, the new transmission data d is obtained, which is sent to the power Internet of Things as a data access request. When the gateway of the power Internet of Things receives the transmission data d, it first parses the ciphertext M2 (the first ciphertext), and then decrypts it through the SM4 algorithm decryption function to obtain the original data M1 (original data). The original data M1 is further sent to the risk assessment engine in the power Internet of Things platform to evaluate the risk credit level.

[0068] In some optional embodiments, the determination module includes a calculation submodule, a conversion submodule and a determination submodule, the calculation submodule is used to establish the time series model of the above original data through the autoregressive integral moving average model, and calculate the time series sample data according to the above time series model, wherein the above time series model is a model that characterizes the time series characteristics of the above original data; the conversion submodule is used to extract the characteristics of the above time series sample data, obtain multiple risk assessment indicators, and perform vector conversion on the multiple risk assessment indicators to obtain the risk assessment vector corresponding to each of the above risk assessment indicators; the determination submodule is used to obtain the risk assessment algorithm model, input the above risk assessment vector into the above risk assessment algorithm model, calculate the risk assessment result, and determine the corresponding risk credit level according to the above risk assessment result. The device evaluates the risk credit level of the terminal device through the above risk assessment step, so that the risk credit level of the terminal device can be accurately determined to determine the possible risks of the terminal device, and further improve the security of the power Internet of Things.

[0069] Specifically, when the terminal device sends a data access request to the gateway of the power Internet of Things, it carries the terminal information, login information, network access location and other information of the terminal device. Therefore, the risk assessment engine can collect the terminal information, login time and network access location of the terminal device within a period of time from the current time. In addition, the data original M1 transmitted by the terminal device can determine the user behavior of each terminal device access. Therefore, the risk assessment engine can collect the user behavior of the terminal device within a period of time from the current time. The risk assessment engine collects the user behavior, terminal information, login time and network access location of the terminal device within a period of time from the current time as sample data for credit rating assessment. The risk assessment algorithm adopts a weighted random forest algorithm, and the random forest is composed of multiple decision trees. Specifically, it includes the following steps: through the autoregressive integral sliding average model, multiple sample data (ie, original data) are modeled in time series to obtain time series sample data; feature extraction is performed on each type of data in the time series sample data, that is, feature extraction is performed according to user behavior, terminal information, login time and network access location. The extracted features are quantitatively analyzed for characteristic indicators to obtain multiple risk assessment indicators, and each risk assessment indicator is vectorized to obtain multiple risk assessment vectors; the multiple risk assessment vectors are input into the risk assessment algorithm model. The risk assessment vectors are intelligently assessed and predicted through multiple decision tree networks in the risk assessment algorithm model to obtain risk assessment results. The risk credit level of the terminal device is determined based on the risk assessment results, and then the access rights of the terminal device are dynamically adjusted based on the risk credit level. Finally, the data original M1 initiated by the terminal device is access controlled based on the determined access rights. The Autoregressive Integrated Moving Average Model (ARIMA) model is a commonly used time series analysis model, which is often used in time series analysis. It combines three technologies, autoregression (AR), difference (I) and moving average (MA), and can effectively analyze and predict time series data. Please search for your understanding of the relevant model by yourself.

[0070] For example, user behavior, terminal information, login time, and network access location within a period of time are input into the autoregressive integral moving average model. After the data is input, the model will scan the input data in time units to obtain the corresponding time series sample data. By analyzing the user behavior data within a period of time with time series characteristics, user behavior with time characteristics can be obtained. For example, the feature that a user accesses the terminal device at 3 pm every day for a week. The characteristics of the login time are similar. By analyzing the terminal information with time series characteristics, terminal characteristics with time characteristics can be obtained. For example, when a user accesses the terminal device at 3 pm every day for a week, whether the terminal information is the same. The characteristics of the network access location are similar. The concept of time series is introduced here to analyze the changes in user behavior, terminal information, login time, and network access location within a period of time, so as to determine the risk of the terminal device. The quantitative analysis of characteristic indicators is a series of quantitative evaluation indicators. These indicators include human operation risk, virus risk, and system risk. By analyzing the characteristics with time series characteristics corresponding to user behavior, terminal information, login time, and network access location, the indicators of human operation risk, virus risk, and system risk are obtained respectively.

[0071] In some optional implementations, the first determination unit includes a parsing module, a second determination module, and a third determination module. The parsing module is used to parse the access authentication request to obtain the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device; the second determination module is used to determine whether the hardware information is within the scope of legal hardware information, and whether the unique identification information is within the scope of legal identification information, wherein the legal hardware information represents the legal hardware information of the terminal device, and the legal identification information represents the legal unique identification information of the terminal device; the third determination module is used to determine that the terminal device is safe when the hardware information is within the scope of the legal hardware information and the unique identification information is within the scope of the legal identification information. The device parses the access authentication request through the above steps to preliminarily determine whether the terminal device is safe.

[0072] In the specific implementation process, the terminal device sends an access authentication request containing the device fingerprint ID value to the gateway of the power grid platform. The gateway parses and verifies the device fingerprint ID value according to the set hash algorithm, and obtains the hardware information, system configuration information, physical address information, and geographic coordinate information of the terminal device (collectively referred to as hardware information) to confirm the legitimacy of the terminal device. In addition, since the unique identification information contained in the device fingerprint ID value is pre-assigned to the terminal device by the power grid platform, it is necessary to verify whether the hardware information and the unique identification information are within the legal range to avoid device fraud on the terminal side and further ensure the legitimacy of the identity of the terminal device.

[0073] In some optional implementations, the access authentication request is calculated by a hash algorithm based on the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device. The device obtains the access authentication request through the algorithm, so that the access authentication request can be guaranteed to contain more information of the terminal device and the security of the information can be guaranteed.

[0074] Specifically, the terminal device reads its own hardware information, system configuration information, physical address information and geographic coordinate information, collectively referred to as hardware information, and then reads the unique identification information of the terminal device pre-assigned from the power grid platform, extracts features and combines information for the hardware information, system configuration information, physical address information, geographic coordinate information and unique identification information of the device, and adopts the hash algorithm set on the power grid platform side to obtain the device fingerprint ID value of the terminal device, and the device fingerprint ID value is included in the above-mentioned access authentication request. Among them, the hash algorithm is used to compress a message of any length into a message digest of a fixed length. It converts data into a string of fixed length for identifying data. Specifically, the hardware information, system configuration information, physical address information, geographic coordinate information and unique identification information of the device are respectively assigned corresponding feature values, and each feature value is mapped by a hash function to obtain each binary mapping value, and then each mapping value is multiplied by the weight of the corresponding feature, and then all the mapping values ​​multiplied by the weight are accumulated, and then the accumulated value is subjected to dimensionality reduction processing to obtain the final device fingerprint ID value of the terminal device.

[0075] In some optional implementations, the data access request is obtained by concatenating the MAC address, IP address, unique identification information and digital signature of the terminal device, wherein the unique identification information is information that uniquely identifies the terminal device. The device combines the above multiple fields to enable the power Internet of Things to fully verify the security of the terminal device and ensure the security of the power Internet of Things.

[0076] In the specific implementation process, as mentioned above, it is assumed that the data transmitted from the terminal device to the power Internet of Things terminal is d, d = MAC address data + IP address data + UID + M2 + s. UID is the ID number of the terminal device, and s is the data signature. By splicing these items, the new transmission data d is obtained and sent to the power Internet of Things as a data access request.

[0077] In some optional implementations, the access unit includes an acquisition module and a fourth determination module, the acquisition module is used to acquire a one-to-one mapping relationship between historical risk credit levels and historical access rights; the fourth determination module is used to determine the access rights corresponding to the risk credit levels according to the one-to-one mapping relationship between historical risk credit levels and historical access rights. The device determines the access rights corresponding to the risk credit levels through the historical mapping relationship, so that the access rights of the terminal device can be accurately determined and access can be performed according to the rights.

[0078] Specifically, different risk credit levels correspond to different access rights. Generally speaking, the higher the risk credit level, the greater the access rights, and vice versa.

[0079] The above-mentioned secure access device of the electric power Internet of Things includes a processor and a memory. The above-mentioned first determination unit, the second determination unit and the access unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in any combination.

[0080] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the security of the power Internet of Things can be improved by adjusting the kernel parameters.

[0081] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0082] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the secure access method for the electric power Internet of Things.

[0083] Specifically, the secure access methods of the power Internet of Things include:

[0084] Step S201, obtaining an access authentication request sent by a terminal device, parsing the access authentication request and determining whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the power Internet of Things;

[0085] Step S202, when the terminal device is safe, receiving a data access request sent by the terminal device, and determining the risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device, and the higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device;

[0086] Step S203: determine the access rights corresponding to the risk credit level, and control the terminal device to access data within the scope of the access rights corresponding to the risk credit level.

[0087] Optionally, determining the risk credit level of the terminal device according to the data access request includes: parsing the data access request to obtain a first ciphertext, decrypting the first ciphertext to obtain original data, wherein the first ciphertext is data after encrypting the original data, and the original data is data characterizing the behavior of the terminal device accessing the electric power Internet of Things and at least includes the access time; determining the risk credit level of the terminal device according to the original data.

[0088] Optionally, determining the risk credit level of the terminal device based on the original data includes: establishing a time series model of the original data through an autoregressive integral moving average model, and obtaining time series sample data according to the time series model, wherein the time series model is a model that characterizes the time series characteristics of the original data; extracting characteristics of the time series sample data to obtain multiple risk assessment indicators, performing vector conversion on the multiple risk assessment indicators to obtain a risk assessment vector corresponding to each risk assessment indicator; obtaining a risk assessment algorithm model, inputting the risk assessment vector into the risk assessment algorithm model, calculating a risk assessment result, and determining the corresponding risk credit level according to the risk assessment result.

[0089] Optionally, parsing the access authentication request and determining whether the terminal device is safe includes: parsing the access authentication request to obtain the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device; determining whether the hardware information is within the scope of legal hardware information, and determining whether the unique identification information is within the scope of legal identification information, wherein the legal hardware information represents the legal hardware information of the terminal device, and the legal identification information represents the legal unique identification information of the terminal device; when the hardware information is within the scope of the legal hardware information and the unique identification information is within the scope of the legal identification information, determining that the terminal device is safe.

[0090] Optionally, the access authentication request is calculated by a hash algorithm based on the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device.

[0091] Optionally, the data access request is obtained by concatenating the MAC address, IP address, unique identification information and digital signature of the terminal device, wherein the unique identification information is information that uniquely identifies the terminal device.

[0092] Optionally, determining the access rights corresponding to the risk credit level includes: obtaining a one-to-one mapping relationship between historical risk credit levels and historical access rights; and determining the access rights corresponding to the risk credit level according to the one-to-one mapping relationship between historical risk credit levels and historical access rights.

[0093] An embodiment of the present invention provides an electronic device, including a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, at least the following steps are implemented:

[0094] Step S201, obtaining an access authentication request sent by a terminal device, parsing the access authentication request and determining whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the power Internet of Things;

[0095] Step S202, when the terminal device is safe, receiving a data access request sent by the terminal device, and determining the risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device, and the higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device;

[0096] Step S203: determine the access rights corresponding to the risk credit level, and control the terminal device to access data within the scope of the access rights corresponding to the risk credit level.

[0097] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0098] Optionally, determining the risk credit level of the terminal device according to the data access request includes: parsing the data access request to obtain a first ciphertext, decrypting the first ciphertext to obtain original data, wherein the first ciphertext is data after encrypting the original data, and the original data is data characterizing the behavior of the terminal device accessing the electric power Internet of Things and at least includes the access time; determining the risk credit level of the terminal device according to the original data.

[0099] Optionally, determining the risk credit level of the terminal device based on the original data includes: establishing a time series model of the original data through an autoregressive integral moving average model, and obtaining time series sample data according to the time series model, wherein the time series model is a model that characterizes the time series characteristics of the original data; extracting characteristics of the time series sample data to obtain multiple risk assessment indicators, performing vector conversion on the multiple risk assessment indicators to obtain a risk assessment vector corresponding to each risk assessment indicator; obtaining a risk assessment algorithm model, inputting the risk assessment vector into the risk assessment algorithm model, calculating a risk assessment result, and determining the corresponding risk credit level according to the risk assessment result.

[0100] Optionally, parsing the access authentication request and determining whether the terminal device is safe includes: parsing the access authentication request to obtain the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device; determining whether the hardware information is within the scope of legal hardware information, and determining whether the unique identification information is within the scope of legal identification information, wherein the legal hardware information represents the legal hardware information of the terminal device, and the legal identification information represents the legal unique identification information of the terminal device; when the hardware information is within the scope of the legal hardware information and the unique identification information is within the scope of the legal identification information, determining that the terminal device is safe.

[0101] Optionally, the access authentication request is calculated by a hash algorithm based on the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device.

[0102] Optionally, the data access request is obtained by concatenating the MAC address, IP address, unique identification information and digital signature of the terminal device, wherein the unique identification information is information that uniquely identifies the terminal device.

[0103] Optionally, determining the access rights corresponding to the risk credit level includes: obtaining a one-to-one mapping relationship between historical risk credit levels and historical access rights; and determining the access rights corresponding to the risk credit level according to the one-to-one mapping relationship between historical risk credit levels and historical access rights.

[0104] The present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the above method in each embodiment of the present application are implemented:

[0105] Step S201, obtaining an access authentication request sent by a terminal device, parsing the access authentication request and determining whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the power Internet of Things;

[0106] Step S202, when the terminal device is safe, receiving a data access request sent by the terminal device, and determining the risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device, and the higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device;

[0107] Step S203: determine the access rights corresponding to the risk credit level, and control the terminal device to access data within the scope of the access rights corresponding to the risk credit level.

[0108] Optionally, determining the risk credit level of the terminal device according to the data access request includes: parsing the data access request to obtain a first ciphertext, decrypting the first ciphertext to obtain original data, wherein the first ciphertext is data after encrypting the original data, and the original data is data characterizing the behavior of the terminal device accessing the electric power Internet of Things and at least includes the access time; determining the risk credit level of the terminal device according to the original data.

[0109] Optionally, determining the risk credit level of the terminal device based on the original data includes: establishing a time series model of the original data through an autoregressive integral moving average model, and obtaining time series sample data according to the time series model, wherein the time series model is a model that characterizes the time series characteristics of the original data; extracting characteristics of the time series sample data to obtain multiple risk assessment indicators, performing vector conversion on the multiple risk assessment indicators to obtain a risk assessment vector corresponding to each risk assessment indicator; obtaining a risk assessment algorithm model, inputting the risk assessment vector into the risk assessment algorithm model, calculating a risk assessment result, and determining the corresponding risk credit level according to the risk assessment result.

[0110] Optionally, parsing the access authentication request and determining whether the terminal device is safe includes: parsing the access authentication request to obtain the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device; determining whether the hardware information is within the scope of legal hardware information, and determining whether the unique identification information is within the scope of legal identification information, wherein the legal hardware information represents the legal hardware information of the terminal device, and the legal identification information represents the legal unique identification information of the terminal device; when the hardware information is within the scope of the legal hardware information and the unique identification information is within the scope of the legal identification information, determining that the terminal device is safe.

[0111] Optionally, the access authentication request is calculated by a hash algorithm based on the hardware information and unique identification information of the terminal device, wherein the hardware information represents the information of the hardware configuration of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device.

[0112] Optionally, the data access request is obtained by concatenating the MAC address, IP address, unique identification information and digital signature of the terminal device, wherein the unique identification information is information that uniquely identifies the terminal device.

[0113] Optionally, determining the access rights corresponding to the risk credit level includes: obtaining a one-to-one mapping relationship between historical risk credit levels and historical access rights; and determining the access rights corresponding to the risk credit level according to the one-to-one mapping relationship between historical risk credit levels and historical access rights.

[0114] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0115] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0116] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0117] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0119] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0120] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0121] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0122] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0123] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0124] 1) In the secure access method of the power Internet of Things of the present application, the access authentication request sent by the terminal device is obtained, the access authentication request is parsed and the terminal device is determined to be safe; when the terminal device is safe, the data access request sent by the terminal device is received, and the risk credit level of the terminal device is determined according to the data access request, wherein the data access request is a request for the terminal device to access the data of the power Internet of Things, and the risk credit level represents the security level of the terminal device. The higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device; the access rights corresponding to the risk credit level are determined, and the terminal device is controlled to access data within the scope of the access rights corresponding to the risk credit level. Compared with the prior art, the power Internet of Things has access to different terminal devices with a wide range of services, which may lead to data leakage in the power Internet of Things. In the present application, when the terminal device sends an access authentication request, access verification can be performed first, and the risk credit level of the terminal device and the corresponding access rights can be further determined when safety is confirmed. In this way, double verification is performed to improve the security of data access to the power Internet of Things. Therefore, the security of the power Internet of Things can be improved.

[0125] 2) In the security access device of the power Internet of Things of the present application, the access authentication request sent by the terminal device is obtained, the access authentication request is parsed and the terminal device is determined to be safe; when the terminal device is safe, the data access request sent by the terminal device is received, and the risk credit level of the terminal device is determined according to the data access request, wherein the data access request is a request for the terminal device to access the data of the power Internet of Things, and the risk credit level represents the security level of the terminal device. The higher the risk credit level, the higher the security of the terminal device, and vice versa, the lower the security of the terminal device; the access rights corresponding to the risk credit level are determined, and the terminal device is controlled to access data within the scope of the access rights corresponding to the risk credit level. Compared with the prior art, the power Internet of Things has access to different terminal devices with a wide range of services, which may lead to data leakage in the power Internet of Things. In the present application, when the terminal device sends an access authentication request, access verification can be performed first, and the risk credit level of the terminal device and the corresponding access rights can be further determined when safety is confirmed. In this way, double verification is performed to improve the security of data access to the power Internet of Things. Therefore, the security of the power Internet of Things can be improved.

[0126] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A secure access method for power Internet of Things, characterized in that: include: Obtaining an access authentication request sent by a terminal device, parsing the access authentication request and determining whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the power Internet of Things; In the case where the terminal device is safe, receiving a data access request sent by the terminal device, and determining the risk credit level of the terminal device according to the data access request, wherein the data access request is a request for the terminal device to access data of the electric power Internet of Things, and the risk credit level represents the security level of the terminal device, and a higher risk credit level indicates a higher security of the terminal device, and vice versa, indicates a lower security of the terminal device; Determine the access permission corresponding to the risk credit level, and control the terminal device to access data within the scope of the access permission corresponding to the risk credit level.

2. The secure access method according to claim 1, characterized in that: Determining the risk credit level of the terminal device according to the data access request includes: Parsing the data access request to obtain a first ciphertext, decrypting the first ciphertext to obtain original data, wherein the first ciphertext is data obtained by encrypting the original data, and the original data is data representing the behavior of the terminal device accessing the power Internet of Things and at least includes the access time; The risk credit level of the terminal device is determined according to the original data.

3. The secure access method according to claim 2, characterized in that: Determining the risk credit level of the terminal device according to the original data includes: A time series model of the original data is established through an autoregressive integrated moving average model, and time series sample data is calculated according to the time series model, wherein the time series model is a model that characterizes the time series characteristics of the original data; Extracting the features of the time series sample data to obtain a plurality of risk assessment indicators, performing vector conversion on the plurality of risk assessment indicators to obtain a risk assessment vector corresponding to each of the risk assessment indicators; A risk assessment algorithm model is obtained, the risk assessment vector is input into the risk assessment algorithm model, a risk assessment result is calculated, and the corresponding risk credit level is determined according to the risk assessment result.

4. The secure access method according to claim 1, characterized in that: Parsing the access authentication request and determining whether the terminal device is safe includes: Parsing the access authentication request to obtain hardware information and unique identification information of the terminal device, wherein the hardware information represents information about the hardware configuration of the terminal device, and the unique identification information is information that uniquely identifies the terminal device; Determine whether the hardware information is within the scope of legal hardware information, and determine whether the unique identification information is within the scope of legal identification information, wherein the legal hardware information represents legal hardware information of the terminal device, and the legal identification information represents legal unique identification information of the terminal device; In the case where the hardware information is within the legal hardware information range and the unique identification information is within the legal identification information range, it is determined that the terminal device is secure.

5. The secure access method according to claim 1, characterized in that: The access authentication request is calculated by a hash algorithm based on the hardware information and unique identification information of the terminal device, wherein the hardware information represents the hardware configuration information of the terminal device, and the unique identification information is the information that uniquely identifies the terminal device.

6. The secure access method according to claim 1, characterized in that: The data access request is obtained by concatenating the MAC address, IP address, unique identification information and digital signature of the terminal device, wherein the unique identification information is information that uniquely identifies the terminal device.

7. The secure access method according to claim 1, characterized in that: Determine the access rights corresponding to the risk credit level, including: Obtain a one-to-one mapping relationship between historical risk credit ratings and historical access rights; The access permission corresponding to the risk credit level is determined according to a one-to-one mapping relationship between historical risk credit levels and historical access permissions.

8. A secure access device for the power Internet of Things, characterized in that: include: A first determining unit is used to obtain an access authentication request sent by a terminal device, parse the access authentication request and determine whether the terminal device is safe, wherein the access authentication request is a request for the terminal device to establish a communication connection with the power Internet of Things; a second determining unit, configured to receive a data access request sent by the terminal device when the terminal device is secure, and determine a risk credit level of the terminal device according to the data access request, wherein the data access request is a request by the terminal device to access data of the electric power Internet of Things, and the risk credit level represents a security level of the terminal device, wherein a higher risk credit level indicates a higher security of the terminal device, and vice versa, indicates a lower security of the terminal device; The access unit is used to determine the access permission corresponding to the risk credit level, and control the terminal device to access data within the scope of the access permission corresponding to the risk credit level.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the secure access method for the electric power Internet of Things as described in any one of claims 1 to 7.

10. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing the secure access method of the electric power Internet of Things as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Power Internet of Things security protection method and device, storage medium and electronic equipment

    CN119544294A