CN109813955B - Charging voltage abnormity prompting method and system, wearable device and storage medium - Google Patents

Charging voltage abnormity prompting method and system, wearable device and storage medium Download PDF

Info

Publication number
CN109813955B
CN109813955B CN201910138759.9A CN201910138759A CN109813955B CN 109813955 B CN109813955 B CN 109813955B CN 201910138759 A CN201910138759 A CN 201910138759A CN 109813955 B CN109813955 B CN 109813955B
Authority
CN
China
Prior art keywords
charging voltage
information
application layer
battery
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910138759.9A
Other languages
Chinese (zh)
Other versions
CN109813955A (en
Inventor
侯亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yuandian Future Technology Co ltd
Original Assignee
Beijing Yuandian Future Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yuandian Future Technology Co ltd filed Critical Beijing Yuandian Future Technology Co ltd
Priority to CN201910138759.9A priority Critical patent/CN109813955B/en
Publication of CN109813955A publication Critical patent/CN109813955A/en
Application granted granted Critical
Publication of CN109813955B publication Critical patent/CN109813955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention discloses a charging voltage abnormity prompting method and system, wearable equipment and a storage medium, and relates to the technical field of intelligent wearing. The method comprises the following steps: acquiring charging voltage information of the wearable device; charging voltage information is added into a battery information uploading path, so that the charging voltage information is uploaded to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system; and the control application layer generates charging voltage abnormity prompt information when the charging voltage information is abnormal, and outputs the charging voltage abnormity prompt information to a user. According to the embodiment of the invention, a user can timely know the charging abnormal condition when the charging voltage is abnormal, so that the user experience is improved.

Description

Charging voltage abnormity prompting method and system, wearable device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of intelligent wearing, in particular to a charging voltage abnormity prompting method and system, a wearable device and a storage medium.
Background
In an intelligent wearable device (for example, an intelligent bracelet or the like), a protection mechanism during charging is very important, and therefore, it is necessary to prompt a user when an abnormality occurs in a charging voltage of the intelligent wearable device. However, an operating system in the existing intelligent wearable device is generally an Android system, and there is no reporting way about charging voltage abnormality in the Android system, and when the charging voltage abnormality is detected, the charging power supply is interrupted only at a system bottom layer, and a display interface of the charging abnormality cannot be displayed to a user, so that the user cannot know the charging abnormality, and the user experience is low.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a charging voltage abnormality prompting method, a system, a wearable device, and a storage medium, so as to solve the problem that when the charging voltage abnormality is detected, the charging power supply is only interrupted at a bottom layer of the system, and a display interface of the charging abnormality cannot be displayed to a user, so that the user cannot know the charging abnormality, and the user experience is low.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the embodiments of the present invention, there is provided a charging voltage abnormality prompting method applied to a wearable device, the charging voltage abnormality prompting method including:
acquiring charging voltage information of the wearable device;
adding the charging voltage information into a battery information uploading path, and uploading the charging voltage information to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system;
and controlling the application layer to generate charging voltage abnormity prompt information when the charging voltage information is abnormal, and outputting the charging voltage abnormity prompt information to a user.
On the basis of the above technical solution, adding the charging voltage information to a battery information upload path to upload the charging voltage information to an application layer via a bottom layer of the operating system through the battery information upload path includes:
reading the charging voltage information acquired by a bottom layer through a battery information daemon health operated by a system operation library system layer, expanding an attribute data structure of the battery information, and writing the charging voltage information into the attribute data structure of the battery information;
and transmitting the attribute data structure of the battery information to an application framework frame layer, so that when the frame layer generates a battery information change broadcast, the charging voltage information is written into the battery information change broadcast, and the battery information change broadcast is transmitted to the application layer.
On the basis of the above technical solution, the controlling the application layer to generate the charging voltage abnormality prompt information when the charging voltage information is abnormal, and outputting the charging voltage abnormality prompt information to a user includes:
and controlling the application layer to judge whether the charging voltage information is greater than a preset voltage threshold value, if so, generating charging voltage abnormity prompt information, and outputting the charging voltage abnormity prompt information to a user.
On the basis of the above technical solution, the outputting the charging voltage abnormality prompt information to a user includes:
popping up a charging voltage abnormity prompt window on a display interface of the application layer, and displaying the charging voltage abnormity prompt information through the charging voltage abnormity prompt window; or,
displaying the charging voltage abnormity prompt information in a preset area on a display interface of the application layer, and highlighting the charging voltage abnormity prompt information; or,
and the application layer outputs the abnormal charging voltage prompt information to a user in a mode of combining voice broadcasting and interface display.
According to another aspect of the embodiments of the present invention, there is provided a charging voltage abnormality prompting system applied to a wearable device, the charging voltage abnormality prompting system including:
the detection unit is used for acquiring charging voltage information of the wearable device;
the path multiplexing unit is used for adding the charging voltage information into a battery information uploading path, so that the charging voltage information is uploaded to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system;
and the abnormity prompting unit is used for controlling the application layer to generate charging voltage abnormity prompting information when the charging voltage information is abnormal, and outputting the charging voltage abnormity prompting information to a user.
On the basis of the above technical solution, the path multiplexing unit is specifically configured to:
reading the charging voltage information acquired by a bottom layer through a battery information daemon health operated by a system operation library system layer, expanding an attribute data structure of the battery information, and writing the charging voltage information into the attribute data structure of the battery information;
and transmitting the attribute data structure of the battery information to an application framework frame layer, so that when the frame layer generates a battery information change broadcast, the charging voltage information is written into the battery information change broadcast, and the battery information change broadcast is transmitted to the application layer.
On the basis of the technical scheme, the abnormality prompt unit is specifically configured to:
and controlling the application layer to judge whether the charging voltage information is greater than a preset voltage threshold value, if so, generating charging voltage abnormity prompt information, and outputting the charging voltage abnormity prompt information to a user.
On the basis of the technical scheme, the abnormality prompt unit is specifically configured to:
popping up a charging voltage abnormity prompt window on a display interface of the application layer, and displaying the charging voltage abnormity prompt information through the charging voltage abnormity prompt window; or,
displaying the charging voltage abnormity prompt information in a preset area on a display interface of the application layer, and highlighting the charging voltage abnormity prompt information; or,
and the application layer outputs the abnormal charging voltage prompt information to a user in a mode of combining voice broadcasting and interface display.
According to a further aspect of the embodiments of the present invention, there is provided a wearable device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the charging voltage abnormality notification method according to any one of claims 1 to 4.
According to still another aspect of the embodiments of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the charging voltage abnormality presentation method according to any one of claims 1 to 4.
According to the charging voltage abnormity prompting method, the system, the wearable device and the storage medium, which are provided by the embodiment of the invention, the charging voltage information is uploaded to the application layer through the battery information reporting path and the bottom layer of the wearable device operating system through the multiplexing battery information reporting path, so that the application layer generates the charging voltage abnormity prompting information when the charging voltage information is abnormal, and the charging voltage abnormity prompting information is output to a user, therefore, the user can know the charging abnormity condition in time when the charging voltage is abnormal, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating a specific implementation flow of a charging voltage abnormality prompting method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a specific implementation of a charging voltage abnormality prompting method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a charging voltage abnormality prompting system according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wearable device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a smart watch according to a preferred implementation example of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The wearable device provided in the embodiment of the invention includes, but is not limited to, a smart bracelet, a smart watch, and a mobile terminal. With the continuous development of screen technologies and the appearance of screen forms such as flexible screens and folding screens, the mobile terminal can also be used as a wearable device. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply. It will be appreciated by those skilled in the art that the above described structure does not constitute a limitation of the wearable device, which may include more or fewer components, or combine certain components, or a different arrangement of components.
Example one
Fig. 1 is a flowchart illustrating a specific implementation of a charging voltage abnormality prompting method according to an embodiment of the present invention. The method is applied to wearable equipment. Referring to fig. 1, the charging voltage abnormality prompting method provided in this embodiment may include the following steps:
and S101, acquiring charging voltage information of the wearable device.
The wearable device comprises, but is not limited to, an intelligent wearable device supporting an android system and having a display screen, such as an intelligent bracelet, an intelligent watch, and the like. In this embodiment, the operating system of the wearable device is an android system, and the architecture of the android system is divided into four layers: the system comprises a bottom layer (linux kernel layer), a system operation library layer (system layer), an application framework layer (framework layer) and an application layer. Wherein:
the linux kernel layer provides bottom-layer drive for various hardware of wearable equipment of the android system;
the system layer provides main characteristic support for the android system through function libraries (such as C/C + + libraries) of some characteristics, and android operation in the system layer is a library which mainly provides some core libraries to allow developers to write android applications by using java language;
the Framework layer provides a large amount of APIs (application program interfaces) for developers to use, is carried out by an application program Framework facing to the bottom layer when android application programs are developed, can be used as the basis of application program development and is also an important means of software multiplexing, any application program can issue a function module of the application program, and other application programs can use the function as long as the issuance complies with the convention of the Framework;
and the application layer belongs to all the application programs installed on the wearable device, and the layer can realize interaction with a user.
In this embodiment, the acquiring the charging voltage information of the wearable device specifically includes: when the wearable device is charged, the android system obtains charging voltage information input to the wearable device in real time through a charger drive of a linux kernel layer.
And S102, adding the charging voltage information into a battery information uploading path, and uploading the charging voltage information to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system.
In the prior art, when the charger driver of the linux kernel layer acquires the charging voltage information, only the charging voltage information is written into a certain internal file node of the system layer, and the battery information daemon of the system layer does not read the charging voltage information. The health model is an intermediary model, which monitors battery events from a bottom layer downwards, transmits battery data information upwards to a battery service BatteryService of a framework layer for calculating relevant state information such as battery power, temperature and the like, calculates information such as battery power display, residual power, power level and the like through transmitted data, writes battery abnormal information into battery information change broadcast when the battery information is abnormal, and uploads the battery information change broadcast to an application layer for prompting a user.
In this embodiment, the health of the system layer reads the charging voltage information, expands the battery attribute data structure, and writes the charging voltage information into the data structure, so that the charging voltage information can be uploaded to the application layer through the multiplexing battery information upload path. In this embodiment, the specific implementation manner of step S102 is as follows:
reading the charging voltage information acquired by a bottom layer through a battery information daemon health operated by a system operation library system layer, expanding an attribute data structure of the battery information, and writing the charging voltage information into the attribute data structure of the battery information;
and transmitting the attribute data structure of the battery information to an application framework frame layer, so that when the frame layer generates a battery information change broadcast, the charging voltage information is written into the battery information change broadcast, and the battery information change broadcast is transmitted to the application layer.
In this embodiment, when the battery information is abnormal, the frame layer is, for example: when the battery power is low and the battery temperature is abnormal, generating battery information change broadcast; and/or generating a battery information change broadcast according to a preset frequency; and/or generating a battery information change broadcast when a battery charge/temperature level is changed according to a battery charge/temperature change. Because the system layer writes the charging voltage information into the attribute data structure of the battery information, the frame layer also comprises the charging voltage information when generating the battery information change broadcast according to the battery information in the battery attribute data structure, so that the charging voltage information can be uploaded to the application layer along with the battery change information.
Step S103, controlling the application layer to generate charging voltage abnormality prompt information when the charging voltage information is abnormal, and outputting the charging voltage abnormality prompt information to a user.
In this embodiment, when receiving the battery information change broadcast, the application layer extracts charging voltage information carried in the battery information change broadcast, and determines whether the charging voltage information is abnormal, if so, generates corresponding charging voltage abnormality prompt information, and displays the charging voltage abnormality prompt information to a user; otherwise, if the charging voltage information is normal, the charging voltage information is not displayed.
As can be seen from the above, in the charging voltage abnormality prompting method provided in this embodiment, the charging voltage information is uploaded to the application layer through the battery information reporting path and the bottom layer of the wearable device operating system through the multiplexing battery information reporting path, so that the application layer generates the charging voltage abnormality prompting information when the charging voltage information is abnormal, and outputs the charging voltage abnormality prompting information to the user, thereby enabling the user to know the abnormal charging condition in time when the charging voltage is abnormal, and improving user experience.
Example two
Fig. 2 is a schematic flow chart illustrating a specific implementation of the charging voltage abnormality prompting method according to the second embodiment of the present invention. The method is applied to wearable equipment. Referring to fig. 2, the charging voltage abnormality prompting method provided in this embodiment may include the following steps:
step S201, acquiring charging voltage information of the wearable device.
Step S202, adding the charging voltage information into a battery information uploading path, and uploading the charging voltage information to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system. Wherein the operating system is an android system.
It should be noted that, since the implementation manners of step S201 to step S202 in this embodiment are completely the same as the implementation manners of step S101 to step S102 in the previous embodiment, detailed descriptions thereof are omitted here.
Step S203, controlling the application layer to determine whether the charging voltage information is greater than a preset voltage threshold, and if so, generating a charging voltage abnormality prompt message and outputting the charging voltage abnormality prompt message to a user.
In this embodiment, the charging voltage information includes a magnitude of the charging voltage, and when the application layer determines that the charging voltage is greater than the preset voltage threshold, the application layer determines that the charging voltage is abnormal, and at this time, generates a charging voltage abnormality prompt message and outputs the charging voltage abnormality prompt message to a user, that is, the application layer prompts the user only when the charging voltage is abnormally increased.
Further, in this embodiment, outputting the charging voltage abnormality prompting information to a user specifically includes:
popping up a charging voltage abnormity prompt window on a display interface of the application layer, and displaying the charging voltage abnormity prompt information through the charging voltage abnormity prompt window; or,
displaying the charging voltage abnormity prompt information in a preset area on a display interface of the application layer, and highlighting the charging voltage abnormity prompt information; or,
and the application layer outputs the abnormal charging voltage prompt information to a user in a mode of combining voice broadcasting and interface display.
It should be noted that the three charging voltage abnormality prompting manners are merely preferred implementation examples listed in the present invention, and are not limited to the present invention, and in other implementation examples, the application layer may also output the charging voltage abnormality prompting information to a user in other manners.
Further, in this embodiment, after the Linux kernel layer of the android system obtains the charging voltage information, the charging power supply is also interrupted at the bottom layer when the charging voltage is abnormal, that is, when the charging voltage is greater than the preset threshold value, so that the charging voltage is abnormally increased to damage the wearable device.
As can be seen from the above, the charging voltage abnormality prompting method provided by this embodiment can also upload the charging voltage information to the application layer through the android system bottom layer by multiplexing the battery information upload path, so that the application layer prompts the user when the charging voltage is abnormally increased, thereby improving the user experience.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a charging voltage abnormality prompting system according to a third embodiment of the present invention. Only portions related to the embodiments of the present invention are shown for convenience of explanation. The system is applied to wearable equipment. Referring to fig. 3, the charging voltage abnormality prompt system 3 provided in the present embodiment includes:
a detection unit 31, configured to acquire charging voltage information of the wearable device;
the path multiplexing unit 32 is configured to add the charging voltage information to a battery information uploading path, so that the charging voltage information is uploaded to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system;
and the abnormity prompting unit 3 is used for controlling the application layer to generate charging voltage abnormity prompting information when the charging voltage information is abnormal, and outputting the charging voltage abnormity prompting information to a user.
Optionally, the path multiplexing unit 32 is specifically configured to:
reading the charging voltage information acquired by a bottom layer through a battery information daemon health operated by a system operation library system layer, expanding an attribute data structure of the battery information, and writing the charging voltage information into the attribute data structure of the battery information;
and transmitting the attribute data structure of the battery information to an application framework frame layer, so that when the frame layer generates a battery information change broadcast, the charging voltage information is written into the battery information change broadcast, and the battery information change broadcast is transmitted to the application layer.
Optionally, the abnormality prompting unit 33 is specifically configured to:
and controlling the application layer to judge whether the charging voltage information is greater than a preset voltage threshold value, if so, generating charging voltage abnormity prompt information, and outputting the charging voltage abnormity prompt information to a user.
Optionally, the abnormality prompting unit 33 is specifically configured to:
popping up a charging voltage abnormity prompt window on a display interface of the application layer, and displaying the charging voltage abnormity prompt information through the charging voltage abnormity prompt window; or,
displaying the charging voltage abnormity prompt information in a preset area on a display interface of the application layer, and highlighting the charging voltage abnormity prompt information; or,
and the application layer outputs the abnormal charging voltage prompt information to a user in a mode of combining voice broadcast and interface display.
It should be noted that the system of this embodiment and the charging voltage abnormality prompting method of the first embodiment or the second embodiment belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, and technical features in the method embodiments are correspondingly applicable in the apparatus embodiments, and are not described herein again.
It will be understood by those of ordinary skill in the art that all or some of the steps of the disclosed methods of the present embodiments may be implemented as software, firmware, hardware, or any suitable combination thereof.
Example four
Fig. 4 is a schematic structural diagram of a wearable device according to a fourth embodiment of the present invention. Only portions related to the embodiments of the present invention are shown for convenience of description.
Referring to fig. 4, the wearable device 44 provided in this embodiment includes a memory 41, a processor 42, and a computer program 43 stored in the memory 41 and capable of running on the processor 42, wherein when the computer program 43 is executed by the processor 42, the steps of the charging voltage abnormality prompting method according to the first embodiment or the second embodiment are implemented.
The wearable device 44 includes, but is not limited to, an intelligent wearable device 4 such as a smart watch or a smart bracelet that supports an android system and has an interface display function.
Those skilled in the art will appreciate that fig. 4 is merely an example of the wearable device 4, and does not constitute a limitation of the wearable device 4, and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the wearable device 4 may also include input-output devices, etc.
Preferably, in a specific implementation, the wearable device 4 may be a smart watch supporting an android system and having an interface display function as shown in fig. 5.
Those skilled in the art can understand that the wearable device 4 of the present embodiment and the charging voltage abnormality prompting method of the first embodiment or the second embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, and technical features in the method embodiments are correspondingly applicable in the device embodiments, and are not described herein again.
It will be understood by those of ordinary skill in the art that all or some of the steps of the disclosed methods of the present embodiments may be implemented as software, firmware, hardware, or any suitable combination thereof.
EXAMPLE five
An embodiment five of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the charging voltage abnormality prompting method described in the first embodiment or the second embodiment are implemented.
It should be noted that the computer-readable storage medium of this embodiment and the charging voltage abnormality prompting method of the first embodiment or the second embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, and technical features in the method embodiments are correspondingly applicable in the apparatus embodiments, and are not described herein again.
It will be understood by those of ordinary skill in the art that all or some of the steps of the disclosed methods of the present embodiments may be implemented as software, firmware, hardware, or any suitable combination thereof.
It will be understood by those skilled in the art that the Processor 42 may be a Central Processing Unit (CPU), other general purpose Processor 42, a Digital Signal Processor (DSP) 42, an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor 42 may be a microprocessor 42 or the processor 42 may be any conventional processor 42 or the like.
The memory 41 may be an internal storage unit of the wearable device 4, such as a hard disk or a memory of the wearable device 4. The memory 41 may also be an external storage device of the wearable device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the wearable device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the wearable device 4. The memory 41 is used for storing the computer program 43 and other programs and data required by the terminal. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
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 implementation. 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 present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed method, system and wearable device 4 may be implemented in other ways. For example, the above-described embodiments of the system and wearable device 4 are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the above embodiments may also be implemented by a computer program 43 to instruct related hardware, where the computer program 43 may be stored in a computer readable storage medium, and when the computer program 43 is executed by the processor 42, the steps of the above methods and embodiments may be implemented. . Wherein the computer program 43 comprises a computer program 43 code, the computer program 43 code may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program 43 code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory 41, read-Only Memory 41 (ROM), random Access Memory 41 (RAM), electrical carrier signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (8)

1. A charging voltage abnormity prompting method is applied to wearable equipment and is characterized by comprising the following steps:
acquiring charging voltage information of the wearable device;
adding the charging voltage information into a battery information uploading path, and uploading the charging voltage information to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system;
controlling the application layer to generate charging voltage abnormity prompt information when the charging voltage information is abnormal, and outputting the charging voltage abnormity prompt information to a user;
the adding the charging voltage information to a battery information uploading path, so that the charging voltage information is uploaded to an application layer through the battery information uploading path via a bottom layer of the operating system comprises:
reading the charging voltage information acquired by a bottom layer through a battery information daemon health operated by a system operation library system layer, expanding an attribute data structure of the battery information, and writing the charging voltage information into the attribute data structure of the battery information;
and transmitting the attribute data structure of the battery information to an application framework frame layer, so that when the frame layer generates a battery information change broadcast, the charging voltage information is written into the battery information change broadcast, and the battery information change broadcast is transmitted to the application layer.
2. The charging voltage abnormality prompting method according to claim 1, wherein the controlling the application layer to generate charging voltage abnormality prompting information when the charging voltage information is abnormal, and outputting the charging voltage abnormality prompting information to a user includes:
and controlling the application layer to judge whether the charging voltage information is greater than a preset voltage threshold value, if so, generating charging voltage abnormity prompt information, and outputting the charging voltage abnormity prompt information to a user.
3. The charging voltage abnormality prompting method according to claim 2, wherein the outputting of the charging voltage abnormality prompting information to a user includes:
popping up a charging voltage abnormity prompt window on a display interface of the application layer, and displaying the charging voltage abnormity prompt information through the charging voltage abnormity prompt window; or,
displaying the charging voltage abnormity prompt information in a preset area on a display interface of the application layer, and highlighting the charging voltage abnormity prompt information; or,
and the application layer outputs the abnormal charging voltage prompt information to a user in a mode of combining voice broadcast and interface display.
4. The utility model provides a charging voltage abnormity reminder system, is applied to wearable equipment, a serial communication port, charging voltage abnormity reminder system includes:
the detection unit is used for acquiring charging voltage information of the wearable device;
the path multiplexing unit is used for adding the charging voltage information into a battery information uploading path, so that the charging voltage information is uploaded to an application layer through the battery information uploading path via a bottom layer of the wearable device operating system;
the abnormal prompting unit is used for controlling the application layer to generate charging voltage abnormal prompting information when the charging voltage information is abnormal and outputting the charging voltage abnormal prompting information to a user;
the path multiplexing unit is specifically configured to:
reading the charging voltage information acquired by a bottom layer through a battery information daemon health operated by a system operation library system layer, expanding an attribute data structure of the battery information, and writing the charging voltage information into the attribute data structure of the battery information;
and transmitting the attribute data structure of the battery information to an application framework frame layer, so that when the frame layer generates a battery information change broadcast, the charging voltage information is written into the battery information change broadcast, and the battery information change broadcast is transmitted to the application layer.
5. The charging voltage abnormality prompting system according to claim 4, wherein the abnormality prompting unit is specifically configured to:
and controlling the application layer to judge whether the charging voltage information is greater than a preset voltage threshold value, if so, generating charging voltage abnormity prompt information, and outputting the charging voltage abnormity prompt information to a user.
6. The charging voltage abnormality prompting system according to claim 5, wherein the abnormality prompting unit is specifically configured to:
popping up a charging voltage abnormity prompt window on a display interface of the application layer, and displaying the charging voltage abnormity prompt information through the charging voltage abnormity prompt window; or,
displaying the charging voltage abnormity prompt information in a preset area on a display interface of the application layer, and highlighting the charging voltage abnormity prompt information; or,
and the application layer outputs the abnormal charging voltage prompt information to a user in a mode of combining voice broadcast and interface display.
7. A wearable device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the charging voltage abnormality notification method as claimed in any one of claims 1 to 3.
8. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the charging voltage abnormality presentation method according to any one of claims 1 to 3.
CN201910138759.9A 2019-02-25 2019-02-25 Charging voltage abnormity prompting method and system, wearable device and storage medium Active CN109813955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138759.9A CN109813955B (en) 2019-02-25 2019-02-25 Charging voltage abnormity prompting method and system, wearable device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138759.9A CN109813955B (en) 2019-02-25 2019-02-25 Charging voltage abnormity prompting method and system, wearable device and storage medium

Publications (2)

Publication Number Publication Date
CN109813955A CN109813955A (en) 2019-05-28
CN109813955B true CN109813955B (en) 2022-11-04

Family

ID=66607419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138759.9A Active CN109813955B (en) 2019-02-25 2019-02-25 Charging voltage abnormity prompting method and system, wearable device and storage medium

Country Status (1)

Country Link
CN (1) CN109813955B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106058798A (en) * 2016-05-30 2016-10-26 安徽华米信息科技有限公司 Voltage protection device, method and wearable device
CN107195997A (en) * 2017-06-19 2017-09-22 厦门美图移动科技有限公司 A kind of charging method, device and mobile terminal
CN107645189A (en) * 2017-09-26 2018-01-30 努比亚技术有限公司 Charge protection method and mobile terminal
CN108512980A (en) * 2018-02-13 2018-09-07 维沃移动通信有限公司 A kind of detection method and mobile terminal of mobile terminal
CN108808765A (en) * 2018-05-02 2018-11-13 青岛海信移动通信技术股份有限公司 A kind of charge prompting method and apparatus
CN108896911A (en) * 2018-04-26 2018-11-27 广东小天才科技有限公司 Charging abnormity detection method and device for electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120154633A1 (en) * 2009-12-04 2012-06-21 Rodriguez Tony F Linked Data Methods and Systems
CN102209326B (en) * 2011-05-20 2013-09-11 北京中研瑞丰信息技术研究所(有限合伙) Malicious behavior detection method and system based on smartphone radio interface layer
US8893222B2 (en) * 2012-11-13 2014-11-18 Auckland Uniservices Ltd. Security system and method for the android operating system
WO2018032516A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Method and apparatus for sharing application data, and terminal device
CN106850928B (en) * 2017-01-13 2019-08-06 北京安云世纪科技有限公司 Incoming call and SMS processing method, device and mobile terminal
CN109254935A (en) * 2018-08-17 2019-01-22 青岛海信电器股份有限公司 The recognition methods of smart television external storage equipment type and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106058798A (en) * 2016-05-30 2016-10-26 安徽华米信息科技有限公司 Voltage protection device, method and wearable device
CN107195997A (en) * 2017-06-19 2017-09-22 厦门美图移动科技有限公司 A kind of charging method, device and mobile terminal
CN107645189A (en) * 2017-09-26 2018-01-30 努比亚技术有限公司 Charge protection method and mobile terminal
CN108512980A (en) * 2018-02-13 2018-09-07 维沃移动通信有限公司 A kind of detection method and mobile terminal of mobile terminal
CN108896911A (en) * 2018-04-26 2018-11-27 广东小天才科技有限公司 Charging abnormity detection method and device for electronic equipment
CN108808765A (en) * 2018-05-02 2018-11-13 青岛海信移动通信技术股份有限公司 A kind of charge prompting method and apparatus

Also Published As

Publication number Publication date
CN109813955A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
US10366669B2 (en) Electronic device and method for driving display thereof
CN105786421B (en) Server display method and device
KR20170024717A (en) Operating Module for display and operating Method, and electronic device supporting the same
WO2019222811A1 (en) Method of processing push information, method of pushing advertisement information, device and platform
CN111479016B (en) Terminal use duration reminding method and device, terminal and storage medium
CN107800865B (en) Electronic device and method for displaying time information in low power state
US20160323631A1 (en) Method for presenting digital media content and apparatus
US10747489B2 (en) Method for displaying content and electronic device therefor
KR20170086977A (en) Method and apparatus for processing image data
CN111324378A (en) Custom H5 page parameter configuration applied to playing of video monitoring equipment in APP
CN104020990A (en) Date selection control displaying method and device
CN112181500A (en) Parameter adjusting method, device, terminal and storage medium
CN109813955B (en) Charging voltage abnormity prompting method and system, wearable device and storage medium
US20150002680A1 (en) System, method, and computer program product for receiving and executing test logic at user devices
CN103794169A (en) Display control device and data processing system
US11216328B2 (en) Server, electronic device, and control method thereof
CN112017261A (en) Sticker generation method and device, electronic equipment and computer readable storage medium
CN112130765B (en) EEPROM data reading and writing method and device
CN114844179A (en) Electronic device and electricity meter resetting method
CN109147747B (en) Method for loading tuning parameters, playing device, server and system
US20120173182A1 (en) Method for calibrating oscilloscopes
CN110442342A (en) Interface creating method, device, storage medium and computer equipment
EP2085876A2 (en) Method for writing data and display apparatus for the same
CN110266915A (en) The method and apparatus of video acquisition content are controlled in a kind of Android device
CN102208176B (en) A kind of three-dimensional grating control device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220907

Address after: Room 106, 1st Floor, Building 1, No. 1, Qiaoyuan Road, Shilong Industrial Zone, Mentougou District, Beijing 102300

Applicant after: Beijing Yuandian Future Technology Co.,Ltd.

Address before: 518000 6-8 / F, 10-11 / F, 6 / F, 6-10 / F, C zone, Han's innovation building, No. 9018, Beihuan Avenue, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant