Cloud-edge-based edge control method and apparatus
By adopting the edge control method of cloud edge in industrial control systems, edge cloud servers desensitize data and compare device control instructions, solving the computing power and confidentiality problems of cloud when the data volume is large, real-time performance and response certainty improve the robustness and practicality of the system.
Patent Information
- Application Number
- PCT/CN2023/116520
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-12
- Filing Date
- 2023-09-01
- Publication Date
- 2024-11-21
AI Technical Summary
In industrial control systems, there are computing power and confidentiality problems in the cloud's control of the generation and manufacturing process, especially when the data volume is large, real-timeness and response certainty cannot be guaranteed.
Adopting an edge control method based on cloud edge, the received data is desensitized through the edge cloud server, the second data is generated and uploaded to the cloud server, and the device control instructions are received and compared, and the global data generation is identified and priority is performed. instructions to avoid conflicts and improve system robustness.
Prevent data leakage through desensitization of edge cloud servers, improve data confidentiality, and ensure priority execution of global data instructions through conflict identification and priority allocation, improving the robustness and practicality of the control system.
Smart Images

Figure CN2023116520_21112024_PF_FP_ABST
Abstract
Description
Edge control method and device based on cloud-edge terminal
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 202310532260.2 and application date of May 12, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0003] The present disclosure relates to the technical field of industrial control systems, and in particular to a cloud-edge-based edge control method and device. Background Art
[0004] In actual industrial manufacturing, specific performance requirements vary significantly across different processes. However, on-site data exchange and control processes all require real-time performance and deterministic responses. Current technology allows for cloud-based control of the entire manufacturing process, but cloud computing power and confidentiality cannot be guaranteed when dealing with large amounts of data.
[0005] Summary of the Invention
[0006] The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.
[0007] To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes an edge control method based on the cloud-edge terminal, which is applicable to the edge control terminal, including: receiving first data sent by the device terminal; uploading the first data to the edge cloud server, and generating second data after the first data is desensitized by the edge cloud server, and uploading it to the cloud server; receiving a first device control instruction issued by the edge cloud server based on the first data, and receiving a second device control instruction issued by the cloud server based on global data and the second data; identifying whether there is a conflict between the second device control instruction and the first device control instruction; in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, executing the first device control instruction after executing the second device control instruction.
[0008] According to one embodiment of the present disclosure, the method further includes: in response to identifying that there is a conflict between the second device control instruction and the first device control instruction, executing the second device control instruction, and generating a feedback instruction based on the first device control instruction and sending it to the edge cloud server.
[0009] According to one embodiment of the present disclosure, identifying whether there is a conflict between the second device control instruction and the first device control instruction includes: obtaining the first control object and the first control parameter in the second device control instruction; obtaining the second control object and the second control parameter in the first device control instruction; and determining that there is a conflict between the second device control instruction and the first device control instruction when the first control object and the second control object are the same and the first control parameter and the second control parameter are opposite or the same.
[0010] According to one embodiment of the present disclosure, the identifying whether there is a conflict between the second device control instruction and the first device control instruction further includes: when the first control object and the second control object are different, and / or the first control parameter and the second control parameter are different, determining that there is no conflict between the second device control instruction and the first device control instruction; wherein, the first control parameter and the second control parameter are different, does not include the first control parameter and the second control parameter being opposite.
[0011] According to one embodiment of the present disclosure, in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, executing the first device control instruction after executing the second device control instruction includes: in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, assigning a first priority to the second device control instruction and assigning a second priority to the first device control instruction, the first priority being higher than the second priority; and executing the second device control instruction and the first device control instruction in sequence in order of priority from high to low.
[0012] The second aspect of the present disclosure proposes an edge control method based on a cloud-edge terminal, which is applicable to an edge cloud server, including: receiving first data sent by an edge control terminal, desensitizing the first data and generating second data; sending the second data to a cloud server, and generating a first device control instruction based on the first data, and sending it to the edge control terminal.
[0013] The third aspect of the present disclosure proposes an edge control method based on a cloud-edge terminal, which is applicable to a cloud server, including: receiving second data sent by an edge cloud server, where the second data is generated by the edge cloud server after desensitizing the first data sent by the edge control terminal; generating a second device control instruction based on the second data, and sending it to the edge control terminal.
[0014] The fourth aspect embodiment of the present disclosure proposes an edge control device based on a cloud-edge terminal, which is suitable for an edge control terminal, including: a receiving module, used to receive first data sent by a device terminal; an uploading module, used to upload the first data to the edge cloud server, and the first data is desensitized by the edge cloud server to generate second data, and uploaded to the cloud server; an instruction module, used to receive a first device control instruction issued by the edge cloud server based on the first data, and receive a second device control instruction issued by the cloud server based on global data and the second data; an identification module, used to identify whether there is a conflict between the second device control instruction and the first device control instruction; an execution module, used to execute the first device control instruction after executing the second device control instruction in response to identifying that there is no conflict between the second device control instruction and the first device control instruction.
[0015] According to one embodiment of the present disclosure, the execution module is further used to: in response to identifying a conflict between the second device control instruction and the first device control instruction, execute the second device control instruction, and generate a feedback instruction based on the first device control instruction and send it to the edge cloud server.
[0016] According to one embodiment of the present disclosure, the identification module is also used to: obtain the first control object and the first control parameter in the first device control instruction; obtain the second control object and the second control parameter in the second device control instruction; and determine that there is a conflict between the second device control instruction and the first device control instruction when the first control object and the second control object are the same and the first control parameter and the second control parameter are opposite or the same.
[0017] According to one embodiment of the present disclosure, the identification module is also used to: when the first control object and the second control object are different, and / or the first control parameter and the second control parameter are different, determine that there is no conflict between the second device control instruction and the first device control instruction; wherein, the first control parameter and the second control parameter are different, excluding the first control parameter and the second control parameter being opposite.
[0018] According to one embodiment of the present disclosure, the identification module is also used to: in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, assign a first priority to the second device control instruction, and assign a second priority to the first device control instruction, the first priority being higher than the second priority; and execute the second device control instruction and the first device control instruction in sequence in order of priority from high to low.
[0019] The fifth aspect embodiment of the present disclosure proposes an edge control device based on a cloud-edge terminal, which is suitable for an edge cloud server, including: a receiving module, used to receive first data sent by an edge control terminal, and generate second data after desensitizing the first data; a sending module, used to send the second data to the cloud server, and at the same time generate a first device control instruction based on the first data, and send it to the edge control terminal.
[0020] The sixth aspect embodiment of the present disclosure proposes an edge control device based on a cloud-edge terminal, which is suitable for a cloud server, including: a transceiver module, used to receive second data sent by the edge cloud server, where the second data is generated by the edge cloud server after desensitizing the first data sent by the edge control terminal; a sending module, used to generate a second device control instruction based on the second data, and send it to the edge control terminal.
[0021] The seventh aspect embodiment of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the cloud-edge-based edge control method as described in the first aspect embodiment, the second aspect embodiment, and the third aspect embodiment of the present disclosure.
[0022] The eighth embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the cloud-edge-based edge control method as described in the first, second, and third embodiments of the present disclosure.
[0023] The ninth aspect embodiment of the present disclosure proposes a computer program product, including a computer program, which, when executed by a processor, is used to implement the cloud-edge-end-based edge control method as described in the first aspect embodiment, the second aspect embodiment, and the third aspect embodiment of the present disclosure.
[0024] By desensitizing the first data through the edge cloud server, it is possible to prevent the leakage of key data or parameters during data flow and improve the confidentiality of the data. At the same time, by judging whether there is a conflict between the first device control instruction and the second device control instruction, it is ensured that the second device control instruction generated based on the global data is executed first, thereby giving priority to ensuring the normal operation of the global system and improving the robustness and practicality of the control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] FIG1 is a schematic diagram of a cloud-edge-based edge control method according to an embodiment of the present disclosure;
[0026] FIG2 is a schematic diagram of the structure of a cloud-edge-device control system according to an embodiment of the present disclosure;
[0027] FIG3 is a schematic diagram of another cloud-edge-based edge control method according to an embodiment of the present disclosure;
[0028] FIG4 is a schematic diagram of another cloud-edge-based edge control method according to an embodiment of the present disclosure;
[0029] FIG5 is a schematic diagram of another edge control method based on a cloud-edge terminal according to an embodiment of the present disclosure;
[0030] FIG6 is a schematic diagram of another edge control method based on a cloud-edge terminal according to an embodiment of the present disclosure;
[0031] FIG7 is a schematic diagram of an edge control device based on a cloud-edge terminal according to an embodiment of the present disclosure;
[0032] FIG8 is a schematic diagram of another edge control device based on a cloud-edge terminal according to an embodiment of the present disclosure;
[0033] FIG9 is a schematic diagram of another edge control device based on a cloud-edge terminal according to an embodiment of the present disclosure;
[0034] FIG10 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] The following describes in detail embodiments of the present disclosure, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0036] Figure 1 is a schematic diagram of an exemplary implementation of a cloud-edge-based edge control method proposed in the present disclosure, which is applicable to an edge control terminal. As shown in Figure 1, the cloud-edge-based edge control method includes the following steps S101 to S105.
[0037] S101: Receive first data sent by a device.
[0038] The cloud-edge-end based edge control method of the embodiment of the present disclosure can be applied to the edge cloud control scenario underground. The executor of the cloud-edge-end based edge control of the embodiment of the present disclosure can be the cloud-edge-end based edge control device of the embodiment of the present disclosure, and the cloud-edge-end based edge control device can be set on an electronic device.
[0039] In the embodiment of the present disclosure, the edge control terminal, the edge cloud server and the cloud server are specific modules in a cloud-edge control system proposed in the present disclosure. As shown in Figure 2, the cloud-edge control system includes: an edge control terminal, an edge cloud server and a cloud server.
[0040] Among them, the edge control end is used to receive the operation data of the front-end device for analysis and processing to obtain processing data, and at the same time generate front-end control instructions based on the processing data and send them to the front-end device for execution.
[0041] The edge cloud server is used to receive and process data, generate edge control instructions, and send them to the edge control terminal for execution.
[0042] The cloud server is used to receive data processed by the edge cloud server, summarize the processed data, update the global data, and generate control instructions based on the global data and send them to the edge control end for execution.
[0043] S102, uploading the first data to the edge cloud server, the first data is desensitized by the edge cloud server to generate second data, and uploading it to the cloud server.
[0044] It's important to note that desensitization involves transforming certain sensitive information using desensitization rules to reliably protect sensitive and private data. When it comes to customer security data or commercially sensitive data, real data can be modified and provided for testing purposes without violating system rules. For example, personal information such as ID numbers, mobile phone numbers, credit card numbers, and customer numbers all require desensitization. Database security technologies primarily include database vulnerability scanning, database encryption, database firewalls, data desensitization, and database security audit systems.
[0045] It should be noted that the sensitive rules can be set in advance and can be changed according to actual design needs.
[0046] In the embodiments of the present disclosure, there are multiple desensitization methods, which can be selected according to actual needs.
[0047] In some embodiments, data desensitization can be performed by inputting the first data into a desensitization model to generate second data. The desensitization model is trained in advance and can be changed according to actual design needs.
[0048] In some embodiments, the first data may also be processed by a desensitizing application to achieve data desensitization.
[0049] It should be noted that data analysis can also be performed on the first data, sensitive data can be removed from the first data to generate second data, and the sensitive data can be stored in the storage device of the edge cloud server, thereby improving the confidentiality of the data.
[0050] S103, receiving a first device control instruction sent by the edge cloud server based on the first data, and receiving a second device control instruction sent by the cloud server based on the global data and the second data.
[0051] In the disclosed embodiments, both the edge cloud server and the cloud server have control over the edge control terminal. It should be noted that the edge cloud server controls and implements the edge control terminal based on the current working status of the edge control terminal, while the cloud server controls and implements the edge control terminal based on the overall working architecture.
[0052] It should be noted that the first device control instruction and the second device control instruction can be multiple and can be selected according to actual needs. For example, the first device control instruction and the second device control instruction may include adjusting the operating parameters of the front-end device, controlling the start or stop of the front-end device, etc.
[0053] S104: Identify whether there is a conflict between the second device control instruction and the first device control instruction.
[0054] In the embodiment of the present disclosure, the first device control instruction and the second device control instruction may include a variety of instruction information, for example, may include a control object, a control timestamp, an action instruction, etc., and the specific selection can be made according to actual design needs.
[0055] In the disclosed embodiment, the instruction information can be compared to determine whether a conflict exists between the second device control instruction and the first device control instruction. For example, if the second device control instruction and the first device control instruction are directed to the same object and perform similar or opposite actions, a conflict may exist.
[0056] S105 : In response to identifying that there is no conflict between the second device control instruction and the first device control instruction, executing the first device control instruction after executing the second device control instruction.
[0057] In the embodiment of the present disclosure, since the second device control instruction is an instruction generated based on global data, and the first device control instruction is an instruction generated based on the working status of the current device end, the execution priority of the second device control instruction is higher than that of the first device control instruction.
[0058] In the embodiment of the present disclosure, firstly, the first data sent by the device end is received, and then the first data is uploaded to the edge cloud server. The first data is desensitized by the edge cloud server to generate second data, which is uploaded to the cloud server. Then, the first device control instruction issued by the edge cloud server based on the first data is received, and the second device control instruction issued by the cloud server based on the global data and the second data is received. Then, it is identified whether there is a conflict between the second device control instruction and the first device control instruction. Finally, in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, the first device control instruction is executed after executing the second device control instruction. Thus, by desensitizing the first data through the edge cloud server, it is possible to prevent the leakage of key data or parameters during the data flow process and improve the confidentiality of the data. At the same time, by judging whether there is a conflict between the first device control instruction and the second device control instruction, it is ensured that the second device control instruction generated based on the global data is executed first, thereby giving priority to ensuring the normal operation of the whole system and improving the robustness and practicality of the control system.
[0059] In an embodiment of the present disclosure, in response to identifying a conflict between the second device control instruction and the first device control instruction, the second device control instruction is executed, and a feedback instruction is generated based on the first device control instruction and sent to the edge cloud server.
[0060] In the embodiment of the present disclosure, identifying whether a second device control instruction conflicts with a first device control instruction can be further explained with reference to FIG. 3 . The method includes steps S301 to S303 .
[0061] S301: Acquire a first control object and a first control parameter in a first device control instruction.
[0062] S302: Acquire a second control object and a second control parameter in a second device control instruction.
[0063] In the embodiment of the present disclosure, the first device control instruction and the second device control instruction may be parsed to obtain the first control object and the first control parameter, and the second control object and the second control parameter, respectively.
[0064] S303: When the first control object and the second control object are the same, and the first control parameter and the second control parameter are opposite or the same, determine that there is a conflict between the second device control instruction and the first device control instruction.
[0065] As another possible situation, when the first control object and the second control object are different, and / or the first control parameter and the second control parameter are different, it is determined that there is no conflict between the second device control instruction and the first device control instruction, wherein the first control parameter and the second control parameter are different, does not include the first control parameter and the second control parameter being opposite.
[0066] In the disclosed embodiment, the first control object and first control parameter in the first device control instruction are first obtained, and then the second control object and second control parameter in the second device control instruction are obtained. If the first control object and the second control object are the same, and the first control parameter and the second control parameter are opposite or the same, it is determined that the second device control instruction and the first device control instruction conflict. Thus, by comparing the first device control instruction and the second device control instruction, it is determined whether there is a conflict, providing an accurate data basis for subsequent instruction execution.
[0067] In the above embodiment, in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, the first device control instruction is executed after executing the second device control instruction. As can be further explained by Figure 4, the method includes steps S401 to S402.
[0068] S401 : In response to identifying that there is no conflict between the second device control instruction and the first device control instruction, assign a first priority to the second device control instruction and assign a second priority to the first device control instruction, wherein the first priority is higher than the second priority.
[0069] In some embodiments, there may be multiple first device control instructions and second device control instructions, so when executing, it is necessary to assign priorities to the first device control instructions and the second device control instructions. It should be noted that the priorities of the first device control instructions or the second device control instructions may be different.
[0070] There are many methods for allocating priorities, which can be selected according to actual needs.
[0071] In some embodiments, the priority may be determined by the execution timestamps between the first device control instructions or the second device control instructions, and the priority of the instruction with the earlier execution timestamp is higher than the instruction with the later execution timestamp.
[0072] In some embodiments, the priority of the instructions may also be determined based on the object being executed. For example, the execution priority of instructions related to downhole support equipment is higher than the execution priority of instructions related to downhole production equipment.
[0073] S402: Execute the second device control instruction and the first device control instruction in sequence according to the order of priority from high to low.
[0074] In the disclosed embodiment, in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, the second device control instruction is assigned a first priority, and the first device control instruction is assigned a second priority, with the first priority being higher than the second priority. The second device control instruction and the first device control instruction are executed sequentially in descending order of priority. Thus, by assigning priorities to device control instructions and giving priority to device control instructions with higher priorities, the orderliness of instruction execution can be ensured, and the stability of system operation can be improved.
[0075] Figure 5 is a schematic diagram of an exemplary implementation of another cloud-edge-based edge control method proposed in the present disclosure, which is applicable to an edge cloud server. As shown in Figure 5, the cloud-edge-based edge control method includes the following steps S501 to S502.
[0076] S501: Receive first data sent by an edge control terminal, perform desensitization processing on the first data, and generate second data.
[0077] The specific operations can be referred to the contents in the above embodiments and will not be described again here.
[0078] S502: Send the second data to the cloud server, and generate a first device control instruction based on the first data, and send it to the edge control terminal.
[0079] The specific operations can be referred to the contents in the above embodiments and will not be described again here.
[0080] In the disclosed embodiment, first data sent by the edge controller is received, the first data is decrypted to generate second data, and the second data is sent to the cloud server. Simultaneously, a first device control instruction is generated based on the first data and sent to the edge controller. Decrypting the first data prevents the leakage of key data or parameters during data transmission, thereby improving data confidentiality.
[0081] Figure 6 is a schematic diagram of an exemplary implementation of another cloud-edge-based edge control method proposed in the present disclosure, which is applicable to an edge cloud server. As shown in Figure 6, the cloud-edge-based edge control method includes the following steps S601 to S602.
[0082] S601, receiving second data sent by the edge cloud server, where the second data is generated by the edge cloud server after desensitizing the first data sent by the edge control terminal.
[0083] The specific operations can be referred to the contents in the above embodiments and will not be described again here.
[0084] S602: Generate a second device control instruction based on the second data, and send it to the edge control terminal.
[0085] The specific operations can be referred to the contents in the above embodiments and will not be described again here.
[0086] In the disclosed embodiment, the edge cloud server first receives second data sent by the edge cloud server. The second data is generated by the edge cloud server after desensitizing the first data sent by the edge control terminal. Then, the second device control instruction is generated based on the second data and sent to the edge control terminal. Thus, by generating the second device control instruction, the edge control terminal can be globally controlled.
[0087] Corresponding to the cloud-edge-based edge control methods provided in the above-mentioned embodiments, an embodiment of the present disclosure also provides an edge control device based on the cloud-edge. Since the cloud-edge-based edge control device provided in the embodiment of the present disclosure corresponds to the cloud-edge-based edge control methods provided in the above-mentioned embodiments, the implementation method of the above-mentioned cloud-edge-based edge control method is also applicable to the cloud-edge-based edge control device provided in the embodiment of the present disclosure, and will not be described in detail in the following embodiments.
[0088] Figure 7 is a schematic diagram of an edge control device based on a cloud edge proposed in the present disclosure, which is applicable to the edge control end. As shown in Figure 7, the edge control device 700 based on the cloud edge includes: a receiving module 710, an upload module 720, an instruction module 730, an identification module 740 and an execution module 750.
[0089] The receiving module 710 is configured to receive first data sent by a device.
[0090] The uploading module 720 is used to upload the first data to the edge cloud server. The first data is desensitized by the edge cloud server to generate second data, and then uploaded to the cloud server.
[0091] The instruction module 730 is used to receive a first device control instruction sent by the edge cloud server based on the first data, and to receive a second device control instruction sent by the cloud server based on the global data and the second data.
[0092] The identification module 740 is configured to identify whether there is a conflict between the second device control instruction and the first device control instruction.
[0093] The execution module 750 is configured to, in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, execute the first device control instruction after executing the second device control instruction.
[0094] In one disclosed embodiment, the execution module 750 is further used to: in response to identifying that there is a conflict between the second device control instruction and the first device control instruction, execute the second device control instruction, and generate a feedback instruction based on the first device control instruction and send it to the edge cloud server.
[0095] In one disclosed embodiment, the identification module 740 is further used to: obtain the first control object and the first control parameter in the first device control instruction; obtain the second control object and the second control parameter in the second device control instruction; and determine whether there is a conflict between the second device control instruction and the first device control instruction when the first control object and the second control object are the same and the first control parameter and the second control parameter are opposite or the same.
[0096] In one disclosed embodiment, the identification module 740 is further used to: determine that there is no conflict between the second device control instruction and the first device control instruction when the first control object and the second control object are different, and / or the first control parameter and the second control parameter are different; wherein the first control parameter and the second control parameter are different, does not include that the first control parameter and the second control parameter are opposite.
[0097] In one disclosed embodiment, the identification module 740 is further used to: in response to identifying that there is no conflict between the second device control instruction and the first device control instruction, assign a first priority to the second device control instruction, and assign a second priority to the first device control instruction, the first priority being higher than the second priority; and execute the second device control instruction and the first device control instruction in sequence in descending order of priority.
[0098] By desensitizing the first data through the edge cloud server, it is possible to prevent the leakage of key data or parameters during data flow and improve the confidentiality of the data. At the same time, by judging whether there is a conflict between the first device control instruction and the second device control instruction, it is ensured that the second device control instruction generated based on the global data is executed first, thereby giving priority to ensuring the normal operation of the global system and improving the robustness and practicality of the control system.
[0099] Figure 8 is a schematic diagram of a cloud-edge-based edge control device proposed in the present disclosure, which is applicable to edge cloud servers. As shown in Figure 8, the cloud-edge-based edge control device 800 includes: a receiving module 810 and a sending module 820.
[0100] The receiving module 810 is configured to receive first data sent by the edge control terminal, perform desensitization processing on the first data and generate second data.
[0101] The sending module 820 is used to send the second data to the cloud server, and at the same time generate a first device control instruction based on the first data and send it to the edge control terminal.
[0102] By decrypting the first data, it is possible to prevent key data or parameters from being leaked during data transfer, thereby improving the confidentiality of the data.
[0103] Figure 9 is a schematic diagram of a cloud-edge-based edge control device proposed in the present disclosure, which is applicable to a cloud server. As shown in Figure 9, the cloud-edge-based edge control device 900 includes: a transceiver module 910 and a sending module 920.
[0104] The transceiver module 910 is used to receive the second data sent by the edge cloud server, where the second data is generated by the edge cloud server after desensitizing the first data sent by the edge control terminal.
[0105] The sending module 920 is configured to generate a second device control instruction based on the second data, and send the second device control instruction to the edge control terminal.
[0106] By generating the second device control instruction, the edge control terminal can be controlled on a global basis.
[0107] In order to implement the above embodiments, the embodiments of the present disclosure also propose an electronic device 1000, as shown in Figure 10, the electronic device 1000 includes: a processor 1001 and a memory 1002 communicatively connected to the processor, the memory 1002 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 1001 to implement the cloud-edge-based edge control method as described in the first aspect of the embodiment of the present disclosure.
[0108] In order to implement the above embodiments, the embodiments of the present disclosure also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement the cloud-edge-based edge control method as described in the first aspect of the embodiment of the present disclosure.
[0109] In order to implement the above embodiments, the embodiments of the present disclosure also propose a computer program product, including a computer program, which, when executed by a processor, implements the cloud-edge-based edge control method as described in the first embodiment of the present disclosure.
[0110] In the description of the present disclosure, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation to the present disclosure.
[0111] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. Throughout the present disclosure, "plurality" means two or more, unless otherwise specifically defined.
[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples, unless they are mutually inconsistent.
[0113] Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are illustrative and are not to be construed as limitations on the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.
Claims
1. A cloud-edge-based edge control method, applicable to an edge control terminal, comprising: Receiving first data sent by a device end; Uploading the first data to the edge cloud server, generating second data after the first data is desensitized by the edge cloud server, and uploading the second data to the cloud server; receiving a first device control instruction issued by the edge cloud server based on the first data, and receiving a second device control instruction issued by the cloud server based on the global data and the second data; Identify whether the second device control instruction conflicts with the first device control instruction; In response to identifying that there is no conflict between the second device control instruction and the first device control instruction, the first device control instruction is executed after executing the second device control instruction.
2. The method according to claim 1, further comprising: In response to identifying that there is a conflict between the second device control instruction and the first device control instruction, the second device control instruction is executed, and a feedback instruction is generated based on the first device control instruction and sent to the edge cloud server.
3. The method according to claim 1, wherein: The identifying whether the second device control instruction conflicts with the first device control instruction includes: Acquire a first control object and a first control parameter in the first device control instruction; Acquire a second control object and a second control parameter in the second device control instruction; When the first control object and the second control object are the same, and the first control parameter and the second control parameter are opposite or the same, it is determined that there is a conflict between the second device control instruction and the first device control instruction.
4. The method according to claim 3, wherein: The identifying whether the second device control instruction conflicts with the first device control instruction further includes: When the first control object and the second control object are different, and / or the first control parameter and the second control parameter are different, determining that there is no conflict between the second device control instruction and the first device control instruction; The first control parameter and the second control parameter are different, excluding that the first control parameter and the second control parameter are opposite.
5. The method according to claim 1, wherein: In response to identifying that there is no conflict between the second device control instruction and the first device control instruction, executing the first device control instruction after executing the second device control instruction includes: In response to identifying that there is no conflict between the second device control instruction and the first device control instruction, Assigning a first priority to the second device control instruction and assigning a second priority to the first device control instruction, the first priority being higher than the second priority; The second device control instruction and the first device control instruction are executed in sequence according to the order of priority from high to low.
6. A cloud-edge-based edge control method, applicable to edge cloud servers, comprising: receiving first data sent by the edge control end, and performing desensitization processing on the first data to generate second data; The second data is sent to the cloud server, and a first device control instruction is generated based on the first data and sent to the edge control terminal.
7. A cloud-edge-based edge control method, applicable to a cloud server, comprising: Receiving second data sent by the edge cloud server, where the second data is generated by the edge cloud server after desensitizing the first data sent by the edge control terminal; A second device control instruction is generated based on the second data, and is sent to the edge control terminal.
8. An edge control device based on a cloud edge terminal, applicable to an edge control terminal, comprising: A receiving module, used for receiving first data sent by a device end; An uploading module, used to upload the first data to the edge cloud server, the first data is desensitized by the edge cloud server to generate second data, and upload it to the cloud server; An instruction module, configured to receive a first device control instruction issued by the edge cloud server based on the first data, and receive a second device control instruction issued by the cloud server based on the global data and the second data; an identification module, used to identify whether the second device control instruction conflicts with the first device control instruction; An execution module is configured to execute the first device control instruction after executing the second device control instruction in response to identifying that there is no conflict between the second device control instruction and the first device control instruction.
9. The device according to claim 8, wherein: The execution module is also used for: In response to identifying that there is a conflict between the second device control instruction and the first device control instruction, the second device control instruction is executed, and a feedback instruction is generated based on the first device control instruction and sent to the edge cloud server.
10. The device according to claim 8, wherein: The identification module is also used for: Acquire a first control object and a first control parameter in the first device control instruction; Acquire a second control object and a second control parameter in the second device control instruction; When the first control object and the second control object are the same, and the first control parameter and the second control parameter are opposite or the same, it is determined that there is a conflict between the second device control instruction and the first device control instruction.
11. The device according to claim 10, wherein: The identification module is also used for: When the first control object and the second control object are different, and / or the first control parameter and the second control parameter are different, determining that there is no conflict between the second device control instruction and the first device control instruction; The first control parameter and the second control parameter are different, excluding that the first control parameter and the second control parameter are opposite.
12. The device according to claim 8, wherein: The identification module is also used for: In response to identifying that there is no conflict between the second device control instruction and the first device control instruction, assigning a first priority to the second device control instruction and assigning a second priority to the first device control instruction, the first priority being higher than the second priority; The second device control instruction and the first device control instruction are executed in sequence according to the order of priority from high to low.
13. An edge control device based on a cloud-edge terminal, applicable to an edge cloud server, comprising: A receiving module, used for receiving first data sent by the edge control terminal, and performing desensitization processing on the first data to generate second data; The sending module is used to send the second data to the cloud server, and generate a first device control instruction based on the first data, and send it to the edge control terminal.
14. An edge control device based on a cloud-edge terminal, applicable to a cloud server, comprising: A transceiver module, used for receiving second data sent by the edge cloud server, where the second data is generated by the edge cloud server after desensitizing the first data sent by the edge control terminal; The sending module is used to generate a second device control instruction based on the second data, and send the second device control instruction to the edge control terminal.
15. An electronic device, comprising: processor; a memory communicatively coupled to the processor; The memory stores instructions to be executed by at least one of the processors, and the instructions are executed by at least one of the processors to implement the cloud-edge-based edge control method described in any one of claims 1-5, claim 6, and claim 7.
16. A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a computer to implement the cloud-edge-based edge control method described in any one of claims 1-5, claim 6, and claim 7.
17. A computer program product, comprising a computer program, which, when executed by a processor, implements the cloud-edge-based edge control method described in any one of claims 1-5, claim 6, and claim 7.
Citation Information
Patent Citations
Heating and ventilation cloud edge cooperation system
CN113535232A
Artificial intelligence system for heating and ventilation cloud edge collaboration
CN113535233A
Intelligent agricultural greenhouse side cloud cooperative synchronous control system and control method thereof
CN114740764A
A wastewater treatment control method, cloud server, and edge device
CN114933339A
Control method, cloud edge control system, storage medium and program product
CN115237472A
