CN115348345A - Control method, protective shell of terminal, terminal and computer storage medium - Google Patents

Control method, protective shell of terminal, terminal and computer storage medium Download PDF

Info

Publication number
CN115348345A
CN115348345A CN202110517409.0A CN202110517409A CN115348345A CN 115348345 A CN115348345 A CN 115348345A CN 202110517409 A CN202110517409 A CN 202110517409A CN 115348345 A CN115348345 A CN 115348345A
Authority
CN
China
Prior art keywords
terminal
charging
protective shell
uwb
protective
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
CN202110517409.0A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110517409.0A priority Critical patent/CN115348345A/en
Publication of CN115348345A publication Critical patent/CN115348345A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/18Telephone sets specially adapted for use in ships, mines, or other places exposed to adverse environment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/005Mechanical details of housing or structure aiming to accommodate the power transfer means, e.g. mechanical integration of coils, antennas or transducers into emitting or receiving devices
    • 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
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • 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
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a control method, which is applied to a protective shell of a terminal and comprises the following steps: when the terminal charges to the protective housing, it is long to acquire charging of protective housing, and when the length of time more than or equal to preset threshold value charges, and when the bluetooth that does not exist with the terminal in the charging period of protective housing is connected, the disconnection of control and the charging of terminal are connected. The embodiment of the application also provides a protective shell of the terminal, the terminal and a computer storage medium.

Description

Control method, protective shell of terminal, terminal and computer storage medium
Technical Field
The present invention relates to a power consumption control technology for a terminal having an Ultra Wide Band (UWB) protective case, and more particularly, to a control method, a protective case for a terminal, and a computer storage medium.
Background
Nowadays, with the development of UWB, various manufacturers have begun to integrate UWB functions into mobile phones, but UWB is often relatively high in cost and large in occupied area of antennas, and therefore mobile phones suitable for all models cannot be integrated. In order to enable the mobile phone to realize the UWB function, a mobile phone protection shell with the UWB positioning function is provided.
In order to ensure the lightness and convenience of the UWB mobile phone shell, the UWB mobile phone shell does not have any battery, but supplies power to the mobile phone shell by adopting a mobile phone wireless reverse charging mode, because the UWB mobile phone shell is a passive power-on device, after a user brings the mobile phone shell, as long as the mobile phone opens the wireless reverse charging function, the mobile phone shell is triggered to be powered on and the UWB function is triggered, and the work is continuously started, and many times, the user does not need to use the UWB function of the UWB mobile phone shell, the wireless reverse charging can increase the power consumption of the mobile phone, so that the power consumption of the mobile phone and the mobile phone shell is increased; therefore, the technical problem that the power consumption of the existing terminal with the UWB mobile phone shell is high is solved.
Disclosure of Invention
The embodiment of the application provides a control method, a protective shell of a terminal, the terminal and a computer storage medium, which can reduce the power consumption of the terminal with a UWB mobile phone shell.
The technical scheme of the application is realized as follows:
the embodiment of the application provides a control method, which is applied to a protective shell of a terminal and comprises the following steps:
when the terminal charges the protective shell, acquiring the charging duration of the protective shell;
when the charging time is more than or equal to the preset threshold value, and the Bluetooth connection with the terminal does not exist in the charging period of the protective shell, the disconnection is controlled, and the charging connection with the terminal is controlled.
The embodiment of the application provides a control method, which is applied to a terminal and comprises the following steps:
when the terminal charges a protective shell of the terminal, receiving prompt information sent by the terminal;
when the prompt information prompts that the terminal stops charging the protective shell, the charging connection of the protective shell is controlled to be disconnected.
The embodiment of the application provides a protective housing at terminal, includes:
the acquisition module is used for acquiring the charging duration of the protective shell when the terminal charges the protective shell;
the first control module is used for controlling disconnection and charging connection of the terminal when the charging time is larger than or equal to a preset threshold value and the Bluetooth connection of the terminal does not exist in the charging period of the protective shell.
An embodiment of the present application provides a terminal, including:
the receiving module is used for receiving prompt information sent by the terminal when the terminal charges a protective shell of the terminal;
and the second control module is used for controlling the disconnection of the charging connection to the protective shell when the prompt information prompts that the terminal stops charging the protective shell.
The embodiment of the application provides a protective housing at terminal, includes:
a processor and a storage medium storing instructions executable by the processor, the storage medium performing operations by relying on the processor through a communication bus, and when the instructions are executed by the processor, executing the control method executed by the protective case of the terminal in one or more of the above embodiments.
An embodiment of the present application provides a terminal, including:
a processor and a storage medium storing instructions executable by the processor, the storage medium performing operations in dependence of the processor through a communication bus, the instructions, when executed by the processor, performing the control method performed by the terminal according to one or more of the above embodiments.
The embodiment of the application provides a computer storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, the processors execute the control method according to one or more embodiments.
The embodiment of the application provides a control method, a protective shell of a terminal, the terminal and a computer storage medium, when the terminal charges the protective shell, the charging time of the protective shell is obtained, and when the charging time is greater than or equal to a preset threshold value and Bluetooth connection with the terminal does not exist in the charging time period of the protective shell, disconnection of charging connection with the terminal is controlled; that is to say, in this application embodiment, charge to the protective housing to the terminal, it times to the length of time of charging of protective housing, it is more than or equal to preset threshold to charge for length of time, and, there is not bluetooth connection with the terminal in the charging period, because in normal charging the terminal can issue acquisition command for the protective housing through bluetooth connection with the protective housing, so, this application embodiment is through whether there is bluetooth connection with the terminal in the time length overtime of charging and the charging period, the protective housing can determine whether this terminal charges to the protective housing and is the required charging of user, to not having bluetooth connection with the terminal in the charging period and can determine this charging for the user does not need to charge, control disconnection and charging connection with the terminal can be under the prerequisite of guarantee user normal use protective housing, avoid terminal unnecessary charging loss, the consumption of the terminal that has the terminal of UWB cell-phone shell is reduced, the life of UWB cell-phone shell has been prolonged.
Drawings
Fig. 1 is a schematic structural diagram of a UWB positioning system in the related art;
FIG. 2 is a schematic structural diagram of an alternative control system provided in an embodiment of the present application;
fig. 3 is an interaction flow diagram of an alternative control method provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of an example of an alternative control method provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of an alternative control method provided in the embodiment of the present application;
fig. 6 is a schematic flowchart of another alternative control method provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of an alternative protective shell of a terminal according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an alternative terminal according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a protective shell of another alternative terminal according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another alternative terminal provided in an embodiment of the present application.
Detailed Description
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.
In the related art, fig. 1 is a schematic structural diagram of a UWB positioning system in the related art, and as shown in fig. 1, the positioning system may include: a mobile phone, a mobile phone shell with UWB positioning function (abbreviated as UWB mobile phone shell), and a UWB tag, as shown in fig. 1, the positioning method of the positioning system may include:
step 1, the mobile phone wirelessly reversely charges and supplies power to a UWB mobile phone shell;
when the mobile phone wirelessly reversely charges the UWB mobile phone shell, the UWB mobile phone collects UWB data of a UWB tag matched with the UWB mobile phone shell in the surrounding environment.
Step 2, the mobile phone and the UWB mobile phone shell establish Bluetooth connection of a Low power consumption Bluetooth technology (BLE);
step 3, the mobile phone issues a Bluetooth command to acquire UWB data;
and 4, reporting the UWB data to the mobile phone by the UWB mobile phone shell through Bluetooth connection.
In order to ensure the lightness and convenience of the UWB mobile phone shell, in fig. 1, the UWB mobile phone shell is not provided with any battery, but supplies power to the mobile phone shell by adopting a mobile phone wireless reverse charging mode, after the mobile phone shell is normally powered on, the surrounding UWB tag information starts to be collected and the angle of the received UWB tag is calculated, a command for acquiring the UWB information is issued by the mobile phone Bluetooth, the calculated UWB angle information is fed back to the mobile phone by the UWB mobile phone shell through Bluetooth, after the mobile phone acquires the UWB angle information, logic interaction according to upper Application is realized, different Application scenes can be presented, the current scene using the UWB mobile phone shell is usually, when a user double-clicks the mobile phone with the UWB mobile phone shell, an Application program (APP) operation interface of an intelligent home represented by the UWB tag can be popped out within 2 seconds.
However, since the UWB mobile phone case is a passive power-on device, when a user brings the UWB mobile phone case on, the UWB mobile phone case is triggered to be powered on and to operate as long as the mobile phone turns on the wireless reverse charging function, and continues to operate; if a user opens the wireless back-charging function manually instead of opening the wireless back-charging function through a pre-designed starting inlet (here, the interface of a specific Android Application Package (APK) can be opened, or a special operation instruction, such as shaking, knocking for several times, and the like), the UWB mobile phone shell starts to be powered on at the moment, but the user has no meaning, and only the power consumption of the mobile phone can be increased all the time, so that the power consumption of the mobile phone and the UWB mobile phone shell is increased.
In order to reduce unnecessary power consumption of a terminal having a UWB mobile phone housing, an embodiment of the present application provides a control method, where the method is applied to a control system, and fig. 2 is a schematic structural diagram of an alternative control system provided in the embodiment of the present application, and as shown in fig. 2, the control system may include: a terminal 21 and a protective case 22 of the terminal (hereinafter, the protective case 22 is omitted).
Wherein, protective housing 22 has UWB module and bluetooth module, has protective housing 22 on terminal 21, and when terminal 21 charges to protective housing 22, UWB module is arranged in the collection UWB data of the UWB label in the surrounding environment, and bluetooth module is used for establishing the bluetooth with terminal 21 and is connected in order to transmit data.
Based on the control system, an embodiment of the present application provides a control method, and fig. 3 is an interactive flow diagram of an optional control method provided in the embodiment of the present application, and as shown in fig. 3, the control method may include:
s301: when the terminal 21 charges the protective shell 22, the protective shell 22 acquires a charging period of the protective shell 22;
normally, when the terminal 21 is worn with the protective case 22, if the user of the terminal 21 turns on the wireless back-charging function, the terminal 21 charges the protective case 22, however, if the terminal 21 is worn with the protective case 22, the wireless back-charging function is unintentionally turned on, so that the terminal 21 charges the protective case 22, which is not needed by the user, and also increases the power consumption of the terminal 21.
In order to reduce power consumption, in the embodiment of the present application, a charging duration is counted when the terminal 21 charges the protective case 22, in an actual application, a timer or a timer may be set in the protective case 22 to count charging of the terminal 21 to the protective case 22, which is not specifically limited in the embodiment of the present application.
Taking a timer as an example, when the terminal 21 user turns on the wireless back charging function, the Micro Control Unit (MCU) of the protective case 22 is powered on, the bluetooth module of the protective case 22 is initialized, the UWB module of the protective case 22 is initialized, and the protective case 22 starts the wireless back charging timer to realize the timing of the charging time.
S302: when the charging time is longer than or equal to the preset threshold and there is no bluetooth connection with the terminal 21 in the charging period of the protective case 22, the protective case 22 controls to disconnect the charging connection with the terminal 21.
Specifically, after the charging duration of the protective case 22 is acquired, the protective case 22 needs to determine between the charging duration and a preset threshold, when the charging duration is greater than or equal to the preset threshold, it is determined whether bluetooth connection exists between the protective case 22 and the terminal 21 in the charging duration corresponding to the charging duration, when the terminal 21 charges the protective case 22 for the charging required by the user, in a normal case, after the charging is started, bluetooth connection is established between the bluetooth module of the terminal 21 and the bluetooth module of the protective case 22, and the terminal 21 issues an instruction for acquiring the UWB angle information to the protective case 22 based on the bluetooth connection.
Therefore, here, when the charging duration is greater than or equal to the preset threshold and there is no bluetooth connection between the protective shell 22 and the terminal 21 in the charging period of the protective shell 22, it is described that the terminal 21 charges the protective shell 22 to a charging unnecessary for the user at this time, so the protective shell 22 controls a General Purpose Input/Output (GPIO) of the protective shell 22 to stop charging with the terminal 21.
Like this, through timing the length of time to charging and the judgement of bluetooth connection between terminal 21 and the protective housing 22, can further confirm to charge that the user needs or the unnecessary charging of user to whether this confirms that whether disconnects the charging of terminal 21 to protective housing 22, the guarantee user has reduced the consumption of terminal when normally using the UWB function.
In an optional embodiment, the method further includes:
when the charging duration is greater than or equal to the preset threshold and no bluetooth connection with the terminal 21 exists in the charging period, the protective shell 22 sends prompt information to the terminal 21;
when the terminal 21 charges the protective shell 22, the terminal 21 receives the prompt message sent from the terminal 21;
when the prompt information prompts the terminal 21 to stop charging the protective case 22, the terminal 21 controls to disconnect the charging connection to the protective case 22.
Specifically, when the charging duration is greater than or equal to the preset threshold and there is no bluetooth connection with the terminal 21 in the charging period, in addition to the protective shell 22 controlling to disconnect the charging connection with the terminal 21, the protective shell 22 may also send a prompt message to the terminal 21 to prompt the terminal 21 that the charging of the terminal 21 to the protective shell 22 at this time is an unnecessary charging loss for the user.
In addition, after the terminal 21 receives the prompt message sent by the protective shell 22, the terminal 21 may also actively disconnect charging to the protective shell 22, so that not only the charging connection with the terminal 21 is disconnected through the protective shell 22, but also the prompt message is reported to the terminal 21 through the protective shell 22, so that the charging connection from the terminal 21 to the protective shell 22 is disconnected through the terminal 21, and the charging from the terminal 21 to the protective shell 22 can be more efficiently stopped by using the two modes, thereby further reducing power consumption consumed by the terminal 21 for unnecessary charging to the protective shell 22.
In addition, in order to enable the terminal 21 to use the UWB function of the protective case 22 more efficiently, in an alternative embodiment, after the terminal 21 controls to disconnect the charging connection to the protective case 22 when the prompting message prompts the terminal 21 to stop charging the protective case 22, the method further includes:
the terminal 21 displays the use method of the protective case 22 on the display interface of the terminal 21.
That is to say, after the terminal 21 controls to disconnect the charging connection with the protective shell 22, the method of using the protective shell 22 may also be sent to the display interface of the terminal 21 for displaying, where it should be noted that a client corresponding to the protective shell 22 is installed in the terminal 21, and the client may be configured to receive the information sent by the protective shell 22 and also push the method of using the protective shell 22 to the user.
In this way, the terminal 21 displays the use method of the protective case 22 on the display interface of the terminal 21, so that the user of the terminal 21 can further know the use method of the protective case 22 to prompt the user to correctly use the UWB function in the protective case 22.
In order to avoid affecting the normal charging of the terminal 21 to the protective shell 22 for the charging required by the user of the terminal 21, in an alternative embodiment, the method further includes:
when the terminal 21 charges the protective case 22, the terminal 21 transmits an acquisition instruction of angle information of UWB to the protective case 21 based on the bluetooth connection with the protective case 22;
when the charging duration is less than the preset threshold, the protective case 22 collects UWB data;
when receiving an acquisition instruction for the UWB angle information from the terminal 21 within the charging period, the protective case 22 reports the UWB angle information to the terminal 21;
when the acquisition instruction of the angle information for the UWB from the terminal 21 is not received within the charging period, the protective case 22 returns to perform the acquisition of the UWB data.
The UWB angle information is calculated from UWB data.
Specifically, when the terminal 21 normally charges the protective case 22, then, after the MCU of the protective case 22 is powered on, the protective case 22 sends an acquisition instruction of angle information of UWB to the protective case 22 based on the bluetooth connection between the terminal 21 and the protective case 22.
In addition, when the protective case 22 determines that the charging duration is less than the preset threshold, according to the normal UWB function of the protective case 22, firstly, UWB data is acquired, then, whether an acquisition instruction for the angle information of the UWB is received in the charging period is determined, and if the acquisition instruction for the angle information of the UWB is received in the charging period, it is indicated that the protective case 22 is charged by the terminal 21 at this time for the charging required by the user of the terminal 21, so that the protective case 22 sends the angle information of the UWB calculated according to the acquired UWB data to the terminal 21, so that the terminal 21 acquires the required angle information of the UWB, and the positioning function of the UWB is realized.
In addition, if the acquisition instruction of the angle information for the UWB is not received in the charging period, it indicates that it is further necessary to determine whether the charging at this time is the charging required by the user of the terminal 21, so that the UWB data acquisition is performed in a return manner, and while the UWB data acquisition is performed, the charging period is continuously determined along with the continuous increase of the charging period, so as to further determine whether the charging at this time is the charging required by the user of the terminal 21.
The control method according to one or more of the above embodiments is described below by way of example.
Fig. 4 is a schematic flowchart of an example of an optional control method provided in an embodiment of the present application, and as shown in fig. 4, the control method may include:
s401: when the terminal charges the protective shell, the MCU of the protective shell is powered on;
s402: initializing a Bluetooth module of the protective shell;
s403: initializing a UWB module of a protective shell;
s404: the protective shell starts a wireless reverse charging timer;
s405: is the protective case judge whether the timer is overtime? If not, executing S406; if so, executing S407;
in S405, the timer here is the above-mentioned wireless back-charging timer.
S406: the protective case collects UWB data;
s407: is the protective case judged whether there is a bluetooth connection between the terminal and the protective case from the start of the timer to the present time? If so, go to S408; if not, executing S409;
s408: the protective shell clears the timer and returns to execute S404;
s409: the protective shell reports information of terminating wireless reverse charging (EPT) to the terminal;
s410: the protective shell controls the GPIO system to perform wireless reverse charging;
s411: the protective case determines whether a bluetooth Command Prompt (CMD, command Prompt) is received from the start of the timer to the current time? If so, go to S412; if not, returning to execute S406;
s412: the protective shell reports UWB angle information.
The UWB angle information is calculated from the UWB data.
That is to say, in this example, mainly in the program logic interaction of UWB mobile phone shell, after UWB mobile phone shell is powered on, in a given time interval, find that UWB mobile phone shell bluetooth does not have bluetooth connection, directly trigger the automatic power-off mechanism through GPIO, and before the power-off, give the cell-phone of supplying power through sending the EPT message in the wireless back-charging standard Qi protocol, because it is the standard Qi protocol, the cell-phone will automatically stop wireless back-charging after receiving this message, thereby reach the purpose of saving power consumption
This example opens the wireless anti-function of filling of cell-phone through automated inspection UWB cell-phone shell whether the user is abnormal operation, and leads to UWB cell-phone shell to be in operating condition, closes the wireless anti-function of filling through self-closing and notice cell-phone, has reached the purpose of saving cell-phone end consumption.
This example guarantees that the user can correctly use UWB cell-phone shell, when user's maloperation leads to UWB cell-phone shell function to be opened, can automatic identification and initiatively close UWB cell-phone shell function, informs the cell-phone simultaneously and stops to supply power to UWB cell-phone shell, can reach the requirement of saving the cell-phone consumption, does not influence the function of user normal use UWB cell-phone shell simultaneously again.
The embodiment of the application provides a control method, which includes the steps that when a terminal charges a protective shell, the charging time of the protective shell is obtained, and when the charging time is larger than or equal to a preset threshold value and no Bluetooth connection with the terminal exists in the charging time period of the protective shell, the charging connection with the terminal is controlled to be disconnected; that is to say, in this application embodiment, charge to the protective housing to the terminal, it times to the length of time of charging of protective housing, it is more than or equal to preset threshold to charge for length of time, and, there is not bluetooth connection with the terminal in the charging period, because in normal charging the terminal can issue acquisition command for the protective housing through bluetooth connection with the protective housing, so, this application embodiment is through whether there is bluetooth connection with the terminal in the time length overtime of charging and the charging period, the protective housing can determine whether this terminal charges to the protective housing and is the required charging of user, to not having bluetooth connection with the terminal in the charging period and can determine this charging for the user does not need to charge, control disconnection and charging connection with the terminal can be under the prerequisite of guarantee user normal use protective housing, avoid terminal unnecessary charging loss, the consumption of the terminal that has the terminal of UWB cell-phone shell is reduced, the life of UWB cell-phone shell has been prolonged.
Example two
The control method will be described below with respect to each of the devices belonging to the control system.
First, the control method is described with the protection case side of the terminal.
An embodiment of the present application provides a control method, where the method is applied to a protective case of a terminal, fig. 5 is a schematic flow diagram of an optional control method provided in the embodiment of the present application, and as shown in fig. 5, the method may include:
s501: when the terminal charges the protective shell, acquiring the charging duration of the protective shell;
s502: when the charging time is more than or equal to the preset threshold value and the Bluetooth connection with the terminal does not exist in the charging time period of the protective shell, the disconnection of the charging connection with the terminal is controlled.
In an optional embodiment, the method further comprises:
when the charging duration is greater than or equal to a preset threshold and no Bluetooth connection with the terminal exists in the charging period, sending prompt information to the terminal;
and the prompt message is used for prompting the terminal to stop charging the protective shell.
In an optional embodiment, the method further comprises:
when the charging time is more than or equal to the preset threshold value and the Bluetooth connection with the terminal exists in the charging time period, the charging time is reset, and the charging time of the protective shell is obtained through returning execution.
In an optional embodiment, the method further comprises:
when the charging duration is less than a preset threshold value, acquiring UWB data;
when receiving an acquisition instruction aiming at the UWB angle information from a terminal in a charging period, reporting the UWB angle information to the terminal;
the acquisition instruction is transmitted based on the Bluetooth connection with the terminal; the UWB angle information is information calculated from UWB data.
In an optional embodiment, the method further comprises:
and when the acquisition instruction of the angle information aiming at the UWB from the terminal is not received in the charging period, returning to execute the UWB data acquisition.
Next, the control method is described in the terminal side.
An embodiment of the present application provides a control method, where the method is applied to a terminal, fig. 6 is a schematic flow chart of another optional control method provided in the embodiment of the present application, and as shown in fig. 6, the method may include:
s601: when the terminal charges the protective shell of the terminal, the terminal receives prompt information sent by the terminal;
s602: when the prompt message prompt terminal stops charging the protective shell, the charging connection to the protective shell is controlled to be disconnected.
In an optional embodiment, the method further comprises:
when the terminal charges the protective shell, sending an UWB angle information acquisition instruction to the protective shell based on Bluetooth connection with the protective shell; the obtaining instruction is used for the protective shell to send UWB angle information obtained through calculation according to the collected UWB data to the terminal;
and receiving the UWB angle information transmitted by the terminal.
In an optional embodiment, after disconnecting the charging connection to the protective case when the prompt information prompts the terminal to stop charging the protective case, the method further comprises:
and displaying the using method of the protective shell on a display interface of the terminal.
In addition, based on the same inventive concept as the previous embodiments, embodiments of the present application provide a protective case of a terminal, consistent with the protective case of the terminal provided in one or more of the above embodiments.
Fig. 7 is a schematic structural diagram of an optional protective case of a terminal according to an embodiment of the present application, where as shown in fig. 7, the protective case of the terminal includes:
the obtaining module 71 is configured to obtain a charging duration of the protective shell when the terminal charges the protective shell;
the first control module 72 is configured to control disconnection of the charging connection with the terminal when the charging duration is greater than or equal to a preset threshold and no bluetooth connection with the terminal exists in the charging period of the protective case.
In an alternative embodiment, the protective case of the terminal is further configured to:
when the charging duration is greater than or equal to a preset threshold and no Bluetooth connection with the terminal exists in the charging period, sending prompt information to the terminal;
wherein, the prompt message is used for prompting the terminal to stop charging the protective shell.
In an optional embodiment, the protective case of the terminal is further configured to:
when the charging time is longer than or equal to the preset threshold value and the Bluetooth connection with the terminal exists in the charging time period, the charging time is cleared, and the charging time for acquiring the protective shell is returned to be executed.
In an alternative embodiment, the protective case of the terminal is further configured to:
when the charging duration is less than a preset threshold value, acquiring UWB data;
when receiving an acquisition instruction aiming at the UWB angle information from a terminal in a charging period, reporting the UWB angle information to the terminal;
the acquisition instruction is transmitted based on the Bluetooth connection with the terminal; the UWB angle information is information calculated from UWB data.
In an alternative embodiment, the protective case of the terminal is further configured to:
and when the acquisition instruction of the angle information aiming at the UWB is not received from the terminal in the charging period, returning to execute the UWB data acquisition.
In practical applications, the obtaining module 71 and the first control module 72 may be implemented by a processor located on a protective shell of the terminal, specifically, implemented by a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
The embodiments of the present application provide a terminal, which is consistent with the terminal described in one or more embodiments above.
Fig. 8 is a schematic structural diagram of an alternative terminal provided in an embodiment of the present application, and as shown in fig. 8, the terminal includes:
the receiving module 81 is configured to receive prompt information sent from a terminal when the terminal charges a protective case of the terminal;
and the second control module 82 is used for controlling to disconnect the charging connection to the protective shell when the prompt information prompts the terminal to stop charging the protective shell.
In an optional embodiment, the terminal is further configured to:
when the terminal charges the protective shell, an acquisition instruction of UWB angle information is sent to the protective shell based on the Bluetooth connection with the protective shell; the obtaining instruction is used for the protective shell to send UWB angle information obtained through calculation according to the collected UWB data to the terminal;
and receiving the UWB angle information transmitted by the terminal.
In an optional embodiment, the terminal is further configured to:
when the prompt information prompts that the terminal stops charging the protective shell, after the charging connection to the protective shell is disconnected, the using method of the protective shell is displayed on the display interface of the terminal.
In practical applications, the receiving module 81 and the second control module 82 can be implemented by a processor located on the terminal, specifically, a CPU, an MPU, a DSP, or an FPGA.
Fig. 9 is a schematic structural diagram of another optional protective case of a terminal provided in an embodiment of the present application, and as shown in fig. 9, an embodiment of the present application provides a protective case 900 of a terminal, including:
a processor 91 and a storage medium 92 storing instructions executable by the processor 91, wherein the storage medium 92 depends on the processor 91 to perform operations via a communication bus 93, and when the instructions are executed by the processor 91, the control method of the first embodiment is performed.
It should be noted that, in practical applications, the various components in the protective housing of the terminal are coupled together by a communication bus 93. It is understood that the communication bus 93 is used to enable connection communication between these components. The communication bus 93 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. But for clarity of illustration the various buses are labeled as communication bus 93 in figure 9.
Fig. 10 is a schematic structural diagram of another alternative terminal provided in an embodiment of the present application, and as shown in fig. 10, an embodiment of the present application provides a terminal 1000, including:
a processor 101 and a storage medium 102 storing instructions executable by the processor 101, wherein the storage medium 102 depends on the processor 101 to perform operations through a communication bus 103, and when the instructions are executed by the processor 101, the control method of the first embodiment is performed.
It should be noted that, in practical applications, the various components in the terminal are coupled together by a communication bus 103. It is understood that the communication bus 103 is used to enable connection communication between these components. The communication bus 103 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled in figure 10 as communication bus 103.
Embodiments of the present application provide a computer storage medium storing executable instructions that, when executed by one or more processors, perform the control method as described in the protective case of the terminal in one or more embodiments above, or the control method as described in the terminal in one or more embodiments above.
The computer-readable storage medium may be a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM).
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (13)

1. A control method is applied to a protective shell of a terminal and comprises the following steps:
when the terminal charges the protective shell, acquiring the charging duration of the protective shell;
when the charging duration is greater than or equal to the preset threshold value, and the Bluetooth connection of the terminal does not exist in the charging period of the protective shell, the disconnection is controlled.
2. The method of claim 1, further comprising:
when the charging duration is greater than or equal to the preset threshold and no Bluetooth connection with the terminal exists in the charging period, sending prompt information to the terminal;
the prompt information is used for prompting the terminal to stop charging the protective shell.
3. The method of claim 1, further comprising:
and when the charging time is more than or equal to the preset threshold and the Bluetooth connection with the terminal exists in the charging time period, clearing the charging time, and returning to execute to obtain the charging time of the protective shell.
4. The method of claim 1, further comprising:
when the charging duration is smaller than the preset threshold, acquiring UWB data;
when receiving an acquisition instruction of the UWB angle information from the terminal in the charging period, reporting the UWB angle information to the terminal;
the acquisition instruction is transmitted based on the Bluetooth connection with the terminal; the UWB angle information is calculated from the UWB data.
5. The method of claim 4, further comprising:
and when the acquisition instruction of the angle information of the terminal aiming at the UWB is not received in the charging period, returning to execute the UWB data acquisition.
6. A control method is applied to a terminal and comprises the following steps:
when the terminal charges a protective shell of the terminal, receiving prompt information sent by the terminal;
when the prompt information prompts that the terminal stops charging the protective shell, the charging connection to the protective shell is controlled to be disconnected.
7. The method of claim 6, further comprising:
when the terminal charges the protective shell, sending an acquisition instruction of UWB angle information to the protective shell based on Bluetooth connection with the protective shell; the obtaining instruction is used for the protective shell to send UWB angle information obtained through calculation according to the collected UWB data to the terminal;
and receiving UWB angle information sent by the terminal.
8. The method according to claim 6, wherein after disconnecting the charging connection to the protective case when the prompt message prompts the terminal to stop charging the protective case, the method further comprises:
and displaying the using method of the protective shell on a display interface of the terminal.
9. A protective case for a terminal, comprising:
the acquisition module is used for acquiring the charging duration of the protective shell when the terminal charges the protective shell;
the first control module is used for controlling disconnection and charging connection of the terminal when the charging time is larger than or equal to a preset threshold value and the Bluetooth connection of the terminal does not exist in the charging period of the protective shell.
10. A terminal, comprising:
the receiving module is used for receiving prompt information sent by the terminal when the terminal charges a protective shell of the terminal;
and the second control module is used for controlling the disconnection of the charging connection of the protective shell when the prompt information prompts that the terminal stops charging the protective shell.
11. A protective case for a terminal, comprising:
a processor and a storage medium storing processor-executable instructions for performing operations on the processor via a communication bus, the instructions when executed by the processor performing the control method of any of claims 1 to 5.
12. A terminal, comprising:
a processor and a storage medium storing processor-executable instructions for performing operations on the processor via a communication bus, the instructions when executed by the processor performing the control method of any of claims 6 to 8.
13. A computer storage medium storing executable instructions which, when executed by one or more processors, perform the control method of any one of claims 1 to 5 or the control method of any one of claims 6 to 8.
CN202110517409.0A 2021-05-12 2021-05-12 Control method, protective shell of terminal, terminal and computer storage medium Pending CN115348345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110517409.0A CN115348345A (en) 2021-05-12 2021-05-12 Control method, protective shell of terminal, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110517409.0A CN115348345A (en) 2021-05-12 2021-05-12 Control method, protective shell of terminal, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN115348345A true CN115348345A (en) 2022-11-15

Family

ID=83947019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110517409.0A Pending CN115348345A (en) 2021-05-12 2021-05-12 Control method, protective shell of terminal, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN115348345A (en)

Similar Documents

Publication Publication Date Title
US11094969B2 (en) Battery pack and data transmission method between the battery pack and electrical device
US20210286612A1 (en) Electrical device and program update method thereof
US10139893B2 (en) Method and system for controlling intelligent wearable device, and apparatus
KR20210127748A (en) Glasses having a wireless charging receiver circuit, eyeglass cases for eyeglasses, and systems
CN110166994B (en) Data time-sharing transmission interoperability method, system, mobile terminal and storage medium
WO2008066721B1 (en) Communicative battery charger
KR20180103602A (en) Method and Apparatus for Managing Battery
CN104135053A (en) Electric quantity sharing method and device
US10776128B2 (en) Method and device for low power power-on processing
CN109841911A (en) Battery pack information display method, battery pack and terminal
CN110492575B (en) Quick charging system and method for handheld device and handheld device
EP3961848B1 (en) Charging control method and apparatus, electronic device and storage medium
CN111864287B (en) Lithium battery activation charging method and device and lithium battery activation charger
CN111464671A (en) Electronic equipment and charging method thereof
CN114714927A (en) Vehicle discharge control method and device, vehicle and computer storage medium
CN106060381A (en) Camera and docking station control method and system
CN115348345A (en) Control method, protective shell of terminal, terminal and computer storage medium
CN109426324A (en) Electrification control method, AP chip and mobile terminal
JP5254655B2 (en) Charging device, electronic device, secondary battery pack, secondary battery pack security management system, and secondary battery pack security management method
CN104967174A (en) Charging control method and device
CN113572210A (en) Charging method, device, equipment and storage medium
CN103167255A (en) Method and system for achieving quick start of smart TV
CN113258655B (en) Electric quantity control method and device, electronic equipment and storage medium
CN112117811A (en) Intelligent power adapter and power transmission management method thereof
CN113495503A (en) Power-off control method and device for socket and socket

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