CN109597740B - Display method and device of debugging code and computer equipment - Google Patents

Display method and device of debugging code and computer equipment Download PDF

Info

Publication number
CN109597740B
CN109597740B CN201710922824.8A CN201710922824A CN109597740B CN 109597740 B CN109597740 B CN 109597740B CN 201710922824 A CN201710922824 A CN 201710922824A CN 109597740 B CN109597740 B CN 109597740B
Authority
CN
China
Prior art keywords
computer
debugging
characters
keyboard
backlight
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.)
Active
Application number
CN201710922824.8A
Other languages
Chinese (zh)
Other versions
CN109597740A (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201710922824.8A priority Critical patent/CN109597740B/en
Publication of CN109597740A publication Critical patent/CN109597740A/en
Application granted granted Critical
Publication of CN109597740B publication Critical patent/CN109597740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device
    • G06F3/0219Special purpose keyboards

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a display method and a display device for debugging codes and computer equipment, wherein the display method for the debugging codes comprises the following steps: after the computer is started, receiving debugging codes transmitted by a basic input and output system; and lightening the backlight of corresponding numbers and/or letters in the keyboard of the computer according to the sequence and combination of the characters in the debugging codes. The application can realize that the debugging codes are displayed by directly utilizing the basic hardware configuration of the computer, so that a user can visually see the debugging codes without waiting for the computer screen to be lightened, and the identification degree of the remote problem analysis of the computer is greatly improved.

Description

Display method and device of debugging code and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a debugging code, and a computer device.
Background
At present, various brands of notebook computers sold in the market have a Basic Input Output System (BIOS) display function with a Basic debugging code when the notebook computers leave a factory. In the prior art, the debugging code mainly has the following display modes:
1. debugging codes are generally displayed on the lower right corner of a screen through a display screen of the notebook computer;
2. connecting a debugging (debug) tool with a Universal Serial Bus (USB) interface to a USB interface of a notebook computer before the computer is started, wherein corresponding debugging codes can be seen on the debugging tool in the starting process;
3. the debugging codes are displayed through a special debugging card (debug card), the notebook computer needs to be disassembled, a corresponding interface is found, and after the debugging card tool is connected, the debugging codes are displayed through a nixie tube on the debugging card in the starting process.
The first method is relatively simple, but the debugging codes cannot be seen by a user before the computer display screen is lightened, so that a long unreadable time exists, and the debugging codes can be displayed only after the notebook computer can be normally started and the display card and the display screen are initialized. If the computer is in a problem before the display initialization, the user cannot see the debugging code, and the computer fault cannot be judged.
In the second mode, a special notebook USB debugging tool needs to be purchased, the USB debugging tool is inserted into a USB interface of a notebook computer before starting, a notebook power supply is turned on, and at the moment, debugging code display of two 16-system digits can be seen on the USB debugging tool. Although intuitive, this approach is relatively costly and such USB debug tools are difficult to purchase. Not only are laptop users generally given few opportunities to purchase them, but it is also not necessary for the average user to stock one such tool.
The third mode is generally suitable for the research and development and maintenance and debugging personnel of the notebook computer. The notebook computer motherboard needs to be detached from the computer, and the debugging card is connected to the notebook computer motherboard through a special connector. After the connection is completed, the starting-up can read the corresponding debugging code from the debugging card in the debugging state. However, the requirement on equipment and special skills is higher, common users cannot disassemble the notebook mainboard by themselves basically, debugging card connection modes of the users are different, and the common users are not provided with the professional technical abilities and equipment.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present application is to provide a method for displaying debugging codes, so as to directly display the debugging codes by using basic hardware configuration of a computer, so that a user can visually see the debugging codes without waiting for a computer screen to be lit, thereby greatly improving the recognition degree of remote problem analysis of the computer.
A second object of the present application is to provide a display device for debugging codes.
A third object of the present application is to propose a computer device.
A fourth object of the present application is to propose a non-transitory computer-readable storage medium.
In order to achieve the above object, an embodiment of a first aspect of the present application provides a display method of debugging code, including: after the computer is started, receiving debugging codes transmitted by a basic input and output system; and lightening the backlight of corresponding numbers and/or letters in the keyboard of the computer according to the sequence and combination of the characters in the debugging codes.
According to the display method of the debugging codes, after the computer is started, the debugging codes transmitted by the BIOS are received, and the backlight of the corresponding numbers and/or letters in the keyboard of the computer is lightened according to the sequence and the combination of the characters in the debugging codes, so that the debugging codes can be displayed by directly utilizing the basic hardware configuration of the computer, a user can visually see the debugging codes without waiting for the lightening of a computer screen, and the recognition degree of remote problem analysis of the computer is greatly improved.
To achieve the above object, an embodiment of a second aspect of the present application provides a display device for debugging code, including: the receiving module is used for receiving debugging codes transmitted by the basic input and output system after the computer is started; and the lighting module is used for lighting the backlight of corresponding numbers and/or letters in the keyboard of the computer according to the sequence and combination of the characters in the debugging codes received by the receiving module.
In the display device of the debugging code of the embodiment of the application, after the computer is started, the receiving module receives the debugging code transmitted by the BIOS, the lighting module lights the backlight of the corresponding number and/or letter in the keyboard of the computer according to the sequence and the combination of the characters in the debugging code, so that the debugging code can be displayed by directly utilizing the basic hardware configuration of the computer, a user can visually see the debugging code without waiting for the lighting of a computer screen, and the identification degree of the remote problem analysis of the computer is greatly improved.
In order to achieve the above object, an embodiment of a third aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method as described above when executing the computer program.
In order to achieve the above object, a fourth aspect of the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the method as described above.
Additional aspects and advantages of the present application 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 present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flowchart of an embodiment of a method for displaying debugging code of the present application;
FIG. 2 is a schematic diagram illustrating an embodiment of displaying debugging codes by a keyboard in the method for displaying debugging codes of the present application;
FIG. 3 is a flowchart of another embodiment of a method for displaying debugging code according to the present application;
FIG. 4 is a diagram illustrating an embodiment of a debugging code "12" displayed in the debugging code display method of the present application;
FIG. 5 is a diagram illustrating an embodiment of displaying a debugging code "21" in the debugging code display method of the present application;
FIG. 6 is a flowchart of yet another embodiment of a method for displaying debugging code according to the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a display device for debugging codes according to the present application;
FIG. 8 is a schematic structural diagram of an embodiment of a computer apparatus according to the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
Fig. 1 is a flowchart of an embodiment of a method for displaying debugging codes according to the present application, and as shown in fig. 1, the method for displaying debugging codes may include:
step 101, after the computer is powered on, a debugging code transmitted by the BIOS is received.
102, according to the sequence and combination of the characters in the debugging codes, lighting the backlight of the corresponding numbers and/or letters in the keyboard of the computer.
Taking a computer as a notebook computer as an example for description, referring to fig. 2, fig. 2 is a schematic diagram of an embodiment of displaying debugging codes by using a keyboard in the method for displaying debugging codes of the present application, and the embodiment can directly display the debugging codes after the notebook computer is turned on the keyboard of the notebook computer.
In this embodiment, the keyboard of the notebook computer has a backlight and the backlight of the keyboard can be controlled by an Embedded Controller (EC). After the notebook computer is started, the EC receives the debugging codes transmitted by the BIOS, and then lights the backlight of corresponding numbers and/or letters in the keyboard of the notebook computer according to the sequence and combination of characters in the debugging codes, thereby realizing the direct display of the debugging codes by using the basic hardware configuration of the computer, enabling a user to visually see the debugging codes without waiting for the lighting of a computer screen, and greatly improving the identification degree of remote problem analysis of the computer.
Fig. 3 is a flowchart of another embodiment of a display method of debugging codes in the present application, as shown in fig. 3, in the embodiment shown in fig. 1 in the present application, step 102 may include:
step 301, when the debugging code includes at least two characters, sequentially lighting a backlight of a number and/or a letter corresponding to each of the at least two characters in a keyboard of the computer according to a sequence from front to back of the at least two characters.
Further, after step 301, the method may further include:
step 302, simultaneously illuminating the backlight of the numbers and/or letters corresponding to all the characters in the at least two characters in the keyboard of the computer.
In particular, since the arrangement of numbers and letters in the keyboard of the notebook computer is not sequential, this is different from the normal debugging code. A rule needs to be formulated to make the reading of the debugging code easier and easier to understand. The debugging code composed of two 16-digit numbers is displayed on a keyboard of a notebook computer, so that the problem of the sequence of characters in the debugging code needs to be noticed, for example, under the condition that the numbers 12 and 21 are in disordered arrangement in the keyboard of the notebook computer, if the numbers are displayed at the same time, the situation that the numbers cannot be identified occurs.
Therefore, in this embodiment, when the debugging code includes at least two characters, the backlight of the numbers and/or letters corresponding to each of the at least two characters in the keyboard of the computer is sequentially turned on according to the sequence from front to back of the at least two characters, and the backlight of the numbers and/or letters corresponding to all the at least two characters in the keyboard of the computer is simultaneously turned on.
For example, as shown in fig. 4, fig. 4 is a schematic diagram of an embodiment of displaying a debugging code "12" in the debugging code display method of the present application, and for the debugging code "12", first "1" is displayed, then "2" is displayed, and then "1" and "2" are simultaneously lighted.
Referring to fig. 5 again, fig. 5 is a schematic diagram of an embodiment of displaying the debugging code "21" in the debugging code display method of the present application, and for the debugging code "21", first "2" is displayed, then "1" is displayed, and then "2" and "1" are simultaneously lighted. This makes it possible to easily distinguish between two numbers, and the debugging code with letters is also displayed according to this rule. Therefore, the debugging code can be displayed on the keyboard of the notebook computer by the display method of the debugging code provided by the embodiment of the application on the keyboard of the notebook computer with the EC control backlight.
Fig. 6 is a flowchart of a display method of debugging codes according to still another embodiment of the present application, as shown in fig. 6, in the embodiment shown in fig. 1 of the present application, after step 102, the method may further include:
step 601, when the computer is in failure and the starting process of the computer is stopped, if the label of the debugging code to be executed continuously is not read, the backlight of the corresponding number and/or letter in the keyboard of the computer is repeatedly lightened according to the sequence and the combination of the characters in the debugging code obtained currently.
In this embodiment, the BIOS needs to set a corresponding watchdog (watchdog) in cooperation with the EC, and when the notebook computer fails and the boot process of the notebook computer is stopped, if the EC does not read the flag (flag) for continuing execution of the debugging code, the currently obtained debugging code is repeatedly displayed On the keyboard of the notebook computer in sequence, so that the corresponding debugging code of a Power On Self-test (hereinafter referred to as POST) for booting the notebook computer can be completely displayed On the keyboard.
According to the display method of the debugging codes, provided by the embodiment of the application, the debugging codes are displayed on the keyboard of the computer by changing BIOS (basic input output System) and EC (embedded logic) software by directly utilizing basic hardware configuration of the notebook without additionally purchasing any accessories and debugging tools and adding any hardware and equipment investment for a user; the terminal user does not need to know the structure of the notebook computer and disassemble the shell of the notebook computer to search and analyze problems, the debugging codes can be visually seen, and the identification degree of the remote problem analysis of the notebook computer is greatly improved.
In addition, the display method of the debugging codes provided by the embodiment of the application has no unknown waiting time, and solves the problem that the common user can see the corresponding debugging codes only by waiting for the computer screen to be lightened at present.
Fig. 7 is a schematic structural diagram of an embodiment of a display device for debugging codes according to the present application, where the display device for debugging codes in the present embodiment may be used as an EC, or a part of the EC may implement the display method for debugging codes according to the present application.
As shown in fig. 7, the display device of the debugging code includes: a receiving module 71 and a lighting module 72;
the receiving module 71 is configured to receive the debugging code transmitted by the BIOS after the computer is powered on;
a lighting module 72, configured to light the backlight of the corresponding numbers and/or letters in the keyboard of the computer according to the sequence and combination of the characters in the debugging code received by the receiving module 71.
Taking a computer as a notebook computer as an example for description, referring to fig. 2, fig. 2 is a schematic diagram of an embodiment of displaying debugging codes by using a keyboard in the method for displaying debugging codes of the present application, and the embodiment can directly display the debugging codes after the notebook computer is turned on the keyboard of the notebook computer.
In this embodiment, the keyboard of the notebook computer has a backlight and the backlight of the keyboard can be controlled by the EC alone. After the notebook computer is started, the receiving module 71 receives the debugging code transmitted by the BIOS, and then the lighting module 72 lights the backlight of the corresponding number and/or letter in the keyboard of the notebook computer according to the sequence and combination of the characters in the debugging code, so that the debugging code can be displayed by directly using the basic hardware configuration of the computer, a user can visually see the debugging code without waiting for the computer screen to be lighted, and the recognition degree of remote problem analysis of the computer is greatly improved.
In this embodiment, the lighting module 72 is specifically configured to, when the debugging code includes at least two characters, sequentially light a backlight of numbers and/or letters corresponding to each of the at least two characters in the keyboard of the computer according to a sequence from front to back of the at least two characters.
The lighting module 72 is further configured to light a backlight of the number and/or the letter corresponding to each of the at least two characters in the keyboard of the computer, and then light a backlight of the number and/or the letter corresponding to all of the at least two characters in the keyboard of the computer.
In particular, since the arrangement of numbers and letters in the keyboard of the notebook computer is not sequential, this is different from the normal debugging code. A rule needs to be formulated to make the reading of the debugging code easier and easier to understand. The debugging code composed of two 16-digit numbers is displayed on a keyboard of a notebook computer, so that the problem of the sequence of characters in the debugging code needs to be noticed, for example, under the condition that the numbers 12 and 21 are in disordered arrangement in the keyboard of the notebook computer, if the numbers are displayed at the same time, the situation that the numbers cannot be identified occurs.
Therefore, in this embodiment, when the debugging code includes at least two characters, the lighting module 72 first sequentially lights the backlight of the numbers and/or letters corresponding to each of the at least two characters in the keyboard of the computer according to the sequence from the front to the back of the at least two characters, and then simultaneously lights the backlight of the numbers and/or letters corresponding to all the at least two characters in the keyboard of the computer.
For example, as shown in fig. 4, for debugging code "12", lighting module 72 will first display "1" and then "2", and then light "1" and "2" simultaneously.
Referring again to FIG. 5, for debug code "21", lighting module 72 will first display "2" and then "1", and then light "2" and "1" simultaneously. This makes it possible to easily distinguish between two numbers, and the debugging code with letters is also displayed according to this rule. Therefore, the debugging code can be displayed on the keyboard of the notebook computer by the display device of the debugging code provided by the embodiment of the application on the keyboard of the notebook computer with the EC control backlight.
In this embodiment, the lighting module 72 is further configured to, when the computer fails to stop the startup process of the computer, if the label that the debugging code continues to execute is not read, repeatedly light the backlight of the corresponding number and/or letter in the keyboard of the computer by the debugging code currently obtained by the receiving module 71 according to the sequence and combination of the characters in the currently obtained debugging code.
In this embodiment, the BIOS needs to set a corresponding watchdog (watchdog) in cooperation with the EC, and when the notebook computer fails and the boot process of the notebook computer is stopped, if the EC does not read the tag for continuing execution of the debugging code, the lighting module 72 repeatedly displays the currently obtained debugging code on the keyboard of the notebook computer in sequence, so that the corresponding debugging code of the POST when the notebook computer is booted can be completely displayed on the keyboard.
The display device for the debugging codes provided by the embodiment of the application does not need to additionally purchase any accessories and debugging tools, does not need to increase any hardware and equipment investment for users, directly utilizes basic hardware configuration of the notebook computer, and realizes the display of the debugging codes on a keyboard of the computer by changing BIOS and EC software; the terminal user does not need to know the structure of the notebook computer and disassemble the shell of the notebook computer to search and analyze problems, the debugging codes can be visually seen, and the identification degree of the remote problem analysis of the notebook computer is greatly improved.
In addition, the display device for debugging codes provided by the embodiment of the application has no unknown waiting time, and solves the problem that a common user can see the corresponding debugging codes only by waiting for the computer screen to be lightened at present.
Fig. 8 is a schematic structural diagram of an embodiment of a computer device according to the present application, where the computer device may include a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the display method of the debugging code according to the embodiment of the present application is implemented.
The computer device may be a notebook computer, and the form of the computer device is not limited in this embodiment.
FIG. 8 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present application. The computer device 12 shown in fig. 8 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present application.
As shown in FIG. 8, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, and commonly referred to as a "hard drive"). Although not shown in FIG. 8, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via Network adapter 20. As shown in FIG. 8, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be appreciated that although not shown in FIG. 8, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, implementing a display method of debugging code provided in the embodiments of the present application.
The present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the display method of the debugging code provided in the embodiments of the present application.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection portion (electronic device) having one or more wires, a portable computer cartridge (magnetic device), a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or a flash Memory, an optical fiber device, and a portable Compact Disc Read Only Memory (CD-ROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic Gate circuit for implementing a logic function on a data signal, an asic having an appropriate combinational logic Gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), and the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (8)

1. A display method of debugging codes is characterized by comprising the following steps:
after the computer is started, receiving debugging codes transmitted by a basic input and output system;
according to the sequence and combination of the characters in the debugging codes, the backlight of the corresponding numbers and/or letters in the keyboard of the computer is lightened; the lighting of the backlight of the corresponding numbers and/or letters in the keyboard of the computer according to the sequence and the combination of the characters in the debugging codes comprises the following steps: when the debugging code comprises at least two characters, sequentially lightening the backlight of the numbers and/or letters corresponding to each character in the at least two characters in the keyboard of the computer according to the sequence of the at least two characters from front to back.
2. The method of claim 1, wherein after sequentially illuminating a backlight of numbers and/or letters in a keyboard of the computer corresponding to each of the at least two characters, further comprising:
and simultaneously lighting the backlight of the numbers and/or letters corresponding to all the characters in the at least two characters in the keyboard of the computer.
3. The method according to any one of claims 1-2, wherein after the backlight of corresponding numbers and/or letters in the keyboard of the computer is lighted up according to the sequence and combination of characters in the debugging code, the method further comprises:
when the computer is in failure and the starting process of the computer is stopped, if the label of the debugging code for continuous execution is not read, the backlight of the corresponding number and/or letter in the keyboard of the computer is repeatedly lightened according to the sequence and the combination of the characters in the currently obtained debugging code.
4. A display device for debugging code, comprising:
the receiving module is used for receiving debugging codes transmitted by the basic input and output system after the computer is started;
the lighting module is used for lighting the backlight of corresponding numbers and/or letters in the keyboard of the computer according to the sequence and combination of the characters in the debugging codes received by the receiving module; the lighting module is specifically configured to, when the debugging code includes at least two characters, sequentially light a backlight of a number and/or a letter corresponding to each of the at least two characters in a keyboard of the computer according to a sequence from front to back of the at least two characters.
5. The apparatus of claim 4,
the lighting module is further configured to light the backlight of the numbers and/or letters corresponding to each of the at least two characters in the keyboard of the computer in sequence, and then light the backlight of the numbers and/or letters corresponding to all the at least two characters in the keyboard of the computer at the same time.
6. The apparatus according to any one of claims 4 to 5,
the lighting module is further configured to, when the computer fails to cause a stop of a boot process of the computer, if a tag for continuing execution of the debugging code is not read, repeatedly light the backlight of the corresponding number and/or letter in the keyboard of the computer with the debugging code currently obtained by the receiving module according to the sequence and combination of the characters in the currently obtained debugging code.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method according to any one of claims 1-3 when executing the computer program.
8. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any one of claims 1-3.
CN201710922824.8A 2017-09-30 2017-09-30 Display method and device of debugging code and computer equipment Active CN109597740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710922824.8A CN109597740B (en) 2017-09-30 2017-09-30 Display method and device of debugging code and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710922824.8A CN109597740B (en) 2017-09-30 2017-09-30 Display method and device of debugging code and computer equipment

Publications (2)

Publication Number Publication Date
CN109597740A CN109597740A (en) 2019-04-09
CN109597740B true CN109597740B (en) 2021-01-19

Family

ID=65956717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710922824.8A Active CN109597740B (en) 2017-09-30 2017-09-30 Display method and device of debugging code and computer equipment

Country Status (1)

Country Link
CN (1) CN109597740B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349165A (en) * 2000-10-12 2002-05-15 刘传芳 Method of utilizing LED in keyboard to display fault cause of computer hardware
CN101079021A (en) * 2006-05-25 2007-11-28 英华达(上海)电子有限公司 Combined keyboard for electronic product, and the keyboard input method and mobile phone using same
CN104063169A (en) * 2014-04-09 2014-09-24 苏州天鸣信息科技有限公司 Unlocking method based on touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349165A (en) * 2000-10-12 2002-05-15 刘传芳 Method of utilizing LED in keyboard to display fault cause of computer hardware
CN101079021A (en) * 2006-05-25 2007-11-28 英华达(上海)电子有限公司 Combined keyboard for electronic product, and the keyboard input method and mobile phone using same
CN104063169A (en) * 2014-04-09 2014-09-24 苏州天鸣信息科技有限公司 Unlocking method based on touch screen

Also Published As

Publication number Publication date
CN109597740A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
US9680712B2 (en) Hardware management and control of computer components through physical layout diagrams
US9514846B2 (en) Memory module status indication
US20070168737A1 (en) Debugging device using an lpc interface capable of recovering functions of bios, and debugging method therefor
US20090300588A1 (en) Method and apparatus for acquiring definitions of debug code of basic input/output system
US11624788B2 (en) Display module test platform
US20210034452A1 (en) Displaying pre-boot error messages
US7685477B2 (en) System and method for auxiliary channel error messaging
US7822964B2 (en) Booting apparatus for booting a computer and method therefor and computer with a booting apparatus
US10346321B2 (en) Method to trigger NVDIMM save from remote management interface
US10210842B2 (en) Techniques of displaying host data on a monitor connected to a service processor during pre-boot initialization stage
US9489924B2 (en) Boot display device detection and selection techniques in multi-GPU devices
US20100049961A1 (en) Update method for basic input/output system and update system thereof
US8719637B2 (en) System and method for acquiring basic input/output system debug codes
US9749189B2 (en) Generating graphical diagram of physical layout of computer platforms
US10115375B2 (en) Systems and methods for enabling a systems management interface with an alternate frame buffer
CN1244864C (en) Information processing system with debug function on initializing and its method
CN109597740B (en) Display method and device of debugging code and computer equipment
US20220270538A1 (en) Display mode setting determinations
CN111752623B (en) Display configuration method, device, electronic equipment and readable storage medium
CN109117108B (en) Display configuration method and system
US9753804B1 (en) Multi-redundant digital signage
US20070239976A1 (en) Message displaying system and method
CN104898967A (en) Presenting indication of input to a touch-enabled pad on touch-enabled pad
US11301261B2 (en) System and method for displaying an image through a platform initialization process
CN113849267A (en) Virtual display method, system, terminal and storage medium for display card

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