OLED display module and control method thereof
The image data displayed on the OLED screen is unlocked, and the unlock code in the image data is verified by the controller, which solves the problems of low unlocking efficiency and complex interfaces in the existing technology, and realizes technical support for remote online unlocking and multi-term payment.
Patent Information
- Application Number
- CN202510524219.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-04-24
AI Technical Summary
The existing OLED display module unlocking solution is inefficient and requires hardware access to security certified equipment, which increases the interface complexity and cannot achieve remote online unlocking.
The image data displayed on the OLED screen is unlocked, and the unlock code in the image data is detected by the controller for verification, so as to achieve remote online unlocking without additional security authentication equipment and interfaces.
It improves the efficiency of large-scale screen unlocking, avoids the increase in interface complexity, realizes remote online unlocking, and is suitable for installment payments.
Smart Images

Figure CN120407475A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of OLED screen, and particularly to an OLED display module and a control method thereof. Background Art
[0002] In order to solve the problem of difficult payment collection during the sales process of display screens, it is necessary to add an encryption locking function to the OLED display screen module. The patent document with the publication number CN118445862B discloses a method and system for controlling the operation of an LED display screen module. When the single-chip microcomputer is powered on and started or reset, the following steps are executed: using the encryption and decryption algorithm pre-cured in the boot area of the single-chip microcomputer, combining with the key generated by negotiating with the accessed security authentication device, decrypting the stored previous log file and the previous locking time; obtaining multiple preliminary reference times from at least two time sources, and determining the reference time by performing consistency checks among the multiple preliminary reference times; comparing and verifying the reference time with the log time of the decrypted log file and the decrypted locking time respectively; controlling the LED display screen module to work in a preset mode or triggering the corresponding security mechanism according to the comparison and verification results to prevent the illegal startup or operation of the LED display screen module. The encryption locking solution provided in this document solves the problem of the encryption locking failure caused by replacing the control board of the display screen module or modifying the system time, etc.
[0003] However, the solution in this patent document still has the following deficiencies: when unlocking the screen, since a hardware device of a security authentication device is required and the security authentication device is connected to the control board of the screen, remote online unlocking cannot be achieved; when a large number of devices need to be unlocked, since the security authentication device needs to be connected to the screen one by one and can only be unplugged and connected to the next screen after the current screen unlocking is completed, the efficiency of this solution is low when unlocking a large number of screens; since the security authentication device needs to be connected during unlocking, an interface for connecting the security authentication device needs to be additionally added to the control board of the screen, increasing the complexity of the screen module interface. Summary of the Invention
[0004] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art, and provide an OLED display module and a control method thereof, which can achieve remote online unlocking, improve the efficiency when unlocking a large number of screens, and at the same time do not increase the complexity of the screen module interface.
[0005] In order to achieve the above-mentioned invention purpose, the present invention provides the following technical solutions:
[0006] In the first aspect, a control method of an OLED display module is provided, and the method includes:
[0007] When the controller powers on and starts up, it controls the electronic switch to connect the power supply circuit of the row-column driving module and detects whether it is currently in the restricted mode; among them, when it detects that the preset conditions are met, it enters the restricted mode;
[0008] When it is currently in the restricted mode, within the first preset duration after the controller powers on and starts up, when it detects a certain frame of image data received and then does not receive new image data for a continuous second preset duration, it performs the following steps:
[0009] Obtain the data at the preset position in this frame of image data as the first unlock code, and verify the first unlock code with the second unlock code stored locally to obtain the verification result;
[0010] If the verification result is passed, it exits the restricted mode and keeps the electronic switch continuously connecting the power supply circuit of the row-column driving module;
[0011] If the verification result is not passed, after the first preset duration has elapsed since power-on startup, it controls the electronic switch to disconnect the power supply circuit of the row-column driving module.
[0012] As a further improvement, the preset conditions being met means that the current normal usage times is equal to the preset times and the unlock status is unlocked, and the method further includes:
[0013] When the controller powers on and starts up, it triggers a countdown with a duration of the third preset duration; among them, the third preset duration is greater than the first preset duration;
[0014] When the countdown with a duration of the third preset duration ends, it detects whether the electronic switch is in the on state. If so, it increments the normal usage times by one; if not, it keeps the normal usage times unchanged.
[0015] As a further improvement, the method further includes:
[0016] In the case where the verification result is passed, when it detects that the preset times currently stored locally is less than the preset final times, it adds the first preset value to the preset times currently stored locally to obtain the target times;
[0017] Writes the target times as the new preset times into the local storage.
[0018] As a further improvement, the preset conditions being met means that the current normal usage duration is equal to the preset duration and the unlock status is unlocked, and the method further includes:
[0019] When the controller powers on and starts up, it triggers a countdown with a duration of the third preset duration; among them, the third preset duration is greater than the first preset duration;
[0020] When the countdown with a third preset duration ends, detect whether the electronic switch is in the on state. If so, starting from the end of the countdown with a third preset duration, trigger an accumulation operation for the normal usage duration every time a preset time interval elapses; if not, keep the normal usage duration unchanged.
[0021] As a further improvement, the method further includes:
[0022] When the verification result is passed and it is detected that the preset usage duration in the current local storage is less than the preset final usage duration, add a second preset value to the preset usage duration in the current local storage to obtain a target usage duration;
[0023] Write the target usage duration into the local storage as the new preset usage duration.
[0024] As a further improvement, the method further includes:
[0025] When the verification result is passed, perform a preset operation on the second unlock code in the current local storage to obtain a target unlock code; wherein, the second unlock code is binary data, and the preset operation includes inverting the data at a specified position in the second unlock code;
[0026] Write the target unlock code into the local storage as the new second unlock code.
[0027] As a further improvement, the step of obtaining the data at a preset position in the image data as the first unlock code specifically includes:
[0028] Obtain the continuous binary data between a preset starting position and a preset ending position in the image data as the first unlock code; wherein, both the preset starting position and the preset ending position are stored in the local storage.
[0029] As a further improvement, the method further includes:
[0030] When the verification result is passed, simultaneously add a third preset value to the preset starting position and the preset ending position in the local storage respectively to obtain a new preset starting position and a new preset ending position;
[0031] Write the new preset starting position and the new preset ending position into the local storage.
[0032] As a further improvement, the first unlock code and the second unlock code have the same length; wherein, the step of verifying the first unlock code with the second unlock code stored in the local storage to obtain a verification result specifically includes:
[0033] Perform an exclusive OR operation on the first unlock code and the second unlock code stored locally to obtain an operation result; if the operation result does not contain 1, the verification result is passed; otherwise, the verification result is not passed.
[0034] In a second aspect, an OLED display module is provided, including a controller, a row and column driving module, a power supply, an electronic switch, and an OLED array. The power supply is used to supply power to the controller and the row and column driving circuit; the first end of the electronic switch is connected to the power supply, the second end is connected to the controller, and the third end is connected to the row and column driving module, and is used to control the on or off of the power supply circuit of the row and column driving module under the control of the controller; the controller is used to execute the control method of the above OLED display module.
[0035] Compared with the prior art, an OLED display module and its control method provided by the present application at least have the following beneficial effects: It can use the image data displayed on the OLED screen for unlocking without adding additional security authentication devices. Therefore, for a locked OLED screen, the corresponding unlocking image data can be sent to the corresponding host remotely online. The host only needs to play the image on the OLED screen for the first preset duration after the OLED screen is powered on to complete the unlocking. For the unlocking of a large number of OLED screens, the corresponding unlocking image data can also be sent to the hosts corresponding to each OLED screen for playing at the same time to efficiently complete the unlocking of the OLED screen. At the same time, the present application uses the interface for the host to transmit image data to the OLED screen to transmit the corresponding unlocking image data to the controller of the OLED screen, without adding a new interface, and will not increase the complexity of the screen module interface.
[0036] The additional aspects and advantages of the present invention will be partially given in the following description, partially become obvious from the following description, or be understood through the practice of the present invention. Description of the Drawings
[0037] The present invention will be further described below with reference to the drawings and embodiments;
[0038] Figure 1 It is a structural block diagram of an OLED display module provided in an embodiment;
[0039] Figure 2 It is a schematic flowchart of a control method of an OLED display module provided in an embodiment;
[0040] Figure 3 It is a schematic flowchart of counting the normal usage times in an embodiment;
[0041] Figure 4 It is a schematic flowchart of updating the preset times in an embodiment;
[0042] Figure 5 Schematic diagram of the process for updating the second unlock code in an embodiment;
[0043] Figure 6 Schematic diagram of the process for updating the preset position in an embodiment;
[0044] Figure 7 Schematic diagram of the process for counting the normal usage duration in an embodiment;
[0045] Figure 8 Schematic diagram of the process for updating the preset usage duration in an embodiment. Detailed implementation manners
[0046] This part will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the drawings. The function of the drawings is to supplement the description in the text part of the specification, enabling people to intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it should not be construed as a limitation on the protection scope of the present invention.
[0047] As Figure 1 shown, in an embodiment, an OLED display module is provided. Referring to Figure 1 , the left dashed box is the control part (i.e., the control board) of the OLED display module. The controller, interface circuit, power supply, row and column driving circuits are integrated in the control board; the right dashed box is the display panel of the OLED display module. The OLED array and the electronic switch are integrated in the display panel. The OLED controller (i.e., the MCU) is responsible for receiving and storing the image data from the host or the upper computer and performing image format conversion, frame division, and cache management, and controlling the row and column driving circuits (i.e., the row and column driving modules) based on the image data and timing signals. The row and column driving modules (including the row driving circuit and the column driving circuit). Among them, the row driving circuit controls whether each row of pixels in the display panel is in the selected state; the column driving circuit applies voltage or current to the corresponding column pixels according to the image data; the OLED array, that is, the pixel array, and each pixel includes three sub-pixels of red, green, and blue (RGB); each sub-pixel has a set of TFT control units and an OLED light-emitting unit; the light-emitting brightness is controlled by voltage / current. The power supply provides the required voltages for different modules, such as the logic voltage (VDD), driving voltages (VGH / VGL), and OLED light-emitting voltages (VCC / VEE). The interface circuit is used to realize data transmission between the control card and the host and the timing controller; it includes interface protocols such as LVDS, MIPI DSI, SPI, RGB, eDP, and TTL; at the same time, signal level conversion and anti-interference processing are realized. The electronic switch, that is, Figure 1 the MOS transistor in Figure 1As shown, the electronic switch is integrated in the display panel. If someone maliciously replaces the control board, the display panel will not work properly, so it is impossible to crack the screen lock only by replacing the control board.
[0048] It should be noted that a control method for an OLED display module provided below is applied to an OLED display module provided in the above embodiment. Specifically, in one embodiment, a control method for an OLED display module is provided. The method includes:
[0049] When the controller is powered on and starts up, it controls the electronic switch to connect the power supply circuit of the row and column driving module and detects whether it is in the restricted mode currently.
[0050] In one embodiment, when it is detected that the current normal usage times is equal to the preset times and the unlocking state is not unlocked, it enters the restricted mode. Specifically, the controller uses the first storage area in the local storage to store the first identifier. When the first identifier is 1, it means that it is currently in the restricted mode. When the second identifier is 0, it means that it is not currently in the restricted mode. The controller uses the second storage area in the local storage to store the second identifier. When the second identifier is 1, it means that the unlocking state is not unlocked. When the second identifier is 0, it means that the unlocking state is already unlocked. After the controller is powered on and starts up, it will respectively detect the specified storage areas, including the first storage area and the second storage area, so as to obtain the first identifier and the second identifier, and then determine whether it is currently in the restricted mode and the current unlocking state. It should be noted that when the OLED display module is delivered to the purchaser at the factory, if the purchaser has not paid the full amount, the manufacturer will set the unlocking state to not unlocked. And when the purchaser pays the balance later, the OLED display module will trigger the controller to set the unlocking state to already unlocked by displaying the corresponding unlocking image data.
[0051] As Figure 3 shown, in one embodiment, when it is not currently in the restricted mode, the method further includes counting the normal usage times through the following steps:
[0052] Step S302, when the controller is powered on and starts up, it triggers a countdown with a duration of the third preset duration. Wherein, the third preset duration is greater than the first preset duration.
[0053] Step S304, when the countdown with a duration of the third preset duration ends, it detects whether the electronic switch is in the on state. If so, it increments the normal usage times by one; if not, it keeps the normal usage times unchanged.
[0054] Specifically, the controller uses the third storage area in the local storage to store the normal usage times. If the first preset duration is 30 seconds and the third preset duration is 40 seconds, then starting from when the controller powers on and starts up, after 40 seconds, when it detects that the electronic switch, i.e., the MOS transistor, is still in the closed state, it adds 1 to the normal usage times in the third storage area and then writes the result back to the third storage area. For example, at 12:00:00, the controller powers on and starts up, and the data in the third storage area at this time is 5 (the normal usage times is 5 at this time). When it is 12:00:41 and it still detects that the electronic switch is in the on state, it writes 6 (obtained by adding 1 to 5) to the third storage area, that is, the normal usage times is 6 at this time. It should be noted that since the electronic switch is controlled to be in the on or off state by the controller outputting a high level or a low level on a certain pin (referred to as the target pin), only by detecting whether the output of the target pin is a high level or a low level can the state of the electronic switch be obtained. In one example, at 12:00:00, the controller powers on and starts up, and the data in the third storage area at this time is 5 (the normal usage times is 5 at this time). When it is 12:00:41 and it detects that the electronic switch is in the off state, it does not need to update the data in the third storage area, that is, the normal usage times remains unchanged and is still 5.
[0055] It can be understood that in this embodiment, what is counted is not the power-on times but the normal usage times. Since counting the normal usage times is actually counting the number of times the OLED display module is used when it is not in the restricted mode, the statistical result of the number of times the purchaser uses the display module is more accurate and can better reflect the actual usage times of the purchaser. For the locking method in this application that triggers the display module to enter the restricted state based on the number of times the display module is used, compared with simply counting the power-on times of the controller, the method of triggering the lock based on the normal usage times is more accurate.
[0056] As Figure 2 shown, when currently in the restricted mode, within the first preset duration after the controller powers on and starts up, after detecting a certain frame of image data received and then not receiving new image data for the second preset duration, the following steps S202 to S206 are executed.
[0057] Step S202: Obtain the data at the preset position in this frame of image data as the first unlock code, and verify the first unlock code with the second unlock code stored locally to obtain a verification result.
[0058] Specifically, when the second preset duration is less than the first preset duration, in one example, the first preset duration is 30 seconds and the second preset duration is 20 seconds. The controller powers on and starts at 14:20:00, receives a frame of image at 14:20:04, which is called the target frame, and no new image data is received between 14:20:04 and 14:20:24. The target frame is transmitted from the host to the controller in the form of binary data through the interface circuit, totaling 1920 * 1080 * 48 bits. Among them, 1920 * 1080 corresponds to the resolution of the screen, and 48 is the number of bits required for each pixel to express color. In this example, each of the three colors of red, green, and blue occupies 16 - bit data. In one example, the data at the preset position in step S202 can be the binary data corresponding to 480 bits from the 481st bit to the 960th bit in the data of this frame of image (i.e., the target frame), and these 480 bits are used as the first unlock code. When the display module leaves the factory, the manufacturer stores a second unlock code of 480 bits, totaling 60 bytes, in the fourth storage area locally stored in the controller.
[0059] Specifically, the first unlock code and the second unlock code have the same length; among them, the verification of the first unlock code and the second unlock code locally stored to obtain a verification result specifically includes:
[0060] Perform an exclusive - OR operation on the first unlock code and the second unlock code locally stored to obtain an operation result; if the operation result does not contain 1, the verification result is passed, otherwise, the verification result is not passed.
[0061] For example, when all bits of the first unlock code and the second unlock code are the same, the verification result is passed; when any bit of the first unlock code and the second unlock code is different, the verification result is not passed.
[0062] Step S204, if the verification result is passed, exit the restricted mode and keep the electronic switch continuously connecting the power supply circuit of the row - column driving module.
[0063] It can be seen that when the verification result is passed, the restricted mode is exited and the electronic switch continuously connects the power supply circuit of the row - column driving module. Therefore, the images subsequently sent by the host to the display module can be normally displayed.
[0064] Step S206, if the verification result is not passed, after the first preset duration after power - on and start, control the electronic switch to disconnect the power supply circuit of the row - column driving module.
[0065] It can be known that in the case where the verification result fails, since the power supply circuit of the row-column driving module is controlled to be disconnected by the electronic switch after the first preset duration after power-on startup, the images sent by the subsequent host to the display module after the first preset duration after power-on startup cannot be normally displayed.
[0066] A control method for an OLED display module according to an embodiment of the present application can perform unlocking by using the image data displayed on the OLED screen without adding additional security authentication devices. Therefore, for a locked OLED screen, the corresponding unlocking image data can be sent to the corresponding host remotely online. The host only needs to play the image on the OLED screen for the first preset duration after the OLED screen is powered on to complete the unlocking. For unlocking a large number of OLED screens, the corresponding unlocking image data can also be sent to the hosts corresponding to each OLED screen for playing simultaneously to efficiently complete the unlocking of the disclosed OLED screen. At the same time, the present application uses the interface for the host to transmit image data to the OLED screen to transmit the corresponding unlocking image data to the controller of the OLED screen without adding a new interface additionally, and will not increase the complexity of the screen module interface.
[0067] It should also be noted that by using the method of the present application, when the screen purchaser is a mobile phone or computer manufacturer, even if the provided screen module of the present application is already in the hands of consumers who have purchased the mobile phone or computer, the mobile phone or computer manufacturer can still send the corresponding unlocking picture to the locked mobile phone or computer through online upgrading of the mobile phone or computer to complete online unlocking.
[0068] In an embodiment, when currently in the restricted mode, if the controller does not detect that the duration of continuous display of a certain frame of image data received within the first preset duration after power-on startup reaches the second preset duration, after the first preset duration after power-on startup, the electronic switch is controlled to disconnect the power supply circuit of the row-column driving module.
[0069] In an embodiment, as Figure 4 shown, the method further includes:
[0070] Step S402, in the case where the verification result is passed, when it is detected that the preset number in the current local storage is less than the preset final number, add the first preset value to the preset number in the current local storage to obtain the target number.
[0071] Step S404, write the target number as the new preset number into the local storage.
[0072] Specifically, when the manufacturer and the purchaser conduct transactions through installment payments, for example, it is agreed that the subsequent payments are divided into 3 installments, and each payment is made after every 50 normal uses. To meet this requirement, the final number of times is set to 150. When the display module is just out of the factory, the initial preset number of times, which is 50, will be saved in the fifth storage area of the local storage. When the number of normal uses reaches 50 times and the unlocking status is not unlocked, the restricted mode is entered. At this time, in the restricted mode, if the verification result is passed and it is detected that the preset number of times in the local storage is 50, which is less than the final number of times 150. In this example, the first preset value is 50. Therefore, the current preset number of times 50 in the local storage is added to the first preset value 50 to obtain the target number of times 100, and 100 is written as the new preset number of times into the fifth storage area of the local storage as the latest preset number of times to trigger the next entry into the restricted mode again.
[0073] Through the solution of this embodiment, multi-stage locking can be achieved, providing technical support for installment payments. And the new preset number of times is written into the same storage location used to save the current preset number of times, saving the storage resources of the controller.
[0074] In one example, the method further includes:
[0075] When the verification result is passed and it is detected that the preset number of times in the current local storage is equal to the preset final number of times, the unlocking status is set to unlocked.
[0076] In one embodiment, as Figure 5 shown, the method further includes:
[0077] Step S502, when the verification result is passed, perform a preset operation on the second unlock code in the current local storage to obtain a target unlock code. Among them, the second unlock code is binary data, and the preset operation includes inverting the data at the specified position in the second unlock code.
[0078] Specifically, the inversion operation is to invert each bit in the binary sequence, that is, 1 becomes 0 after inversion, and 0 becomes 1 after inversion. Among them, the specified position is determined according to the number of normal uses stored in the third storage area of the local storage. For example, when the number of normal uses is 50, the specified position is the first 50 bits of the second unlock code; when the number of normal uses is 100, the specified position is the first 100 bits of the second unlock code, that is, when the number of normal uses is N, the specified position is the first N bits of the second unlock code; where N is a positive integer variable.
[0079] Step S504, write the target unlock code into the local storage as the new second unlock code.
[0080] For example, when the first verification is passed, the normal usage times is 50. Therefore, the target unlock code is a new binary sequence obtained by inverting the first 50 bits of the original second unlock code and keeping the bits in other positions unchanged. The target unlock code is written into the fourth storage area as the new second unlock code to overwrite the original second unlock code. It can be understood that for each updated second unlock code, the manufacturer has pre-generated image data to obtain the first unlock code corresponding to the second unlock code during unlocking. For example, when the first 50 bits of the second unlock code corresponding to the first unlock are inverted to obtain the second unlock code corresponding to the second unlock, the first unlock code corresponding to the second unlock is also obtained by inverting the first 50 bits of the first unlock code corresponding to the first unlock.
[0081] Through the solution of this embodiment, it is possible to make the image data corresponding to multiple-stage unlocks different, providing technical support for installment payment. And writing the new second unlock code into the same local storage as the current second unlock code saves the storage resources of the controller. Specifically, in this embodiment, it is not necessary to save multiple second unlock codes corresponding to each unlock in the local storage at the same time. Instead, after the previous unlock is completed, the generation of the second unlock code corresponding to the next unlock will be triggered. In other words, the prior unlock must be completed to trigger the next unlock. Even if the unlock image corresponding to the subsequent unlock is leaked, the unlock cannot be completed without obtaining the unlock image required for the prior unlock. That is, assuming that the purchaser accidentally obtains the image corresponding to the second unlock, but if the image corresponding to the first unlock is not obtained, the second unlock cannot be completed either. There is an adjacent relevant dependency relationship between each unlock. In an example, assuming that the purchaser accidentally obtains the images corresponding to the first and third unlocks, the second and third unlocks cannot be completed either. This can regulate that the purchaser must pay for each installment. Generally speaking, since during installment unlocking, the subsequent unlock depends on the previous unlock, that is, the subsequent unlock must depend on the completion of the previous unlock to be executed. That is to say, even if the image corresponding to the third unlock is stolen, it cannot be used for unlocking. It is necessary to obtain the images corresponding to the first and second unlocks at the same time to unlock the screen. Therefore, the encryption effect of the solution of this embodiment is more secure.
[0082] In one embodiment, the obtaining the data at a preset position in the image data as the first unlock code specifically includes:
[0083] Obtaining the continuous binary data between the preset starting position and the preset ending position in the image data as the first unlock code; wherein, the preset starting position and the preset ending position are both stored in the local storage.
[0084] Specifically, at the time of leaving the factory, the preset starting position is stored in the sixth storage area of the local storage, and the preset ending position is stored in the seventh storage area of the local storage. For example, in one example, the preset starting position is 481 and the preset ending position is 960. At this time, the binary data corresponding to 480 bits from the 481st bit to the 960th bit in the data of this frame of image (i.e., the target frame) is obtained, and these 480 bits are used as the first unlock code.
[0085] In one embodiment, as Figure 6 shown, the method further includes:
[0086] Step S602, when the verification result is passed, simultaneously add a third preset value to the preset starting position and the preset ending position in the local storage respectively to obtain a new preset starting position and a new preset ending position.
[0087] Step S604, write the new preset starting position and the new preset ending position into the local storage.
[0088] In one example, the third preset value is 100. That is, when the verification result is passed, the new preset starting position is 581 and the new preset ending position is 1060. Then, write the new preset starting position into the sixth storage area and write the new preset ending position into the seventh storage area.
[0089] In this embodiment, the preset position is adjusted when the verification result is passed, so as to avoid the data with the same arrangement order in the unlocking images corresponding to different times in the unlocking operation corresponding to installment payment, and reduce the risk of the first unlocking code being cracked. On the contrary, without adjusting the preset position, in the unlocking images corresponding to different times, there are partially the same data arrangements at positions 481 to 960, and the pattern is easy to be discovered. As a result, people with ulterior motives may try to crack by adjusting the arrangement order of the 481st to 960th positions of the corresponding unlocking image of the previous time, and the risk of being cracked is relatively high. It should also be noted that since it is necessary to be in the restricted mode currently, after the controller is powered on and starts up, within the first preset duration, when a certain frame of image data received is detected and no new image data is received for the second preset duration, only then will it trigger to obtain the binary data corresponding to 480 bits from the 481st bit to the 960th bit in the data of this frame of image (i.e., the target frame), and take these 480 bits as the first unlocking code. Then, the first unlocking code is verified with the second unlocking code. If the second preset duration is 20 seconds, that is, each unlocking process takes at least 20 seconds at the fastest. If people with ulterior motives maliciously adjust the order of these 480-bit binary data to try to crack, the longest time consumed will reach 2^480 * 20 seconds. This embodiment sets the strategy of triggering the unlocking only when no new image data is received for the second preset duration after detecting a certain frame of image data received, which can avoid the possibility of brute-forcing the screen lock (i.e., screen locking) password.
[0090] In another embodiment, the meeting the preset condition is that the current normal usage duration is equal to the preset duration and the unlocking state is unlocked. As Figure 7 shown, the method further includes:
[0091] Step S702, when the controller is powered on and starts up, trigger a countdown with a duration of the third preset duration; wherein, the third preset duration is greater than the first preset duration.
[0092] Step S704, when the countdown with a duration of the third preset duration ends, detect whether the electronic switch is in the on state. If so, starting from the end of the countdown with a duration of the third preset duration, trigger an accumulation operation of the normal usage duration every time a preset time interval passes; if not, keep the normal usage duration unchanged.
[0093] Specifically, the controller uses the eighth storage area in the local storage to store the normal usage duration, and the controller uses the ninth storage area in the local storage to store the preset usage duration. If the first preset duration is 30 seconds and the third preset duration is 40 seconds, then starting from when the controller powers on and starts up, after 40 seconds, when it is detected that the electronic switch, i.e., the MOS transistor, is still in the closed state, starting from the end of the countdown with a duration of the third preset duration, an accumulation operation of the normal usage duration is triggered every time a preset time interval elapses. For example, the preset time interval is 5 minutes. At 12:00:00, the controller powers on and starts up, and at this time the data in the third storage area is 5 (at this time the normal usage times is 5). When it is 12:00:41, it is still detected that the electronic switch is in the on state. At this time, it can be known that the time at the end of the countdown with a duration of the third preset duration is 12:00:41. Then starting from 12:00:41, the value in the eighth storage area is incremented by 5 minutes every 5 minutes. When leaving the factory, the value in the eighth storage area is 0. In this example, the unit of the normal usage duration is minutes. For example, when it is 12:05:41, the value in the eighth storage area is 5, that is, the normal usage duration is 5 minutes. When it is 12:10:41, the value in the eighth storage area is 10, that is, the normal usage duration is 10 minutes; and so on. In one example, if the controller powers on and starts up at 12:00:00 and at this time the data in the eighth storage area is 0 (at this time the normal usage duration is 0 minutes), when it is 12:00:41, it is detected that the electronic switch is in the off state, then the data in the eighth storage area does not need to be updated, that is, the normal usage duration remains unchanged and is still 0.
[0094] It can be understood that in this embodiment, what is counted is not the absolute time, but the normal usage duration. Since counting the normal usage duration is actually counting the duration during which the OLED display module is used when not in the restricted mode, the statistical result of the duration of the purchaser's behavior of using the display module is more accurate, and can better reflect the actual usage duration of the purchaser. For the locking method in this application that triggers the display module to enter the restricted state based on the duration of the display module being used, compared with simply counting the absolute time in the prior art, the method of triggering the lock based on the normal usage duration is more accurate and is not affected by malicious adjustment of the system time.
[0095] Further, as Figure 7 shown, the method further includes:
[0096] Step S802, when the verification result is passed and it is detected that the preset usage duration in the current local storage is less than the preset final usage duration, add a second preset value to the preset usage duration in the current local storage to obtain the target usage duration.
[0097] Step S804, write the target usage duration as the new preset usage duration into the local storage.
[0098] Specifically, when the manufacturer and the purchaser conduct a transaction through an installment payment method, for example, it is agreed that the subsequent payments are divided into 3 installments, and for every 50 hours (i.e., 3000 minutes) of normal use, one payment is made. To meet this requirement, the final usage duration is set to 150 hours (i.e., 9000 minutes). When the display module just leaves the factory, it will save the initial preset usage duration, which is 3000, in the ninth storage area of the local storage. When the normal usage duration reaches 3000 and the unlocking status is not unlocked, it enters the restricted mode. At this time, in the restricted mode, if the verification result is passed, it is detected that the preset usage duration in the local storage is 3000, which is less than the final usage duration of 9000. In this example, the second preset value is 3000. Therefore, the target usage duration 6000 is obtained by adding the current preset usage duration 3000 in the local storage to the second preset value 3000, and 6000 is written as the new preset usage duration into the ninth storage area of the local storage as the latest preset usage duration to trigger the next entry into the restricted mode.
[0099] Through the solution of this embodiment, multi-stage locking can be achieved, providing technical support for installment payments. And writing the new preset usage duration into the same storage location used to save the current preset usage duration saves the storage resources of the controller.
[0100] In one example, the method further includes:
[0101] When, in the case where the verification result is passed, it is detected that the preset usage duration in the current local storage is equal to the preset final usage duration, set the unlocking status to unlocked.
[0102] When the preset condition is that the current normal usage duration is equal to the preset duration and the unlocking status is not unlocked, the method further includes:
[0103] Step S902, in the case where the verification result is passed, perform a preset operation on the second unlock code in the current local storage to obtain the target unlock code. Among them, the second unlock code is binary data, and the preset operation includes inverting the data at the specified position in the second unlock code.
[0104] Specifically, the negation operation means negating each bit in the binary sequence, that is, 1 becomes 0 after negation, and 0 becomes 1 after negation. Among them, the specified position is determined according to the normal usage duration stored in the third storage area in the local storage. For example, when the normal usage duration is 3000, the specified position is the first 3000 mod 480 (where mod is the remainder operation, 3000 mod 480 = 120) bits of the second unlock code. When the normal usage duration is 6000, the specified position is the first 6000 mod 480 = 240 bits of the second unlock code. That is, when the normal usage duration is M, the specified position is the first M mod 480 bits of the second unlock code; where M is a positive integer variable.
[0105] Step S904, write the target unlock code into the local storage as the new second unlock code.
[0106] For example, when the first verification passes, the normal usage duration is 3000. Therefore, the target unlock code is a new binary sequence obtained by negating the first 120 bits of the original second unlock code and keeping the bits in other positions unchanged. Write the target unlock code into the fourth storage area to overwrite the original second unlock code. It can be understood that for each updated second unlock code, the manufacturer has generated image data in advance to obtain the first unlock code corresponding to the second unlock code during unlocking. For example, when the first 120 bits of the second unlock code corresponding to the first unlock are negated to obtain the second unlock code corresponding to the second unlock, the first unlock code corresponding to the second unlock is also obtained by negating the first 120 bits of the first unlock code corresponding to the first unlock.
[0107] Through the solution of this embodiment, the image data corresponding to multi-stage unlocking can be made different, providing technical support for installment payment. And write the new second unlock code into the local storage with the same current second unlock code, saving the storage resources of the controller. Through the solution of this embodiment, the image data corresponding to multi-stage unlocking can be made different, providing technical support for installment payment. And write the new second unlock code into the local storage with the same current second unlock code, saving the storage resources of the controller. Specifically, in this embodiment, it is not necessary to save multiple second unlock codes corresponding to each unlocking in the local storage at the same time. Instead, after the previous unlocking is completed, the second unlock code corresponding to the next unlocking will be triggered to be generated. In other words, the previous unlocking must be completed first to trigger the next unlocking. Even if the unlocking image corresponding to the subsequent unlocking is leaked, the unlocking cannot be completed without obtaining the unlocking image required for the previous unlocking. That is, assuming the purchaser accidentally obtains the image corresponding to the second unlocking, but if the image corresponding to the first unlocking is not obtained, the second unlocking cannot be completed either. There is an adjacent relevant dependence relationship between each unlocking. In an example, assume that the purchaser accidentally obtains the images corresponding to the first and third unlockings, and the second and third unlockings cannot be completed either. This can regulate that the purchaser must pay for each installment. Generally speaking, when unlocking in installments, the subsequent unlocking depends on the previous unlocking, that is, the subsequent unlocking must depend on the completion of the previous unlocking to be executed. That is to say, even if the image corresponding to the third unlocking is stolen, it cannot be used for unlocking. It is necessary to obtain the images corresponding to the first and second unlockings at the same time to unlock the screen. Therefore, the encryption effect is more secure.
[0108] In one embodiment, a computer-readable storage medium is further provided. The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the steps of the above control method of the OLED display module. Here, the steps of the control method of the OLED display module may be the steps in the control method of the OLED display module in the above respective embodiments.
[0109] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in this application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and 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 DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0110] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.
Claims
1. A control method for an OLED display module, characterized in that The method includes: When the controller powers on and starts up, it controls the electronic switch to connect the power supply circuit of the row and column driving module and detects whether it is currently in the restricted mode; among them, when it detects that the preset conditions are met, it enters the restricted mode; In the case where it is currently in the restricted mode, when the controller detects a certain frame of image data within the first preset duration after power-on startup and does not receive new image data for the second preset duration, the following steps are executed: Obtain the data at a preset position in this frame of image data as the first unlock code, and verify the first unlock code with the second unlock code stored locally to obtain a verification result; If the verification result is passed, exit the restricted mode and keep the electronic switch continuously connecting the power supply circuit of the row and column driving module; If the verification result is not passed, after the first preset duration has elapsed after power-on startup, control the electronic switch to disconnect the power supply circuit of the row and column driving module.
2. The control method of an OLED display module according to claim 1, wherein The preset conditions being met mean that the current normal usage times is equal to the preset times and the unlock status is unlocked. The method further includes: When the controller powers on and starts up, it triggers a countdown with a duration of the third preset duration; among them, the third preset duration is greater than the first preset duration; When the countdown with a duration of the third preset duration ends, detect whether the electronic switch is in the on state. If so, increment the normal usage times by one; if not, keep the normal usage times unchanged.
3. The control method of an OLED display module according to claim 2, wherein The method further includes: In the case where the verification result is passed, when it is detected that the preset times stored locally currently is less than the preset final times, add the first preset value to the preset times stored locally currently to obtain the target times; Write the target times as the new preset times into local storage.
4. A control method for an OLED display module according to claim 1, characterized in that, The preset conditions being met mean that the current normal usage duration is equal to the preset duration and the unlock status is unlocked. The method further includes: When the controller powers on and starts up, it triggers a countdown with a duration of the third preset duration; among them, the third preset duration is greater than the first preset duration; When the countdown with a duration of the third preset duration ends, detect whether the electronic switch is in the on state. If so, starting from the end of the countdown with a duration of the third preset duration, trigger an accumulation operation of the normal usage duration once every preset time interval; if not, keep the normal usage duration unchanged.
5. The control method of an OLED display module according to claim 4, wherein, The method further includes: In the case where the verification result is passed, when it is detected that the preset usage duration stored locally currently is less than the preset final usage duration, add the second preset value to the preset usage duration stored locally currently to obtain the target usage duration; Write the target usage duration as the new preset usage duration into local storage.
6. The control method of an OLED display module according to claim 1, wherein, The method further includes: In the case where the verification result is passed, perform a preset operation on the second unlock code stored locally currently to obtain the target unlock code; among them, the second unlock code is binary data, and the preset operation includes inverting the data at the specified position in the second unlock code; Write the target unlock code as the new second unlock code into local storage.
7. A control method for an OLED display module according to claim 1, characterized in that, Obtaining the data at a preset position in the image data as the first unlock code specifically includes: Obtaining the continuous binary data between a preset starting position and a preset ending position in the image data as the first unlock code; wherein, both the preset starting position and the preset ending position are stored in the local storage.
8. The control method of an OLED display module according to claim 7, wherein, The method further includes: When the verification result is passed, simultaneously adding a third preset value to the preset starting position and the preset ending position in the local storage respectively to obtain a new preset starting position and a new preset ending position; Writing the new preset starting position and the new preset ending position into the local storage.
9. A control method for an OLED display module according to claim 1, characterized in that, The length of the first unlock code is the same as that of the second unlock code; wherein, verifying the first unlock code with the second unlock code stored in the local storage to obtain a verification result specifically includes: Performing an exclusive OR operation on the first unlock code and the second unlock code stored in the local storage to obtain an operation result; if the operation result does not contain 1, the verification result is passed, otherwise, the verification result is not passed.
10. An OLED display module, comprising a controller, a row and column driving module, a power supply, an electronic switch, and an OLED array, characterized in that, The power supply is used to supply power to the controller and the row and column driving circuits; the first end of the electronic switch is connected to the power supply, the second end is connected to the controller, and the third end is connected to the row and column driving module, and is used to control the on or off of the power supply circuit of the row and column driving module under the control of the controller; the controller is used to execute the control method of the OLED display module according to any one of claims 1 to 9.
Citation Information
Patent Citations
OLED display control device and method
CN101281724A
Image-based unlocking method for mobile terminal and mobile terminal
CN102693430A
Display screen unlocking method and display assembly
CN110457886A
Data encryption method and device and computing equipment
CN114422800A
Equipment unlocking method and device, nonvolatile storage medium and computer equipment
CN115292736A