Fog computing data protection method and system, electronic equipment and storage medium

By determining whether to establish an interactive connection based on trust data in the fog computing environment, the problem of extended transmission time for fog node verification is solved, data transmission efficiency is improved, and it is suitable for tasks with high latency requirements.

CN118802256APending Publication Date: 2024-10-18CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410063809.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In a fog computing environment, each fog node needs to be verified before transmitting data, which results in extended transmission time and low efficiency, making it unsuitable for tasks with high latency requirements.

Method used

By determining whether to establish interactive connections between fog domains based on trust data, data transmission security is ensured, verification for each fog node is avoided, transmission time is saved, and efficiency is improved.

Benefits of technology

It realizes data transmission without verification for each fog node in the fog computing environment, improves transmission efficiency, and is suitable for tasks with high latency requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802256A_ABST
    Figure CN118802256A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Things, and provides a fog computing data protection method and system, electronic equipment and a storage medium, and is suitable for a specified fog node in a fog domain, the fog domain is obtained by dividing a fog computing system and comprises at least one fog node, and the method comprises the following steps: responding to an interactive connection request initiated by at least one fog node which is not the fog domain, and judging whether to establish interactive connection based on the credibility data accumulated between the local fog domain and the non-local fog domain so as to ensure the data transmission security between the local fog domain and the non-local fog domain. According to the method, the fog computing system is divided to obtain the plurality of fog domains, whether the interactive connection is established among the fog domains is judged based on the credibility data, the data transmission security is ensured, verification for each fog node is not needed, the time required by data transmission is saved, the efficiency is higher, and the method is suitable for tasks with relatively high time delay requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things technology, and in particular to a fog computing data protection method, system, electronic device and storage medium. Background Art

[0002] Fog computing is an extension of cloud computing. In the fog computing model, data, processing, and applications are concentrated in devices at the edge of the network instead of being stored in the cloud. Fog computing is a process in which a large number of heterogeneous distributed devices collaborate to complete the computing and storage of tasks through wired or wireless means. The fog is located between the terminal device and the cloud. Like cloud computing, fog computing can provide computing, storage, and network services for terminal devices, but compared with cloud computing, fog computing is closer to terminal devices, thus improving response speed and efficiency. However, in the application process of fog computing, its potential security issues have gradually emerged. For example, many fog nodes are directly exposed to the physical environment and are vulnerable to physical attacks, resulting in user data being eavesdropped and misappropriated during transmission. Therefore, it is necessary to verify the fog nodes when transmitting data between fog nodes. Each fog node needs to be verified before transmitting data, which will inevitably prolong the time required for data transmission, resulting in low efficiency and unsuitable for tasks with high latency requirements. Summary of the invention

[0003] The present application provides a fog computing data protection method, system, electronic device and storage medium to solve the defect that each fog node needs to be verified before transmitting data, which will inevitably prolong the time required for data transmission, has low efficiency and is not suitable for tasks with high latency requirements.

[0004] In a first aspect, the present application provides a fog computing data protection method, which is applicable to a designated fog node in a fog domain, wherein the fog domain is obtained by dividing a fog computing system and includes at least one fog node, and the method includes:

[0005] In response to an interactive connection request initiated by at least one fog node in a non-local fog domain, it is determined whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0006] In one embodiment, the determining whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain so as to ensure data transmission security between the local fog domain and the non-local fog domain includes:

[0007] If the trust data accumulated between the local fog domain and the non-local fog domain reaches the trust threshold, an interactive connection is established; otherwise,

[0008] Sending a preset question to the fog node of the non-fog domain that initiates the interactive connection request, obtaining the answer returned by the fog node of the non-fog domain and determining the accuracy of the preset question, and establishing an interactive connection if the accuracy of the preset question reaches an accuracy threshold;

[0009] The record of successful establishment of the interactive connection is updated to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0010] In one embodiment, it further includes:

[0011] In response to a node movement request initiated by a fog node to be moved in the fog region, extracting a fog node ID number and affiliation information corresponding to the fog node to be moved from a preset location storage database, sending the fog node ID number and the affiliation information to the fog node to be moved, and updating the location storage database; or

[0012] In response to a node joining request initiated by a fog node to be joined in the non-local fog domain, the fog node ID number and the affiliation information of the fog node to be joined are obtained, and it is determined whether an interactive connection has been successfully established between the non-local fog domain corresponding to the fog node to be joined and the local fog domain according to the fog node ID number and the affiliation information; if so, the fog node to be joined is allowed to join the local fog domain, and the location registration database is updated.

[0013] In one embodiment, it further includes:

[0014] Obtaining identification signals periodically sent by fog nodes in the fog area;

[0015] Remove the fog node ID number and the ownership information of the moved fog node from the location storage database according to the identification signal; or,

[0016] Periodically sending an identification signal to a fog node corresponding to the location storage database;

[0017] The fog node ID number and the attribution information of the unresponsive fog node are removed from the location registration database.

[0018] In one embodiment, it further includes:

[0019] Access control is performed based on the privacy access control rules corresponding to the preset fog computing roles.

[0020] In one embodiment, performing access control based on the privacy access control rules corresponding to the preset fog computing roles includes:

[0021] If at least one of direct access and intrusion attacks is detected, a preset authentication process is started, and if the authentication process takes a time threshold, the access request is denied and the information exchange is terminated;

[0022] If undefined role access is detected, determine whether the undefined role has the characteristics of the preset security role. If not, terminate the access;

[0023] If a data access request with invalid conditions is detected, valid condition verification is performed, and if any valid condition verification fails, the data access request is rejected;

[0024] If a data access request from an untrusted fog domain is detected, the data access request is intercepted.

[0025] In one embodiment, the designated fog node is determined based on the node capacity of all fog nodes in the fog domain.

[0026] In a second aspect, the present application also provides a fog computing data protection system, comprising at least one fog domain, which is divided by a fog computing system and includes at least one fog node, among which at least one designated fog node is provided among all the fog nodes, and the designated fog node is used to execute any of the above-mentioned fog computing data protection methods.

[0027] In a third aspect, the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the fog computing data protection method as described above is implemented.

[0028] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the fog computing data protection methods described above.

[0029] The fog computing data protection method, system, electronic device and storage medium provided in the present application divide the fog computing system into several fog domains, and determine whether to establish an interactive connection between the fog domains based on trust data to ensure data transmission security. There is no need to verify each fog node, which saves the time required for data transmission and is more efficient. It is suitable for tasks with relatively high latency requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0031] Figure 1 It is a flowchart of the fog computing data protection method provided by this application;

[0032] Figure 2It is a flowchart of the trust evaluation provided by this application;

[0033] Figure 3 It is a flowchart of the access control provided by this application;

[0034] Figure 4 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0036] Fog computing is an extension of cloud computing. It is mainly used to manage data from sensors and edge devices, and to concentrate data, data processing tasks, and related management tasks in devices at the edge of the network, rather than storing them all in cloud data centers. The specific implementation plan is to add another layer of "fog" between the terminal device and the cloud data center, that is, the network edge layer, such as a small server or router with storage, to directly process and store some data that does not need to be put in the cloud at this layer, which can greatly reduce the computing and storage pressure on the cloud, improve efficiency, increase transmission rate, and reduce latency.

[0037] This application introduces the concept of fog domain, each fog domain contains a certain number of users, fog nodes and fog nodes, and at the same time establishes necessary interactive connections between different fog domains, as well as an authentication mechanism to ensure the switching of fog nodes from one fog domain to another; In addition, this application also proposes a mobility management method implemented by location registration, which allows the system to provide services for mobile fog nodes (for example, a moving car, a flying drone or a pedestrian equipped with a wearable device) during operation, thereby realizing seamless and secure interaction of fog nodes with various terminal devices; Finally, this application also defines a privacy access control rule based on different fog computing roles, which can help users verify whether the request for resource call in a fog domain is sufficiently secure. If the request is secure and credible, the user is allowed to access the computing resource request from the fog node, otherwise the system is provided with data access requests for direct access and intrusion attacks, undefined role access, data access requests without valid conditions and data access requests from untrusted fog domains.

[0038] The following is attached to the instruction manual Figure 1-Figure 4 The technical solution provided in this application is described.

[0039] Figure 1 It is a flowchart of the fog computing data protection method provided by this application, such as Figure 1 As shown, the present application provides a fog computing data protection method, which is applicable to a designated fog node in a fog domain, wherein the fog domain is obtained by dividing a fog computing system and includes at least one fog node, and the method includes:

[0040] In response to an interactive connection request initiated by at least one fog node in a non-local fog domain, it is determined whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0041] Specifically, the fog computing system is first divided into several fog domains, each of which is composed of one or several fog nodes. Fog nodes can provide lightweight computing, network resources and storage services, and are composed of multiple fog nodes with weaker performance deployed on the edge network. Fog nodes are heterogeneous, including servers, mobile devices and wearable devices.

[0042] The division of fog domains can be realized based on location information or the ownership relationship of fog nodes. For example, the fog computing system can be divided based on the same geographic grid, the same building, the same floor, or the same company, etc. to obtain multiple fog domains. The current fog domain can be any fog domain that receives an interactive connection request, and the non-current fog domain refers to other fog domains.

[0043] Each fog domain needs to handle high-frequency fog node joining or leaving requests, and also needs to protect sensitive data. Therefore, in each fog domain, a certain fog node must be designated from all fog nodes as the designated fog node to manage computing resources and task execution. Therefore, this application selects the node with the highest capacity to implement the management function based on the judgment results of the capacity of each node in the fog domain.

[0044] Optionally, according to the number of fog nodes in the fog domain, the number of designated fog nodes may be greater than one to achieve redundant control and reduce the workload of a single designated fog node.

[0045] Optionally, each fog node in the fog domain sends an identification signal to other fog nodes in the fog domain in a fixed periodic mode to prove that the fog node sending the identification signal is in an active state. In other embodiments, the fog node in the fog domain only needs to send an identification signal to a designated fog node to prove that it is in an active state. The identification signal can be a specific network identifier or other type of identifier used to uniquely identify the fog node in the network.

[0046] Optionally, if two fog domains want to establish an interactive connection, they need to select a designated fog node in each of the two fog domains, and the designated fog node will perform the judgment of the trust relationship between the fog domains. Specifically, if a designated fog node in a fog domain receives all interactive connection requests sent by designated fog nodes in other fog domains, it will determine whether to establish an interactive connection between the fog domain and another fog domain based on the accumulated trust data.

[0047] If an interactive connection has been successfully established between two fog domains, an interactive connection countdown can be set at the moment of successful establishment. Before the countdown ends, the fog nodes between the two fog domains do not need to be verified for data transmission. After the data transmission task established before the countdown ends and the countdown ends, the two fog domains need to re-establish an interactive connection to improve security.

[0048] It can be understood that the present application divides the fog computing system into several fog domains, and determines whether to establish an interactive connection between the fog domains based on the trust data to ensure the security of data transmission. There is no need to verify each fog node, which saves the time required for data transmission. It is more efficient and suitable for tasks with relatively high latency requirements.

[0049] Figure 2 This is a flow chart of the trust evaluation process provided by this application, such as Figure 2 As shown, based on the above embodiment, as an optional embodiment, the judgment of whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain so as to ensure the security of data transmission between the local fog domain and the non-local fog domain includes:

[0050] Step S210: if the trust data accumulated between the local fog domain and the non-local fog domain reaches the trust threshold, an interactive connection is established; otherwise,

[0051] Step S220, sending a preset question to the fog node of the non-fog domain that initiates the interactive connection request, obtaining the answer returned by the fog node of the non-fog domain and determining the accuracy of the preset question, and establishing an interactive connection if the accuracy of the preset question reaches the accuracy threshold;

[0052] Step S230, updating the record of successful establishment of the interactive connection to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0053] In step S210, the trust data fog refers to data used to evaluate and measure the trust level of fog computing nodes in a specific environment. These data may include information such as performance indicators, reliability, security, historical records, user feedback, etc. of fog computing nodes. By analyzing these data, the trust level of fog nodes can be evaluated, so as to make more reliable decisions in the fog computing environment, such as selecting appropriate fog nodes to perform specific tasks or allocate resources. Fog node trust data is very important to ensure the security, reliability and efficiency of the fog computing environment.

[0054] In step S220, if the accumulated trust data is not sufficient to determine whether to establish an interactive connection, the designated fog node in a single fog domain will send questions to the designated fog node in another fog domain for determination, and decide whether to establish an interactive connection based on the proportion of correct questions to all questions.

[0055] In step S230, after completing the determination process of the trust relationship between fog domains, when one fog domain agrees to the request to establish an interactive connection sent by another fog domain, the two fog domains will update the record of successful establishment of the interactive connection to ensure that the subsequent process of sending and receiving data between fog domains is safe and does not require further verification.

[0056] It can be understood that the present application provides a technical solution for trust evaluation, combining trust data and preset questions to determine whether to establish an interactive connection, avoiding delays in tasks and achieving double protection.

[0057] Based on the above embodiment, as an optional embodiment, the fog computing data protection method provided by the present application further includes:

[0058] In response to a node movement request initiated by a fog node to be moved in the fog region, extracting a fog node ID number and affiliation information corresponding to the fog node to be moved from a preset location storage database, sending the fog node ID number and the affiliation information to the fog node to be moved, and updating the location storage database; or

[0059] In response to a node joining request initiated by a fog node to be joined in the non-local fog domain, the fog node ID number and the affiliation information of the fog node to be joined are obtained, and it is determined whether an interactive connection has been successfully established between the non-local fog domain corresponding to the fog node to be joined and the local fog domain according to the fog node ID number and the affiliation information; if so, the fog node to be joined is allowed to join the local fog domain, and the location registration database is updated.

[0060] The present application provides a mobility management solution.

[0061] Fog nodes with high mobility requirements need to frequently switch between fog domains where interactive connections have been successfully established during their work. Therefore, the present application performs mobility management on the fog node before it enters a new fog domain, so as to allocate appropriate computing resources to it in the new fog domain.

[0062] In order to manage the mobility of fog nodes, a location storage database is first configured in the fog domain. The location storage database stores the ID numbers and affiliation information of all fog nodes in the fog domain. When a fog node is about to leave the fog domain, it sends a request to the location storage database to extract all the required information from the location storage database.

[0063] When the designated fog node receives the joining request of the fog node, it will verify and analyze the request to obtain the ID number and belonging information of the fog node. If the interactive connection between the two fog domains has been successfully established, based on the above ID number and belonging information, it can be correctly verified that the current fog domain and the process of sending and receiving data between the fog node and the fog domain to which it belongs are safe, thereby allowing the fog node to switch from the original fog domain to the current fog domain.

[0064] After the handover process is completed, the parameters in the original fog domain and the location storage database in the current fog domain will be updated. When the fog node is about to leave its fog domain, it will send information to the designated fog node in the fog domain to update the parameters in the location storage database.

[0065] It can be understood that the present application provides a technical solution for fog node mobility management. By setting up a location storage database, it is possible to easily cope with the location changes caused by the switching of fog nodes between fog domains.

[0066] Based on the above embodiment, as an optional embodiment, the fog computing data protection method provided by the present application further includes:

[0067] Obtaining identification signals periodically sent by fog nodes in the fog area;

[0068] Remove the fog node ID number and the ownership information of the moved fog node from the location storage database according to the identification signal; or,

[0069] Periodically sending an identification signal to a fog node corresponding to the location storage database;

[0070] The fog node ID number and the attribution information of the unresponsive fog node are removed from the location registration database.

[0071] It can be understood that the designated fog node can determine whether any fog node has left the fog area but failed to receive the information of the fog node due to problems such as network connection loss by periodically sending identification signals or periodically obtaining identification signals. The designated fog node scans and updates the parameters in the location storage database at a fixed period to detect whether the fog node is still active in the fog area, thereby accurately realizing the mobility management of the fog node.

[0072] Figure 3 This is a schematic diagram of the access control process provided by this application, such as Figure 3 As shown, based on the above embodiment, as an optional embodiment, the fog computing data protection method provided by the present application also includes:

[0073] Access control is performed based on the privacy access control rules corresponding to the preset fog computing roles. In addition to the need to establish interactive connections between fog domains, there is also a need for fog domain information exchange with high latency requirements. In order to ensure data security in the fog domain information exchange process, this application provides a privacy access control rule based on different fog computing roles. Different fog computing roles include direct access and intrusion attacks, undefined role access, data access requests without valid conditions, and data access requests from untrusted fog domains.

[0074] Specifically, the access control is performed based on the privacy access control rules corresponding to the preset fog computing roles, including:

[0075] Step S310, if at least one of direct access and intrusion attack is detected, start a preset identity authentication process, and if the time threshold taken by the identity authentication process is exceeded, deny the access request and terminate the information exchange;

[0076] For direct access and intrusion attacks, privacy access control rules include starting the verification process, calling mobility management, and notifying the local fog domain or super administrator. In addition, if the time required for the verification process exceeds the set threshold, the privacy access control rules will reject the request and directly terminate the fog domain information exchange.

[0077] Step S320, if undefined role access is detected, determine whether the undefined role has preset security role characteristics, if not, terminate the access;

[0078] In a fog computing system, there may be various participants and entities, including fog nodes, terminal devices, sensors, data processing units, etc. These entities may play different roles, such as data providers, data processors, decision makers, etc. Undefined role access refers to access initiated by fog nodes or terminal devices whose roles and responsibilities are unclear.

[0079] In a fog computing environment, different roles may need to possess specific security conditions and characteristics to ensure the security of the system. The following are some role characteristics that may apply to fog computing security conditions:

[0080] Fog nodes: As computing nodes in the fog computing environment, fog nodes need to have secure communication and data processing capabilities to protect the data and applications they host from malicious attacks and unauthorized access.

[0081] Network administrator: Responsible for managing and maintaining network equipment and communication links in the fog computing environment. They need to have network security knowledge and skills to ensure the stability and security of the network.

[0082] Data owners: Entities responsible for providing data in a fog computing environment need to have knowledge of data privacy protection and compliance to ensure that their data is protected during transmission and processing.

[0083] Application developers: Responsible for developing and deploying applications that run in fog computing environments. They need to have knowledge of secure coding and application security to ensure the security and reliability of applications.

[0084] System Administrator: Responsible for managing and maintaining computing resources and system equipment in the fog computing environment. They need to have knowledge of system security and access control to ensure the stability and security of the system.

[0085] For undefined role access, the privacy access control rules will predefine the role characteristics that meet the security conditions. When a role fog node appears, the privacy access control rules will first verify whether the role fog node meets the above characteristics. If it does not meet the characteristics, the access of the role fog node will be immediately terminated.

[0086] Step S330, if a data access request with an invalid condition is detected, valid condition verification is performed, and if any valid condition verification fails, the data access request is rejected;

[0087] In a fog computing environment, an invalid data access request may refer to a device or application attempting to access data or resources in the fog computing environment without authorization or without satisfying security policies. This situation may lead to potential security risks and data leakage.

[0088] In a fog computing environment, data is often distributed across various edge devices, sensors, gateways, and cloud systems. Therefore, it is critical to ensure that access requests to this data meet valid conditions. The following are some scenarios that may lead to data access requests with invalid conditions in a fog computing environment:

[0089] Unauthorized devices or applications attempt to access sensitive data in fog nodes or edge devices.

[0090] Data sensors do not collect and transmit data in accordance with the set security policies, resulting in unauthorized data access requests.

[0091] An edge device or sensor attempts to connect to a network or resource in a fog computing environment without authorization.

[0092] The data is stored in the cloud system in the fog computing environment and unauthorized applications or users try to access the data.

[0093] For data access requests with invalid conditions, a valid condition verification step is performed according to the conditions preset at the checkpoint. If there is any inconsistency in the conditions, the data access request will be rejected and the rejection information will be sent to the fog domain.

[0094] In a fog computing environment, a checkpoint usually refers to a place where security checks are performed at specific time points or events before or after critical operations such as data transmission, processing, or storage. At these checkpoints, the system will check the integrity, security, and compliance of the data to ensure the security and reliability of the fog computing environment.

[0095] In fog computing, checkpointing may involve the following:

[0096] Data transmission checkpoints: When data is transmitted from edge devices to cloud systems or other edge devices, the system can set checkpoints to ensure the secure transmission of data, including encryption, identity authentication, data integrity verification, etc.

[0097] Access control checkpoints: When edge devices or applications attempt to access specific resources or data, checkpoints can be set up to review access requests to ensure that only authorized devices or applications can access.

[0098] Security policy compliance checkpoint: At a specific point in time or when an event occurs, the system can perform security policy and compliance checks to ensure that the security policies of edge devices and cloud systems meet security standards and compliance requirements.

[0099] Authentication checkpoints: When a user or device attempts to log in or access the system, you can set up a checkpoint to authenticate the user or device to ensure that only authorized users or devices can access the system.

[0100] Data processing checkpoints: When data arrives from sensors to edge devices, or is transmitted from edge devices to cloud systems for processing, checkpoints can be set to ensure data integrity and security.

[0101] Step S340: If a data access request from an untrusted fog domain is detected, the data access request is intercepted. For a data access request from an untrusted fog domain, if the data access request comes from an untrusted fog domain, the data access request is directly intercepted.

[0102] It can be understood that the present application provides privacy access control rules based on different fog computing roles, which can provide full-process security protection for fog domains, fog nodes and other related roles, making the entire fog computing system as immune to attacks as possible.

[0103] The fog computing data protection device provided by the present application is described below. The fog computing data protection device described below and the fog computing data protection method described above can be referenced to each other.

[0104] The present application also provides a fog computing data protection system, comprising at least one fog domain, wherein the fog domain is obtained by dividing the fog computing system, and comprises at least one fog node, wherein at least one designated fog node is provided among all the fog nodes, and the designated fog node is used to execute a fog computing data protection method, wherein the method comprises:

[0105] In response to an interactive connection request initiated by at least one fog node in a non-local fog domain, it is determined whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0106] In one embodiment, the designated fog node is further used for:

[0107] If the trust data accumulated between the local fog domain and the non-local fog domain reaches the trust threshold, an interactive connection is established; otherwise,

[0108] Sending a preset question to the fog node of the non-fog domain that initiates the interactive connection request, obtaining the answer returned by the fog node of the non-fog domain and determining the accuracy of the preset question, and establishing an interactive connection if the accuracy of the preset question reaches an accuracy threshold;

[0109] The record of successful establishment of the interactive connection is updated to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0110] In one embodiment, the designated fog node is further used for:

[0111] In response to a node movement request initiated by a fog node to be moved in the fog region, extracting a fog node ID number and affiliation information corresponding to the fog node to be moved from a preset location storage database, sending the fog node ID number and the affiliation information to the fog node to be moved, and updating the location storage database; or

[0112] In response to a node joining request initiated by a fog node to be joined in the non-local fog domain, the fog node ID number and the affiliation information of the fog node to be joined are obtained, and it is determined whether an interactive connection has been successfully established between the non-local fog domain corresponding to the fog node to be joined and the local fog domain according to the fog node ID number and the affiliation information; if so, the fog node to be joined is allowed to join the local fog domain, and the location registration database is updated.

[0113] In one embodiment, the designated fog node is further used for:

[0114] Obtaining identification signals periodically sent by fog nodes in the fog area;

[0115] Remove the fog node ID number and the ownership information of the moved fog node from the location storage database according to the identification signal; or,

[0116] Periodically sending an identification signal to a fog node corresponding to the location storage database;

[0117] The fog node ID number and the attribution information of the unresponsive fog node are removed from the location registration database.

[0118] In one embodiment, the designated fog node is further used for:

[0119] Access control is performed based on the privacy access control rules corresponding to the preset fog computing roles.

[0120] In one embodiment, the designated fog node is further used for:

[0121] If at least one of direct access and intrusion attacks is detected, a preset authentication process is started, and if the authentication process takes a time threshold, the access request is denied and the information exchange is terminated;

[0122] If undefined role access is detected, determine whether the undefined role has the characteristics of the preset security role. If not, terminate the access;

[0123] If a data access request with invalid conditions is detected, valid condition verification is performed, and if any valid condition verification fails, the data access request is rejected;

[0124] If a data access request from an untrusted fog domain is detected, the data access request is intercepted.

[0125] In one embodiment, the designated fog node is determined based on the node capacity of all fog nodes in the fog domain.

[0126] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the fog computing data protection method, which includes:

[0127] In response to an interactive connection request initiated by at least one fog node in a non-local fog domain, it is determined whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0128] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0129] On the other hand, the present application also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the fog computing data protection method provided by the above methods, the method includes:

[0130] In response to an interactive connection request initiated by at least one fog node in a non-local fog domain, it is determined whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0131] In another aspect, the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the fog computing data protection method provided by the above methods is implemented, and the method includes:

[0132] In response to an interactive connection request initiated by at least one fog node in a non-local fog domain, it is determined whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain to ensure the security of data transmission between the local fog domain and the non-local fog domain.

[0133] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A fog computing data protection method, characterized in that: Applicable to a designated fog node in a fog domain, the fog domain is divided by a fog computing system and includes at least one fog node, the method comprising: In response to an interactive connection request initiated by at least one fog node in a non-local fog domain, it is determined whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain to ensure the security of data transmission between the local fog domain and the non-local fog domain.

2. The fog computing data protection method according to claim 1, characterized in that: The determining whether to establish an interactive connection based on the trust data accumulated between the local fog domain and the non-local fog domain so as to ensure the security of data transmission between the local fog domain and the non-local fog domain includes: If the trust data accumulated between the local fog domain and the non-local fog domain reaches the trust threshold, an interactive connection is established; otherwise, Sending a preset question to the fog node of the non-fog domain that initiates the interactive connection request, obtaining the answer returned by the fog node of the non-fog domain and determining the accuracy of the preset question, and establishing an interactive connection if the accuracy of the preset question reaches an accuracy threshold; The record of successful establishment of the interactive connection is updated to ensure the security of data transmission between the local fog domain and the non-local fog domain.

3. The fog computing data protection method according to claim 1, characterized in that: Also includes: In response to a node movement request initiated by a fog node to be moved in the fog region, extracting a fog node ID number and affiliation information corresponding to the fog node to be moved from a preset location storage database, sending the fog node ID number and the affiliation information to the fog node to be moved, and updating the location storage database; or In response to a node joining request initiated by a fog node to be joined in the non-local fog domain, the fog node ID number and the affiliation information of the fog node to be joined are obtained, and it is determined whether an interactive connection has been successfully established between the non-local fog domain corresponding to the fog node to be joined and the local fog domain according to the fog node ID number and the affiliation information; if so, the fog node to be joined is allowed to join the local fog domain, and the location registration database is updated.

4. The fog computing data protection method according to claim 3, characterized in that: Also includes: Obtaining identification signals periodically sent by fog nodes in the fog area; Remove the fog node ID number and the ownership information of the moved fog node from the location storage database according to the identification signal; or, Periodically sending an identification signal to a fog node corresponding to the location storage database; The fog node ID number and the attribution information of the unresponsive fog node are removed from the location registration database.

5. The fog computing data protection method according to claim 1, characterized in that: Also includes: Access control is performed based on the privacy access control rules corresponding to the preset fog computing roles.

6. The fog computing data protection method according to claim 5, characterized in that: The access control is performed based on the privacy access control rules corresponding to the preset fog computing roles, including: If at least one of direct access and intrusion attacks is detected, a preset authentication process is started, and if the authentication process takes a time threshold, the access request is denied and the information exchange is terminated; If undefined role access is detected, determine whether the undefined role has the characteristics of the preset security role. If not, terminate the access; If a data access request with invalid conditions is detected, valid condition verification is performed, and if any valid condition verification fails, the data access request is rejected; If a data access request from an untrusted fog domain is detected, the data access request is intercepted.

7. The fog computing data protection method according to claim 1, characterized in that: The designated fog node is determined based on the node capacity of all fog nodes in the fog domain.

8. A fog computing data protection system, characterized in that: It includes at least one fog domain, which is divided by a fog computing system and includes at least one fog node. At least one designated fog node is provided among all the fog nodes, and the designated fog node is used to execute the fog computing data protection method according to any one of claims 1 to 7.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the fog computing data protection method as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the fog computing data protection method according to any one of claims 1 to 7 is implemented.