CN105811543A - Electric quantity display method of mobile power source, mobile terminal and mobile power source - Google Patents
Electric quantity display method of mobile power source, mobile terminal and mobile power source Download PDFInfo
- Publication number
- CN105811543A CN105811543A CN201610370936.2A CN201610370936A CN105811543A CN 105811543 A CN105811543 A CN 105811543A CN 201610370936 A CN201610370936 A CN 201610370936A CN 105811543 A CN105811543 A CN 105811543A
- Authority
- CN
- China
- Prior art keywords
- information
- power source
- mobile terminal
- portable power
- battery status
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Telephone Function (AREA)
Abstract
本发明提供了一种移动电源的电量显示方法、移动终端及移动电源,其中,应用于移动终端的移动电源的电量显示方法包括:通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息;根据所述电池状态信息,确定所述移动电源的剩余电量信息,并将所述剩余电量信息显示在所述移动终端的显示屏上。本发明的方案,通过将移动电源的剩余电量信息显示在移动终端的显示屏上,解决了现有技术中用户无法精确了解移动电源的剩余电量而导致的使用不便的技术问题,使得用户可以从移动终端的显示屏上实时了解移动电源的剩余电量,提升了用户的使用体验。
The present invention provides a power display method for a mobile power supply, a mobile terminal and a mobile power supply, wherein the power display method for a mobile power supply applied to a mobile terminal includes: receiving the mobile power supply through a communication connection with a mobile power supply The battery status information; according to the battery status information, determine the remaining power information of the mobile power supply, and display the remaining power information on the display screen of the mobile terminal. The solution of the present invention solves the technical problem in the prior art that the user cannot accurately understand the remaining power of the mobile power source due to the inconvenient use by displaying the remaining power information of the mobile power source on the display screen of the mobile terminal, so that the user can use it from The remaining power of the mobile power supply can be known in real time on the display screen of the mobile terminal, which improves the user experience.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种移动电源的电量显示方法、移动终端及移动电源。The invention relates to the field of electronic technology, in particular to a power display method of a mobile power supply, a mobile terminal and a mobile power supply.
背景技术Background technique
目前,智能手机等移动终端已经成为人们生活必不可少的一部分。其中,随着手机使用频率的增加,用户对手机的电池容量的需求越来越大。然而,手机电池容量受空间限制,使得手机电池的续航能力很难满足消费者日益增长的需求,因此,手机使用移动电源充电的频率也越来越高。At present, mobile terminals such as smart phones have become an indispensable part of people's lives. Wherein, with the increase of the frequency of use of the mobile phone, the demand of the user for the battery capacity of the mobile phone is increasing. However, the battery capacity of mobile phones is limited by space, making it difficult for the battery life of mobile phones to meet the growing needs of consumers. Therefore, the frequency of charging mobile phones with mobile power sources is also increasing.
现有技术中,移动电源大多只有一个指示灯,可以显示充电状态,放电状态,欠压状态;有些移动电源有四个指示灯,能够粗略显示电量信息。由此可知,现有技术中的移动电源都不能精确显示其剩余电量,使得用户无法确切知道移动电源的剩余电量。所以如果用户需要出门带上移动电源,由于不知道移动电源的剩余电量是否能够满足手机的充电需求,所以会使得用户会感到使用极为不便。In the prior art, most mobile power supplies only have one indicator light, which can display charging status, discharge status, and undervoltage status; some mobile power supplies have four indicator lights, which can roughly display power information. It can be seen from this that none of the mobile power supplies in the prior art can accurately display its remaining power, so that the user cannot know exactly the remaining power of the mobile power supply. Therefore, if the user needs to go out with a mobile power supply, it will make the user feel extremely inconvenient to use because he does not know whether the remaining power of the mobile power supply can meet the charging needs of the mobile phone.
发明内容Contents of the invention
本发明实施例的目的在于提供一种移动电源的电量显示方法,以解决现有技术中用户无法精确了解移动电源的剩余电量而导致的使用不便的技术问题。The purpose of the embodiments of the present invention is to provide a power display method of a mobile power supply, so as to solve the technical problem in the prior art that the user cannot accurately know the remaining power of the mobile power supply and cause inconvenience in use.
为了解决上述技术问题,本发明采用如下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:
依据本发明实施例的一个方面,提供了一种移动电源的电量显示方法,应用于移动终端,该方法包括:According to an aspect of an embodiment of the present invention, a power display method of a mobile power supply is provided, which is applied to a mobile terminal, and the method includes:
通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息;Receive battery status information of a mobile power supply through a communication connection with the mobile power supply;
根据所述电池状态信息,确定所述移动电源的剩余电量信息,并将所述剩余电量信息显示在所述移动终端的显示屏上。According to the battery state information, the remaining power information of the mobile power supply is determined, and the remaining power information is displayed on the display screen of the mobile terminal.
依据本发明实施例的另一个方面,还提供了一种移动电源的电量显示方法,应用于移动电源,该方法包括:According to another aspect of the embodiment of the present invention, there is also provided a power display method for a mobile power supply, which is applied to a mobile power supply, and the method includes:
获取移动电源的电池状态信息;Obtain the battery status information of the mobile power supply;
将所述电池状态信息发送给与所述移动电源建立通信连接的一移动终端。Sending the battery status information to a mobile terminal establishing a communication connection with the mobile power supply.
依据本发明实施例的另一个方面,还提供了一种移动终端,包括:According to another aspect of the embodiments of the present invention, a mobile terminal is also provided, including:
接收模块,用于通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息;A receiving module, configured to receive battery status information of a mobile power supply through a communication connection with a mobile power supply;
显示模块,用于根据所述接收模块接收的所述电池状态信息,确定所述移动电源的剩余电量信息,并将所述剩余电量信息显示在所述移动终端的显示屏上。The display module is configured to determine the remaining power information of the mobile power supply according to the battery status information received by the receiving module, and display the remaining power information on the display screen of the mobile terminal.
依据本发明实施例的另一个方面,还提供了一种移动电源,包括:According to another aspect of the embodiments of the present invention, a mobile power supply is also provided, including:
获取模块,用于获取移动电源的电池状态信息;The acquisition module is used to acquire the battery status information of the mobile power supply;
发送模块,用于将所述获取模块获取的所述电池状态信息发送给与所述移动电源建立通信连接的一移动终端。A sending module, configured to send the battery status information acquired by the acquiring module to a mobile terminal establishing a communication connection with the mobile power supply.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明的实施例,通过移动电源获取自身的电池状态信息,并发送给与其建立了通信连接的移动终端,使得移动终端在接收到该电池状态信息后,可根据电池状态信息确定移动电源的剩余电量信息,并将确定的剩余电量信息显示在移动终端的显示屏上,使得用户可以清楚地了解移动电源的剩余电量,避免在了用户外出出差情况下出现电量不足的情况,大大改善了用户体验。In the embodiment of the present invention, the mobile power supply obtains its own battery status information and sends it to the mobile terminal that has established a communication connection with it, so that the mobile terminal can determine the remaining power of the mobile power supply according to the battery status information after receiving the battery status information. Power information, and display the determined remaining power information on the display screen of the mobile terminal, so that the user can clearly understand the remaining power of the mobile power supply, avoiding the situation of insufficient power when the user is on a business trip, and greatly improving the user experience .
附图说明Description of drawings
图1表示本发明第一实施例的移动电源的电量显示方法流程图;Fig. 1 shows the flow chart of the power display method of the mobile power supply according to the first embodiment of the present invention;
图2表示本发明第二实施例的移动电源的电量显示方法流程图;Fig. 2 shows the flow chart of the power display method of the mobile power supply according to the second embodiment of the present invention;
图3表示本发明第三实施例的移动终端的结构框图之一;Fig. 3 represents one of the structural block diagrams of the mobile terminal of the third embodiment of the present invention;
图4表示本发明第三实施例的移动终端的结构框图之二;Fig. 4 shows the second structural block diagram of the mobile terminal of the third embodiment of the present invention;
图5表示本发明第四实施例的移动电源的结构框图之一;Fig. 5 represents one of the structural block diagrams of the mobile power supply of the fourth embodiment of the present invention;
图6表示本发明第四实施例的移动电源的结构框图之二;Fig. 6 shows the second structural block diagram of the mobile power supply of the fourth embodiment of the present invention;
图7表示本发明第五实施例的移动终端的结构框图;Fig. 7 shows the structural block diagram of the mobile terminal of the fifth embodiment of the present invention;
图8表示本发明第六实施例的移动终端的结构框图;FIG. 8 shows a structural block diagram of a mobile terminal according to a sixth embodiment of the present invention;
图9表示本发明的实施例中移动终端显示移动电源的剩余电量信息的原理框图。Fig. 9 shows a functional block diagram of the mobile terminal displaying the remaining power information of the mobile power supply in an embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
第一实施例first embodiment
依据本发明实施例的一个方面,提供了一种移动电源的电量显示方法,如图1所示,该方法包括:According to an aspect of an embodiment of the present invention, a power display method of a mobile power supply is provided, as shown in FIG. 1 , the method includes:
步骤101:通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息。Step 101: Receive battery status information of a mobile power source through a communication connection with the mobile power source.
本发明实施例的移动电源的电量显示方法,应用于移动终端,该移动终端可为手机、平板电脑等智能电子设备。该移动终端在利用一移动电源进行充电时,需要与该移动电源建立连接,例如通过数据线连接,使得移动电源能够通过数据线将自身的电能传输给移动终端,为移动终端进行充电。而本发明的实施例中,移动电源需要将自身检测的电池状态信息发送给移动终端,所以移动电源与移动终端之间需要建立通信连接。The power display method of a mobile power supply according to an embodiment of the present invention is applied to a mobile terminal, and the mobile terminal may be an intelligent electronic device such as a mobile phone or a tablet computer. When the mobile terminal is charged by a mobile power supply, it needs to establish a connection with the mobile power supply, for example, through a data line connection, so that the mobile power supply can transmit its own electric energy to the mobile terminal through the data line to charge the mobile terminal. However, in the embodiment of the present invention, the mobile power supply needs to send the battery status information detected by itself to the mobile terminal, so a communication connection needs to be established between the mobile power supply and the mobile terminal.
因此,在步骤101之前还包括:Therefore, before step 101, it also includes:
按照预定通信协议,建立与一移动电源之间的通信连接。Establish a communication connection with a mobile power supply according to a predetermined communication protocol.
其中,建立通信连接的方式不限于是有线式,还可为无线式。具体地,有线式,如图9所示,可通过移动终端与移动电源之间的差分数据线(即D+和D-数据线)或数据线的正极线(USB_5V)来建立通信连接,从而使得移动终端能够通过差分数据线或数据线的正极线来接收移动电源发送的电池状态信息。Wherein, the manner of establishing the communication connection is not limited to a wired type, and may also be a wireless type. Specifically, the wired type, as shown in Figure 9, can establish a communication connection through the differential data lines (ie D+ and D- data lines) or the positive line (USB_5V) between the mobile terminal and the mobile power supply, so that The mobile terminal can receive the battery status information sent by the mobile power supply through the differential data line or the positive line of the data line.
步骤102:根据所述电池状态信息,确定所述移动电源的剩余电量信息,并将所述剩余电量信息显示在所述移动终端的显示屏上。Step 102: Determine the remaining power information of the mobile power supply according to the battery state information, and display the remaining power information on a display screen of the mobile terminal.
其中,电池在剩余不同电量的情况下,具有不同的电压值。所以,电池状态信息可用电池的电压信息表示,则当移动终端接收的电池状态信息为电压信息时,步骤102,具体为:Wherein, the battery has different voltage values under the condition of remaining different electric power. Therefore, the battery status information can be represented by the voltage information of the battery, and when the battery status information received by the mobile terminal is voltage information, step 102 is specifically:
根据预先存储的移动电源的电池电压与电量的对应关系,确定与所述电压信息对应的电量信息,并将所述电量信息作为所述移动电源的剩余电量信息。According to the pre-stored correspondence between the battery voltage and the power of the mobile power supply, the power information corresponding to the voltage information is determined, and the power information is used as the remaining power information of the mobile power supply.
即,移动电源通过自身的检测电路获取到电池的电压信息后,直接将电压信息发送给移动终端,则移动终端需要进一步根据电压信息确定电池的剩余电量信息。其中,对于移动电源,其内部电池具有电压与电量对比曲线图,所以,为了使得移动终端能够根据电压信息确定出对应的电量信息,该电压与电量对比曲线图需要预先存储到移动终端上。因此,移动终端根据电压与电量对比曲线图,可以确定出与接收的电压信息对应的电量信息,进而将该电量信息作为移动电源的剩余电量信息显示在显示屏上。That is, after the mobile power supply obtains the voltage information of the battery through its own detection circuit, it directly sends the voltage information to the mobile terminal, and the mobile terminal needs to further determine the remaining power information of the battery according to the voltage information. Wherein, for the mobile power supply, its internal battery has a voltage-to-power comparison graph, so in order for the mobile terminal to determine the corresponding power information based on the voltage information, the voltage-to-power comparison graph needs to be stored in the mobile terminal in advance. Therefore, the mobile terminal can determine the power information corresponding to the received voltage information according to the voltage-to-power comparison graph, and then display the power information on the display screen as the remaining power information of the mobile power supply.
另外,移动电源还可在通过自身的检测电路获取到电池的电压信息后,根据自身存储的电池的电压与电量对比曲线图,确定出与获取到的电压信息相对应的电量信息之后,将电量信息作为电池状态信息发送给移动终端,使得移动终端在接收到该电池状态信息后,直接将其作为移动电源的剩余电量信息进行显示。因此,当所述电池状态信息为电池的电量信息时,步骤102具体为:In addition, the mobile power supply can also obtain the voltage information of the battery through its own detection circuit, and determine the power information corresponding to the obtained voltage information according to the voltage and power comparison curve of the battery stored in itself. The information is sent to the mobile terminal as battery status information, so that the mobile terminal directly displays it as the remaining power information of the mobile power supply after receiving the battery status information. Therefore, when the battery state information is the power information of the battery, step 102 is specifically:
直接将所述电量信息作为所述移动电源的剩余电量信息。The power information is directly used as the remaining power information of the mobile power supply.
另外,如果移动终端的显示屏上显示移动电源的剩余电量小于预设阈值,例如移动电源总容量的30%,还可通过移动终端提示用户及时为移动电源补充电量,进一步提升用户的使用体验。In addition, if the display screen of the mobile terminal shows that the remaining power of the mobile power supply is less than a preset threshold, such as 30% of the total capacity of the mobile power supply, the mobile terminal can prompt the user to replenish the power supply for the mobile power supply in time, further improving the user experience.
由上述可知,本发明实施例的移动电源的电量显示方法,能够通过移动终端接收与其建立通信连接的移动电源发送的电池状态信息,并根据该电池状态信息确定出移动电源的剩余电量信息,进而显示在显示屏上,得用户可以清楚地了解移动电源的剩余电量,避免在了用户外出出差情况下出现电量不足的情况,大大改善了用户体验。As can be seen from the above, the power display method of the mobile power supply according to the embodiment of the present invention can receive the battery status information sent by the mobile power supply with which a communication connection has been established through the mobile terminal, and determine the remaining power information of the mobile power supply according to the battery status information, and then Displayed on the display screen, the user can clearly understand the remaining power of the mobile power supply, avoiding the situation of insufficient power when the user is out on a business trip, and greatly improving the user experience.
第二实施例second embodiment
依据本发明实施例的另一个方面,还提供了一种移动电源的电量显示方法,如图2所示,该方法包括:According to another aspect of the embodiments of the present invention, there is also provided a power display method for a mobile power supply, as shown in FIG. 2 , the method includes:
步骤201:获取移动电源的电池状态信息。Step 201: Obtain battery status information of a mobile power supply.
本发明实施例的移动电源的电量显示方法,应用于移动电源。其中,移动电源剩余不同电量的情况下,具有不同的电压值。所以,电池状态信息可用电池的电压信息表示。另外,移动电源内部设置有模数转换器(ADC),所以,移动电源可通过自身的ADC检测电路精确检测移动电源的电压信息。所以,当所述电池状态信息为电池的电压信息时,步骤201,具体为:The power display method of a mobile power supply according to an embodiment of the present invention is applied to a mobile power supply. Wherein, the mobile power supply has different voltage values when the remaining power is different. Therefore, the battery status information can be represented by the voltage information of the battery. In addition, the mobile power supply is provided with an analog-to-digital converter (ADC), so the mobile power supply can accurately detect the voltage information of the mobile power supply through its own ADC detection circuit. Therefore, when the battery state information is the voltage information of the battery, step 201 is specifically:
检测所述移动电源的电池的电压,获取所述电压信息。Detecting the voltage of the battery of the mobile power supply to obtain the voltage information.
或者,移动电源在通过ADC检测电路检测出电池的电压,获取到电压信息后,进一步根据预先存储的电压与电量对比曲线图,确定出与获取的电压信息相对应的电量信息。则当所述电池状态信息为电量信息时,步骤201包括:Alternatively, after the mobile power supply detects the voltage of the battery through the ADC detection circuit and obtains the voltage information, it further determines the power information corresponding to the obtained voltage information according to the pre-stored voltage-to-power comparison curve. Then when the battery state information is power information, step 201 includes:
检测所述移动电源的电池的电压,获取电压信息;Detecting the voltage of the battery of the mobile power supply to obtain voltage information;
根据预先存储的移动电源的电池电压与电量的对应关系,确定与所述电压信息对应的电量信息。According to the pre-stored correspondence between the battery voltage and the electric quantity of the mobile power supply, the electric quantity information corresponding to the voltage information is determined.
另外,在步骤201之前,还包括:In addition, before step 201, it also includes:
按照预定通信协议,建立与一移动终端之间的通信连接,控制断开与所述移动终端电连接的充电电路,直到所述电池状态信息发送给所述移动终端后控制导通与所述移动终端电连接的充电电路,为所述移动终端进行充电。According to a predetermined communication protocol, a communication connection with a mobile terminal is established, and the charging circuit electrically connected to the mobile terminal is controlled to be disconnected until the battery state information is sent to the mobile terminal, and the connection with the mobile terminal is controlled. The charging circuit electrically connected to the terminal charges the mobile terminal.
其中,建立通信连接的方式,不限于是有线式或无线式。当以有线式建立通信连接时,移动电源通过数据线与移动终端连接,触发移动电源启动开机程序,进而通过差分数据线或数据线的正极线与移动终端进行握手通信,建立通信连接。如果移动终端和移动电源握手通信不成功,则表示此移动电源不支持移动终端显示电量,属于非官方标配的移动电源。Wherein, the manner of establishing the communication connection is not limited to wired or wireless. When the communication connection is established in a wired manner, the mobile power supply is connected to the mobile terminal through the data line, triggers the mobile power supply to start the boot process, and then performs handshake communication with the mobile terminal through the differential data line or the positive line of the data line to establish a communication connection. If the handshake communication between the mobile terminal and the mobile power supply fails, it means that the mobile power supply does not support the mobile terminal to display the power, which is an unofficial standard mobile power supply.
另外,建立通信连接后,移动电源可暂缓为移动终端进行充电,并在步骤202之后为移动终端进行充电。因为在没有开始充电时,移动电源属于静态空载状态,此时检测移动电源的电压最精确。In addition, after the communication connection is established, the mobile power supply may suspend charging the mobile terminal, and charge the mobile terminal after step 202 . Because the mobile power supply is in a static no-load state when charging is not started, the most accurate detection of the voltage of the mobile power supply is at this time.
步骤202:将所述电池状态信息发送给与所述移动电源建立通信连接的一移动终端。Step 202: Send the battery status information to a mobile terminal that establishes a communication connection with the mobile power supply.
其中,无论电池状态信息用电压信息表示还是用电量信息表示,其在发送给移动终端之前,需要转换为数字信号。其中,当电池状态信息为电压信息时,可通过ADC检测电路首先检测电池的电压,然后将检测到的电压转换为数字电压信息;当电池状态信息为电量信息时,可首先通过ADC检测电路检测电池的电压,然后将检测到的电压转换为数字电压信息,然后根据电池的电压与电量对比曲线图,确定出电量信息,其中,为了简化处理方法,可在预先存储电压与电量的对应关系时,直接将电量信息以数字信号存储,使得根据预先存储的电压与电量对应关系,直接可获得数字信号形式的电量信息。Wherein, no matter whether the battery status information is represented by voltage information or power consumption information, it needs to be converted into a digital signal before being sent to the mobile terminal. Among them, when the battery status information is voltage information, the voltage of the battery can be detected first by the ADC detection circuit, and then the detected voltage is converted into digital voltage information; when the battery status information is power information, it can be detected first by the ADC detection circuit The voltage of the battery, and then convert the detected voltage into digital voltage information, and then determine the power information according to the comparison curve between the voltage and power of the battery. Among them, in order to simplify the processing method, the corresponding relationship between voltage and power can be stored , and directly store the power information in digital signals, so that the power information in the form of digital signals can be directly obtained according to the pre-stored correspondence between voltage and power.
当移动终端接收到移动电源发送的电池状态信息后,会根据电池状态信息确定的移动电源的剩余电量信息在其自身的显示屏上进行显示,使得用户可以清楚地了解移动电源的剩余电量,避免在了用户外出出差情况下出现电量不足的情况,大大改善了用户体验。After the mobile terminal receives the battery status information sent by the mobile power supply, the remaining power information of the mobile power supply determined according to the battery status information will be displayed on its own display screen, so that the user can clearly understand the remaining power of the mobile power supply, and avoid When the user is out on a business trip, there is insufficient power, which greatly improves the user experience.
第三实施例third embodiment
本发明的实施例提供了一种移动终端,如图3所示,该移动终端300包括:An embodiment of the present invention provides a mobile terminal. As shown in FIG. 3, the mobile terminal 300 includes:
接收模块302,用于通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息;The receiving module 302 is configured to receive battery status information of a mobile power supply through a communication connection with the mobile power supply;
显示模块303,用于根据所述接收模块302接收的所述电池状态信息,确定所述移动电源的剩余电量信息,并将所述剩余电量信息显示在所述移动终端的显示屏上。The display module 303 is configured to determine the remaining power information of the mobile power supply according to the battery status information received by the receiving module 302, and display the remaining power information on the display screen of the mobile terminal.
其中,当所述电池状态信息为电池的电压信息时,如图3所示,所述显示模块303包括:Wherein, when the battery state information is the voltage information of the battery, as shown in FIG. 3 , the display module 303 includes:
第一确定单元3031,用于根据预先存储的移动电源的电池电压与电量的对应关系,确定与所述电压信息对应的电量信息,并将所述电量信息作为所述移动电源的剩余电量信息。The first determining unit 3031 is configured to determine the power information corresponding to the voltage information according to the pre-stored correspondence between the battery voltage and power of the mobile power supply, and use the power information as the remaining power information of the mobile power supply.
其中,当所述电池状态信息为电池的电量信息时,如图4所示,所述显示模块303包括:Wherein, when the battery status information is the power information of the battery, as shown in FIG. 4, the display module 303 includes:
第二确定单元3032,用于直接将所述电量信息作为所述移动电源的剩余电量信息。The second determining unit 3032 is configured to directly use the power information as the remaining power information of the mobile power supply.
优选地,如图3和图4所示,所述移动终端300还包括:Preferably, as shown in Figures 3 and 4, the mobile terminal 300 further includes:
第一连接模块301,用于按照预定通信协议,建立与一移动电源之间的通信连接。The first connection module 301 is configured to establish a communication connection with a mobile power supply according to a predetermined communication protocol.
本发明实施例的移动终端300,通过接收模块302接收与该移动终端300建立通信连接的一移动电源发送的该移动电源的电池状态信息,并通过显示模块303根据该电池状态信息确定上述移动电源的剩余电量信息,并将确定的剩余电量信息显示在该移动终端300的显示屏上,使得用户可以从该移动终端300的显示屏上明确了解移动电源的剩余电量,提升用户的使用体验,解决了现有技术中用户无法精确了解移动电源的剩余电量而导致的使用不便的技术问题。The mobile terminal 300 of the embodiment of the present invention receives the battery status information of the mobile power source sent by a mobile power source that establishes a communication connection with the mobile terminal 300 through the receiving module 302, and determines the above-mentioned mobile power source through the display module 303 according to the battery status information information on the remaining power, and display the determined remaining power information on the display screen of the mobile terminal 300, so that the user can clearly understand the remaining power of the mobile power supply from the display screen of the mobile terminal 300, improve the user experience, and solve the problem of The technical problem of inconvenient use caused by the user's inability to accurately understand the remaining power of the mobile power supply in the prior art is solved.
第四实施例Fourth embodiment
本发明的实施例提供了一种移动电源,如图5所示,该移动电源500包括:An embodiment of the present invention provides a mobile power supply, as shown in Figure 5, the mobile power supply 500 includes:
获取模块502,用于获取移动电源的电池状态信息;An acquisition module 502, configured to acquire battery status information of a mobile power supply;
发送模块503,用于将所述获取模块502获取的所述电池状态信息发送给与所述移动电源建立通信连接的一移动终端。The sending module 503 is configured to send the battery status information obtained by the obtaining module 502 to a mobile terminal establishing a communication connection with the mobile power supply.
其中,当所述电池状态信息为电池的电压信息时,如图5所示,所述获取模块502包括:Wherein, when the battery state information is the voltage information of the battery, as shown in FIG. 5, the acquisition module 502 includes:
第一获取单元5021,用于检测所述移动电源的电池的电压,获取所述电压信息。The first acquiring unit 5021 is configured to detect the voltage of the battery of the mobile power supply, and acquire the voltage information.
其中,当所述电池状态信息为电量信息时,如图6所示,所述获取模块502包括:Wherein, when the battery status information is power information, as shown in FIG. 6, the acquisition module 502 includes:
第二获取单元5022,用于检测所述移动电源的电池的电压,获取电压信息;The second acquiring unit 5022 is configured to detect the voltage of the battery of the mobile power supply and acquire voltage information;
第三确定单元5023,用于根据预先存储的移动电源的电池电压与电量的对应关系,确定与所述电压信息对应的电量信息。The third determining unit 5023 is configured to determine the power information corresponding to the voltage information according to the pre-stored correspondence between the battery voltage and the power of the mobile power supply.
优选地,如图5和图6所示,所述发送模块503包括:Preferably, as shown in Figure 5 and Figure 6, the sending module 503 includes:
转换单元5031,用于将所述电池状态信息转换为数字信号;a conversion unit 5031, configured to convert the battery state information into a digital signal;
发送单元5032,用于通过连接所述移动电源与所述移动终端的数据线中的差分数据线或正极线,将所述数字信号发送给所述移动终端。The sending unit 5032 is configured to send the digital signal to the mobile terminal by connecting the mobile power supply with the differential data line or the positive line in the data lines of the mobile terminal.
优选地,如图5和图6所示,所述移动电源500还包括:Preferably, as shown in Figures 5 and 6, the mobile power supply 500 further includes:
第二连接模块501,用于按照预定通信协议,建立与一移动终端之间的通信连接,控制断开与所述移动终端电连接的充电电路,直到所述电池状态信息发送给所述移动终端后控制导通与所述移动终端电连接的充电电路,为所述移动终端进行充电。The second connection module 501 is configured to establish a communication connection with a mobile terminal according to a predetermined communication protocol, and control to disconnect the charging circuit electrically connected to the mobile terminal until the battery status information is sent to the mobile terminal Afterwards, the charging circuit electrically connected to the mobile terminal is controlled to be turned on, so as to charge the mobile terminal.
本发明实施例的移动电源,通过获取模块502获取移动电源的电池状态信息,从而触发发送模块503将获取模块502获取的上述电池状态信息发送给与该移动电源建立通信连接的移动终端,使得该移动终端在根据接收的电池状态信息确定出上述移动电源的剩余电量信息后,能够将该剩余电量信息显示在显示屏上,从而使得用户可以从该移动终端的显示屏上明确了解移动电源的剩余电量,提升用户的使用体验,解决了现有技术中用户无法精确了解移动电源的剩余电量而导致的使用不便的技术问题。The mobile power supply in the embodiment of the present invention acquires the battery status information of the mobile power supply through the acquisition module 502, thereby triggering the sending module 503 to send the above battery status information acquired by the acquisition module 502 to the mobile terminal establishing a communication connection with the mobile power supply, so that the mobile power supply After the mobile terminal determines the remaining power information of the mobile power supply according to the received battery status information, it can display the remaining power information on the display screen, so that the user can clearly understand the remaining power of the mobile power supply from the display screen of the mobile terminal. The battery improves the user experience, and solves the technical problem of inconvenient use caused by the user's inability to accurately understand the remaining power of the mobile power supply in the prior art.
第五实施例fifth embodiment
图7是本发明另一个实施例的移动终端的框图。图7所示的移动终端700包括:至少一个处理器701、存储器702、至少一个网络接口704、其他用户接口703和显示模组706,所述显示模组706包括有显示屏。移动终端700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。FIG. 7 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 700 shown in FIG. 7 includes: at least one processor 701 , memory 702 , at least one network interface 704 , other user interfaces 703 and a display module 706 , and the display module 706 includes a display screen. Various components in the mobile terminal 700 are coupled together through a bus system 705 . It can be understood that the bus system 705 is used to realize connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 705 in FIG. 7 .
其中,用户接口703可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 703 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.
可以理解,本发明实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(EnhancedSDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本文描述的系统和方法的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 702 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (EnhancedSDRAM, ESDRAM), synchronous connection dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 702 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器702存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统7021和应用程序7022。In some implementations, the memory 702 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 7021 and an application program 7022 .
其中,操作系统7021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序7022中。Among them, the operating system 7021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 7022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 7022 .
在本发明实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序7022中存储的程序或指令,其中,处理器701用于通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息,并根据所述电池状态信息,确定所述移动电源的剩余电量信息,并将所述剩余电量信息显示在所述显示模组706的显示屏上。In the embodiment of the present invention, by calling the programs or instructions stored in the memory 702, specifically, the programs or instructions stored in the application program 7022, wherein the processor 701 is used to communicate with a mobile power supply, Receive the battery state information of the mobile power supply, determine the remaining power information of the mobile power supply according to the battery state information, and display the remaining power information on the display screen of the display module 706 .
上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecificIntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The above-mentioned processor 701 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or Transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD ), Field-Programmable Gate Array (Field-Programmable GateArray, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选地,当所述电池状态信息为电池的电压信息时,处理器701在根据所述电池状态信息,确定所述移动电源的剩余电量信息时,具体用于:Optionally, when the battery status information is battery voltage information, the processor 701 is specifically configured to: when determining the remaining power information of the mobile power supply according to the battery status information:
根据预先存储的移动电源的电池电压与电量的对应关系,确定与所述电压信息对应的电量信息,并将所述电量信息作为所述移动电源的剩余电量信息。According to the pre-stored correspondence between the battery voltage and the power of the mobile power supply, the power information corresponding to the voltage information is determined, and the power information is used as the remaining power information of the mobile power supply.
可选地,当所述电池状态信息为电池的电量信息时,处理器701在根据所述电池状态信息,确定所述移动电源的剩余电量信息时,具体用于:Optionally, when the battery status information is battery power information, the processor 701 is specifically configured to: when determining the remaining power information of the mobile power supply according to the battery status information:
直接将所述电量信息作为所述移动电源的剩余电量信息。The power information is directly used as the remaining power information of the mobile power supply.
可选地,处理器701在通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息之前,还用于:Optionally, before the processor 701 receives the battery status information of a mobile power supply through a communication connection with a mobile power supply, it is further configured to:
按照预定通信协议,建立与一移动电源之间的通信连接。Establish a communication connection with a mobile power supply according to a predetermined communication protocol.
移动终端700能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 700 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的移动终端700通过接收与该移动终端700建立通信连接的一移动电源发送的该移动电源的电池状态信息,并根据该电池状态信息确定上述移动电源的剩余电量信息,并将确定的剩余电量信息显示在显示模组706的显示屏上,使得用户可以从该显示屏上明确了解移动电源的剩余电量,提升用户的使用体验,解决了现有技术中用户无法精确了解移动电源的剩余电量而导致的使用不便的技术问题。The mobile terminal 700 of the embodiment of the present invention receives the battery status information of the mobile power supply sent by a mobile power supply that establishes a communication connection with the mobile terminal 700, and determines the remaining power information of the above-mentioned mobile power supply according to the battery status information, and will determine The remaining power information of the display module 706 is displayed on the display screen of the display module 706, so that the user can clearly understand the remaining power of the mobile power supply from the display screen, improve the user experience, and solve the problem that the user cannot accurately understand the mobile power supply in the prior art. Inconvenient technical problems caused by remaining power.
第六实施例Sixth embodiment
图8是本发明另一个实施例的移动终端的结构示意图。具体地,图8中的移动终端800可以为手机、平板电脑、个人数字助理(PersonalDigitalAssistant,PDA)、或车载电脑等。Fig. 8 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 800 in FIG. 8 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图8中的移动终端800包括射频(RadioFrequency,RF)电路810、存储器820、输入单元830、显示单元840、处理器860、音频电路870、WiFi(WirelessFidelity)模块880和电源890。Mobile terminal 800 in FIG.
其中,输入单元830可用于接收用户输入的数字或字符信息,以及产生与移动终端800的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元830可以包括触控面板831。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器860,并能接收处理器860发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 830 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 800 . Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831 . The touch panel 831, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 831 using any suitable object or accessory such as a finger or a stylus), and based on preset The specified program drives the corresponding connected device. Optionally, the touch panel 831 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 831, the input unit 830 may also include other input devices 832, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元840可用于显示由用户输入的信息或提供给用户的信息以及移动终端800的各种菜单界面。显示单元840可包括显示面板841,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板841。Wherein, the display unit 840 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800 . The display unit 840 may include a display panel 841. Optionally, the display panel 841 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板831可以覆盖显示面板841,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器860以确定触摸事件的类型,随后处理器860根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 831 can cover the display panel 841 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 860 to determine the type of the touch event, and then the processor The 860 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器860是移动终端800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器821内的软件程序和/或模块,以及调用存储在第二存储器822内的数据,执行移动终端800的各种功能和处理数据,从而对移动终端800进行整体监控。可选的,处理器860可包括一个或多个处理单元。Wherein the processor 860 is the control center of the mobile terminal 800, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 821, and calling the software programs and/or modules stored in the second memory 821. The data in the memory 822 executes various functions of the mobile terminal 800 and processes data, so as to monitor the mobile terminal 800 as a whole. Optionally, the processor 860 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器821内的软件程序和/或模块和/或该第二存储器822内的数据,处理器860用于通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息,并根据所述电池状态信息,确定所述移动电源的剩余电量信息,并将所述剩余电量信息显示在显示屏上。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 821 and/or the data in the second memory 822, the processor 860 is used to communicate with a mobile power supply , receiving battery state information of the mobile power supply, and determining remaining power information of the mobile power supply according to the battery state information, and displaying the remaining power information on a display screen.
可选地,当所述电池状态信息为电池的电压信息时,处理器860在根据所述电池状态信息,确定所述移动电源的剩余电量信息时,具体用于:Optionally, when the battery status information is battery voltage information, the processor 860 is specifically configured to: when determining the remaining power information of the mobile power supply according to the battery status information:
根据预先存储的移动电源的电池电压与电量的对应关系,确定与所述电压信息对应的电量信息,并将所述电量信息作为所述移动电源的剩余电量信息。According to the pre-stored correspondence between the battery voltage and the power of the mobile power supply, the power information corresponding to the voltage information is determined, and the power information is used as the remaining power information of the mobile power supply.
可选地,当所述电池状态信息为电池的电量信息时,处理器860在根据所述电池状态信息,确定所述移动电源的剩余电量信息时,具体用于:Optionally, when the battery status information is battery power information, the processor 860 is specifically configured to: when determining the remaining power information of the mobile power supply according to the battery status information:
直接将所述电量信息作为所述移动电源的剩余电量信息。The power information is directly used as the remaining power information of the mobile power supply.
可选地,处理器860在通过与一移动电源之间的通信连接,接收所述移动电源的电池状态信息之前,还用于:Optionally, before the processor 860 receives the battery status information of the mobile power supply through the communication connection with a mobile power supply, it is further configured to:
按照预定通信协议,建立与一移动电源之间的通信连接。Establish a communication connection with a mobile power supply according to a predetermined communication protocol.
移动终端800能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 800 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
本发明实施例的移动终端800通过接收与该移动终端800建立通信连接的一移动电源发送的该移动电源的电池状态信息,并根据该电池状态信息确定上述移动电源的剩余电量信息,并将确定的剩余电量信息显示在显示屏上,使得用户可以从该显示屏上明确了解移动电源的剩余电量,提升用户的使用体验,解决了现有技术中用户无法精确了解移动电源的剩余电量而导致的使用不便的技术问题。The mobile terminal 800 of the embodiment of the present invention receives the battery status information of the mobile power supply sent by a mobile power supply that establishes a communication connection with the mobile terminal 800, and determines the remaining power information of the above-mentioned mobile power supply according to the battery status information, and will determine The remaining power information of the mobile power supply is displayed on the display screen, so that the user can clearly understand the remaining power of the mobile power supply from the display screen, improve the user experience, and solve the problem caused by the user's inability to accurately understand the remaining power of the mobile power supply in the prior art. Inconvenient technical issues.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610370936.2A CN105811543A (en) | 2016-05-27 | 2016-05-27 | Electric quantity display method of mobile power source, mobile terminal and mobile power source |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610370936.2A CN105811543A (en) | 2016-05-27 | 2016-05-27 | Electric quantity display method of mobile power source, mobile terminal and mobile power source |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105811543A true CN105811543A (en) | 2016-07-27 |
Family
ID=56452161
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610370936.2A Pending CN105811543A (en) | 2016-05-27 | 2016-05-27 | Electric quantity display method of mobile power source, mobile terminal and mobile power source |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105811543A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106226703A (en) * | 2016-08-09 | 2016-12-14 | 爱玛科技集团股份有限公司 | The indicating means of a kind of battery remaining power, Apparatus and system |
| CN106786961A (en) * | 2017-01-13 | 2017-05-31 | 广东欧珀移动通信有限公司 | Charging process method, device and terminal |
| CN108562863A (en) * | 2018-01-12 | 2018-09-21 | 四川斐讯信息技术有限公司 | The test method and device that remaining capacity is shown |
| CN110098652A (en) * | 2019-01-18 | 2019-08-06 | 青岛海信移动通信技术股份有限公司 | A kind of mobile phone, mobile phone body device and mobile phone are continued a journey device |
| CN110113462A (en) * | 2019-01-18 | 2019-08-09 | 青岛海信移动通信技术股份有限公司 | Terminal and processing method |
| CN117496634A (en) * | 2023-11-14 | 2024-02-02 | 深圳市优贝特科技有限公司 | A method, system and readable storage medium for displaying the remaining power of a shared power bank |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101498767A (en) * | 2008-01-31 | 2009-08-05 | 鸿富锦精密工业(深圳)有限公司 | Wireless communication terminal and its battery power measuring method |
| CN203481895U (en) * | 2013-10-15 | 2014-03-12 | 厦门文创电子有限公司 | Power calculation and display system for portable power source, and portable power source thereof |
| CN203933099U (en) * | 2014-05-30 | 2014-11-05 | 深圳市劲力思特科技有限公司 | A kind of portable power source device |
| CN104167801A (en) * | 2014-08-29 | 2014-11-26 | 广东欧珀移动通信有限公司 | A method for displaying the status of mobile power supply, mobile terminal and mobile power supply |
| CN204012816U (en) * | 2014-07-02 | 2014-12-10 | 欣旺达电子股份有限公司 | Portable power source and system thereof |
| CN104734281A (en) * | 2015-01-28 | 2015-06-24 | 惠州Tcl移动通信有限公司 | Wearable portable power source and power supply control method thereof |
-
2016
- 2016-05-27 CN CN201610370936.2A patent/CN105811543A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101498767A (en) * | 2008-01-31 | 2009-08-05 | 鸿富锦精密工业(深圳)有限公司 | Wireless communication terminal and its battery power measuring method |
| CN203481895U (en) * | 2013-10-15 | 2014-03-12 | 厦门文创电子有限公司 | Power calculation and display system for portable power source, and portable power source thereof |
| CN203933099U (en) * | 2014-05-30 | 2014-11-05 | 深圳市劲力思特科技有限公司 | A kind of portable power source device |
| CN204012816U (en) * | 2014-07-02 | 2014-12-10 | 欣旺达电子股份有限公司 | Portable power source and system thereof |
| CN104167801A (en) * | 2014-08-29 | 2014-11-26 | 广东欧珀移动通信有限公司 | A method for displaying the status of mobile power supply, mobile terminal and mobile power supply |
| CN104734281A (en) * | 2015-01-28 | 2015-06-24 | 惠州Tcl移动通信有限公司 | Wearable portable power source and power supply control method thereof |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106226703A (en) * | 2016-08-09 | 2016-12-14 | 爱玛科技集团股份有限公司 | The indicating means of a kind of battery remaining power, Apparatus and system |
| CN106786961A (en) * | 2017-01-13 | 2017-05-31 | 广东欧珀移动通信有限公司 | Charging process method, device and terminal |
| WO2018129972A1 (en) * | 2017-01-13 | 2018-07-19 | 广东欧珀移动通信有限公司 | Charging processing method and apparatus, storage medium, and electronic device |
| CN106786961B (en) * | 2017-01-13 | 2019-05-24 | Oppo广东移动通信有限公司 | Charging method, device and terminal |
| CN108562863A (en) * | 2018-01-12 | 2018-09-21 | 四川斐讯信息技术有限公司 | The test method and device that remaining capacity is shown |
| CN110113462A (en) * | 2019-01-18 | 2019-08-09 | 青岛海信移动通信技术股份有限公司 | Terminal and processing method |
| CN110098652A (en) * | 2019-01-18 | 2019-08-06 | 青岛海信移动通信技术股份有限公司 | A kind of mobile phone, mobile phone body device and mobile phone are continued a journey device |
| CN110225167A (en) * | 2019-01-18 | 2019-09-10 | 青岛海信移动通信技术股份有限公司 | Terminal and processing method |
| CN110225168A (en) * | 2019-01-18 | 2019-09-10 | 青岛海信移动通信技术股份有限公司 | Terminal and processing method |
| CN111464672A (en) * | 2019-01-18 | 2020-07-28 | 青岛海信移动通信技术股份有限公司 | Electronic equipment and charging method thereof |
| CN111463842A (en) * | 2019-01-18 | 2020-07-28 | 青岛海信移动通信技术股份有限公司 | Electronic equipment and communication method thereof |
| CN110098652B (en) * | 2019-01-18 | 2021-05-07 | 青岛海信移动通信技术股份有限公司 | Mobile phone, mobile phone main body device and mobile phone endurance device |
| CN117496634A (en) * | 2023-11-14 | 2024-02-02 | 深圳市优贝特科技有限公司 | A method, system and readable storage medium for displaying the remaining power of a shared power bank |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105811543A (en) | Electric quantity display method of mobile power source, mobile terminal and mobile power source | |
| CN106844265B (en) | A kind of control method and mobile terminal of general-purpose serial bus USB interface | |
| CN108604218B (en) | Method and terminal device for establishing connection between devices with universal serial bus USB Type-C interface | |
| CN105958588B (en) | A kind of charging method and mobile terminal | |
| US20140184171A1 (en) | Mobile terminal in which wired charging and wireless charging are available and method of charging thereof | |
| CN108347068B (en) | A charging method and mobile terminal | |
| CN108268388B (en) | A kind of Type-C interface protective circuit and method, mobile terminal | |
| CN108268389A (en) | The insertion detection method and mobile terminal of a kind of equipment | |
| CN107147798A (en) | A control method for terminal output current and terminal | |
| CN106557240A (en) | A kind of detection method and mobile terminal | |
| CN106981904A (en) | The method and charge-discharge control system of a kind of charge and discharge control | |
| CN108347070A (en) | A kind of method and mobile terminal, charging equipment of charging | |
| CN107465234B (en) | A charging control method, mobile terminal and adapter | |
| CN108268411A (en) | The method and mobile terminal of a kind of data transmission | |
| CN106208297A (en) | A kind of charging circuit, the method controlling charging circuit charging and mobile terminal | |
| CN107658924A (en) | A kind of wireless charging method and mobile terminal | |
| CN107707735B (en) | A charging reminder method and mobile terminal | |
| CN106684967B (en) | A kind of charging method of mobile terminal and mobile terminal | |
| CN108270253A (en) | A kind of charging method and mobile terminal | |
| CN106961137A (en) | A kind of charging port structure and charging method | |
| CN108268402A (en) | Protection circuit, guard method and the mobile terminal of Type-C interfaces | |
| CN108270255B (en) | A charging method and mobile terminal | |
| CN108268405A (en) | Protection circuit, guard method and the mobile terminal of Type-C interfaces | |
| CN108347069B (en) | A kind of method and mobile terminal, charging equipment of charging | |
| CN108988404A (en) | A kind of method and mobile terminal of mobile terminal charging |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160727 |