[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113533953A - Key control board automatic detection method, device, equipment and storage medium - Google Patents

Key control board automatic detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN113533953A
CN113533953A CN202110782077.9A CN202110782077A CN113533953A CN 113533953 A CN113533953 A CN 113533953A CN 202110782077 A CN202110782077 A CN 202110782077A CN 113533953 A CN113533953 A CN 113533953A
Authority
CN
China
Prior art keywords
key
operating system
board
triggered
control board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110782077.9A
Other languages
Chinese (zh)
Other versions
CN113533953B (en
Inventor
戴宇明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202110782077.9A priority Critical patent/CN113533953B/en
Publication of CN113533953A publication Critical patent/CN113533953A/en
Application granted granted Critical
Publication of CN113533953B publication Critical patent/CN113533953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses an automatic detection method, a device, equipment and a storage medium for a key control board, which comprises the steps of judging whether an operating system shields a key trigger response of the key control board when the key control board enters a state to be detected; if the operating system shields the key triggering response, key values of triggered keys recorded by the operating system are obtained; comparing the key value of the triggered key with the configuration key value of the key control board; and judging whether the keying board meets a preset detection standard or not according to the comparison result. According to the invention, when the key control board enters the to-be-detected mode, the key value of the triggered key recorded by the operating system is obtained in the state that the operating system shields the key trigger response, and the key value of the triggered key is compared with the configuration key value, so that whether the key control board meets the preset detection standard or not is judged according to the comparison result, the technical problem that the time consumption is long when the key control board is detected in the prior art is solved, and the detection efficiency of the key control board is improved.

Description

Key control board automatic detection method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent manufacturing, in particular to a method, a device, equipment and a storage medium for automatically detecting a key control board.
Background
The television is a household necessary electrical appliance, and the key board is still important in the television system as the most original control device of the television. At present, many users still use the start key of the television key control board as a preferred television start button; the television key control board is the only mode for controlling the television under the condition that the remote controller is out of power or cannot be found; in many manufacturers and display situations, people still use the key board to operate the television.
In the production process of the television, the keying plate is a process which must be checked, on a whole detection line, production line workers need to touch each case of the keying plate, whether the keying plate is installed in place or not is judged according to touch hand feeling, and whether the keying plate is qualified or not is judged according to the response of the television and the prompt of the UI.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for automatically detecting a key control board, and aims to solve the technical problem of low detection efficiency of the key control board in the prior art.
In order to achieve the above object, the present invention provides an automatic detection method for a key control board, comprising the following steps:
when the key control board enters a state to be detected, judging whether an operating system shields a key trigger response of the key control board;
if the operating system shields the key triggering response, key values of triggered keys recorded by the operating system are obtained;
comparing the key value of the triggered key with the configuration key value of the key control board;
and judging whether the keying board meets a preset detection standard or not according to the comparison result.
Optionally, after the step of determining whether the key control board meets the preset detection standard according to the comparison result, the method further includes:
when the detection of the key control board is finished, a release instruction is sent to the operating system, so that the operating system releases key trigger response according to the release instruction;
and when the operating system releases the key triggering response, sending a detection result of the key control board to the operating system.
Optionally, the obtaining the key value of the triggered key recorded by the operating system if the operating system has shielded the key trigger response includes:
if the operating system shields the key triggering response, sending a recording instruction to the operating system so that the operating system records the key value of the triggered key according to the recording instruction;
and acquiring the key value of the triggered key recorded by the operating system.
Optionally, before determining whether the operating system shields the key trigger response of the key board when the key board enters the state to be detected, the method further includes:
acquiring a control signal sent by control equipment to an operating system, and judging whether the control signal is triggered by a preset key in the control equipment;
and when the control signal is triggered by a preset key in the control equipment, judging that the key control board enters a state to be detected.
Optionally, before the step of shielding the key trigger response of the key board when the key board enters the state to be detected, the method further includes:
acquiring a control command sent to an operating system through a preset interface, and judging whether the control command is a key control board detection command;
and when the control command is a key control board detection command, judging that the key control board enters a state to be detected.
Optionally, the comparing the key value of the triggered key with the configuration key value of the key board includes:
determining a trigger key function corresponding to the triggered key according to the key value of the triggered key;
determining a configuration key function corresponding to the triggered key according to the configuration key value of the triggered key;
comparing the trigger key function with the configuration key function.
Optionally, the determining, according to the comparison result, whether the key control board meets a preset detection standard includes:
and when the trigger key function is consistent with the configuration key function, judging that the key control board meets a preset detection standard.
In addition, in order to achieve the above object, the present invention further provides an automatic detection device for a key board, comprising:
the first judgment module is used for judging whether an operating system shields the key trigger response of the key control board when the key control board enters a state to be detected;
the obtaining module is used for obtaining the key value of the triggered key recorded by the operating system if the operating system shields the key triggering response;
the comparison module is used for comparing the key value of the triggered key with the configuration key value of the key control board;
and the second judgment module is used for judging whether the key control board meets the preset detection standard or not according to the comparison result.
In addition, in order to achieve the above object, the present invention further provides an automatic detection device for a key board, comprising: a memory, a processor and a key board automatic detection program stored on the memory and executable on the processor, the key board automatic detection program being configured to implement the steps of the key board automatic detection method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores an automatic detection program for a key board, and the automatic detection program for a key board, when executed by a processor, implements the steps of the automatic detection method for a key board as described above.
When the key control board enters a state to be detected, whether an operating system shields the key trigger response of the key control board is judged; if the operating system shields the key triggering response, key values of triggered keys recorded by the operating system are obtained; comparing the key value of the triggered key with the configuration key value of the key control board; and judging whether the keying board meets a preset detection standard or not according to the comparison result. According to the invention, when the key control board enters the to-be-detected mode, the key value of the triggered key recorded by the operating system is obtained in the state that the operating system shields the key trigger response, and the key value of the triggered key is compared with the configuration key value, so that whether the key control board meets the preset detection standard or not is judged according to the comparison result, the technical problem that the time consumption is long when the key control board is detected in the prior art is solved, and the detection efficiency of the key control board is improved.
Drawings
Fig. 1 is a schematic structural diagram of a key board automatic detection device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a method for automatically detecting a key board according to the present invention;
FIG. 3 is a schematic flow chart illustrating a second embodiment of the method for automatically detecting a key board according to the present invention;
FIG. 4 is a schematic flow chart illustrating a third exemplary embodiment of a method for automatically detecting a key board according to the present invention;
fig. 5 is a block diagram of the automatic detection device for a key board according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a key board automatic detection device of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the key board automatic detection apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the keypad automatic detection apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a key board auto-detection program.
In the key board automatic detection apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the automatic detection device for a key board of the present invention may be disposed in the automatic detection device for a key board, and the automatic detection device for a key board calls the automatic detection program for a key board stored in the memory 1005 through the processor 1001, and executes the automatic detection method for a key board provided by the embodiment of the present invention.
An embodiment of the present invention provides an automatic detection method for a key board, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the automatic detection method for a key board according to the present invention.
In this embodiment, the method for automatically detecting a key board includes the following steps:
step S10: and when the key control board enters a state to be detected, judging whether an operating system shields the key trigger response of the key control board.
It should be noted that the execution main body of the present embodiment may be a computing service device with data processing, network communication and program running functions, such as an upper computer, a tablet computer, a personal computer, or the like, or an electronic device, an automatic detection device for a key board, and the like, which can implement the above functions, and the present embodiment and each of the following embodiments are described below by taking the automatic detection device for a key board as an example.
It can be understood that, the key board is a control device of the display device, and the user can control the display device to execute corresponding operations through the key board, and the key board may be a television key board, a computer key board, or other key boards of display devices having the same or similar functions.
It should be understood that, in the production process of the television, the television key board needs to be detected, in the detection process, whether the key function of the key board is correct, whether the key board is installed in place, and the like needs to be detected, and the state to be detected is the state of the television key board which needs to be detected.
It can be understood that whether the operating system shields the key trigger response of the key board or not can be determined by judging whether the television operating system responds to the key command triggered by the trigger key or not, if the key board key is triggered, the television operating system responds to the key command corresponding to the triggered key, it can be determined that the operating system does not shield the key trigger response of the key board, and if the key board is triggered, the television operating system does not respond to the key command corresponding to the triggered key, it can be determined that the operating system shields the key trigger response of the key board.
It should be understood that the key triggering response of the key control board can be shielded by the operating system by intercepting the key command at the key command transmitting part of the triggered key when the key control board is triggered, and preventing the key command from being transmitted to the operating system of the television, so as to shield the key triggering response of the key control board.
Step S20: and if the operating system shields the key triggering response, acquiring a key value of a triggered key recorded by the operating system.
It should be understood that, the key value of the triggered key is a key instruction generated when the key is triggered, the operating system records the key value of the triggered key by first judging whether the key value is of the key board, if the key value is of the key board, then continuously judging whether the key value has been recorded, if the key value has not been recorded, then recording the key value.
It is understood that the recorded key values may be stored in a local memory, a part of the storage area may be pre-partitioned in the local memory, and the key values of the recorded triggered keys are specially stored in the local memory, and the key board automatic detection device may obtain the key values of the triggered keys from the local memory.
Step S30: and comparing the key value of the triggered key with the configuration key value of the key control board.
It can be understood that the configuration key value is a key value which is set by the key board and needs to be sent when the key is touched, and the key value of the triggered key is a key value which is actually sent when the key is triggered in the detection process of the key board.
Step S40: and judging whether the keying board meets a preset detection standard or not according to the comparison result.
It should be understood that the preset detection standard is a preset standard for qualified detection of the key board, the preset detection standard can be set to be that a key value of a triggered key of the key board is consistent with a configuration key value of the key board, in the detection process of the key board, the key value of the triggered key of the key board is compared with the configuration key value of the key board, and when the triggered key value is consistent with the configuration key value, it can be determined that the key board meets the preset detection standard.
Further, in order to record the key value of the triggered key in time, if the operating system has shielded the key trigger response, the obtaining the key value of the triggered key recorded by the operating system includes: if the operating system shields the key triggering response, sending a recording instruction to the operating system so that the operating system records the key value of the triggered key according to the recording instruction; and acquiring the key value of the triggered key recorded by the operating system.
It can be understood that there may be a situation that the key of the key board is triggered but the key value of the triggered key is not recorded by the operating system in the detection process, and in order to improve the detection efficiency and ensure the detection accuracy and ensure no missing, the automatic detection device of the key board sends a recording instruction to the operating system, so that the operating system records the key value of the triggered key in time according to the recording instruction.
Further, in order to improve the efficiency of the key board detection, the step S30 includes: determining a trigger key function corresponding to the triggered key according to the key value of the triggered key; determining a configuration key function corresponding to the triggered key according to the configuration key value of the triggered key; comparing the trigger key function with the configuration key function.
It should be understood that the triggering key function is a function that is implemented by the television operating system and is controlled by a key value generated when a key of the key board is triggered, for example, if the key value of the triggered key controls the television operating system to increase the volume, the triggering key function corresponding to the triggered key is to increase the volume.
It can be understood that the key function is configured as a function that a key of the key board is preset and needs to control the television operating system to implement when the key is triggered, for example, a certain key of the television key board is set to implement a volume increasing function when the key is triggered, the television operating system implements the volume increasing function when the key is triggered, the key meets a preset detection standard, otherwise, the key does not meet the preset detection standard.
It can be understood that, comparing the triggering key function with the configuration key function, when the tv key board is detected, comparing the function that the operating system of the tv is controlled to realize when the key is triggered with the preset function that the operating system is controlled to realize when the key is triggered, for example, the configuration key function of one key of the tv key board is off, when the detection is performed, the key is triggered, determining the function corresponding to the key according to the key value when the key is triggered, comparing the function with the off function, and determining whether the two functions are consistent.
Further, in order to improve the detection efficiency of the key control board, the determining whether the key control board meets a preset detection standard according to the comparison result includes: and when the trigger key function is consistent with the configuration key function, judging that the key control board meets a preset detection standard.
It should be understood that, when a key of the tv set key board is triggered, and the function of the trigger key is consistent with the function of the configuration key of the triggered key, the tv set key board is determined to meet the preset detection standard, and the tv set key board passes the detection.
In the embodiment, when the key control board enters the state to be detected, whether an operating system shields the key trigger response of the key control board is judged; if the operating system shields the key triggering response, key values of triggered keys recorded by the operating system are obtained; comparing the key value of the triggered key with the configuration key value of the key control board; and judging whether the keying board meets a preset detection standard or not according to the comparison result. According to the embodiment, when the key control board enters the to-be-detected mode, the key value of the triggered key recorded by the operating system is obtained in the state that the operating system shields the key trigger response, and the key value of the triggered key is compared with the configuration key value, so that whether the key control board meets the preset detection standard or not is judged according to the comparison result, the technical problem that time is consumed during detection of the key control board in the prior art is solved, and the detection efficiency of the key control board is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of a second embodiment of the method for automatically detecting a key board according to the present invention.
Based on the first embodiment described above, in the present embodiment, after the step S40, the method further includes:
step S401: and when the detection of the key board is finished, sending a release instruction to the operating system so that the operating system releases the key trigger response according to the release instruction.
It can be understood that the release instruction is an instruction for controlling the operating system to release the key trigger response of the television key board, the key board automatic detection device may transmit the release instruction to the television operating system through a set port on the television, and the set port may be a television serial port, a USB port, or the like, which is not limited in this embodiment.
It should be understood that most televisions now are provided with a wireless network connection module, and when the television key board detects, the key board automatic detection device can also send a release instruction to the television operating system through the wireless network.
In the specific implementation, when the detection of the television key board is completed, the key board automatic detection device sends a release instruction to the television operating system through a set port on the television, or through a wireless network or through other transmission modes, and when the television operating system receives the release instruction, the television operating system releases the key trigger response of the television key board according to the release instruction.
Step S402: and when the operating system releases the key triggering response, sending a detection result of the key control board to the operating system.
It should be understood that the detection result of the key board includes that the detection of the key board of the television set passes and the detection of the key board of the television set does not pass, if the detection of the key board of the television set passes, a prompt message for passing the detection can be sent, the prompt message for passing the detection can be a text prompt message, a voice prompt message, a video prompt message or other prompt messages, the prompt message for passing the detection can include one or more of the prompt messages, and it can be set that the detection result of the key board is displayed by sending the text prompt message initially, and when the television set is not operated within a preset time, the voice prompt message is added to attract attention, the prompt message can also include the detection items of the key board of the television set, the time taken to complete the detection of the key board of the television set, and the embodiment is not limited thereto.
It can be understood that if the television key board does not pass the detection, the device can send out the prompt message that the detection does not pass, the prompt message that the detection does not pass can be a text prompt message, a voice prompt message, a video prompt message or other prompt messages, the prompt message that the detection does not pass can include one or more of the prompt messages, and the device can also include which specific key of the television key board fails the detection and what the trigger key function and the configuration key function of the detection failed key are respectively, so as to facilitate the subsequent analysis of the error data and find the cause of the error.
In this embodiment, when the detection of the key board is completed, a release instruction is sent to the operating system, so that the operating system releases the key trigger response according to the release instruction; and when the operating system releases the key triggering response, sending a detection result of the key control board to the operating system. Because this embodiment is through when the key control board detects the completion, send the key trigger response that removes the instruction to operating system and remove the key control board to when the key trigger instruction is removed, send the testing result of key control board to TV set operating system, thereby in time demonstrate the testing result of key control board, can in time discover to detect the key control board that does not pass through, avoided bad product to flow into market, when promoting key control board detection efficiency, improved the outgoing quality of product.
Referring to fig. 4, fig. 4 is a schematic flow chart of a third embodiment of the method for automatically detecting a key board according to the present invention.
Based on the foregoing embodiments, in this embodiment, before the step S10, the method further includes:
step S01: the method comprises the steps of obtaining a control signal sent by a control device to an operating system, and judging whether the control signal is triggered by a preset key in the control device.
It should be understood that the operating system is an operating system of a device to be detected, in this embodiment, the device to be detected takes a television as an example, the operating system is a television operating system, the control device is a device capable of sending a control instruction to control the television to perform a related operation, the control device may be a remote controller, a smart phone, a smart router, or other devices with the same or similar functions, this embodiment is not limited to this, for example, the control device is a remote controller, an instruction sent by a specific key or a specific combination key on the remote controller may be defined as a shielding instruction, and the shielding key triggers a response when the operating system receives the shielding instruction.
It can be understood that, after the key board automatic detection device obtains the control signal sent by the control device to the television operating system, the control signal is analyzed, and whether the control signal is triggered by the preset key in the control device is judged according to the analysis result, the specific analysis process may be that a mapping relation table is constructed according to the key and the key combination of the control device and the corresponding control signal, and the mapping relation table is stored in a storage medium of the key board automatic detection device, when the key board automatic detection device obtains the control signal sent by the control device to the television operating system, the key or the key combination corresponding to the control signal is searched in the mapping relation table, and whether the control signal is triggered by the preset key is judged according to the searched key or key combination.
Step S02: and when the control signal is triggered by a preset key in the control equipment, judging that the key control board enters a state to be detected.
It should be understood that, when the key or the key combination found by the mapping relationship table is consistent with the preset key, it may be determined that the control signal is triggered by the preset key of the remote controller, and the operating system may shield the key triggering response according to the control signal, and determine that the tv set key board enters the state to be detected.
Further, in order to improve the accuracy of determining whether the key board enters the state to be detected, before the step of determining whether the operating system shields the key trigger response of the key board when the key board enters the state to be detected, the method further includes: acquiring a control command sent to an operating system through a preset interface, and judging whether the control command is a key control board detection command; and when the control command is a key control board detection command, judging that the key control board enters a state to be detected.
It should be understood that, the control command may be sent to the tv through a set port on the tv, where the set port may be a serial port of the tv, a USB interface, or another port, and if the set port is a serial port of the tv, a specific serial port control command may be set as a keypad detection command, for example, the serial port control command "5 a050F 016F" is set as a keypad detection command, and after the keypad automatic detection device obtains the control command sent through the serial port of the tv, if the control command is consistent with the above serial port control command, the serial port control command is the keypad detection command, and it is determined that the keypad enters the state to be detected.
In the embodiment, a control signal sent to an operating system by a control device is acquired, and whether the control signal is triggered by a preset key in the control device is judged; when the control signal is triggered by a preset key in the control equipment, the key control board is judged to enter the state to be detected, whether the key control board enters the state to be detected or not can be judged in time, and the detection efficiency of the key control board is improved.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores an automatic detection program for a key board, and the automatic detection program for a key board, when executed by a processor, implements the steps of the automatic detection method for a key board as described above.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of an automatic detecting apparatus for a key board according to the present invention.
As shown in fig. 5, the automatic detection device for a key board according to an embodiment of the present invention includes: the device comprises a first judging module 10, an obtaining module 20, a comparing module 30 and a second judging module 40.
The first judging module 10 is configured to judge whether an operating system shields a key trigger response of the key board when the key board enters a to-be-detected state;
the obtaining module 20 is configured to obtain a key value of a triggered key recorded by an operating system if the operating system has shielded the key trigger response;
the comparison module 30 is configured to compare the key value of the triggered key with the configuration key value of the key board;
and the second judging module 40 is configured to judge whether the key control board meets a preset detection standard according to the comparison result.
In this embodiment, when the key board enters the state to be detected, the first determining module 10 determines whether the operating system shields the key trigger response of the key board; if the operating system has shielded the key trigger response, the obtaining module 20 obtains a key value of a triggered key recorded by the operating system; the comparison module 30 compares the key value of the triggered key with the configuration key value of the key board; the second judging module 40 judges whether the key control board meets a preset detection standard according to the comparison result. According to the embodiment, when the key control board enters the to-be-detected mode, the key value of the triggered key recorded by the operating system is obtained in the state that the operating system shields the key trigger response, and the key value of the triggered key is compared with the configuration key value, so that whether the key control board meets the preset detection standard or not is judged according to the comparison result, the technical problem that time is consumed during detection of the key control board in the prior art is solved, and the detection efficiency of the key control board is improved.
Based on the first embodiment of the automatic detection device for a key board of the present invention, a second embodiment of the automatic detection device for a key board of the present invention is provided.
In this embodiment, the second determining module 40 is further configured to send a release instruction to the operating system when the detection of the key board is completed, so that the operating system releases the key trigger response according to the release instruction; and when the operating system releases the key triggering response, sending a detection result of the key control board to the operating system.
The obtaining module 20 is further configured to send a record instruction to the operating system if the operating system has shielded the key trigger response, so that the operating system records the key value of the triggered key according to the record instruction; and acquiring the key value of the triggered key recorded by the operating system.
The first judging module 10 is further configured to acquire a control signal sent by the control device to the operating system, and judge whether the control signal is triggered by a preset key in the control device; and when the control signal is triggered by a preset key in the control equipment, judging that the key control board enters a state to be detected.
The first judging module 10 is further configured to acquire a control command sent to an operating system through a preset interface, and judge whether the control command is a key control board detection command; and when the control command is a key control board detection command, judging that the key control board enters a state to be detected.
The comparing module 30 is further configured to determine a trigger key function corresponding to the triggered key according to the key value of the triggered key; determining a configuration key function corresponding to the triggered key according to the configuration key value of the triggered key; comparing the trigger key function with the configuration key function.
The comparison module 30 is further configured to determine that the key board meets a preset detection standard when the trigger key function is consistent with the configuration key function.
Other embodiments or specific implementation manners of the automatic detection device for a key board of the present invention can refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An automatic detection method for a key board is characterized by comprising the following steps:
when the key control board enters a state to be detected, judging whether an operating system shields a key trigger response of the key control board;
if the operating system shields the key triggering response, key values of triggered keys recorded by the operating system are obtained;
comparing the key value of the triggered key with the configuration key value of the key control board;
and judging whether the keying board meets a preset detection standard or not according to the comparison result.
2. The method of claim 1, wherein after the step of determining whether the key board meets a preset detection criterion according to the comparison result, the method further comprises:
when the detection of the key control board is finished, a release instruction is sent to the operating system, so that the operating system releases key trigger response according to the release instruction;
and when the operating system releases the key triggering response, sending a detection result of the key control board to the operating system.
3. The method of claim 1, wherein obtaining the key value of the triggered key recorded by the operating system if the operating system has masked the key trigger response comprises:
if the operating system shields the key triggering response, sending a recording instruction to the operating system so that the operating system records the key value of the triggered key according to the recording instruction;
and acquiring the key value of the triggered key recorded by the operating system.
4. The method of claim 1, wherein before the step of determining whether the operating system masks the key trigger response of the key pad when the key pad enters the state to be detected, the method further comprises:
acquiring a control signal sent by control equipment to an operating system, and judging whether the control signal is triggered by a preset key in the control equipment;
and when the control signal is triggered by a preset key in the control equipment, judging that the key control board enters a state to be detected.
5. The method of claim 1, wherein prior to the step of masking key actuation responses of the key pad when the key pad enters the state to be detected, the method further comprises:
acquiring a control command sent to an operating system through a preset interface, and judging whether the control command is a key control board detection command;
and when the control command is a key control board detection command, judging that the key control board enters a state to be detected.
6. The method of any of claims 1 to 5, wherein the comparing the key value of the triggered key with the configuration key value of the key pad comprises:
determining a trigger key function corresponding to the triggered key according to the key value of the triggered key;
determining a configuration key function corresponding to the triggered key according to the configuration key value of the triggered key;
comparing the trigger key function with the configuration key function.
7. The method of claim 6, wherein the determining whether the key board meets a predetermined detection criterion according to the comparison result comprises:
and when the trigger key function is consistent with the configuration key function, judging that the key control board meets a preset detection standard.
8. An automatic detection device for a key board, the device comprising:
the first judgment module is used for judging whether an operating system shields the key trigger response of the key control board when the key control board enters a state to be detected;
the obtaining module is used for obtaining the key value of the triggered key recorded by the operating system if the operating system shields the key triggering response;
the comparison module is used for comparing the key value of the triggered key with the configuration key value of the key control board;
and the second judgment module is used for judging whether the key control board meets the preset detection standard or not according to the comparison result.
9. An automatic detection device for a key board, the device comprising: memory, processor and a key board automatic detection program stored on the memory and executable on the processor, the key board automatic detection program being configured to implement the steps of the key board automatic detection method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a key board automatic detection program, which when executed by a processor implements the steps of the key board automatic detection method according to any one of claims 1 to 7.
CN202110782077.9A 2021-07-09 2021-07-09 Automatic detection method, device, equipment and storage medium for key board Active CN113533953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110782077.9A CN113533953B (en) 2021-07-09 2021-07-09 Automatic detection method, device, equipment and storage medium for key board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110782077.9A CN113533953B (en) 2021-07-09 2021-07-09 Automatic detection method, device, equipment and storage medium for key board

Publications (2)

Publication Number Publication Date
CN113533953A true CN113533953A (en) 2021-10-22
CN113533953B CN113533953B (en) 2024-06-11

Family

ID=78127420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110782077.9A Active CN113533953B (en) 2021-07-09 2021-07-09 Automatic detection method, device, equipment and storage medium for key board

Country Status (1)

Country Link
CN (1) CN113533953B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6108614A (en) * 1993-01-22 2000-08-22 Diablo Research Corporation System and method for serial communication between a central unit and a plurality of remote units
CN102193553A (en) * 2010-03-02 2011-09-21 珠海格力电器股份有限公司 Method, device and system for testing functions of air conditioner controller
CN105912333A (en) * 2016-04-11 2016-08-31 上海斐讯数据通信技术有限公司 Method and system for shielding virtual key of mobile terminal
CN106341731A (en) * 2015-07-14 2017-01-18 Tcl集团股份有限公司 Method and device for responding to remote-control key of intelligent television
WO2017045444A1 (en) * 2015-09-18 2017-03-23 深圳Tcl数字技术有限公司 Remote controller key allocation method and device
CN107493396A (en) * 2017-09-28 2017-12-19 努比亚技术有限公司 Button screen method, terminal and computer-readable recording medium
CN111045590A (en) * 2019-12-04 2020-04-21 广州小鹏汽车科技有限公司 Method and system for vehicle-mounted key simulation, storage medium and vehicle
CN112019903A (en) * 2020-08-27 2020-12-01 深圳创维-Rgb电子有限公司 Television remote control key response method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6108614A (en) * 1993-01-22 2000-08-22 Diablo Research Corporation System and method for serial communication between a central unit and a plurality of remote units
CN102193553A (en) * 2010-03-02 2011-09-21 珠海格力电器股份有限公司 Method, device and system for testing functions of air conditioner controller
CN106341731A (en) * 2015-07-14 2017-01-18 Tcl集团股份有限公司 Method and device for responding to remote-control key of intelligent television
WO2017045444A1 (en) * 2015-09-18 2017-03-23 深圳Tcl数字技术有限公司 Remote controller key allocation method and device
CN105912333A (en) * 2016-04-11 2016-08-31 上海斐讯数据通信技术有限公司 Method and system for shielding virtual key of mobile terminal
CN107493396A (en) * 2017-09-28 2017-12-19 努比亚技术有限公司 Button screen method, terminal and computer-readable recording medium
CN111045590A (en) * 2019-12-04 2020-04-21 广州小鹏汽车科技有限公司 Method and system for vehicle-mounted key simulation, storage medium and vehicle
CN112019903A (en) * 2020-08-27 2020-12-01 深圳创维-Rgb电子有限公司 Television remote control key response method and device

Also Published As

Publication number Publication date
CN113533953B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
CN107395889B (en) Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal
CN109388532B (en) Test method, test device, electronic equipment and computer readable storage medium
US20130347101A1 (en) Terminal Authentication Method and Device
CN110363888B (en) Door lock management method and device, electronic equipment and readable storage medium
CN106855784A (en) Prevent method, device and the terminal of touch key-press false triggering
WO2020093708A1 (en) Fingerprint capturing method, fingerprint capturing apparatus, electronic device, and storage medium
CN110674490B (en) Application permission display method and device and mobile terminal
CN108551521B (en) Login information prompting method and mobile terminal
EP3702913A1 (en) Input operation processing method and processing device, and computer-readable storage medium
CN107450839A (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
CN107422976A (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
CN106708408A (en) Method and device for preventing spurious triggering of touch keys and terminal
CN104318185A (en) Application control method, application control equipment and mobile terminal
CN105867969A (en) APP starting method and terminal
CN113938733B (en) Shortcut key control method and device for remote control equipment, storage medium and device
CN113596593A (en) Multi-terminal interaction method, television and computer readable storage medium
CN104699535B (en) A kind of information processing method and electronic equipment
CN113867585A (en) Interface display method and device, electronic equipment and storage medium
CN110891265B (en) Wireless connection control method and device, mobile terminal and storage medium
CN113533953A (en) Key control board automatic detection method, device, equipment and storage medium
CN106686100A (en) Storage method and apparatus of registry information, and terminal
CN115361180A (en) Voice processing method, electronic equipment, device and medium based on physical key
CN110659082A (en) Application program interface display method and device, terminal and storage medium
CN107968799B (en) Information acquisition method, terminal equipment and system
CN105425936A (en) Method, apparatus, and terminal for adapting terminal to external device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant