CN111478400A - Method, device and storage medium for determining whether storage battery is matched with electrical appliance - Google Patents

Method, device and storage medium for determining whether storage battery is matched with electrical appliance Download PDF

Info

Publication number
CN111478400A
CN111478400A CN202010383102.1A CN202010383102A CN111478400A CN 111478400 A CN111478400 A CN 111478400A CN 202010383102 A CN202010383102 A CN 202010383102A CN 111478400 A CN111478400 A CN 111478400A
Authority
CN
China
Prior art keywords
electrical appliance
storage battery
signal
matched
battery
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
CN202010383102.1A
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shikun Electronic Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202010383102.1A priority Critical patent/CN111478400A/en
Publication of CN111478400A publication Critical patent/CN111478400A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/63Generation or supply of power specially adapted for television receivers
    • 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

Abstract

The application provides a method, a device, a storage medium, a processor, an electrical appliance and a system for determining whether a storage battery is matched with the electrical appliance, wherein the method comprises the following steps: receiving a first verification signal sent by a storage battery; determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal; and the electrical appliance controls the electrical appliance to stand by or shut down under the condition that the storage battery is determined to be unmatched with the electrical appliance. The method avoids the condition that the storage battery and the electrical appliance are damaged due to mismatching, and the storage battery is matched with the electrical appliance fixedly, so that a manufacturer can sell the storage battery synchronously when selling the electrical appliance, the reject ratio caused by improper use of the storage battery in the market is reduced, and the quality risk of the storage battery brought by power supply of the electrical appliance is reduced.

Description

Method, device and storage medium for determining whether storage battery is matched with electrical appliance
Technical Field
The application relates to the field of electric appliances, in particular to a method, a device, a storage medium, a processor, an electric appliance and a system for determining whether a storage battery is matched with the electric appliance.
Background
Nowadays, storage batteries are used for supplying power to televisions in some areas and occasions, for example, the storage batteries are considered to be used for supplying power to the televisions in some areas in southeast Asia because the local power supply is unstable; there are also some on-board televisions, which also require the use of a battery to supply power. In these scenarios, the power requirements on the battery are high, such as the voltage and current cannot be too high or too low, otherwise the risk of burning the motherboard is caused. Even though some customers adopt high-low voltage protection mainboards to ensure that the voltage is in an available range, the risk of overlarge current is inevitable; in addition, the original battery matched with the television is the most appropriate, but some users are suitable for finding the battery by themselves, so that the risk of burning out the television can be caused, and the maintenance and the reject ratio of a television factory are also influenced.
The above information disclosed in this background section is only for enhancement of understanding of the background of the technology described herein and, therefore, certain information may be included in the background that does not form the prior art that is already known in this country to a person of ordinary skill in the art.
Disclosure of Invention
The application mainly aims to provide a method, a device, a storage medium, a processor, an electrical appliance and a system for determining whether a storage battery is matched with the electrical appliance, so as to solve the problem that the storage battery is used by a user disorderly to damage a television in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a method of determining whether a storage battery is matched with an electrical appliance, including: receiving a first verification signal sent by a storage battery; determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal; and the electrical appliance controls the electrical appliance to be standby or shut down under the condition that the storage battery is determined to be not matched with the electrical appliance.
Optionally, determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal includes: decoding the first verification signal to obtain a decoded signal; matching the decoded signal with a preset signal to obtain a matching result; and determining whether the storage battery is matched with the electrical appliance or not according to the matching result.
Optionally, the first verification signal includes a data code and a user code, the decoded signal includes a decoding header code and a decoding user code, and the matching of the decoded signal with a predetermined signal is performed to obtain a matching result, including: matching the decoding head code with a preset head code to obtain a first matching result; matching the decoding user code with a preset user code to obtain a second matching result; and determining the matching result according to the first matching result and the second matching result.
Optionally, determining the matching result according to the first matching result and the second matching result includes: obtaining the matching result which is characterized as successful matching under the condition that the first matching result is characterized as successful matching and the second matching result is characterized as successful matching; and under the condition that the first matching result is characterized as being not successfully matched and/or the second matching result is characterized as being not successfully matched, obtaining the matching result which is characterized as being not successfully matched.
Optionally, the electrical appliance includes a universal input interface, receives a first verification signal sent by the battery, and includes: the general input interface receives the first verification signal sent by the storage battery.
Optionally, before receiving the first verification signal sent by the storage battery, the method further includes: and controlling the electrical appliance to be powered on under the condition of receiving the power-on signal.
Optionally, after controlling the electrical appliance to be powered on, before receiving the first verification signal sent by the storage battery, the method further includes: and sending a second verification signal once, wherein the first verification signal is sent by the storage battery based on the second verification signal.
Optionally, the electrical appliance includes a first universal asynchronous receiver/transmitter, and sends out a second verification signal once, including: the first universal asynchronous receiving and transmitting transmitter sends the second verification signal once every first preset time, and sends the second verification signal for the first preset times, the storage battery comprises a second universal asynchronous receiving and transmitting transmitter, and the first verification signal is sent by the second universal asynchronous receiving and transmitting transmitter.
Optionally, determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal includes: determining that the storage battery is matched with the electrical appliance under the condition that the first verification signal is a preset verification signal; and under the condition that the first verification signal is not a preset verification signal, determining that the storage battery is not matched with the electrical appliance.
According to another aspect of the embodiments of the present invention, there is also provided a method for determining whether a storage battery is matched with an electrical appliance, including: the storage battery sends out a first verification signal; the electrical appliance receives the first verification signal and determines whether the storage battery is matched with the electrical appliance or not according to the first verification signal; and the electrical appliance is in standby or shutdown when the condition that the storage battery is not matched with the electrical appliance is determined.
Optionally, the determining, by the electrical appliance and according to the first verification signal, whether the storage battery is matched with the electrical appliance includes: the electrical appliance decodes the first verification signal to obtain a decoded signal; the electrical appliance matches the decoded signal with a preset signal to obtain a matching result; and the electrical appliance determines whether the storage battery is matched with the electrical appliance or not according to the matching result.
Optionally, the first verification signal includes a data code and a user code, the decoded signal includes a decoding header code and a decoding user code, and the electrical appliance matches the decoded signal with a predetermined signal to obtain a matching result, including: the electrical appliance matches the decoding head code with a preset head code to obtain a first matching result; the electrical appliance matches the decoding user code with a preset user code to obtain a second matching result; and the electric appliance determines the matching result according to the first matching result and the second matching result.
Optionally, the determining, by the electrical appliance, the matching result according to the first matching result and the second matching result includes: under the condition that the first matching result is characterized as being successfully matched and the second matching result is characterized as being successfully matched, the electric appliance obtains the matching result which is characterized as being successfully matched; and under the condition that the first matching result is characterized as being unmatched successfully and/or the second matching result is characterized as being unmatched successfully, the electric appliance obtains the matching result which is characterized as being unmatched successfully.
Optionally, the electrical appliance includes a universal input interface, and the receiving, by the electrical appliance, the first authentication signal includes: the general input interface receives the first verification signal sent by the storage battery.
Optionally, before the electrical appliance receives the first verification signal sent by the storage battery, the method further includes: and under the condition of receiving the starting signal, the electric appliance is started.
Optionally, after the electrical appliance is turned on, before the battery sends out the first verification signal, the method further includes: the electrical appliance sends out a second verification signal; the battery receives the second authentication signal.
Optionally, the electrical appliance includes a first universal asynchronous transceiver, the battery includes a second universal asynchronous transceiver, and the electrical appliance sends out a second verification signal, including: the first general asynchronous receiving and dispatching transmitter sends out a second verification signal every a first preset time, and sends out a first preset time, the storage battery sends out a first verification signal, and the method comprises the following steps: and the second universal asynchronous receiving and transmitting transmitter sends out a second verification signal once every second preset time and sends out a second preset time.
Optionally, determining whether the battery is matched with the electrical appliance according to the first verification signal includes: determining that the storage battery is matched with the electrical appliance under the condition that the first verification signal is a preset verification signal; and under the condition that the first verification signal is not a preset verification signal, determining that the storage battery is not matched with the electrical appliance.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for determining whether a storage battery is matched with an electrical appliance, including: the receiving unit is used for receiving a first verification signal sent by the storage battery; the determining unit is used for determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal; the first control unit is used for controlling the standby or shutdown of the electrical appliance under the condition that the electrical appliance determines that the storage battery is not matched with the electrical appliance.
According to still another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the program executes any one of the methods of determining whether a storage battery is matched with an electrical appliance.
According to still another aspect of the embodiments of the present invention, there is further provided a processor, configured to execute a program, where the program executes any one of the methods for determining whether a battery is matched with an electrical appliance.
According to another aspect of the embodiments of the present invention, there is also provided an electrical appliance, including: one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods of determining whether a battery is mated to an electrical consumer.
According to still another aspect of the embodiments of the present invention, there is also provided a system including: a battery comprising a first device that sends a first verification signal; the electrical appliance comprises a second device, the second device is in communication connection with the first device, and the second device is used for executing any method for determining whether the storage battery is matched with the electrical appliance.
Optionally, the second device includes a general purpose input interface, and the general purpose input interface receives the first verification signal sent by the storage battery.
Optionally, the second device includes a first universal asynchronous transceiver transmitter, the first device includes a second universal asynchronous transceiver transmitter, the first universal asynchronous transceiver transmitter is configured to send the second verification signal to the battery every first predetermined time, and the second universal asynchronous transceiver transmitter is configured to send the second verification signal every second predetermined time.
According to the embodiment of the invention, the first verification signal sent by the storage battery is received, whether the storage battery is matched with an electric appliance to be powered or already powered is determined according to the first verification signal, the electric appliance controls the electric appliance to stand by or shut down under the condition that the storage battery is not matched with the electric appliance, namely, the electric appliance timely controls the electric appliance to stand by or shut down under the condition that the storage battery is not matched with the electric appliance, the condition that the electric appliance is damaged due to mismatching of the storage battery and the electric appliance is avoided, and a manufacturer can sell the storage battery synchronously when selling the electric appliance by matching the fixed storage battery with the electric appliance, meanwhile, the reject ratio caused by improper use of the storage battery in the market is reduced, and the quality risk brought by the storage battery to power supply of the electric appliance is.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 illustrates a flow chart of a method of determining whether a battery is mated to a customer in accordance with an embodiment of the present application;
FIG. 2 illustrates a flow chart of yet another method of determining whether a battery is mated to a customer in accordance with an embodiment of the present application; and
fig. 3 shows a schematic diagram of an apparatus for determining whether a battery is matched with an electrical consumer according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Also, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
For convenience of description, some terms or expressions referred to in the embodiments of the present application are explained below:
as mentioned in the background of the invention, in order to solve the above-mentioned problem, in the prior art, a method, an apparatus, a storage medium, a processor, an electrical appliance and a system for determining whether a storage battery is matched with an electrical appliance are provided.
According to an embodiment of the present application, a method of determining whether a battery is mated with an electrical consumer is provided.
Fig. 1 is a flowchart of a method of determining whether a battery is matched with an electrical appliance according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, receiving a first verification signal sent by a storage battery;
step S102, determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal;
and step S103, the electrical appliance controls the electrical appliance to stand by or shut down under the condition that the storage battery is not matched with the electrical appliance.
In the above-mentioned scheme, through receiving the first verification signal that the battery sent, confirm again according to first verification signal whether with treat power supply or power supply with electrical apparatus match, with electrical apparatus under the unmatched condition of electrical apparatus of confirming above-mentioned battery and the aforesaid, control the aforesaid with electrical apparatus standby or shut down, with electrical apparatus promptly confirming the battery with the aforesaid with electrical apparatus unmatched condition under, in time control with electrical apparatus standby or shut down, the condition emergence of the damage that has avoided the battery to match and cause with electrical apparatus mistake, and through the fixed battery of arranging for electrical apparatus, make the producer can sell when electrical apparatus, sell the battery in step, the defective rate that market battery misuse leads to has also been reduced simultaneously, and reduced the quality risk that the battery brought for supplying power with electrical apparatus.
It should be noted that the first authentication signals sent by different storage batteries are different, that is, the first authentication signal sent by each storage battery has uniqueness, the type of the storage battery matched with a certain type of electrical appliance is also unique, and due to the uniqueness of the first authentication signal and the uniqueness of the storage battery matched with the electrical appliance, the precise matching between the storage battery and the electrical appliance is ensured.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In an embodiment of the application, determining whether the storage battery is matched with an electrical appliance to be powered or already powered according to the first verification signal includes: decoding the first verification signal to obtain a decoded signal; matching the decoded signal with a preset signal to obtain a matching result; according to the matching result, whether the storage battery is matched with the electrical appliance is determined, the preset signal is a signal which is sent by the storage battery and matched with the electrical appliance, the first verification signal is decoded to obtain a decoded signal, the storage battery is determined to be matched with the electrical appliance under the condition that the decoded signal is matched with the preset signal, the storage battery is determined to be not matched with the electrical appliance under the condition that the decoded signal is not matched with the preset signal, the storage battery is accurately matched with the electrical appliance, the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and the service life of the electrical appliance is prolonged.
In another embodiment of the present application, the first verification signal includes a data code and a user code, the decoded signal includes a decoding header code and a decoding user code, and the matching of the decoded signal with a predetermined signal is performed to obtain a matching result, including: matching the decoding head code with a preset head code to obtain a first matching result; matching the decoding user code with a preset user code to obtain a second matching result; the matching result is determined according to the first matching result and the second matching result, the decoding head code and the preset head code are subjected to matching test, the decoding user code and the preset user code are subjected to matching test, namely whether the storage battery is matched with the electric appliance is accurately determined through double matching test, the condition that the electric appliance is damaged due to mismatching of the storage battery and the electric appliance is avoided, and the service life of the electric appliance is prolonged.
It should be noted that the user code is a head code, and the unique ID code adapted to each type of infrared remote controller identifies the head code once before the key code is sent. The data codes are namely key codes, different key functions, different data codes for distinguishing, and are sent after the head codes. For example, the header code is 0x007F, and the user code is 0x 0E.
In another embodiment of the present application, determining the matching result according to the first matching result and the second matching result includes: obtaining the matching result which is characterized as successful matching under the condition that the first matching result is characterized as successful matching and the second matching result is characterized as successful matching; and under the condition that the first matching result is characterized as being not successfully matched and/or the second matching result is characterized as being not successfully matched, obtaining the matching result which is characterized as being not successfully matched, namely, only under the condition that the first matching result and the second matching result are successfully matched, the storage battery can be determined to be matched with the electric appliance, the condition that the electric appliance is damaged due to mismatching of the storage battery and the electric appliance is avoided, and the service life of the electric appliance is prolonged.
In another embodiment of the present application, the electrical appliance includes a universal input interface, receives a first verification signal sent by the battery, and includes: the general-purpose input interface receives the first verification signal sent by the storage battery, the input interface includes but is not limited to a GPIO interface, the general-purpose input interface is used for receiving the first verification signal sent by the storage battery, the first verification signal includes but is not limited to a PWM waveform, accurate reception of the first verification signal sent by the storage battery is achieved, and preparation is made for subsequent matching.
In another embodiment of the present application, before receiving the first verification signal sent by the storage battery, the method further includes: and under the condition of receiving the starting signal, controlling the electric appliance to start, namely receiving a first verification signal sent by the storage battery through the universal input interface after the electric appliance is started, and preparing for subsequent matching.
In another embodiment of the present application, after controlling the electrical appliance to be powered on, before receiving the first verification signal sent by the storage battery, the method further includes: and sending a second verification signal once, wherein the first verification signal is sent by the storage battery based on the reception of the second verification signal, namely, by adding a step of pre-verification, the electrical appliance sends the second verification signal, preliminarily judges whether the storage battery can receive the signal sent by the electrical appliance, and sends the first verification signal to the electrical appliance again under the condition that the storage battery can successfully receive the verification signal sent by the electrical appliance, so that the accurate reception of the first verification signal is ensured, and preparation is made for subsequent matching.
In an embodiment of the present application, the electrical appliance includes a first universal asynchronous receiver/transmitter, which sends a second verification signal once, and includes: the first universal asynchronous receiving and transmitting device sends a second verification signal once every first preset time and sends the second verification signal for a first preset time, the storage battery comprises a second universal asynchronous receiving and transmitting device, the first verification signal is sent by the second universal asynchronous receiving and transmitting device, the first universal asynchronous receiving and transmitting device and the second universal asynchronous receiving and transmitting device are chips, parallel input signals can be converted into serial output signals, universal asynchronous receiving and transmitting signals can be sent and received, the first universal asynchronous receiving and transmitting device is arranged in the electric appliance, the second universal asynchronous receiving and transmitting device is arranged in the storage battery, the first universal asynchronous receiving and transmitting device sends a second verification signal, and the second universal asynchronous receiving and transmitting device sends the first verification signal to the first universal asynchronous receiving and transmitting device after receiving the second verification signal, so as to realize the data transmission between the first universal asynchronous receiving and transmitting transmitter and the second universal asynchronous receiving and transmitting transmitter and prepare for the subsequent matching.
In a specific embodiment, the electrical appliance is a television, data transmission is performed between the storage battery and the television, the electrical appliance comprises a first universal asynchronous receiving and transmitting transmitter, the storage battery comprises a second universal asynchronous receiving and transmitting transmitter, after the television is remotely controlled to be started, the first universal asynchronous receiving and transmitting transmitter sends a second verification signal at intervals, the second verification signal is a first preset data code, the intervals include but are not limited to 5s, 10s and 15s, the preset times are jointly sent for a preset time, the preset times include but not limited to 5s, 10s and 15s, after the second universal asynchronous receiving and transmitting transmitter receives the second verification signal, the second preset data code is recovered at intervals, the television is controlled to normally work under the condition that the first universal asynchronous receiving and transmitting transmitter receives the second preset data code, under the condition that the first universal asynchronous receiving and transmitting transmitter does not receive the second preset data code, and controlling the television to enter a standby state.
In another embodiment of the present application, determining whether the battery is matched with an electrical appliance to be powered or already powered according to the first verification signal includes: determining that the storage battery is matched with the electrical appliance under the condition that the first verification signal is a preset verification signal; under the condition that the first verification signal is not the preset verification signal, the storage battery is determined to be not matched with the electrical appliance, namely under the condition that the first verification signal is the preset verification signal, the storage battery is determined to be successfully matched with the electrical appliance, the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and the service life of the electrical appliance is prolonged.
According to an embodiment of the present application, a method of determining whether a battery is mated with an electrical consumer is provided.
Fig. 2 is a flowchart of a method of determining whether a battery is matched with an electrical appliance according to an embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
step S201, the storage battery sends out a first verification signal;
step S202, the electrical appliance receives the first verification signal and determines whether the storage battery is matched with the electrical appliance according to the first verification signal;
step S203, when the electrical appliance determines that the storage battery is not matched with the electrical appliance, the electrical appliance is in standby or turned off.
In the above-mentioned scheme, the battery sends first verification signal, receive above-mentioned first verification signal with electrical apparatus, and confirm whether above-mentioned battery matches with the aforesaid with electrical apparatus according to above-mentioned first verification signal, with electrical apparatus under confirming above-mentioned battery and the aforesaid unmatched condition with electrical apparatus, the aforesaid is with electrical apparatus standby or shut down, promptly with electrical apparatus definite battery and the aforesaid with electrical apparatus unmatched condition under, in time control with electrical apparatus standby or shut down, the condition emergence of the damage that has avoided the battery to match and cause with electrical apparatus mistake, and through the fixed battery of arranging for electrical apparatus, make the producer can sell when electrical apparatus, sell the battery in step, the defective rate that market battery misuse leads to has also been reduced simultaneously, and the quality risk that the battery brought for the electrical apparatus power supply has been reduced.
It should be noted that the main implementation object of the present embodiment is an electrical appliance.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In an embodiment of the present application, the electrical appliance and determining whether the battery is matched with the electrical appliance according to the first verification signal includes: the electrical appliance decodes the first verification signal to obtain a decoded signal; the electrical appliance matches the decoded signal with a preset signal to obtain a matching result; the electrical appliance determines whether the storage battery is matched with the electrical appliance or not according to the matching result, the preset signal is a signal which is sent by the storage battery and matched with the electrical appliance, the electrical appliance decodes the first verification signal to obtain a decoded signal, the electrical appliance determines that the storage battery is matched with the electrical appliance under the condition that the decoded signal is matched with the preset signal, the electrical appliance determines that the storage battery is not matched with the electrical appliance under the condition that the decoded signal is not matched with the preset signal, the storage battery is determined to be not matched with the electrical appliance through accurate matching of the storage battery and the electrical appliance, the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is.
In another embodiment of the application, the first verification signal includes a data code and a user code, the decoded signal includes a decoding header code and a decoding user code, and the electrical appliance matches the decoded signal with a predetermined signal to obtain a matching result, including: the electrical appliance matches the decoding head code with a preset head code to obtain a first matching result; the electrical appliance matches the decoding user code with a preset user code to obtain a second matching result; the electrical appliance determines the matching result according to the first matching result and the second matching result, the electrical appliance performs matching test on the decoding head code and the preset head code, and performs matching test on the decoding user code and the preset user code, namely, the electrical appliance accurately determines whether the storage battery is matched with the electrical appliance through dual matching test, so that the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and the service life of the electrical appliance is prolonged.
It should be noted that the user code is a head code, and the unique ID code adapted to each type of infrared remote controller identifies the head code once before the key code is sent. The data codes are namely key codes, different key functions, different data codes for distinguishing, and are sent after the head codes. For example, the header code is 0x007F, and the user code is 0x 0E.
In another embodiment of the present application, the determining, by the electrical appliance, the matching result according to the first matching result and the second matching result includes: under the condition that the first matching result is characterized as being successfully matched and the second matching result is characterized as being successfully matched, the electric appliance obtains the matching result which is characterized as being successfully matched; and under the condition that the first matching result is characterized as not being successfully matched and/or the second matching result is characterized as not being successfully matched, the electrical appliance obtains the matching result which is characterized as not being successfully matched, namely the electrical appliance can determine that the storage battery is matched with the electrical appliance only under the condition that the first matching result and the second matching result are successfully matched, the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and the service life of the electrical appliance is prolonged.
In another embodiment of the present application, the electrical appliance includes a universal input interface, and the electrical appliance receives the first verification signal, including: the general-purpose input interface receives the first verification signal sent by the storage battery, the input interface comprises but is not limited to a GPIO interface, the general-purpose input interface is used for receiving the first verification signal sent by the storage battery, the first verification signal comprises but is not limited to a PWM waveform, accurate receiving of the first verification signal sent by the storage battery is achieved, and preparation is made for subsequent matching.
In another embodiment of the present application, before the electrical appliance receives the first verification signal sent by the storage battery, the method further includes: and under the condition of receiving the starting signal, the electrical appliance is started, namely the first verification signal sent by the storage battery can be received through the universal input interface after the electrical appliance is started, so that preparation is made for subsequent matching.
In an embodiment of the present application, after the electrical appliance is turned on, before the battery sends the first verification signal, the method further includes: the electrical appliance sends out a second verification signal; the storage battery receives the second verification signal, namely, the electric appliance sends the second verification signal by adding a step of pre-verification, whether the storage battery can receive the signal sent by the electric appliance is preliminarily judged, and the storage battery sends the first verification signal to the electric appliance under the condition that the storage battery can successfully receive the verification signal sent by the electric appliance is judged, so that the accurate receiving of the first verification signal is ensured, and the preparation is made for subsequent matching.
In another embodiment of the present application, the electrical appliance includes a first universal asynchronous transceiver, the battery includes a second universal asynchronous transceiver, and the electrical appliance sends a second authentication signal, including: the first universal asynchronous receiving and transmitting transmitter sends out a second verification signal every first preset time and a first preset number of times, and the storage battery sends out a first verification signal, and the method comprises the following steps: the second universal asynchronous receiving and transmitting transmitter sends out a second verification signal every second preset time and sends out a second preset time altogether, the first universal asynchronous receiving and transmitting transmitter and the second universal asynchronous receiving and transmitting transmitter are both chips, can convert a parallel input signal into a serial output signal, can send and receive universal asynchronous receiving and transmitting signals, and is characterized in that a first universal asynchronous receiving and transmitting transmitter is arranged in an electric appliance, a second universal asynchronous receiving and transmitting transmitter is arranged in the storage battery, the first universal asynchronous receiving and transmitting transmitter sends a second verification signal, the second universal asynchronous receiving and transmitting transmitter sends a first verification signal to the first universal asynchronous receiving and transmitting transmitter after receiving the second verification signal, so as to realize the data transmission between the first universal asynchronous receiving and transmitting transmitter and the second universal asynchronous receiving and transmitting transmitter and prepare for the subsequent matching.
In a specific embodiment, the electrical appliance is a television, data transmission is performed between the storage battery and the television, the electrical appliance comprises a first universal asynchronous receiving and transmitting transmitter, the storage battery comprises a second universal asynchronous receiving and transmitting transmitter, after the television is remotely controlled to be started, the first universal asynchronous receiving and transmitting transmitter sends a second verification signal at intervals, the second verification signal is a first preset data code, the intervals include but are not limited to 5s, 10s and 15s, the preset times are jointly sent for a preset time, the preset times include but not limited to 5s, 10s and 15s, after the second universal asynchronous receiving and transmitting transmitter receives the second verification signal, the second preset data code is recovered at intervals, the television is controlled to normally work under the condition that the first universal asynchronous receiving and transmitting transmitter receives the second preset data code, under the condition that the first universal asynchronous receiving and transmitting transmitter does not receive the second preset data code, and controlling the television to enter a standby state.
In another embodiment of the present application, determining whether the battery is matched with the electrical appliance according to the first verification signal includes: determining that the storage battery is matched with the electrical appliance under the condition that the first verification signal is a preset verification signal; under the condition that the first verification signal is not the preset verification signal, the storage battery is determined to be not matched with the electrical appliance, namely under the condition that the first verification signal is the preset verification signal, the storage battery is determined to be successfully matched with the electrical appliance, the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and the service life of the electrical appliance is prolonged.
The embodiment of the present application further provides a device for determining whether the storage battery is matched with the electrical equipment, and it should be noted that the device for determining whether the storage battery is matched with the electrical equipment in the embodiment of the present application may be used to execute the method for determining whether the storage battery is matched with the electrical equipment in the embodiment of the present application. The device for determining whether the storage battery is matched with the electrical appliance provided by the embodiment of the application is described below.
Fig. 3 is a schematic diagram of an apparatus for determining whether a battery is matched with an electrical appliance according to an embodiment of the present application. As shown in fig. 3, the apparatus includes:
the receiving unit 10 is used for receiving a first verification signal sent by the storage battery;
a determining unit 20, configured to determine whether the battery is matched with an electrical appliance to be powered or already powered according to the first verification signal;
the first control unit 30 is used for controlling the electrical appliance to stand by or shut down when the electrical appliance determines that the storage battery is not matched with the electrical appliance.
In the above scheme, the receiving element receives the first verification signal that the battery sent, the determining unit confirms whether above-mentioned battery matches with waiting to supply power or the electrical apparatus that has supplied power according to first verification signal, with electrical apparatus under the unmatched condition of electrical apparatus of confirming above-mentioned battery and the aforesaid, first the control unit control above-mentioned electrical apparatus standby or shut down, promptly the electrical apparatus is confirming under the unmatched condition of battery and the aforesaid electrical apparatus, in time control with electrical apparatus standby or shut down, the condition emergence of the damage that has avoided battery and electrical apparatus mismatching to cause with electrical apparatus is avoided, and through for the fixed battery of electrical apparatus collocation, make the producer can sell electrical apparatus when selling, sell the battery in step, the bad rate that market battery misuse leads to has also been reduced simultaneously, and reduced the quality risk that the battery brought for the electrical.
It should be noted that the first authentication signals sent by different storage batteries are different, that is, the first authentication signal sent by each storage battery has uniqueness, the type of the storage battery matched with a certain type of electrical appliance is also unique, and due to the uniqueness of the first authentication signal and the uniqueness of the storage battery matched with the electrical appliance, the precise matching between the storage battery and the electrical appliance is ensured.
In an embodiment of the present application, the determining unit includes a decoding module, a matching module, and a first determining module, where the decoding module is configured to decode the first verification signal to obtain a decoded signal; the matching module is used for matching the decoded signal with a preset signal to obtain a matching result; the first determining module is used for determining whether the storage battery is matched with the electrical appliance or not according to the matching result, the preset signal is a signal which is sent by the storage battery and matched with the electrical appliance, the decoding signal is obtained by decoding the first verification signal, the storage battery is determined to be matched with the electrical appliance under the condition that the decoding signal is matched with the preset signal, the storage battery is determined to be not matched with the electrical appliance under the condition that the decoding signal is not matched with the preset signal, the condition that the storage battery is damaged by mismatching with the electrical appliance is avoided through accurate matching of the storage battery and the electrical appliance, and the service life of the electrical appliance is prolonged.
In another embodiment of the present application, the first verification signal includes a data code and a user code, the decoded signal includes a decoded header code and a decoded user code, the matching module includes a first matching submodule, a second matching submodule and a determining submodule, and the first matching submodule is configured to match the decoded header code with a predetermined header code to obtain a first matching result; the second matching submodule is used for matching the decoding user code with a preset user code to obtain a second matching result; the determining submodule is used for determining the matching result according to the first matching result and the second matching result, matching test is carried out on the decoding head code and the preset head code, and matching test is carried out on the decoding user code and the preset user code, namely whether the storage battery is matched with the electrical appliance is accurately determined through double matching test, the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and the service life of the electrical appliance is prolonged.
It should be noted that the user code is a head code, and the unique ID code adapted to each type of infrared remote controller identifies the head code once before the key code is sent. The data codes are namely key codes, different key functions, different data codes for distinguishing, and are sent after the head codes. For example, the header code is 0x007F, and the user code is 0x 0E.
In another embodiment of the application, the determining sub-module is further configured to obtain the matching result characterized as successful matching when the first matching result is characterized as successful matching and the second matching result is characterized as successful matching; and under the condition that the first matching result is characterized as being not successfully matched and/or the second matching result is characterized as being not successfully matched, obtaining the matching result which is characterized as being not successfully matched, namely, only under the condition that the first matching result and the second matching result are successfully matched, the storage battery can be determined to be matched with the electric appliance, the condition that the electric appliance is damaged due to mismatching of the storage battery and the electric appliance is avoided, and the service life of the electric appliance is prolonged.
In yet another embodiment of the present application, the electrical appliance includes a general purpose input interface, the receiving unit is further configured to receive the first verification signal sent by the battery through the general purpose input interface, the input interface includes but is not limited to a GPIO interface, the general purpose input interface is configured to receive the first verification signal sent by the battery, and the first verification signal includes but is not limited to a PWM waveform, so that accurate reception of the first verification signal sent by the battery is achieved, and preparation is made for subsequent matching.
In another embodiment of the present application, the apparatus further includes a second control unit, where the second control unit is configured to control the electrical appliance to start up under the condition that the power-on signal is received before receiving the first verification signal sent by the storage battery, that is, the electrical appliance can receive the first verification signal sent by the storage battery through the universal input interface after being started up, so as to prepare for subsequent matching.
In another embodiment of the present application, the apparatus further includes a sending unit, where the sending unit is configured to send a second verification signal once after controlling the electrical appliance to start up and before receiving a first verification signal sent by the storage battery, where the first verification signal is sent by the storage battery based on receiving the second verification signal, that is, by adding a step of pre-verification, the electrical appliance sends the second verification signal, and preliminarily determines whether the storage battery can receive a signal sent by the electrical appliance, and when it is determined that the storage battery can successfully receive the verification signal sent by the electrical appliance, the storage battery sends the first verification signal to the electrical appliance, so as to ensure accurate reception of the first verification signal, and prepare for subsequent matching.
In an embodiment of the present application, the electrical appliance includes a first universal asynchronous transceiver transmitter, the sending unit is further configured to send a second verification signal every first predetermined time by the first universal asynchronous transceiver transmitter, and send the second verification signal for a first predetermined number of times, the battery includes a second universal asynchronous transceiver transmitter, the first verification signal is sent by the second universal asynchronous transceiver transmitter, the first universal asynchronous transceiver transmitter and the second universal asynchronous transceiver transmitter are both chips, the first universal asynchronous transceiver transmitter and the second universal asynchronous transceiver transmitter can convert a parallel input signal into a serial output signal, and can send and receive the universal asynchronous transceiver signal, the first universal asynchronous transceiver transmitter is disposed in the electrical appliance, the second universal asynchronous transceiver transmitter and the second universal asynchronous transceiver transmitter are disposed in the battery, the first universal asynchronous transceiver transmitter sends the second verification signal, and the second universal asynchronous transceiver transmitter sends the first verification signal to the first universal asynchronous transceiver after receiving the second verification signal And the transmitter is used for realizing data transmission between the first universal asynchronous receiving and transmitting transmitter and the second universal asynchronous receiving and transmitting transmitter and preparing for subsequent matching.
In a specific embodiment, the electrical appliance is a television, data transmission is performed between the storage battery and the television, the electrical appliance comprises a first universal asynchronous receiving and transmitting transmitter, the storage battery comprises a second universal asynchronous receiving and transmitting transmitter, after the television is remotely controlled to be started, the first universal asynchronous receiving and transmitting transmitter sends a second verification signal at intervals, the second verification signal is a first preset data code, the intervals include but are not limited to 5s, 10s and 15s, the preset times are jointly sent for a preset time, the preset times include but not limited to 5s, 10s and 15s, after the second universal asynchronous receiving and transmitting transmitter receives the second verification signal, the second preset data code is recovered at intervals, the television is controlled to normally work under the condition that the first universal asynchronous receiving and transmitting transmitter receives the second preset data code, under the condition that the first universal asynchronous receiving and transmitting transmitter does not receive the second preset data code, and controlling the television to enter a standby state.
In another embodiment of the present application, the determining unit includes a second determining module and a third determining module, and the second determining module is configured to determine that the battery is matched with the electrical appliance when the first verification signal is a predetermined verification signal; the third determining module is used for determining that the storage battery is not matched with the electrical appliance under the condition that the first verification signal is not the preset verification signal, namely determining that the storage battery is successfully matched with the electrical appliance under the condition that the first verification signal is the preset verification signal, so that the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and the service life of the electrical appliance is prolonged.
The device for determining whether the storage battery is matched with the electric appliance comprises a processor and a memory, the receiving unit, the determining unit, the first control unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the condition that the electric appliance is damaged due to mismatching of the storage battery and the electric appliance is avoided by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
Embodiments of the present invention provide a storage medium having a program stored thereon, where the program, when executed by a processor, implements the above-described method for determining whether a battery is matched with an electrical appliance.
The embodiment of the invention provides a processor, which is used for running a program, wherein the method for determining whether a storage battery is matched with an electrical appliance is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein when the processor executes the program, at least the following steps are realized:
step S101, receiving a first verification signal sent by a storage battery;
step S102, determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal;
and step S103, the electrical appliance controls the electrical appliance to stand by or shut down under the condition that the storage battery is not matched with the electrical appliance.
Alternatively, the first and second electrodes may be,
step S201, the storage battery sends out a first verification signal;
step S202, the electrical appliance receives the first verification signal and determines whether the storage battery is matched with the electrical appliance according to the first verification signal;
step S203, when the electrical appliance determines that the storage battery is not matched with the electrical appliance, the electrical appliance is in standby or turned off.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, receiving a first verification signal sent by a storage battery;
step S102, determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal;
and step S103, the electrical appliance controls the electrical appliance to stand by or shut down under the condition that the storage battery is not matched with the electrical appliance.
Alternatively, the first and second electrodes may be,
step S201, the storage battery sends out a first verification signal;
step S202, the electrical appliance receives the first verification signal and determines whether the storage battery is matched with the electrical appliance according to the first verification signal;
step S203, when the electrical appliance determines that the storage battery is not matched with the electrical appliance, the electrical appliance is in standby or turned off.
The embodiment of the present application further provides an electrical apparatus, including: one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs include a program for executing any one of the above methods for determining whether a storage battery is matched with an electrical appliance, the method includes receiving a first verification signal sent by the storage battery, determining whether the storage battery is matched with the electrical appliance to be powered or already powered according to the first verification signal, and controlling the electrical appliance to stand by or shut down when the electrical appliance determines that the storage battery is not matched with the electrical appliance, that is, controlling the electrical appliance to stand by or shut down when the electrical appliance determines that the storage battery is not matched with the electrical appliance, so as to avoid the occurrence of damage to the electrical appliance caused by mismatching of the storage battery and the electrical appliance, and through for the fixed battery of electrical apparatus collocation for the producer can sell the battery when selling electrical apparatus in step, has also reduced the defective rate that market battery misuse leads to simultaneously, and has reduced the quality risk that the battery brought for electrical apparatus power supply.
An embodiment of the present application further provides a system, including: the storage battery comprises a first device, and the first device sends out a first verification signal; the electrical appliance comprises a second device, the second device is in communication connection with the first device, the second device is used for executing any method for determining whether the storage battery is matched with the electrical appliance, whether the storage battery is matched with the electrical appliance to be powered or already powered is determined according to the first verification signal after receiving the first verification signal sent by the storage battery, the electrical appliance controls the electrical appliance to stand by or shut down when determining that the storage battery is not matched with the electrical appliance, namely, the electrical appliance timely controls the electrical appliance to stand by or shut down when determining that the storage battery is not matched with the electrical appliance, the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance is avoided, and a manufacturer can sell the storage battery synchronously when selling the electrical appliance by matching the storage battery with a fixed storage battery, and the reject ratio caused by improper use of the storage battery in the market is reduced at the same time, and the quality risk of the storage battery for supplying power to the electrical appliance is reduced.
In an embodiment of the application, the second device includes a general purpose input interface, the general purpose input interface receives the first verification signal sent by the battery, the input interface includes but is not limited to a GPIO interface, the general purpose input interface is configured to receive the first verification signal sent by the battery, the first verification signal includes but is not limited to a PWM waveform, and accurate reception of the first verification signal sent by the battery is achieved to prepare for subsequent matching.
In another embodiment of the present application, the second device comprises a first universal asynchronous transceiver transmitter, the first device comprises a second universal asynchronous transceiver transmitter, the first universal asynchronous transceiver transmitter is used for sending a second verification signal to the battery every first predetermined time, the second universal asynchronous transceiver transmitter is used for sending a second verification signal every second predetermined time, the first universal asynchronous transceiver transmitter is used for sending the second verification signal by arranging a first universal asynchronous transceiver transmitter in the electrical appliance, the second universal asynchronous transceiver transmitter is arranged in the battery, the first universal asynchronous transceiver transmitter is used for sending the second verification signal, the second universal asynchronous transceiver transmitter is used for sending the first verification signal to the first universal asynchronous transceiver transmitter after receiving the second verification signal, so as to realize data transmission between the first universal asynchronous transceiver transmitter and the second universal asynchronous transceiver transmitter, prepare for subsequent matching, and through for the fixed battery of electrical apparatus collocation for the producer can sell the battery in step when selling electrical apparatus, has also reduced the defective rate that market battery misuse leads to simultaneously, and has reduced the quality risk that the battery brought for electrical apparatus power supply.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be 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, units or modules, and may be in an electrical 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 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 unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) the method for determining whether the storage battery is matched with the electrical appliance comprises the steps of receiving a first verification signal sent by the storage battery, determining whether the storage battery is matched with the electrical appliance to be powered or powered according to the first verification signal, controlling the electrical appliance to be in standby or shut down when the electrical appliance determines that the storage battery is not matched with the electrical appliance, namely controlling the electrical appliance to be in standby or shut down when the electrical appliance determines that the storage battery is not matched with the electrical appliance, and avoiding the occurrence of the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance.
2) The method for determining whether the storage battery is matched with the electric appliance or not comprises the steps that the storage battery sends out a first verification signal, the electric appliance receives the first verification signal, and according to the first verification signal determining whether the above-mentioned accumulator is matched with the above-mentioned electric equipment, under the condition of that the above-mentioned accumulator is not matched with the above-mentioned electric equipment, the above-mentioned electric equipment is stand by or closed down, namely, under the condition that the electric appliance determines that the storage battery is not matched with the electric appliance, the standby or shutdown of the electric appliance is controlled in time, the condition that the electric appliance is damaged due to the mismatching of the storage battery and the electric appliance is avoided, and the manufacturer can sell the storage batteries synchronously when selling the electric appliances by matching the electric appliances with the fixed storage batteries, meanwhile, the reject ratio caused by improper use of the storage battery in the market is reduced, and the quality risk of the storage battery for supplying power to the electric appliance is reduced.
3) The device for determining whether the storage battery is matched with the electrical appliance comprises a receiving unit, a determining unit and a first control unit, wherein the receiving unit receives a first verification signal sent by the storage battery, the determining unit determines whether the storage battery is matched with the electrical appliance to be powered or already powered according to the first verification signal, the first control unit controls the electrical appliance to be in a standby state or be turned off when the electrical appliance determines that the storage battery is not matched with the electrical appliance, namely, the electrical appliance controls the electrical appliance to stand by or shut down in time under the condition that the storage battery is not matched with the electrical appliance, thereby avoiding the condition that the electrical appliance is damaged due to mismatching of the storage battery and the electrical appliance, and the manufacturer can sell the storage batteries synchronously when selling the electric appliances by matching the electric appliances with the fixed storage batteries, meanwhile, the reject ratio caused by improper use of the storage battery in the market is reduced, and the quality risk of the storage battery for supplying power to the electric appliance is reduced.
4) The utility model provides an electrical apparatus, through receiving the first verification signal that the battery sent, confirm again according to first verification signal whether with wait to supply power or supply power with electrical apparatus match, with electrical apparatus under the unmatched condition of electrical apparatus for confirming above-mentioned battery and the aforesaid, control the aforesaid with electrical apparatus standby or shut down, electrical apparatus is confirming with electrical apparatus unmatched condition with the aforesaid with the battery promptly, in time control with electrical apparatus standby or shut down, the condition emergence of damage with electrical apparatus that has avoided the battery to match with electrical apparatus mistake and cause, and through the fixed battery of arranging for electrical apparatus, make the producer can sell with electrical apparatus, sell the battery in step, the defective rate that the market battery misuse leads to has also been reduced simultaneously, and the quality risk that the battery brought for supplying power with electrical apparatus has been reduced.
5) The system of this application, first verification signal through receiving the battery and sending, confirm again according to first verification signal whether with treat power supply or power supply with electrical apparatus match, with electrical apparatus under the unmatched condition of electrical apparatus of confirming above-mentioned battery and the aforesaid, control the aforesaid with electrical apparatus standby or shut down, electrical apparatus is confirming with electrical apparatus unmatched condition with the aforesaid promptly under the battery, in time control with electrical apparatus standby or shut down, the condition emergence of damage with electrical apparatus that has avoided the battery to match with electrical apparatus mistake and cause, and through for the fixed battery of electrical apparatus collocation, make the producer can sell with electrical apparatus when selling, sell the battery in step, the defective rate that market battery misuse leads to has also been reduced simultaneously, and reduced the quality risk that the battery brought for with electrical apparatus power supply.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (25)

1. A method of determining whether a battery is mated to an electrical consumer, comprising:
receiving a first verification signal sent by a storage battery;
determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal;
and the electrical appliance controls the electrical appliance to be standby or shut down under the condition that the storage battery is determined to be not matched with the electrical appliance.
2. The method of claim 1, wherein determining whether the battery is matched with an appliance to be powered or already powered based on the first authentication signal comprises:
decoding the first verification signal to obtain a decoded signal;
matching the decoded signal with a preset signal to obtain a matching result;
and determining whether the storage battery is matched with the electrical appliance or not according to the matching result.
3. The method of claim 2, wherein the first authentication signal comprises a data code and a user code, wherein the decoded signal comprises a decoding header code and a decoding user code,
matching the decoded signal with a predetermined signal to obtain a matching result, comprising:
matching the decoding head code with a preset head code to obtain a first matching result;
matching the decoding user code with a preset user code to obtain a second matching result;
and determining the matching result according to the first matching result and the second matching result.
4. The method of claim 3, wherein determining the match result from the first match result and the second match result comprises:
obtaining the matching result which is characterized as successful matching under the condition that the first matching result is characterized as successful matching and the second matching result is characterized as successful matching;
and under the condition that the first matching result is characterized as being not successfully matched and/or the second matching result is characterized as being not successfully matched, obtaining the matching result which is characterized as being not successfully matched.
5. The method of claim 1, wherein the electrical consumer comprises a universal input interface, and wherein receiving the first authentication signal from the battery comprises:
the general input interface receives the first verification signal sent by the storage battery.
6. The method of claim 1, wherein prior to receiving the first authentication signal transmitted by the battery, the method further comprises:
and controlling the electrical appliance to be powered on under the condition of receiving the power-on signal.
7. The method of claim 6, wherein after controlling the electrical appliance to be powered on, before receiving the first authentication signal sent by the storage battery, the method further comprises: a second verification signal is sent out once,
the first authentication signal is issued by the battery based on receiving the second authentication signal.
8. The method of claim 6, wherein the consumer comprises a first UART transmitter that transmits a second authentication signal once, comprising: the first universal asynchronous receiving and transmitting device sends the second verification signal once every first preset time and sends the second verification signal for a first preset time,
the storage battery comprises a second universal asynchronous receiving and transmitting transmitter, and the first verification signal is sent by the second universal asynchronous receiving and transmitting transmitter.
9. The method of claim 8, wherein determining whether the battery is matched with an appliance to be powered or already powered based on the first authentication signal comprises:
determining that the storage battery is matched with the electrical appliance under the condition that the first verification signal is a preset verification signal;
and under the condition that the first verification signal is not a preset verification signal, determining that the storage battery is not matched with the electrical appliance.
10. A method of determining whether a battery is mated to an electrical consumer, comprising:
the storage battery sends out a first verification signal;
the electrical appliance receives the first verification signal and determines whether the storage battery is matched with the electrical appliance or not according to the first verification signal;
and the electrical appliance is in standby or shutdown when the condition that the storage battery is not matched with the electrical appliance is determined.
11. The method of claim 10, wherein the consumer and determining whether the battery is mated with the consumer based on the first authentication signal comprises:
the electrical appliance decodes the first verification signal to obtain a decoded signal;
the electrical appliance matches the decoded signal with a preset signal to obtain a matching result;
and the electrical appliance determines whether the storage battery is matched with the electrical appliance or not according to the matching result.
12. The method of claim 11, wherein the first authentication signal comprises a data code and a user code, wherein the decoded signal comprises a decoding header code and a decoding user code,
the electrical appliance matches the decoded signal with a predetermined signal to obtain a matching result, and the method comprises the following steps:
the electrical appliance matches the decoding head code with a preset head code to obtain a first matching result;
the electrical appliance matches the decoding user code with a preset user code to obtain a second matching result;
and the electric appliance determines the matching result according to the first matching result and the second matching result.
13. The method of claim 12, wherein the determining, by the appliance, the matching result from the first matching result and the second matching result comprises:
under the condition that the first matching result is characterized as being successfully matched and the second matching result is characterized as being successfully matched, the electric appliance obtains the matching result which is characterized as being successfully matched;
and under the condition that the first matching result is characterized as being unmatched successfully and/or the second matching result is characterized as being unmatched successfully, the electric appliance obtains the matching result which is characterized as being unmatched successfully.
14. The method of claim 10, wherein the appliance includes a universal input interface, and wherein the appliance receiving the first authentication signal comprises:
the general input interface receives the first verification signal sent by the storage battery.
15. The method of claim 10, wherein prior to the consumer receiving the first authentication signal sent by the battery, the method further comprises:
and under the condition of receiving the starting signal, the electric appliance is started.
16. The method of claim 15, wherein after the electrical consumer is powered on, prior to the battery emitting the first authentication signal, the method further comprises:
the electrical appliance sends out a second verification signal;
the battery receives the second authentication signal.
17. The method of claim 16, wherein the appliance comprises a first universal asynchronous transceiver transmitter, the battery comprises a second universal asynchronous transceiver transmitter,
the electrical appliance sends out a second verification signal, comprising: the first general asynchronous receiving and transmitting transmitter sends out a second verification signal once every first preset time for a first preset number of times,
the battery sends out first verification signal, including: and the second universal asynchronous receiving and transmitting transmitter sends out a second verification signal once every second preset time and sends out a second preset time.
18. The method of claim 17, wherein determining whether the battery is mated with the appliance based on the first authentication signal comprises:
determining that the storage battery is matched with the electrical appliance under the condition that the first verification signal is a preset verification signal;
and under the condition that the first verification signal is not a preset verification signal, determining that the storage battery is not matched with the electrical appliance.
19. An apparatus for determining whether a battery is mated to an electrical consumer, comprising:
the receiving unit is used for receiving a first verification signal sent by the storage battery;
the determining unit is used for determining whether the storage battery is matched with an electric appliance to be powered or already powered according to the first verification signal;
the first control unit is used for controlling the standby or shutdown of the electrical appliance under the condition that the electrical appliance determines that the storage battery is not matched with the electrical appliance.
20. A storage medium characterized by comprising a stored program, wherein the program executes the method of determining whether a storage battery is matched with an electric appliance according to any one of claims 1 to 18.
21. A processor, characterized in that the processor is configured to run a program, wherein the program is run to perform the method for determining whether a battery is matched to an electrical consumer according to any one of claims 1 to 18.
22. An electrical consumer, comprising: one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of determining whether a battery is mated to an appliance of any of claims 1-18.
23. A system, comprising:
a battery comprising a first device that sends a first verification signal;
consumer comprising a second device communicatively connected to the first device, the second device being configured to perform the method of determining whether a battery is matched to the consumer as claimed in any one of claims 1 to 18.
24. The system of claim 23, wherein said second means comprises a universal input interface, said universal input interface receiving said first authentication signal from said battery.
25. The system of claim 23 wherein said second means comprises a first universal asynchronous receiver/transmitter and said first means comprises a second universal asynchronous receiver/transmitter, said first universal asynchronous receiver/transmitter being configured to send said second authentication signal to said battery every first predetermined time, said second universal asynchronous receiver/transmitter being configured to send said second authentication signal every second predetermined time.
CN202010383102.1A 2020-05-08 2020-05-08 Method, device and storage medium for determining whether storage battery is matched with electrical appliance Pending CN111478400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010383102.1A CN111478400A (en) 2020-05-08 2020-05-08 Method, device and storage medium for determining whether storage battery is matched with electrical appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010383102.1A CN111478400A (en) 2020-05-08 2020-05-08 Method, device and storage medium for determining whether storage battery is matched with electrical appliance

Publications (1)

Publication Number Publication Date
CN111478400A true CN111478400A (en) 2020-07-31

Family

ID=71762182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010383102.1A Pending CN111478400A (en) 2020-05-08 2020-05-08 Method, device and storage medium for determining whether storage battery is matched with electrical appliance

Country Status (1)

Country Link
CN (1) CN111478400A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322089A (en) * 2005-10-14 2008-12-10 捷讯研究有限公司 Battery pack authentication for a mobile device
US20100178961A1 (en) * 2005-10-14 2010-07-15 Research In Motion Limited Mobile device with a smart battery
CN103606718A (en) * 2013-10-25 2014-02-26 小米科技有限责任公司 Battery, battery protection method, apparatus and system
CN105591431A (en) * 2015-12-31 2016-05-18 宇龙计算机通信科技(深圳)有限公司 Charging method and equipment of mobile terminal, and mobile terminal
US20160294206A1 (en) * 2015-03-31 2016-10-06 Renesas Electronics Corporation Battery control ic, battery pack, and authentication method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322089A (en) * 2005-10-14 2008-12-10 捷讯研究有限公司 Battery pack authentication for a mobile device
US20100178961A1 (en) * 2005-10-14 2010-07-15 Research In Motion Limited Mobile device with a smart battery
CN103606718A (en) * 2013-10-25 2014-02-26 小米科技有限责任公司 Battery, battery protection method, apparatus and system
US20160294206A1 (en) * 2015-03-31 2016-10-06 Renesas Electronics Corporation Battery control ic, battery pack, and authentication method thereof
CN105591431A (en) * 2015-12-31 2016-05-18 宇龙计算机通信科技(深圳)有限公司 Charging method and equipment of mobile terminal, and mobile terminal

Similar Documents

Publication Publication Date Title
US10505380B2 (en) Quick charging method, power adapter and mobile terminal
CN102138134B (en) Intelligent power-enabled communications port
CN102802059B (en) The method of configuration machine top box, Apparatus and system
US10230252B2 (en) Method and system for charging a battery based on an identifier of a power cable
JP6438572B2 (en) Method and terminal device for improving speaker performance
EP3982506B1 (en) Terminal device charging method and apparatus, and storage medium
CN102244595B (en) Communication method of household electrical appliance
CN110011885B (en) Control authority binding method and device of electric appliance, storage medium and electric appliance
CN105392114A (en) NFC based rapid Bluetooth connection system and method
US10312725B2 (en) Power supply system with identification code updating capability and method for charging an electronic device
CN107656751A (en) User program upgrade method and device
CN105322615A (en) Charging control method and electronic device for supporting the same
US20170249165A1 (en) Usb wireless network card configuration methods, host, usb wireless network card and communication system
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN110430293B (en) Pairing method and device of multi-split system, storage medium and processor
CN111478400A (en) Method, device and storage medium for determining whether storage battery is matched with electrical appliance
CN111316246A (en) Maintenance equipment management method, user terminal and server
CN101610475A (en) Service menu treating method and portable terminal
CN110493646A (en) Method, apparatus, TV and the system of TV upgrading are carried out by external equipment
CN114679477A (en) Method and device for burning information, terminal equipment and wired burning system
CN102136929A (en) Service configuration method, system and related equipment
CN113950044A (en) Method and device for identifying user identification card, terminal equipment and storage medium
CN112328422A (en) Abnormity repairing method and device, electronic equipment and storage medium
CN112731875B (en) Target device control method and device, nonvolatile storage medium and processor
CN106412657B (en) A kind of method and system of set-top box programming sequence code

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200731

RJ01 Rejection of invention patent application after publication