CN116339577A - List detection method, device, electronic equipment and readable storage medium - Google Patents

List detection method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN116339577A
CN116339577A CN202111603610.7A CN202111603610A CN116339577A CN 116339577 A CN116339577 A CN 116339577A CN 202111603610 A CN202111603610 A CN 202111603610A CN 116339577 A CN116339577 A CN 116339577A
Authority
CN
China
Prior art keywords
list
target
detection
electronic device
acpi
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
CN202111603610.7A
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.)
Loongson Technology Corp Ltd
Original Assignee
Loongson Technology Corp 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 Loongson Technology Corp Ltd filed Critical Loongson Technology Corp Ltd
Priority to CN202111603610.7A priority Critical patent/CN116339577A/en
Publication of CN116339577A publication Critical patent/CN116339577A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a list detection method, a list detection device, electronic equipment and a readable storage medium, and relates to the technical field of electronic equipment. The method comprises the following steps: displaying list identification of at least one list in a list selection area in a user interface, determining a target list identification from the list selection area in response to a first input, detecting the target list according to a coding rule corresponding to a target list to which the target list identification belongs, and outputting a detection result. The list identification is displayed through the user interface, the list corresponding to the list identification selected by the user is detected, and the detection result is output, so that the automatic detection of the ACPI list can be realized, and the detection efficiency of the ACPI list can be improved.

Description

List detection method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and apparatus for detecting a list, an electronic device, and a readable storage medium.
Background
Advanced configuration and power management interface (Advanced Configuration and Power Interface, ACPI) is an industry specification for providing configuration and power management interfaces for software and hardware, and is widely used in various computer platforms to provide high performance power management functions for these computer platforms. The ACPI is implemented based on a plurality of ACPI lists, and each ACPI list includes configuration information of a hardware device, so that functions such as power management, performance management, system event, temperature management, battery management and the like can be implemented.
In the design process of electronic devices, it is often necessary to fill in an ACPI list and detect the ACPI list to determine whether relevant information in the ACPI list is accurate. In the prior art, the user can only manually detect the ACPI list, and the efficiency is low.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are directed to providing a list detection method, apparatus, electronic device, and readable storage medium that overcome, or at least partially solve, the foregoing problems.
In order to solve the above problems, an embodiment of the present invention discloses a list detection method, including:
displaying a list identification of at least one list in a list selection area in the user interface; the at least one list comprises a list of advanced configuration and power management interfaces;
determining a target list identification from the list selection area in response to a first input;
and detecting the target list according to the coding rule corresponding to the target list to which the target list identifier belongs, and outputting a detection result.
The embodiment of the invention discloses a list detection device, which comprises:
a display module for displaying list identifications of at least one list in a list selection area in a user interface; the at least one list comprises a list of advanced configuration and power management interfaces;
a determining module for determining a target list identification from the list selection area in response to a first input;
and the detection module is used for detecting the target list according to the coding rule corresponding to the target list to which the target list identifier belongs and outputting a detection result.
The embodiment of the invention discloses an electronic device, which comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the list detection method as described above.
The embodiment of the invention discloses a readable storage medium, which when instructions in the readable storage medium are executed by a processor in an electronic device, enables the electronic device to execute a list detection method as described above.
In the embodiment of the invention, list identification of at least one list is displayed in a list selection area in a user interface, a target list identification is determined from the list selection area in response to a first input, the target list is detected according to a coding rule corresponding to a target list to which the target list identification belongs, and a detection result is output. The list identification is displayed through the user interface, the list corresponding to the list identification selected by the user is detected, and the detection result is output, so that the automatic detection of the ACPI list can be realized, and the detection efficiency of the ACPI list can be improved.
Drawings
FIG. 1 is a flow chart showing the steps of a list detection method in an embodiment of the invention;
FIG. 2 shows a schematic diagram of a user interface in an embodiment of the invention;
FIG. 3 shows a schematic diagram of a list selection area in an embodiment of the invention;
FIG. 4 shows a schematic diagram of list detection in an embodiment of the invention;
FIG. 5 shows another list detection schematic in an embodiment of the invention;
FIG. 6 shows a schematic diagram of a content display area in an embodiment of the invention;
FIG. 7 illustrates a list reading schematic in an embodiment of the invention;
FIG. 8 is a schematic diagram of a list detection apparatus in an embodiment of the invention;
fig. 9 shows a block diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Referring to fig. 1, a flowchart illustrating steps of a list detection method in an embodiment of the present invention may include:
step 101, displaying list identification of at least one list in a list selection area in a user interface.
Wherein at least one list includes a list of advanced configuration and power management interfaces. The user interface may be a user interface of a list detection program running in the electronic device for detecting the ACPI list to determine whether the content in the ACPI list matches the content in the encoding rules. There are multiple lists related to ACPI, each of which stores configuration information of a type of hardware device, and each type of information is composed of several items, for example, a fixed ACPI description table (Fixed ACPI Description Table, FADT), a differentiated system description table (DifferentiateDSyStemDeScription Table, DSDT), a composite APIC description table (Multiple APIC Description Table, MADT), a firmware ACPI control structure table (Firmware ACPI Control Structure, FACS), a static resource relation table (Static Resource relationship Table, SRAT), and the like. Taking a list information item in a certain ACPI list as an example, the list information item includes configuration information of a fan in the electronic device, and the configuration information of the fan may include configuration information such as a start-up time, a standby time, and an operating power of the fan.
In this embodiment, the list detection method may be performed by an electronic device having a display function, such as a computer having a display screen. After the user operates the electronic device to start the list detection program, the electronic device may run the list detection program, and display a user interface of the list detection program through the display screen. And, the electronic device may acquire the ACPI list, and display a list identification of the acquired ACPI list in a list selection area in the user interface. As shown in fig. 2, fig. 2 shows a schematic diagram of a user interface in an embodiment of the present invention, where the user interface includes a list selection area 201, a content display area 202, and a result display area 203 shown in fig. 2. After starting the list detection program and acquiring the ACPI list, the electronic device may display the list identification of each ACPI list in the above example through the list selection area 201 in the user interface, the list identification may be a list name of the ACPI list, for example, the list identification of the DSDT list may be a list name "DSDT. Dsl" of the DSDT. The list identifier is used to distinguish different ACPI lists, and the specific form of the list identifier may be set according to requirements, which is not limited in this embodiment.
As shown in fig. 3, fig. 3 is a schematic diagram of a list selection area in an embodiment of the present invention, taking list identifier 2011 in fig. 3 as an example, list identifier 2011 is a list identifier of a DSDT list acquired by an electronic device. The list selection area 201 is configured to display list identifiers of the acquired multiple ACPI lists, so that a user can conveniently select an ACPI list corresponding to the list identifier from the list selection area 201 for detection.
In one embodiment, the electronic device may read its own ACPI list to detect the own ACPI list. For example, the electronic device may read the machine code of at least one list from a location where an Operating System (OS) reads the list; decompiling the machine code to obtain at least one list.
After the operating system in the electronic device starts to run, a basic input output system (Basic Input Output System, BIOS) in the electronic device may store an ACPI list of the electronic device itself in a memory of the electronic device, and the operating system in the electronic device may read the ACPI list from the memory. When the electronic device has different operating systems, the ACPI list may be read from the memory in different reading modes. For example, when the operating system of the electronic device is a Linux operating system, after the list detection program is started, the electronic device may read its ACPI list from the memory through a specified path; when the operating system of the electronic device is a Windows operating system, after the list detection program is started, the electronic device can call a corresponding interface function, and the ACPI list of the electronic device can be read from the memory through the function interface. The ACPI list of the electronic device itself is stored in the memory in the form of a Machine code (Machine Language), and after the ACPI list in the form of the Machine code is read, the electronic device may decompil the ACPI list in the form of the Machine code to obtain the ACPI list in the form of a Source Language (Source Language). The source language is the language used when the ACPI tables were originally written, and the user can read and understand the source language. After obtaining the ACPI list in the source language form, the list identification of each of the ACPI lists read may be displayed in the list selection area.
Optionally, decompiling the machine code to obtain at least one list comprises:
triggering and running a decompilation tool; decompiling, by a decompiling tool, the machine code of the at least one list to obtain the at least one list.
In one embodiment, a user may pre-install decompilation tools, which may also be referred to as decompilers, in an electronic device. After the electronic device reads the ACPI list in the machine code form from the memory, the electronic device may first start to run a decompilation tool, input the read ACPI list in the machine code form into the decompilation tool, decompil the read ACPI list in the machine code form by the decompilation tool, and obtain the ACPI list in the source language form. The decompilation tool may be part of the list detection program or may be independent of the list detection program.
In the embodiment of the invention, the electronic equipment can read the ACPI list of the electronic equipment, so that a user can conveniently detect the ACPI list of the electronic equipment, and the user can conveniently find out the problems in the ACPI list of the electronic equipment.
It should be noted that the electronic device may also obtain the ACPI list in the source language in other manners. For example, when the user needs to detect the ACPI list in the source language that is edited in advance, the edited ACPI list in the source language may be stored in a preset position in the electronic device, and after the user starts the list detection program, the electronic device reads the pre-stored ACPI list in the source language from the preset position, and displays the list identifier of the read ACPI list in the list selection area.
Step 102, in response to a first input, determining a target list identification from the list selection area.
Wherein the first input is used to determine a target list identity from the list selection area to detect a list to which the target list identity belongs.
Illustratively, the first input may be an operation to click on a list identification within the list selection area. For example, the user may operate a mouse click on the list identifier 2011 shown in fig. 3. Alternatively, when the display screen is a touch screen, the user may directly click on the list identifier 2011 displayed in the touch screen. The electronic device may receive a click operation of the user, and determine the list identifier 2011 clicked by the user as a target list identifier in response to the click operation. Alternatively, the first input may be an operation of clicking an open button, for example, after the user operates a mouse to select a certain list identifier in the list selection area, the open button 205 shown in fig. 2 may be clicked, and the electronic device may determine the list identifier that has been selected as the target list identifier in response to the operation of clicking the open button. The specific form of the first input may be set according to the requirement, which is not limited in this embodiment.
In one embodiment, the electronic device may also delete the ACPI list that does not require list detection when receiving a delete instruction entered by the user. As shown in fig. 2, a delete button 204 is included in the user interface, and when the user selects a list identifier in the list selection area, a delete instruction may be input to the electronic device by clicking the delete button 204. The electronic device may delete the list identifier determined by the selection and delete the ACPI list corresponding to the acquired list identifier in response to a click operation by the user.
Step 103, detecting the target list according to the coding rule corresponding to the target list to which the target list identifier belongs, and outputting a detection result.
The coding rule is a specification file preset by a user for a certain ACPI list. For the same hardware device, the configuration information of the hardware device is described in the coding rule, the configuration information of the hardware device is also described in the corresponding ACPI list, the configuration information described in the coding rule is standard correct configuration information, and the configuration information described in the ACPI list is actually used configuration information. For convenience of distinction, the correct configuration information described in the encoding rule is referred to as standard configuration information, and the configuration information described in the corresponding ACPI list is referred to as actual configuration information. For a certain hardware device, when the actual configuration information described in the ACPI list is not matched with the standard configuration information described in the coding rule, describing that the hardware device in the ACPI list is wrong, and the electronic device can fail when controlling the hardware device according to the configuration information in the ACPI list. In combination with the above example, if the operating power of the fan described in the coding rule is 30 watts to 50 watts and the operating power of the fan described in the ACPI list is less than 20 watts or greater than 30 watts, the ACPI list does not match the coding rule and the configuration information of the fan described in the ACPI list is wrong.
In practical applications, the encoding rules for each ACPI list may be set separately. After determining the target list, a coding rule corresponding to the target list may be determined from among a plurality of coding rules set in advance. For example, the encoding rule may use the same identification as the corresponding ACPI list, and the electronic device may select, from among the encoding rules of the plurality of ACPI lists, the encoding rule of the same identification as the encoding rule of the target list according to the list identification of the ACPI list. Alternatively, one encoding rule may be set for all ACPI lists, where the encoding rule includes configuration information corresponding to each item of list information in each ACPI list.
In this embodiment, the user may store the encoding rule in a preset position in the electronic device in advance, after determining the target list, the electronic device may first acquire the encoding rule corresponding to the target list from the preset position, then compare the actual configuration information of each hardware device included in the target list with the standard configuration information of the hardware device included in the encoding rule, detect and determine whether the actual configuration information of the hardware device included in the target list matches with the standard configuration information included in the encoding rule, and output the detection result. In combination with the above example, if the operating power of the fan described in the coding rule is 30 watts to 50 watts, and the operating power of the fan described in the ACPI list is less than 20 watts or greater than 30 watts, it is determined that the ACPI list does not match the coding rule, and the configuration information of the fan described in the ACPI list is wrong, and a detection result indicating that the ACPI list is wrong may be output.
The electronic device may also execute step 103 to detect the target list when receiving a detection instruction input by the user. As shown in fig. 2, the user interface includes a detection button 206, after selecting the determination target list identifier, the user may click on the detection button 206, input a detection instruction to the electronic device, and the electronic device may perform step 103 to detect the target list to which the target list identifier belongs in response to the operation of clicking the detection button 206 by the user. Specific input methods for the detection instruction may include, but are not limited to, the examples described above.
Fig. 4 and 5 show a schematic diagram of list detection in the embodiment of the present invention, fig. 4 shows another schematic diagram of list detection in the embodiment of the present invention, fig. 4 shows one item of list information included in a certain ACPI list, fig. 5 shows another item of list information included in a certain ACPI list, fig. 4 and 5 show two items of list information in two formats, and the two items of list information respectively include actual configuration information of two hardware devices. "DEVICE" in fig. 4 and 5 indicates a DEVICE identifier of a hardware DEVICE, actual configuration information of the hardware DEVICE in fig. 4 is content included in a Package, and symbols "1, 2, 3, and 4" in fig. 4 indicate parsing steps of list items. The actual configuration information of the hardware device in fig. 5 is the content included in the qwerdmemory, and the symbols "1, 2, and 3" in fig. 5 represent the parsing steps of the list items. After the electronic device obtains the ACPI list, for the list information shown in fig. 4, the electronic device may sequentially analyze and obtain the actual configuration information of the hardware device, that is, the content included in the Package through step 1, step 2, step 3 and step 4. For the list information shown in fig. 5, the actual configuration information of the hardware device can be obtained through analysis in step 1, step 2 and step 3. After the actual configuration information is obtained, the electronic device can obtain standard configuration information corresponding to the device identifier from the coding rule according to the device identifier of the hardware device, and then compare the actual configuration information with the standard configuration information to determine whether the two are matched.
When the ACPI list is not matched with the coding rule, the detection result may include first notification information indicating an ACPI list error; when the ACPI list matches the encoding rule, second notification information indicating that the ACPI list is correct may be included in the detection result. The specific forms of the first notification information and the second notification information may be set according to the need.
Alternatively, the step of outputting the detection result may include: displaying the detection result in a result display area in the user interface; and/or outputting a detection file including the detection result.
In this embodiment, the electronic device may directly display the detection result in the result display area in the user interface. In connection with the above example, when it is detected that the actual configuration information of the fan does not match the standard configuration information, first notification information may be displayed in the result display area 203 shown in fig. 2, and the first notification information may be text information. Meanwhile, the electronic device may also display the actual configuration information and the standard configuration information of the fan in the result display area 203, so that the user can determine the error existing in the ACPI list by comparing the actual configuration information with the standard configuration information. In contrast, when it is detected that the actual configuration information of the fan matches the standard configuration information, second notification information may be displayed in the result display area 203 shown in fig. 2, and the second notification information may be text information.
When the detection result is displayed through the result display area, the user can save or clear the detection result in the result display area according to the requirement. As shown in fig. 2, the user interface includes a save button 207 and a clear button 208, and after the electronic device displays the detection result in the result display area, if the user needs to save the detection result, the user may click on the save button 207 to input a save instruction to the electronic device. The electronic device may save the detection result displayed in the result display area as a file in the target format in response to a click operation by the user. Conversely, when the user does not need to save the detection result, the user may click the purge button 208 to input a purge instruction to the electronic device. The electronic device may delete the detection result displayed in the result display area in response to the user clicking the clear button. The specific input modes of the save instruction and the clear instruction can be set according to the requirements, and the embodiment is not limited to this.
In one embodiment, the electronic device may also output the detection result in the form of a detection file. A document such as Text document (TXT) is detected. Upon detecting that the actual configuration information of the fan does not match the standard configuration information, the electronic device may generate a text document including the actual configuration information of the fan and the standard configuration information, and the first notification information. Conversely, when the actual configuration information of the fan is detected to be matched with the standard configuration information, a text document can be output, wherein the text document comprises the actual configuration information of the fan, the standard configuration information and the second notification information. The specific form of the detection file can be set according to the requirement, and the embodiment is not limited to this.
Optionally, the method may further include: a content display area in the user interface displays some or all of the content in the target list.
In one embodiment, the electronic device may display some or all of the content in the target list through a content display area in the user interface. As shown in fig. 6, fig. 6 shows a schematic diagram of a content display area in which some or all of the content 601 in the target list may be displayed after determining the target list identification from at least one list in response to a first input in an embodiment of the present invention. When the contents in the target list are displayed in the content display area 202, the contents can be displayed in the source language form, so that the user can read the contents in the target list conveniently.
When all the contents in the target list cannot be displayed at one time in the content display area, the user can input a selection instruction to select and display part of the contents in the target list. As shown in fig. 6, a slider control 2021 is included in the content display area, and the user can operate the slider control 2021 to control the content display area to select a part of the content from the target list to be displayed in the content display area.
In the embodiment of the invention, the content display area in the user interface is used for displaying part or all of the content in the target list, so that a user can conveniently observe the content included in the target list. Meanwhile, when the target list detects errors, the user can conveniently observe the error content in the target list.
Alternatively, the step of displaying part or all of the contents in the target list in the contents display area in the user interface may include:
and determining target content matched with the coding rule from the target list, and displaying the target content in a content display area.
In one embodiment, in displaying the content in the target list, the electronic device may display only the target content matching the encoding rule, so that the user can quickly look at the content that needs to be detected. The target content matching the encoding rule is content included in list information corresponding to a certain item of list information in the encoding rule in the list. For example, the encoding rule includes one item of list information of the fan, and the target list includes one item of list information of the fan, so that when the content in the target list is displayed, the configuration information of the fan can be selected from the target list for display. Otherwise, when the configuration information of the fan is not included in the coding rule, the configuration information of the fan is not displayed. When the contents in the target list are displayed, only the target contents matched with the coding rules are displayed, and the influence of irrelevant contents on the user to view important contents in the target list is avoided, so that the efficiency can be improved.
Optionally, before decompiling the read machine code, the method may further comprise:
a machine code is determined to match the encoding rule.
As shown in fig. 7, fig. 7 shows a schematic diagram of list reading in an embodiment of the present invention, after an electronic device reads a plurality of ACPI lists in a machine code form from a memory, for the ACPI lists in the machine code form, it may first determine whether a plurality of pre-stored encoding rules include encoding rules corresponding to each ACPI list in the machine code form, if so, decompil the ACPI list in the machine code form, parse the decompil list to obtain an ACPI list in a source language form, otherwise, do not decompil the ACPI list in the machine code form. For example, for a read ACPI list in a certain machine code form, if the coding rule does not include a coding rule corresponding to the ACPI list, determining that the ACPI list in the machine code form does not match with the coding rule, and not decompiling the ACPI list in the machine code form. Otherwise, if the encoding rule includes the encoding rule corresponding to the ACPI list, determining that the ACPI list in the machine code form matches the encoding rule, and decompiling the ACPI list in the machine code form to obtain the ACPI list in the source language form.
In the embodiment of the invention, when the ACPI list of the electronic equipment is read, the ACPI list in the form of the machine code matched with the coding rule is decompiled, so that the detection of the ACPI list which does not need to be detected can be avoided, and the efficiency can be improved.
In summary, in the embodiment of the present invention, the list selection area in the user interface displays the list identifier of at least one list, determines the target list identifier from the list selection area in response to the first input, detects the target list according to the coding rule corresponding to the target list to which the target list identifier belongs, and outputs the detection result. The list identification is displayed through the user interface, the list corresponding to the list identification selected by the user is detected, and the detection result is output, so that the automatic detection of the ACPI list can be realized, and the detection efficiency of the ACPI list can be improved.
Referring to fig. 8, fig. 8 shows a schematic diagram of a list detection apparatus in an embodiment of the present invention, the apparatus 800 may include:
a display module 801 for displaying a list identification of at least one list in a list selection area in a user interface; at least one list comprises a list of advanced configuration and power management interfaces;
a determining module 802 for determining a target list identification from the list selection area in response to the first input;
the detection module 803 is configured to detect the target list according to the coding rule corresponding to the target list to which the target list identifier belongs, and output a detection result.
Optionally, the display module 801 is further configured to display part or all of the content in the target list in a content display area in the user interface.
Optionally, the display module 801 is specifically configured to determine, from the target list, target content that matches the encoding rule, and display the target content in the content display area.
Optionally, the apparatus 800 further comprises: the acquisition module is used for reading the machine code of at least one list from the position of the list read by the operating system; and the decompilation module is used for decompiling the machine code to obtain at least one list.
Optionally, the detection module 803 is configured to display a detection result in a result display area in the user interface; and/or outputting a detection file including the detection result.
Optionally, the acquiring module is further configured to determine that the machine code matches the encoding rule.
Optionally, the decompilation module is specifically configured to trigger running a decompilation tool; decompiling, by a decompiling tool, the machine code of the at least one list to obtain the at least one list.
The embodiment of the invention discloses an electronic device, which comprises: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the list detection method as described above.
The embodiment of the invention discloses a readable storage medium, which when instructions in the readable storage medium are executed by a processor in an electronic device, enables the electronic device to execute a list detection method as described above.
Fig. 9 shows a block diagram of an electronic device in an embodiment of the invention. For example, electronic device 900 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, and the like.
Referring to fig. 9, an electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and a communication component 916.
The processing component 902 generally controls overall operation of the electronic device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 902 can include one or more modules that facilitate interaction between the processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operations at the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type of volatile or nonvolatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 906 provides power to the various components of the electronic device 900. Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 900.
The multimedia component 908 comprises a screen between the electronic device 900 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front-facing camera and/or a rear-facing camera. When the electronic device 900 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) that is configured to not receive external audio signals when the electronic device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 further includes a speaker for outputting audio signals.
The I/O interface 912 provides an interface between the processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 914 includes one or more sensors for providing status assessment of various aspects of the electronic device 900. For example, the sensor assembly 914 may detect an on/off state of the electronic device 900, a relative positioning of the components, such as a display and keypad of the electronic device 900, the sensor assembly 914 may also detect a change in position of the electronic device 900 or a component of the electronic device 900, the presence or absence of a user's contact with the electronic device 900, an orientation or acceleration/deceleration of the electronic device 900, and a change in temperature of the electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communication between the electronic device 900 and other devices, either wired or wireless. The electronic device 900 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The list detection method, the list detection device, the electronic device and the readable storage medium provided by the invention are described in detail, and specific examples are applied to illustrate the principles and the implementation modes of the invention, and the description of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A list detection method, comprising:
displaying a list identification of at least one list in a list selection area in the user interface; the at least one list comprises a list of advanced configuration and power management interfaces;
determining a target list identification from the list selection area in response to a first input;
and detecting the target list according to the coding rule corresponding to the target list to which the target list identifier belongs, and outputting a detection result.
2. The method of claim 1, further comprising, after said determining a target list identification from said list selection area in response to a first input:
a content display area in the user interface displays some or all of the content in the target list.
3. The method of claim 2, wherein the content display area in the user interface displays some or all of the content in the target list, comprising:
and determining target content matched with the coding rule from the target list, and displaying the target content in the content display area.
4. The method of claim 1, further comprising, prior to the list selection area in the user interface displaying the list identification of the pre-acquired at least one list:
reading machine code of the at least one list from a location where the list is read by an operating system;
decompiling the machine code to obtain the at least one list.
5. The method of claim 1, wherein outputting the detection result comprises:
displaying the detection result in a result display area in the user interface; and/or the number of the groups of groups,
outputting a detection file comprising the detection result.
6. The method of claim 4, further comprising, prior to said decompiling said machine code to obtain said at least one list:
determining that the machine code matches the encoding rule.
7. The method of claim 4, wherein decompiling the machine code to obtain the at least one list comprises:
triggering and running a decompilation tool;
decompiling the machine code of the at least one list by the decompiling tool to obtain the at least one list.
8. A list detection apparatus, characterized by comprising:
a display module for displaying list identifications of at least one list in a list selection area in a user interface; the at least one list comprises a list of advanced configuration and power management interfaces;
a determining module for determining a target list identification from the list selection area in response to a first input;
and the detection module is used for detecting the target list according to the coding rule corresponding to the target list to which the target list identifier belongs and outputting a detection result.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the list detection method of any of claims 1-7.
10. A readable storage medium, which when executed by a processor in an electronic device, causes the electronic device to perform the list detection method of any of claims 1-7.
CN202111603610.7A 2021-12-24 2021-12-24 List detection method, device, electronic equipment and readable storage medium Pending CN116339577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111603610.7A CN116339577A (en) 2021-12-24 2021-12-24 List detection method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111603610.7A CN116339577A (en) 2021-12-24 2021-12-24 List detection method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116339577A true CN116339577A (en) 2023-06-27

Family

ID=86890267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111603610.7A Pending CN116339577A (en) 2021-12-24 2021-12-24 List detection method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116339577A (en)

Similar Documents

Publication Publication Date Title
US10728196B2 (en) Method and storage medium for voice communication
EP3065428B1 (en) Method and device for displaying wifi list
CN106020784B (en) Application message display method and device and terminal
EP3337146B1 (en) Method and apparatus for displaying notification message
US20170150290A1 (en) Method and device for information push
KR101735755B1 (en) Method and apparatus for prompting device connection
WO2015176483A1 (en) Label creation method and device, and terminal
CN108011990B (en) Contact management method and device
CN108803892B (en) Method and device for calling third party application program in input method
CN107402767B (en) Method and device for displaying push message
CN111061452A (en) Voice control method and device of user interface
US20160349947A1 (en) Method and device for sending message
CN104951522B (en) Method and device for searching
JP2017520877A5 (en)
CN110213062B (en) Method and device for processing message
EP3460717A1 (en) Method, apparatus, terminal, and computer-readable storage medium for processing fingerprints
CN108108356B (en) Character translation method, device and equipment
US20170289306A1 (en) Method, device and storage medium for synchronizing states
CN116339577A (en) List detection method, device, electronic equipment and readable storage medium
US20170180968A1 (en) Method, apparatus and computer-readable medium for cellular data monitoring
CN107526683B (en) Method and device for detecting functional redundancy of application program and storage medium
CN112631695A (en) Data verification method and device, electronic equipment and storage medium
CN112068793A (en) Voice input method and device
CN111258436B (en) Configuration information modification method, device and readable medium
CN114020504B (en) Data processing method and device, electronic equipment and storage medium

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