On-line diagnosis method, device and equipment for disassembly-free state of notebook computer

By receiving diagnostic trigger commands input from the matrix keyboard, using the embedded controller to switch the processor to debug the serial port to the standard USB interface, the problem of online diagnosis of the operating status of the laptop computer processor is solved, and the convenience and accuracy of online diagnosis is achieved.

CN120448203APending Publication Date: 2025-08-08SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510543221.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the prior art, online diagnosis of the operating status of laptop processors is difficult to achieve without adding additional interfaces.

Method used

By receiving diagnostic triggering instructions input from the matrix keyboard, using an embedded controller to control the GPIO level change, switching the processor debugging serial port to the standard USB interface, switching the TTL level debugging serial port and USB2.0 signal path, and sending and data acquisition of the hardware self-test instruction set.

Benefits of technology

It realizes convenient online diagnosis of processor operating status without adding additional interfaces, improving the efficiency and accuracy of diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120448203A_ABST
    Figure CN120448203A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computer state detection, and discloses a disassembly-free state online diagnosis method, device and equipment of a notebook computer, and the method comprises the following steps: receiving a diagnosis trigger instruction input by a user based on a matrix keyboard; the embedded controller controls GPIO level change based on the diagnosis trigger instruction so as to select a TTL level debugging serial port path to a standard USB interface; and receiving the diagnosis trigger instruction input by the user again, and controlling the level change of the GPIO by the embedded controller based on the diagnosis trigger instruction received again so as to select the USB2.0 signal channel to the standard USB interface. According to the method and the device, on-line diagnosis of the running state of the processor can be conveniently realized under the condition of not adding additional interfaces in a mode of multiplexing the debugging serial port of the processor and the standard USB interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer status detection, for example, to a method, device, and equipment for online diagnosis of the status of a laptop computer without requiring disassembly. Background Art

[0002] The Feiteng processor provides a set of serial ports specifically for debugging functions. Through this serial port, the current operating status of the processor can be viewed in real time, and the diagnostic function of the processor operating status can be realized. This interface is a dedicated function interface. In order to avoid unnecessary misunderstandings, this interface is usually not exposed to the outside world, which increases the difficulty of online diagnosis of the processor operating status.

[0003] Therefore, in the existing solutions, it is not possible to easily implement online diagnosis of the processor operating status without adding additional interfaces.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application. Summary of the Invention

[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0006] The method, device, and apparatus for online diagnosis of the laptop computer's operating status without disassembly provided by the embodiments of the present disclosure can solve the problem of being unable to easily implement online diagnosis of the processor's operating status without adding additional interfaces.

[0007] The present disclosure provides a method for online diagnosis of a laptop computer status without disassembly, which may include:

[0008] Receive diagnostic trigger instructions input by the user based on the matrix keyboard;

[0009] The embedded controller controls the GPIO level change based on the diagnostic trigger instruction to realize the selection of the TTL level debugging serial port path to the standard USB interface;

[0010] The diagnostic trigger instruction input by the user is received again, and the embedded controller controls the GPIO level change based on the diagnostic trigger instruction received again, so as to select the USB2.0 signal path to the standard USB interface.

[0011] In some embodiments, the diagnosis trigger instruction is determined based on the distance between keys on the matrix keyboard and palm parameters of the human body.

[0012] In some embodiments, when the TTL level debugging serial port path is switched to the standard USB interface, the method may further include:

[0013] The serial port baud rate, data bits and parity bit parameters are configured through the embedded controller, and automatic handshake matching with external diagnostic equipment is achieved through the standard USB interface.

[0014] In some embodiments, the method may further include:

[0015] Detect the current power status of the laptop before switching the signal path;

[0016] If the device is in sleep or shutdown state, the embedded controller temporarily activates the power supply to complete the path switching.

[0017] In some embodiments, after selecting the TTL level debug serial port to be routed to the standard USB interface, the method may further include:

[0018] Send hardware self-test instruction set to the laptop through the debug serial port;

[0019] The notebook computer detects the status of the power management unit and the presence status of hot-swappable components based on the hardware self-test instruction set.

[0020] In some embodiments, the hardware self-test instruction set includes embedded controller firmware version verification, mainboard key voltage detection and tolerance range comparison, temperature sensor data reading, and fan speed feedback signal detection.

[0021] In some embodiments, the method further comprises:

[0022] The laptop simulates load based on the hardware self-test instruction set, monitors the motherboard voltage drop, and forcibly adjusts the fan speed to the maximum value to detect the response delay of the temperature control system.

[0023] In some embodiments, performing a simulated load based on a hardware self-test instruction set to monitor a motherboard voltage drop includes:

[0024] Based on the hardware self-test instruction set, it sends complex computing task instructions to the CPU, starts multi-core computing to simulate load; sends graphics rendering instructions to the graphics card with a resolution and frame rate that meet preset conditions; and performs data read and write operations on the allocated memory space;

[0025] The voltage data of the key nodes of the mainboard are collected in real time at a pre-set sampling frequency, and the data is recorded. At the same time, the data is analyzed to determine whether a voltage drop occurs, and the amplitude, duration and occurrence time of the voltage drop are recorded.

[0026] In some embodiments, the method may further include:

[0027] The embedded controller adjusts the diagnostic process and parameters according to the user's operating habits, diagnostic results and device status changes during each diagnostic process to improve the efficiency and accuracy of the diagnosis.

[0028] The embodiment of the present disclosure provides a device for online diagnosis of a laptop computer status without requiring disassembly, the device comprising:

[0029] A receiving module is used to receive a diagnosis trigger instruction input by a user based on a matrix keyboard;

[0030] An embedded controller is used to control GPIO level changes based on diagnostic trigger instructions, so as to select a TTL level debugging serial port path to a standard USB interface;

[0031] The embedded controller is further used to control the GPIO level change based on the diagnosis trigger instruction received again, so as to select the USB2.0 signal path to the standard USB interface.

[0032] An embodiment of the present disclosure provides an electronic device, the device including at least one processor;

[0033] and a memory communicatively coupled to the at least one processor;

[0034] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned online diagnosis method for the status of a laptop computer without disassembly.

[0035] The method, apparatus, and device for online diagnosis of the status of a laptop computer without disassembly provided by the embodiments of the present disclosure can achieve the following technical effects:

[0036] The present disclosure multiplexes the processor debugging serial port with the standard USB interface, and can conveniently implement online diagnosis of the processor operation status without adding additional interfaces.

[0037] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] One or more embodiments are exemplarily described by corresponding drawings. These exemplary descriptions and drawings do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation. In addition,

[0039] Figure 1 This is a flow chart of a method for online diagnosis of a laptop computer status without disassembly provided by an embodiment of the present disclosure;

[0040] Figure 2is a schematic diagram of a matrix keyboard provided by an embodiment of the present disclosure;

[0041] Figure 3 This is a block diagram of an implementation of switching between USB 2.0 signals and debug serial port signals provided by an embodiment of the present disclosure;

[0042] Figure 4 This is a schematic block diagram of the structure of a device for online diagnosis of a laptop computer status without disassembly provided by an embodiment of the present disclosure;

[0043] Figure 5 The present invention is a schematic structural diagram of a device for online diagnosis of a laptop computer's status without requiring disassembly, provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The accompanying drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0045] The terms "first," "second," and the like in the embodiments of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate to facilitate the description of the embodiments of the present disclosure herein. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions.

[0046] Unless otherwise stated, the term "plurality" means two or more.

[0047] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.

[0048] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0049] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0050] In order to solve the above problems, the present disclosure provides a method, apparatus, device and storage medium for online diagnosis of the status of a laptop computer without disassembly.

[0051] The following describes the method, device, equipment, and storage medium for online diagnosis of the status of a laptop computer without disassembly provided by the embodiments of the present disclosure in conjunction with the accompanying drawings.

[0052] Figure 1 The present invention provides a flowchart of a method for online diagnosis of a laptop computer's status without requiring disassembly, as provided in an embodiment of the present invention.

[0053] Combine Figure 1 As shown in the figure, the online diagnosis method for the status of a laptop without disassembling the laptop may include:

[0054] S101, receiving a diagnosis trigger instruction input by a user based on a matrix keyboard;

[0055] S102, the embedded controller controls the GPIO level change based on the diagnostic trigger instruction to select a TTL level debugging serial port path to a standard USB interface;

[0056] S103, receiving the diagnosis trigger instruction input by the user again, and the embedded controller controls the GPIO level change based on the diagnosis trigger instruction received again, so as to select the USB2.0 signal path to the standard USB interface.

[0057] In some embodiments, the diagnosis trigger instruction is determined based on the distance between keys on the matrix keyboard and palm parameters of the human body.

[0058] In some embodiments, when the TTL level debugging serial port path is switched to the standard USB interface, Figure 1 The method may further include:

[0059] The serial port baud rate, data bits and parity bit parameters are configured through the embedded controller, and automatic handshake matching with external diagnostic equipment is achieved through the standard USB interface.

[0060] In some embodiments, Figure 1 The method may further include:

[0061] Detect the current power status of the laptop before switching the signal path;

[0062] If the device is in sleep or shutdown state, the embedded controller temporarily activates the power supply to complete the path switching.

[0063] In some embodiments, after selecting the TTL level debug serial port to pass through the standard USB interface, Figure 1 The method may further include:

[0064] Send hardware self-test instruction set to the laptop through the debug serial port;

[0065] The notebook computer detects the status of the power management unit and the presence status of hot-swappable components based on the hardware self-test instruction set.

[0066] In some embodiments, the hardware self-test instruction set includes embedded controller firmware version verification, mainboard key voltage detection and tolerance range comparison, temperature sensor data reading, and fan speed feedback signal detection.

[0067] In some embodiments, Figure 1 The method may further include:

[0068] The laptop simulates load based on the hardware self-test instruction set, monitors the motherboard voltage drop, and forcibly adjusts the fan speed to the maximum value to detect the response delay of the temperature control system.

[0069] In some embodiments, the simulated load based on the hardware self-test instruction set and monitoring of the motherboard voltage drop may include:

[0070] Based on the hardware self-test instruction set, it sends complex computing task instructions to the CPU, starts multi-core computing to simulate load; sends graphics rendering instructions to the graphics card with a resolution and frame rate that meet preset conditions; and performs data read and write operations on the allocated memory space;

[0071] The voltage data of the key nodes of the mainboard are collected in real time at a pre-set sampling frequency, and the data is recorded. At the same time, the data is analyzed to determine whether a voltage drop occurs, and the amplitude, duration and occurrence time of the voltage drop are recorded.

[0072] In some embodiments, Figure 1 The method may further include:

[0073] The embedded controller adjusts the diagnostic process and parameters according to the user's operating habits, diagnostic results and device status changes during each diagnostic process to improve the efficiency and accuracy of the diagnosis.

[0074] In a specific example, since the processor debug serial port includes TXD, RXD, and GND signals, this design uses the processor debug serial port and the standard USB interface to multiplex. By default, the interface is in USB function, and only when the switching condition is triggered will the interface switch to debug function;

[0075] Since the notebook has a local matrix keyboard, and the matrix keyboard is controlled by an EC (embedded controller), a combination of keys is selected as the switching trigger condition, that is, the above-mentioned diagnostic trigger instruction;

[0076] The USB interface is used as the multiplexing function interface, and the default function is USB;

[0077] Use a combination of keys that have no specific meaning in actual applications and are not easy to trigger at the same time as the switching trigger condition. In a specific solution, this design can use the combination of ALT, B, and O keys as the trigger condition, such as Figure 2 As shown, the combination of the above three keys has no specific meaning in actual application, and the distance between them is relatively far, making it difficult to trigger them at the same time.

[0078] Figure 3 This is a block diagram of a USB2.0 signal and a debug serial port signal switching implementation provided by an embodiment of the present disclosure. Figure 3 As shown in the figure, in hardware implementation, in order to realize the switching between USB2.0 signal and TTL level debugging serial port, this design can use SGM77222 analog switch to implement this function, or use analog switch with similar functions. The analog switch must be able to meet the design requirements of USB2.0 signal.

[0079] In terms of logic design, after the EC is powered on, the default USB2.0 signal path is selected to the standard USB interface. After booting up, when the ALT+B+O shortcut key is pressed, it detects the diagnostic trigger command mentioned above, and the EC controls the GPIO level change to select the TTL level debug serial port path to the standard USB interface. As long as the EC is powered on, the GPIO signal level of the control switch remains in the previous state. At this time, while the EC is powered on, press the ALT+B+O shortcut key again to switch to USB2.0 signal.

[0080] The present disclosure multiplexes the processor debugging serial port with the standard USB interface, and can conveniently implement online diagnosis of the processor operation status without adding additional interfaces.

[0081] and Figure 1 Corresponding to the flowchart of the method for online diagnosis of the state of a laptop computer without disassembly, the present disclosure also provides an online diagnosis device for the state of a laptop computer without disassembly, such as Figure 4 As shown, the online diagnosis device for the status of a notebook computer without disassembly may include:

[0082] The receiving module 401 is used to receive a diagnosis trigger instruction input by a user based on a matrix keyboard;

[0083] The embedded controller 402 is used to control the GPIO level change based on the diagnostic trigger instruction, so as to select the TTL level debugging serial port path to the standard USB interface;

[0084] The embedded controller 402 is further configured to control the GPIO level change based on the diagnosis trigger instruction received again, so as to select the USB 2.0 signal path to the standard USB interface.

[0085] In some embodiments, the diagnosis trigger instruction is determined based on the distance between keys on the matrix keyboard and palm parameters of the human body.

[0086] In some embodiments, when the TTL level debugging serial port path is switched to a standard USB interface, the serial port baud rate, data bits and parity bit parameters can also be configured through the embedded controller, and automatically handshake and match with the external diagnostic device through the standard USB interface.

[0087] In some embodiments, before switching the signal path, detecting the current power state of the laptop computer;

[0088] If the device is in sleep or shutdown state, the embedded controller temporarily activates the power supply to complete the path switching.

[0089] In some embodiments, after selecting the TTL level debug serial port path to the standard USB interface, a hardware self-test instruction set can also be sent to the laptop computer through the debug serial port;

[0090] The notebook computer detects the status of the power management unit and the presence status of hot-swappable components based on the hardware self-test instruction set.

[0091] In some embodiments, the hardware self-test instruction set includes embedded controller firmware version verification, mainboard key voltage detection and tolerance range comparison, temperature sensor data reading, and fan speed feedback signal detection.

[0092] In some embodiments, the laptop computer can simulate load based on the hardware self-test instruction set, monitor the motherboard voltage drop, and force the fan speed to the maximum value to detect the response delay of the temperature control system.

[0093] In some embodiments, performing a simulated load based on a hardware self-test instruction set to monitor a motherboard voltage drop includes:

[0094] Based on the hardware self-test instruction set, it sends complex computing task instructions to the CPU, starts multi-core computing to simulate load; sends graphics rendering instructions to the graphics card with a resolution and frame rate that meet preset conditions; and performs data read and write operations on the allocated memory space;

[0095] The voltage data of the key nodes of the mainboard are collected in real time at a pre-set sampling frequency, and the data is recorded. At the same time, the data is analyzed to determine whether a voltage drop occurs, and the amplitude, duration and occurrence time of the voltage drop are recorded.

[0096] In some embodiments, the embedded controller may also adjust the diagnostic process and parameters according to the user's operating habits, diagnostic results, and device status changes during each diagnostic process to improve the efficiency and accuracy of the diagnosis.

[0097] Combine Figure 5 As shown, the embodiment of the present disclosure also provides an expandable multi-channel service device 500 based on the Feiteng processor, including a processor 504 and a memory 501. Optionally, the system may also include a communication interface 502 and a bus 503. Among them, the processor 504, the communication interface 502, and the memory 501 can communicate with each other through the bus 503. The communication interface 502 can be used for information transmission. The processor 504 can call the logic instructions in the memory 501 to execute the online diagnosis method for the non-disassembly status of the laptop computer of the above embodiment.

[0098] In addition, the logic instructions in the memory 501 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0099] Memory 501, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the methods in the embodiments of the present disclosure. Processor 504 executes the program instructions / modules stored in memory 501 to perform functional applications and data processing, thereby implementing the online diagnosis method for the laptop computer status without disassembly described in the above-mentioned embodiments.

[0100] The memory 501 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the terminal device. Furthermore, the memory 501 may include a high-speed random access memory and a non-volatile memory.

[0101] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as a method for online diagnosis of a laptop computer's status without requiring disassembly.

[0102] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0103] The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method of the embodiments of the present disclosure. The aforementioned storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program code, or a transient storage medium.

[0104] The above description and accompanying drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Unless expressly required, individual components and functions are optional, and the order of operation may vary. Portions and features of some embodiments may be included in or replaced with portions and features of other embodiments. As used in the description of the embodiments, unless the context clearly indicates otherwise, the singular forms "a," "an," and "the" are intended to include the plural forms as well. Similarly, the term "and / or," as used in this application, means including any and all possible combinations of one or more of the associated listed items. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups thereof. In the absence of further limitations, the phrase "comprising a..." does not preclude the presence of other identical elements in the process, method, or device comprising the elements. In this document, each embodiment may focus on the differences from other embodiments, and similar parts between the embodiments can be referenced to each other. For methods, products, etc. disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, then the relevant parts can be referenced to the description of the method section.

[0105] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0106] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units can be merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, the functional units in the embodiments of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0107] The flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the systems, methods and computer program products according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of the code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the boxes can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.

[0108] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system comprising at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0109] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0110] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0111] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0112] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0113] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.

[0114] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions of this disclosure can be achieved, and this document is not limited here.

[0115] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.

Claims

1. A method for online diagnosis of a notebook computer's status without disassembly, characterized in that: The method comprises: Receive diagnostic trigger instructions input by the user based on the matrix keyboard; The embedded controller controls the GPIO level change based on the diagnostic trigger instruction, so as to select the TTL level debugging serial port path to the standard USB interface; The diagnostic trigger instruction input by the user is received again, and the embedded controller controls the GPIO level change based on the diagnostic trigger instruction received again, so as to select the USB2.0 signal path to the standard USB interface.

2. The diagnostic method according to claim 1, wherein The diagnosis trigger instruction is determined based on the distance between keys on the matrix keyboard and palm parameters of a human body.

3. The diagnostic method according to claim 1, wherein When the TTL level debugging serial port path is switched to a standard USB interface, the method further includes: The serial port baud rate, data bit and check bit parameters are configured through the embedded controller, and automatic handshake matching is performed with an external diagnostic device through a standard USB interface.

4. The diagnostic method according to claim 1, wherein The method further comprises: Detect the current power status of the laptop before switching the signal path; If the system is in a dormant or shutdown state, the embedded controller temporarily activates the power supply to complete the path switching.

5. The diagnostic method according to claim 1, wherein After selecting the TTL level debugging serial port path to the standard USB interface, the method further includes: Sending a hardware self-test instruction set to the laptop computer via the debugging serial port; The notebook computer detects the state of the power management unit and the in-place state of the hot-pluggable components based on the hardware self-test instruction set.

6. The diagnostic method according to claim 5, characterized in that The hardware self-test instruction set includes embedded controller firmware version verification, mainboard key voltage detection and tolerance range comparison, temperature sensor data reading, and fan speed feedback signal detection.

7. The diagnostic method according to claim 6, characterized in that The method further comprises: The laptop computer simulates load based on the hardware self-test instruction set, monitors the voltage drop of the motherboard, and forcibly adjusts the fan speed to the maximum value to detect the response delay of the temperature control system.

8. The diagnostic method according to claim 7, characterized in that The simulating load based on the hardware self-test instruction set to monitor the motherboard voltage drop includes: Based on the hardware self-test instruction set, a complex computing task instruction is sent to the CPU to start multi-core computing to simulate load; a graphics rendering instruction with a resolution and frame rate that meet preset conditions is sent to the graphics card; and data reading and writing operations are performed on the allocated memory space; The voltage data of the key nodes of the motherboard is collected in real time at a pre-set sampling frequency, and the data is recorded. At the same time, the data is analyzed to determine whether a voltage drop occurs, and the amplitude, duration and occurrence time of the voltage drop are recorded.

9. The diagnostic method according to claim 1, wherein The method further comprises: The embedded controller adjusts the diagnostic process and parameters according to the user's operating habits, diagnostic results and device status changes during each diagnostic process to improve the efficiency and accuracy of the diagnosis.

10. A device for online diagnosis of the status of a notebook computer without disassembly, characterized in that: The device comprises: A receiving module is used to receive a diagnosis trigger instruction input by a user based on a matrix keyboard; An embedded controller, configured to control a GPIO level change based on the diagnostic trigger instruction, so as to select a TTL level debugging serial port path to a standard USB interface; The embedded controller is further used to control the GPIO level change based on the diagnosis trigger instruction received again, so as to select the USB2.0 signal path to the standard USB interface.