LED safety verification method and device, electronic equipment and readable storage medium
By verifying the verification identifier in the LED system and using the key for encrypted communication, the problem of data security verification in the prior art increases the system load, improving data transmission security and reducing data loss rate.
Patent Information
- Application Number
- CN202310531277.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2024-11-12
AI Technical Summary
Existing LED systems add load pressure to control modules and servers during data security verification, resulting in increased system processing pressure and increased design costs.
By responding to the interactive request of the data requester, the first verification identifier is obtained and verified, the second verification identifier is generated and verified, the key identification is obtained and decrypted, and the key is sent to the data receiver after success, and used in the encrypted communication The key is transmitted encryptedly, reducing the security verification load of the system.
It improves the security of LED data transmission and communication, reduces system processing pressure and design costs, enhances the security of module data communication, and reduces the data loss rate after intrusion.
Smart Images

Figure CN118944902A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lighting and computer data security, and in particular to an LED security verification method, device, electronic device and readable storage medium. Background Art
[0002] With the development of LED technology, the amount of interaction of resource data in LED systems has increased and the frequency of interaction has increased. In some LED application scenarios, LED data security has become extremely important.
[0003] In the existing LED system, in order to protect data security and prevent the film resources in the resource module from being stolen when the modules or units communicate, the existing technology encrypts the data between the modules and performs security verification before the modules communicate. However, the problem caused by this is that the security verification process will increase the computing processing load of the control module in the control module, or increase the load pressure of the server, or increase the working pressure of the cabinet control board in each LED cabinet, resulting in an increase in the processing pressure of the entire system and an increase in the system design cost. Summary of the invention
[0004] The purpose of the present application is to provide a LED security verification method, device, electronic device and readable storage medium, which improves the security of LED data transmission and communication.
[0005] The first aspect of the present application includes a LED safety verification method, characterized by comprising:
[0006] In response to an interaction request from a data requester, obtaining a first verification identifier sent by the data requester, and verifying the first verification identifier;
[0007] Sending a calculation method and a random code for generating a second verification identifier to the data requester, and obtaining and verifying the second verification identifier returned by the data requester;
[0008] Obtaining the key identifier sent by the data requester, obtaining the key according to the key identifier and decrypting to obtain the ciphertext, verifying the ciphertext, and sending the key to the data receiver after successful verification;
[0009] A verification success message is sent to the data receiving party, so that the data requesting party and the data receiving party perform encrypted communication according to the key.
[0010] In some embodiments, in response to the interaction request of the data requester, obtaining a first verification identifier sent by the data requester, and verifying the first verification identifier includes:
[0011] According to the interaction request, a communication link is established with the data requester, and a request for querying the first verification identifier is sent to the data requester, where the first verification identifier is used to represent an initial verification code;
[0012] Verify and compare the pre-stored initial verification code with the verification identifier sent by the data requester, and verify whether the first verification identifier sent by the data requester has timed out;
[0013] If the verification comparison result fails or times out, a verification failure message is sent to the data recipient.
[0014] In some embodiments, sending the calculation method and the random code for generating the second verification identifier to the data requester, and obtaining and verifying the second verification identifier returned by the data requester, includes:
[0015] After the first verification identifier is successfully verified, generating the random number in a random manner, and randomly extracting the calculation method;
[0016] Generate the second verification identifier according to the random number and the calculation method;
[0017] Generate serial numbers for representing the random number and the calculation method respectively, send the serial numbers to the data requester, and verify the second verification identifier returned by the data requester.
[0018] In some embodiments, the method further comprises:
[0019] At least one of the verification time, the retrieved record, the information generation time and the number of information generation times is recorded, the verification time is used to represent the verification process time of at least one of the first verification identifier, the second verification identifier and the third verification identifier; the retrieved record is used to represent the stored device number for the verification process; the information generation time and the number of information generation times are used to represent the generation time and number of at least one of the random code and the random serial number.
[0020] In some embodiments, obtaining the key identifier sent by the data requester, obtaining the key according to the key identifier and decrypting to obtain the ciphertext, and verifying the ciphertext includes:
[0021] After the second verification identifier is successfully verified, the key identifier sent by the data requester is obtained, where the key identifier is used to represent a number corresponding to the key in a one-to-one manner;
[0022] The stored corresponding key is obtained according to the key identifier, and decryption is performed using the key.
[0023] In some embodiments, the step of obtaining a key identifier sent by the data requester, obtaining a key according to the key identifier and decrypting to obtain a ciphertext, and verifying the ciphertext further includes:
[0024] Obtaining a key serial number sent by the data requester, wherein the key serial number is used to represent a unique machine code corresponding to the key;
[0025] The key identifier is searched according to the key serial number, and the key is further extracted according to the key identifier.
[0026] In some embodiments, the data requester and the data receiver perform encrypted communication according to the key, including:
[0027] The stored key is obtained to decrypt the ciphertext until the decrypted ciphertext is consistent with the pre-stored verification information, and the verification is passed. The key is used to encrypt the interaction between the data requester and the data receiver, wherein the encrypted transmission is completed by randomly selecting from multiple transmission channels.
[0028] The second aspect of the present application also includes an LED safety verification device, including:
[0029] A first module is configured to obtain, in response to an interaction request from a data requester, a first verification identifier sent by the data requester, and verify the first verification identifier;
[0030] The second module is used to send a calculation method and a random code for generating a second verification identifier to the data requester, and obtain and verify the second verification identifier returned by the data requester;
[0031] The third module is used to obtain the key identifier sent by the data requester, obtain the key according to the key identifier and decrypt it to obtain the ciphertext, verify the ciphertext, and send the key to the data receiver after the verification is successful;
[0032] The fourth module sends a verification success message to the data receiving party, so that the data requesting party and the data receiving party perform encrypted communication according to the key.
[0033] A third aspect of the present application also includes an electronic device, characterized in that it includes a processor and a memory;
[0034] The memory is used to store programs;
[0035] The processor executes the program to implement any of the above methods.
[0036] The fourth aspect of the present application also includes a computer-readable storage medium, characterized in that the storage medium stores a program, and the program is executed by a processor to implement any of the methods described above.
[0037] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of LED system interaction.
[0039] Figure 2 It is a schematic diagram of the LED safety verification process provided in an embodiment of the present application.
[0040] Figure 3 It is a schematic diagram of the verification process of the first verification identifier provided in an embodiment of the present application.
[0041] Figure 4 It is a schematic diagram of the verification process of the second verification identifier provided in an embodiment of the present application.
[0042] Figure 5 It is a schematic diagram of the structure of a security chip provided in an embodiment of the present application.
[0043] Figure 6 It is a flowchart of key verification provided in an embodiment of the present application.
[0044] Figure 7 This is a verification flow chart of the security chip provided in the embodiment of the present application
[0045] Figure 8 It is a schematic diagram of the interaction between the security chip in the LED box and the external device provided in the embodiment of the present application.
[0046] Fig. 9 This is a schematic diagram of key storage in a security chip provided in an embodiment of the present application.
[0047] Fig.10 It is a schematic diagram of the device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0048] 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.
[0049] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. In the subsequent description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only for the purpose of facilitating the description of the present invention, and has no specific meaning in itself. Therefore, "module", "component" or "unit" can be used in a mixed manner. "First", "second" and the like are only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features. In this subsequent description, the continuous numbering of the method steps is for the convenience of review and understanding. In combination with the overall technical solution of the present invention and the logical relationship between the various steps, adjusting the implementation order between the steps will not affect the technical effect achieved by the technical solution of the present invention. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0050] Reference Figure 1 , Figure 1 This is a schematic diagram of LED system interaction provided in an embodiment of the present application. Figure 1 The LED system shown in at least includes an image segmentation module, a transmission module, an LED display module, a resource module, a control module and a power module. The LED display module includes a plurality of display units, which are spliced to form an LED display module, each LED display unit includes a plurality of LED lamp bead boards, and each LED lamp bead board is provided with a plurality of LED lamp beads; the image segmentation module is used to segment an image or video, and the image segmentation module divides a complete image or video into multiple parts; the transmission module is used to drive each display unit in the LED display module for display; the resource module is used to store or output multimedia data, such as pictures, videos, sounds, etc.; the power module is used to provide power; the control module is used for display control of the LED display module or control of other modules in the LED system.
[0051] It should be noted that, because the LED display module is formed by splicing multiple display units, the image to be displayed can be divided into multiple parts. After the segmentation is completed, each divided image part will be transmitted to the display unit at the corresponding position for display; similarly, the video to be displayed can be divided into multiple parts. After the segmentation is completed, each divided video part will be transmitted to the display unit at the corresponding position for display.
[0052] Specifically, the resource module can be a cloud storage device, a movie server, or a video server. The specific configuration of the resource module can be selected according to actual needs, as long as it can be used to store or output multimedia data.
[0053] It should be noted that, because the amount of film resource data used in movie screening is large, a resource module can be used to store or output the film resources.
[0054] In some embodiments, the display control of the LED display module by the control module may include selecting the content to be displayed, adjusting the display screen, or stopping the display. The specific content of the display control of the LED display module by the control module can be selected according to actual needs, as long as the LED display module can be controlled to work in a specified manner, and there is no limitation on this.
[0055] Specifically, the control module's display control of the LED display module may include controlling parameters such as brightness, color, and contrast of the display screen.
[0056] Specifically, the display control of the LED display module by the control module may include adjusting the hardware in the LED display module, for example, adjusting the working parameters of the driver chip of the LED lamp beads in the LED display module, or adjusting the parameters of the control board in the LED display module.
[0057] Specifically, the control module's display control of the LED display module may include adjusting parameters of the control software of the LED display module, for example, adjusting the resolution, color depth, and refresh rate of the displayed screen through the control software.
[0058] Specifically, the control module's display control of the LED display module may include changing the screen resolution, color depth, and refresh rate, or performing color calibration and Gamma value adjustment.
[0059] In some embodiments, the control module controlling other modules in the LED system may include transmitting a control instruction for playing a video resource to the resource module.
[0060] In some embodiments, the control module controlling other modules in the LED system may include controlling the power module to be turned on or off.
[0061] In some embodiments, the control module controlling other modules in the LED system may include controlling an image segmentation module.
[0062] It should be noted that the specific content of the control module controlling other modules in the LED system can be selected according to actual needs, as long as the entire LED system can be controlled, and there is no limitation on this.
[0063] For example, the control module can be used to control the communication of other modules in the LED system with the communication interface of other devices or systems, such as UART, SPI, I2C, etc. Alternatively, the control module can be used to control the storage module in the LED system to perform read and write operations. Alternatively, the control module can be used to interact with the sensors in the LED system, and the data acquisition and data interaction of the sensors can be controlled. The sensors can include temperature sensors, humidity sensors, light sensors, etc. Alternatively, the control module can be used to trigger and process interrupts to achieve the response and processing capabilities of the LED system. Alternatively, the control module can be used to detect the system status, including monitoring various states of the system, such as operating status, power status, temperature status, etc., to ensure the normal operation and safety of the system. Alternatively, the control module can be used to detect and protect the LED system from faults. For example, the control module can detect faults in the system and take corresponding protection measures, such as determining whether short circuits or overloads occur by detecting parameters such as current and voltage. In some embodiments, the control module controls the server to send images or video resources to the image segmentation module, the image segmentation module segments the image, and sends each segmented image to the sending module, and the sending module then drives the LED display module to display the corresponding image according to the segmented image obtained. The power module is used to supply power to the image segmentation module and the LED display module. The sending module is powered by its own independent power supply or is powered by the LED display module. Figure 2 , wherein the LED display module can be an LED box, and one or more LED boxes interact with the external module through their corresponding control panels. Figure 1 When data is interacted between one or more modules shown, the module that initiates the interaction request is used as the data requester, and the module that receives the interaction request is used as the data receiver.
[0064] Reference Figure 2 , is a schematic diagram of the LED safety verification process provided by an embodiment of the present application, which includes but is not limited to steps S100 to S400:
[0065] S100, in response to an interaction request from a data requester, obtaining a first verification identifier sent by the data requester, and verifying the first verification identifier.
[0066] The first verification identifier is used to prove the reliability of the data requester. For example, the first verification identifier can be a string of pre-stored random numbers, which can be used as the unique identity identifier of the data requester; or, the first verification identifier can be a digital certificate written into the device before it leaves the factory. Alternatively, the first verification identifier can be the device number of the data requester.
[0067] In some embodiments, the first verification identifier is an initial verification code generated according to a required verification time.
[0068] Specifically, the number of digits of the initial verification code is positively correlated with the required verification time. In this case, if a longer verification time is expected, the number of digits of the generated initial verification code is larger; if a shorter verification time is expected, the number of digits of the generated initial verification code is smaller. For example, if the verification time is expected to be no more than 1 second, the number of digits of the initial verification code is no more than 15 digits; if the verification time is expected to be more than 10 seconds, the number of digits of the initial verification code is at least greater than 100 digits.
[0069] Specifically, the first verification identifier is an initial verification code pre-stored in the data requester, that is, according to the data interaction request of the data requester, the initial verification code is requested from the data requester. For example, an LED box pre-stores an initial verification code of 721055.
[0070] In some embodiments, the initial verification code includes a fixed information code and a sequence code; in each generated initial verification code, the fixed information code remains unchanged, and the sequence code changes according to the number of times the initial verification code is generated.
[0071] Exemplarily, the fixed information code may be TES721055. When the initial verification code is generated for the first time, its sequence code may be 0001. When the initial verification code is generated for the second time, its sequence code may be 0002. When the initial verification code is generated for the third time, its sequence code may be 0003. Similarly, as the number of times the initial verification code is generated increases, the value of the sequence code increases by 1.
[0072] Through the above scheme, the situation where the initial verification code is reused in multiple interactions can be avoided. When the same initial verification code is reused, the security of the initial verification code decreases with time. Therefore, avoiding the reuse of the initial verification code and increasing the diversity of the initial verification code can increase the security of data communication. In some embodiments, verifying the first verification identifier also includes confirming whether it is in an interactive security environment; wherein, the interactive security environment means that the interaction between the data requester and the data recipient is in a monitored environment, and the process of interaction in this environment is monitored, so the attacker's theft behavior will be noticed, thereby improving the security of the interaction process.
[0073] Specifically, confirming whether the interactive security environment is in place includes confirming whether an interactive security environment identifier is received, where the interactive security environment identifier is sent by an on-site operator.
[0074] Specifically, confirming whether the user is in an interactive security environment includes confirming whether the secure interactive permission is enabled. The secure interactive permission can only be enabled after entering the permission password.
[0075] Specifically, the interactive safety environment may be an environment with manual on-site monitoring.
[0076] Specifically, the interactive security environment may be an environment with a monitoring device that monitors the data requester and the data receiver, and then remote monitoring is performed through the monitoring device.
[0077] For example, reference Figure 3 The verification process of the first verification mark shown includes but is not limited to steps S110 to S130:
[0078] S110, establishing a communication link with the data requester according to the interaction request, and sending a request for querying the first verification identifier to the data requester.
[0079] Specifically, establishing a communication connection with the data requester may include confirming a communication mode and establishing a communication channel according to the confirmed communication mode.
[0080] It should be noted that the communication method with the data requester can be a wireless connection or a wired connection. The specific communication method can be selected according to actual needs. As long as the data requester and the data receiver can communicate, there is no limitation on this.
[0081] In some embodiments, in order to ensure the security of the verification process, an initial verification code is verified after the interaction request from the data requester is received for the first time. This process does not allow the data requester to send other data, that is, the initial verification code needs to be verified before subsequent verifications can be performed.
[0082] In some embodiments, after receiving the interaction request from the data requester, the data receiving party may broadcast an identification that the interaction request is occurring to other modules. After receiving the identification that the interaction request is occurring, other modules may learn that the data requester is performing a verification interaction of the first verification identification with the data receiving party; after receiving the identification that the interaction request is occurring, if other modules receive other data sent by the data requester, they will send an early warning message to the data receiving party to inform the data receiving party that the data requester is sending other data. If the data receiving party receives the early warning message from other modules, it will stop the verification interaction of the first verification identification with the data requester and cancel the request authority of the data requester. If the interaction request authority of the data requester is canceled, the data requester can only restore the interaction request authority after manually confirming the security and reliability of the data requester.
[0083] S120, verify and compare the pre-stored initial verification code with the first verification identifier sent by the data requester, and verify whether the first verification identifier sent by the data requester has timed out.
[0084] In some embodiments, the initial verification code is pre-stored, that is, the initial verification code of each module in the LED system is stored to ensure the verification of each data requester when the number of data requesters is not constant;
[0085] In some embodiments, if the initial verification code returned by the data requester is wrong, or the initial verification code is not returned after an expected time, it is determined that the security verification of the data requester has failed.
[0086] S130: If the verification comparison result fails or times out, a verification failure message is sent to the data receiver.
[0087] In some embodiments, if the security verification of the data requester fails, it means that the data requester is not trustworthy. In this case, the data exchange request of the data requester is rejected and the subsequent security verification process is interrupted. The verification failure information is notified to the data recipient, and the data interaction process ends.
[0088] S200, sending a calculation method and a random code for generating a second verification identifier to the data requester, and obtaining and verifying the second verification identifier returned by the data requester.
[0089] Exemplarily, the second verification identifier is generated by a random code and a calculation method. Specifically, the selected calculation method and the randomly generated random code are sent to the data requester. At this time, the calculation result is compared with the second verification identifier sent by the data requester. It can be understood that if the data requester is trustworthy, then the data requester can identify the random code and the calculation method, and execute the calculation process to obtain an accurate second verification identifier.
[0090] Specifically, refer to Figure 4 The verification process of the second verification mark shown includes but is not limited to steps S210 to S230:
[0091] S210, after the first verification identifier is successfully verified, a random number is generated in a random manner, and a random extraction calculation method is used;
[0092] In some embodiments, in order to improve the security of verification, random data is generated in a random manner, and random selection is performed from a plurality of stored calculation methods.
[0093] S220, generating a second verification identifier according to the random number and the calculation method;
[0094] S230, generate a random serial number for representing the random number and the calculation method, send the random serial number to the data requester, and verify the second verification identifier returned by the data requester.
[0095] In some embodiments, in order to avoid direct data transmission, the random number and its calculation method are used to generate corresponding serial numbers, which are sent to the data requester. The data requester searches for the corresponding calculation method and random number based on the serial number, and sends the calculation result back for comparison with the second verification identifier. It can be understood that if the result is inconsistent with the second identifier or there is no return, it means that the verification has failed and the data requester is not trustworthy.
[0096] S300, obtaining a key identifier sent by a data requester, obtaining a key according to the key identifier and decrypting to obtain a ciphertext, verifying the ciphertext, and sending the key to a data receiver after successful verification.
[0097] In some embodiments, referring to the key verification process shown in Figure 5, it includes but is not limited to steps S310 to S320:
[0098] S310, after the second verification identifier is successfully verified, the key identifier sent by the data requester is obtained, where the key identifier is used to represent a number corresponding to the key;
[0099] In some embodiments, the step of obtaining the key identifier sent by the data requester, where the key identifier is used to represent the number corresponding to the key, can be implemented in the following manner:
[0100] The data requester selects the encryption key and then sends the corresponding key number. The corresponding key is retrieved from the key module for decryption based on the key number. In the present embodiment, because only the key number is sent but not the specific key information, the ciphertext cannot be decrypted even if the key number is obtained without obtaining the correspondence between the key and the key number.
[0101] In some embodiments, the step of obtaining the key identifier sent by the data requester, where the key identifier is used to represent the number corresponding to the key, can also be implemented in the following manner:
[0102] The data requester will select the encryption key and then send the corresponding key serial number. The correspondence between the serial number and the key number is stored in the data requester. After receiving the key serial number, the exemplary technical solution of the present invention searches for the key number corresponding to the key serial number and then extracts the corresponding key from the key management module according to the key number.
[0103] S320, obtaining the stored corresponding key according to the key identifier, and decrypting using the key.
[0104] In some embodiments, the stored keys are used to decrypt the ciphertext in sequence until the decrypted ciphertext matches the pre-stored verification information, at which point the verification is passed and the key is used for encrypted transmission.
[0105] S400, sending verification success information to the data receiving party, so that the data requesting party and the data receiving party perform encrypted communication according to the key.
[0106] In some embodiments, there are multiple transmission channels between the data requester and the data requester. When the data requester transmits data, it can randomly select a channel to transmit instructions, thereby increasing the difficulty for an eavesdropper to find the data transmission channel.
[0107] According to the embodiments of the present invention, it has at least the following beneficial effects: independently verifying the data interaction of each module in the LED system, improving the safety factor of module data communication in the LED system, and reducing the data loss rate after the LED system is invaded.
[0108] In some embodiments, the data requester is a control module and the data receiver is a resource module. In this case, before the control module sends a control instruction to the resource module, it will perform the LED safety verification method described in any of the above embodiments.
[0109] In some embodiments, the data requester is a resource module and the data receiver is a control module. In this case, when the resource module reports its own device status to the control module, the LED safety verification method described in any of the above embodiments can be performed.
[0110] In some embodiments, the data requester is a control module, and the data receiver is a control board in an LED box in the LED display module. In this case, when the control module confirms the safety of each LED box, the LED safety verification method described in any of the above embodiments can be used. In some embodiments, the embodiment of the present invention implements a method flow of LED safety verification through a security chip, and the security chip is referred to as Figure 6 The structural diagram shown includes a security processing unit, a communication unit, a fixed information unit, a log unit, a random information generation unit, a counting unit, a timing unit, a key unit, a security verification unit and an algorithm unit. The security processing unit is connected to the communication unit, the fixed information unit, the log unit, the random information generation unit, the timing unit, the key unit, the security verification unit and the algorithm unit, and the random information generation unit is connected to the counting unit.
[0111] The communication unit is responsible for external communication. All external communications are processed by the security processing unit, and then the security processing unit communicates with the outside through the communication unit. The fixed information unit is used to store fixed information, such as the number of the security chip, the number of the device that the security chip is responsible for, the chip number of the security processing unit, etc. The security processing unit can retrieve the required information from the fixed information unit. The log unit is used to record log information, which includes the working time of the security processing unit, the call record of the fixed information unit, the information generation time of the random information generation unit, the number of information generation, etc. The random information generation unit is used to generate random numbers, generally generating 1 to 3 random numbers. The random number generated by the random information generation unit will be transmitted to the security processing unit for use by the security processing unit. The random information generation unit is also used to generate a random serial number, which is used in the security verification process. Generally, only one random serial number will be used in the process of LED system startup to shutdown; the counting unit, the counting unit is used to accumulate the number of random number generation times of the random information generation unit, and the number of random number generation times will be recorded in the log information; the timing unit, the timing unit is used for clock timing and calendar timing, and in some cases it is also used to time the time spent in the security verification process; the key unit is used for key management, and the key unit stores public keys or private keys, or both; the security verification unit is used to process the complete security verification process and schedule the data and information that appear in the verification process; the algorithm unit is used to provide the calculation method required in the security verification process.
[0112] In some embodiments, in combination Figure 1 As shown in the schematic diagram of the LED system, the resource module, the control board in the control module, and the box control board in each box can be configured with a security chip, and the task of security verification processing is handed over to the security chip.
[0113] In some embodiments, if the control module needs to communicate with the resource module, the control module sends a security verification request to the resource module, and the resource module informs its corresponding security chip to perform a security verification process. Alternatively, when the control module needs to communicate with the resource module, the control module informs its corresponding security chip to perform a security verification process, and then the security chip corresponding to the control module starts the security verification process and sends the information required for security verification to the control module. The control module sends a security verification request to the resource module, and the resource module informs its corresponding security chip to perform a security verification process.
[0114] For example, reference Figure 7 , which proposes a verification flow chart for a security chip, including but not limited to:
[0115] S701, the security processing unit receives a request for performing a security verification process;
[0116] S702, the security processing unit sends a query to the requesting party to return the verification initial code;
[0117] S703, the security processing unit determines whether the returned initial verification code is correct and whether the time for returning the initial verification code has timed out; if the determination result is no, the verification fails, and the slave device is informed of the verification failure; if the determination result is yes, the process proceeds to step S704;
[0118] S704, the security processing unit starts the security verification process;
[0119] S705, the security processing unit obtains a random number for security verification from the random information generation unit;
[0120] S706, the security processing unit extracts a calculation method from the algorithm unit;
[0121] S707, the security processing unit calculates a security verification code according to the calculation method of the algorithm unit and the random number;
[0122] S708, the security processing unit sends the random number and the extracted serial number of the calculation method to the requesting party requesting security verification;
[0123] S709, the security processing unit determines whether the returned result is the same as the security verification code. If the determination result is no, the verification fails and the slave device is informed of the verification failure. If the determination result is yes, the process proceeds to S710;
[0124] S710, informing the slave device that the security verification has passed.
[0125] It can be understood that the security chip is used to implement all the processes of the technical solution of the present invention, wherein the slave device is the data receiver, and the data requester can be such as Figure 1 The LED system has a module with a data request function, and the security chip can be arranged in the module with the data request function.
[0126] In some embodiments, when a module of the LED system having a data request function acts as a data requester, security verification is performed through a security chip, and encrypted transmission is performed through a key after security verification.
[0127] Exemplarily, when the control module needs to communicate with the resource module, the control module informs its corresponding security chip to perform a security verification process. Then the security chip corresponding to the control module starts the security verification process and sends the information required for security verification to the control module. The control module sends a security verification request to the resource module, and the resource module informs its corresponding security chip to perform a security verification process.
[0128] For example, reference Figure 8 The diagram of the interaction between the external device and the LED cabinet is shown. When the control module communicates with a cabinet, it will first be verified by the security chip. After the security verification is passed, both parties will use the preset key for encrypted communication. Fig. 9 As shown in the schematic diagram of key storage in the security chip, a plurality of keys are stored in the key module in the security chip of each box, and each key has a key number corresponding to it.
[0129] In some embodiments, the control module selects a key for encryption and then sends the corresponding key number to the security chip, which retrieves the corresponding key from the key module for decryption based on the key number. Because only the key number is sent without the specific key information, if the corresponding relationship between the key and the key number is not obtained, the ciphertext cannot be decrypted even if the key number is obtained.
[0130] In some embodiments, the control module selects a key for encryption, and then sends the corresponding key serial number to the security chip, and the correspondence between the serial number and the key number is stored in the key management module of the cabinet control board. After the security chip on the cabinet control board receives the key serial number, it searches the key management module for the key number corresponding to the key serial number, and then extracts the corresponding key from the key management module according to the key number.
[0131] In some embodiments, the security chip sequentially uses the stored key to decrypt the ciphertext until the decrypted ciphertext matches the pre-stored verification information, at which point the verification is passed and the key is used for encrypted transmission.
[0132] In some embodiments, there are multiple transmission channels between the LED display module and the control module. When data is transmitted between the control module and the security chip, one channel can be randomly selected to transmit instructions, thereby increasing the difficulty for eavesdroppers to find the data transmission channel.
[0133] like Fig.10 As shown, the embodiment of the present invention further provides a LED safety verification device, which includes a first module 1001, a second module 1002, a third module 1003 and a fourth module 1004;
[0134] Among them, the first module is used to respond to the interaction request of the data requester, obtain the first verification identifier sent by the data requester, and verify the first verification identifier; the second module is used to send the calculation method and random code for generating the second verification identifier to the data requester, obtain and verify the second verification identifier returned by the data requester; the third module is used to obtain the key identifier sent by the data requester, obtain the key according to the key identifier and decrypt it to obtain the ciphertext, verify the ciphertext, and send the key to the data recipient after the verification is successful; the fourth module sends verification success information to the data recipient, so that the data requester and the data recipient perform encrypted communication according to the key.
[0135] Exemplarily, with the cooperation of the first module, the second module, the third module and the fourth module in the device, the embodiment device can implement any of the aforementioned LED security verification methods, that is, in response to the interactive request of the data requester, obtain the first verification identifier sent by the data requester, and verify the first verification identifier; send the calculation method and random code for generating the second verification identifier to the data requester, obtain and verify the second verification identifier returned by the data requester; obtain the key identifier sent by the data requester, obtain the key according to the key identifier and decrypt to obtain the ciphertext, verify the ciphertext, and send the key to the data receiver after the verification is successful; send the verification success information to the data receiver, so that the data requester and the data receiver perform encrypted communication according to the key. The present invention improves the security factor of module data communication in the LED system by performing security verification and key verification on each functional module in the LED system, and uses the key for encryption after success, thereby reducing the data loss rate after the LED system is invaded.
[0136] An embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the LED safety verification method as described above.
[0137] Further, the above-mentioned LED safety verification method can be implemented in any type of computing platform that is operably connected to a suitable computer, including but not limited to a personal computer, a minicomputer, a mainframe, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or communicates with a charged particle tool or other imaging device, etc. Various aspects of the present invention can be implemented as machine-readable code stored on a non-temporary storage medium or device, whether it is removable or integrated into a computing platform, such as a hard disk, an optical read and / or write storage medium, RAM, ROM, etc., so that it can be read by a programmable computer, and when the storage medium or device is read by a computer, it can be used to configure and operate the computer to perform the process described herein. In addition, the machine-readable code, or part thereof, can be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor, the invention described herein includes these and other different types of non-temporary computer-readable storage media. When programmed according to the methods and techniques of the present invention, the present invention also includes the computer itself.
[0138] The computer program can be applied to input data to perform the functions described herein, thereby converting the input data to generate output data stored in a non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the converted data represents physical and tangible objects, including specific visual depictions of physical and tangible objects produced on the display.
[0139] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent substitution or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A LED safety verification method, characterized in that: include: In response to an interaction request from a data requester, obtaining a first verification identifier sent by the data requester, and verifying the first verification identifier; Sending a calculation method and a random code for generating a second verification identifier to the data requester, and obtaining and verifying the second verification identifier returned by the data requester; Obtaining the key identifier sent by the data requester, obtaining the key according to the key identifier and decrypting to obtain the ciphertext, verifying the ciphertext, and sending the key to the data receiver after successful verification; A verification success message is sent to the data receiving party, so that the data requesting party and the data receiving party perform encrypted communication according to the key.
2. The LED safety verification method according to claim 1, characterized in that: The step of obtaining, in response to an interaction request from a data requester, a first verification identifier sent by the data requester and verifying the first verification identifier comprises: According to the interaction request, a communication link is established with the data requester, and a request for querying the first verification identifier is sent to the data requester, where the first verification identifier is used to represent an initial verification code; Verify and compare the pre-stored initial verification code with the verification identifier sent by the data requester, and verify whether the first verification identifier sent by the data requester has timed out; If the verification comparison result fails or times out, a verification failure message is sent to the data recipient.
3. The LED safety verification method according to claim 1, characterized in that: The step of sending a calculation method and a random code for generating a second verification identifier to the data requester, and obtaining and verifying the second verification identifier returned by the data requester, includes: After the first verification identifier is successfully verified, generating the random number in a random manner, and randomly extracting the calculation method; Generate the second verification identifier according to the random number and the calculation method; Generate serial numbers for representing the random number and the calculation method respectively, send the serial numbers to the data requester, and verify the second verification identifier returned by the data requester.
4. The LED safety verification method according to claim 3, characterized in that: The method further comprises: At least one of the verification time, the retrieved record, the information generation time and the number of information generation times is recorded, the verification time is used to represent the verification process time of at least one of the first verification identifier, the second verification identifier and the third verification identifier; the retrieved record is used to represent the stored device number for the verification process; the information generation time and the number of information generation times are used to represent the generation time and number of at least one of the random code and the random serial number.
5. The LED safety verification method according to claim 1, characterized in that: The step of obtaining a key identifier sent by the data requester, obtaining a key according to the key identifier and decrypting the key to obtain a ciphertext, and verifying the ciphertext includes: After the second verification identifier is successfully verified, the key identifier sent by the data requester is obtained, where the key identifier is used to represent a number corresponding to the key in a one-to-one manner; The stored corresponding key is obtained according to the key identifier, and decryption is performed using the key.
6. The LED safety verification method according to claim 1, characterized in that: The step of obtaining the key identifier sent by the data requester, obtaining the key according to the key identifier and decrypting to obtain the ciphertext, and verifying the ciphertext also includes: Obtaining a key serial number sent by the data requester, wherein the key serial number is used to represent a unique machine code corresponding to the key; The key identifier is searched according to the key serial number, and the key is further extracted according to the key identifier.
7. The LED safety verification method according to claim 1, characterized in that: The data requester and the data receiver perform encrypted communication according to the key, including: The stored key is obtained to decrypt the ciphertext until the decrypted ciphertext is consistent with the pre-stored verification information, and the verification is passed. The key is used to encrypt the interaction between the data requester and the data receiver, wherein the encrypted transmission is completed by randomly selecting from multiple transmission channels.
8. An LED safety verification device, characterized in that: include: A first module is configured to obtain, in response to an interaction request from a data requester, a first verification identifier sent by the data requester, and verify the first verification identifier; The second module is used to send a calculation method and a random code for generating a second verification identifier to the data requester, and obtain and verify the second verification identifier returned by the data requester; The third module is used to obtain the key identifier sent by the data requester, obtain the key according to the key identifier and decrypt it to obtain the ciphertext, verify the ciphertext, and send the key to the data receiver after the verification is successful; The fourth module sends a verification success message to the data receiving party, so that the data requesting party and the data receiving party perform encrypted communication according to the key.
9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the method according to any one of claims 1 to 7.
Citation Information
Cited By
Communication verification method and device for consumable chip, chip, equipment and storage medium
CN120567981A
