A method and device for display module test flat cable encryption check
By acquiring information about the characteristics of the ribbon cable, determining the encryption verification procedure, and comparing the ciphertext, the problem of ribbon cable being copied and counterfeited was solved, and the security protection of the ribbon cable connection method was achieved.
Patent Information
- Application Number
- CN202211200012.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-09-29
AI Technical Summary
In existing technologies, the ribbon cables used for testing display modules are easily copied and imitated, making it impossible to effectively protect their connection methods.
By acquiring the characteristic information of the ribbon cable, the corresponding encryption verification program is determined, and ciphertext information is sent to the encryption chip. The received ciphertext is compared, and the test process is controlled according to the comparison result to ensure that the display module test is only carried out after the encryption verification is passed.
It effectively protects the ribbon cable and its connection method, preventing it from being copied and imitated, and ensuring the safety and legality of the testing process.
Smart Images

Figure CN115630407B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display module testing, and in particular to a method and device for encrypted verification of a display module testing cable. BACKGROUND
[0002] For a device that can test multiple screens, multiple adapter test cables will be used, and for the cable itself, it is only used as an adapter for the line, and the uniform signal on the device is connected and adapted to the signal line connection required by each screen. This will make it easy to be copied and imitated. The existing methods are generally divided into two types. One is to completely give up and not do any encryption processing, and to protect in this way. The other is to increase the remaining confusing lines so that errors occur when copying, thereby protecting, but this still does not have much protective effect for experienced personnel.
[0003] Therefore, the prior art still needs to be improved and improved. SUMMARY
[0004] The technical problem to be solved by the present application is to provide a method and device for encrypted verification of a display module testing cable, which solves the problem that the existing cable is easy to be copied and imitated and cannot be well protected.
[0005] In a first aspect, the present application provides a method for encrypted verification of a display module testing cable, wherein the method comprises:
[0006] obtaining characteristic information corresponding to an accessed cable, and determining an encrypted verification program corresponding to the characteristic information based on the characteristic information, wherein the cable is used for testing a display mode;
[0007] sending ciphertext information corresponding to the encrypted verification program to an encryption chip provided on the cable based on the encrypted verification program;
[0008] receiving feedback ciphertext fed back by the encryption chip based on the ciphertext information, determining an encrypted verification result of the cable according to the feedback ciphertext, and controlling a test process for the cable according to the encrypted verification result.
[0009] In an implementation manner, the obtaining of the characteristic information corresponding to the accessed cable comprises:
[0010] listening to access state information of a preset cable interface;
[0011] if the access state information is that the cable is removed, the test process is exited;
[0012] If the access state information is a flat cable access, characteristic information of the accessed flat cable is acquired.
[0013] In an implementation manner, the determining of the encryption check procedure corresponding to the characteristic information based on the characteristic information comprises:
[0014] An ID of the flat cable corresponding to the characteristic information is acquired, and an encryption characteristic corresponding to the ID of the flat cable is determined according to the ID of the flat cable.
[0015] The encryption check procedure corresponding to the encryption characteristic is acquired.
[0016] In an implementation manner, the sending of the ciphertext information corresponding to the encryption check procedure to the encryption chip arranged on the flat cable based on the encryption check procedure comprises:
[0017] An encryption mode corresponding to the encryption check procedure is acquired.
[0018] The ciphertext information is randomly generated according to the encryption mode, and the ciphertext information is sent to the encryption chip arranged on the flat cable.
[0019] In an implementation manner, the determining of the encryption check result of the flat cable according to the feedback ciphertext comprises:
[0020] After the sending of the ciphertext information to the encryption chip arranged on the flat cable, a check ciphertext is generated based on an encryption characteristic of the encryption chip.
[0021] The check ciphertext is compared with the feedback ciphertext to obtain the encryption check result.
[0022] In an implementation manner, the comparing of the check ciphertext with the feedback ciphertext to obtain the encryption check result comprises:
[0023] If the check ciphertext is the same as the feedback ciphertext, it is determined that the encryption check result is an encryption check pass.
[0024] If the check ciphertext is not the same as the feedback ciphertext, it is determined that the encryption check result is an encryption check fail.
[0025] In an implementation manner, the controlling of the test flow for the flat cable according to the encryption check result comprises:
[0026] If the encryption check result is the encryption check pass, it is controlled to enter the test flow.
[0027] If the encryption check result is the encryption check fail, it is controlled to exit the test flow, and prompt information is output.
[0028] In a second aspect, the embodiments of the present application further provide a device for display module test, wherein the device comprises:
[0029] a verification program determining module, configured to acquire characteristic information corresponding to an accessed flat cable, and determine an encrypted verification program corresponding to the characteristic information based on the characteristic information, wherein the flat cable is used for testing a display mode;
[0030] a ciphertext information sending module, configured to send ciphertext information corresponding to the encrypted verification program to an encryption chip arranged on the flat cable based on the encrypted verification program;
[0031] a verification result determining module, configured to receive feedback ciphertext fed back by the encryption chip based on the ciphertext information, determine an encrypted verification result of the flat cable according to the feedback ciphertext, and control a test flow for the flat cable according to the encrypted verification result.
[0032] In an implementation manner, the verification program determining module comprises:
[0033] a state monitoring unit, configured to monitor access state information of a preset flat cable interface;
[0034] a flow exiting unit, configured to exit the test flow if the access state information is flat cable removal;
[0035] a characteristic acquiring unit, configured to acquire characteristic information of an accessed flat cable if the access state information is flat cable access.
[0036] In an implementation manner, the verification program determining module comprises:
[0037] an encryption characteristic determining unit, configured to acquire a flat cable ID corresponding to the characteristic information, and determine an encryption characteristic corresponding to the flat cable ID according to the flat cable ID;
[0038] an encryption program acquiring unit, configured to acquire the encrypted verification program corresponding to the encryption characteristic.
[0039] In an implementation manner, the ciphertext information sending module comprises:
[0040] a mode acquiring unit, configured to acquire an encryption mode corresponding to the encrypted verification program;
[0041] an information sending unit, configured to randomly send the ciphertext information according to the encryption mode, and send the ciphertext information to the encryption chip arranged on the flat cable.
[0042] In an implementation manner, the verification result determining module comprises:
[0043] The check ciphertext generation unit is configured to generate check ciphertext based on encryption characteristics of the encryption chip after the ciphertext information is sent to the encryption chip arranged on the flat cable.
[0044] The encryption result determination unit is configured to compare the check ciphertext with the feedback ciphertext to obtain the encryption check result.
[0045] In an implementation manner, the encryption result determination unit comprises:
[0046] The check pass sub-unit is configured to determine that the encryption check result is encryption check pass if the check ciphertext is the same as the feedback ciphertext.
[0047] The check fail sub-unit is configured to determine that the encryption check result is encryption check fail if the check ciphertext is not the same as the feedback ciphertext.
[0048] In an implementation manner, the check result determination module comprises:
[0049] The flow control unit is configured to control to enter the test flow if the encryption check result is encryption check pass.
[0050] The prompt output unit is configured to control to exit the test flow and output prompt information if the encryption check result is encryption check fail.
[0051] In a third aspect, the embodiments of the present application further provide a test device, wherein the test device is a commercial display terminal or a screen projection terminal, and the test device comprises a memory, a processor, and a flat cable encryption check program for display module testing stored in the memory and executable on the processor, and the processor implements the steps of the flat cable encryption check method for display module testing in any of the above solutions when executing the flat cable encryption check program for display module testing.
[0052] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, wherein the computer readable storage medium stores a flat cable encryption check program for display module testing, and the processor implements the steps of the flat cable encryption check method for display module testing in any of the above solutions when executing the flat cable encryption check program for display module testing.
[0053] Beneficial effects: compared with the prior art, the application provides a flat cable encryption verification method for display module testing. The application first acquires characteristic information corresponding to an accessed flat cable, and determines an encryption verification program corresponding to the characteristic information based on the characteristic information, wherein the flat cable is used for testing a display mode. Then, based on the encryption verification program, ciphertext information corresponding to the encryption verification program is sent to an encryption chip arranged on the flat cable. Finally, feedback ciphertext fed back by the encryption chip based on the ciphertext information is received, and an encryption verification result of the flat cable is determined according to the feedback ciphertext, and a test flow for the flat cable is controlled according to the encryption verification result. The application acquires characteristic information of an accessed flat cable, acquires a corresponding encryption verification program, and performs encryption verification on the flat cable based on a preset encryption chip. Only when the encryption verification is passed, the test flow of the display module is performed, thereby effectively protecting the flat cable and avoiding the risk of copying and imitating the flat cable and its connection mode. BRIEF DESCRIPTION OF DRAWINGS
[0054] Figure 1 The flowchart of the specific implementation of the flat cable encryption verification method for display module testing provided by the embodiment of the application is provided.
[0055] Figure 2 The functional principle diagram of the flat cable encryption verification device for display module testing provided by the embodiment of the application is provided.
[0056] Figure 3 The principle block diagram of the test equipment provided by the embodiment of the application is provided. DETAILED DESCRIPTION
[0057] To make the purpose, technical scheme and effect of the application more clear and explicit, the application is further described in detail below with reference to the drawings and examples. It should be understood that the specific examples described herein are only used to explain the application, and are not used to limit the application.
[0058] The application provides a wire encryption verification method for display module testing. The method can effectively protect the wire and the connection mode thereof and avoid being imitated by others. In a specific application, the wire encryption verification method for display module testing first acquires characteristic information of an accessed wire, determines an encryption verification program corresponding to the characteristic information based on the characteristic information, and then sends ciphertext information corresponding to the encryption verification program to an encryption chip arranged on the wire. Finally, the wire encryption verification method for display module testing receives feedback ciphertext fed back by the encryption chip based on the ciphertext information, determines an encryption verification result of the wire according to the feedback ciphertext, and controls a test process for the wire according to the encryption verification result. The wire encryption verification method for display module testing acquires the characteristic information of the accessed wire, acquires the corresponding encryption verification program, and performs encryption verification on the wire based on the preset encryption chip. Only when the encryption verification is passed, the test process of the display module is performed, thereby effectively protecting the wire and avoiding the risk of imitation of the wire and the connection mode thereof.
[0059] Exemplary method
[0060] The wire encryption verification method for display module testing can be applied to a test device, which can be a computer, a mobile phone, a tablet computer or other intelligent product terminal. The test device implements the steps of the wire encryption verification method for display module testing. In a specific application, the test device of the application is connected through a corresponding wire when testing a display module. Specifically, as shown in FIG. 1, the wire encryption verification method for display module testing includes the following steps: Figure 1
[0061] Step S100, acquiring characteristic information of an accessed wire, and determining an encryption verification program corresponding to the characteristic information based on the characteristic information, wherein the wire is used for testing a display mode.
[0062] In order to protect the wire and prevent others from maliciously using an imitated wire to test a display module, the application first acquires the characteristic information of the wire accessed on the test device. Since the wire is used for testing a display mode, the characteristic information reflects the type of the wire, such as reflecting which item on the screen of the display module is tested. After the characteristic information of the wire is determined, the application also needs to determine an encryption verification program corresponding to the characteristic information according to the characteristic information. The encryption verification program in the application corresponds to the characteristic information of the wire, and thus the encryption verification program can be used to verify the wire.
[0063] In an implementation mode, when the encryption verification program is acquired, the application includes the following steps:
[0064] Step S101, listen to the access state information of the preset flat cable interface;
[0065] Step S102, if the access state information is that the flat cable is removed, exit the test procedure;
[0066] Step S103, if the access state information is that the flat cable is accessed, obtain the characteristic information of the accessed flat cable;
[0067] Step S104, obtain the flat cable ID corresponding to the characteristic information, and determine the encryption characteristic corresponding to the flat cable ID according to the flat cable ID;
[0068] Step S105, obtain the encryption verification program corresponding to the encryption characteristic.
[0069] Specifically, after the test device of the embodiment is started, first, the access state information of the preset flat cable interface on the test device is listened to. The access state information reflects whether the flat cable is accessed in the flat cable interface on the test device. If it is listened that the access state information is that the flat cable is removed, it indicates that the flat cable on the flat cable interface has been removed at this time, so the detection procedure of the display module can be directly exited. If it is listened that the access state information is that the flat cable is accessed, it indicates that the flat cable has been accessed on the flat cable interface at this time, so the test procedure of the display module can be entered, and the encryption verification of the accessed flat cable can be started.
[0070] The test device in the embodiment can be provided with a plurality of flat cable interfaces, each of which corresponds to different test functions. Therefore, when the display module is tested, the corresponding flat cable is accessed on the corresponding flat cable interface, and the flat cable itself also corresponds to the test function, for example, when the display effect of the screen of the display module needs to be tested, the corresponding flat cable needs to be accessed on the corresponding flat cable interface. Based on this, the test terminal of the embodiment can determine the characteristic information of the flat cable accessed on the flat cable interface by identifying and reading the characteristic of the accessed flat cable. Specifically, the test terminal of the embodiment can determine which flat cable interface the accessed flat cable is accessed on by listening to the access event, further determine what function of the display module the flat cable interface is used for testing, and then determine the characteristic information of the corresponding flat cable, that is, determine the type of the flat cable.
[0071] When the characteristic information of the flat cable is determined, the embodiment can acquire the flat cable ID corresponding to the characteristic information, the flat cable ID being identification information of the flat cable, determine the encryption characteristic corresponding to the flat cable ID based on the flat cable ID, and then acquire the encryption check program corresponding to the encryption characteristic. That is, in the embodiment, the flat cable ID corresponding to each type of characteristic information and the encryption check program corresponding to each flat cable ID are preconfigured, so that the corresponding flat cable ID can be determined based on the characteristic information, and the corresponding encryption check program is loaded based on the flat cable ID, and the whole process is convenient and fast. The acquired encryption check program can be used for encryption check of the flat cable.
[0072] In step S200, based on the encryption check program, the ciphertext information corresponding to the encryption check program is sent to the encryption chip provided on the flat cable.
[0073] When the encryption check program is determined, the test equipment of the embodiment can send the corresponding ciphertext information to the encryption chip (encryption IC) preconfigured on the flat cable, and the ciphertext information is generated based on the encryption check program. The encryption chip of the embodiment is preconfigured on each flat cable to realize encryption check for each flat cable.
[0074] In an implementation manner, when the ciphertext information corresponding to the encryption check program is sent in the embodiment, the following steps are included:
[0075] In step S201, an encryption mode corresponding to the encryption check program is acquired.
[0076] In step S202, the ciphertext information is randomly generated according to the encryption mode, and the ciphertext information is sent to the encryption chip provided on the flat cable.
[0077] Specifically, the encryption mode corresponding to the encryption check program is first acquired in the embodiment, the encryption mode corresponding to the determined encryption check program, and the encryption modes corresponding to different encryption check programs are different, so the encryption mode corresponding to the encryption check program is first acquired in the embodiment. Then, the ciphertext information is randomly generated according to the encryption mode, and the ciphertext information is sent to the encryption chip provided on the flat cable. When the encryption chip receives the ciphertext information, the feedback ciphertext is calculated based on the encryption characteristic of the encryption chip itself, and then the feedback ciphertext is sent to the test equipment.
[0078] In step S300, the feedback ciphertext fed back by the encryption chip based on the ciphertext information is received, the encryption check result of the flat cable is determined according to the feedback ciphertext, and the test process for the flat cable is controlled according to the encryption check result.
[0079] The test equipment receives the feedback ciphertext fed back by the encryption chip, and determines the encryption check result of the flat cable according to the feedback ciphertext. The encryption check result of the embodiment reflects whether the flat cable passes the test. Therefore, the test flow of the flat cable can be controlled according to the encryption check result.
[0080] In step S301, after the ciphertext information is sent to the encryption chip arranged on the flat cable, the check ciphertext is generated based on the encryption characteristics of the encryption chip.
[0081] In step S302, the check ciphertext is compared with the feedback ciphertext. If the check ciphertext is the same as the feedback ciphertext, it is determined that the encryption check result is encryption check pass.
[0082] In step S303, if the check ciphertext is not the same as the feedback ciphertext, it is determined that the encryption check result is encryption check fail.
[0083] Specifically, after the ciphertext information is sent to the encryption chip arranged on the flat cable, the test equipment generates the check ciphertext based on the encryption characteristics of the encryption chip. The check ciphertext is generated by the test equipment itself. Then, the test equipment compares the generated check ciphertext with the feedback ciphertext. If the check ciphertext is the same as the feedback ciphertext, it indicates that the encryption mode of the encryption IC to the flat cable is the same as the encryption mode of the test equipment to the flat cable, and the encryption effect is also the same. Therefore, it is determined that the encryption check result is encryption check pass. If the check ciphertext is not the same as the feedback ciphertext, it indicates that the encryption mode of the encryption IC to the flat cable is not the same as the encryption mode of the test equipment to the flat cable, and the encryption effect is also not the same. Therefore, it is determined that the encryption check result is encryption check fail.
[0084] When it is determined that the encryption check result is encryption check pass, the test flow is controlled. At this time, the test equipment can test the display module by using the flat cable. If the encryption check result is encryption check fail, the test equipment exits the test flow and outputs prompt information. The test personnel can perform the next processing according to the prompt information displayed on the test equipment. Of course, in another implementation manner, the encryption chip of the embodiment can also judge the encryption check result of the flat cable based on the ciphertext information sent by the test equipment, that is, the encryption chip itself judges whether it is compliant, and then feeds back the encryption check result to the test equipment.
[0085] In summary, the embodiment first acquires characteristic information corresponding to an accessed flat cable, and determines an encryption check procedure corresponding to the characteristic information based on the characteristic information, wherein the flat cable is used for testing a display mode. Then, based on the encryption check procedure, ciphertext information corresponding to the encryption check procedure is sent to an encryption chip arranged on the flat cable. Finally, feedback ciphertext fed back by the encryption chip based on the ciphertext information is received, and an encryption check result of the flat cable is determined according to the feedback ciphertext, and a test flow for the flat cable is controlled according to the encryption check result. The application acquires characteristic information of an accessed flat cable, acquires a corresponding encryption check procedure, and performs encryption check on the flat cable based on a preset encryption chip. Only when the encryption check passes, the test flow of the display module is performed, thereby effectively protecting the flat cable and avoiding the risk of copying and imitating the flat cable and the connection mode thereof.
[0086] Exemplary apparatus
[0087] Based on the above embodiment, the application further provides a flat cable encryption check device for display module testing, as shown in Figure 2 The device includes a check procedure determination module 10, a ciphertext information sending module 20, and a check result determination module 30. Specifically, the check procedure determination module 10 is configured to acquire characteristic information corresponding to an accessed flat cable, and determine an encryption check procedure corresponding to the characteristic information based on the characteristic information, wherein the flat cable is used for testing a display mode. The ciphertext information sending module 20 is configured to send ciphertext information corresponding to the encryption check procedure to an encryption chip arranged on the flat cable based on the encryption check procedure. The check result determination module 30 is configured to receive feedback ciphertext fed back by the encryption chip based on the ciphertext information, determine an encryption check result of the flat cable according to the feedback ciphertext, and control a test flow for the flat cable according to the encryption check result.
[0088] In an implementation manner, the check procedure determination module includes:
[0089] A state monitoring unit is configured to monitor access state information of a preset flat cable interface.
[0090] A flow exit unit is configured to exit the test flow if the access state information is that the flat cable is removed.
[0091] A characteristic acquisition unit is configured to acquire characteristic information of an accessed flat cable if the access state information is that the flat cable is accessed.
[0092] In an implementation manner, the check procedure determination module includes:
[0093] The encryption characteristic determination unit is configured to acquire a flat cable ID corresponding to the characteristic information, and determine an encryption characteristic corresponding to the flat cable ID according to the flat cable ID.
[0094] The encryption program acquisition unit is configured to acquire the encryption check program corresponding to the encryption characteristic.
[0095] In an implementation manner, the ciphertext information sending module comprises:
[0096] The mode acquisition unit is configured to acquire an encryption mode corresponding to the encryption check program.
[0097] The information sending unit is configured to randomly send the ciphertext information according to the encryption mode, and send the ciphertext information to the encryption chip arranged on the flat cable.
[0098] In an implementation manner, the check result determination module comprises:
[0099] The check ciphertext generation unit is configured to generate check ciphertext based on the encryption characteristic of the encryption chip after the ciphertext information is sent to the encryption chip arranged on the flat cable.
[0100] The encryption result determination unit is configured to compare the check ciphertext with the feedback ciphertext to obtain the encryption check result.
[0101] In an implementation manner, the encryption result determination unit comprises:
[0102] The check pass sub-unit is configured to determine that the encryption check result is encryption check pass if the check ciphertext is the same as the feedback ciphertext.
[0103] The check fail sub-unit is configured to determine that the encryption check result is encryption check fail if the check ciphertext is not the same as the feedback ciphertext.
[0104] In an implementation manner, the check result determination module comprises:
[0105] The flow control unit is configured to control to enter the test flow if the encryption check result is encryption check pass.
[0106] The prompt output unit is configured to control to exit the test flow and output prompt information if the encryption check result is encryption check fail.
[0107] The working principle of each template in the flat cable encryption check system for display module testing in the embodiment is the same as the principle of each step in the method embodiment, and will not be repeated here.
[0108] Based on the above embodiments, the present invention also provides a testing device. The principle block diagram of the testing device is shown in Figure 3. The testing device is the host computer in the above embodiments, such as a computer device. The testing device may include one or more processors 100. Figure 3 (Only one is shown in the image), a memory 101, and a computer program 102 stored in the memory 101 and executable on one or more processors 100, such as a program for displaying cable encryption verification for module testing. When one or more processors 100 execute the computer program 102, they can implement the various steps in the method embodiment for displaying cable encryption verification for module testing. Alternatively, when one or more processors 100 execute the computer program 102, they can implement the functionality of each template / unit in the apparatus embodiment for displaying cable encryption verification for module testing, which is not limited here.
[0109] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0110] In one embodiment, memory 101 may be an internal storage unit of an electronic device, such as a hard drive or RAM. Memory 101 may also be an external storage device of the electronic device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc. Furthermore, memory 101 may include both internal and external storage units. Memory 101 is used to store computer programs and other programs and data required by the testing equipment. Memory 101 can also be used to temporarily store data that has been output or will be output.
[0111] Those skilled in the art will understand that Figure 3The principle block diagram shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the test equipment to which the scheme of the present application is applied. The specific test equipment can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0112] 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. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, operating database or other medium used in each embodiment provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0113] In conclusion, the present application discloses a kind of for display module test flat cable encryption verification method and device, the method comprises: the characteristic information corresponding to the flat cable of access is obtained, and based on the characteristic information, determine and the encryption verification program corresponding to the characteristic information corresponding to the characteristic information, wherein the flat cable is used to test display mode;Based on the encryption verification program, the ciphertext information corresponding to the encryption verification program is sent to the encryption chip set on the flat cable;Feedback ciphertext is received based on the ciphertext information that the encryption chip is fed back, according to the feedback ciphertext determines the encryption verification result of the flat cable, and according to the encryption verification result, control the test process for the flat cable.The present application can realize the encryption of flat cable, avoid flat cable to be copied and imitated.
[0114] It should be pointed out finally that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit the same; and although the present application has been described in detail with reference to the foregoing embodiments, it should be appreciated by those skilled in the art that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features thereof can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for display module test, characterized in that, The method comprises: acquiring characteristic information corresponding to an accessed flat cable, and determining an encryption check procedure corresponding to the characteristic information based on the characteristic information, wherein the flat cable is used for testing a display mode; sending ciphertext information corresponding to the encryption check procedure to an encryption chip arranged on the flat cable based on the encryption check procedure; receiving feedback ciphertext fed back by the encryption chip based on the ciphertext information, determining an encryption check result of the flat cable according to the feedback ciphertext, and controlling a test flow for the flat cable according to the encryption check result; the acquiring of the characteristic information corresponding to the accessed flat cable comprises: listening to access state information of a preset flat cable interface; if the access state information is that the flat cable is removed, exiting the test flow; if the access state information is that the flat cable is accessed, acquiring the characteristic information of the accessed flat cable; if the access state information is that the flat cable is accessed, acquiring the characteristic information of the accessed flat cable, comprising: determining a flat cable interface of the accessed flat cable through listening to an access event by a test device, wherein the test device is provided with a plurality of flat cable interfaces, and each flat cable interface corresponds to different test functions; determining test functions of a corresponding display module based on the flat cable interface of the accessed flat cable; determining corresponding flat cable characteristic information based on the test functions; the determining of the encryption check procedure corresponding to the characteristic information based on the characteristic information comprises: acquiring a flat cable ID corresponding to the characteristic information, and determining an encryption characteristic corresponding to the flat cable ID according to the flat cable ID; acquiring the encryption check procedure corresponding to the encryption characteristic; the sending of the ciphertext information corresponding to the encryption check procedure to the encryption chip arranged on the flat cable based on the encryption check procedure comprises: acquiring an encryption mode corresponding to the encryption check procedure; randomly generating the ciphertext information according to the encryption mode, and sending the ciphertext information to the encryption chip arranged on the flat cable; the determining of the encryption check result of the flat cable according to the feedback ciphertext comprises: generating check ciphertext based on the encryption characteristic of the encryption chip after the sending of the ciphertext information to the encryption chip arranged on the flat cable; comparing the check ciphertext with the feedback ciphertext to obtain the encryption check result; the comparing of the check ciphertext with the feedback ciphertext to obtain the encryption check result comprises: if the check ciphertext is the same as the feedback ciphertext, determining that the encryption check result is that the encryption check passes; if the check ciphertext is not the same as the feedback ciphertext, determining that the encryption check result is that the encryption check does not pass; the controlling of the test flow for the flat cable according to the encryption check result comprises: if the encryption check result is that the encryption check passes, controlling to enter the test flow; if the encryption check result is that the encryption check does not pass, controlling to exit the test flow and outputting prompt information.
2. A flat cable encryption checking device for display module testing, characterized in that, the device comprises: The check program determination module is configured to acquire characteristic information corresponding to the accessed flat cable, and determine an encrypted check program corresponding to the characteristic information based on the characteristic information, where the flat cable is used to test a display mode. The ciphertext information sending module is configured to send ciphertext information corresponding to the encrypted check program to an encryption chip arranged on the flat cable based on the encrypted check program. The check result determination module is configured to receive feedback ciphertext fed back by the encryption chip based on the ciphertext information, determine an encrypted check result of the flat cable according to the feedback ciphertext, and control a test flow for the flat cable according to the encrypted check result. The check program determination module includes: The state monitoring unit is configured to monitor access state information of a preset flat cable interface. The flow exit unit is configured to exit the test flow if the access state information is flat cable removal. The characteristic acquisition unit is configured to acquire characteristic information of the accessed flat cable if the access state information is flat cable access. The encryption characteristic determination unit is configured to acquire a flat cable ID corresponding to the characteristic information, and determine an encryption characteristic corresponding to the flat cable ID according to the flat cable ID. The encryption program acquisition unit is configured to acquire the encrypted check program corresponding to the encryption characteristic. The ciphertext information sending module includes: The mode acquisition unit is configured to acquire an encryption mode corresponding to the encrypted check program. The information sending unit is configured to randomly send the ciphertext information according to the encryption mode, and send the ciphertext information to the encryption chip arranged on the flat cable. The check result determination module includes: The check ciphertext generation unit is configured to generate check ciphertext based on the encryption characteristic of the encryption chip after sending the ciphertext information to the encryption chip arranged on the flat cable. The encryption result determination unit is configured to compare the check ciphertext with the feedback ciphertext to obtain the encrypted check result. The encryption result determination unit includes: The check pass subunit is configured to determine that the encrypted check result is encrypted check pass if the check ciphertext is the same as the feedback ciphertext. The check fail subunit is configured to determine that the encrypted check result is encrypted check fail if the check ciphertext is not the same as the feedback ciphertext. The check result determination module includes: The flow control unit is configured to control to enter the test flow if the encrypted check result is encrypted check pass. The prompt output unit is configured to control to exit the test flow and output prompt information if the encrypted check result is encrypted check fail. The acquisition of the characteristic information of the accessed flat cable if the access state information is flat cable access includes: The test device is provided with a plurality of flat cable interfaces, and each flat cable interface corresponds to different test functions. The test function of the corresponding display module is determined based on the flat cable interface of the accessed flat cable. The flat cable characteristic information is determined based on the test function.
3. A test apparatus, characterized by, The test device comprises a memory, a processor, and a flat cable encryption check program for display module test stored in the memory and executable on the processor, and the processor implements the steps of the flat cable encryption check method for display module test when executing the flat cable encryption check program for display module test.
4. A computer-readable storage medium, characterized in that, The computer readable storage medium stores the flat cable encryption check program for display module test, and the processor implements the steps of the flat cable encryption check method for display module test when executing the flat cable encryption check program for display module test.
Citation Information
Patent Citations
Interactive anti-counterfeiting authentication method and intelligent anti-counterfeiting label
CN102185832A