Fog computing low-power-consumption communication method based on end-side integrated fusion
By adopting a fog computing low-power communication method based on end-edge integration on IoT terminal devices, the secret key verification mechanism ensures user identity and data security, and solving the credibility confirmation of IoT terminal devices in the state of disconnection of the Internet of Things terminal devices is solved and real-time data processing problems, achieving low power consumption and efficient communication solutions.
Patent Information
- Application Number
- CN202411058459.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-02
AI Technical Summary
When the Internet of Things terminal devices are in a disconnected state, it is impossible to effectively confirm the credibility of car wash users, resulting in malicious users who may tamper with data to deceive or unfair commercial competition. Traditional cloud computing cannot meet the real-time data processing needs, resulting in delays and Energy consumption issues.
Using the fog computing low-power communication method based on end-edge integration, maintain real-time communication with the cloud layer through the fog layer nodes, generate and verify key requests, ensure the authentication and data processing security of the car wash terminal, and pass a one-time secret The key mechanism prevents malicious access.
Effectively confirm the credibility of car wash users, prevent malicious access, reduce the energy consumption of terminal devices, improve the real-time and security of data processing, and meet the fast response needs of delay-sensitive applications.
Smart Images

Figure CN119052789A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of fog computing communication technology, and in particular to a fog computing low-power communication method based on end-edge integration. Background Art
[0002] With the rapid development of IoT technology, IoT is increasingly widely used in people's lives, and is gradually transforming from a simple connection between objects to an intelligent one. To achieve greater success, IoT must rely on an open platform that can provide good support. Cloud computing has become a supporting platform for big data analysis and processing with its powerful computing and storage capabilities. Complex applications are uploaded to the cloud for storage and processing, and then the processing results are sent from the cloud to mobile users. However, with the explosive growth in the number of IoT terminal devices, the amount of raw data perceived by IoT is very large, and there are complex relationships between the massive amounts of data. Filtering, processing, and analyzing massive amounts of data is a huge challenge for cloud computing systems. In particular, when the underlying data has high requirements for time delay, the following problems emerge:
[0003] (1) It cannot meet the requirements of the system boundary area for extremely small time delays in real-time and semi-real-time applications. Traditional cloud computing cannot meet this requirement because it requires all data to be gathered in the computing center for processing.
[0004] (2) There are too many IoT terminals, and the networking is generally complex. It is impossible to meet the network requirements for cloud computing in all application areas. The computing power of the underlying equipment is relatively limited and is restricted by the on-site energy supply.
[0005] In order to solve the above problems, the concept of fog computing has emerged in the prior art, that is, the user's mobile phone is used as a fog node. The mobile phone uses a short-distance transmission protocol (such as Bluetooth, WIFI) to interact with the car wash terminal and then connects to the cloud through the network. The computing, storage and network communication services provided by the mobile phone make the calculation, analysis and processing of data closer to the terminal, thereby reducing the response delay and storage overhead of the IoT business processed by the cloud layer, reducing the consumption of wireless resources, reducing the energy consumption of the terminal device and thus extending its standby time, and continuing to provide computing services in areas without Internet coverage, such as Figure 1 The fog computing system shown.
[0006] Between the cloud layer and the terminal device layer, the user's mobile phone is added as the fog layer. A large amount of information related to a specific environment can be directly stored and processed on the mobile phone. As the fog computing layer, the mobile phone includes both upward and downward gateways, as well as temporary data storage and computing devices. It can make intelligent judgments on data requests to be processed, and this layer will directly serve as a gateway to upload data to the cloud data center. It inherits the advantages of cloud computing and edge computing, and can give full play to the computing functions of the terminal and the advantages of local processing, which can well solve the problem of rapid response of delay-sensitive applications.
[0007] However, mobile phones as fog computing also bring new security issues. Since the terminal device does not communicate directly with the cloud layer, it is impossible to synchronize the real-time information between the terminal device and the cloud layer. In specific commercial application scenarios, such as a self-service car wash terminal in an underground parking lot and disconnected from the Internet, malicious users can tamper with the local data of the mobile phone to "cheat" the terminal device and pretend to be other users, thereby achieving malicious evasion or unfair commercial competition. Therefore, it is necessary to provide a communication method that allows the car wash terminal in a disconnected state to confirm the credibility of the car wash user and retain the low power consumption advantage of fog computing. Summary of the invention
[0008] The purpose of this application is to provide a communication method that enables a car wash terminal in an offline state to confirm the credibility of a car wash user while retaining the low power consumption advantage of fog computing.
[0009] According to one aspect of the present application, a fog computing low-power communication method based on edge-end integration is provided, which is applicable to fog layer nodes. The method comprises the steps of:
[0010] Maintain real-time communication with the cloud layer, initiate a temporary communication request to the car wash terminal, and receive the key request 1 returned by the car wash terminal. If the fog layer node is a new user, generate the key request 2, and send the user ID and key request 2 to the cloud layer for primary key library verification;
[0011] Receive the one-time first key returned by the cloud layer after the key library is verified, and send it to the car wash terminal for terminal wake-up;
[0012] The order interaction is performed with the awakened car wash terminal, and the one-time second secret key generated by the car wash terminal based on the order result is received, and the second secret key is sent to the secondary key library of the cloud layer for storage after being stored.
[0013] Preferably, after the step of initiating a temporary communication request to the car wash terminal and receiving a key request one returned by the car wash terminal, the method further includes:
[0014] If the fog layer node is an old user, a key request three is generated, and the key request three and the second key stored during the last car wash are sent to the secondary key library of the cloud layer for verification;
[0015] If the cloud layer finds the same second key in the secondary key library, it receives the first key returned by the primary key library of the cloud layer and sends it to the car wash terminal for terminal wake-up.
[0016] Preferably, when a new user registers, the following steps are included:
[0017] Establish real-time communication with the cloud;
[0018] User registration, and user ID is generated and stored locally;
[0019] Send the user ID to the cloud layer for storage in a primary key repository.
[0020] Preferably, the step of initiating a communication request to the car wash terminal specifically includes:
[0021] Find nearby car wash terminals;
[0022] The IoT APP lists each car wash terminal, and the user selects one of the car wash terminals to initiate a communication request;
[0023] In the step of receiving the secret key request 1 returned by the car wash terminal,
[0024] It also receives and stores the device identification code returned by the car wash terminal; if the fog layer node is a new user, the device identification code, user ID and key request 2 are sent to the primary key library of the cloud layer for verification, and the primary key library of the cloud layer searches whether there is the same user ID. If so, the first key corresponding to the car wash terminal in the primary key library is called according to the device identification code, and the user ID stored in the primary key library is deleted; if the fog layer node is an old user, the device identification code, key request 3 and the second key stored during the last car wash are sent to the secondary key library of the cloud layer for verification, and the secondary key library of the cloud layer searches whether there is the same second key. If so, the first key corresponding to the car wash terminal in the primary key library is called according to the device identification code, and the second key stored in the secondary key library is deleted.
[0025] Preferably, the steps of interacting with the awakened car wash terminal for an order, receiving a one-time second secret key generated by the car wash terminal based on the order result, and storing and sending the second secret key to the cloud layer include:
[0026] Send an order request to the awakened car wash terminal through the IoT APP.
[0027] Receive terminal status information sent by the car wash terminal, and generate an order based on the terminal status information; wherein the terminal status information includes a combination of multiple information including car wash price, average car wash time, car wash machine status, car wash effect, car wash evaluation, and car wash machine operation instructions;
[0028] After the order is paid, the car wash terminal receives a one-time second secret key generated based on the order result;
[0029] The second key is received, the second key stored last time is deleted, the second key received this time is stored, and the second key is sent to the secondary key library of the cloud layer for storage.
[0030] Preferably, the step of receiving the terminal status information sent by the car wash terminal and generating an order based on the terminal status information specifically includes:
[0031] Receive terminal status information sent by the car wash terminal, analyze the user's car wash preference in combination with the terminal status information and the user's historical data stored in the IoT APP, and generate order options for user interaction;
[0032] The user checks the order option and generates an order, wherein the order includes a device identification code representing the unique identity of the car wash terminal and a decimal serial code representing the number of historical car washes of the car wash terminal.
[0033] More preferably, in the step of generating a one-time second secret key based on the order result, the second secret key includes:
[0034] A device string, including a device identification code representing a unique identity of the car wash terminal;
[0035] A historical character string, comprising a decimal sequence code representing the number of historical car washes at the car wash terminal;
[0036] An order string containing a decimal sequence of order options selected by the user.
[0037] A low-power communication method for fog computing based on device-edge integration is applicable to a car wash terminal. When a user washes a car, the method comprises the following steps:
[0038] Receive external communication requests and determine whether the request object is a fog layer node. If so, establish temporary communication and return a secret key request to the fog layer node;
[0039] Receive the one-time first secret key from the cloud layer and forwarded by the fog layer node to wake up the terminal;
[0040] Interact with the fog layer node for orders, generate a one-time second key based on the order result, send it to the fog layer node for storage, and forward it to the cloud layer's secondary key library for storage via the fog layer node.
[0041] A low-power communication method for fog computing based on edge-end integration is applicable to the cloud layer. When a new user registers, the method includes the following steps:
[0042] Establish real-time communication with fog layer nodes;
[0043] Receive the user ID generated after the user completes registration;
[0044] Check whether the same user ID exists in the primary key library. If not, store the user ID in the primary key library.
[0045] Maintain real-time communication with fog layer nodes.
[0046] A low-power communication method based on fog computing and edge integration, suitable for the cloud layer, when users wash their cars,
[0047] Maintain real-time communication with fog layer nodes;
[0048] Receive the user ID and key request 2 sent by the fog layer node, and search in the primary key library whether there is the same user ID. If so, call the first key in the primary key library and send it to the fog layer node, and delete the user ID in the primary key library;
[0049] Receive the second secret key sent by the fog layer node, and search in the secondary key library whether the same second secret key exists. If not, store the second secret key in the secondary key library.
[0050] This application has the following beneficial effects:
[0051] The fog layer node receives the one-time first key returned by the cloud layer after verification, wakes up the car wash terminal, and after the order interaction is completed, receives the one-time second key generated by the car wash terminal based on the order result, and stores it and sends it to the cloud layer's secondary key library for storage, for the terminal wake-up at the next car wash. Therefore, except for the first car wash for a new user, any subsequent car wash is based on the previous car wash as the credit basis, eliminating the possibility of malicious access to the car wash terminal by individual users. Even if there is malicious access, it can only be executed once. If the second key is not generated in the current car wash, it is impossible to wake up any car wash terminal in the next car wash, thereby strengthening the protection of offline car wash terminals. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0053] Figure 1 The fog computing system described in the background technology;
[0054] Figure 2 A flowchart of the steps in the user registration phase of the communication method described in this application;
[0055] Figure 3 A flowchart of the steps of the user car washing stage of the communication method described in this application;
[0056] Figure 4 A structural block diagram of the communication system described in this application;
[0057] Figure 5 This is a structural block diagram of the second secret key described in this application;
[0058] Description of Figure Numbers:
[0059] 100, communication system; 10, cloud layer; 20, fog layer node; 30, car wash terminal; 11, user center; 12, primary key library; 13, secondary key library; 121, first key; 122, user ID; 131, second key; 1311, device string; 1312, history string; 1313, order string. DETAILED DESCRIPTION
[0060] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are given in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive.
[0061] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0063] Please refer to Figure 1 - Figure 5 An embodiment of the present application provides a fog computing low-power communication method based on edge-end integration. The user establishes temporary communication with an offline car wash terminal 30 through the fog layer node 20 and interacts with the cloud layer 10 in real time.
[0064] The method mainly includes two stages, namely the user registration stage and the user car washing stage. The main inventive concept of the present application is concentrated on the user car washing stage, and the user registration stage is the execution basis of the user car washing stage.
[0065] Next, see Figure 2 , this embodiment first describes the user registration stage. The communication method includes the steps of:
[0066] S101 The fog layer node 20 establishes real-time communication with the cloud layer 10.
[0067] The communication system 100 mainly includes a cloud layer 10, a fog layer and a terminal. The fog layer is composed of multiple fog layer nodes 20. The fog layer node 20 is the user's mobile phone. In this application scenario, the terminal is a car wash terminal 30. The car wash terminal 30 is set outdoors or in an underground parking lot and is in an offline and standby dormant state. The car wash terminal 30 does not directly communicate with the cloud layer 10, but communicates with the cloud layer 10 indirectly through the fog layer. Each fog layer node 20 is equivalent to a car wash user. The user establishes real-time communication with the cloud layer 10 through the mobile phone and registers an account. Each user is bound to an ID card. Therefore, each user can only perform one valid registration.
[0068] S102: The user performs a user registration operation on the fog layer node 20.
[0069] S103 The cloud layer 10 generates a user ID 122 and stores it in the user center 11 .
[0070] The user completes the new user registration and generates a unique user ID 122 in the cloud layer 10 and stores it in the user center 11 of the cloud layer 10 .
[0071] S104 The cloud layer 10 stores the user ID 122 in the primary key library 12 and sends it to the fog layer node 20 .
[0072] In addition to being stored in the user center 11 of the cloud layer 10, the user ID 122 also needs to be stored in the primary key library 12 of the cloud layer 10 and the corresponding fog layer node 20. The user ID 122 is directly called from the user center 11 of the cloud layer 10, sent to the fog layer node 20, and stored in the primary key library 12.
[0073] In addition to storing the user ID 122, the one-time key library 12 also stores the wake-up keys of all car wash terminals 30, which are recorded as the first key 121. Each car wash terminal 30 has N first keys 121 built in, and they are stored in the one-time key library 12 when leaving the factory. Each first key 121 can only be used once. After use, the one-time key library 12 and the car wash terminal 30 will delete the used first key 121.
[0074] A new user can call the first secret key 121 once, and from then on can only obtain the permission to call the first secret key 121 by verifying with the second secret key 131.
[0075] S105 The fog layer node 20 receives the user ID 122 and stores it.
[0076] In addition to being called by the IoT APP, the user ID 122 stored in the fog layer node 20 is also used for the user's first car wash. When the user washes the car for the first time, the user ID 122 stored in the fog layer node 20 needs to be called to obtain the first secret key 121.
[0077] After completing the new user registration in S106, the fog layer node 20 continues to maintain real-time communication with the cloud layer 10, so as to call the computing power of the fog layer node 20 to coordinate with the adjacent fog layer nodes 20 when necessary.
[0078] In the above embodiment, the communication method in the user registration phase is described. Figure 3 , and then explain the user's car washing stage. The communication method includes the steps:
[0079] S201 The fog layer node 20 maintains real-time communication with the cloud layer 10 and initiates a communication request to the car wash terminal 30.
[0080] For example, the car wash terminal 30 is set outdoors and is in a dormant standby state to save energy. The user's mobile phone acts as a fog layer node 20 and always maintains communication with the cloud layer 10. When the user wants to wash the car, the device scanning function on the IoT APP scans the car wash terminals 30 around the user's mobile phone and selects the corresponding car wash terminal 30 to initiate a communication request.
[0081] In another embodiment, a communication request may be initiated to the car wash terminal 30 by scanning a QR code on the car wash terminal 30 .
[0082] S202 The car wash terminal 30 receives an external communication request and determines whether the request object is a fog layer node 20. If so, a temporary communication is established and a secret key request 1 is returned to the fog layer node 20.
[0083] The car wash terminal 30 receives the external communication request and determines whether the request object is the fog layer node 20. The determination method is whether the user's mobile phone initiates the communication request through the Internet of Things APP.
[0084] If the request object is the fog layer node 20, the car wash terminal 30 returns a key request 1 to the fog layer node 20 to obtain the first key 121 for waking up the fog layer node 20. At this time, the car wash terminal 30 is still in an energy-saving standby state.
[0085] S203 The fog layer node 20 receives the key request one.
[0086] At this time, there are two cases. One is that the user is a new user and has not washed the car on any car washing terminal 30 before, then step S204a and step S205a are executed subsequently; the other is that the user is an old user and has washed the car on at least one car washing terminal 30, then step S204b and step S205b are executed subsequently.
[0087] S204a If the fog layer node 20 is a new user, it directly sends a key request 2 to the cloud layer 10.
[0088] If the fog layer node 20 is a new user, the fog layer node 20 generates a key request 2 after receiving the key request 1, and sends the user ID 122 and the key request 2 to the primary key library 12 of the cloud layer 10 for verification.
[0089] User ID 122 is used to verify whether the fog layer node 20 is a new user. Key request 2 is used to trigger the verification procedure of the cloud layer 10. The primary key library 12 stores a first key 121 for waking up the car wash terminal 30 and a user ID 122 for verifying whether the fog layer node 20 is a new user.
[0090] Furthermore, in order to call the first secret key 121 used to wake up a specific car wash terminal 30, the car wash terminal 30 will send its own device identification code while returning the secret key request one. The fog layer node 20 will also send the device identification code when sending the secret key request two to the cloud layer 10. The key library 12 will call the corresponding first secret key 121 through the device identification code to wake up the car wash terminal 30.
[0091] S205a The cloud layer 10 determines whether the fog layer node 20 is a new user. If so, the cloud layer 10 returns the first secret key 121 to the fog layer node 20 .
[0092] After the fog layer node 20 receives the second key request, it triggers the new user verification procedure of the primary key library 12, that is, it searches the first key library 121 for a user ID 122 identical to the user ID 122. If the same ID exists, the user is determined to be a new user, and the first key 121 corresponding to the device identification code is called from the primary key library 12 and returned to the fog layer node 20 for waking up the car wash terminal 30.
[0093] At the same time, the cloud layer 10 deletes the user ID 122 that has been verified, so the next time the same user ID 122 cannot pass the new user verification, and the user center 11 of the cloud layer 10 will not store the same user ID 122 multiple times in the one-time key library 12, unless the staff intervenes to exclude some special circumstances. The cloud layer 10 will not approve the re-registration request of the same ID card during the user registration stage, so theoretically there is no situation where the same user ID 122 is used multiple times. Each user can and can only pass the new user verification once.
[0094] S204b If the fog layer node 20 is an old user, it sends a key request three and a second key 131 to the cloud layer 10 .
[0095] If the fog layer node 20 is an old user, the fog layer node 20 generates a secret key request 3 after receiving the secret key request 1, and the secret key request 3 is used to trigger the verification procedure of the cloud layer 10.
[0096] Similarly, in order to call the first secret key 121 used to wake up a specific car wash terminal 30, the car wash terminal 30 will send its own device identification code while returning the secret key request one. The fog layer node 20 will also send the device identification code when sending the secret key request three to the cloud layer 10. The key library 12 will call the corresponding first secret key 121 through the device identification code to wake up the car wash terminal 30.
[0097] At the same time, the secondary key library 13 deletes the second key 131 that has passed the verification.
[0098] The fog layer node 20 sends the device identification code, the key request three and the second key 131 to the cloud layer 10 .
[0099] S205b The cloud layer 10 receives the second secret key 131 and searches the secondary key library 13 for the same second secret key 131 . If yes, the cloud layer 10 returns the first secret key 121 to the fog layer node 20 .
[0100] After the cloud layer 10 receives the key request three, the verification procedure of the secondary key library 13 is triggered. The secondary key library 13 searches whether there is a second key 131 that is identical to the received second key 131. If the same second key 131 exists, the verification is successful, and the corresponding first key 121 in the primary key library 12 is called according to the device identification code, and sent to the fog layer node 20, and the user car wash terminal 30 is awakened.
[0101] S206 The fog layer node 20 receives the first secret key 121 and sends it to the car wash terminal 30 .
[0102] The fog layer node 20 receives the first secret key 121 from the cloud layer 10 and forwards it to the car wash terminal 30 for terminal wake-up.
[0103] S207 The car wash terminal 30 receives the one-time first secret key 121 forwarded from the cloud layer 10 via the fog layer node 20 to wake up the terminal.
[0104] In S208 , the car wash terminal 30 interacts the local data with the temporary data of the fog layer node 20 , generates a one-time second secret key 131 based on the interaction result, and sends it to the fog layer node 20 .
[0105] The awakened car wash terminal 30 interacts with the fog layer node 20. The car wash terminal 30 sends its terminal status information to the fog layer node 20. The fog layer node 20 generates order options based on the terminal status information and the user's historical usage records stored in the fog layer node 20. The user places an order through the order options. After the order is completed, the order is generated. The car wash terminal 30 generates a one-time second secret key 131 based on the order and sends it to the fog layer node 20.
[0106] The fog layer node 20 receives the terminal status information sent by the car wash terminal 30, and analyzes the user's car wash preference in combination with the terminal status information and the user's historical data stored in the IoT APP, and generates order options for user interaction. The user selects the order option and generates an order, which includes a device identification code representing the unique identity of the car wash terminal 30 and a decimal sequence code representing the number of historical car washes of the car wash terminal 30.
[0107] The terminal status information includes a combination of various information such as car wash price, average car wash time, car wash machine status, car wash effect, car wash evaluation, and car wash machine operation instructions;
[0108] The second secret key 131 includes: a device character string 1311 , a history character string 1312 and an order character string 1313 .
[0109] The device string 1311 includes a device identification code representing the unique identity of the car wash terminal 30. The history string 1312 includes a decimal sequence code representing the number of historical car washes by the car wash terminal 30. The order string 1313 includes a decimal sequence code representing the order options selected by the user.
[0110] S209 The fog layer node 20 stores the second secret key 131 and sends it to the cloud layer 10 .
[0111] S210 The cloud layer 10 stores the second secret key 131 .
[0112] Figure 4 The structure block diagram of a fog computing low-power communication system 100 based on edge-end integration provided by an embodiment of the present invention includes: a cloud layer 10, a fog layer node 20 and a car wash terminal 30.
[0113] The cloud layer 10 includes: a user center 11, a primary key library 12 and a secondary key library 13. The user center 11 is used to perform user registration and generate a user ID 122, which is first stored in the user center 11, then stored in the primary key library 12, and sent to the fog layer node 20 that performs registration.
[0114] The primary key library 12 is used to store the user ID 122 and the first key 121 for waking up the terminal, and is used to execute the verification procedure of the new user. The first key 121 corresponds to a car wash terminal 30 and is one-time. The first key 121 is deleted after being called. The secondary key library 13 is used to store the second key 131 and is used to execute the verification procedure of the second key 131.
[0115] The second secret key 131 includes a device string 1311, a history string 1312, and an order string 1313. The device string 1311 includes a device identification code representing the unique identity of the car wash terminal 30. The history string 1312 includes a decimal sequence code representing the number of historical car washes of the car wash terminal 30. The order string 1313 includes a decimal sequence code representing the order option selected by the user.
[0116] During the new user registration phase, only the cloud layer 10 and the fog layer node 20 interact with each other, and the car wash terminal 30 does not participate in the communication interaction. The user center 11 of the cloud layer 10 is used to perform the registration of new users and generate user ID 122. The user ID 122 is stored in the user center 11, the one-time key library 12 and the fog layer node 20 respectively.
[0117] During the user's car wash stage, the cloud layer 10, the fog layer node 20 and the car wash terminal 30 all interact, but there is no direct interaction between the car wash terminal 30 and the cloud layer 10. The car wash terminal 30 needs the first secret key 121 to wake up. The first secret key 121 is stored in the cloud layer 10. The fog layer node 20 needs to verify the first secret key 121 when asking the cloud layer 10. There are two ways of verification. One is based on the verification of new users, which is relatively simple. The other is for the verification of old users. The old user needs to provide the second secret key 131 generated in the last car wash process. That is, the generation of the second secret key 131 is related to the user's behavior. The cloud layer 10 is only the storage party of the second secret key 131, and the car wash terminal 30 is the generator of the second secret key 131. In this way, the car wash terminal 30 during the last car wash serves as the generator of the second secret key 131, and the cloud layer 10 serves as the storage of the second secret key 131. The user cannot forge the secret key through the car wash terminal 30 faced this time, and the fog layer node 20 does not have the basis for forging the secret key, thereby preventing malicious access.
[0118] This means that each time a user washes his car, the previous car wash is used as the credit basis, which excludes the possibility of malicious access to the car wash terminal 30 by individual users. Even if there is malicious access, it can only be performed once. If the second secret key 131 is not generated in the current car wash, it is impossible to wake up any car wash terminal 30 in the next car wash. This strengthens the protection of the offline car wash terminal 30.
[0119] In this way, the fog layer node 20 receives the one-time first secret key 121 returned after verification by the primary secret key library 12 of the cloud layer 10, wakes up the car wash terminal 30, and after the order interaction is completed, receives the one-time second secret key 131 generated by the car wash terminal 30 based on the order result, and sends it to the secondary secret key library 13 of the cloud layer 10 for storage after storage, for the terminal wake-up at the next car wash. Therefore, except for the first car wash of a new user, any subsequent car wash is based on the credit of the previous car wash, which excludes the occurrence of malicious access to the car wash terminal 30 by individual users. Even if there is malicious access, it can only be executed once. If the second secret key 131 is not generated in the current car wash, it is impossible to wake up any car wash terminal 30 in the next car wash, thereby strengthening the protection of the offline car wash terminal 30.
[0120] The above-described embodiments only express several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A low-power communication method for fog computing based on edge-end integration, characterized in that: Applicable to fog layer nodes, when a user washes a car, the method includes the steps of: Maintain real-time communication with the cloud layer, initiate a temporary communication request to the car wash terminal, and receive the key request 1 returned by the car wash terminal. If the fog layer node is a new user, generate the key request 2, and send the user ID and key request 2 to the cloud layer for primary key library verification; Receive the one-time first key returned by the cloud layer after the key library is verified, and send it to the car wash terminal for terminal wake-up; The order interaction is performed with the awakened car wash terminal, and the one-time second secret key generated by the car wash terminal based on the order result is received, and the second secret key is sent to the secondary key library of the cloud layer for storage after being stored.
2. The low-power consumption fog computing communication method based on edge-end integration according to claim 1 is characterized in that: After the step of initiating a temporary communication request to the car wash terminal and receiving a key request one returned by the car wash terminal, the method further includes: If the fog layer node is an old user, a key request three is generated, and the key request three and the second key stored during the last car wash are sent to the secondary key library of the cloud layer for verification; If the cloud layer finds the same second key in the secondary key library, it receives the first key returned by the primary key library of the cloud layer and sends it to the car wash terminal for terminal wake-up.
3. The low-power communication method for fog computing based on edge-end integration according to claim 1 is characterized in that: When a new user registers, the steps include: Establish real-time communication with the cloud; User registration, and user ID is generated and stored locally; Send the user ID to the cloud layer for storage in a primary key repository.
4. The low-power consumption fog computing communication method based on edge-end integration according to claim 2 is characterized in that: The step of initiating a communication request to the car wash terminal specifically includes: Find nearby car wash terminals; The IoT APP lists each car wash terminal, and the user selects one of the car wash terminals to initiate a communication request; In the step of receiving the secret key request 1 returned by the car wash terminal, It also receives and stores the device identification code returned by the car wash terminal; if the fog layer node is a new user, the device identification code, user ID and key request 2 are sent to the primary key library of the cloud layer for verification, and the primary key library of the cloud layer searches whether there is the same user ID. If so, the first key corresponding to the car wash terminal in the primary key library is called according to the device identification code, and the user ID stored in the primary key library is deleted; if the fog layer node is an old user, the device identification code, key request 3 and the second key stored during the last car wash are sent to the secondary key library of the cloud layer for verification, and the secondary key library of the cloud layer searches whether there is the same second key. If so, the first key corresponding to the car wash terminal in the primary key library is called according to the device identification code, and the second key stored in the secondary key library is deleted.
5. The low-power consumption fog computing communication method based on edge-end integration according to claim 1 is characterized in that: The steps of interacting with the awakened car wash terminal for an order, receiving a one-time second secret key generated by the car wash terminal based on the order result, and storing and sending the second secret key to the cloud layer for storage specifically include: Send an order request to the awakened car wash terminal through the IoT APP. Receive terminal status information sent by the car wash terminal, and generate an order based on the terminal status information; wherein the terminal status information includes a combination of multiple information including car wash price, average car wash time, car wash machine status, car wash effect, car wash evaluation, and car wash machine operation instructions; After the order is paid, the car wash terminal receives a one-time second secret key generated based on the order result; The second key is received, the second key stored last time is deleted, the second key received this time is stored, and the second key is sent to the secondary key library of the cloud layer for storage.
6. The low-power consumption fog computing communication method based on edge-end integration according to claim 5 is characterized in that: The step of receiving the terminal status information sent by the car wash terminal and generating an order based on the terminal status information specifically includes: Receive terminal status information sent by the car wash terminal, analyze the user's car wash preference in combination with the terminal status information and the user's historical data stored in the IoT APP, and generate order options for user interaction; The user checks the order option and generates an order, wherein the order includes a device identification code representing the unique identity of the car wash terminal and a decimal serial code representing the number of historical car washes of the car wash terminal.
7. The low-power consumption fog computing communication method based on edge-end integration according to claim 5 is characterized in that: In the step of generating a one-time second secret key based on the order result, the second secret key includes: A device string, including a device identification code representing a unique identity of the car wash terminal; A historical character string, comprising a decimal sequence code representing the number of historical car washes at the car wash terminal; An order string containing a decimal sequence of order options selected by the user.
8. A low-power communication method for fog computing based on edge-end integration, characterized in that: Applicable to a car wash terminal, when a user washes a car, the method comprises the steps of: Receive external communication requests and determine whether the request object is a fog layer node. If so, establish temporary communication and return a secret key request to the fog layer node; Receive the one-time first secret key from the cloud layer and forwarded by the fog layer node to wake up the terminal; Interact with the fog layer node for orders, generate a one-time second key based on the order result, send it to the fog layer node for storage, and forward it to the cloud layer's secondary key library for storage via the fog layer node.
9. A low-power communication method for fog computing based on edge-end integration, characterized in that: Applicable to the cloud layer, when a new user registers, the method includes the steps of: Establish real-time communication with fog layer nodes; Receive the user ID generated after the user completes registration; Check whether the same user ID exists in the primary key library. If not, store the user ID in the primary key library. Maintain real-time communication with fog layer nodes.
10. A low-power communication method for fog computing based on edge-end integration, characterized in that: Applicable to the cloud layer, when the user washes the car, the method comprises the steps of: Maintain real-time communication with fog layer nodes; Receive the user ID and key request 2 sent by the fog layer node, and search in the primary key library whether there is the same user ID. If so, call the first key in the primary key library and send it to the fog layer node, and delete the user ID in the primary key library; Receive the second secret key sent by the fog layer node, and search in the secondary key library whether the same second secret key exists. If not, store the second secret key in the secondary key library.
Citation Information
Patent Citations
Internet of Vehicles privacy data protection method based on double pseudonyms in fog computing environment
CN110233724A
Security authentication communication system and method in fog computing environment, and Internet of Things equipment
CN112769568A
Remote access control system and control method in fog computing environment, terminal and medium
CN114143343A
Orchestration of cloud and fog interactions
US20180159745A1
