CN109656308B - Frequency configuration adjusting method and device, electronic equipment and storage medium - Google Patents

Frequency configuration adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109656308B
CN109656308B CN201811550955.9A CN201811550955A CN109656308B CN 109656308 B CN109656308 B CN 109656308B CN 201811550955 A CN201811550955 A CN 201811550955A CN 109656308 B CN109656308 B CN 109656308B
Authority
CN
China
Prior art keywords
adjusting
clock chip
interface
frequency configuration
extensible firmware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811550955.9A
Other languages
Chinese (zh)
Other versions
CN109656308A (en
Inventor
王玉龙
赵雪峰
李超
李强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201811550955.9A priority Critical patent/CN109656308B/en
Publication of CN109656308A publication Critical patent/CN109656308A/en
Application granted granted Critical
Publication of CN109656308B publication Critical patent/CN109656308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/08Clock generators with changeable or programmable clock frequency

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method and a device for adjusting frequency configuration, wherein the method comprises the following steps: determining a clock chip on a drive module supporting terminal of a unified extensible firmware interface, registering and adjusting a plurality of adjusting interfaces of frequency configuration of the clock chip, wherein the adjusting interfaces correspond to a plurality of frequency configuration information one by one, creating receiving inlets in an operation interface of the unified extensible firmware interface corresponding to each adjusting interface respectively, and adjusting the frequency configuration of the clock chip based on the receiving inlets, so that a tester can adjust the frequency configuration of the clock chip under the operation interface of the unified extensible firmware interface, recompilation and updating of a BIOS are not needed after code change every time, the problem that the process of adjusting the frequency configuration is too complicated is avoided, and the efficiency of an electromagnetic interference test process is improved.

Description

Frequency configuration adjusting method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for adjusting frequency configuration, an electronic device, and a readable storage medium.
Background
Spread Spectrum (Spread Spectrum) is a commonly used wireless communication technology, referred to as Spread Spectrum technology. When the clock generator on the mainboard works, the peak value of the pulse can generate electromagnetic interference (EMI), and the electromagnetic interference generated by the pulse generator can be reduced by the spread spectrum technology. When the electromagnetic interference problem is not met, the values of all the items are set as Disabled, so that the system performance can be optimized, and the system stability is improved; if an electromagnetic interference problem is encountered, the term should be set to "Enabled" in order to reduce electromagnetic interference. When overclocking a processor, it is preferable to set this term "Disabled" because even a slight peak drift can cause a brief burst of clock, which can cause the processor to be locked after overclocking.
In the electromagnetic interference test process, the CPU clock spread spectrum needs to be adjusted so as to pass the electromagnetic interference test. Currently, adjusting the clock spread spectrum of a CPU is to set the configuration of a certain clock chip in UEFI (Unified Extensible Firmware Interface) code, and then enter an operating system to start an electromagnetic interference test.
If the test needs to change another configuration, the configuration needs to be changed again in the UEFI code, the UEFI is compiled, the BIOS is updated, and the test is performed again, so that the waste of labor and time is caused, and the low efficiency of the test process is caused.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for adjusting frequency configuration, an electronic device, and a readable storage medium, so as to avoid the problem that the process of adjusting frequency configuration is too complicated, and further improve the efficiency of the electromagnetic interference test process.
In order to solve the above problem, the present invention provides a method for adjusting a frequency configuration, including:
determining a clock chip on a driving module supporting terminal of a unified extensible firmware interface;
registering a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip, wherein the adjusting interfaces correspond to the frequency configuration information one by one;
creating receiving inlets in the operation interfaces of the unified extensible firmware interface corresponding to each adjusting interface respectively;
adjusting a frequency configuration of the clock chip based on the receive entry.
Optionally, before the determining that the driver module of the unified extensible firmware interface supports the clock chip on the terminal, the method further includes:
loading a driving module of the unified extensible firmware interface;
and installing a driver binding protocol of a unified extensible firmware interface at an entry point of the driver module.
Optionally, the determining a clock chip on the driver module support terminal of the unified extensible firmware interface includes:
reading a clock chip identifier on the terminal by using the support service of the driver binding protocol;
matching the clock chip identification on the terminal with the clock chip identification supported by the driving module by using the supporting service of the driver binding protocol;
and determining a clock chip on the drive module support terminal according to a matching result by utilizing the support service of the drive program binding protocol.
Optionally, the registering a plurality of adjustment interfaces for adjusting the frequency configuration of the clock chip includes:
registering the plurality of adjustment interfaces into an installation service of the driver binding protocol.
Optionally, the creating a receiving entry in the operation interface of the unified extensible firmware interface corresponding to each adjustment interface respectively includes:
generating a plurality of receiving entries in an operation interface of the unified extensible firmware interface;
and establishing a one-to-one corresponding relation between the plurality of receiving inlets and the plurality of adjusting interfaces.
Correspondingly, the invention also provides a device for adjusting frequency configuration, which comprises:
the chip determining module is used for determining a clock chip on a driving module supporting terminal of the unified extensible firmware interface;
the interface registration module is used for registering a plurality of adjustment interfaces for adjusting the frequency configuration of the clock chip, and the adjustment interfaces correspond to the frequency configuration information one by one;
the entrance establishing module is used for establishing receiving entrances in the operation interfaces of the unified extensible firmware interfaces corresponding to the adjusting interfaces respectively;
and the adjusting module is used for adjusting the frequency configuration of the clock chip based on the receiving inlet.
Optionally, the apparatus further comprises:
the loading module is used for loading the driving module of the unified extensible firmware interface before the clock chip on the terminal is supported by the driving module of the unified extensible firmware interface;
and the protocol installation module is used for installing a driver binding protocol of a unified extensible firmware interface at an entry point of the driver module.
Optionally, the chip determination module includes:
the identification reading submodule is used for reading the clock chip identification on the terminal by utilizing the support service of the driver binding protocol;
the matching submodule is used for matching the clock chip identifier on the terminal with the clock chip identifier supported by the driving module by utilizing the supporting service of the driving program binding protocol;
and the chip determining submodule is used for determining a clock chip on the drive module supporting terminal according to the matching result by utilizing the support service of the drive program binding protocol.
Optionally, the interface registration module includes:
and the registration submodule is used for registering the plurality of adjustment interfaces into the installation service of the driver binding protocol.
Optionally, the portal creation module includes:
the entry generation submodule is used for generating a plurality of receiving entries in an operation interface of the unified extensible firmware interface;
and the relation establishing submodule is used for establishing the one-to-one corresponding relation between the plurality of receiving inlets and the plurality of adjusting interfaces.
Accordingly, the present invention also provides an electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors, the one or more programs including instructions for:
determining a clock chip on a driving module supporting terminal of a unified extensible firmware interface;
registering a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip, wherein the adjusting interfaces correspond to the frequency configuration information one by one;
creating receiving inlets in the operation interfaces of the unified extensible firmware interface corresponding to each adjusting interface respectively;
adjusting a frequency configuration of the clock chip based on the receive entry.
Accordingly, the present invention also provides a readable storage medium, wherein when the instructions in the storage medium are executed by a processor of the electronic device, the electronic device is enabled to execute the above frequency configuration adjustment method.
According to the embodiment of the invention, a clock chip on a drive module supporting terminal of a unified extensible firmware interface is determined, a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip are registered, the adjusting interfaces correspond to a plurality of frequency configuration information one by one, a receiving inlet in an operation interface of the unified extensible firmware interface corresponding to each adjusting interface is created, and the frequency configuration of the clock chip is adjusted based on the receiving inlet, so that a tester can adjust the frequency configuration of the clock chip under the operation interface of the unified extensible firmware interface, recompilation and updating of a BIOS are not needed after code change every time, the problem that the process of adjusting the frequency configuration is too complicated is avoided, and the efficiency of an electromagnetic interference test process is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for adjusting a frequency configuration according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for adjusting a frequency configuration according to a second embodiment of the present invention;
FIG. 3 shows a schematic diagram of a receive ingress creating an adjusted frequency configuration;
fig. 4 is a block diagram illustrating an embodiment of an apparatus for adjusting a frequency configuration according to a third embodiment of the present invention;
fig. 5 shows a block diagram of an electronic device for adjustment of a frequency configuration, according to an example embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of a method for adjusting frequency configuration according to a first embodiment of the present invention is shown, which may specifically include the following steps:
step 101, determining a clock chip on a terminal supported by a driving module of a unified extensible firmware interface.
The unified extensible firmware interface is a standard for a detailing type interface for an operating system to automatically load from a pre-booted operating environment onto an operating system.
In the embodiment of the invention, a driving module is realized based on a unified extensible firmware interface and is used for adjusting the frequency configuration of a clock chip. The driver module conforms to the specification of the unified extensible firmware interface. In order to adjust the frequency configuration of the clock chip on the terminal, it is first determined whether the driving module supports the clock chip on the terminal, and if not, the driving module cannot be directly used to adjust the frequency configuration of the clock chip on the terminal, and if so, step 102 is executed.
In this embodiment of the present invention, in an implementation manner of determining a clock chip on a driver module support terminal that unifies an extensible firmware interface, a support service of a driver binding protocol is utilized to read a clock chip identifier on the terminal, match the clock chip identifier on the terminal with a clock chip identifier supported by the driver module, and determine, according to a matching result, that the clock chip on the driver module support terminal is provided.
The DRIVER BINDING PROTOCOL refers to a DRIVER BINDING PROTOCOL of a unified extensible firmware interface, namely EFI _ DRIVER _ BINDING _ PROTOCOL, and comprises three services, Supported, Start and Stop. The Supported function must test to see if the driver supports the given controller. The Start function needs to power the device (if needed) and initialize the hardware and internal data structures, and then returns. The port must not be activated by this function. The Stop function must disable the device and power down the device (if necessary) by resetting the run/Stop bit.
Step 102, registering a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip, wherein the plurality of adjusting interfaces correspond to a plurality of frequency configuration information one to one.
In the embodiment of the present invention, the adjustment interface refers to a functional function interface for performing adjustment frequency configuration. When the frequency configuration of the clock chip is adjusted, a plurality of kinds of frequency configuration information can be preset, an adjustment interface is corresponding to each kind of frequency configuration information, the plurality of adjustment interfaces and the plurality of frequency configuration information are in one-to-one correspondence, and the clock chip is adjusted according to which kind of frequency configuration information and through which kind of adjustment interface the adjustment is performed.
The frequency configuration information refers to a group of information including frequency, spread spectrum amplitude, over-frequency amplitude and the like of the CPU, and a plurality of frequency configuration information can be preset for different types of CPUs and clock chips for selection of testers during electromagnetic interference tests.
For example, table 1 is 6 frequency configuration information for a certain clock chip:
clock chip ID CPU(MHz) Spread% (Spread spectrum) CPU Overclock% (overfrequency)
Configuration 1 196.00 Off -2%
Configuration 2 200.00 Off 0%
Configuration 3 204.00 Off 2%
Configuration 4 196.00 -0.5% -2%
Configuration 4 200.00 -0.5% 0%
Configuration 6 204.00 -0.5% 2%
In an embodiment of the present invention, an implementation manner of registering a plurality of adjustment interfaces for adjusting the frequency configuration of the clock chip includes: the plurality of adjustment interfaces are registered in the installation service of the driver binding protocol, or any other suitable implementation manner, which is not limited in this embodiment of the present invention.
And 103, creating receiving entries in the operation interfaces of the unified extensible firmware interface corresponding to the adjustment interfaces respectively.
In the embodiment of the present invention, a receiving entry is created in an operation interface of a unified extensible firmware interface, a plurality of receiving entries need to be created, each receiving entry corresponds to one adjustment interface, for example, a menu for adjusting frequency configuration is added in the operation interface of the unified extensible firmware interface, and each registered adjustment interface corresponds to an option (i.e., a receiving entry) in the menu one by one, so that when a corresponding option is selected in the menu, a function corresponding to the corresponding adjustment interface is executed, and the frequency configuration of the clock chip is adjusted to corresponding frequency configuration information.
In an embodiment of the present invention, one implementation manner of creating a receiving entry in an operation interface of a unified extensible firmware interface corresponding to each adjustment interface respectively may include: a plurality of receiving entries are generated in the operation interface of the unified extensible firmware interface, a one-to-one correspondence relationship between the plurality of receiving entries and the plurality of adjustment interfaces is established, or any other suitable implementation manner is implemented.
And 104, adjusting the frequency configuration of the clock chip based on the receiving inlet.
In the embodiment of the invention, when the electromagnetic interference test is carried out, the operation interface of the unified extensible firmware interface is entered, the frequency configuration of the clock chip is adjusted based on the receiving inlets, a tester selects among a plurality of receiving inlets, the adjustment of the frequency configuration of the clock chip is completed after one receiving inlet is selected, the operation interface of the unified extensible firmware interface is pushed out, and the electromagnetic interference test can be carried out by starting the operation system.
According to the embodiment of the invention, a clock chip on a drive module supporting terminal of a unified extensible firmware interface is determined, a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip are registered, the adjusting interfaces correspond to a plurality of frequency configuration information one by one, a receiving inlet in an operation interface of the unified extensible firmware interface corresponding to each adjusting interface is created, and the frequency configuration of the clock chip is adjusted based on the receiving inlet, so that a tester can adjust the frequency configuration of the clock chip under the operation interface of the unified extensible firmware interface, recompilation and updating of a BIOS are not needed after code change every time, the problem that the process of adjusting the frequency configuration is too complicated is avoided, and the efficiency of an electromagnetic interference test process is improved.
Referring to fig. 2, a flowchart illustrating steps of a method for adjusting frequency configuration according to a second embodiment of the present invention is shown, which may specifically include the following steps:
step 201, loading the driver module of the unified extensible firmware interface.
In the embodiment of the present invention, as shown in fig. 3, the schematic diagram of creating the receiving entry for adjusting the frequency configuration is that after the terminal is powered on, the driving module for adjusting the frequency configuration of the unified extensible firmware interface is loaded first.
Step 202, installing a driver binding protocol of the unified extensible firmware interface at an entry point of the driver module.
In the embodiment of the present invention, at the entry point of the DRIVER module, the DRIVER BINDING PROTOCOL of the unified extensible firmware interface, i.e., EFI _ DRIVER _ BINDING _ PROTOCOL, is installed.
And 203, reading the clock chip identifier on the terminal by using the support service of the driver binding protocol.
In the embodiment of the invention, a support service of a driver binding protocol is utilized, namely, in a Supported function, identifications of several Supported common clock chips are matched, specifically, clock chip identifications on a terminal, including Vendor ID (manufacturer ID) and Device ID (equipment ID), are read first.
And 204, matching the clock chip identifier on the terminal with the clock chip identifier supported by the driving module by using the supporting service of the driver binding protocol.
In the embodiment of the invention, the Supported function records the identifier of the clock chip Supported by the driving module, and the identifier of the clock chip on the terminal is matched with the identifier of the clock chip Supported by the driving module.
Step 205, determining the clock chip on the terminal supported by the driver module according to the matching result by using the support service of the driver binding protocol.
In the embodiment of the present invention, if the clock chip identifiers match, it is determined that the driver module supports the clock chip on the terminal, otherwise, the clock chip on the terminal is not supported, that is, the scheme of adjusting the frequency configuration according to the embodiment of the present invention cannot be executed, and the driver module needs to be modified to support the clock chip.
Step 206, registering the plurality of adjustment interfaces into the installation service of the driver binding protocol.
In the embodiment of the present invention, an installation service using a driver binding protocol registers, in a Start function, an adjustment interface for adjusting a frequency configuration of a clock chip corresponding to each clock chip.
Step 207, generating a plurality of receiving entries in the operation interface of the unified extensible firmware interface.
In the embodiment of the invention, a plurality of receiving entries, namely menu options, are generated in the operation interface of the unified extensible firmware interface.
Step 208, establishing a one-to-one correspondence relationship between the plurality of receiving entries and the plurality of adjusting interfaces.
In the embodiment of the invention, the one-to-one corresponding relation between a plurality of receiving inlets and a plurality of adjusting interfaces is established, and the binding of the receiving inlets and the adjusting interfaces is realized.
Step 209, adjusting the frequency configuration of the clock chip based on the receiving entry.
In the embodiment of the present invention, the specific implementation manner of this step may refer to the description in the foregoing embodiment, and details are not described herein.
According to the embodiment of the invention, a driver module of the unified extensible firmware interface is loaded, a driver binding protocol of the unified extensible firmware interface is installed at an entry point of the driver module, a support service of the driver binding protocol is utilized, a clock chip identifier on the terminal is read, the support service of the driver binding protocol is utilized to match the clock chip identifier on the terminal with the clock chip identifier supported by the driver module, the support service of the driver binding protocol is utilized to determine the clock chip on the terminal supported by the driver module according to a matching result, a plurality of adjustment interfaces are registered in the installation service of the driver binding protocol, a plurality of receiving inlets are generated in an operation interface of the unified extensible firmware interface, and a one-to-one correspondence relationship between the plurality of receiving inlets and the plurality of adjustment interfaces is established, the frequency configuration of the clock chip is adjusted based on the receiving inlet, so that a tester can adjust the frequency configuration of the clock chip under the operation interface of the unified extensible firmware interface, recompilation and updating of a BIOS (basic input output System) after code changing are not needed any more, the problem that the process of adjusting the frequency configuration is too complicated is avoided, and the efficiency of the electromagnetic interference testing process is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a structure of an embodiment of an adjusting apparatus for frequency configuration according to a third embodiment of the present invention is shown, and the structure may specifically include the following modules:
a chip determining module 301, configured to determine a clock chip on a driver module support terminal of the unified extensible firmware interface;
an interface registration module 302, configured to register multiple adjustment interfaces for adjusting the frequency configuration of the clock chip, where the multiple adjustment interfaces correspond to multiple pieces of frequency configuration information one to one;
an entry creating module 303, configured to create a receiving entry in an operation interface of the unified extensible firmware interface corresponding to each adjustment interface;
an adjusting module 304, configured to adjust a frequency configuration of the clock chip based on the receiving entry.
In this embodiment of the present invention, optionally, the apparatus further includes:
the loading module is used for loading the driving module of the unified extensible firmware interface before the clock chip on the terminal is supported by the driving module of the unified extensible firmware interface;
and the protocol installation module is used for installing a driver binding protocol of a unified extensible firmware interface at an entry point of the driver module.
In the embodiment of the present invention, optionally, the chip determining module includes:
the identification reading submodule is used for reading the clock chip identification on the terminal by utilizing the support service of the driver binding protocol;
the matching submodule is used for matching the clock chip identifier on the terminal with the clock chip identifier supported by the driving module by utilizing the supporting service of the driving program binding protocol;
and the chip determining submodule is used for determining a clock chip on the drive module supporting terminal according to the matching result by utilizing the support service of the drive program binding protocol.
In this embodiment of the present invention, optionally, the interface registration module includes:
and the registration submodule is used for registering the plurality of adjustment interfaces into the installation service of the driver binding protocol.
In this embodiment of the present invention, optionally, the entrance creating module includes:
the entry generation submodule is used for generating a plurality of receiving entries in an operation interface of the unified extensible firmware interface;
and the relation establishing submodule is used for establishing the one-to-one corresponding relation between the plurality of receiving inlets and the plurality of adjusting interfaces.
According to the embodiment of the invention, a clock chip on a drive module supporting terminal of a unified extensible firmware interface is determined, a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip are registered, the adjusting interfaces correspond to a plurality of frequency configuration information one by one, a receiving inlet in an operation interface of the unified extensible firmware interface corresponding to each adjusting interface is created, and the frequency configuration of the clock chip is adjusted based on the receiving inlet, so that a tester can adjust the frequency configuration of the clock chip under the operation interface of the unified extensible firmware interface, recompilation and updating of a BIOS are not needed after code change every time, the problem that the process of adjusting the frequency configuration is too complicated is avoided, and the efficiency of an electromagnetic interference test process is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 5 is a block diagram illustrating an electronic device 700 for adjustment of a frequency configuration, according to an example embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices 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 disks.
The power component 704 provides power to the various components of the electronic device 700. Power components 704 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 700.
The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of components, such as a display and keypad of the electronic device 700, the sensor assembly 714 may also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, orientation or acceleration/deceleration of the electronic device 700, and a change in the temperature of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 714 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 714 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 700 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the electronic device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal to perform a method of adjusting a frequency configuration, the method comprising:
determining a clock chip on a driving module supporting terminal of a unified extensible firmware interface;
registering a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip, wherein the adjusting interfaces correspond to the frequency configuration information one by one;
creating receiving inlets in the operation interfaces of the unified extensible firmware interface corresponding to each adjusting interface respectively;
adjusting a frequency configuration of the clock chip based on the receive entry.
Optionally, before the determining that the driver module of the unified extensible firmware interface supports the clock chip on the terminal, the method further includes:
loading a driving module of the unified extensible firmware interface;
and installing a driver binding protocol of a unified extensible firmware interface at an entry point of the driver module.
Optionally, the determining a clock chip on the driver module support terminal of the unified extensible firmware interface includes:
reading a clock chip identifier on the terminal by using the support service of the driver binding protocol;
matching the clock chip identification on the terminal with the clock chip identification supported by the driving module by using the supporting service of the driver binding protocol;
and determining a clock chip on the drive module support terminal according to a matching result by utilizing the support service of the drive program binding protocol.
Optionally, the registering a plurality of adjustment interfaces for adjusting the frequency configuration of the clock chip includes:
registering the plurality of adjustment interfaces into an installation service of the driver binding protocol.
Optionally, the creating a receiving entry in the operation interface of the unified extensible firmware interface corresponding to each adjustment interface respectively includes:
generating a plurality of receiving entries in an operation interface of the unified extensible firmware interface;
and establishing a one-to-one corresponding relation between the plurality of receiving inlets and the plurality of adjusting interfaces.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, 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 present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal 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 of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for adjusting frequency configuration and the device for adjusting frequency configuration provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method for adjusting a frequency configuration, comprising:
determining a clock chip on a driving module supporting terminal of a unified extensible firmware interface;
registering a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip, wherein the adjusting interfaces correspond to the frequency configuration information one by one; the adjusting interface is a functional function interface for executing adjusting frequency configuration;
creating receiving inlets in the operation interfaces of the unified extensible firmware interface corresponding to each adjusting interface respectively;
adjusting a frequency configuration of the clock chip based on the receive entry.
2. The method of claim 1, wherein prior to the determining that the driver module of the unified extensible firmware interface supports a clock chip on the terminal, the method further comprises:
loading a driving module of the unified extensible firmware interface;
and installing a driver binding protocol of a unified extensible firmware interface at an entry point of the driver module.
3. The method of claim 2, wherein determining that a driver module of the unified extensible firmware interface supports a clock chip on the terminal comprises:
reading a clock chip identifier on the terminal by using the support service of the driver binding protocol;
matching the clock chip identification on the terminal with the clock chip identification supported by the driving module by using the supporting service of the driver binding protocol;
and determining a clock chip on the drive module support terminal according to a matching result by utilizing the support service of the drive program binding protocol.
4. The method of claim 2, wherein registering a plurality of adjustment interfaces that adjust the frequency configuration of the clock chip comprises:
registering the plurality of adjustment interfaces into an installation service of the driver binding protocol.
5. The method according to any one of claims 1-4, wherein the creating of the receiving entry in the operation interface of the unified extensible firmware interface corresponding to each adjustment interface respectively comprises:
generating a plurality of receiving entries in an operation interface of the unified extensible firmware interface;
and establishing a one-to-one corresponding relation between the plurality of receiving inlets and the plurality of adjusting interfaces.
6. An apparatus for adjusting a frequency configuration, comprising:
the chip determining module is used for determining a clock chip on a driving module supporting terminal of the unified extensible firmware interface;
the interface registration module is used for registering a plurality of adjustment interfaces for adjusting the frequency configuration of the clock chip, and the adjustment interfaces correspond to the frequency configuration information one by one; the adjusting interface is a functional function interface for executing adjusting frequency configuration;
the entrance establishing module is used for establishing receiving entrances in the operation interfaces of the unified extensible firmware interfaces corresponding to the adjusting interfaces respectively;
and the adjusting module is used for adjusting the frequency configuration of the clock chip based on the receiving inlet.
7. The apparatus of claim 6, further comprising:
the loading module is used for loading the driving module of the unified extensible firmware interface before the clock chip on the terminal is supported by the driving module of the unified extensible firmware interface;
and the protocol installation module is used for installing a driver binding protocol of a unified extensible firmware interface at an entry point of the driver module.
8. The apparatus of claim 7, wherein the chip determination module comprises:
the identification reading submodule is used for reading the clock chip identification on the terminal by utilizing the support service of the driver binding protocol;
the matching submodule is used for matching the clock chip identifier on the terminal with the clock chip identifier supported by the driving module by utilizing the supporting service of the driving program binding protocol;
and the chip determining submodule is used for determining a clock chip on the drive module supporting terminal according to the matching result by utilizing the support service of the drive program binding protocol.
9. The apparatus of claim 7, wherein the interface registration module comprises:
and the registration submodule is used for registering the plurality of adjustment interfaces into the installation service of the driver binding protocol.
10. The apparatus of any of claims 6-9, wherein the portal creation module comprises:
the entry generation submodule is used for generating a plurality of receiving entries in an operation interface of the unified extensible firmware interface;
and the relation establishing submodule is used for establishing the one-to-one corresponding relation between the plurality of receiving inlets and the plurality of adjusting interfaces.
11. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
determining a clock chip on a driving module supporting terminal of a unified extensible firmware interface;
registering a plurality of adjusting interfaces for adjusting the frequency configuration of the clock chip, wherein the adjusting interfaces correspond to the frequency configuration information one by one; the adjusting interface is a functional function interface for executing adjusting frequency configuration;
creating receiving inlets in the operation interfaces of the unified extensible firmware interface corresponding to each adjusting interface respectively;
adjusting a frequency configuration of the clock chip based on the receive entry.
12. A readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of adjusting a frequency configuration according to any one of method claims 1-5.
CN201811550955.9A 2018-12-18 2018-12-18 Frequency configuration adjusting method and device, electronic equipment and storage medium Active CN109656308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811550955.9A CN109656308B (en) 2018-12-18 2018-12-18 Frequency configuration adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811550955.9A CN109656308B (en) 2018-12-18 2018-12-18 Frequency configuration adjusting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109656308A CN109656308A (en) 2019-04-19
CN109656308B true CN109656308B (en) 2020-10-27

Family

ID=66114840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811550955.9A Active CN109656308B (en) 2018-12-18 2018-12-18 Frequency configuration adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109656308B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262811A (en) * 2019-06-18 2019-09-20 深圳创维-Rgb电子有限公司 General configuration method, device and the storage medium of plug-in chip
CN112269422A (en) * 2020-10-10 2021-01-26 山东云海国创云计算装备产业创新中心有限公司 Clock generation circuit and spread spectrum test system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5828250A (en) * 1994-09-06 1998-10-27 Intel Corporation Differential delay line clock generator with feedback phase control
US20110264946A1 (en) * 2010-04-26 2011-10-27 Broadcom Corporation Modular integrated circuit with clock control circuit
CN103034510A (en) * 2012-10-26 2013-04-10 中国航天科工集团第二研究院七〇六所 UEFI and BIOS (unified extensible firmware interface and basic input output system) rapidly and safely starting method capable of being dynamically adjusted as requirements
TW201520894A (en) * 2013-11-18 2015-06-01 Insyde Software Corp Platform system, method for varying supporting hardware configuration of universal extensible firmware interface basic input output system, recording medium, and computer program product
CN105913868A (en) * 2016-03-31 2016-08-31 华为技术有限公司 Frequency adjusting method, system on chip, and terminal
CN206209457U (en) * 2016-09-13 2017-05-31 深圳中电长城信息安全系统有限公司 A kind of computer and the clock control circuit for computer motherboard

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7080304B2 (en) * 2002-02-26 2006-07-18 Teradyne, Inc. Technique for programming clocks in automatic test system
US7089443B2 (en) * 2003-01-23 2006-08-08 University Of Rochester Multiple clock domain microprocessor
US8581644B2 (en) * 2011-07-28 2013-11-12 Intel Corporation System and method providing bandwidth adjustment in integral path of phase locked loop circuitry
US9465404B2 (en) * 2014-08-06 2016-10-11 Freescale Semiconductor, Inc. Timing synchronization circuit for wireless communication apparatus
CN106802689B (en) * 2016-12-14 2020-01-17 西北工业大学 Method for implementing speed-adjustable high-precision timer under Windows operating system environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5828250A (en) * 1994-09-06 1998-10-27 Intel Corporation Differential delay line clock generator with feedback phase control
US20110264946A1 (en) * 2010-04-26 2011-10-27 Broadcom Corporation Modular integrated circuit with clock control circuit
CN103034510A (en) * 2012-10-26 2013-04-10 中国航天科工集团第二研究院七〇六所 UEFI and BIOS (unified extensible firmware interface and basic input output system) rapidly and safely starting method capable of being dynamically adjusted as requirements
TW201520894A (en) * 2013-11-18 2015-06-01 Insyde Software Corp Platform system, method for varying supporting hardware configuration of universal extensible firmware interface basic input output system, recording medium, and computer program product
CN105913868A (en) * 2016-03-31 2016-08-31 华为技术有限公司 Frequency adjusting method, system on chip, and terminal
CN206209457U (en) * 2016-09-13 2017-05-31 深圳中电长城信息安全系统有限公司 A kind of computer and the clock control circuit for computer motherboard

Also Published As

Publication number Publication date
CN109656308A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
EP3418885B1 (en) Method and device for calling software development kit
EP3057048A1 (en) Transfer method and apparatus
EP2945058B1 (en) Processing method and device for application program
US10055204B2 (en) Generating communication firmware and a program plug-in based on product information and a program template
JP6189000B2 (en) Application installation package processing method, apparatus, program, and recording medium
CN110941942B (en) Circuit schematic diagram inspection method, device and system
US10599288B2 (en) Method and device for displaying an application interface
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN109656308B (en) Frequency configuration adjusting method and device, electronic equipment and storage medium
CN113377370A (en) File processing method and device, electronic equipment and storage medium
CN105183571A (en) Function calling method and device
CN106612149B (en) Radio frequency circuit testing method, device and system and mobile terminal
CN111061452A (en) Voice control method and device of user interface
CN104951522B (en) Method and device for searching
JP2017520877A5 (en)
CN106293683B (en) Project compiling method and device
CN106162612A (en) Control the method and device of Root authority
CN112631695A (en) Data verification method and device, electronic equipment and storage medium
CN112817868A (en) Information processing method, apparatus and medium
CN111221593A (en) Dynamic loading method and device
CN108334357B (en) Intelligent terminal and flashing method thereof
CN107193622B (en) Code compiling processing method and device and terminal
US20190028464A1 (en) Method For Logging Into Account On Mobile Device, Mobile Device, And Non-Transitory Computer Readable Storage Medium
CN110990073B (en) Method and device for verifying customization requirements of application program
CN114420058B (en) Backlight adjusting 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Patentee after: Loongson Zhongke Technology Co.,Ltd.

Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Patentee before: LOONGSON TECHNOLOGY Corp.,Ltd.

CP01 Change in the name or title of a patent holder