Electric energy adjusting method and related device

文档序号:1214862 发布日期:2020-09-04 浏览:17次 中文

阅读说明:本技术 一种电能调节方法和相关装置 (Electric energy adjusting method and related device ) 是由 闫家乐 于 2020-05-25 设计创作,主要内容包括:本申请实施例公开了一种电能调节方法及相关装置,该方法包括:获取服务器对应的电能属性信息;根据所述电能属性对应的电能转化效率确定切换阈值;判断总输出功率是否达到所述切换阈值;若达到,将服务器切换为所述切换阈值对应的工作状态。该方法可以针对服务器所拥有的电能属性信息确定对应的切换阈值,并在服务器的总输出功率达到该切换阈值时,将服务器切换为该切换阈值对应的工作状态,从而提高是服务器工作状态能够贴合实际电能情况,提高了电能转化效率。(The embodiment of the application discloses an electric energy adjusting method and a related device, wherein the method comprises the following steps: acquiring electric energy attribute information corresponding to a server; determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute; judging whether the total output power reaches the switching threshold value; and if so, switching the server to be in a working state corresponding to the switching threshold value. The method can determine the corresponding switching threshold value aiming at the electric energy attribute information owned by the server, and switches the server to the working state corresponding to the switching threshold value when the total output power of the server reaches the switching threshold value, so that the working state of the server can be matched with the actual electric energy condition, and the electric energy conversion efficiency is improved.)

1. A method of regulating electrical energy, the method comprising:

acquiring electric energy attribute information corresponding to a server;

determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute;

judging whether the total output power reaches the switching threshold value;

and if so, switching the server to be in a working state corresponding to the switching threshold value.

2. The method of claim 1, wherein the power attribute information comprises:

any one or more of the combination of the total number of batteries, the redundant power of batteries, the total output power of batteries, the rated power of batteries and the number of batteries in an operating state.

3. The method of claim 2, wherein determining the switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute comprises:

determining the input power of a power supply according to the total number of the batteries, the number of the batteries in the working state, the redundant power of the batteries, the total output power of the batteries and the rated power of the batteries;

determining the electric energy conversion efficiency corresponding to the electric energy attribute according to the power input power and the total output power of the battery;

and determining the total output power value of the battery corresponding to the highest electric energy conversion efficiency as the switching threshold value.

4. The method of claim 1, wherein the handover threshold value comprises a plurality of handover threshold values.

5. An electric energy adjusting device is characterized by comprising an acquisition unit, a determination unit, a judgment unit and a switching unit:

the acquisition unit is used for acquiring the electric energy attribute information corresponding to the server;

the determining unit is used for determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute;

the judging unit is used for judging whether the total output power reaches the switching threshold value;

and the switching unit is used for switching the server to a working state corresponding to the switching threshold value if the switching threshold value is reached.

6. The apparatus of claim 5, wherein the power attribute information comprises:

any one or more of the combination of the total number of batteries, the redundant power of batteries, the total output power of batteries, the rated power of batteries and the number of batteries in an operating state.

7. The apparatus of claim 6, wherein the determining unit is configured to:

determining the input power of a power supply according to the total number of the batteries, the number of the batteries in the working state, the redundant power of the batteries, the total output power of the batteries and the rated power of the batteries;

determining the electric energy conversion efficiency corresponding to the electric energy attribute according to the power input power and the total output power of the battery;

and determining the total output power value of the battery corresponding to the highest electric energy conversion efficiency as the switching threshold value.

8. The apparatus of claim 5, wherein the handover threshold value comprises a plurality of handover threshold values.

9. An apparatus for power conditioning, the apparatus comprising a processor and a memory:

the memory is used for storing program codes and transmitting the program codes to the processor;

the processor is configured to execute the power regulating method according to any one of claims 1 to 4 according to instructions in the program code.

10. A computer-readable storage medium for storing a computer program for executing the power regulating method according to any one of claims 1 to 4.

Technical Field

The present application relates to the field of power management, and in particular, to a power conditioning method and related apparatus.

Background

With the continuous development of computer technology, the requirements of people on the functions and the quality of the servers are continuously improved, and therefore the design level of the servers is also continuously improved. Among them, the power consumption of the server is one of the important criteria of the design level of the server. The higher the efficiency of the conversion of electrical energy input to the server, the higher the design level of the server.

In the related art, the power regulation of the servers is performed according to the same default regulation method of the system, which is difficult to meet the power requirements of different servers, and the power conversion efficiency is low.

Disclosure of Invention

In order to solve the technical problem, the application provides an electric energy adjusting method, which can determine a corresponding switching threshold value according to electric energy attribute information owned by a server, and switch the server to a working state corresponding to the switching threshold value when the total output power of the server reaches the switching threshold value, so that the working state of the server can be matched with the actual electric energy condition, and the electric energy conversion efficiency is improved.

The embodiment of the application discloses the following technical scheme:

in a first aspect, the present application provides a method of regulating electrical energy, the method comprising:

acquiring electric energy attribute information corresponding to a server;

determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute;

judging whether the total output power reaches the switching threshold value;

and if so, switching the server to be in a working state corresponding to the switching threshold value.

Optionally, the electric energy attribute information includes:

any one or more of the combination of the total number of batteries, the redundant power of batteries, the total output power of batteries, the rated power of batteries and the number of batteries in an operating state.

Optionally, the determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute includes:

determining the input power of a power supply according to the total number of the batteries, the number of the batteries in the working state, the redundant power of the batteries, the total output power of the batteries and the rated power of the batteries;

determining the electric energy conversion efficiency corresponding to the electric energy attribute according to the power input power and the total output power of the battery;

and determining the total output power value of the battery corresponding to the highest electric energy conversion efficiency as the switching threshold value.

Optionally, the handover threshold may include a plurality of handover thresholds.

In a second aspect, an embodiment of the present application provides an electric energy adjusting apparatus, where the apparatus includes an obtaining unit, a determining unit, and a switching unit:

the acquisition unit is used for acquiring the electric energy attribute information corresponding to the server;

the determining unit is used for determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute;

the judging unit is used for judging whether the total output power reaches the switching threshold value;

and the switching unit is used for switching the server to a working state corresponding to the switching threshold value if the switching threshold value is reached.

Optionally, the electric energy attribute information includes:

any one or more of the combination of the total number of batteries, the redundant power of batteries, the total output power of batteries, the rated power of batteries and the number of batteries in an operating state.

Optionally, the determining unit is configured to:

determining the input power of a power supply according to the total number of the batteries, the number of the batteries in the working state, the redundant power of the batteries, the total output power of the batteries and the rated power of the batteries;

determining the electric energy conversion efficiency corresponding to the electric energy attribute according to the power input power and the total output power of the battery;

and determining the total output power value of the battery corresponding to the highest electric energy conversion efficiency as the switching threshold value.

Optionally, the handover threshold may include a plurality of handover thresholds.

In a third aspect, the present application provides an apparatus for power regulation, the apparatus comprising a processor and a memory:

the memory is used for storing program codes and transmitting the program codes to the processor;

the processor is configured to execute the power regulating method of the first aspect according to instructions in the program code.

In a fourth aspect, the present application provides a computer readable storage medium for storing a computer program for executing the power regulating method of the first aspect.

According to the technical scheme, when the server is subjected to electric energy adjustment, the processing equipment can obtain the electric energy attribute information corresponding to the server, then determine the corresponding electric energy conversion efficiency according to the electric energy attribute information, and select the threshold with the highest electric energy conversion efficiency as the switching threshold. After determining the switching threshold value, the processing equipment can judge whether the total output power of the server reaches the switching threshold value, if so, the server is switched to the working state corresponding to the switching threshold value, so that electric energy can be adjusted for the server, the server can be guaranteed to work under the environment with higher electric energy conversion efficiency to a certain extent, electric energy waste is reduced, and electric energy conversion efficiency is improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.

Fig. 1 is a schematic diagram of an electric energy adjustment method in an actual application scenario provided in an embodiment of the present application;

fig. 2 is a flowchart of an electric energy regulating method according to an embodiment of the present application;

fig. 3 is a block diagram of an electric energy regulating device according to an embodiment of the present disclosure;

fig. 4 is a block diagram of an apparatus for power conditioning according to an embodiment of the present disclosure;

fig. 5 is a block diagram of a server according to an embodiment of the present application.

Detailed Description

Embodiments of the present application are described below with reference to the accompanying drawings.

The electric energy conversion efficiency is an important standard for judging the design level of the server. In the related art, a common power adjustment method is to adjust power through a default switching threshold of a system, without considering an actual working condition of a server and a corresponding power attribute, and different servers often have different power attributes, so that it is difficult to achieve an effect of improving power conversion efficiency.

In order to solve the technical problem, the application provides an electric energy adjusting method, which can determine a corresponding switching threshold value according to electric energy attribute information owned by a server, and switch the server to a working state corresponding to the switching threshold value when the total output power of the server reaches the switching threshold value, so that the working state of the server can be matched with the actual electric energy condition, and the electric energy conversion efficiency is improved.

It is understood that the method may be applied to a processing device that is capable of power conditioning, such as a terminal device or a server having power conditioning functionality. The method can be independently executed through the terminal equipment or the server, can also be applied to a network scene of communication between the terminal equipment and the server, and is executed through the cooperation of the terminal equipment and the server. The terminal device may be a computer, a Personal Digital Assistant (PDA), a tablet computer, or the like. The server may be understood as an application server or a Web server, and in actual deployment, the server may be an independent server or a cluster server. Meanwhile, in a hardware environment, the technology has been implemented in the following environments: an ARM architecture processor, an X86 architecture processor; in a software environment, the technology has been implemented in the following environments: android platform, Windows xp and operating systems or Linux operating systems.

In order to facilitate understanding of the technical solution of the present application, the electric energy adjusting method provided in the embodiment of the present application will be described below with reference to an actual application scenario.

Referring to fig. 1, fig. 1 is a schematic view of an application scenario of the power regulating method provided in the present application, in which a processing device is a terminal device 101. When the server works, the terminal device 101 may obtain the electric energy attribute information of the server, determine the corresponding electric energy conversion efficiency according to the electric energy attribute information, and then determine a better switching threshold according to the electric energy conversion efficiency.

Subsequently, the terminal device 101 may monitor the total output power of the server, and when the total output power reaches the switching threshold, it indicates that the server needs to adjust the working state at this time to improve the power conversion efficiency. The terminal device 101 may generate a switching instruction to control the server to switch to the operating state corresponding to the switching threshold. In this actual application scenario, the working state corresponding to the switching threshold is working state B, and after receiving the switching instruction sent by the terminal device 101, the server may switch the working state from working state a to working state B according to the switching instruction.

Therefore, the terminal device 101 can set the switching threshold value in a targeted manner according to the current power attribute information of the server, so that the determined switching threshold value can be matched with the power working condition of the server. The terminal device 101 may monitor the total output power of the server, and control the server to switch to the working state corresponding to the switching threshold when the total output power reaches the switching threshold, thereby improving the electric energy conversion efficiency when the server works.

Next, a power regulating method provided in an embodiment of the present application will be described with reference to the accompanying drawings.

Referring to fig. 2, fig. 2 illustrates a flow chart of a power conditioning method, the method comprising:

s201: and acquiring the electric energy attribute information corresponding to the server.

In order to be able to specifically regulate the power of the server, the processing device first needs to be able to know the power information of the server. In a possible implementation manner, the processing device may first obtain the power attribute information corresponding to the server, where the power attribute information can reflect the power condition of the server.

It is understood that the power attribute information may include a plurality of types, and in one possible implementation, the power attribute information includes: any one or more of the combination of the total number of batteries, the redundant power of batteries, the total output power of batteries, the rated power of batteries and the number of batteries in an operating state. Wherein, the total number of the batteries refers to the total number of the batteries included in the server; the battery redundant power refers to the electric energy power absorbed by the battery from the power supply in a cold redundant state; the total output power of the battery refers to the total output power of all the batteries in the working state in the server; the battery rated power refers to the rated power output by a single battery in a working state; the operating state battery number refers to the number of batteries in an operating state.

S202: and determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute.

In order to improve the electric energy conversion efficiency of the server, the processing device may operate the battery in the server in a state of high electric energy conversion efficiency. It is understood that the server may include a plurality of batteries, and the states of the batteries may be different under different operating states of the server. In the embodiment of the present application, the battery state mainly includes two states, i.e., an operating state and a cold redundancy state. The working state means that the battery is currently supplying power for the server, and the cold redundancy state means that the battery is not currently used for supplying power for the server. For example, when the total output power of the server is low, the battery in the working state is less, and the battery in the cold redundancy state is more; when the total output power of the server is higher, more batteries are in the working state, and less batteries are in the cold redundancy state.

It is understood that the output power of the battery is different, and the electric energy conversion efficiency of the battery is also different. In order to make the electric energy conversion efficiency of the battery in the working state higher, the processing device may determine, according to the obtained electric energy attribute, a total output power value of the battery when the server battery is in the highest electric energy conversion efficiency in different working states, and use the power value as a switching threshold. When the processing device monitors that the total power reaches the switching threshold, the server can be adjusted to a working state corresponding to the switching threshold, so that the battery can be ensured to work in a state with the highest electric energy conversion efficiency to a certain extent.

It is understood that the method for determining the switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute may include various methods. In one possible implementation, the processing device may determine the power input power, which refers to the total power input by the power supply to the server, according to the total number of batteries in the power attribute, the number of operating state batteries, the battery redundant power, the total output power of the batteries, and the rated power of the batteries. Subsequently, the processing device may determine the electric energy conversion efficiency corresponding to the electric energy attribute according to the power input power and the total output power of the battery, and finally determine the total output power value of the battery corresponding to the highest electric energy conversion efficiency as the switching threshold.

S203: and judging whether the total output power reaches a switching threshold value.

After determining the switching threshold, the processing device may obtain the total output power of the server and determine whether the switching threshold is reached. When the total output power of the server reaches the switching threshold, it indicates that the server needs to switch the working state to the working state corresponding to the switching threshold at this time, so that the battery can work in the state with higher electric energy conversion efficiency.

It is to be understood that, for further fine-tuning the power of the server, in a possible implementation, the switching threshold determined according to the power attribute may include a plurality of switching thresholds.

S204: and if so, switching the server to a working state corresponding to the switching threshold value.

When the processing device determines that the total output power of the server reaches the switching threshold, it may be determined that the server needs to switch the operating state to maintain high power conversion efficiency of the battery. At this time, the processing device may switch the server to an operating state corresponding to the switching threshold.

According to the technical scheme, when the server is subjected to electric energy adjustment, the processing equipment can obtain the electric energy attribute information corresponding to the server, then determine the corresponding electric energy conversion efficiency according to the electric energy attribute information, and select the threshold with the highest electric energy conversion efficiency as the switching threshold. After determining the switching threshold value, the processing equipment can judge whether the total output power of the server reaches the switching threshold value, if so, the server is switched to the working state corresponding to the switching threshold value, so that electric energy can be adjusted for the server, the server can be guaranteed to work under the environment with higher electric energy conversion efficiency to a certain extent, electric energy waste is reduced, and electric energy conversion efficiency is improved.

Next, an electric energy adjusting method provided in the embodiment of the present application will be described in conjunction with an actual application scenario. In the actual application scenario, the processing device is a terminal device that monitors the power state of the server.

The terminal device may first obtain power attribute information of the server, where the power attribute information includes a total number n of batteries and a redundant power P of the batteriesStandbyTotal output power P of the batteryoutBattery rated power PoutMaxAnd the number m of the working state batteries. The terminal equipment can set two sets of switching thresholds according to two states of power rising and power falling. For example, when n is 4, the terminal device may set a set of power up switching threshold x1,2、x2,3、x3,4A set of power down switching thresholds x4,3、x3,2、x2,1. Wherein xi,jRefers to a switching threshold value for switching j operating state batteries from x operating state batteries.

In order to accurately obtain the switching threshold, the terminal device may traverse all possible switching thresholds according to the electric energy conversion efficiency corresponding to the electric energy attribute through the related software. For example, the terminal device can be controlled by MATLAB software from 1 to n P by the following formulaoutMaxTraverse PoutCalculating the electric energy conversion efficiency of the server:

when P is presentout<x1,2At this time, the electric energy conversion efficiency of only one battery in the working state can be calculated as follows:

wherein the content of the first and second substances,refers to the electric energy conversion efficiency of the battery in the current working state,

Figure BDA0002507166850000073

refers to the amount of power that the battery absorbs from the power source in the current operating state. Therefore, the denominator part of the formula represents the total power currently absorbed by all the batteries from the power supply, and the numerator part represents the total power currently output by all the batteries, so that the formula can identify the electric energy conversion efficiency of the current server.

In the same way, when x1,2<Pout<x2,3The formula of the electric energy conversion efficiency is as follows:

and so on until xn-1,n<PoutThe formula of the electric energy conversion efficiency is as follows:

Figure BDA0002507166850000082

thus, the terminal device may obtain a function y (i), which is defined by:

i∈[1,n*PoutMax]

subsequently, the terminal device may determine an average conversion efficiency of the electric energy conversion efficiency function over the defined domain:

Figure BDA0002507166850000083

finally, the terminal device may traverse each set of switching thresholds to determine a set of total output power values of the battery that maximizes the average power conversion efficiency, and use the values as the switching thresholds.

At the same time, the threshold value x is switched in the calculation of the power down state4,3、x3,2、x2,1In order to make the threshold setting more reasonable and prevent the occurrence of the condition of false switching, the terminal device can limit the value range between the rising/falling thresholds of the two working states. For example, the following limitations can be made:

Figure BDA0002507166850000084

based on the electric energy adjusting method provided in the foregoing embodiment, an embodiment of the present application further provides an electric energy adjusting apparatus 300, as shown in fig. 3, the apparatus 300 includes an obtaining unit 301, a determining unit 302, a determining unit 303, and a switching unit 304:

an obtaining unit 301, configured to obtain power attribute information corresponding to a server;

a determining unit 302, configured to determine a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute;

a judging unit 303, configured to judge whether the total output power reaches a switching threshold;

and a switching unit 304, configured to switch the server to the working state corresponding to the switching threshold if the switching threshold is reached.

In one possible implementation, the power attribute information includes:

any one or more of the combination of the total number of batteries, the redundant power of batteries, the total output power of batteries, the rated power of batteries and the number of batteries in an operating state.

In a possible implementation manner, the determining unit 302 is configured to:

determining the input power of a power supply according to the total number of batteries, the number of the batteries in a working state, the redundant power of the batteries, the total output power of the batteries and the rated power of the batteries;

determining electric energy conversion efficiency corresponding to the electric energy attribute according to the input power of the power supply and the total output power of the battery;

and determining the total output power value of the battery corresponding to the highest electric energy conversion efficiency as a switching threshold value.

In one possible implementation, the handover threshold may include a plurality of handover thresholds.

The embodiment of the application also provides a device for electric energy regulation, which is described below with reference to the attached drawings. Referring to fig. 4, an apparatus 400 may also be a terminal apparatus, where the terminal apparatus 400 may be any intelligent terminal including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like, and the terminal apparatus is taken as the mobile phone as an example:

fig. 4 is a block diagram illustrating a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Referring to fig. 4, the handset includes: a Radio Frequency (RF) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and a power supply 490. Those skilled in the art will appreciate that the handset configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

The following describes each component of the mobile phone in detail with reference to fig. 4:

the RF circuit 410 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 480; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 410 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 410 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.

The memory 420 may be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 420. The memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store 4 data created according to the use of the cellular phone (such as audio data, a phonebook, etc.), and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The input unit 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also called a touch screen, may collect touch operations of a user on or near the touch panel 431 (e.g., operations of the user on or near the touch panel 431 using any suitable object or accessory such as a finger or a stylus) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device and converts it to touch point coordinates, which are provided to the processor 480 and can receive and execute commands from the processor 1480. In addition, the touch panel 431 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 430 may include other input devices 432 in addition to the touch panel 431. In particular, other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

The display unit 440 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 440 may include a display panel 441, and optionally, the display panel 441 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation on or near the touch panel 431, the touch panel is transmitted to the processor 480 to determine the type of the touch event, and then the processor 480 provides a corresponding visual output on the display panel 441 according to the type of the touch event. Although the touch panel 431 and the display panel 441 are shown in fig. 4 as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 431 and the display panel 441 may be integrated to implement the input and output functions of the mobile phone.

The handset may also include at least one sensor 450, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 441 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 441 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.

Audio circuit 460, speaker 461, microphone 462 may provide an audio interface between the user and the cell phone. The audio circuit 460 may transmit the electrical signal converted from the received audio data to the speaker 461, and convert the electrical signal into a sound signal for output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which is received by the audio circuit 460 and converted into audio data, which is then processed by the audio data output processor 480 and then transmitted to, for example, another cellular phone via the RF circuit 410, or output to the memory 420 for further processing.

WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 470, and provides wireless broadband Internet access for the user. Although fig. 4 shows the WiFi module 470, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.

The processor 480 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory 420, thereby integrally monitoring the mobile phone. Optionally, processor 480 may include one or more processing units; preferably, the processor 480 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 480.

The handset also includes a power supply 490 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 480 via a power management system, so that the power management system may perform functions such as managing charging, discharging, and power consumption.

Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.

In this embodiment, the processor 480 included in the terminal device further has the following functions:

acquiring electric energy attribute information corresponding to a server;

determining a switching threshold according to the electric energy conversion efficiency corresponding to the electric energy attribute;

judging whether the total output power reaches the switching threshold value;

and if so, switching the server to be in a working state corresponding to the switching threshold value.

Referring to fig. 5, fig. 5 is a block diagram of a server 500 provided in this embodiment, where the server 500 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 522 (e.g., one or more processors) and a memory 532, and one or more storage media 530 (e.g., one or more mass storage devices) for storing applications 542 or data 544. Memory 532 and storage media 530 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 530 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 522 may be configured to communicate with the storage medium 530, and execute a series of instruction operations in the storage medium 530 on the server 500.

The server 500 may also include one or more power supplies 526, one or more wired or wireless network interfaces 550, one or more input-output interfaces 558, and/or one or more operating systems 541, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.

The steps performed by the server in the above embodiments may be based on the server structure shown in fig. 5.

The embodiment of the present application further provides a computer-readable storage medium for storing a computer program, where the computer program is used to execute any one implementation of the electric energy regulation method described in the foregoing embodiments.

Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium may be at least one of the following media: various media that can store program codes, such as read-only memory (ROM), RAM, magnetic disk, or optical disk.

It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.

The above description is only one specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电子设备、动作方法以及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!