Output power control method and device and terminal equipment
By identifying and adjusting the output power of the photography lamp battery, the safety hazards caused by the use of unofficial batteries of the photography lamp are solved, and flexible use and safety guarantees of different battery types are achieved.
Patent Information
- Application Number
- CN202410840955.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-11-12
AI Technical Summary
There are limitations in the use of official batteries in existing photography lights, while the use of unofficial batteries may lead to safety hazards such as heating or fire in the battery, limiting the battery's selectivity and flexibility in use.
By obtaining the type of the battery and adjusting the output power according to its rated power, so that it is less than or equal to the rated power of the battery, identify the battery type with a magnetic induction module or communication module, and adjust the output power according to the identified type to avoid the battery overload state.
It effectively reduces safety accidents caused by battery overload, ensures that different battery types can be powered, reduces the limitations on battery types, and improves the flexibility of use.
Smart Images

Figure CN118939070A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of battery control technology, and in particular, relates to a method, device and terminal equipment for controlling output power. Background Art
[0002] With the rapid development of photography technology, higher requirements are placed on the light efficiency of photography lights. Usually, photography lights can be powered by removable batteries. At present, there are many types of photography lights and batteries, and the output power of different photography lights and batteries is also different. There is a situation where the rated power of the battery is less than the output power of the photography light, which makes the battery in an overloaded state, which is prone to safety accidents such as battery heating or even fire.
[0003] Based on this, different photography lights will limit their applicable batteries to reduce the occurrence of safety accidents, that is, only the official batteries applicable to the photography light are used to power the photography light, and other batteries except the official batteries cannot power the photography light. As a result, when the official battery is damaged or exhausted, other batteries cannot be used to power the photography light, affecting the normal use of the photography light, which has certain limitations. Summary of the invention
[0004] The embodiments of the present application provide a method, device and terminal device for controlling output power, aiming to solve the problem that the existing photographic lights have limitations when using only official batteries, and there are safety hazards such as battery heating or even fire when using batteries other than official batteries.
[0005] In a first aspect, an embodiment of the present application provides a method for controlling output power, the method comprising:
[0006] Obtaining the battery type of the battery in the target object;
[0007] According to the battery type, the output power of the target object is adjusted to a target output power, wherein the target output power is less than or equal to a rated power of the battery, and the rated powers of batteries of different battery types are different.
[0008] In a possible implementation manner of the first aspect, the target object includes a magnetic induction module, and obtaining the battery type of the battery in the target object includes:
[0009] If the magnetic induction module detects the magnetic induction signal, determining that the battery type of the battery is a first power battery type;
[0010] If the magnetic induction module does not detect the magnetic induction signal, determining that the battery type of the battery is a second power battery type;
[0011] The rated power of the battery corresponding to the first power battery type is greater than the rated power of the battery corresponding to the second power battery type.
[0012] In a possible implementation manner of the first aspect, the target object includes a communication module, the communication module is used to communicate with a battery in the target object, and obtaining the battery type of the battery in the target object includes:
[0013] Acquiring specification information of the battery in the target object through the communication module;
[0014] The battery type of the battery is determined according to the specification information.
[0015] In a possible implementation manner of the first aspect, determining the battery type of the battery according to the specification information includes:
[0016] Determining the rated power of the battery according to the specification information;
[0017] Determining the maximum output power of the target object;
[0018] When the rated power of the battery is less than the maximum output power, the battery type of the battery is determined to be a second power battery type; when the rated power of the battery is greater than or equal to the maximum output power, the battery type of the battery is determined to be a first power battery type.
[0019] In a possible implementation manner of the first aspect, adjusting the output power of the target object to the target output power according to the battery type includes:
[0020] When the battery type is a first power battery type, adjusting the output power of the target object to a first target output power, wherein the first target output power is less than or equal to the rated power of the battery;
[0021] In a case where the battery type is a second power battery type, the output power of the target object is adjusted to a second target output power, where the second target output power corresponds to the rated power of the battery.
[0022] In a possible implementation manner of the first aspect, when the battery type information is a first power battery type, adjusting the output power of the target object to a first target output power includes:
[0023] When the battery type information is a first power battery type, determining an output requirement of the target object;
[0024] According to the output requirement, the output power of the target object is adjusted to a first target output power.
[0025] In a possible implementation manner of the first aspect above, the output requirement includes a first power output requirement and a second power output requirement, and the output power corresponding to the first power output requirement is less than the output power corresponding to the second power output requirement;
[0026] When the output requirement is the first power output requirement, the first target output power corresponds to the first power output requirement;
[0027] When the output requirement is the second power output requirement, the first target output power corresponds to the second power output requirement.
[0028] In a second aspect, a device for controlling output power includes:
[0029] A determination module, used to obtain the battery type of the battery in the target object;
[0030] A control module is used to adjust the output power of the target object to a target output power according to the battery type, wherein the target output power is less than or equal to the rated power of the battery, and the rated powers of batteries of different battery types are different.
[0031] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the output power control method provided in the first aspect above is implemented.
[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the output power control method provided in the first aspect above is implemented.
[0033] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0034] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0035] In an embodiment of the present application, by obtaining the battery type of the battery in the target object, and adjusting the output power of the target object to the target output power according to the battery type, and the target output power is less than or equal to the rated power of the battery, the output power of the target object is adjusted to be less than or equal to the rated power of the battery, thereby reducing the situation where the battery is in an overload state and causes safety accidents. In addition, the rated powers of batteries of different battery types are different, so the output power of the target object can be controlled based on batteries of different battery types, that is, batteries of different battery types can all power the target object, reducing the limitations of the target object on the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flowchart of a method for controlling output power provided by an embodiment of the present application;
[0037] Figure 2a This is a schematic diagram of the structure of a battery compartment of a target object provided by an embodiment of the present application;
[0038] Figure 2b is a schematic structural diagram of a battery applicable to a target object provided by an embodiment of the present application;
[0039] Figure 3 is a flowchart of another method for controlling output power provided by an embodiment of the present application;
[0040] Figure 4 is a flowchart of an output power control method provided by an embodiment of the present application;
[0041] Figure 5 It is a structural schematic diagram of an output power control device provided by an embodiment of the present application;
[0042] Figure 6 This is a structural block diagram of a communication device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] See also Figure 1 , Figure 1 A flowchart of a method for controlling output power provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0045] Step 101, obtaining the battery type of the battery in the target object.
[0046] The target object may be an object that limits the battery to which it is applicable, such as a camera light, an electric bicycle, etc. At least one battery compartment may be provided in the target object, and the battery compartment may be used to fix and protect a removable battery, so that the battery in the battery compartment can discharge the target object. The battery type may be a type of battery. Specifically, the battery type may be classified according to the rated power of the battery, such as a battery type A for a battery with a rated power of 0 to 50 watts, a battery type B for a battery with a rated power of 50 to 100 watts, and so on.
[0047] When it is identified that a battery compartment in the target object stores a battery and needs to be powered by the battery in the target object, the battery type of the battery in the target object can be obtained.
[0048] In one embodiment of the present application, the target object may include a magnetic induction module, which may be used to detect a magnetic induction signal, and the magnetic induction module may be disposed on a battery compartment of the target object.
[0049] See also Figure 2a , Figure 2a A schematic diagram of the structure of a battery compartment of a target object provided by an embodiment of the present application is shown. Figure 2a As shown, the battery compartment 1 may be provided with a cavity for fixing and placing the battery, and the cavity may be provided with a buckle 11 for fixing the battery, a battery contact 12 for electrically connecting to the battery, and a magnetic induction module 13.
[0050] Correspondingly, only the battery applicable to the target object may be provided with a corresponding magnetic module, and the magnetic module may be used to output a magnetic induction signal.
[0051] See also Figure 2b , Figure 2b A schematic diagram of the structure of a battery suitable for a target object provided by an embodiment of the present application is shown. Figure 2b As shown, the battery 2 may be provided with a snap hole 21 for snap connection with the snap of the battery compartment, a battery contact 22 for electrically connecting with the battery contact of the battery compartment, and a magnetic module 23.
[0052] When the battery compartment in the target object stores a battery, the battery contacts in the battery compartment can be electrically connected to the battery contacts of the battery, thereby being able to identify that a battery is stored in the battery compartment. When it is identified that a battery is stored in the battery compartment in the target object and power needs to be supplied by the battery in the target object, a magnetic induction module disposed in the battery compartment can be used to detect whether there is a magnetic induction signal of the battery stored in the battery compartment. If the magnetic induction module detects a magnetic induction signal, it can be determined that the battery type of the battery is a first power battery type. If the magnetic induction module does not detect a magnetic induction signal, it can be determined that the battery type of the battery is a second power battery type.
[0053] Among them, the rated power of batteries of different battery types is different, the rated power of the battery corresponding to the first power battery type is greater than the rated power of the battery corresponding to the second power battery type, the first power battery type can be the battery type corresponding to the battery with a rated power greater than or equal to the output power of the target object, and the second power battery type can be the battery type corresponding to the battery with a rated power less than the output power of the target object.
[0054] In actual applications, in order to reduce the occurrence of safety accidents, the target object will be equipped with an official battery, that is, a battery suitable for the target object will be designed. Usually, the official battery will make improvements to the battery contacts, such as increasing the contact area with the battery contact, increasing the thickness of the battery contact, and having a built-in protection circuit, etc., thereby reducing the situation where the official battery is overloaded when the target object is powered by the official battery, and reducing the hidden dangers of safety accidents such as battery heating or even fire.
[0055] In order to identify official batteries and batteries other than official batteries, the magnetic induction module in the battery compartment can be used to detect whether there is a magnetic induction signal in the battery stored in the battery compartment. If the battery stored in the battery compartment is an official battery, and the official battery is provided with a magnetic module, the magnetic induction module in the battery compartment can detect the magnetic induction signal output by the magnetic module in the official battery, so that the battery stored in the battery compartment can be identified as an official battery, and the battery type of the official battery is defined as the first power battery type. If the battery stored in the battery compartment is other batteries, and the other batteries are not designed with corresponding magnetic modules, and the magnetic induction module in the battery compartment fails to detect the magnetic induction signal, so that the battery stored in the battery compartment can be identified as an unofficial battery, that is, other batteries, and the battery type of the other batteries is defined as the second power battery type.
[0056] In one embodiment of the present application, the target object may include a communication module, which may be used to transmit data with other devices, or to communicate with a battery in the target object. The communication module may include a wired communication module or a wireless communication module.
[0057] Correspondingly, the official battery can be provided with a communication module for communicating with the target object, that is, only the battery suitable for the target object can be provided with a communication module.
[0058] When the battery compartment of the target object stores a battery, the battery contacts in the battery compartment can be electrically connected to the battery contacts of the battery, thereby being able to identify that the battery compartment stores a battery. When it is identified that the battery compartment of the target object stores a battery and needs to be powered by the battery in the target object, the communication module can be used to communicate with the battery stored in the battery compartment, thereby being able to obtain the official battery specification information in the target object.
[0059] The specification information may include information such as identification information and rated power information of the battery. The identification information may be used to identify information such as the model, brand, and production date of the battery.
[0060] As an example, when the official battery is stored in the battery compartment and the communication module is a wired communication module, the official battery can be electrically connected to the battery contact of the battery compartment through the battery contact, and then the wired communication module in the target object can transmit electrical signals through the electrical connection to communicate with the official battery and obtain the specification information of the official battery. When the official battery is stored in the battery compartment and the communication module is a wireless communication module, the official battery can output wireless signals such as Bluetooth signals, wireless network signals, broadcast signals, etc. through the corresponding wireless communication module, and then the wireless communication module in the target object can detect and obtain the address in the wireless signal, communicate with the official battery, and obtain the specification information of the official battery.
[0061] In actual applications, at least one battery can be stored in the battery compartment. When at least two official batteries are stored in the battery compartment, the target object can communicate with each official battery separately, and then obtain the specification information of each official battery.
[0062] After obtaining the specification information of the battery in the target object, the battery type of the battery can be determined according to the specification information.
[0063] In practical applications, since the specification information includes the rated power information of the official battery, the rated power of the official battery can be determined according to the specification information. After obtaining the rated power of the official battery, the maximum output power of the target object can be determined, and the maximum output power of the target object can be compared with the rated power of the official battery. Then, when the rated power of the official battery is less than the maximum output power, the battery type of the official battery can be determined to be the second power battery type, and when the rated power of the battery is greater than or equal to the maximum output power, the battery type of the official battery can be determined to be the first power battery type.
[0064] In a specific implementation, since the target object will be updated and iterated, there will be target objects of different models and official batteries of different models, and the rated powers of official batteries of different models will also be different, so it is necessary to determine the rated power of the official battery currently stored in the target object, and compare the rated power of the official battery with the maximum output power of the current model of the target object, so as to determine the battery type of the official battery currently stored in the target object.
[0065] Step 102: adjusting the output power of the target object to the target output power according to the battery type.
[0066] The target output power is less than or equal to the rated power of the battery.
[0067] After obtaining the battery type of the battery in the target object, the output power of the target object may be adjusted to the target output power, that is, the output power of the target object may be adjusted to be smaller than the rated power of the battery corresponding to the battery type.
[0068] As an example, different battery types can be defined in advance, and corresponding target output powers can be set for different battery types, and the target output power can be less than or equal to the rated power of the battery corresponding to the battery type. After obtaining the battery type of the battery in the target object, the target output power corresponding to the battery type of the battery in the target object can be determined, and the output power of the target object can be adjusted to the target output power.
[0069] For example, the battery type may include a first power battery type and a second power battery type, and the rated power of the battery corresponding to the first power battery type may be 100W, and the rated power of the battery corresponding to the second power battery type may be 75W. Furthermore, the target output power corresponding to the first power battery type may be defined as 100W, and the target output power corresponding to the second power battery type may be defined as 50W.
[0070] It should be understood that when the battery type is a first power battery type and the target output power corresponding to the first power battery type is greater than or equal to the maximum output power of the target object, the output power of the target object is adjusted to the maximum output power.
[0071] In an embodiment of the present application, by obtaining the battery type of the battery in the target object, and adjusting the output power of the target object to the target output power according to the battery type, and the target output power is less than or equal to the rated power of the battery, the output power of the target object is adjusted to be less than or equal to the rated power of the battery, thereby reducing the situation where the battery is in an overload state and causes safety accidents. In addition, the rated powers of batteries of different battery types are different, so the output power of the target object can be controlled based on batteries of different battery types, that is, batteries of different battery types can all power the target object, reducing the limitations of the target object on the battery.
[0072] See also Figure 3 , Figure 3 A flowchart of another method for controlling output power provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0073] Step 301, obtaining the battery type of the battery in the target object.
[0074] Step 302: When the battery type is a first power battery type, adjust the output power of the target object to a first target output power.
[0075] The first target output power is less than or equal to the rated power of the battery.
[0076] When it is obtained that the battery type of the battery in the target object is the first power battery type, the output power of the target object may be adjusted to be less than or equal to the rated power of the battery.
[0077] In actual applications, when the battery type of the battery in the target object is the first power battery type, it can be indicated that the battery in the target object is an official battery, and the maximum output power of the target object can be less than or equal to the rated power of the official battery, and then the output power of the target object can be adjusted according to actual needs. Generally, in the absence of actual needs, the output power of the target object can be adjusted to the maximum output power.
[0078] In an embodiment of the present application, in step 302, when the battery type is a first power battery type, adjusting the output power of the target object to the first target output power may include steps 3021 to 3022:
[0079] Step 3021: When the battery type information is a first power battery type, determine the output requirement of the target object.
[0080] The output requirement may be a user's usage requirement for a target object, and different output requirements may correspond to different output powers.
[0081] When the battery type information is a first power battery type, the user's output requirement for the target object may be acquired through key input, voice input, gesture input, or the like.
[0082] For example, when the target object is a photography light, the photography light may include at least two lighting modes, such as a lighting mode with a color temperature of 4000K and a lighting mode with a brightness of 7000 lumens. The user can control the lighting mode of the target object by pressing buttons based on the selection of the lighting mode. The target object can then obtain the user's button input information and determine the user's output requirements for the target object.
[0083] Since different output requirements can correspond to different output powers, the type of output requirements can be determined based on the size of the output power, and the first power output requirement and the second power output requirement can be obtained, that is, the output requirements of the target object can include the first power output requirement and the second power output requirement, and the output requirement with an output power less than the output power threshold is determined as the first power output requirement, and the output requirement with an output power greater than or equal to the output power threshold is determined as the second power output requirement, that is, the output power corresponding to the first power output requirement is less than the output power corresponding to the second power output requirement. The output power threshold can be user-defined.
[0084] For example, the first output requirement may be a lighting mode with a color temperature of 3000K and a brightness of 500 lumens, and the corresponding output power may be 50W. The second output requirement may be a lighting mode with a color temperature of 4000K and a brightness of 1500 lumens, and the corresponding output power may be 100W. The output power threshold may be 50W. Then, the first output requirement may be determined as the first power output requirement, and the second output requirement may be the second power output requirement.
[0085] Step 3022: According to the output requirement, the output power of the target object is adjusted to the first target output power.
[0086] Wherein, when the output demand is a first power output demand, the first target output power corresponds to the first power output demand; when the output demand is a second power output demand, the first target output power corresponds to the second power output demand.
[0087] After obtaining the output demand of the target object, the type of the output demand can be determined, and when the output demand is a first power output demand, the output power of the target object can be adjusted to an output power corresponding to the first power output demand, and when the output demand is a second power output demand, the output power of the target object can be adjusted to an output power corresponding to the second power output demand.
[0088] Step 303: When the battery type is a second power battery type, adjust the output power of the target object to a second target output power.
[0089] The second target output power corresponds to the rated power of the battery.
[0090] When it is determined that the battery type of the battery in the target object is the second power battery type, the output power of the target object may be adjusted to an output power corresponding to the rated power of the battery.
[0091] In practical applications, when the battery type of the battery in the target object is the second power battery type, it can indicate that the battery in the target object is other batteries, and the maximum output power of the target object is greater than the rated power of other batteries, and thus the output power of the target object needs to be adjusted to the output power corresponding to the rated power of the battery, so as to reduce the situation where the output power of the target object is greater than the rated power of other batteries, causing other batteries to be overloaded, and reduce the safety hazard of battery heating or even fire.
[0092] In an embodiment of the present application, by obtaining the battery type of the battery in the target object, and when the battery type is a first power battery type, the output power of the target object is adjusted to a first target output power, the first target output power is less than or equal to the rated power of the battery, and when the battery type is a second power battery type, the output power of the target object is adjusted to a second target output power, the second target output power corresponds to the rated power of the battery, and thus the output power of the target object can be controlled based on batteries of different battery types, that is, batteries of different battery types can all power the target object, reducing the limitations of the target object on the battery, and by adjusting the output power of the target object to be less than or equal to the rated power of the battery, the situation where the battery is in an overloaded state and a safety accident occurs is reduced.
[0093] See also Figure 4 , Figure 4 A flowchart of an output power control method provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0094] Step 401, the process starts;
[0095] Step 402, detecting whether there is a magnetic induction signal through the magnetic induction module in the target object, if yes, executing step 403, if no, executing step 404;
[0096] Step 403, determining that the battery type of the battery in the target object is a first power battery type, and executing step 405;
[0097] Step 404, determining that the battery type of the battery in the target object is a second power battery type, and executing step 406;
[0098] Step 405, when the battery type is a first power battery type, adjusting the output power of the target object to a first target output power;
[0099] Step 406, when the battery type is a second power battery type, adjusting the output power of the target object to a second target output power;
[0100] Step 407, end the process.
[0101] The battery type of the battery in the target object is obtained, and according to the battery type, the output power of the target object is adjusted to the target output power, and the target output power is less than or equal to the rated power of the battery, so that the output power of the target object is adjusted to be less than or equal to the rated power of the battery, thereby reducing the situation where the battery is in an overload state and causes safety accidents. In addition, the rated powers of batteries of different battery types are different, so the output power of the target object can be controlled based on batteries of different battery types, that is, batteries of different battery types can all power the target object, reducing the limitations of the target object on the battery.
[0102] See also Figure 5 , Figure 5 A schematic diagram of the structure of an output power control device provided in an embodiment of the present application is shown, which may specifically include the following modules:
[0103] A determination module 501 is used to obtain the battery type of the battery in the target object;
[0104] The control module 502 is used to adjust the output power of the target object to the target output power according to the battery type, wherein the target output power is less than or equal to the rated power of the battery, and the rated power of batteries of different battery types is different.
[0105] In one implementation, the target object includes a magnetic induction module, and the determination module 501 may also be used to:
[0106] If the magnetic induction module detects a magnetic induction signal, determining that the battery type of the battery is a first power battery type;
[0107] If the magnetic induction module does not detect the magnetic induction signal, determining that the battery type of the battery is a second power battery type;
[0108] The rated power of the battery corresponding to the first power battery type is greater than the rated power of the battery corresponding to the second power battery type.
[0109] In one implementation, the target object includes a communication module, and the communication module is used to communicate with the battery in the target object. The above-mentioned determination module 501 can also be used to:
[0110] Obtain specification information of the battery in the target object through the communication module;
[0111] Based on the specification information, determine the battery type of the battery.
[0112] In one implementation, the determination module 501 may also be used to:
[0113] Based on the specification information, determine the battery type of the battery, including:
[0114] Determine the rated power of the battery based on the specification information;
[0115] Determine the maximum output power of the target object;
[0116] When the rated power of the battery is less than the maximum output power, the battery type is determined to be the second power battery type; when the rated power of the battery is greater than or equal to the maximum output power, the battery type is determined to be the first power battery type.
[0117] In one implementation, the control module 502 may also be used to:
[0118] When the battery type is a first power battery type, adjusting the output power of the target object to a first target output power, the first target output power being less than or equal to the rated power of the battery;
[0119] In the case where the battery type is a second power battery type, the output power of the target object is adjusted to a second target output power, and the second target output power corresponds to the rated power of the battery.
[0120] In one implementation, the control module 502 may also be used to:
[0121] When the battery type information is a first power battery type, determining an output requirement of the target object;
[0122] According to the output requirement, the output power of the target object is adjusted to the first target output power.
[0123] In one implementation, the output requirement includes a first power output requirement and a second power output requirement, and the output power corresponding to the first power output requirement is less than the output power corresponding to the second power output requirement;
[0124] When the output requirement is a first power output requirement, the first target output power corresponds to the first power output requirement;
[0125] When the output requirement is the second power output requirement, the first target output power corresponds to the second power output requirement.
[0126] In an embodiment of the present application, by obtaining the battery type of the battery in the target object, and adjusting the output power of the target object to the target output power according to the battery type, and the target output power is less than or equal to the rated power of the battery, the output power of the target object is adjusted to be less than or equal to the rated power of the battery, thereby reducing the situation where the battery is in an overload state and causes safety accidents. In addition, the rated powers of batteries of different battery types are different, so the output power of the target object can be controlled based on batteries of different battery types, that is, batteries of different battery types can all power the target object, reducing the limitations of the target object on the battery.
[0127] It should be noted that the information interaction, execution process and other contents between the above-mentioned devices are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0128] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0129] See also Figure 6 , Figure 6 A structural block diagram of a terminal device provided by an embodiment of the present application is shown as follows: Figure 6 As shown, this embodiment provides a terminal device 61, which includes: at least one processor 611, a memory 612, and a computer program 6121 stored in the memory 612 and executable on at least one processor 611, and when the processor 611 executes the computer program 6121, the steps in any of the above-mentioned method embodiments are implemented.
[0130] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments can be implemented.
[0131] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0132] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the camera device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium.
[0133] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for controlling output power, characterized in that: The method comprises: Obtaining the battery type of the battery in the target object; According to the battery type, the output power of the target object is adjusted to a target output power, wherein the target output power is less than or equal to a rated power of the battery, and the rated powers of batteries of different battery types are different.
2. The method for controlling output power according to claim 1, characterized in that: The target object includes a magnetic induction module, and obtaining the battery type of a battery in the target object includes: If the magnetic induction module detects the magnetic induction signal, determining that the battery type of the battery is a first power battery type; If the magnetic induction module does not detect the magnetic induction signal, determining that the battery type of the battery is a second power battery type; The rated power of the battery corresponding to the first power battery type is greater than the rated power of the battery corresponding to the second power battery type.
3. The method for controlling output power according to claim 1, characterized in that: The target object includes a communication module, and the communication module is used to communicate with a battery in the target object. The obtaining of the battery type of the battery in the target object includes: Acquiring specification information of the battery in the target object through the communication module; The battery type of the battery is determined according to the specification information.
4. The method for controlling output power according to claim 3, characterized in that: The step of determining the battery type of the battery according to the specification information includes: Determining the rated power of the battery according to the specification information; Determining the maximum output power of the target object; When the rated power of the battery is less than the maximum output power, the battery type of the battery is determined to be a second power battery type; when the rated power of the battery is greater than or equal to the maximum output power, the battery type of the battery is determined to be a first power battery type.
5. The method for controlling output power according to claim 2 or 4, characterized in that: The step of adjusting the output power of the target object to a target output power according to the battery type includes: When the battery type is a first power battery type, adjusting the output power of the target object to a first target output power, wherein the first target output power is less than or equal to the rated power of the battery; In a case where the battery type is a second power battery type, the output power of the target object is adjusted to a second target output power, where the second target output power corresponds to the rated power of the battery.
6. The method for controlling output power according to claim 5, characterized in that: When the battery type information is a first power battery type, adjusting the output power of the target object to a first target output power includes: When the battery type information is a first power battery type, determining an output requirement of the target object; According to the output requirement, the output power of the target object is adjusted to a first target output power.
7. The method for controlling output power according to claim 6, characterized in that: The output requirement includes a first power output requirement and a second power output requirement, and the output power corresponding to the first power output requirement is less than the output power corresponding to the second power output requirement; When the output requirement is the first power output requirement, the first target output power corresponds to the first power output requirement; When the output requirement is the second power output requirement, the first target output power corresponds to the second power output requirement.
8. An output power control device, characterized in that: The device comprises: A determination module, used to obtain the battery type of the battery in the target object; A control module is used to adjust the output power of the target object to a target output power according to the battery type, wherein the target output power is less than or equal to the rated power of the battery, and the rated powers of batteries of different battery types are different.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
