Edge hardware information secure transmission method, device and equipment based on cloud edge collaborative scene, storage medium and program product
By receiving and verifying the ciphertext of the hardware information packet of the edge server in the cloud edge collaborative system, and obtaining and using a secure transmission factor to decrypt the hardware information, the problem of low security in hardware information transmission is solved and higher security is achieved.
Patent Information
- Application Number
- CN202510035848.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-04-18
AI Technical Summary
In the cloud-edge collaboration system, it is impossible to guarantee that the edge hardware information uploaded to the cloud server is sent by a legal collection agent, which has low security problems.
By receiving the hardware information packet ciphertext from the target edge server and performing verification, if it passes, the secure transmission factor is obtained and the hardware information packet ciphertext is decrypted to obtain the edge server hardware information.
Improve the security of hardware information transmission and ensure that only legally collected hardware information is accepted.
Smart Images

Figure CN119854013A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud computing technology, and in particular to a method, apparatus, computer equipment, storage medium and computer program product for secure transmission of edge hardware information based on a cloud-edge collaboration scenario. Background Art
[0002] In the secure collaboration process of the cloud-edge collaborative system between the cloud server and the edge server, it is usually necessary to collect the hardware information of the edge server and upload it to the cloud server.
[0003] In the current hardware information transmission technology, there is no guarantee that the hardware information uploaded to the cloud server is sent by a legitimate collection agent, that is, it may be forged by a third party, resulting in low security. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, storage medium and computer program product for secure transmission of edge hardware information based on a cloud-edge collaboration scenario to address the above technical problems.
[0005] In a first aspect, the present application provides a method for secure transmission of edge hardware information based on a cloud-edge collaboration scenario. The method comprises:
[0006] Receiving a hardware information message ciphertext from a target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext;
[0007] If the verification result indicates that the hardware information message ciphertext verification passes, obtaining the secure transmission factor of the target edge server;
[0008] According to the secure transmission factor and the hardware information message ciphertext, the edge server hardware information corresponding to the hardware information message ciphertext is obtained.
[0009] In one of the embodiments, before receiving the hardware information message ciphertext from the target edge server, it also includes: configuring the edge code of the target edge server and the secure transmission factor of the target edge server; and storing the edge code and the secure transmission factor in a cloud database.
[0010] In one of the embodiments, the verification includes a legitimacy check; the verification of the hardware information message ciphertext to obtain the verification result of the hardware information message ciphertext includes: obtaining the edge code of the target edge server contained in the hardware information message ciphertext; performing a legitimacy check on the edge code to obtain the legitimacy check result of the hardware information message ciphertext.
[0011] In one of the embodiments, obtaining the edge server hardware information corresponding to the hardware information message ciphertext based on the secure transmission factor and the hardware information message ciphertext includes: using the secure transmission factor to decrypt the hardware information ciphertext in the hardware information message ciphertext to obtain the hardware information plaintext corresponding to the hardware information ciphertext; and obtaining the edge server hardware information corresponding to the hardware information message ciphertext based on the hardware information plaintext.
[0012] In one of the embodiments, obtaining the edge server hardware information corresponding to the hardware information message ciphertext based on the hardware information plaintext includes: obtaining the collection time contained in the hardware information plaintext; verifying the collection time to obtain a collection verification result of the collection time; if the collection verification result indicates that the collection time verification passes, then determining the hardware information plaintext as the edge server hardware information.
[0013] In one of the embodiments, after obtaining the verification result of the hardware information message ciphertext, the method further includes: if the verification result indicates that the hardware information message ciphertext verification fails, discarding the hardware information message ciphertext.
[0014] In a second aspect, the present application provides an edge hardware information security transmission device based on a cloud-edge collaboration scenario. The device includes:
[0015] A verification module, used for receiving the hardware information message ciphertext from the target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext;
[0016] An acquisition module, configured to acquire a secure transmission factor of the target edge server if the verification result indicates that the hardware information message ciphertext verification has passed;
[0017] The decryption module is used to obtain the edge server hardware information corresponding to the hardware information message ciphertext according to the secure transmission factor and the hardware information message ciphertext.
[0018] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0019] Receiving a hardware information message ciphertext from a target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext;
[0020] If the verification result indicates that the hardware information message ciphertext verification passes, obtaining the secure transmission factor of the target edge server;
[0021] According to the secure transmission factor and the hardware information message ciphertext, the edge server hardware information corresponding to the hardware information message ciphertext is obtained.
[0022] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0023] Receiving a hardware information message ciphertext from a target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext;
[0024] If the verification result indicates that the hardware information message ciphertext verification passes, obtaining the secure transmission factor of the target edge server;
[0025] According to the secure transmission factor and the hardware information message ciphertext, the edge server hardware information corresponding to the hardware information message ciphertext is obtained.
[0026] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0027] Receiving a hardware information message ciphertext from a target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext;
[0028] If the verification result indicates that the hardware information message ciphertext verification passes, obtaining the secure transmission factor of the target edge server;
[0029] According to the secure transmission factor and the hardware information message ciphertext, the edge server hardware information corresponding to the hardware information message ciphertext is obtained.
[0030] In the above-mentioned edge hardware information security transmission method, device, computer equipment, storage medium and computer program product based on the cloud-edge collaboration scenario, first, the hardware information message ciphertext from the target edge server can be received, and the hardware information message ciphertext can be verified to obtain the verification result of the hardware information message ciphertext; next, if the verification result indicates that the hardware information message ciphertext verification passes, the security transmission factor of the target edge server can be obtained; then, the edge server hardware information corresponding to the hardware information message ciphertext can be obtained according to the security transmission factor and the hardware information message ciphertext. In the method provided in the embodiment of the present application, the edge code and security transmission factor of each edge server, for example, the target edge server, can be configured on the cloud server, and the hardware information collection program of the target edge server can set the corresponding edge code in the hardware information message, and use the security transmission factor to encrypt the hardware information to obtain the hardware information ciphertext, and then, the hardware information message ciphertext containing the hardware information ciphertext can be transmitted to the cloud server, which can improve the transmission security of the hardware information. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A flowchart of a method for securely transmitting edge hardware information based on a cloud-edge collaboration scenario provided in an embodiment of the present application;
[0033] Figure 2 A schematic diagram of a process for configuring edge coding and secure transmission factors provided in an embodiment of the present application;
[0034] Figure 3 A schematic diagram of a legality verification process provided in an embodiment of the present application;
[0035] Figure 4 A schematic diagram of a process for obtaining edge server hardware information provided in an embodiment of the present application;
[0036] Figure 5 A schematic diagram of a collection time verification process provided in an embodiment of the present application;
[0037] Figure 6 A structural block diagram of an edge hardware information security transmission device based on a cloud-edge collaboration scenario provided in an embodiment of the present application;
[0038] Figure 7An internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] In an exemplary embodiment, Figure 1 As shown, a method for secure transmission of edge hardware information based on a cloud-edge collaboration scenario is provided. This embodiment uses the method applied to a cloud server as an example. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0041] Step 102: receiving the hardware information message ciphertext from the target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext.
[0042] Among them, the edge hardware information security transmission method based on the cloud-edge collaboration scenario provided by the embodiment of the present application can be applied to the cloud-edge collaboration system, which may include a cloud server and at least one edge server. The cloud server can configure the edge code and security transmission factor of each edge server in the at least one edge server, can use the edge code to uniquely identify the corresponding edge server, and can use the security transmission factor to encrypt the hardware information to be transmitted of the corresponding edge server to obtain the hardware information ciphertext corresponding to the hardware information; further, the cloud server can store the edge code and security transmission factor of each edge server in the at least one edge server in the cloud database. Next, take the target edge server as an example to explain. In the initialization stage, the target edge server needs to report the hardware information of the target edge server to the cloud server. The hardware information acquisition program of the target edge server can obtain the edge code and secure transmission factor of the target edge server in the cloud database. The secure transmission factor can be used to encrypt the hardware information of the target edge server to obtain the hardware information ciphertext of the target edge server, and the hardware information message ciphertext of the target edge server is formed according to the hardware information ciphertext and the edge code of the target edge server. Then, the hardware information message ciphertext of the target edge server can be sent to the cloud server. The cloud server receives the hardware information message ciphertext from the target edge server, verifies the hardware information message ciphertext, and obtains the verification result of the hardware information message ciphertext.
[0043] Step 104: If the verification result indicates that the hardware information message ciphertext verification passes, the secure transmission factor of the target edge server is obtained.
[0044] Among them, if the verification result indicates that the hardware information message ciphertext verification has passed, it indicates that the edge coding of the target edge server meets the coding conditions. In this case, the secure transmission factor of the target edge server can be obtained, and the hardware information ciphertext of the hardware information message ciphertext can be decrypted using the secure transmission factor. The hardware information message ciphertext includes the edge coding and hardware information ciphertext of the target edge server, and the hardware information ciphertext includes the collection time of the hardware information of the target edge server. If the verification result indicates that the hardware information message ciphertext verification has not passed, it indicates that the edge coding of the target edge server does not meet the coding conditions. In this case, the hardware information message ciphertext can be discarded.
[0045] Step 106: Obtain edge server hardware information corresponding to the hardware information message ciphertext according to the secure transmission factor and the hardware information message ciphertext.
[0046] The cloud server can use the secure transmission factor to decrypt the hardware information ciphertext in the hardware information message ciphertext to obtain the hardware information plaintext of the target edge server, and then, according to the hardware information plaintext of the target edge server, obtain the edge server hardware information corresponding to the hardware information message ciphertext. The edge server hardware information is the hardware information that has been successfully uploaded, that is, successfully uploaded to the cloud server.
[0047] In the method of this embodiment, first, a hardware information message ciphertext from a target edge server can be received, and the hardware information message ciphertext can be verified to obtain a verification result of the hardware information message ciphertext; next, if the verification result indicates that the hardware information message ciphertext verification has passed, the security transmission factor of the target edge server can be obtained; and then, the edge server hardware information corresponding to the hardware information message ciphertext can be obtained based on the security transmission factor and the hardware information message ciphertext. In the method provided by the embodiment of the present application, each edge server, for example, the edge code and security transmission factor of the target edge server can be configured on the cloud server, and the hardware information collection program of the target edge server can set the corresponding edge code in the hardware information message, and use the security transmission factor to encrypt the hardware information to obtain the hardware information ciphertext, and then, the hardware information message ciphertext containing the hardware information ciphertext can be transmitted to the cloud server, which can improve the transmission security of the hardware information.
[0048] In an exemplary embodiment, Figure 2 As shown, before step 102, steps 202 to 204 may also be included. Among them:
[0049] Step 202: configure the edge code of the target edge server and the secure transmission factor of the target edge server.
[0050] The cloud server may use a code generation algorithm to create a unique edge code for a target edge server, and the edge code may be used as a unique identifier for the server of the target code. The code generation algorithm may be based on a variety of factors, such as the hardware characteristics of the edge server device (e.g., Media Access Control (MAC) address, Central Processing Unit (CPU serial number, etc.), network configuration information (e.g., Internet Protocol (IP) address segment, subnet mask, etc.), and the current system timestamp, etc., to generate a unique code string through complex calculations and combinations. For example, some bytes of the device MAC address can be hashed with a specific part of the system timestamp, and then combined with a preset key or random number to generate the final unique edge code. In addition, a secure encryption algorithm can be used to generate a secure transmission factor. This process involves high-intensity encryption algorithms, such as the Advanced Encryption Standard (AES) algorithm or the Rivest–Shamir–Adleman (RSA) algorithm, etc., which encrypt the randomly generated key material to obtain a secure transmission factor. This factor will be used for subsequent encryption operations on edge cloud hardware information to ensure the confidentiality and integrity of information during transmission.
[0051] Step 204, storing the edge code and the secure transmission factor in the cloud database.
[0052] Among them, the cloud server stores the edge code and secure transmission factor generated for the target edge server in its internal configuration database, namely the cloud database. The cloud database adopts a secure and reliable storage architecture, such as a distributed database system, to ensure high availability and persistence of data. During the storage process, the edge code and secure transmission factor are classified and managed, and indexes and associations are established to facilitate subsequent queries and calls. For example, the edge code and secure transmission factor are stored in association with the edge server device ID, which is convenient for quickly locating and obtaining relevant configuration information of a specific target edge server device.
[0053] The cloud server can also regularly back up the configuration information in the cloud database to prevent data loss or damage. The backup strategy can use a combination of full backup and incremental backup to store the backup data in redundant storage devices in different locations, ensuring that the configuration information can be quickly restored when the central cloud fails or data is lost, thus ensuring the normal operation of the cloud-edge collaborative system.
[0054] In the method of this embodiment, each edge server, for example, the edge code and security transmission factor of the target edge server can be configured on the cloud server. The hardware information collection program of the target edge server can set the corresponding edge code in the hardware information message, and use the security transmission factor to encrypt the hardware information to obtain the hardware information ciphertext. Then, the hardware information message ciphertext containing the hardware information ciphertext can be transmitted to the cloud server, which can improve the transmission security of the hardware information.
[0055] In an exemplary embodiment, Figure 3 As shown, the verification of the hardware information message ciphertext in step 102 to obtain the verification result of the hardware information message ciphertext may include steps 302 to 304. Among them:
[0056] Step 302: Obtain the edge code of the target edge server contained in the hardware information message ciphertext.
[0057] The verification includes a legality check. The hardware information message ciphertext may include an edge code of a target edge server and a hardware information ciphertext, and the hardware information is encrypted by a secure transmission factor. The cloud server may parse the hardware information message ciphertext using a message parsing program, and the parsing program may extract the edge code of the target edge server contained therein according to a predefined message format.
[0058] Step 304, perform a validity check on the edge code to obtain a validity check result of the hardware information message ciphertext.
[0059] Among them, the cloud server can obtain a pre-stored legal edge code list in the internally configured cloud database, the cloud database stores the unique edge codes of all recognized edge server devices, and the legal edge code list contains the edge code of each edge server in multiple edge servers. Next, the cloud server can use a string matching algorithm to compare the edge code of the target edge server with multiple legal edge codes in the legal edge code list. If the edge code of the target edge server exists in the legal edge code list, it indicates that the edge code of the target edge server is legal, and the legality verification result of the hardware information message ciphertext is that the edge code verification of the target edge server passes. In this case, the hardware information ciphertext in the hardware information message ciphertext can be decrypted using the secure transmission factor to obtain the hardware information plaintext; if the edge code of the target edge server does not exist in the legal edge code list, it indicates that the edge code of the target edge server is illegal, and the legality verification result of the hardware information message ciphertext is that the edge code verification of the target edge server fails. In this case, the hardware information message ciphertext of the target edge server can be discarded. The validity check result is used to indicate whether the edge code of the target edge server is legal.
[0060] In the method of this embodiment, the legitimacy of the edge code of the target edge server can be checked, thereby improving the transmission security of the hardware information of the target edge server.
[0061] In an exemplary embodiment, Figure 4 As shown, step 106 may include steps 402 to 404. Among them:
[0062] Step 402, using the secure transmission factor to decrypt the hardware information ciphertext in the hardware information message ciphertext, to obtain the hardware information plaintext corresponding to the hardware information ciphertext.
[0063] Among them, the cloud server can use the edge code of the target edge server to obtain the secure transmission factor of the target edge server in the cloud database. The cloud database stores the mapping relationship between the edge code of the edge server and the secure transmission factor. By using the edge code as an index, the corresponding secure transmission factor can be quickly located and obtained. After obtaining the secure transmission factor, the cloud server can verify it. The verification content may include checking whether the format of the factor is correct and whether the integrity is intact. For example, if the secure transmission factor is encrypted and stored, it is necessary to first use the corresponding decryption key to decrypt it, and then check whether the decrypted factor conforms to the expected format and length. If the secure transmission factor is verified, the secure transmission factor is loaded into the decryption module; the decryption module selects a suitable decryption algorithm according to the type of the secure transmission factor and the identifier of the encryption algorithm, and decrypts the hardware information ciphertext in the hardware information message ciphertext in combination with the secure transmission factor and the decryption algorithm; the decryption module extracts the encrypted hardware information ciphertext from the hardware information message ciphertext, takes it as input, and performs decryption calculation in combination with the secure transmission factor to obtain the hardware information plaintext corresponding to the hardware information ciphertext.
[0064] Step 404: Obtain edge server hardware information corresponding to the hardware information message ciphertext according to the hardware information plaintext.
[0065] In an exemplary embodiment, Figure 5 As shown, step 404 may include steps 502 to 506. Among them:
[0066] Step 502: Obtain the collection time included in the hardware information plain text.
[0067] The cloud server may use an information analysis program to accurately locate and extract the acquisition time field contained in the hardware information plaintext according to a predefined hardware information data format; the acquisition time storage format may be a timestamp format.
[0068] Step 504, verify the collection time to obtain a collection verification result of the collection time.
[0069] Among them, the cloud server can pre-set a reasonable time range for collecting hardware information of the edge server, which can be called a preset time range. The preset time range can be determined based on factors such as the business needs of the system, network delay conditions, and operating characteristics of the edge cloud device. For example, according to the regular collection task plan of the edge server device, the collection time should be set between a few minutes before and a few minutes after the current time (for example, within the first 5 minutes of the current time) to ensure that the collected information is timely and effective. Next, the cloud server can compare the collection time of the hardware information of the target edge server with the preset time range. If the collection time exists within the preset time range, it indicates that the collection time meets the collection conditions, and the collection verification result of the collection time is that the collection time verification passes; if the collection time does not exist in the preset time range, it indicates that the collection time does not meet the collection conditions, and the collection verification result of the collection time is that the collection time verification fails. In this case, the cloud server can discard the hardware information of the target edge server and record the corresponding error information.
[0070] Step 506: If the collection verification result indicates that the collection time verification is passed, the hardware information is plaintext determined as edge server hardware information.
[0071] The edge server hardware information is successfully uploaded hardware information, that is, successfully uploaded to the cloud server.
[0072] In the method of this embodiment, the collection time of the hardware information of the target edge server can be verified, thereby improving the transmission security of the hardware information of the target edge server.
[0073] In an exemplary embodiment, after step 102, the method further includes:
[0074] If the verification result indicates that the hardware information message ciphertext verification fails, the hardware information message ciphertext is discarded.
[0075] If the edge code of the target edge server does not exist in the legal edge code list, it indicates that the edge code of the target edge server is illegal, and the legality check result of the hardware information message ciphertext is that the edge code check of the target edge server fails. In this case, the hardware information message ciphertext of the target edge server can be discarded. The legality check result is used to indicate whether the edge code of the target edge server is legal.
[0076] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0077] Based on the same inventive concept, the embodiment of the present application also provides an edge hardware information security transmission device based on a cloud-edge collaborative scenario for implementing the edge hardware information security transmission method based on a cloud-edge collaborative scenario involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more embodiments of the edge hardware information security transmission device based on the cloud-edge collaborative scenario provided below can be found in the above limitations on the edge hardware information security transmission method based on the cloud-edge collaborative scenario, and will not be repeated here.
[0078] In one embodiment, Figure 6 As shown, a device for secure transmission of edge hardware information based on a cloud-edge collaboration scenario is provided, including: a verification module 602, an acquisition module 604 and a decryption module 606, wherein:
[0079] Verification module 602, used to receive the hardware information message ciphertext from the target edge server, and verify the hardware information message ciphertext to obtain the verification result of the hardware information message ciphertext;
[0080] The acquisition module 604 is configured to acquire the secure transmission factor of the target edge server if the verification result indicates that the hardware information message ciphertext verification passes;
[0081] The decryption module 606 is used to obtain the edge server hardware information corresponding to the hardware information message ciphertext according to the secure transmission factor and the hardware information message ciphertext.
[0082] In one embodiment, the verification module 602 is further used to: configure the edge code of the target edge server and the secure transmission factor of the target edge server; and store the edge code and the secure transmission factor in a cloud database.
[0083] In one embodiment, the verification includes a legitimacy check; the verification module 602 is also used to: obtain the edge code of the target edge server contained in the hardware information message ciphertext; perform a legitimacy check on the edge code to obtain a legitimacy check result of the hardware information message ciphertext.
[0084] In one embodiment, the decryption module 606 is also used to: use the secure transmission factor to decrypt the hardware information ciphertext in the hardware information message ciphertext to obtain the hardware information plaintext corresponding to the hardware information ciphertext; and obtain the edge server hardware information corresponding to the hardware information message ciphertext based on the hardware information plaintext.
[0085] In one embodiment, the decryption module 606 is further used to: obtain the collection time contained in the hardware information plain text; verify the collection time to obtain a collection verification result of the collection time; if the collection verification result indicates that the collection time verification passes, then determine the hardware information plain text as the edge server hardware information.
[0086] In one embodiment, the verification module 602 is further configured to: discard the hardware information message ciphertext if the verification result indicates that the hardware information message ciphertext verification fails.
[0087] Each module in the edge hardware information security transmission device based on the cloud-edge collaboration scenario can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0088] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to the secure transmission of edge hardware information based on a cloud-edge collaboration scenario. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for secure transmission of edge hardware information based on a cloud-edge collaboration scenario is implemented.
[0089] Those skilled in the art will understand that Figure 7The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0090] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0091] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0092] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0093] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0094] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0095] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0096] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present 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 present application shall be subject to the attached claims.
Claims
1. A method for secure transmission of edge hardware information based on a cloud-edge collaboration scenario, characterized in that: The method comprises: Receiving a hardware information message ciphertext from a target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext; If the verification result indicates that the hardware information message ciphertext verification passes, obtaining the secure transmission factor of the target edge server; According to the secure transmission factor and the hardware information message ciphertext, the edge server hardware information corresponding to the hardware information message ciphertext is obtained.
2. The method according to claim 1, characterized in that Before receiving the hardware information message ciphertext from the target edge server, the method further includes: Configure the edge code of the target edge server and the secure transmission factor of the target edge server; The edge code and the secure transmission factor are stored in a cloud database.
3. The method according to claim 2, characterized in that The verification includes a legality check; the verification of the hardware information message ciphertext to obtain the verification result of the hardware information message ciphertext includes: Obtaining the edge code of the target edge server contained in the hardware information message ciphertext; The edge code is subjected to a validity check to obtain a validity check result of the hardware information message ciphertext.
4. The method according to claim 1, characterized in that: The step of obtaining edge server hardware information corresponding to the hardware information message ciphertext according to the secure transmission factor and the hardware information message ciphertext includes: Decrypting the hardware information ciphertext in the hardware information message ciphertext using the secure transmission factor to obtain hardware information plaintext corresponding to the hardware information ciphertext; The edge server hardware information corresponding to the hardware information message ciphertext is obtained according to the hardware information plaintext.
5. The method according to claim 4, characterized in that The step of obtaining the edge server hardware information corresponding to the hardware information message ciphertext according to the hardware information plaintext includes: Obtaining the acquisition time contained in the plain text of the hardware information; Verifying the collection time to obtain a collection verification result of the collection time; If the collection verification result indicates that the collection time verification is passed, the hardware information is explicitly determined as the edge server hardware information.
6. The method according to claim 1, characterized in that After obtaining the verification result of the hardware information message ciphertext, the method further includes: If the verification result indicates that the hardware information message ciphertext verification fails, the hardware information message ciphertext is discarded.
7. An edge hardware information security transmission device based on a cloud-edge collaboration scenario, characterized in that: The device comprises: A verification module, used for receiving the hardware information message ciphertext from the target edge server, and verifying the hardware information message ciphertext to obtain a verification result of the hardware information message ciphertext; An acquisition module, configured to acquire a secure transmission factor of the target edge server if the verification result indicates that the hardware information message ciphertext verification has passed; The decryption module is used to obtain the edge server hardware information corresponding to the hardware information message ciphertext according to the secure transmission factor and the hardware information message ciphertext.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Networking verification method and device and computer readable storage medium
CN112866987A
Upgrading method, device and equipment for vehicle system
CN115914294A
Method, system and equipment for distributing secret key between server and terminal equipment
CN116886317A
Signature program encryption method and device and decryption method and device
CN118413369A
Information verification method and related apparatus, device, and storage medium
US20230071847A1