CN115016329A - Control method, control device and electronic equipment - Google Patents

Control method, control device and electronic equipment Download PDF

Info

Publication number
CN115016329A
CN115016329A CN202210769157.5A CN202210769157A CN115016329A CN 115016329 A CN115016329 A CN 115016329A CN 202210769157 A CN202210769157 A CN 202210769157A CN 115016329 A CN115016329 A CN 115016329A
Authority
CN
China
Prior art keywords
target component
debugging
target
electronic equipment
configuration parameters
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.)
Pending
Application number
CN202210769157.5A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210769157.5A priority Critical patent/CN115016329A/en
Publication of CN115016329A publication Critical patent/CN115016329A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Abstract

The application discloses a control method, a control device and an electronic device, wherein the method comprises the following steps: under the condition that the electronic equipment cannot identify the target component, determining the access state of the target component in a target identification mode; if the target component is in an access state, adjusting configuration parameters for the target component; wherein the target identification mode is different from an access mode of the target component to the electronic equipment.

Description

Control method, control device and electronic equipment
Technical Field
The present disclosure relates to the field of control of electronic devices such as computers, and in particular, to a control method, a control device, and an electronic device.
Background
In the process of development, test, production, after-sale, use and the like of electronic equipment, the electronic equipment is often connected with target equipment such as external equipment, but the compatibility of some external equipment is poor, so that the electronic equipment cannot identify the target equipment. In some cases, the external device may be identified to the electronic device by adjusting some parameter settings in the BIOS. However, the process requires manual debugging and is complex to operate. For the ordinary users, most of them do not have relevant debugging experience. This will result in the electronic device not being able to identify the external device and the external device not being able to be used.
Disclosure of Invention
The embodiment of the application provides a control method, which comprises the following steps:
under the condition that the electronic equipment cannot identify the target component, determining the access state of the target component in a target identification mode;
if the target component is in an access state, adjusting configuration parameters for the target component;
wherein the target identification mode is different from an access mode of the target component to the electronic equipment.
Optionally, the determining the access status of the target component in a target identification manner includes at least one of:
detecting a general input/output port or a serial bus between a target component and electronic equipment to determine the access state of the target component; or the like, or, alternatively,
the access state of the target component is determined by a sensor provided at a predetermined access position, which is a position where the target component should be accessed.
Optionally, the determining the access status of the target component in a target identification manner includes:
determining a current operation mode of the electronic equipment;
and if the electronic equipment is in a debugging mode, determining the access state of the target component in a target identification mode through a basic input output system of the electronic equipment.
Optionally, wherein the adjusting the configuration parameter for the target component includes:
determining a preset debugging strategy matched with the target component, and modifying the configuration parameters of the target component based on the determined preset debugging strategy so as to enable the target component to be identified.
Optionally, wherein the adjusting the configuration parameters for the target component includes:
acquiring attribute information of the target component through a basic input and output system of the electronic equipment;
generating a debugging scheme matched with the attribute information based on the attribute information so as to modify the configuration parameters of the target component based on the debugging scheme; or the like, or, alternatively,
and determining a debugging scheme matched with the attribute information from preset debugging strategies based on the attribute information, and modifying the configuration parameters of the target component based on the determined debugging scheme.
Optionally, the method further comprises:
outputting prompt information whether to execute debugging operation under the condition that the target component is determined to be in the access state;
if the instruction for executing the debugging operation is obtained, executing the operation for determining the preset debugging strategy or obtaining the debugging scheme; or the like, or, alternatively,
if the instruction for executing the debugging operation is not obtained or the instruction for not executing the debugging operation is obtained, log information is generated and output to the target user.
Optionally, the method further comprises: and executing a restarting operation after finishing the modification of the configuration parameters.
Optionally, the method further comprises: during the restarting process, identifying the target component and modifying the configuration parameters based on the identification result; and/or the presence of a gas in the atmosphere,
and after the restart is completed, if the target component is not identified, reporting the operation log to the target equipment.
An embodiment of the present application further provides a control device, including:
the detection module is configured to determine the access state of the target component in a target identification mode under the condition that the electronic equipment does not identify the target component;
an adjustment module configured to adjust configuration parameters for the target component if the target component is in an access state;
wherein the target identification mode is different from an access mode of the target component to the electronic equipment.
An embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores an executable program, and the processor processes the executable program to implement the steps described above.
The control method of the embodiment can judge the physical connection relation between the target component and the electronic equipment, and automatically modify the configuration parameters of the BIOS of the target component which can not be identified in the system under the condition that the target component is determined to be accessed into the electronic equipment, thereby realizing the identification and use of the target component by the electronic equipment, improving the identification and debugging efficiency, solving the identification problem and improving the user experience.
Drawings
FIG. 1 is a flow chart of a control method of an embodiment of the present application;
FIG. 2 is a flowchart of one embodiment of step S100 in FIG. 1 according to an embodiment of the present application;
FIG. 3 is a flow chart of one embodiment of a control method of an embodiment of the present application;
fig. 4 is a block diagram of a control device according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be considered as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It is also to be understood that although the present application has been described with reference to some specific examples, those skilled in the art are able to ascertain many other equivalents to the practice of the present application.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
The control method can be applied to electronic equipment such as a computer, and can identify a target component connected to the electronic equipment to determine whether the target component is physically connected to the electronic equipment, judge whether the target component can be normally identified by the electronic equipment if the target component is determined to be physically connected to the electronic equipment, and determine that the original configuration information (configuration parameters) of the target component may have errors or mismatching if the target component cannot be identified. Therefore, in this embodiment, the electronic device may debug the configuration information according to a preset debugging policy, so that the target component can be identified by the electronic device based on the debugged configuration information, so that the electronic device can normally use the target component. For some target components with unfriendly compatibility, even if the phenomenon that the target components cannot be identified occurs, the electronic equipment can adjust the corresponding configuration information through the control method, so that the target components are automatically identified.
The control method is described in detail below with reference to the accompanying drawings, and fig. 1 is a flowchart of a control method according to an embodiment of the present application, as shown in fig. 1 and with reference to fig. 3, the method includes the following steps:
s100, determining the access state of a target component in a target identification mode under the condition that the electronic equipment cannot identify the target component;
illustratively, the target component may be a device that is capable of connecting to and using the functionality provided by the electronic device. For example, the target component may be a storage device, a processor, an input device, an image capture device, a light effect device, an audio output device, a network connection device, and other devices that can be connected to a notebook computer. The target component may be connected to an interface of the electronic device to enable the electronic device to identify it for use.
In some cases, the electronic device may not be able to identify the target component that needs to be accessed, such as in particular, the operating system, BIOS, and/or other elements of the electronic device may not be able to identify the target component. So that the electronic device cannot use the target component. The reason for the failure to identify is in most cases due to the mismatch of the configuration parameters of the target component, which results in an identification error. Therefore, the present embodiment may determine the access status characterizing whether the target component is physically connected with the electronic device in a target identification manner.
The access status of the target component may be a physical access status, i.e. whether the target component is physically connected to the electronic device. The electronic device may determine the access status of the target component in a target identification manner, where the target identification manner may include a variety of methods, such as determining the access status through a detection circuit on the electronic device, and sensing the connection status of the target component through a sensing device associated with the electronic device.
S200, if the target component is in an access state, adjusting configuration parameters aiming at the target component;
wherein the target identification mode is different from an access mode of the target component to the electronic equipment.
For example, the configuration parameters of the target component are used for the electronic device to identify and control the target component, i.e., the electronic device can identify and use the target component based on the configuration parameters. In one embodiment, the configuration parameter may be a configuration parameter associated with a BIOS or other element of the electronic device, such as registration information, driver information, etc. of the target component in the BIOS. If the target component is in the access state, the configuration parameters aiming at the target component are adjusted, after the configuration parameters are adjusted, the configuration parameters can be suitable for the target component, and the electronic equipment can identify and control the target component through the adjusted configuration parameters, so that the use of the target component by a user is facilitated.
In addition, in some embodiments, when the target component is accessed to the electronic device, the target component may be accessed through PCIE, I2C, USB, SATA, ATA, or the like, and the target identification manner may be different from the above access manner. For example, the target identification manner may be to determine the access state of the target component through the electronic device and the target component connection circuit, such as determining through a GPIO line or I2C line between an external device (target component) and the PCH/EC in the electronic device; the physical access state of the target component can also be sensed by sensing equipment associated with the electronic equipment, for example, the access state of the target component is judged by a sensor arranged on the electronic equipment, so that the physical access state of the target component and the electronic equipment can be determined more accurately and stably.
The control method of the embodiment can judge the physical connection relation between the target component and the electronic equipment, and automatically modify the configuration parameters of the BIOS of the target component which can not be identified by the system under the condition that the target component is determined to be accessed to the electronic equipment, thereby realizing the identification and use of the target component by the electronic equipment, solving the identification problem and improving the user experience.
In one embodiment of the present application, determining the access status of the target component in a target identification manner includes at least one of:
detecting a general input/output port or a serial bus between a target component and electronic equipment to determine the access state of the target component; or the like, or a combination thereof,
the access state of the target component is determined by a sensor provided at a predetermined access position, which is a position where the target component should be accessed.
Illustratively, the target component is connected to the electronic device through a General-purpose input/output (GPIO) port of the electronic device, and a physical connection is formed between the two. The access state of the target component can be detected through a predetermined PIN (PIN) in the GPIO in a specific detection action, for example, whether the target component is physically connected to the electronic device is determined through a potential change in a related circuit before and after access, so that the access state of the target component is accurately determined.
The Serial Bus comprises an I2C (Inter-Integrated Circuit), an SPI (full duplex synchronous Serial Bus), an RS232 (also called EIA RS-232), a UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver/Transmitter Bus), a USB (Universal Serial Bus), and the like, and whether a physical connection is established between the two is determined by whether a corresponding Bus signal is generated between the two.
Of course, the manner of determining the access status of the target component may be determined in other manners. In this embodiment, the access state of the target component may be determined by a sensor disposed at a predetermined access position, and when the target component is connected to a corresponding position of the electronic device, such as an interface, a wireless connection position, and the like, the sensor may sense the access of the target component, and then determine that the target component is physically connected to the electronic device. When the sensor does not sense the target component at the position to be accessed, or the sensor senses the target component but the sensing signal does not obtain the predetermined standard, it can also be determined that the access state of the target component is not connected, that is, the target component is not physically connected to the electronic device. The sensor may be a proximity sensor, a hall sensor, an infrared sensor, or the like.
In an embodiment of the present application, determining the access status of the target component in a target identification manner, as shown in fig. 2, includes the following steps:
and S110, determining the current operation mode of the electronic equipment.
For example, the current operating mode of the electronic device may include a debug mode, and the debug mode may be aborted. The debugging mode can start the operation of debugging the target component connected to the electronic equipment, and the user can start the debugging mode so as to start the debugging of the target component. The user may initiate the debug mode, for example, if the target component is not recognized by the system in the electronic device. While forgoing debug mode may be used to forgo debugging of a target component connected to the electronic device. The user can choose to abandon the debugging mode, so that corresponding operation information is formed, and the electronic equipment can continue to be started without debugging or controlling the target component.
S120, if the electronic equipment is in a debugging mode, determining the access state of the target component in a target identification mode through a basic input output system of the electronic equipment.
For example, the debugging mode for starting the electronic device may be enabled without identifying the target component, or after the debugging mode is enabled, the target component may be identified whether to be connected to the electronic device.
For example, if the electronic device is in a debugging mode, the target component may be further identified, and if the target component can be identified, the relevant operation information may be recorded and sent to the user, and the electronic device may continue to be started. And if the target component can not be identified, the operation of whether the target component is physically connected to the electronic equipment or not can be started, namely the access state of the target component is judged.
In addition, in this embodiment, the access state of the target component may be determined by a Basic Input Output System (BIOS) of the electronic device, and specifically, the access state may be identified based on a target identification manner. For example, the BIOS detects the target component through the GPIO between the external device (target component) and the PCH/EC to determine whether the external device is physically connected to the electronic device, thereby determining the access status of the target component. In addition, the BIOS may also control sensors installed at corresponding locations to sense the target component, thereby determining an access status of the target component.
In one embodiment of the present application, adjusting configuration parameters for the target component includes the steps of:
determining a preset debugging strategy matched with the target component, and modifying the configuration parameters of the target component based on the determined preset debugging strategy so as to enable the target component to be identified.
For example, the preset debugging policies corresponding to different types or models of target components are different, for example, when the target component is an input device, a first preset debugging policy is matched with the target component, and when the target component is a display device, a second preset debugging policy is matched with the target component. The preset debugging strategies corresponding to target components of the same type and different models can also be different. Therefore, in the embodiment, the preset debugging strategy matched with the target component can be determined according to the specific type and/or model of the target component. Therefore, the configuration parameters of the target component can be accurately modified based on the preset debugging strategy. Ensuring that the target component can be identified.
For example, when it is determined that the target component is physically connected to the electronic device, the BIOS automatically modifies configuration parameters of the target component, for example, first modifies ASPM (Active State Power Management), PCIE Gen (peripheral component interconnect), Clock, and the like, then automatically restarts, and after restarting, automatically determines whether the target component is identified, and if the target component is not identified, then continues to modify other configuration parameters, for example, modify item information again, and then perform debugging. The debugging result is fed back to the user, so that the subsequent analysis is more convenient and accurate.
In one embodiment of the present application, adjusting configuration parameters for the target component comprises the steps of:
acquiring attribute information of the target component through a basic input and output system of the electronic equipment;
generating a debugging scheme matched with the attribute information based on the attribute information so as to modify the configuration parameters of the target component based on the debugging scheme; or the like, or, alternatively,
and determining a debugging scheme matched with the attribute information from preset debugging strategies based on the attribute information, and modifying the configuration parameters of the target component based on the determined debugging scheme.
For example, in one embodiment, the attribute information of the target component may be used to indicate the identity, type, model, function, and the like of the target component, the attribute information may be stored on a memory of the target component, a Basic Input Output System (BIOS) of the electronic device may obtain the attribute information from the memory of the target component after the target component is connected to the electronic device, and the BIOS or UEFI may generate a debugging scheme matching the target component based on the attribute information. Specifically, the debugging plan corresponding to the target component may not be generated in advance, and the debugging plan does not need to be stored in advance. But after the target component is not identified but is determined to be in the access state, a corresponding debugging scheme is generated in real time according to the attribute information of the target component, and then the configuration parameters of the target component are adjusted according to the newly generated debugging scheme. The debugging scheme generation mode can save the data processing amount of the basic input and output system and also save the storage space. For example, after acquiring the attribute information of the target component, the BIOS or the UEFI analyzes the attribute information, and determines that the target component is an input device, specifically, a keyboard of a certain model. The electronic equipment can instantly generate a debugging scheme matched with the attribute information of the keyboard based on the specific content of the attribute information, so that the configuration parameters of the keyboard and the operating system or BIOS (basic input output System) of the electronic equipment are modified based on the specific debugging content in the debugging scheme, and the electronic equipment can normally identify and use the keyboard based on the modified configuration parameters.
In another embodiment, the bios may obtain attribute information of a plurality of target components in advance, and then configure a plurality of debugging schemes according to the attribute information, for example, the bios obtains attribute information of a plurality of target devices that are not frequently used but may be connected, generates a corresponding debugging scheme in advance according to the attribute information, and stores all the debugging schemes in a preset debugging scheme library. When the debugging method is used, the debugging scheme matched with the current target component can be called from the preset debugging scheme library, and the configuration parameters of the target component are modified based on the obtained debugging scheme. The current debugging time is saved, and the working efficiency of a debugging site is improved. In addition, the preset debugging strategy for debugging the target component may include a plurality of debugging schemes, and different target components may correspond to respective debugging schemes. The debugging scheme may include debugging steps for configuration parameters and specific debugging content. After determining the attribute information, the BIOS or UEFI may call a debugging scheme adapted to the target component from a preset debugging scheme library according to the attribute information, so as to modify the configuration parameters of the target component based on a debugging step in the debugging scheme and specific debugging contents.
In an embodiment of the present application, the method of the present embodiment further includes the steps of:
under the condition that the target component is determined to be in the access state, outputting prompt information for judging whether to execute debugging operation;
if the instruction for executing the debugging operation is obtained, executing the operation for determining the preset debugging strategy or obtaining the debugging scheme; or the like, or, alternatively,
if the instruction for executing the debugging operation is not obtained or the instruction for not executing the debugging operation is obtained, log information is generated and output to the target user.
Illustratively, in conjunction with fig. 3, in one embodiment, in a case where the electronic device does not recognize the target component, but is able to determine that the target component is already in an access state in which the electronic device is physically connected, prompt information whether to perform a debugging operation may be generated and output, so as to prompt a user that an instruction may be input to perform the debugging operation on the target component. If the user is prompted in a dialog box form, the user can issue a debugging operation instruction to the electronic device by clicking a button in the dialog box. The electronic equipment obtains an instruction for executing debugging operation and executes the operation for determining a preset debugging strategy or obtaining a debugging scheme.
In another embodiment, after the electronic device is powered on, if the user does not need to debug the target component, the user may not issue a corresponding instruction or issue an instruction not to perform a debugging operation. The electronic device does not obtain the instruction for executing the debugging operation or the instruction for not executing the debugging operation, can not debug the configuration parameters of the target component, but can generate log information for recording the operation process and output the log information to the target user.
In one embodiment of the application, the electronic device performs a restart operation after completing the modification of the configuration parameters. And the electronic equipment identifies the target component again, and the target component is likely to be identified due to the fact that the configuration parameters of the target component are modified. In some cases, the target component may still not be identified, and the above steps may be repeated, and the configuration parameters of the target component may be modified by other contents, so that the target component is identified by the electronic device and used.
In a further development, the control method further comprises the following steps:
during the restarting process, identifying the target component and modifying the configuration parameters based on the identification result; and/or the presence of a gas in the atmosphere,
and after the restart is completed, if the target component is not identified, reporting the operation log to the target equipment.
Specifically, referring to fig. 3, after the configuration parameters of the target component are modified, the electronic device is restarted, and the target component is re-identified during the restart process, but it is possible that the electronic device still cannot identify the target component, and the electronic device may modify the configuration parameters based on the identification result. In addition, if the target component cannot be identified after the electronic equipment is restarted, the operation log can be reported to the target equipment. The professional can obtain the operation log from the target device, and then the professional can analyze and debug the operation log. In one embodiment, the target device may be connected to a network, and a professional may access the target device through the network, so as to remotely obtain the operation log through the network, and adjust the preset debugging policy of the target component according to analysis of the operation log, so that the electronic device may identify the target component based on the adjusted preset debugging policy.
The following describes the control method in detail with reference to a specific embodiment, and with reference to fig. 3, when a user starts up, the user may not recognize the hard disk. The user can turn on debug mode in BIOS SETUP.
During the boot process, the BIOS of the electronic device accesses the hard disk to determine whether the hard disk can be normally recognized. When the hard disk cannot be identified, whether the hard disk exists physically is determined by detecting GPIO (general purpose input/output), namely whether the hard disk is physically connected to the electronic equipment, if the physical existence is determined, the BIOS automatically modifies preset disable ASPM … and other configuration parameters, and then the electronic equipment is restarted to identify the hard disk again. If normal identification is not available, the BIOS may automatically modify other preset parameters, such as extending the storage delay, and then restart the identification operation. After all the preset debugging strategies are tried or effective debugging strategies are found, the electronic equipment can be started continuously. Meanwhile, the debugging record is stored in the BIOS, and the result is fed back to the user. For viewing by users and by professional analysts.
Based on the same inventive concept, an embodiment of the present application further provides a control device, as shown in fig. 4, including:
the detection module is configured to determine the access state of the target component in a target identification mode under the condition that the electronic equipment does not identify the target component;
illustratively, the target component may be a device that is capable of connecting to and using the functionality provided by the electronic device. For example, the target component may be an internal device, an input device, an image capturing device, and other devices that can be connected to a notebook computer. The target component may be connected to an interface of the electronic device to enable the electronic device to identify it for use.
In some cases, the electronic device may not be able to identify the target component that needs to be accessed, such as in particular, the operating system, BIOS, and/or other elements of the electronic device may not be able to identify the target component. So that the electronic device cannot use the target component. The reason for the failure to identify is in most cases due to the mismatch of the configuration parameters of the target component, which results in an identification error. Therefore, the present embodiment may determine the access status representing whether the target component and the electronic device are physically connected in a target identification manner.
The access status of the target component may be a physical access status, i.e. whether the target component is physically connected to the electronic device. The detection module may determine the access status of the target component in a target identification manner, where the target identification manner may include a plurality of methods, such as determining the access status through a detection circuit on the electronic device, or sensing the connection status of the target component through a sensing device associated with the electronic device.
An adjustment module configured to adjust configuration parameters for the target component if the target component is in an access state;
wherein the target identification mode is different from an access mode of the target component to the electronic equipment.
For example, the configuration parameters of the target component are used for the electronic device to identify and control the target component, i.e., the electronic device can identify and use the target component based on the configuration parameters. In one embodiment, the configuration parameter may be a configuration parameter associated with a BIOS or other element of the electronic device, such as registration information, driver information, etc. of the target component in the BIOS. If the target component is in the access state, the adjustment module adjusts the configuration parameters for the target component, the configuration parameters can be applicable to the target component after the adjustment module adjusts the configuration parameters, and the electronic device can identify and control the target component through the adjusted configuration parameters, so that the use of the target component by a user is facilitated.
In addition, in some embodiments, when the target component is accessed to the electronic device, the target component may be accessed through PCIE, I2C, USB, SATA, ATA, or the like, and the target identification manner may be different from the above access manner. For example, the target identification manner may be that the detection module determines the access state of the target component through the connection circuit between the electronic device and the target component, such as determining through a GPIO line or I2C line between an external device (target component) and the PCH/EC in the electronic device; the detection module may also sense a physical access state of the target component through a sensing device associated with the electronic device, for example, the sensor provided on the electronic device is used to determine the access state of the target component, so that the physical access state of the target component and the electronic device can be determined more accurately and stably.
In one embodiment of the present application, the detection module is further configured to:
detecting a general input/output port or a serial bus between a target component and electronic equipment to determine the access state of the target component; or the like, or, alternatively,
the access state of the target component is determined by a sensor provided at a predetermined access position, which is a position where the target component should be accessed.
In one embodiment of the present application, the detection module is further configured to:
determining a current operation mode of the electronic equipment;
and if the electronic equipment is in a debugging mode, determining the access state of the target component in a target identification mode through a basic input output system of the electronic equipment.
In one embodiment of the present application, the adjustment module is further configured to:
determining a preset debugging strategy matched with the target component, and modifying the configuration parameters of the target component based on the determined preset debugging strategy so as to enable the target component to be identified.
In one embodiment of the present application, the adjustment module is further configured to:
acquiring attribute information of the target component through a basic input and output system of the electronic equipment;
generating a debugging scheme matched with the attribute information based on the attribute information so as to modify the configuration parameters of the target component based on the debugging scheme; or the like, or, alternatively,
and determining a debugging scheme matched with the attribute information from preset debugging strategies based on the attribute information, and modifying the configuration parameters of the target component based on the determined debugging scheme.
In one embodiment of the present application, the adjustment module is further configured to:
outputting prompt information whether to execute debugging operation under the condition that the target component is determined to be in the access state;
if the instruction for executing the debugging operation is obtained, executing the operation for determining the preset debugging strategy or obtaining the debugging scheme; or the like, or, alternatively,
if the instruction for executing the debugging operation is not obtained or the instruction for not executing the debugging operation is obtained, log information is generated and output to the target user.
In one embodiment of the present application, the adjustment module is further configured to:
and executing a restarting operation after finishing the modification of the configuration parameters.
In one embodiment of the present application, the adjustment module is further configured to:
during the restarting process, identifying the target component and modifying the configuration parameters based on the identification result; and/or the presence of a gas in the atmosphere,
and after the restart is completed, if the target component is not identified, reporting the operation log to the target equipment.
Based on the same inventive concept, an electronic device is further provided in the embodiments of the present application, as shown in fig. 5, and includes a memory and a processor, where the memory stores an executable program, and the processor processes the executable program to implement any of the method steps described above.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A control method, comprising:
under the condition that the electronic equipment cannot identify the target component, determining the access state of the target component in a target identification mode;
if the target component is in an access state, adjusting configuration parameters for the target component;
wherein the target identification mode is different from an access mode of the target component to the electronic equipment.
2. The method of claim 1, wherein determining the access status of the target component in a target identification manner comprises at least one of:
detecting a general input/output port or a serial bus between a target component and electronic equipment to determine the access state of the target component; or the like, or a combination thereof,
the access state of the target component is determined by a sensor provided at a predetermined access position, which is a position where the target component should be accessed.
3. The method of claim 1 or 2, wherein determining the access status of the target component in a target identification manner comprises:
determining a current operation mode of the electronic equipment;
and if the electronic equipment is in a debugging mode, determining the access state of the target component in a target identification mode through a basic input output system of the electronic equipment.
4. The method of claim 1, wherein adjusting configuration parameters for the target component comprises:
determining a preset debugging strategy matched with the target component, and modifying the configuration parameters of the target component based on the determined preset debugging strategy so as to enable the target component to be identified.
5. The method of claim 1 or 4, wherein adjusting configuration parameters for the target component comprises:
acquiring attribute information of the target component through a basic input and output system of the electronic equipment;
generating a debugging scheme matched with the attribute information based on the attribute information so as to modify the configuration parameters of the target component based on the debugging scheme; or the like, or, alternatively,
and determining a debugging scheme matched with the attribute information from preset debugging strategies based on the attribute information, and modifying the configuration parameters of the target component based on the determined debugging scheme.
6. The method of claim 5, further comprising:
outputting prompt information whether to execute debugging operation under the condition that the target component is determined to be in the access state;
if the instruction for executing the debugging operation is obtained, executing the operation for determining the preset debugging strategy or obtaining the debugging scheme; or the like, or, alternatively,
if the instruction for executing the debugging operation is not obtained or the instruction for not executing the debugging operation is obtained, log information is generated and output to the target user.
7. The method of claim 1 or 6,
and executing a restarting operation after finishing the modification of the configuration parameters.
8. The method of claim 7, further comprising:
during the restarting process, identifying the target component and modifying the configuration parameters based on the identification result; and/or the presence of a gas in the atmosphere,
and after the restart is completed, if the target component is not identified, reporting the operation log to the target equipment.
9. A control device, comprising:
the detection module is configured to determine the access state of the target component in a target identification mode under the condition that the electronic equipment cannot identify the target component;
an adjustment module configured to adjust configuration parameters for the target component if the target component is in an access state;
wherein the target identification mode is different from an access mode of the target component to the electronic equipment.
10. An electronic device comprising a memory having stored therein an executable program and a processor that processes the executable program to implement the steps of any of claims 1 to 8.
CN202210769157.5A 2022-06-30 2022-06-30 Control method, control device and electronic equipment Pending CN115016329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210769157.5A CN115016329A (en) 2022-06-30 2022-06-30 Control method, control device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210769157.5A CN115016329A (en) 2022-06-30 2022-06-30 Control method, control device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115016329A true CN115016329A (en) 2022-09-06

Family

ID=83077952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210769157.5A Pending CN115016329A (en) 2022-06-30 2022-06-30 Control method, control device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115016329A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116431546A (en) * 2023-06-13 2023-07-14 荣耀终端有限公司 Parameter configuration method, electronic device, storage medium, and program product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116431546A (en) * 2023-06-13 2023-07-14 荣耀终端有限公司 Parameter configuration method, electronic device, storage medium, and program product
CN116431546B (en) * 2023-06-13 2023-10-27 荣耀终端有限公司 Parameter configuration method, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
US8874953B2 (en) System and method of cloud testing and remote monitoring for integrated circuit components in system validation
TWI470420B (en) Dubugging method and computer system using the smae
US20120117429A1 (en) Baseboard management controller and memory error detection method of computing device utilized thereby
US20170220419A1 (en) Method of detecting power reset of a server, a baseboard management controller, and a server
US20130139129A1 (en) Test method for handheld electronic device application
US20130268744A1 (en) Method for detecting hardware
US8726088B2 (en) Method for processing booting errors
US20140013428A1 (en) Apparatus and method for managing operation of a mobile device
CN115016329A (en) Control method, control device and electronic equipment
WO2020010890A1 (en) Method and system for monitoring resource utilization rate of server cpu based on bmc
US20060031716A1 (en) Method of providing a real time solution to error occurred when computer is turned on
US7213159B2 (en) Method for testing and verifying power management features of computer system
US20170010643A1 (en) Testing method and electronic device
CN113377586A (en) Automatic server detection method and device and storage medium
CN109164874B (en) Information processing method and electronic equipment
CN111176958A (en) Information monitoring method, system and storage medium
KR101100894B1 (en) error detection and recovery method of embedded System
CN108073481B (en) Server system capable of providing hardware operation information and processing method thereof
TW201015296A (en) Method for auto-testing environment variable setting
CN112634977B (en) Chip with debug memory interface and debug method thereof
CN109491825B (en) Method, device, storage medium and terminal for positioning abnormal starting problem
CN113284445A (en) Regional dimming function detection method and device and storage medium
WO2019169615A1 (en) Method for accessing code sram, and electronic device
TW201033804A (en) Computer debug method
US20090187755A1 (en) Computer System and Method for Recording Operating Information Thereof

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