CN118158313A - Method, electronic device and system for displaying electric quantity - Google Patents

Method, electronic device and system for displaying electric quantity Download PDF

Info

Publication number
CN118158313A
CN118158313A CN202211563019.8A CN202211563019A CN118158313A CN 118158313 A CN118158313 A CN 118158313A CN 202211563019 A CN202211563019 A CN 202211563019A CN 118158313 A CN118158313 A CN 118158313A
Authority
CN
China
Prior art keywords
electronic device
electric quantity
information
electronic
quantity information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211563019.8A
Other languages
Chinese (zh)
Inventor
单钟文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN118158313A publication Critical patent/CN118158313A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application provides a method, electronic equipment and a system for displaying electric quantity. The method comprises the following steps: the first electronic device responds to receiving the electric quantity information from the second electronic device and displays the electric quantity information of the second electronic device; the first electronic device sends the electric quantity information of the first electronic device to the second electronic device, and the electric quantity information of the first electronic device is displayed on the second electronic device. The method, the electronic equipment and the system for displaying the electric quantity can realize bidirectional synchronization of the electric quantity information, and for the electronic equipment with the screen, the electric quantity information of other electronic equipment can be displayed, so that a user can conveniently acquire the electric quantity information of each electronic equipment through the screen equipment, thereby reminding the user to timely process each electronic equipment and improving the use experience of the user.

Description

Method, electronic device and system for displaying electric quantity
Technical Field
The embodiment of the application relates to the field of electronic equipment, in particular to a method for displaying electric quantity, electronic equipment and a system.
Background
With the development of science and technology, users can have a plurality of electronic devices such as smart phones, tablet computers, personal computers, sound boxes, headphones and the like. For users, there is a lack of ways to directly obtain power information for multiple electronic devices. The user does not find out the conditions of too low electric quantity of the electronic equipment or over-charging of the equipment in time, and the normal use of the user can be influenced.
Therefore, how to provide a method for synchronously displaying the electric quantity information of a plurality of electronic devices for the user is convenient for the user to make corresponding processing according to the electric quantity condition of the electronic devices, and the experience of the user in using the electronic devices is improved.
Disclosure of Invention
The embodiment of the application provides a method, electronic equipment and a system for displaying electric quantity. The method can facilitate the user to know the electric quantity information of a plurality of electronic devices, and improves the use experience of the user.
In a first aspect, a method for displaying an electrical quantity is provided, including: the first electronic equipment responds to receiving the electric quantity information from the second electronic equipment, and the electric quantity information of the second electronic equipment is displayed; the first electronic device sends the electric quantity information of the first electronic device to the second electronic device, and the electric quantity information of the first electronic device is displayed on the second electronic device.
By way of example, the first electronic device and the second electronic device may be understood as electronic devices that transmit data via near field communication technology, the first electronic device and the second electronic device having a display function.
Based on the scheme, the electric quantity information can be synchronized among the electronic devices with the display function, and the electronic devices of other electronic devices can be displayed on the display screen of the local terminal device, so that a user can directly acquire the electric quantity information of each electronic device, and the user can be reminded of processing each electronic device in time, and the user experience is improved.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first electronic device displays power information of a third electronic device in response to receiving the power information from the third electronic device.
The first electronic device and the third electronic device may be understood as electronic devices that perform data transmission through a near field communication technology, and the third electronic device does not have a display function.
Based on the above scheme, for the electronic device without display function, the capability of processing data is weak, so that only the self electric quantity information can be sent to the electronic device with display function, and the electric quantity information from other electronic devices can be received under the preset condition, so that the data processing task of the electronic device without display function is reduced. For example, the power information is sent to the third electronic device only when the power of the first electronic device is lower than 20%.
With reference to the first aspect, in certain implementation manners of the first aspect, before the first electronic device sends the power information of the first electronic device to the second electronic device, the method further includes: the first electronic device determines that the device type of the second electronic device is a first type.
Based on the above scheme, the first electronic device needs to determine the device type of the second electronic device before synchronizing the power information to the second electronic device. For example, determining that the second electronic device is a specific electronic device type such as a tablet computer or a headset; or whether the second electronic device has a display screen. And after the first electronic device determines that the second electronic device has the display function, the electric quantity information can be synchronized to the second electronic device at regular time or periodically.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first electronic device determines that the device type of the third electronic device is a second type; when the electric quantity information of the first electronic device meets a preset condition, the first electronic device sends the electric quantity information of the first electronic device to the third electronic device, and the preset condition comprises any one of the following: the electric quantity value is lower than or equal to a first preset value, the electric quantity value is higher than Yu Dengyu a second preset value, and the electric quantity information comprises the electric quantity value.
Based on the above scheme, the first electronic device needs to determine the device type of the third electronic device before synchronizing the power information to the third electronic device. And after the first electronic device determines that the third electronic device does not have the display function, the electric quantity information is not synchronized with the third electronic device, or after the electric quantity information of the first electronic device meets the preset condition, the electric quantity information is synchronized with the third electronic device, so that the data quantity sent to the third electronic device is reduced.
With reference to the first aspect, in certain implementation manners of the first aspect, the sending, by the first electronic device, power information of the first electronic device to the second electronic device includes: the first electronic equipment sends electric quantity information of the first electronic equipment to the second electronic equipment at a first frequency; when the electric quantity value of the first electronic equipment is lower than or equal to the first preset value, the first electronic equipment sends electric quantity information of the first electronic equipment to the second electronic equipment at a second frequency, and the second frequency is lower than the first frequency; when the electric quantity value of the first electronic equipment is higher than or equal to the second preset value, the first electronic equipment sends electric quantity information of the first electronic equipment to the second electronic equipment at a third frequency, and the third frequency is lower than the first frequency.
Based on the above scheme, the first electronic device can adaptively adjust the frequency or the period of the synchronous electric quantity information. For example, when the power value of the first electronic device is lower than 20%, the frequency of synchronizing the power information is reduced to save power. This also saves transmission resources between electronic devices to some extent.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first electronic equipment sends the electric quantity information of the first electronic equipment to a server, and the server stores the electric quantity information of fourth electronic equipment; the first electronic equipment sends first request information to the server, wherein the first request information is used for requesting the electric quantity information of the fourth electronic equipment; the first electronic device displays the power information of the fourth electronic device in response to receiving the power information of the fourth electronic device from the server.
By way of example, the first electronic device and the fourth electronic device can be understood as electronic devices that transmit data via far-field communication technology.
Based on the scheme, the server is used for forwarding data, and electric quantity information synchronization can be realized between the far-field equipment and the near-field equipment.
With reference to the first aspect, in certain implementation manners of the first aspect, before the first electronic device displays the power information of the second electronic device in response to receiving the power information from the second electronic device, the method further includes: the first electronic device displays a first interface, the first interface including at least one electronic device icon; the first electronic device responds to the operation of a user on a first electronic device icon, and displays a second interface, wherein the second interface comprises at least one electronic device control, and the first electronic device icon belongs to the at least one electronic device icon; the first electronic device responds to the operation of a user on a second electronic device control, and the first interface displays a second electronic device icon, wherein the second electronic device control belongs to the at least one electronic device control.
Based on the scheme, the user can self-define the electronic equipment needing electric quantity information synchronization through the user interface, so that the electronic equipment can display the electric quantity information according to the actual demands of the user.
With reference to the first aspect, in certain implementation manners of the first aspect, the power information further includes power prompt information; the method further comprises the steps of: the first electronic device responds to the operation of a user on a second electronic device icon, and a third interface is displayed, wherein the third interface comprises at least one setting control, and the second electronic device icon belongs to the at least one electronic device icon; the first electronic device responds to the operation of a user on a first setting control, when the second electronic device meets the condition corresponding to the first setting control, the first interface displays electric quantity prompt information of the second electronic device, the first setting control corresponds to the electric quantity prompt information of the second electronic device, and the first setting control belongs to the at least one setting control.
Based on the scheme, a user can set the specific type of the displayed electric quantity prompt information through the user interface in a self-defined mode, so that the user is conveniently prompted to timely charge the electronic equipment, timely pull out the charger and the like.
With reference to the first aspect, in certain implementation manners of the first aspect, the power indication information includes at least one of: insufficient electric quantity prompt information, full electric quantity prompt information, charging state prompt information and self-defined electric quantity prompt information.
Based on the scheme, the user interface of the electronic equipment can display various types of prompt information, and the user can determine the current electric quantity state of the corresponding electronic equipment through the prompt information displayed by the user interface so as to make corresponding processing.
In a second aspect, a system for displaying power is provided, including a first electronic device and a second electronic device; the first electronic device is used for responding to the receiving of the electric quantity information of the second electronic device, displaying the electric quantity information of the second electronic device, wherein the electric quantity information comprises an electric quantity value; the first electronic equipment is also used for sending the electric quantity information of the first electronic equipment; the second electronic equipment is used for sending electric quantity information of the second electronic equipment; the second electronic device is further configured to display power information of the first electronic device in response to receiving the power information of the first electronic device.
With reference to the second aspect, in certain implementations of the second aspect, the system includes a third electronic device; the first electronic device is further configured to display power information of the third electronic device in response to receiving the power information of the third electronic device; the third electronic device is configured to send electric quantity information of the third electronic device.
With reference to the second aspect, in some implementations of the second aspect, the first electronic device is further configured to determine a device type of the second electronic device as the first type.
With reference to the second aspect, in some implementations of the second aspect, the first electronic device is further configured to determine a device type of the third electronic device as a second type; when the electric quantity information of the first electronic device meets a preset condition, the first electronic device is further configured to send the electric quantity information of the first electronic device, where the preset condition includes any one of the following: the electric quantity value is lower than or equal to a first preset value, the electric quantity value is higher than Yu Dengyu a second preset value, and the electric quantity information comprises the electric quantity value; the third electronic device is further configured to receive electrical quantity information of the first electronic device, where the electrical quantity information meets the preset condition.
With reference to the second aspect, in some implementations of the second aspect, the first electronic device is further configured to send power information of the first electronic device to the second electronic device at a first frequency; when the electric quantity value of the first electronic equipment is lower than or equal to the first preset value, the first electronic equipment is further used for sending electric quantity information of the first electronic equipment at a second frequency, and the second frequency is lower than the first frequency; when the electric quantity value of the first electronic equipment is higher than or equal to the second preset value, the first electronic equipment is further used for sending electric quantity information of the first electronic equipment at a third frequency, and the third frequency is lower than the first frequency; the second electronic device is further configured to receive power information of the first electronic device at a first frequency; when the electric quantity value of the first electronic equipment is lower than or equal to the first preset value, the second electronic equipment is also used for receiving the electric quantity information of the first electronic equipment at a second frequency; when the electric quantity value of the first electronic device is higher than or equal to the second preset value, the second electronic device is further configured to receive electric quantity information of the first electronic device at a third frequency.
With reference to the second aspect, in some implementations of the second aspect, the system includes a server and a fourth electronic device, where the first electronic device is further configured to send power information of the first electronic device to the server, and the server stores power information of the fourth electronic device; the first electronic device is further configured to send first request information to the server, where the first request information is used to request electric quantity information of the fourth electronic device; the first electronic device is further configured to display power information of the fourth electronic device in response to receiving the power information of the fourth electronic device from the server; the fourth electronic device is used for sending electric quantity information of the fourth electronic device to the server; the fourth electronic device is further configured to send second request information to the service, where the second request information is used to request the electric quantity information of the first electronic device; the fourth electronic device is further configured to display power information of the fourth electronic device in response to receiving the power information of the first electronic device from the server.
With reference to the second aspect, in certain implementations of the second aspect, the first electronic device is further configured to display a first interface, where the first interface includes at least one electronic device icon; the first electronic device is further configured to display a second interface in response to a user operation on a first electronic device icon, where the second interface includes at least one electronic device control, and the first electronic device icon belongs to the at least one electronic device icon; the first electronic device is further configured to respond to an operation of a user on a second electronic device control, where the second electronic device control belongs to the at least one electronic device control, and the first interface displays the second electronic device icon.
With reference to the second aspect, in certain implementations of the second aspect, the power information further includes power hint information; the first electronic device is further configured to display a third interface in response to a user operation on a second electronic device icon, where the third interface includes at least one setting control, and the second electronic device icon belongs to the at least one electronic device icon; the first electronic device is further configured to respond to an operation of a user on a first setting control, when the second electronic device meets a condition corresponding to the first setting control, the first interface displays electric quantity prompt information of the second electronic device, and the first setting control corresponds to the electric quantity prompt information of the second electronic device, where the first setting control belongs to the at least one setting control.
With reference to the second aspect, in certain implementations of the second aspect, the power hint information includes at least one of: insufficient electric quantity prompt information, full electric quantity prompt information, charging state prompt information and self-defined electric quantity prompt information.
In a third aspect, there is provided an electronic device comprising modules/units performing the method of the first aspect or any one of the possible designs of the first aspect; these modules/units may be implemented by hardware, or may be implemented by hardware executing corresponding software.
In a fourth aspect, there is provided an apparatus for displaying electrical power, a processor coupled to a memory for storing a computer program, the processor being adapted to run the computer program such that the apparatus performs the method as in the first aspect and any one of its possible implementations.
With reference to the fourth aspect, in certain implementations of the fourth aspect, the apparatus further includes one or more of the memory and a transceiver for receiving signals and/or transmitting signals.
In a fifth aspect, a computer readable storage medium is provided, characterized in that the computer readable storage medium comprises a computer program or instructions which, when run on a computer, cause the method as in the first aspect and any one of its possible implementations to be performed.
In a sixth aspect, there is provided a computer program product comprising a computer program or instructions which, when run on a computer, cause the method as in the first aspect and any one of its possible implementations to be performed.
In a seventh aspect, a computer program is provided which, when run on a computer, causes the method as in the first aspect and any one of its possible implementations to be performed.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a software structural block diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a system architecture diagram provided in an embodiment of the present application.
Fig. 4 is a schematic block diagram provided in an embodiment of the present application.
FIG. 5 is a set of GUIs provided in an embodiment of the present application.
Fig. 6 is a schematic flow chart of a method for displaying electric quantity according to an embodiment of the present application.
FIG. 7 is another set of GUIs provided in an embodiment of the present application.
Fig. 8 is a schematic flow chart of a method for displaying electric quantity according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one, two or more than two. The term "and/or" is used to describe an association relationship of associated objects, meaning that there may be three relationships; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Embodiments of an electronic device, a user interface for such an electronic device, and for using such an electronic device are described below. In some embodiments, the electronic device may be a portable electronic device such as a cell phone, tablet computer, wearable electronic device (e.g., smart watch) with wireless communication capabilities, etc., that also includes other functionality such as personal digital assistant and/or music player functionality. Exemplary embodiments of portable electronic devices include, but are not limited to, piggy-back Or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be appreciated that in other embodiments, the electronic device described above may not be a portable electronic device, but rather a desktop computer.
By way of example, fig. 1 shows a schematic diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an ear-piece interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a user identification (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example, when a touch operation with a touch operation intensity greater than or equal to a first pressure threshold acts on the alarm clock application icon, an instruction to newly create an alarm clock is executed.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc. For example, when the mobile phone detects a touch operation of a user on the screen locking interface, the mobile phone can collect fingerprint information of the user through the fingerprint sensor 180H and match the collected fingerprint information with fingerprint information preset in the mobile phone. If the matching is successful, the mobile phone can enter the non-screen locking interface from the screen locking interface.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
Fig. 2 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android runtime) and system libraries, and a kernel layer, respectively. The application layer may include a series of application packages.
As shown in fig. 2, the application layer may include a camera, settings, skin modules, user Interfaces (UIs), three-way applications, and the like. The three-party application program can comprise a gallery, calendar, conversation, map, navigation, WLAN, bluetooth, music, video, short message, and the like.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer may include some predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android runtime include core libraries and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), two-dimensional graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
In addition, the system library can also comprise a state monitoring service module and the like, such as a physical state recognition module, which is used for analyzing and recognizing gestures of a user; the sensor service module is configured to monitor sensor data uploaded by various sensors in the hardware layer, and determine a physical state of the electronic device 100.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The hardware layer may include various sensors, such as the various sensors described in fig. 1, acceleration sensors, gyroscopic sensors, touch sensors, etc. involved in embodiments of the present application.
In connection with the electronic device described in fig. 1 and fig. 2, in the embodiment of the present application, the physical devices involved in the electronic device 100 mainly include hardware components such as a sensor, a decision support system (decision support systems, DSS) display chip, a touch display screen, and a fingerprint recognition module; the screen management module, the display driver, the fingerprint driver, the false touch prevention and other kernel software layers; anti-false touch input, screen control, off-screen display (always on display, AOD) service, power management, etc. application framework layer functions; application layer services such as special adaptation application (camera), three-party application, system dormancy, AOD and the like.
At present, a user usually has a plurality of electronic devices, and it is difficult for the user to obtain the electric quantity information of the plurality of electronic devices more comprehensively, which may cause that the user cannot timely charge a device with lower electric quantity, or cannot timely unplug a fully charged device charger, etc. Therefore, the user can timely acquire the electric quantity information of each electronic device, which is particularly important to improving the experience of the user in using the electronic device.
Generally, a smart phone is an electronic device with a high frequency of use. The user can obtain the electric quantity information of other electronic devices which are in communication connection with the smart phone through the smart phone. For example, the headset and the smart phone are connected through bluetooth or Wi-Fi, and a User Interface (UI) of the smart phone may display power information of the headset.
However, smartphones may establish communication connections with multiple electronic devices through various means of communication connections. For example, the near field device may perform data interaction based on a distributed soft bus, and the far field device may perform data interaction based on a cloud server. Therefore, the embodiment of the application provides a method, electronic equipment and a system for displaying electric quantity, which can check electric quantity information of other distributed equipment on any one of the distributed equipment with a screen, are convenient for a user to manage electric quantity of a plurality of distributed equipment on any one of the distributed equipment, and promote the use experience of the user.
As shown in fig. 3, a schematic diagram of a system architecture provided by an embodiment of the present application is shown, where the system architecture includes a distributed device near field device 1, a near field device 2, a near field device 3, and a far field device. The electronic device for data transmission by means of near field communication technology may comprise a near field device 1, a near field device 2 and a near field device 3. Electronic devices for data transmission via far field communication technology, e.g. far field devices. Among them, near field communication technologies such as bluetooth, wi-Fi, star flash (sparklink), near field communication (NEAR FIELD communication, NFC). The far-field device can realize data interaction with the near-field device through the cloud server. For example, the far field device sends the data to the cloud server, which forwards the data to the near field device 1. Illustratively, in the near field device, the near field device 1 and the near field device 2 are electronic devices with a screen, and the near field device 3 is an electronic device without a screen.
In one aspect, the near field device 1 may receive power information from the near field device 2 and may display the power information of the near field device 2 on a display screen of the near field device 1. Similarly, the near field device 1 transmits the power information to the near field device 2, and the power information of the near field device 1 may be displayed on the display screen of the near field device 2. The far-field device can report the self electric quantity information to the cloud server, and the near-field device can also report the self electric quantity information to the server. The far-field device can actively acquire the electric quantity information of any near-field device reporting the electric quantity information of the far-field device from the cloud server; similarly, any near-field device can also actively acquire the electric quantity information of any far-field device reporting the electric quantity information of the near-field device from the cloud server. That is, bidirectional power information synchronization can be performed between the respective electronic devices.
On the other hand, for the non-screen near-field device 3, the power information may be sent to the screen near-field device 1, the screen near-field device 2, or the cloud server, and the power information from the near-field device 1, the near-field device 2, or the cloud server is not received. Or the near field device 3 may send the power information to the near field device 1, the near field device 2, or the cloud server, and receive the power information from the near field device 1, the near field device 2, or the cloud server under certain conditions. Wherein, because the near field device 3 does not bear the display module, the processing capability of the central processing unit (central processing unit, CPU) is weak, and the capability of processing and presenting the distributed device power information is weak. Thus, the frequency of receiving power information from other distributed devices may be reduced.
For example, in the system architecture shown in fig. 3, the power information of each distributed device may be synchronized, and the power information of a plurality of distributed devices may be displayed on the on-screen electronic device, so that a user may acquire the power of the distributed device in time, and perform processing according to the real-time power.
Fig. 4 shows a schematic diagram of the logic modules of a screen electronic device. By way of example, a screen electronic device may include a communication module, a processing module, and a display module. Wherein the communication module may be used for communication interaction with other distributed devices. For example, the interaction of the power information is accomplished through a communication module. The processing module may be configured to process the electrical quantity data. For example, it is determined whether the amount of power reaches a threshold. The display module may be used to display power information for each of the distributed devices.
For easy understanding, fig. 5 shows a set of graphical user interfaces (GRAPHICAL USER INTERFACE, GUI) provided by an embodiment of the present application, and a smart phone is taken as an example to describe an interaction manner of electric quantity information synchronization.
The notification bar interface for a user smartphone is shown in fig. 5 (a). The notification bar interface of the smart phone comprises controls such as WLAN, bluetooth, mobile data, mute, automatic rotation and the like. The control is a visual graphical interface element presented to a user, is a software component, controls data and interactive operation on the data, and the user can interact with the control through operations such as touching, sliding and the like so as to read and edit related information. In general, controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, status bars, and the like. In response to a user operation (e.g., a touch operation, or a click operation) on different controls, different interfaces may be displayed on a screen of the electronic device. The notification bar interface also includes a superterminal options box 501 in which icons of other smart devices that have established a connection with the smart phone, such as a tablet icon 502 and a headset icon 503, may be displayed. In response to the user's operation of the super terminal option box 501, the smartphone may display a GUI as shown in (b) of fig. 5.
As shown in (b) of fig. 5, in response to the user's operation of the super terminal option box 501, the mobile phone may display a display interface corresponding to the super terminal. The interface may display icons of a plurality of intelligent devices and icons of power information corresponding to the intelligent devices. For example, tablet power information icon 504 and ear power information icon 505. The electric quantity is different, and icons of the electric quantity information can be different.
As shown in (c) of fig. 5, icon display types of five kinds of power information are exemplarily shown. The icon of the power information may include a digital percentage that represents the current power of the electronic device and a reminder that may be used to represent the current power information status (e.g., state of charge, power deficiency, etc.) of the electronic device. For example, type one indicates that the electronic device is being charged by wire, the current charge is 30%; type two indicates that the electronic equipment is being charged wirelessly, and the current electric quantity is 30%; the third type indicates that the electric quantity of the electronic equipment is insufficient, and the current electric quantity is 20%; the fourth type indicates that the electric quantity of the electronic equipment is full, and the current electric quantity is 100%; type five indicates that the electric quantity of the electronic equipment reaches the self-defined reminding electric quantity, and the current electric quantity is 90%.
Based on the scheme in the embodiment, after a plurality of electronic devices are in communication connection, synchronization of electric quantity information can be achieved. Power information for other electronic devices associated with the electronic device may be displayed on the on-screen electronic device, and the power information may be used to indicate a current power of the corresponding electronic device, or a current power information status (e.g., power deficiency) of the corresponding electronic device. The method is convenient for a user to know the electric quantity information of each electronic device through the display interface of the screen electronic device and process according to the actual electric quantity information; or the system can use the acquired electric quantity information of each electronic device for the linkage of the internet of things (internet of things, IOT) device.
The method for displaying electric quantity provided by the embodiment of the application is specifically described below.
Referring to fig. 6, a method 600 for displaying power is shown according to an embodiment of the present application. The method can be applied to the first electronic device, the second electronic device, the third electronic device, the fourth electronic device and the cloud server. The method 600 is specifically described below where the first electronic device and the second electronic device are screen near-field devices, the third electronic device is a non-screen near-field device, and the fourth electronic device is a screen far-field device, which are electronic devices (e.g., the same account number) of the same user. The method 600 may be used to achieve synchronization of power information between different electronic devices.
For the first electronic device, the second electronic device and the third electronic device in the near-field device, data interaction can be directly performed, and for the fourth electronic device of the far-field device, data interaction with other electronic devices is realized through a cloud server.
The synchronization of the power information may be understood as periodically or periodically triggering a synchronization operation of the power information between the first electronic device and the second electronic device, or may be understood as periodically or periodically synchronizing the power information to the server by the fourth electronic device. The power information may be understood as a real-time power value or power prompt information of the electronic device. The method 600 may include the following specific steps.
S601, the first electronic device sends the electric quantity information of the first electronic device, and correspondingly, the second electronic device receives the electric quantity information of the first electronic device.
The first electronic device may be, for example, a smart phone as shown in fig. 5. The second electronic device may be a tablet computer.
In one implementation, the first electronic device may periodically or periodically send the power information of the first electronic device to the second electronic device. The manner of periodically or periodically transmitting the power information may be understood as passively synchronizing the power information.
In another implementation manner, when the electric quantity of the first electronic device reaches a preset value, the first electronic device actively sends the electric quantity information of the first electronic device to the second electronic device, for example, when the electric quantity of the first electronic device reaches 20%, the first electronic device triggers active synchronization and reports the self electric quantity information to the second electronic device.
That is, there are two ways for the first electronic device to synchronize the power information with the second electronic device. One is passive synchronization, timing triggering or periodic triggering. And secondly, actively synchronizing, and triggering electric quantity information synchronization when the electric quantity of the first electronic equipment or the second electronic equipment reaches a preset value.
For synchronizing power information, the period that triggers the synchronization of power information may be adaptively changed. For example, when the first electronic device is in a charged state, the user is focused on whether the first electronic device is overcharged. When the first electronic equipment is full of 100% of electric quantity, the first electronic equipment actively triggers reporting of electric quantity information to the second electronic equipment, and the requirements of users can be met. In this case, the frequency of passive power information synchronization when the first electronic device is not yet fully charged may be reduced to save signaling or resources for data transfer between the electronic devices.
S602, the second electronic device displays the electric quantity information of the first electronic device.
For example, the power information of the first electronic device may be understood as the current real-time power of the first electronic device.
In one implementation, the second electronic device may perform data processing on the received power information of the first electronic device. For example, the second electronic device determines whether the current electric quantity of the first electronic device reaches a low electric quantity reminding threshold (for example, 20% of the electric quantity), and when the current electric quantity of the first electronic device reaches the electric quantity reminding threshold, the second electronic device may display low electric quantity reminding information for reminding a user that the electric quantity of the first electronic device is insufficient.
For example, the second electronic device may display different types of power information icons, for example, as shown in fig. 5 (c), according to the case of performing data processing on the power information of the first electronic device.
And S603, the second electronic equipment sends the electric quantity information of the second electronic equipment, and correspondingly, the first electronic equipment receives the electric quantity information of the second electronic equipment.
For example, the second electronic device may periodically or periodically send the power information of the second electronic device to the first electronic device, which is similar to the above description of step S601, and will not be repeated herein.
S604, the first electronic device displays the electric quantity information of the second electronic device.
The specific manner in which the first electronic device displays the power information of the second electronic device is similar to the description of step S602, which is not repeated here.
S605, the fourth electronic device sends the electric quantity information of the fourth electronic device, and accordingly, the cloud server receives the electric quantity information of the fourth electronic device.
S606, the first electronic device sends the electric quantity information of the first electronic device, and accordingly, the cloud server receives the electric quantity information of the first electronic device.
It should be understood that the near field device may implement synchronization of electrical quantity information based on the near field communication technology within an effective distance of near field communication; the far-field device and the near-field device can access the Internet outside the effective distance of near-field communication, and the far-field device and the near-field device can synchronize electric quantity information to the cloud server regularly or periodically.
For the far-field fourth electronic device, the data interaction with the near-field first electronic device, the second electronic device or the third electronic device cannot be directly performed, and the electric quantity information needs to be forwarded through the cloud server. Similarly, for the near-field first electronic device, the cloud server is also required to achieve electric quantity synchronization.
S607, the cloud server stores the electric quantity information of the first electronic device and the electric quantity information of the fourth electronic device.
And S608, the first electronic equipment sends the information of the requested electric quantity, and accordingly, the cloud server receives the information of the requested electric quantity.
S609, the cloud server sends the electric quantity information of the fourth electric quantity device, and accordingly, the first electronic device receives the electric quantity information of the fourth electronic device.
It should be understood that the cloud server may store the electric quantity information synchronized by the near-field device and the far-field device, and the electronic device may send the electric quantity information request to the cloud server according to the actual requirement, so as to request to obtain the electric quantity information of other distributed devices.
S610, the first electronic device displays the electric quantity information of the fourth electronic device.
The specific manner in which the first electronic device displays the fourth electronic device power information is similar to the description of step S602, which is not repeated here.
S611, the third electronic device sends the electric quantity information of the third electronic device, and accordingly, the first electronic device receives the electric quantity information of the third electronic device.
The third electronic device is illustratively a non-screen device, e.g., a headset. The specific manner in which the third electronic device sends the electrical quantity information of the third electronic device to the first electronic device is similar to the description of step S601, which is not repeated here.
S612, the first electronic device displays the electric quantity information of the third electronic device.
The specific manner in which the first electronic device displays the power information of the third electronic device is similar to the description of step S602, which is not repeated here.
It should be appreciated that for a non-screen electronic device, its CPU processing power is weak, making it difficult to efficiently process and present power information for other distributed devices. In order to reduce data synchronization and reduce power consumption of the device, the third electronic device may perform unidirectional synchronization only, that is, the third electronic device may synchronize electric quantity information with other electronic devices or the cloud server periodically or regularly, but does not receive electric quantity information from other electronic devices or the cloud server; or the third electronic device may also selectively perform the series of steps S613 and S614.
S613, the first electronic device sends the electric quantity information of the first electronic device, and correspondingly, the third electronic device receives the electric quantity information of the first electronic device.
S614, the third electronic device displays the prompt information of the electric quantity of the first electronic device.
It should be understood that when the first electronic device determines in advance that the electric quantity of the first electronic device reaches a preset value, electric quantity information of the first electronic device is sent to the third electronic device. That is, because the third electronic device without screen has limited capability of processing data, the power information from other electronic devices or the cloud server can be received under a certain condition, so that the pressure of the third electronic device without screen for processing data can be reduced to a certain extent.
For example, since the third electronic device does not have the screen display capability, when the electric quantity information of the first electronic device meets a certain condition, the third electronic device may trigger a preset prompt. For example, display a warning light, emit a warning tone, etc. When the third electronic device is a non-screen audio device such as an earphone or a sound box, a prompting mode can be preset to give out a prompting sound.
For example, when the first electronic device power reaches a low power threshold of 20%, the third electronic device may display a warning light (e.g., a red light) for warning the user that the first electronic device power is too low and needs to be charged in time; when the first electronic device is charged to 100% of the electric quantity, the third electronic device can display a prompting lamp (for example, a green lamp) for prompting the user that the first electronic device is charged, and the charger needs to be turned off in time to avoid overcharging.
Based on the scheme, the electric quantity information of each electronic device can be displayed on the interface of a certain on-screen electronic device, so that a user can be conveniently and efficiently obtain the electric quantity information of each distributed device, the user is reminded to timely process each distributed electronic device, and the user experience is improved.
Further, in order to better adapt to the personalized requirements of the user, the user can interact with the screen device through the user interface, and the mode of displaying the electric quantity information by the electronic device is self-defined.
For easy understanding, fig. 7 shows a set of graphical user interfaces (GRAPHICAL USER INTERFACE, GUI) provided by an embodiment of the present application, and a manner of custom displaying power information will be described below by taking a smart phone as an example.
The display interface of the user smartphone super terminal is shown in fig. 7 (a). The interface displays electronic device icons, such as a smart phone icon 701, a tablet icon 702, and a headset icon 703. The smart phone icon 701 indicates that the current local machine is a smart phone. In response to a user's operation of the smartphone icon 701, the smartphone may display a GUI as described in (b) in fig. 7.
As shown in (b) of fig. 7, in response to a user's operation of the smartphone icon 701, the smartphone may display a setting interface of the super terminal. The interface can display icons and corresponding controls that the smart phone can connect with other super terminals. For example, a tablet corresponding control 704, a headset corresponding control 705, and a speaker corresponding control 706. As can be seen from the controls corresponding to the super terminals shown in (b) of fig. 7, the tablet computer and the earphone are in an "on" state, which indicates that the smart phone can display the electric quantity information of the tablet computer and the earphone; the sound box is in a closed state, and the intelligent mobile phone does not display the electric quantity information of the sound box. That is, the user may select the super terminal of interest on the display interface of the super terminal in order to obtain the power information of the electronic device of interest. In response to user operation of the speaker corresponding control 706 and the return control 707, the smartphone may display a GUI as shown in fig. 7 (c).
As shown in fig. 7 (c), the smartphone may display a display interface of the super terminal in response to user operations of the speaker correspondence control 706 and the return control 707. The interface additionally displays a speaker icon 708, and when the smart phone responds to receiving the power information sent by the speaker, the interface may also display a speaker power information icon 709. In response to a user operation of the tablet icon 702, the smartphone may display a GUI as shown in (d) of fig. 7.
As shown in (d) of fig. 7, the smartphone may display a display interface of the tablet computer in response to a user's operation of the tablet computer icon 703. The interface displays a charge reminder control 710, a full charge reminder control 711, and an under-charge reminder control 712. As can be seen from the control shown in (d) of fig. 7, the charging reminding control presents an "on" state, which means that when the tablet computer is being charged, the smart phone can display the reminding information that the tablet computer is being charged; the full charge reminding control and the too low electric quantity reminding control are in a closed state, so that when the tablet personal computer is fully charged or the electric quantity of the tablet personal computer is too low, the intelligent mobile phone can not display the reminding information that the tablet personal computer is fully charged or the electric quantity of the tablet personal computer is too low. That is, the user can perform custom setting on the display interface of a certain electronic device of the super terminal, and select the scene to be prompted. For example, being charged, full charge, or low charge, etc. In response to the user operating the full charge awake control 711 and the return control 707, the smartphone can display a GUI as shown in (e) in fig. 7.
As shown in fig. 7 (e), the smartphone may display a display interface of the super terminal in response to user operations of the full charge reminder control 711 and the return control 707. When the tablet computer connected to the smart phone is fully charged, the tablet computer power information icon 713 may be displayed as shown in fig. 7 (e), which is similar to prompting the user that the tablet computer is fully charged, and the current power is 100%.
Based on the scheme, the user can carry out custom configuration according to actual requirements. For example, the user sets whether the electronic device can synchronize the power information, the user sets a scene that the electronic device needs to prompt, or the user sets a prompt mode of the electronic device. The scheme can meet the requirement of the user on electric quantity display in a personalized way, and further improves the use experience of the user.
As shown in fig. 8, a method for displaying electric power according to an embodiment of the present application may be applied to the system architecture shown in fig. 3, and the method 800 is specifically described below by taking the application of the method to a first electronic device as an example.
S801, the first electronic device displays the electric quantity information of the second electronic device in response to receiving the electric quantity information from the second electronic device.
By way of example, the first electronic device may be a shielded near field device, such as a smart phone as shown in fig. 5. The second electronic device may be a shielded near field device, such as a tablet computer. The first electronic device and the second electronic device may be electronic devices of the same user.
Wherein the charge information includes charge values, e.g., specific charge percentages of 20%, 50%, etc.; the power information may also include power hint information, such as the five types of power hint information shown in (c) of fig. 5.
S802, the first electronic device sends electric quantity information of the first electronic device to the second electronic device.
It should be appreciated that when the second electronic device is a screen device, the power information of the first electronic device may be displayed on the second electronic device.
In one implementation, the first electronic device displays power information of the third electronic device in response to receiving the power information from the third electronic device.
The third electronic device may be, for example, a non-screen near field device, such as a headset, or a speaker. The third electronic device may be the same user's electronic device as the first electronic device. The non-screen device has no display screen, and is difficult to display the electric quantity information of other devices through the display screen. Thus, in one aspect, the first electronic device may not send the power information of the first electronic device to the third electronic device. On the other hand, when the electric quantity information of the first electronic device meets the preset conditions, the first electronic device sends the electric quantity information of the first electronic device to the third electronic device, wherein the preset conditions include but are not limited to: the electric quantity value is lower than the first preset value and higher than the second preset value.
For example, the first preset value may be 20%, and when the electric quantity value is lower than or equal to 20%, it indicates that the electric quantity value is too low; the second preset value is 80%, and when the electric quantity value is higher than or equal to 80%, the electric quantity is sufficient. That is, because the third electronic device has limited capability of processing data, the power information of the first electronic device is sent to the third electronic device when the power value of the first electronic device reaches a certain preset condition. And the third electronic equipment represents different electric quantity information by lighting different prompting lamps. For example, when the electric quantity value of the first electronic device is 20%, the third electronic device displays a red indicator light for indicating the user to charge in time; when the electric quantity value of the first electronic equipment is 80%, the third electronic equipment displays a green prompting lamp for prompting a user that the first electronic equipment reaches a preset electric quantity value.
In one implementation, before the first electronic device sends the power information of the first electronic device to the second electronic device, the first electronic device determines that the device type of the second electronic device is the first type. The device types can comprise specific electronic devices such as smart phones, tablet computers, headphones and the like; a shielded device or a non-shielded device may also be included. That is, the embodiment of the present application does not limit the specific classification manner of the device type. For example, when the device type of the second electronic device is a tablet computer, the first electronic device may consider the second electronic device to have a display function. The first type may be understood as a device type having a display function.
That is, after the first electronic device determines in advance that the second electronic device has the display function, the power information of the first electronic device is sent to the second electronic device, and the second electronic device displays the power information of the first electronic device.
Similarly, when the electric quantity information of the first electronic device meets a preset condition, before the first electronic device sends the electric quantity information of the first electronic device to the third electronic device, the first electronic device determines that the device type of the third electronic device is the second type. The second type may be understood as a device type that does not have a display function.
In one implementation, a first electronic device sends power information of the first electronic device to a second electronic device at a first frequency; when the electric quantity value of the first electronic equipment is lower than or equal to a first preset value, the first electronic equipment sends electric quantity information of the first electronic equipment to the second electronic equipment at a second frequency, and the second frequency is lower than the first frequency. When the electric quantity value of the first electronic equipment is Yu Dengyu higher than a second preset value, the first electronic equipment sends the electric quantity information of the first electronic equipment to the second electronic equipment at a third frequency, and the third frequency is lower than the first frequency.
It will be appreciated that the first electronic device may, in a normal case, periodically send the power information of the first electronic device to the second electronic device. When the electric quantity information of the first electronic equipment meets the preset condition, the frequency of synchronizing the electric quantity information to the second electronic equipment can be reduced, so that data transmission resources are saved.
In one implementation, the first electronic device sends the electric quantity information of the first electronic device to the server, and meanwhile, the server stores the electric quantity information of the fourth electronic device; the method comprises the steps that first electronic equipment sends first request information to a server, wherein the first request information is used for requesting electric quantity information of fourth electronic equipment; the first electronic device displays power information of the fourth electronic device in response to receiving the power information from the fourth electronic device of the service.
The fourth electronic device may be a far field device, for example, requiring data interaction with the near field first electronic device via a server. The first electronic device and the fourth electronic device cannot directly interact data. The fourth electronic device may be the same user's electronic device as the first electronic device.
In one implementation, before the first electronic device receives the power information from the second electronic device and displays the power information of the second electronic device, the method further includes: the first electronic device displays a first interface, the first interface comprising at least one electronic device icon; the first electronic device responds to the operation of a user on a first electronic device icon, a second interface is displayed, and the second interface comprises at least one electronic device control, wherein the first electronic device icon belongs to the at least one electronic device icon; the first electronic device responds to the operation of a user on a second electronic device control, and the first interface displays a second electronic device icon, wherein the second electronic device control belongs to at least one electronic device control.
Illustratively, the first interface is a display interface of a smartphone super terminal as shown in (a) of fig. 7. The second interface is a setting interface of the super terminal as shown in (b) of fig. 7. The at least one electronic device icon displayed by the first interface includes a tablet icon 702, a smart phone icon 701, and a headset icon 703 shown in (a) of fig. 7. Wherein the first electronic device icon may be understood as a smartphone icon 701. The at least one electronic device control displayed by the second interface includes a control 704 corresponding to the tablet computer, a control 705 corresponding to the earphone, and a control 706 corresponding to the speaker as shown in (b) of fig. 7. The second electronic device control is a control 704 corresponding to the tablet computer, and when the user clicks the control corresponding to the tablet computer, the first interface can display the icon of the tablet computer. Further, when the smart phone receives the electric quantity information from the tablet personal computer, the first interface can also display an electric quantity information icon of the tablet personal computer.
In one implementation, the first electronic device responds to the operation of a user on a second electronic device icon, and displays a third interface, wherein the third interface comprises at least one setting control, and the second electronic device icon belongs to at least one electronic device icon; the first electronic equipment responds to the operation of a user on a first setting control, when the second electronic equipment meets the condition corresponding to the first setting control, the first interface displays electric quantity prompt information of the second electronic equipment, and the first setting control corresponds to the electric quantity prompt information of the second electronic equipment, wherein the first setting control belongs to at least one setting control.
The third interface is a display interface corresponding to an icon of an electronic device as shown in (d) of fig. 7. The at least one setup control icon displayed by the third interface includes a charge reminder control 710, a full charge reminder control 711, and a low battery reminder control 712 shown in fig. 7 (d). For example, when the user clicks the charge reminder control, the first interface may display a state of charge reminder message that the second electronic device is charging.
In one implementation, the power hint information includes at least one of: insufficient electric quantity prompt information, full state prompt information and self-defined electric quantity prompt information.
It should be understood that the power hint information includes, but is not limited to, the several ways described above. The user can limit the specific expression mode of the electric quantity prompt information or the specific condition for displaying the electric quantity prompt information according to the actual demand. For example, the user may customize the charging to 80% to prompt the user that the electronic device has reached a preset power value.
According to the method for displaying the electric quantity, provided by the embodiment of the application, for the mutual connection between the near-field equipment and the far-field equipment, the bidirectional synchronization of the electric quantity information can be realized, and for the on-screen equipment, the electric quantity information of other electronic equipment is displayed, so that a user can conveniently acquire the electric quantity information of each electronic equipment through the on-screen equipment, thereby reminding the user to timely process each electronic equipment and improving the use experience of the user.
An embodiment of the present application provides a computer program product, which when executed on an electronic device, causes the electronic device to execute the technical solution in the foregoing embodiment. The implementation principle and technical effects are similar to those of the related embodiments of the method, and are not repeated here.
An embodiment of the present application provides a readable storage medium, where the readable storage medium contains instructions that, when executed on an electronic device, cause the electronic device to execute the technical solution of the foregoing embodiment. The implementation principle and technical effect are similar, and are not repeated here.
The embodiment of the application provides a chip for executing instructions, and when the chip runs, the technical scheme in the embodiment is executed. The implementation principle and technical effect are similar, and are not repeated here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, the specific working procedures of the above-described apparatus and units (modules) may refer to the corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed electronic device, apparatus, and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The above functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (23)

1. A method of displaying an amount of power comprising:
The method comprises the steps that a first electronic device responds to receiving electric quantity information from a second electronic device, and the electric quantity information of the second electronic device is displayed;
the first electronic device sends the electric quantity information of the first electronic device to the second electronic device, and the electric quantity information of the first electronic device is displayed on the second electronic device.
2. The method according to claim 1, wherein the method further comprises:
And the first electronic equipment responds to receiving the electric quantity information from the third electronic equipment and displays the electric quantity information of the third electronic equipment.
3. The method of claim 1 or 2, wherein before the first electronic device sends the power information of the first electronic device to the second electronic device, the method further comprises:
The first electronic device determines that the device type of the second electronic device is a first type.
4. The method according to claim 2, wherein the method further comprises:
the first electronic device determines that the device type of the third electronic device is a second type;
When the electric quantity information of the first electronic device meets a preset condition, the first electronic device sends the electric quantity information of the first electronic device to the third electronic device, and the preset condition comprises any one of the following:
the electric quantity value is lower than or equal to a first preset value, the electric quantity value is higher than Yu Dengyu by a second preset value, and the electric quantity information comprises the electric quantity value.
5. The method of claim 4, wherein the first electronic device sending power information of the first electronic device to the second electronic device comprises:
The first electronic equipment sends electric quantity information of the first electronic equipment to the second electronic equipment at a first frequency;
when the electric quantity value of the first electronic equipment is lower than or equal to the first preset value, the first electronic equipment sends electric quantity information of the first electronic equipment to the second electronic equipment at a second frequency, and the second frequency is lower than the first frequency;
When the electric quantity value of the first electronic equipment is higher than or equal to the second preset value, the first electronic equipment sends the electric quantity information of the first electronic equipment to the second electronic equipment at a third frequency, and the third frequency is lower than the first frequency.
6. The method according to any one of claims 1 to 5, further comprising:
The first electronic equipment sends the electric quantity information of the first electronic equipment to a server, and the server stores the electric quantity information of fourth electronic equipment;
The first electronic equipment sends first request information to the server, wherein the first request information is used for requesting the electric quantity information of the fourth electronic equipment;
The first electronic device is used for responding to the receiving of the electric quantity information of the fourth electronic device from the server, and displaying the electric quantity information of the fourth electronic device.
7. The method of any of claims 1-6, wherein prior to the first electronic device displaying power information of a second electronic device in response to receiving power information from the second electronic device, the method further comprises:
The first electronic device displays a first interface, wherein the first interface comprises at least one electronic device icon;
The first electronic device responds to the operation of a user on a first electronic device icon, and a second interface is displayed, wherein the second interface comprises at least one electronic device control, and the first electronic device icon belongs to the at least one electronic device icon;
and the first electronic device responds to the operation of a user on a second electronic device control, and the first interface displays the second electronic device icon, wherein the second electronic device control belongs to the at least one electronic device control.
8. The method of claim 7, wherein the power information further comprises power hint information; the method further comprises the steps of:
The first electronic device responds to the operation of a user on a second electronic device icon, and a third interface is displayed, wherein the third interface comprises at least one setting control, and the second electronic device icon belongs to the at least one electronic device icon;
The first electronic device responds to the operation of a user on a first setting control, when the second electronic device meets the condition corresponding to the first setting control, the first interface displays electric quantity prompt information of the second electronic device, the first setting control corresponds to the electric quantity prompt information of the second electronic device, and the first setting control belongs to the at least one setting control.
9. The method of claim 8, wherein the power hint information includes at least one of:
insufficient electric quantity prompt information, full electric quantity prompt information, charging state prompt information and self-defined electric quantity prompt information.
10. A system for displaying power, comprising a first electronic device and a second electronic device;
The first electronic device is used for responding to the receiving of the electric quantity information of the second electronic device and displaying the electric quantity information of the second electronic device;
The first electronic equipment is also used for sending electric quantity information of the first electronic equipment;
The second electronic equipment is used for sending electric quantity information of the second electronic equipment;
The second electronic device is further configured to display the power information of the first electronic device in response to receiving the power information of the first electronic device.
11. The system of claim 10, wherein the system comprises a third electronic device;
the first electronic device is further configured to display power information of the third electronic device in response to receiving the power information of the third electronic device;
the third electronic device is configured to send electric quantity information of the third electronic device.
12. The system of claim 10 or 11, wherein,
The first electronic device is further configured to determine that a device type of the second electronic device is a first type.
13. The system of claim 11, wherein the system further comprises a controller configured to control the controller,
The first electronic device is further configured to determine that a device type of the third electronic device is a second type;
When the electric quantity information of the first electronic device meets a preset condition, the first electronic device is further configured to send the electric quantity information of the first electronic device, where the preset condition includes any one of the following:
The electric quantity value is lower than or equal to a first preset value, the electric quantity value is higher than Yu Dengyu by a second preset value, and the electric quantity information comprises the electric quantity value;
The third electronic device is further configured to receive electrical quantity information of the first electronic device, where the electrical quantity information meets the preset condition.
14. The system of claim 13, wherein the system further comprises a controller configured to control the controller,
The first electronic device is further configured to send electric quantity information of the first electronic device to the second electronic device at a first frequency;
When the electric quantity value of the first electronic equipment is lower than or equal to the first preset value, the first electronic equipment is further used for sending electric quantity information of the first electronic equipment at a second frequency, and the second frequency is lower than the first frequency;
When the electric quantity value of the first electronic device is higher than or equal to the second preset value, the first electronic device is further configured to send electric quantity information of the first electronic device at a third frequency, where the third frequency is lower than the first frequency;
the second electronic device is further configured to receive power information of the first electronic device at a first frequency;
When the electric quantity value of the first electronic equipment is lower than or equal to the first preset value, the second electronic equipment is also used for receiving the electric quantity information of the first electronic equipment at a second frequency;
And when the electric quantity value of the first electronic equipment is higher than or equal to the second preset value, the second electronic equipment is also used for receiving the electric quantity information of the first electronic equipment at a third frequency.
15. The system according to any one of claims 10 to 14, comprising a server and a fourth electronic device,
The first electronic device is further configured to send electric quantity information of the first electronic device to the server, where the server stores electric quantity information of the fourth electronic device;
The first electronic device is further configured to send first request information to the server, where the first request information is used to request electric quantity information of the fourth electronic device;
The first electronic device is further configured to display power information of the fourth electronic device in response to receiving the power information of the fourth electronic device from the server;
The fourth electronic device is configured to send electric quantity information of the fourth electronic device to a server;
The fourth electronic device is further configured to send second request information to the service, where the second request information is used to request electric quantity information of the first electronic device;
The fourth electronic device is further configured to display power information of the fourth electronic device in response to receiving the power information of the first electronic device from the server.
16. The system according to any one of claims 10 to 15, wherein,
The first electronic device is further configured to display a first interface, where the first interface includes at least one electronic device icon;
The first electronic device is further configured to display a second interface in response to a user operation on a first electronic device icon, where the second interface includes at least one electronic device control, and the first electronic device icon belongs to the at least one electronic device icon;
The first electronic device is further configured to respond to an operation of a user on a second electronic device control, and the first interface displays the second electronic device icon, where the second electronic device control belongs to the at least one electronic device control.
17. The system of claim 16, wherein the power information further comprises power hint information;
The first electronic device is further configured to display a third interface in response to a user operation on a second electronic device icon, where the third interface includes at least one setting control, and the second electronic device icon belongs to the at least one electronic device icon;
the first electronic device is further configured to respond to an operation of a user on a first setting control, when the second electronic device meets a condition corresponding to the first setting control, the first interface displays electric quantity prompt information of the second electronic device, and the first setting control corresponds to the electric quantity prompt information of the second electronic device, where the first setting control belongs to the at least one setting control.
18. The system of claim 17, wherein the power hint information includes at least one of:
insufficient electric quantity prompt information, full electric quantity prompt information, charging state prompt information and self-defined electric quantity prompt information.
19. An electronic device, comprising:
One or more processors;
one or more memories;
The one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-9.
20. An apparatus for displaying electrical quantities, characterized by a processor coupled to a memory for storing a computer program, the processor being adapted to run the computer program such that the apparatus performs the method according to any of claims 1 to 9.
21. The apparatus of claim 20, further comprising one or more of the memory and a transceiver for receiving signals and/or transmitting signals.
22. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a computer program or instructions which, when run on a computer, cause the method of any one of claims 1 to 9 to be performed.
23. A computer program product, characterized in that the computer program product comprises a computer program or instructions which, when run on a computer, cause the method of any one of claims 1 to 9 to be performed.
CN202211563019.8A 2022-12-07 Method, electronic device and system for displaying electric quantity Pending CN118158313A (en)

Publications (1)

Publication Number Publication Date
CN118158313A true CN118158313A (en) 2024-06-07

Family

ID=

Similar Documents

Publication Publication Date Title
CN111666119B (en) UI component display method and electronic device
US11683850B2 (en) Bluetooth reconnection method and related apparatus
CN114173204B (en) Message prompting method, electronic equipment and system
CN114079893B (en) Bluetooth communication method, terminal device and computer readable storage medium
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
US11973895B2 (en) Call method and apparatus
CN114115770A (en) Display control method and related device
CN113141483B (en) Screen sharing method based on video call and mobile device
EP4273687A1 (en) Picture sharing method and electronic device
CN116137639A (en) Cross-equipment audio data transmission method and electronic equipment
CN115119048B (en) Video stream processing method and electronic equipment
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN114079642B (en) Mail processing method and electronic equipment
CN113645595B (en) Equipment interaction method and device
CN110737916A (en) Communication terminal and processing method
CN118158313A (en) Method, electronic device and system for displaying electric quantity
CN116048831B (en) Target signal processing method and electronic equipment
CN116700556B (en) Card generation method and related device
CN116095219B (en) Notification display method and terminal device
WO2023020420A1 (en) Volume display method, electronic device, and storage medium
WO2024114212A1 (en) Cross-device focus switching method, electronic device and system
CN116700556A (en) Card generation method and related device
CN113973152A (en) Unread message quick reply method and electronic equipment
CN117850989A (en) Service calling method, system and electronic equipment
CN117177216A (en) Information interaction method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication