OLED display module and control method thereof
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN LAIWEI OPTOELECTRONICS TECHNOLOGY CO LTD
- Filing Date
- 2025-04-24
- Publication Date
- 2026-07-10
AI Technical Summary
Existing OLED display module unlocking solutions are inefficient, requiring security authentication devices to be connected and unlocked one by one, which increases interface complexity and makes remote online unlocking impossible.
Unlocking is achieved by using image data displayed on an OLED screen, verifying the unlock code in the image data using a controller, and controlling the electronic switch to connect or disconnect the power supply circuit of the row and column drive modules, thus realizing remote online unlocking without the need for additional interfaces.
It enables efficient remote unlocking of OLED screens, is suitable for large-scale screen unlocking, avoids increased interface complexity, supports multi-phase unlocking mechanism with installment payment, and improves security and unlocking efficiency.
Smart Images

Figure CN120407475B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of OLED screen technology, and in particular to an OLED display module and its control method. Background Technology
[0002] To address the difficulty in collecting payments during the sale of LED displays, an encryption and locking function needs to be added to the OLED display module. Patent document CN118445862B discloses an LED display module operation control method and system. When the microcontroller is powered on or reset, the following steps are executed: using an encryption / decryption algorithm pre-embedded in the microcontroller's boot sector, combined with a key negotiated with the connected security authentication device, the stored previous log file and the previous locking time are decrypted; multiple preliminary reference times are obtained from at least two time sources, and a reference time is determined by performing a consistency check among these preliminary reference times; the reference time is compared and verified with the log time of the decrypted log file and the decrypted locking time; based on the comparison and verification results, the LED display module is controlled to operate in a preset mode or a corresponding security mechanism is triggered to prevent unauthorized startup or operation of the LED display module. The encryption and locking scheme provided in this document solves the problem of encryption and locking failure caused by replacing the control board of the display module or modifying the system time.
[0003] However, the solution in this patent document still has the following shortcomings: When unlocking the screen, a security authentication device is required, and the control board of the screen must be connected to the security authentication device, so remote online unlocking cannot be achieved; when a large number of devices need to be unlocked, the solution is inefficient when unlocking a large number of screens because the security authentication device must be connected to the screen one by one and the device can only be disconnected and connected to the next screen after the current screen is unlocked; since the security authentication device needs to be connected when unlocking, an additional interface for connecting the security authentication device needs to be added to the control board of the screen, increasing the complexity of the screen module interface. Summary of the Invention
[0004] The purpose of this invention is to at least solve one of the technical problems existing in the prior art, and to provide an OLED display module and its control method, which can realize remote online unlocking and improve the efficiency when unlocking a large number of screens, without increasing the complexity of the screen module interface.
[0005] To achieve the above-mentioned objectives, the present invention provides the following technical solution:
[0006] In a first aspect, a method for controlling an OLED display module is provided, the method comprising:
[0007] When the controller is powered on, it controls the electronic switch to connect the power supply circuit of the row and column drive module and detects whether it is in the limiting mode; if the preset conditions are met, it enters the limiting mode.
[0008] When the controller is currently in restricted mode, if it detects a received frame of image data within the first preset time period after power-on, and then fails to receive any new image data for a second preset time period, it will perform the following steps:
[0009] The data at a preset position in the frame image data is obtained as the first unlock code, and the first unlock code is verified with the second unlock code stored locally to obtain the verification result;
[0010] If the verification result is successful, exit the restricted mode and keep the electronic switch continuously connected to the power supply circuit of the row and column drive module;
[0011] If the verification result is unsuccessful, the electronic switch will disconnect the power supply circuit of the row and column drive module after the first preset time period following power-on.
[0012] As a further improvement, the preset conditions are that the current normal usage count equals a preset number and the unlock status is locked. The method also includes:
[0013] When the controller is powered on, it triggers a countdown for a duration of a third preset duration; wherein the third preset duration is longer than the first preset duration.
[0014] When the countdown, which lasts for the third preset duration, ends, it checks whether the electronic switch is in the ON state. If it is, the normal usage count is incremented by one; otherwise, the normal usage count remains unchanged.
[0015] As a further improvement, the method also includes:
[0016] If the verification result is passed, and it is detected that the preset number in the current local storage is less than the preset final number, the preset number in the current local storage is added to the first preset value to obtain the target number;
[0017] The target number is written as a new preset number to local storage.
[0018] As a further improvement, the preset conditions are that the current normal usage time is equal to the preset time and the unlocked state is locked. The method also includes:
[0019] When the controller is powered on, it triggers a countdown for a duration of a third preset duration; wherein the third preset duration is longer than the first preset duration.
[0020] When the countdown of the third preset duration ends, check whether the electronic switch is in the on state. If so, start from the end of the countdown of the third preset duration and trigger the accumulation operation of the normal usage time once every preset time interval; otherwise, keep the normal usage time unchanged.
[0021] As a further improvement, the method also includes:
[0022] If the verification result is successful, and it is detected that the preset usage time in the current local storage is less than the preset final usage time, the preset usage time in the current local storage is added to the second preset value to obtain the target usage time.
[0023] The target usage duration is written as a new preset usage duration to local storage.
[0024] As a further improvement, the method also includes:
[0025] If the verification result is successful, a preset operation is performed on the second unlock code in the current local storage to obtain the 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 as a new second unlock code into local storage.
[0027] As a further improvement, the step of obtaining data at a preset position in the image data as the first unlock code specifically includes:
[0028] The first unlocking code is obtained by acquiring continuous binary data between a preset start position and a preset end position in the image data; wherein the preset start position and the preset end position are both stored in local storage.
[0029] As a further improvement, the method also includes:
[0030] If the verification result is successful, the preset start position and the preset end position in local storage are simultaneously added to the third preset value to obtain the new preset start position and the new preset end position.
[0031] Write the new preset start position and the new preset end position to 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 locally stored second unlock code to obtain a verification result specifically includes:
[0033] Perform an XOR operation between the first unlock code and the locally stored second unlock code to obtain the result; if the result does not contain 1, the verification result is successful; otherwise, the verification result is unsuccessful.
[0034] Secondly, 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 power 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. It is controlled by the controller to turn on or off the power supply circuit of the row and column driving module. The controller is used to execute the above-mentioned control method of the OLED display module.
[0035] Compared to existing technologies, the OLED display module and its control method provided in this application have at least the following advantages: It can unlock the OLED screen using image data displayed on the OLED screen without requiring additional security authentication equipment. Therefore, for a locked OLED screen, the unlocking image data can be sent remotely to the corresponding host. The host only needs to play the image on the OLED screen for a first preset duration after the OLED screen is powered on to complete the unlocking. For unlocking a large number of OLED screens, the unlocking image data can be sent simultaneously to the host corresponding to each OLED screen for playback, efficiently completing the unlocking of the OLED screens. Furthermore, this application utilizes the interface between the host and the OLED screen to transmit image data, transmitting the unlocking image data to the OLED screen's controller without adding a new interface, thus avoiding increasing the complexity of the screen module's interface.
[0036] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0037] The present invention will be further described below with reference to the accompanying drawings and embodiments;
[0038] Figure 1 This is a structural block diagram of an OLED display module provided in one embodiment;
[0039] Figure 2 This is a flowchart illustrating a control method for an OLED display module provided in one embodiment;
[0040] Figure 3 This is a flowchart illustrating the process of counting normal usage times in one embodiment;
[0041] Figure 4 This is a flowchart illustrating the process of updating a preset number of times in one embodiment;
[0042] Figure 5 This is a schematic diagram of the process of updating the second unlock code in one embodiment;
[0043] Figure 6 This is a schematic diagram of the process for updating a preset position in one embodiment;
[0044] Figure 7 This is a flowchart illustrating the process of calculating normal usage time in one embodiment;
[0045] Figure 8 This is a schematic diagram of the process for updating the preset usage time in one embodiment. Detailed Implementation
[0046] This section will describe in detail specific embodiments of the present invention. Preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the drawings is to supplement the textual description with graphics, so that people can intuitively and vividly understand each technical feature and overall technical solution of the present invention, but they should not be construed as limiting the scope of protection of the present invention.
[0047] like Figure 1 As shown, in one embodiment, an OLED display module is provided, with reference to... Figure 1 The dashed box on the left represents the control section (control board) of the OLED display module, integrating the controller, interface circuits, power supply, and row / column drive circuits. The dashed box on the right represents the display panel, integrating the OLED array and electronic switches. The OLED controller (MCU) receives and stores image data from the host or upper computer, performs image format conversion, framing, and buffer management, and controls the row / column drive circuits (row / column drive modules) based on image data and timing signals. The row / column drive modules (including row and column drive circuits) control whether each row of pixels in the display panel is selected; the column drive circuit applies voltage or current to the corresponding column pixels based on image data; the OLED array, or pixel array, contains three sub-pixels: red, green, and blue (RGB); each sub-pixel has a TFT control unit and an OLED light-emitting unit; the brightness is controlled by voltage / current. The power supply provides the required voltages for different modules, such as logic voltage (VDD), drive voltage (VGH / VGL), and OLED light-emitting voltage (VCC / VEE). Interface circuitry is used to enable data transmission between the control card and the host computer / timing controller; it includes interface protocols such as LVDS, MIPIDSI, SPI, RGB, eDP, and TTL; it also performs signal level conversion and anti-interference processing. Electronic switches, i.e. Figure 1 The MOSFETs in the circuit are controlled by the controller (i.e., the MCU) to turn the power supply circuit of the row and column drive circuit on or off. It should be noted that, as... Figure 1As shown, the electronic switch is integrated into the display panel. If someone maliciously replaces the control board, the display panel will malfunction. Therefore, the screen lock cannot be broken simply by replacing the control board.
[0048] It should be noted that the control method for an OLED display module provided below is applied to an OLED display module provided in the above embodiments. Specifically, in one embodiment, a control method for an OLED display module is provided, the method comprising:
[0049] When the controller is powered on, it controls the electronic switch to connect the power supply circuit of the row and column drive module and detects whether it is currently in the restricted mode.
[0050] In one embodiment, when the current normal usage count equals a preset count and the unlock status is "locked," the system enters a restricted mode. Specifically, the controller uses a first storage area in its local storage to store a first identifier. When the first identifier is 1, it indicates that the system is currently in restricted mode; when the second identifier is 0, it indicates that the system is not currently in restricted mode. The controller uses a second storage area in its local storage to store a second identifier. When the second identifier is 1, it indicates that the unlock status is "locked"; when the second identifier is 0, it indicates that the unlock status is "unlocked." After power-on, the controller detects the specified storage areas, including the first and second storage areas, to obtain the first identifier and the second identifier, thereby determining whether the system is currently in restricted mode and the current unlock status. It should be noted that when the OLED display module is delivered to the buyer, if the buyer has not paid the full amount, the manufacturer will set the unlock status to "locked." Subsequently, when the buyer pays the remaining balance, the OLED display module will trigger the controller to set the unlock status to "unlocked" by displaying the image data corresponding to the unlock.
[0051] like Figure 3 As shown, in one embodiment, when the current mode is not restricted, the method further includes counting the number of normal uses through the following steps:
[0052] In step S302, when the controller is powered on, it triggers a countdown for a duration of a third preset duration. The third preset duration is longer than the first preset duration.
[0053] Step S304: When the countdown of the third preset duration ends, check whether the electronic switch is in the on state. If yes, increment the number of normal uses by one; otherwise, keep the number of normal uses unchanged.
[0054] Specifically, the controller uses the third storage area in its local memory to store the number of normal uses. If the first preset duration is 30 seconds and the third preset duration is 40 seconds, then starting from when the controller powers on, after 40 seconds, if the electronic switch is detected (i.e., the MOSFET is still closed), the number of normal uses in the third storage area is incremented by one and then written back to the third storage area. For example, if the controller powers on at 12:00:00 and the data in the third storage area is 5 (the number of normal uses is 5), and at 12:00:41 the electronic switch is still detected as closed, then the 6 obtained by incrementing 5 is written back to the third storage area, meaning the number of normal uses is now 6. It should be noted that since the electronic switch is controlled by a high or low level output from a pin of the controller (called the target pin), the state of the electronic switch can be obtained simply by detecting whether the target pin outputs a high or low level. In one example, if the controller is powered on at 12:00:00 and the data in the third storage area is 5 (the normal usage count is 5), when the electronic switch is detected to be in the off state at 12:00:41, the data in the third storage area does not need to be updated, that is, the normal usage count remains unchanged at 5.
[0055] It is understood that in this embodiment, the number of times the power-on is counted is not the number of times the device is powered on, but the number of times it is used normally. Since counting the number of times the device is used normally is actually counting the number of times the OLED display module is used when it is not in the restricted mode, the statistical results of the number of times the purchaser uses the display module are more accurate and can better reflect the actual number of times the purchaser uses it. Compared with the simple counting of the number of times the controller is powered on, the method of triggering the locking based on the number of times the display module is used is more accurate than the locking method in this application.
[0056] like Figure 2 As shown, when the controller is in the restricted mode, if it detects a received frame of image data within the first preset time after power-on and does not receive new image data for a second preset time, it will execute the following steps S202 to S206.
[0057] Step S202: Obtain the data at a preset position in the frame 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.
[0058] Specifically, the second preset duration is shorter 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 at 14:20:00 and receives an image frame at 14:20:04, referred to as the target frame. 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 binary data form through the interface circuit, totaling 1920*1080*48 bits. 1920*1080 corresponds to the screen resolution, and 48 is the number of bits required for each pixel to represent color. In this example, red, green, and blue each occupy 16 bits of data. In one example, the data at the preset position in step S202 can be the binary data corresponding to bits 480 to 960 of the image frame (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 of the controller's local storage.
[0059] Specifically, the first unlock code and the second unlock code have the same length; wherein, the step of verifying the first unlock code with the locally stored second unlock code to obtain a verification result specifically includes:
[0060] Perform an XOR operation between the first unlock code and the locally stored second unlock code to obtain the result; if the result does not contain 1, the verification result is successful; otherwise, the verification result is unsuccessful.
[0061] For example, if all bits in the first unlock code and the second unlock code are the same, the verification result is successful; if any bits in the first unlock code and the second unlock code are different, the verification result is unsuccessful.
[0062] In step S204, if the verification result is successful, exit the restriction mode and keep the electronic switch continuously connected to the power supply circuit of the row and column drive module.
[0063] As can be seen, when the verification result is passed, the restricted mode is exited, and the electronic switch is kept connected to the power supply circuit of the row and column drive module. Therefore, the images sent by the host to the display module can be displayed normally.
[0064] In step S206, if the verification result is unsuccessful, the electronic switch is controlled to disconnect the power supply circuit of the row and column drive module after the first preset time period following power-on.
[0065] As can be seen, if the verification result is unsuccessful, the power supply circuit of the row and column drive module is disconnected by the control electronic switch after the first preset time period following power-on. Therefore, the images sent to the display module by the host after the first preset time period following power-on cannot be displayed normally.
[0066] This application discloses a control method for an OLED display module that can unlock the screen using image data displayed on the OLED screen without requiring additional security authentication equipment. Therefore, for a locked OLED screen, the unlocking image data can be remotely sent to the corresponding host online. The host only needs to play the image on the OLED screen for a first preset duration after the OLED screen is powered on to complete the unlocking. For unlocking a large number of OLED screens, the unlocking image data can be simultaneously sent to the host corresponding to each OLED screen for playback, efficiently completing the unlocking process. Furthermore, this application utilizes the interface between the host and the OLED screen to transmit image data, transmitting the unlocking image data to the OLED screen's controller without adding a new interface, thus avoiding any increase in the complexity of the screen module's interface.
[0067] It should also be noted that, using the method of this application, when the screen purchaser is a mobile phone or computer manufacturer, even if the screen module provided by this application is already in the hands of the consumer who has purchased the mobile phone or computer, the mobile phone or computer manufacturer can still send the unlocking image to the locked mobile phone or computer through online upgrade of the mobile phone or computer to complete the online unlocking.
[0068] In one embodiment, when the controller is in a restricted mode, if it does not detect that the duration of continuous display of a certain frame of image data has reached the second preset duration within the first preset duration after power-on, it controls the electronic switch to disconnect the power supply circuit of the row and column drive module after the first preset duration has elapsed since power-on.
[0069] In one embodiment, such as Figure 4 As shown, the method further includes:
[0070] Step S402: If the verification result is passed, and it is detected that the preset number in the current local storage is less than the preset final number, the preset number in the current local storage is added to the first preset value to obtain the target number.
[0071] Step S404: Write the target number as a new preset number into the local storage.
[0072] Specifically, when manufacturers and buyers transact through installment payments, for example, agreeing to divide subsequent payments into three installments, one payment is made after every 50 normal uses. To meet this requirement, the final number of uses is set to 150. When the display module is first manufactured, the initial preset number of uses, i.e., 50, is saved in the fifth storage area of local storage. When the number of normal uses reaches 50 and the unlock status is locked, it enters restricted mode. In restricted mode, if the verification result is successful, it detects that the preset number of uses in local storage is 50, which is less than the final number of uses 150. In this example, the first preset value is 50. Therefore, the current preset number of uses 50 in local storage is added to the first preset value of 50 to obtain the target number of uses 100. This 100 is written as the new preset number of uses to the fifth storage area of local storage as the latest preset number of uses, so as to trigger the next re-entry into restricted mode.
[0073] The solution in this embodiment enables multi-period locking, providing technical support for installment payments. Furthermore, writing the new preset number of transactions to the same storage location used to store the current preset number of transactions saves the controller's storage resources.
[0074] In one example, the method further includes:
[0075] When the verification result is passed and the preset number of times in the current local storage is detected to be equal to the preset final number of times, the unlock status is set to unlocked.
[0076] In one embodiment, such as Figure 5 As shown, the method further includes:
[0077] Step S502: If the verification result is successful, perform a preset operation on the second unlock code currently stored locally to obtain the target unlock code. The second unlock code is binary data, and the preset operation includes inverting the data at a specified position in the second unlock code.
[0078] Specifically, the inversion operation involves inverting each bit in the binary sequence; that is, inverting 1 results in 0, and inverting 0 results in 1. The specified position is determined by the number of normal uses stored in the third storage area of 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; and 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 as a new second unlock code into the local storage.
[0080] For example, if the initial verification passes, the normal usage count is 50. Therefore, the target unlock code is a new binary sequence obtained by inverting the first 50 bits of the initial second unlock code while keeping the other bits unchanged. This target unlock code is written as the new second unlock code to the fourth storage area, overwriting the original second unlock code. It's understandable that for each updated second unlock code, the manufacturer pre-generates image data to retrieve the corresponding first unlock code during unlocking. For instance, 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 corresponding first unlock code for the second unlock is also obtained by inverting the first 50 bits of the first unlock code corresponding to the first unlock.
[0081] This embodiment allows for different image data corresponding to multiple unlocking phases, providing technical support for installment payments. Furthermore, writing the new second unlock code to the same local storage as the current second unlock code saves controller storage resources. Specifically, in this embodiment, it is not necessary to simultaneously store multiple second unlock codes corresponding to each unlocking phase in local storage. Instead, the generation of the next unlock code is triggered only after the previous unlocking is completed. In other words, the previous unlock must be completed before the next unlock can be triggered. Even if the unlocking image corresponding to a later unlock is leaked, unlocking cannot be completed without obtaining the unlocking image required for the previous unlock. That is, assuming the buyer accidentally obtains the image corresponding to the second unlock, the second unlock cannot be completed without obtaining the image corresponding to the first unlock. There is an adjacent, dependent relationship between each unlock. In one example, assuming the buyer accidentally obtains the images corresponding to the first and third unlocks, the second and third unlocks cannot be completed either. This ensures that the buyer must pay for each installment. In summary, because each unlock in phases depends on the previous one, meaning that the next unlock can only be executed after the previous one is completed, even if the image corresponding to the third unlock is stolen, it cannot be used for unlocking. The images corresponding to the first and second unlocks must be obtained simultaneously to unlock the screen. Therefore, the encryption effect of this embodiment is more secure.
[0082] In one embodiment, obtaining data at a preset location in the image data as the first unlock code specifically includes:
[0083] The first unlocking code is obtained by acquiring continuous binary data between a preset start position and a preset end position in the image data; wherein the preset start position and the preset end position are both stored in local storage.
[0084] Specifically, at the factory, the preset start position is stored in the sixth storage area of the local storage, and the preset end position is stored in the seventh storage area of the local storage. For example, in one example, the preset start position is 481 and the preset end position is 960. In this case, the binary data corresponding to bits 481 to 960, a total of 480 bits, is obtained from the data of the frame image (i.e., the target frame), and these 480 bits are used as the first unlock code.
[0085] In one embodiment, such as Figure 6 As shown, the method further includes:
[0086] In step S602, if the verification result is successful, the preset start position and the preset end position stored locally are simultaneously added to the third preset value to obtain the new preset start position and the new preset end position.
[0087] Step S604: Write the new preset start position and the new preset end position into the local storage.
[0088] In one example, the third preset value is 100. That is, if the verification result is passed, the starting position of the new preset is 581 and the ending position of the new preset is 1060. Then, the starting position of the new preset is written to the sixth storage area and the ending position of the new preset is written to the seventh storage area.
[0089] In this embodiment, the preset position is adjusted whenever the verification result is successful. This avoids the presence of data with the same arrangement order in the unlock images corresponding to different unlock operations for installment payments, reducing the risk of the first unlock code being cracked. Conversely, without adjusting the preset position, the unlock images corresponding to different unlock operations show some identical data arrangement from position 481 to 960, making it easy to spot the pattern. This allows malicious individuals to attempt to crack the code by adjusting the arrangement order of positions 481 to 960 in the previous unlock operation, resulting in a higher risk of being cracked. It should also be noted that, in the current restricted mode, the controller, after powering on, detects a received image frame within a first preset time period. Only if no new image data is received for a second preset time period will the controller trigger the acquisition of binary data corresponding to bits 480 to 960 of the image frame (i.e., the target frame). These 480 bits are used as the first unlock code, and then the first unlock code is verified against the second unlock code. If the second preset time period is 20 seconds, each unlocking process will take at least 20 seconds. If someone maliciously rearranges the order of these 480 bits of binary data to attempt to crack the code, the time consumed could reach up to 2^480 * 20 seconds. This embodiment sets the strategy of triggering the unlock only after detecting a received image frame and no new image data is received for a second preset time period, which can avoid the possibility of brute-force cracking the screen lock (i.e., screen lock) password.
[0090] In another embodiment, the preset condition is that the current normal usage time is equal to a preset time and the unlocked state is locked, such as... Figure 7 As shown, the method further includes:
[0091] In step S702, when the controller is powered on, it triggers a countdown for a duration of a third preset duration; wherein the third preset duration is longer than the first preset duration.
[0092] Step S704: When the countdown of the third preset duration ends, check whether the electronic switch is in the on state. If so, start from the end of the countdown of the third preset duration and trigger the accumulation operation of the normal usage time once every preset time interval. If not, keep the normal usage time unchanged.
[0093] Specifically, the controller uses the eighth storage area in its local storage to store the normal usage duration, and the ninth storage area in its 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, after 40 seconds, if the electronic switch is detected (i.e., the MOSFET is still closed), starting from the end of the countdown for the third preset duration, the normal usage duration is incremented every preset time interval. For example, if the preset time interval is 5 minutes, and the controller powers on at 12:00:00 with the data in the third storage area being 5 (meaning 5 normal usages), and at 12:00:41, the electronic switch is still detected as closed, then the countdown for the third preset duration ends at 12:00:41. Therefore, starting from 12:00:41, the value in the eighth storage area is incremented by 5 minutes every 5 minutes. The factory default value for the eighth storage area is 0. In this example, the unit of normal usage duration is minutes. For example, at 12:05:41, the value of the eighth storage area is 5, meaning the normal usage time is 5 minutes. At 12:10:41, the value of the eighth storage area is 10, meaning the normal usage time is 10 minutes, and so on. In one example, if the controller is powered on at 12:00:00 and the data in the eighth storage area is 0 (the normal usage time is 0 minutes), when the electronic switch is detected to be off at 12:00:41, the data in the eighth storage area does not need to be updated; that is, the normal usage time remains unchanged at 0.
[0094] It is understood that in this embodiment, the statistics are not absolute time, but normal usage time. Since the statistics of normal usage time are actually the statistics of the time the OLED display module is used when it is not in restricted mode, the statistics of the duration of the purchaser's use of the display module are more accurate and better reflect the actual usage time of the purchaser. Compared with the simple statistics of absolute time in the prior art, the method of triggering the locking based on the usage time of the display module in this application is more accurate and is not affected by malicious adjustment of the system time.
[0095] Furthermore, such as Figure 7 As shown, the method further includes:
[0096] Step S802: If the verification result is passed, and it is detected that the preset usage time in the current local storage is less than the preset final usage time, the preset usage time in the current local storage is added to the second preset value to obtain the target usage time.
[0097] Step S804: Write the target usage duration as a new preset usage duration into the local storage.
[0098] Specifically, when manufacturers and buyers transact through installment payments, for example, agreeing to divide subsequent payments into three installments, one payment is made for every 50 hours (3000 minutes) of normal use. To meet this requirement, the final usage time is set to 150 hours (9000 minutes). When the display module is first manufactured, the initial preset usage time of 3000 is saved in the ninth storage area of local storage. When the normal usage time reaches 3000 and the unlock status is locked, it enters restricted mode. In restricted mode, if the verification result is successful, it detects that the preset usage time in local storage is 3000, which is less than the final usage time of 9000. In this example, the second preset value is 3000. Therefore, the current preset usage time of 3000 in local storage is added to the second preset value of 3000 to obtain the target usage time of 6000. This 6000 is written as the new preset usage time to the ninth storage area of local storage as the latest preset usage time, in order to trigger the next re-entry into restricted mode.
[0099] The solution in this embodiment enables multi-period locking, providing technical support for installment payments. Furthermore, the new preset usage duration is written to the same storage location used to store the current preset usage duration, saving controller storage resources.
[0100] In one example, the method further includes:
[0101] When the verification result is passed and the preset usage time in the current local storage is detected to be equal to the preset final usage time, the unlock status is set to unlocked.
[0102] When the preset conditions are met—that is, the current normal usage time equals the preset time and the unlock status is locked—the method further includes:
[0103] Step S902: If the verification result is successful, perform a preset operation on the second unlock code currently in local storage to obtain the target unlock code. The second unlock code is binary data, and the preset operation includes inverting the data at a specified position in the second unlock code.
[0104] Specifically, the inversion operation involves inverting each bit in the binary sequence; that is, inverting 1 results in 0, and inverting 0 results in 1. The specified position is determined by the normal usage duration stored in the third storage area of local storage. For example, when the normal usage duration is 3000, the specified position is the first 3000 mod 480 bits of the second unlock code (where mod is the modulo operation, 3000 mod 480 = 120). When the normal usage duration is 6000, the specified position is the first 6000 mod 480 = 240 bits of the second unlock code. In other words, 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 as a new second unlock code into the local storage.
[0106] For example, during the first successful verification, the normal usage time is 3000. Therefore, the target unlock code is a new binary sequence obtained by inverting the first 120 bits of the initial second unlock code while keeping the other bits unchanged. The target unlock code is written as the new second unlock code into the fourth storage area, overwriting the original second unlock code. It's understandable that for each updated second unlock code, the manufacturer pre-generates image data to retrieve the corresponding first unlock code during unlocking. For instance, when the first 120 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 corresponding first unlock code for the second unlock is also obtained by inverting the first 120 bits of the first unlock code corresponding to the first unlock.
[0107] This embodiment allows for different image data corresponding to multiple unlocking phases, providing technical support for installment payments. Furthermore, writing the new second unlock code to the same local storage as the current second unlock code saves controller storage resources. Specifically, in this embodiment, it is not necessary to simultaneously store multiple second unlock codes corresponding to each unlocking phase in local storage. Instead, the generation of the next unlock code is triggered only after the previous unlocking is completed. In other words, the previous unlocking must be completed before the next unlocking can be triggered. Even if the unlocking image corresponding to a later unlocking phase is leaked, unlocking cannot be completed without obtaining the unlocking image required for the previous unlocking phase. That is, assuming the buyer accidentally obtains the image corresponding to the second unlocking phase, the second unlocking cannot be completed without obtaining the image corresponding to the first unlocking phase. There is an adjacent, dependent relationship between each unlocking phase. In one example, assuming the buyer accidentally obtains the images corresponding to the first and third unlocking phases, the second and third unlocking phases cannot be completed either. This ensures that the buyer must pay for each installment. In summary, because each unlock in stages depends on the previous one, meaning that the next unlock can only be executed after the previous one is completed, even if the image corresponding to the third unlock is stolen, it cannot be used to unlock the screen. The images corresponding to the first and second unlocks must be obtained simultaneously to unlock the screen. Therefore, the encryption effect is more secure.
[0108] In one embodiment, a computer-readable storage medium is also provided, storing computer-executable instructions for causing a computer to perform the steps of the OLED display module control method described above. The steps of the OLED display module control method here can be the steps in the OLED display module control methods of the various embodiments described above.
[0109] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this 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. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRA), direct RAM via Rambus (RDRA), direct memory bus dynamic RAM (DRDRAM), and dynamic RAM via Rambus (RDRAM), etc.
[0110] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A control method for an OLED display module, characterized in that, The method includes: When the controller is powered on, it controls the electronic switch to connect the power supply circuit of the row and column drive module and detects whether it is in the limiting mode; if the preset conditions are met, it enters the limiting mode. When the controller is currently in restricted mode, if it detects a received frame of image data within the first preset time period after power-on, and then fails to receive any new image data for a second preset time period, it will perform the following steps: The data at a preset position in the frame image data is obtained as the first unlock code, and the first unlock code is verified with the second unlock code stored locally to obtain the verification result; If the verification result is successful, exit the restricted mode and keep the electronic switch continuously connected to the power supply circuit of the row and column drive module; If the verification result is unsuccessful, the electronic switch will disconnect the power supply circuit of the row and column drive module after the first preset time after power-on startup. The preset conditions are that the current normal usage count equals the preset count and the unlock status is locked. The method further includes: When the controller is powered on, it triggers a countdown for a duration of a third preset duration; wherein the third preset duration is longer than the first preset duration. When the countdown, which lasts for the third preset duration, ends, it checks whether the electronic switch is in the ON state. If it is, the normal usage count is incremented by one; otherwise, the normal usage count remains unchanged.
2. The control method for an OLED display module according to claim 1, characterized in that, The method further includes: If the verification result is passed, and it is detected that the preset number in the current local storage is less than the preset final number, the preset number in the current local storage is added to the first preset value to obtain the target number; The target number is written as a new preset number to local storage.
3. The control method for an OLED display module according to claim 1, characterized in that, The preset conditions are that the current normal usage time is equal to the preset time and the unlock status is locked. The method further includes: When the controller is powered on, it triggers a countdown for a duration of a third preset duration; wherein the third preset duration is longer than the first preset duration. When the countdown of the third preset duration ends, check whether the electronic switch is in the on state. If so, start from the end of the countdown of the third preset duration and trigger the accumulation operation of the normal usage time once every preset time interval; otherwise, keep the normal usage time unchanged.
4. The control method for an OLED display module according to claim 3, characterized in that, The method further includes: If the verification result is successful, and the preset usage time in the current local storage is detected to be less than the preset final usage time, the preset usage time in the current local storage is added to the second preset value to obtain the target usage time. The target usage duration is written as a new preset usage duration to local storage.
5. The control method for an OLED display module according to claim 1, characterized in that, The method further includes: If the verification result is successful, a preset operation is performed on the second unlock code in the current local storage to obtain the 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; Write the target unlock code as a new second unlock code into local storage.
6. The control method for an OLED display module according to claim 1, characterized in that, The step of obtaining data from a preset position in the image data as the first unlock code specifically includes: The first unlocking code is obtained by acquiring continuous binary data between a preset start position and a preset end position in the image data; wherein the preset start position and the preset end position are both stored in local storage.
7. The control method for an OLED display module according to claim 6, characterized in that, The method further includes: If the verification result is successful, the preset start position and the preset end position in local storage are simultaneously added to the third preset value to obtain the new preset start position and the new preset end position. Write the new preset start position and the new preset end position to local storage.
8. The control method for an OLED display module according to claim 1, characterized in that, The first unlock code and the second unlock code have the same length; wherein, the step of verifying the first unlock code with the locally stored second unlock code to obtain a verification result specifically includes: Perform an XOR operation between the first unlock code and the locally stored second unlock code to obtain the result; if the result does not contain 1, the verification result is successful; otherwise, the verification result is unsuccessful.
9. An OLED display module, comprising a controller, a row and column driving module, a power supply, electronic switches, and an OLED array, characterized in that, The power supply is used to power the controller and the row and column drive 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 drive module, and is controlled by the controller to turn on or off the power supply circuit of the row and column drive module; the controller is used to execute the control method of the OLED display module according to any one of claims 1 to 8.