Electrostatic interference processing method, device, storage medium and electronic equipment

By detecting the configuration data of the IO expansion chip and reconfiguring it, the problem of the 4K monitor's keypad crash during electrostatic testing is solved, improving system performance.

CN114443396BActive Publication Date: 2025-03-14BOE TECHNOLOGY GROUP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210089405.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-25
Publication Date
2025-03-14
Estimated Expiration
2042-01-25

AI Technical Summary

Technical Problem

When conducting electrostatic tests on 4K monitors, the keypad often crashes, resulting in the knob encoder or keys being unusable, and the system performance is poor.

Method used

By obtaining the current configuration data of the IO expansion chip, it is detected whether it is the same as the initial configuration data. If different, reconfigure the IO expansion chip in a predetermined manner so that the predetermined accessories external to its pin interface are enabled.

Benefits of technology

It solves the problem of keyboard crash caused by electrostatic interference, ensures that the keyboard can be used normally, thereby improving system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114443396B_ABST
    Figure CN114443396B_ABST
Patent Text Reader

Abstract

The disclosed embodiment provides a method, device, storage medium and electronic device for processing electrostatic interference, the method comprising: obtaining the current configuration data of an IO expansion chip; detecting whether the current configuration data is the same as the initial configuration data of the IO expansion chip; if they are not the same, reconfiguring the IO expansion chip in a predetermined manner so that a predetermined accessory connected to the pin interface of the IO expansion chip is in an enabled state. The disclosed embodiment obtains the current configuration data of the IO expansion chip, compares the current configuration data with the initial configuration data to determine whether electrostatic interference exists, and reconfigures the IO expansion chip in the presence of electrostatic interference, thereby enabling the predetermined accessory connected to the pin interface of the IO expansion chip. The problem of a keypad freezing and being unusable due to electrostatic interference is solved by reconfiguring the IO expansion chip, thereby improving the system performance as a whole.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of control, and in particular to a method, device, storage medium and electronic device for processing electrostatic interference. Background Art

[0002] For 4K monitors, SOC (system-on-chip) usually interacts with the keypad through an RS232 interface (one of the commonly used serial communication interface standards). For the keypad, since the MCU (microcontroller unit) has fewer pins, it is necessary to connect an IO expansion chip, and then connect to the knob encoder or button through the pins of the IO expansion chip.

[0003] When performing electrostatic testing on 4K monitors, the keypad often freezes, rendering the encoder or keys unusable and the system performance poor. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure propose an electrostatic interference processing method, device, storage medium and electronic device to solve the following problems in the prior art: when performing electrostatic testing on a 4K monitor, the keypad often freezes, causing the knob encoder or buttons to be unusable and the system performance to be poor.

[0005] On the one hand, an embodiment of the present disclosure proposes a method for processing electrostatic interference, including: obtaining current configuration data of an IO expansion chip; detecting whether the current configuration data is the same as initial configuration data of the IO expansion chip; if they are not the same, reconfiguring the IO expansion chip in a predetermined manner so that a predetermined accessory connected to a pin interface of the IO expansion chip is in an enabled state.

[0006] In some embodiments, reconfiguring the IO expansion chip in a predetermined manner includes: sending a reinitialization command to reinitialize the IO expansion chip; or soft restarting the IO expansion chip to restart each pin interface of the IO expansion chip.

[0007] In some embodiments, the acquiring the current configuration data of the IO expansion chip includes: acquiring the current configuration data of the IO expansion chip according to a predetermined period; or acquiring the current configuration data of the IO expansion chip in response to a status query command from a SOC.

[0008] In some embodiments, before reconfiguring the IO expansion chip in a predetermined manner, the method further includes: sending a predetermined prompt message to prompt the existence of electrostatic interference.

[0009] On the other hand, an embodiment of the present disclosure proposes an electrostatic interference processing device, including: an acquisition module, used to acquire current configuration data of an IO expansion chip; a detection module, used to detect whether the current configuration data is the same as the initial configuration data of the IO expansion chip; and a reconfiguration module, used to reconfigure the IO expansion chip in a predetermined manner when they are different, so that a predetermined accessory connected to the pin interface of the IO expansion chip is in an enabled state.

[0010] In some embodiments, the reconfiguration module is specifically used to: send a reinitialization command to reinitialize the IO expansion chip; or soft-restart the IO expansion chip to restart each pin interface of the IO expansion chip.

[0011] In some embodiments, the acquisition module is specifically used to: acquire the current configuration data of the IO expansion chip according to a predetermined period; or acquire the current configuration data of the IO expansion chip in response to a status query command from a SOC.

[0012] In some embodiments, it also includes: a reminder module, which is used to send a predetermined reminder message to prompt the existence of static electricity interference.

[0013] On the other hand, an embodiment of the present disclosure provides a storage medium storing a computer program, which implements the method provided by any embodiment of the present disclosure when the computer program is executed by a processor.

[0014] On the other hand, an embodiment of the present disclosure provides an electronic device, which includes at least a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the method provided in any embodiment of the present disclosure when executing the computer program in the memory.

[0015] The disclosed embodiment obtains current configuration data of the IO expansion chip, compares the current configuration data with initial configuration data to determine whether there is electrostatic interference, and reconfigures the IO expansion chip in the presence of electrostatic interference, thereby enabling predetermined accessories externally connected to the pin interface of the IO expansion chip. The problem of the keypad freezing and becoming unusable due to electrostatic interference is solved by reconfiguring the IO expansion chip. The keypad can continue to be used normally with only a simple configuration, thereby improving system performance as a whole. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0017] Figure 1 It is an architecture diagram of the operating system corresponding to the 4K monitor in the prior art;

[0018] Figure 2 A flowchart of a method for processing electrostatic interference provided by an embodiment of the present disclosure;

[0019] Figure 3 Schematic diagram of the interaction between the keypad and SOC provided in the embodiment of the present disclosure Figure 1 ;

[0020] Figure 4 Schematic diagram of the interaction between the keypad and SOC provided in the embodiment of the present disclosure Figure 2 ;

[0021] Figure 5 A schematic diagram of the structure of an electrostatic interference processing device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0023] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0024] In order to keep the following description of the embodiments of the present disclosure clear and concise, the present disclosure omits detailed descriptions of well-known functions and well-known components.

[0025] like Figure 1 As shown in the figure, the architecture of the operating system corresponding to the existing 4K monitor is shown. The SOC interacts with the keypad through the RS232 interface. For the keypad, since the MCU has fewer pins, it is necessary to connect the IO expansion chip, and then connect to the knob encoder (or button) through the pins of the IO expansion chip.

[0026] like Figure 1 The SOS and MCU shown communicate through the RS232 interface, and the MCU accesses the IO expansion chip through the IIC (bus protocol). The IO expansion chip pins are connected to several buttons and knob encoders. In the high-intensity electrostatic test, an electrostatic gun will be used to shock the key panel part. The solution provided by the embodiment of the present disclosure can effectively solve the problem of abnormal operation of the key panel system caused by high-intensity electrostatic shock.

[0027] The process of a method for processing electrostatic interference provided by the embodiment of the present disclosure is as follows: Figure 2 As shown, steps S201 to S203 are included:

[0028] S201, obtaining current configuration data of the IO expansion chip.

[0029] In specific implementation, the SOC may actively request the keypad to perform a detection operation, for example, the SOC sends a status query command to the keypad, and the keypad will then obtain the current configuration data of the IO expansion chip. Of course, the keypad itself may also perform a detection operation, for example, obtaining the current configuration data of the IO expansion chip according to a predetermined period.

[0030] The above-mentioned current configuration data is usually the value after the IO expansion chip is initialized.

[0031] S202, detecting whether the current configuration data is the same as the initial configuration data of the IO expansion chip.

[0032] In the electrostatic test, the keypad is subjected to momentary high-voltage static electricity, which will cause the IO expansion chip to work abnormally. The phenomenon is that the keypad components other than the IO expansion chip circuit can work normally, but the external devices such as the keys connected to the IO expansion chip cannot work properly. If electrostatic interference occurs, the current configuration data will inevitably be different from the initial configuration data. Therefore, whether the IO expansion chip is in an abnormal working state can be determined by whether the current configuration data is the same as the initial configuration data.

[0033] S203, in the case of different conditions, reconfiguring the IO expansion chip in a predetermined manner so that the predetermined accessories connected to the pin interface of the IO expansion chip are in an enabled state.

[0034] In specific implementation, the above-mentioned reconfiguration of the IO expansion chip in a predetermined manner can be controlled by the SOC, or can be actively executed by the keypad itself. For example, the keypad itself can immediately send a reinitialization command to reinitialize the IO expansion chip, or the SOC can send a reinitialization command to the keypad to reinitialize the IO expansion chip; for another example, the keypad itself can also immediately perform a soft restart, and then soft restart the IO expansion chip, so that each pin interface of the IO expansion chip is restarted. Of course, it can also be a watchdog program set inside the keypad to perform a soft restart at a certain time, and then soft restart the IO expansion chip, so that each pin interface of the IO expansion chip is restarted. The embodiment of the present disclosure does not limit the predetermined method of reconfiguring the IO expansion chip, as long as the reconfiguration of the IO expansion chip can be achieved.

[0035] The disclosed embodiment obtains current configuration data of the IO expansion chip, compares the current configuration data with initial configuration data to determine whether there is electrostatic interference, and reconfigures the IO expansion chip in the presence of electrostatic interference, thereby enabling predetermined accessories externally connected to the pin interface of the IO expansion chip. The problem of the keypad freezing and becoming unusable due to electrostatic interference is solved by reconfiguring the IO expansion chip. The keypad can continue to be used normally with only a simple configuration, thereby improving system performance as a whole.

[0036] The above process is exemplarily described below with reference to the accompanying drawings.

[0037] like Figure 3 As shown, it is a schematic diagram of the interaction situation 1 when both the keypad and the SOC are powered on and running, which includes the following process:

[0038] (1) Send CMD1: SOC sends a command to the keypad, which is used to detect the current status of the keypad.

[0039] (2) Send RESP1: The keypad responds to the self-test, the system is initialized, and if the receiving function is normal, it returns OK; if the IO expansion chip fails to initialize, it returns ERROR.

[0040] (3) Send CMD2: If the previous RESP1 response is OK, the SOC sends an event command to start the keypad workflow; if the previous RESP1 response returns ERROR, the RESRET keypad is reset.

[0041] (4) Send RESP2: The keypad receives the event command and returns OK to the SOC.

[0042] like Figure 4 As shown, it is a second interactive schematic diagram when both the keypad and the SOC are powered on and running, which includes the following process:

[0043] (1) Send CMD1: SOC sends it to the keypad system. This command is used to detect the current status of the keypad.

[0044] (2) After the waiting time for the reply expires, the keypad is reset and the SoC pulls the keypad RESET pin low to achieve reset.

[0045] The disclosed embodiment can continuously monitor the working status of the IO expansion chip at the bottom layer of the program, and reinitialize the chip or soft reset the system according to the current working status of the IO expansion chip.

[0046] In order to further remind the tester of the existence of electrostatic interference, before reconfiguring the IO expansion chip in a predetermined manner, a predetermined prompt message can also be sent to prompt the existence of electrostatic interference, so that when the keypad is in a situation where it cannot be automatically restarted or reset immediately, the electrostatic interference can be manually and actively repaired, providing a better user experience.

[0047] The present disclosure also provides a device for processing electrostatic interference, the structure of which is shown in FIG. Figure 5 As shown, including:

[0048] The acquisition module 10 is used to acquire the current configuration data of the IO expansion chip; the detection module 20 is coupled with the acquisition module 10 and is used to detect whether the current configuration data is the same as the initial configuration data of the IO expansion chip; the reconfiguration module 30 is coupled with the detection module 20 and is used to reconfigure the IO expansion chip in a predetermined manner in the case of a difference, so that the predetermined accessories externally connected to the pin interface of the IO expansion chip are in an enabled state.

[0049] In specific implementation, the SOC may actively request the keypad to perform a detection operation, or the keypad itself may perform the detection operation. Therefore, the acquisition module may be used to: obtain the current configuration data of the IO expansion chip according to a predetermined period; or, in response to a status query command from the SOC, obtain the current configuration data of the IO expansion chip. The current configuration data is usually the value after the IO expansion chip is initialized.

[0050] In the electrostatic test, the keypad is subjected to momentary high-voltage static electricity, which will cause the IO expansion chip to work abnormally. The phenomenon is that the keypad components other than the IO expansion chip circuit can work normally, but the external devices such as the keys connected to the IO expansion chip cannot work properly. If electrostatic interference occurs, the current configuration data will inevitably be different from the initial configuration data. Therefore, whether the IO expansion chip is in an abnormal working state can be determined by whether the current configuration data is the same as the initial configuration data.

[0051] When the reconfiguration module reconfigures the IO expansion chip in a predetermined manner, it can be controlled by the SOC or actively executed by the keypad itself. Therefore, the reconfiguration module can be specifically used to: send a reinitialization command to reinitialize the IO expansion chip; or soft restart the IO expansion chip to restart each pin interface of the IO expansion chip.

[0052] In specific implementation, for example, the keypad itself can immediately send a reinitialization command to reinitialize the IO expansion chip, or the SOC can send a reinitialization command to the keypad to reinitialize the IO expansion chip; for another example, the keypad itself can immediately perform a soft restart, and then soft restart the IO expansion chip, so that each pin interface of the IO expansion chip is restarted. Of course, the watchdog program set inside the keypad can also perform a soft restart at a certain time, and then soft restart the IO expansion chip, so that each pin interface of the IO expansion chip is restarted. The embodiments of the present disclosure do not limit the predetermined method of reconfiguring the IO expansion chip, as long as the reconfiguration of the IO expansion chip can be achieved.

[0053] In order to further remind the tester of the existence of electrostatic interference, the embodiment of the present disclosure may also include a reminder module for sending a predetermined reminder message to remind the existence of electrostatic interference. Through the reminder of the reminder module, when the keypad is in a situation where it cannot be automatically restarted or reset immediately, the electrostatic interference can be manually repaired, and the user experience is better.

[0054] The disclosed embodiment obtains current configuration data of the IO expansion chip, compares the current configuration data with the initial configuration data to determine whether there is electrostatic interference, and reconfigures the IO expansion chip in the presence of electrostatic interference, thereby enabling predetermined accessories externally connected to the pin interface of the IO expansion chip. The problem of the keypad freezing and becoming unusable due to electrostatic interference is solved by reconfiguring the IO expansion chip. The keypad can continue to be used normally with only a simple configuration, thereby improving system performance as a whole.

[0055] An embodiment of the present disclosure further provides a storage medium, which is a computer-readable medium and stores a computer program. When the computer program is executed by a processor, the method provided by any embodiment of the present disclosure is implemented, and the specific steps are not repeated here.

[0056] An embodiment of the present disclosure further provides an electronic device, which includes at least a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the method provided in any embodiment of the present disclosure when executing the computer program in the memory, and the specific steps are not repeated here.

[0057] Optionally, in this embodiment, the above-mentioned storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk. Optionally, in this embodiment, the processor executes the method steps recorded in the above-mentioned embodiment according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment can refer to the examples described in the above-mentioned embodiment and the optional implementation mode, and this embodiment will not be repeated here. Obviously, it should be understood by those skilled in the art that the above-mentioned modules or steps of the present disclosure can be implemented with a general computing device, which can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented with executable program codes of computing devices, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present disclosure is not limited to any specific combination of hardware and software.

[0058] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present disclosure with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of this application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0059] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, a person of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the present disclosure. This should not be interpreted as an intention that a disclosed feature that is not required to be protected is necessary for any claim. On the contrary, the subject matter of the present disclosure may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present disclosure should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.

[0060] Multiple embodiments of the present disclosure are described in detail above, but the present disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concepts of the present disclosure, and these variations and modifications should all fall within the scope of protection required by the present disclosure.

Claims

1. A method for processing electrostatic interference, characterized in that: The architecture of the operating system corresponding to the 4K monitor includes a SOC, a keypad, an IO expansion chip, and a knob encoder or a button. The SOC interacts with the keypad through an RS232 interface, and the MCU of the keypad is connected to the knob encoder or the button through the IO expansion chip. Treatment methods include: Get the current configuration data of the IO expansion chip; Detecting whether the current configuration data is the same as the initial configuration data of the IO expansion chip; In the case of different situations, the IO expansion chip is reconfigured in a predetermined manner so that the predetermined accessories connected to the pin interface of the IO expansion chip are in an enabled state; The reconfiguring of the IO expansion chip in a predetermined manner includes: The keypad itself or the SOC sends a reinitialization command through the keypad to reinitialize the IO expansion chip; or, The keypad itself or a watchdog program set inside the keypad softly restarts the IO expansion chip at a certain time, so that each pin interface of the IO expansion chip is restarted.

2. The processing method according to claim 1, characterized in that The obtaining of the current configuration data of the IO expansion chip includes: Acquire the current configuration data of the IO expansion chip according to a predetermined period; or, In response to a status query command from the SOC, the current configuration data of the IO expansion chip is obtained.

3. The processing method according to claim 1 or 2, characterized in that: Before reconfiguring the IO expansion chip in a predetermined manner, the method further includes: Send a predetermined reminder message to indicate the presence of static interference.

4. A device for processing electrostatic interference, characterized in that: The architecture of the operating system corresponding to the 4K monitor includes a SOC, a keypad, an IO expansion chip, and a knob encoder or a button. The SOC interacts with the keypad through an RS232 interface, and the MCU of the keypad is connected to the knob encoder or the button through the IO expansion chip. The processing device includes: The acquisition module is used to obtain the current configuration data of the IO expansion chip; A detection module, used to detect whether the current configuration data is the same as the initial configuration data of the IO expansion chip; A reconfiguration module, used to reconfigure the IO expansion chip in a predetermined manner under different circumstances, so that the predetermined accessories connected to the pin interface of the IO expansion chip are in an enabled state; The reconfiguration module is specifically used for: The keypad itself or the SOC sends a reinitialization command through the keypad to reinitialize the IO expansion chip; or, The keypad itself or a watchdog program set inside the keypad softly restarts the IO expansion chip at a certain time, so that each pin interface of the IO expansion chip is restarted.

5. The processing device according to claim 4, characterized in that The acquisition module is specifically used for: Acquire the current configuration data of the IO expansion chip according to a predetermined period; or, In response to a status query command from the SOC, the current configuration data of the IO expansion chip is obtained.

6. The device according to claim 4 or 5, characterized in that Also includes: The reminder module is used to send a predetermined reminder message to prompt the existence of static electricity interference.

7. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

8. An electronic device comprising at least a memory and a processor, wherein a computer program is stored in the memory, wherein: The processor implements the steps of the method of any one of claims 1 to 3 when executing the computer program on the memory.

Citation Information

Patent Citations

  • Software solution to LCD (liquid crystal display) display problem caused by ESD (electro-static discharge)

    CN101751876A

  • Electrostatic disturbance processing method of mobile terminal and mobile terminal

    CN104184905A

  • Electrostatic protection device and method

    CN110970419A