Terminal, control method, electronic equipment, chip and storage medium

By designing a terminal that includes control components, student card and headphone components, and using Bluetooth modules to communicate, the problem of inconvenience in pairing smart student card and TWS headphones is solved, and a seamless Bluetooth connection and user-friendly user experience is achieved.

CN119727760APending Publication Date: 2025-03-28CHINA MOBILE CHENGDU INFORMATION & TELECOMM TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311257729.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

There is a hardware discrete solution for pairing smart student cards with TWS headphones, which makes it inconvenient for users to carry. Most smart student cards do not have Bluetooth audio modules, so they need to develop special Bluetooth audio protocols.

Method used

A terminal is designed, including a control component, a student card and a headset component. The student card has a first Bluetooth module and the headset component has a second Bluetooth module. Through the control component, Bluetooth communication between the two is controlled, so as to realize pairing without the need to develop an additional Bluetooth audio protocol.

Benefits of technology

It realizes seamless Bluetooth connection between student cards and headphones, and users can use it immediately through a terminal device, which is easy to carry and use, simplifying the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119727760A_ABST
    Figure CN119727760A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a terminal, a control method, electronic equipment, a chip and a computer readable storage medium, the terminal comprises a control assembly, a student card and an earphone assembly, the student card is fixedly or detachably connected with the earphone assembly, the student card is provided with a first Bluetooth module, and the first Bluetooth module is connected with the control assembly. The earphone assembly is provided with a second Bluetooth module; wherein the control assembly is connected with the student card and the earphone assembly, and is used for controlling Bluetooth communication between the first Bluetooth module of the student card and the second Bluetooth module of the earphone assembly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a terminal, a control method, an electronic device, a chip, and a computer-readable storage medium. Background Art

[0002] True Wireless Stereo (TWS) headphones are used for listening to music, lectures, making phone calls, etc., making it convenient for people to use; on campus, more and more students are beginning to use TWS headphones to connect to terminals such as mobile phones, teaching machines, smart student cards, etc., so that they can hear relevant learning content without disturbing the surrounding environment, and they can also get rid of the constraints of audio cables, making audio extension cordless and convenient for students and users to use.

[0003] Smart student cards are now popular in colleges and universities at all levels in my country. In addition to basic needs such as attendance, positioning, and calls, audio is basically played through external speakers or wired headphones. Most smart student cards on the market do not have Bluetooth audio modules. For the few smart student cards with Bluetooth audio modules, if they want to be paired with TWS headphones, special Bluetooth audio protocol development is required. Even if the docking is successful, it is a hardware discrete solution, which is inconvenient for users to carry. Summary of the invention

[0004] Embodiments of the present application provide a terminal, a control method, an electronic device, a chip, and a computer-readable storage medium.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a terminal, the terminal comprising: a control component, a student card and an earphone component, the student card having a first Bluetooth module, the earphone component having a second Bluetooth module; wherein,

[0007] The control component is connected to the student card and the earphone component, and is used to control the Bluetooth communication between the first Bluetooth module of the student card and the second Bluetooth module of the earphone component.

[0008] In a second aspect, an embodiment of the present application provides a control method, which is applied to a control component in a terminal, wherein the terminal further includes: a student card and an earphone component, and the method includes:

[0009] Control the Bluetooth communication between the first Bluetooth module of the student card and the second Bluetooth module of the earphone assembly.

[0010] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, and execute any one of the control methods provided in the embodiments of the present application.

[0011] In a fourth aspect, the present application provides a chip, comprising: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes any one of the control methods provided in the embodiments of the present application.

[0012] In a fifth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute any one of the control methods provided in the embodiments of the present application.

[0013] The terminal provided in the embodiment of the present application integrates the student card and the headphone components in terms of structure and system hardware and software. The student card and the headphone are connected to each other via Bluetooth through the control component of the terminal. There is no need to develop a separate Bluetooth audio protocol, so that users can use one terminal device and one or two charging cables in a quiet environment, which is ready for use and convenient to carry and use. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 The structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 1 ;

[0015] Figure 2 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 1 ;

[0016] Figure 3 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 2 ;

[0017] Figure 4 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 3 ;

[0018] Figure 5 The hardware architecture of the terminal provided in the embodiment of the present application is shown in FIG. Figure 1 ;

[0019] Figure 6 Schematic diagram of the headset pairing process provided in the embodiment of the present application Figure 1 ;

[0020] Figure 7 Schematic diagram of the headset pairing process provided in the embodiment of the present application Figure 2 ;

[0021] Figure 8The charging mode provided in the embodiment of the present application is shown as follows Figure 1 ;

[0022] Fig. 9 The charging mode provided in the embodiment of the present application is shown as follows Figure 2 ;

[0023] Fig.10 The charging mode provided in the embodiment of the present application is shown as follows Figure 3 ;

[0024] Fig.11 The charging mode provided in the embodiment of the present application is shown as follows Figure 4 ;

[0025] Fig.12 The charging mode provided in the embodiment of the present application is shown as follows Figure 5 ;

[0026] Fig.13 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 1 ;

[0027] Fig.14 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 2 ;

[0028] Fig.15 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 3 ;

[0029] Fig.16 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 4 ;

[0030] Fig.17 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 5 ;

[0031] Fig.18 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 4 ;

[0032] Fig.19 The terminal split structure provided in the embodiment of the present application is schematically shown Figure 1 ;

[0033] Fig. 20 The hardware architecture of the terminal provided in the embodiment of the present application is shown in FIG. Figure 2 ;

[0034] Fig.21 Schematic diagram of the insertion detection process provided in the embodiment of the present application Figure 1 ;

[0035] Fig. 22A schematic diagram of charging interaction provided in an embodiment of the present application;

[0036] Fig.23 A schematic diagram of power interaction provided in an embodiment of the present application;

[0037] Fig.24 The terminal split structure provided in the embodiment of the present application is schematically shown Figure 2 ;

[0038] Fig.25 The terminal hardware architecture provided in the embodiment of the present application is shown in FIG. Figure 3 ;

[0039] Fig.26 A schematic diagram of a USB insertion and retraction drive process provided in an embodiment of the present application;

[0040] Fig. 27 A schematic diagram of the SOS triggering process provided in an embodiment of the present application;

[0041] Fig.28 A schematic diagram of an SOS button provided in an embodiment of the present application;

[0042] Fig.29 A schematic diagram of the implementation flow of the control method provided in the embodiment of the present application;

[0043] Fig.30 A schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0044] Fig.31 A schematic structural diagram of a chip provided in an embodiment of the present application.

[0045] Description of reference numerals:

[0046] 210. Student card; 211. First battery; 212. First charging port; 213. Third battery; 214. Fourth charging port; 215. Battery cover; 216. LCM; 217. KEY1; 218. First Popg pin interface; 219. USB female connector; 2191. SOS button; 220. Earphone assembly; 221. Second battery; 222. Second charging port; 223. Earphone; 224. Earphone cockpit; 225. KEY2; 226. Second Popg pin interface; 227. USB male connector; 228. Buckle; 229. Stepper motor. DETAILED DESCRIPTION

[0047] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0048] It should be noted that in the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the embodiments of the present application, the character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0049] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.

[0050] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.

[0051] The smart student card contains a lot of learning-related audio and video content. If it is played out through speakers or cables every time, it will affect others in the environment or be bound by cables, whether at home or at school. Therefore, the use of the "cordless" TWS headphones that come standard with the student card is particularly urgent.

[0052] Even if the existing student card is successfully paired with the TWS headset, it is basically a discrete solution, that is, the student card uses manufacturer A, and the TWS headset uses manufacturer B. In this way, users usually need to carry a student card, a set of TWS (box + headset), and it is very likely that they will use two different chargers due to different charging interfaces; this makes it complicated to carry and use and easy to lose.

[0053] Figure 1 A schematic diagram of the structure of the terminal provided in the embodiment of the present application Figure 1 ,like Figure 1 As shown, the embodiment of the present application provides a terminal, including a control component, a student card, and an earphone component; the student card is fixedly connected or detachably connected to the earphone component, the student card has a first Bluetooth module, and the earphone component has a second Bluetooth module; wherein,

[0054] The control component is connected to the student card and the earphone component, and is used to control the Bluetooth communication between the first Bluetooth module of the student card and the second Bluetooth module of the earphone component.

[0055] In an optional embodiment of the present application, the earphone assembly includes a cockpit and an earphone, the earphone is accommodated in the cockpit, and the cockpit cover supports an open state and a closed state; the cockpit has a sensor and a charging terminal;

[0056] The student card is used to obtain a first trigger operation, where the first trigger operation is used to trigger the first Bluetooth module of the student card to enter a pairing search state;

[0057] The sensor is used to detect the state of the cabin cover of the cockpit;

[0058] The charging terminal is used to detect whether headphones are placed in the cabin;

[0059] The earphone component is used to send pairing information to the control component when the cockpit is in an open state and the cockpit has an earphone built in;

[0060] The control component is used to send a first signal to the second Bluetooth module of the headset after receiving the pairing information, and the first signal is used to trigger the second Bluetooth module of the headset to perform Bluetooth pairing with the first Bluetooth module of the student card.

[0061] Exemplarily, a button may be set on the student, and the first trigger operation may be long pressing the button.

[0062] In one embodiment of the present application, the headphone assembly is also used to send a second signal to the student card when the cabin is open and the cabin has headphones built in, when this is not the first time that the student card and the headphone assembly are paired via Bluetooth; the second signal is used to trigger Bluetooth pairing between the first Bluetooth module of the student card and the second Bluetooth module of the headphones.

[0063] When the student card and the earphone assembly are not paired with Bluetooth for the first time, the terminal does not need to obtain the first trigger operation, and if the earphone assembly is in the turned-on state, the earphone assembly can be directly paired with the student card.

[0064] In one embodiment of the present application, the terminal further includes: a first indicator light and a second indicator light; wherein,

[0065] The first indicator light is used to indicate whether the first Bluetooth module is in a pairing search state;

[0066] The second indicator light is used to indicate whether the cockpit is in an open state.

[0067] The first indicator light and the second indicator light can use different lighting effects to indicate different states of the terminal. For example, when the first indicator light is off, it indicates that the first Bluetooth module is not in the pairing search state, and when the first indicator light flashes, it indicates that the first Bluetooth module is in the pairing search state. When the second indicator light is off, it indicates that the cockpit is in the closed state, and when the second indicator light flashes, it indicates that the cockpit is in the open state.

[0068] In the embodiment of the present application, the terminal may have two independent batteries or only one battery.

[0069] In an optional embodiment of the present application, the terminal further includes a first battery, a second battery, a first charging port and a second charging port, the first charging port is electrically connected to the first battery or the first charging port is electrically connected to the first battery and the second battery respectively, the second charging port is electrically connected to the second battery or the second charging port is electrically connected to the first battery and the second battery respectively;

[0070] The control component is further used to adjust the first charging mode of the terminal based on the usage frequency of the headset.

[0071] In an optional implementation manner of the present application, the first charging mode includes at least one of the following:

[0072] A first independent charging mode, in which the first charging port charges the first battery, and the second charging port charges the second battery;

[0073] A first synchronous charging mode, wherein the first synchronous charging mode is when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the first battery and the second battery;

[0074] A first student card priority charging mode, wherein the first student card priority charging mode is that when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the second battery;

[0075] A first cabin priority charging mode, wherein when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the first battery; and

[0076] The first earphone priority charging mode is that when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the earphone.

[0077] In another optional implementation manner of the present application, the terminal further includes a first battery, a second battery, and a third charging port, and the third charging port is electrically connected to the first battery and the second battery respectively; wherein,

[0078] The control component is used to adjust the second charging mode of the terminal based on the usage frequency of the headset.

[0079] In an optional implementation manner of the present application, the second charging mode includes at least one of the following:

[0080] a second synchronous charging mode, wherein the second synchronous charging mode is that the third charging port charges the first battery and the second battery;

[0081] A second student card priority charging mode, wherein the second student card priority charging mode is that the third charging port charges the second battery;

[0082] A second cockpit priority charging mode, in which the third charging port charges the first battery; and

[0083] The second earphone priority charging mode is that the third charging port charges the earphone.

[0084] In an optional implementation manner of the present application, the student card is further used to obtain a second trigger operation, where the second trigger operation is an operation of selecting the first power usage mode;

[0085] The control component is further used to adjust the first power usage mode of the terminal based on the second trigger operation.

[0086] In an optional implementation manner of the present application, the first power usage mode includes at least one of the following:

[0087] A first independent power mode, in which the first battery supplies power to the earphone assembly, and the second battery supplies power to the student card;

[0088] A first synchronous power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card;

[0089] A first student card priority power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card, and the student card has a higher power priority than the cockpit and the earphone;

[0090] a first cockpit priority power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card, and the power priority of the cockpit is higher than that of the student card and the earphone; and

[0091] The first earphone has a power priority mode, and the cabin has a power priority mode in which the first battery and the second battery jointly power the earphone assembly and the student card, and the earphone has a higher power priority than the student card and the cabin.

[0092] In another optional implementation manner of the present application, the terminal further includes a third battery and a fourth charging port, and the fourth charging port is electrically connected to the third battery; wherein,

[0093] The third battery is used to power the earphone assembly and the student card;

[0094] The control component is further used to adjust the third charging mode of the terminal based on the frequency of use of the headset.

[0095] In an optional implementation manner of the present application, the third charging mode includes at least one of the following:

[0096] A third student card priority charging mode, wherein the third student card priority charging mode is that the third charging port charges the third battery; and

[0097] A third earphone priority charging mode is used, wherein the earphone priority charging mode is that the third charging port charges the earphone.

[0098] In an optional implementation manner of the present application, the student card is further used to obtain a second trigger operation, where the second trigger operation is an operation of selecting a second power usage mode;

[0099] The control component is further used to adjust the second power usage mode of the terminal based on the second trigger operation.

[0100] In an optional implementation manner of the present application, the second power usage mode includes at least one of the following:

[0101] A second independent power mode, in which the third battery alone supplies power to the student card or the earphone assembly;

[0102] A second synchronous power mode, wherein the third battery supplies power to the student card and the earphone assembly simultaneously;

[0103] a second student card priority power mode, wherein the third battery supplies power to both the student card and the earphone assembly, and the student card has a higher power priority than the cockpit and the earphone; and

[0104] The second earphone has a priority power usage mode. The second earphone has a priority power usage mode in which the third battery supplies power to the student card and the earphone assembly at the same time. The earphone has a higher power usage priority than the cockpit and the student card.

[0105] In an optional implementation manner of the present application, it is characterized in that the terminal further includes at least one of the following electricity meters:

[0106] A first electricity meter, used to detect the electricity level of the cabin;

[0107] A second electricity meter, used to detect the electricity level of the student card;

[0108] The third power meter is used to detect the total power of the two earphones;

[0109] a fourth power meter, used to detect the power level of the left earphone; and

[0110] The fifth power meter is used to detect the power level of the right earphone.

[0111] In an optional implementation of the present application, the student card is also used to obtain a third trigger operation, and the third trigger operation is used to control the battery of the cabin to power the student card and send a rescue message through the control component when the student card is low on power and shuts down.

[0112] In actual application, the rescue information can be a text message, a phone call, etc., and this application does not limit this.

[0113] In an optional implementation manner of the present application, the earphone assembly includes a cockpit and earphones, the cockpit contains the earphones, the terminal is an integrated structure, and the student card is fixedly connected to the cockpit.

[0114] Exemplary, reference Figure 2 and Figure 3 , Figure 2 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 1 , Figure 3 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 2 , Figure 2 This is a side view of the terminal's integrated structure. Figure 3It is a front view of the terminal integrated structure. The rectangular parallelepiped with the battery cover 215 and the LCM 216 is the student card 210, and the rectangular parallelepiped with the earphone 223 is the earphone assembly 220. The integrated design of the earphone cockpit 224 is a "partially aligned card size" design, that is, the width and length are within the length and width range of the main surface of the student card 210, and can also be aligned with the width of the main surface, or can exceed the length or width of the main surface. This application does not limit this. The student card 210 and the earphone cockpit 224 are both designed as a shell; the battery can be designed to be detachable, which is divided into integrated disassembly of the rear shell, opening and closing of the non-cockpit section rear shell, and disassembly.

[0115] It should be noted that the integrated structural diagram of the terminal provided in the embodiment of the present application is for example only. In actual application, the student card and the cockpit may also be in other shapes. The cockpit may be a front flip cover or a side flip cover; it may also be a left and right sliding cover or a front and rear sliding cover. The present application does not limit this.

[0116] Exemplary, reference Figure 4 , Figure 4 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 3 ,like Figure 4 As shown, the terminal has two batteries and two charging ports. The first battery 211 is arranged in the student card, the first charging port 212 is at the bottom of the student card, the second battery 221 is arranged in the cockpit, the second charging port 222 is at the bottom of the cockpit, the student card 210 has a student card Bluetooth pairing button KEY1 (217), and the earphone component 220 is provided with a button KEY2 (225).

[0117] refer to Figure 5 , Figure 5 The hardware architecture of the terminal provided in the embodiment of the present application is shown in FIG. Figure 1 ,like Figure 5As shown, the hardware architecture is suitable for the case where the terminal has two batteries and two charging ports, wherein the student card related functional modules include: student card baseband IC, NFC, WIFI, RFID, 4G LTE RF, GNSS, G-SENSOR, AUDIO CODEC, MIC, SPK&REC, power management PMIC, CHARGER IC 1, second battery, fuel gauge 2, Key1, indicator light 1, LCM / TP, Bluetooth BT. The cockpit related functional modules include: TWS cockpit MCU, first battery, fuel gauge 1, fuel gauge 3, CHARGER IC2, indicator light 2, Key2, Proximity, Pogo pin. Student card function and TWS cockpit and headset interaction functional modules: student card baseband IC, TWS cockpit MCU, power management PMIC, Bluetooth BT, LCM / TP, Charger IC 1, battery 2, fuel gauge 2, Key1, indicator light 1, Key2, Proximity, indicator light 2, CHARGER IC2, first battery, fuel gauge 1, fuel gauge 3, Pogo pin.

[0118] For the pairing process of the student card and the cockpit headset, refer to Figure 6 and Figure 7 , Figure 6 Schematic diagram of the headset pairing process provided in the embodiment of the present application Figure 1 , Figure 7 Schematic diagram of the headset pairing process provided in the embodiment of the present application Figure 2 ,like Figure 6As shown, when the student card and the headset are paired for the first time, Key1 is the student card Bluetooth pairing button. Press and hold X (this time can be set as needed) seconds, and indicator light 1 (corresponding to the first indicator light, which can be designed on the front or side of the student card) flashes, indicating that the student card Bluetooth is in the pairing search state at this time; at this time, if the proximity sensor detects that the cockpit has been flipped and the headset is in the cockpit (if it is not in the cockpit, there is no pairing behavior, press the button again until the headset is in the cockpit, and the pairing behavior can also be stopped), at this time, indicator light 2 (corresponding to the second indicator light, which can be designed on the front or side of the cockpit position) changes from off (color 1 will be displayed for a few seconds after the flipping behavior, and then go out) or always on color 1 to always on color 2, indicator light 1 changes from flashing to always on color 2, which is consistent with indicator light 2, and can be designed so that indicator light 1 and indicator light 2 are always on for a period of time and then go out at the same time to save power consumption. This application does not limit this; if the headset is not in the cockpit or the cockpit is in a closed state, it is necessary to continue pressing Key1, and the student card Bluetooth module continues to search. The specific control process is that after the power management PMIC (corresponding control component) receives the level conversion signal at the GPIO port, it converts it through the internal I2C protocol, and then controls the input signal of the indicator light to make it flash; at this time, if the proximity sensor (which can also be designed as a proximity sensor + magnetic sensor) detects a flipping behavior, the TWS cockpit MCU will use the Pogo pin to detect whether the headset is in the cockpit. If not, no pairing information will be sent; if it is in the cockpit, the TWS cockpit MCU will send a control signal to the PMIC, so that the PMIC will send the relevant PWM information of "local Bluetooth pairing" on the Pogo pin. After receiving the pairing information transmitted by the Pogo pin, the headset will automatically complete the pairing with the student card Bluetooth. After the pairing is successful, the indicator light 1 indicating the Bluetooth status of the student card will no longer flash, but will always be on as display color 2, and it can be designed that the indicator lights 1 and 2 will be on for a period of time with the same color, and then go out at the same time to save power consumption. It should be noted that "detecting flipping" can also be designed to detect "flipping or opening".

[0119] like Figure 7 As shown, if the student card and the headset have been successfully paired once, the subsequent opening of the cover will automatically pair the Bluetooth of the machine as long as the headset is in the cockpit (the flipping behavior reversely outputs the detection signal to the cockpit MCU through the Pogo pin PWM, and the cockpit MCU then transmits the signal to the student card baseband IC through the IIC. The student card baseband IC turns on the student card's Bluetooth through the control command and automatically pairs), which is convenient for users.

[0120] For charging mode, the terminal has two batteries and two charging ports (the first charging port is at the bottom or side of the card, and the second charging port is at the bottom or side of the cockpit position). The two batteries are located at the bottom of the student card and the bottom of the cockpit position respectively.

[0121] The first charging port is designed as a dedicated charging port for the student card battery (first battery), which can be a dedicated data line interface such as TYPE-C, Micro-USB, etc. The second charging port is designed as a dedicated charging port for the TWS headset cockpit battery (second battery), which can be a dedicated data line interface such as TYPE-C, Micro-USB, etc. The charging system is designed to be charged independently by the internal system by default. Figure 8 , Figure 8 The charging mode provided in the embodiment of the present application is shown as follows Figure 1 ,like Figure 8 As shown, Figure 8 The implementation process of the first independent charging mode is shown. The first charging port only charges the first battery, and the second charging port only charges the second battery. The specific principle is the internal control isolation setting of the PMIC. Two charging cables can be used at the same time to charge the student card and the cockpit separately, and the two systems do not charge each other.

[0122] In actual application, the LCM of the student card can design a UI interface, and the user can modify the first charging mode in the UI interface based on the usage scenario. The first charging mode includes: a first independent charging mode, a first synchronous charging mode, a first student card priority charging mode, a first cockpit priority charging mode, and a first headphone priority charging mode.

[0123] refer to Fig. 9 , Fig. 9 The charging mode provided in the embodiment of the present application is shown as follows Figure 2 ,like Fig. 9 As shown, Fig. 9 The implementation process of the first synchronous charging mode is shown. The charging cable is inserted into the first charging port or the second charging port, and the Charger IC inserted into the charging cable works. The PMIC detects the charging voltage and current, and the PMIC charges the first battery and the second battery respectively. The PMIC controls the output charging power of the first battery and the second battery according to the feedback of the fuel gauge 1 and the fuel gauge 2. The fuel gauge 1 detects the IDE power of the first battery, and the fuel gauge 2 measures the power of the second battery. The PMIC controls the output power and gives priority to charging the battery with a lower battery percentage until the UI displays the same battery percentage. The PMIC controls the output charging power of the first battery and the second battery according to the feedback of the current fuel gauge 1 and the fuel gauge 2. The UI displays the two power levels to keep the same value according to the charging time until they are fully charged.

[0124] refer to Fig.10 , Fig.10 The charging mode provided in the embodiment of the present application is shown as follows Figure 3 ,like Fig.10 As shown, Fig.10The implementation process of the first student card priority charging mode is shown. The charging cable is inserted into the first charging port or the second charging port. The PMIC detects the insertion signal to ensure that only Charger IC1 works, Disable Charger IC 2, and the PMIC detects the charging voltage and current. The PMIC charges the first battery. The fuel gauge 1 detects that the first battery is fully charged and feeds back to the PMIC. The PMIC starts to charge the second battery until it is fully charged.

[0125] refer to Fig.11 , Fig.11 The charging mode provided in the embodiment of the present application is shown as follows Figure 4 ,like Fig.11 As shown, Fig.11 The implementation process of the first cockpit priority charging mode is shown. The charging cable is inserted into the first charging port or the second charging port. The PMIC detects the insertion signal to ensure that only Charger IC2 works, Disable Charger IC 1, and the PMIC detects the charging voltage and current. The PMIC charges the second battery. The fuel gauge 2 detects that the second battery is fully charged and feeds back to the PMIC, and the PMIC starts to charge the first battery until it is fully charged.

[0126] refer to Fig.12 , Fig.12 The charging mode provided in the embodiment of the present application is shown as follows Figure 5 ,like Fig.12 As shown, Fig.12 The implementation process of the first earphone priority charging mode is shown. The charging cable is inserted into the first charging port or the second charging port. The PMIC detects the insertion signal to ensure that Charger IC 2 and Charger IC 1 are both disabled. The PMIC detects the charging voltage and current. The PMIC charges the two earphones separately through the Pogo pin. The fuel gauge 3 detects that the batteries of the two earphones are fully charged and feeds back to the PMIC. The PMIC starts to charge the second battery until the cabin is full. The UI prompts whether to continue charging the first battery. If yes, the PMIC starts to charge the first battery until the student card battery is full.

[0127] Exemplarily, the first charging mode can be adjusted in combination with specific usage scenarios, scenario and user habits 1: The control component can record the user's usage habits in the background. If the user usually uses the TWS headset more than the preset threshold, then after inserting the charger (when only one charging port is plugged with a charging cable), if the headset power is less than 20% and the student card power is greater than 50%, the system automatically charges the TWS headset body first. After the headset is fully charged, the UI interface can prompt whether to continue charging the headset cabin. If the user chooses yes, then continue to charge the cabin. After the cabin is full, it prompts whether to charge the student card battery. If the user chooses yes, then continue to charge the student card.

[0128] Scenario and user habits 2: The system can record the user's usage habits in the background. If the user usually uses the TWS headset less than the preset threshold, after inserting the charger (when only one charging port is plugged with a charging cable), if the student card battery power is less than 20% and the headset power is greater than 50%, the system will automatically charge the student card battery first. After the student card battery is full, it will prompt whether to continue charging the TWS cockpit. If the user chooses yes, it will continue to charge the cockpit until the cockpit is full. Then it will continue to prompt whether to charge the TWS headset body. If the user chooses yes, it will continue to charge the headset.

[0129] In an optional implementation manner of the present application, the terminal has two batteries and one charging port. Compared with the terminal with two batteries and two batteries, the first charging port can be retained, or the second charging port can be retained. The hardware structure can be adaptively changed on the terminal with two batteries and two charging ports. Schematically, taking the retention of the first charging port as an example, the first charging port can be deleted. Figure 5 Charger IC2 and USB2 related parts.

[0130] In actual application, the system defaults to the second synchronous charging mode. The LCM of the student card can design a UI interface. The user can modify the second charging mode in the UI interface based on the usage scenario. The second charging mode includes: second synchronous charging mode, second student card priority charging mode, second cockpit priority charging mode, and second earphone priority charging mode.

[0131] The second synchronous charging mode, the second student card priority charging mode, the second cockpit priority charging mode, and the second headphone priority charging mode are for the case where two batteries and one charging port are plugged into a power source. They can be understood by referring to the implementation processes of the aforementioned first synchronous charging mode, the first student card priority charging mode, the first cockpit priority charging mode, and the first headphone priority charging mode, and will not be repeated here.

[0132] In an embodiment of the present application, for a terminal with two batteries, a fuel meter 1, a fuel meter 2, a fuel meter 3, a fuel meter 4 and a fuel meter 5 are provided, wherein fuel meter 1 is used to detect the power level of the first battery, fuel meter 2 is used to detect the power level of the second battery, fuel meter 3 is used to detect the total power level of the two earphones, fuel meter 4 is used to detect the power level of the left earphone, and fuel meter 5 is used to detect the power level of the right earphone.

[0133] The system default setting is that the first battery powers the student card system, and the second battery powers the cockpit or headset. In principle, the internal control of the PMIC is used to make the two power systems operate independently, and the batteries do not charge each other, that is, the two power systems operate independently, that is, the first independent power mode. Users can set the first power mode according to their usage habits. The first power mode includes: the first independent power mode, the first synchronous power mode, the first student card priority power mode, the first cockpit priority power mode, and the first headset priority power mode.

[0134] refer to Fig.13 , Fig.13 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 1 ,like Fig.13 As shown, Fig.13 The implementation process of the first independent power consumption mode is shown. The first battery supplies power to the student card, and the fuel gauge 1 measures the power of the first battery. The PMIC ensures that the first battery does not charge the second battery and the batteries of the two earphones, and the UI displays the power of the student card; the second battery supplies power to the cockpit, and the fuel gauge 2 measures the power of the second battery. The PMIC ensures that the second battery does not charge the first battery, and the UI displays the power of the cockpit; the second battery charges the earphones, and the fuel gauges 4 and 5 measure the power of the left and right earphones respectively, and feed back to the PMIC through the Pogo pin, and the UI displays the power of the two earphones respectively; the second battery charges the earphones, and the fuel gauge 3 measures the total power of the two earphones, and the UI displays the total power of the two earphones.

[0135] refer to Fig.14 , Fig.14 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 2 ,like Fig.14 As shown, Fig.14 The implementation process of the first synchronous power consumption mode is shown. The first battery supplies power to the student card, and the second battery supplies power to the cockpit. The power meter 1 measures the power of the student card, the power meter 2 measures the power of the headphone cockpit, the power meter 3 measures the total power of both ears, the power meter 4 measures the power of the left ear, and the power meter 5 measures the power of the right ear. The PMIC dynamically controls the power of the first battery and the second battery to the system based on the feedback from the power meter; and controls the power of the second battery to charge the dual earphones. The PMIC dynamically controls the second battery and the battery 2 to supply power to the student card based on the feedback from the power meter; and controls the power of the first battery to charge the dual earphones.

[0136] refer to Fig.15 , Fig.15 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 3 ,like Fig.15 As shown, Fig.15 The implementation process of the first student card priority power usage mode is shown. The first battery supplies power to the student card and the second battery supplies power to the earphone compartment. Power meter 1 measures the power of the student card, power meter 2 measures the power of the earphone compartment, power meter 3 measures the total power of both ears, power meter 4 measures the power of the left ear, and power meter 5 measures the power of the right ear. The PMIC dynamically controls the first battery and the second battery internally according to the remaining power feedback from each power meter, and gives priority to supplying the minimum working system of the student card. Under the dynamic control of the PMIC, the power percentage values ​​of the first battery, the second battery and the dual earphones are presented as independent values ​​on the UI until the entire system runs out of power.

[0137] refer to Fig.16 , Fig.16 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 4 ,like Fig.16 As shown, Fig.16 The implementation process of the first cockpit priority power usage mode is shown. The first battery supplies power to the student card and the second battery supplies power to the headphone compartment. Power meter 1 measures the power of the student card, power meter 2 measures the power of the headphone compartment, power meter 3 measures the total power of both ears, power meter 4 measures the power of the left ear, and power meter 5 measures the power of the right ear. The PMIC dynamically controls the first battery and the second battery internally according to the remaining power feedback from each power meter, giving priority to supplying the minimum working system of the cockpit. Under the dynamic control of the PMIC, the power percentage values ​​of the first battery, the second battery and the dual headphones are presented as independent values ​​on the UI until the entire system runs out of power.

[0138] refer to Fig.17 , Fig.17 The power consumption mode provided in the embodiment of the present application is shown in FIG. Figure 5 ,like Fig.17 As shown, Fig.17 The implementation process of the first earphone priority power usage mode is shown. The first battery supplies power to the student card and the second battery supplies power to the earphone compartment. Power meter 1 measures the power of the student card, power meter 2 measures the power of the earphone compartment, power meter 3 measures the total power of both ears, power meter 4 measures the power of the left ear, and power meter 5 measures the power of the right ear. The PMIC dynamically controls the first battery and the second battery internally according to the remaining power feedback from each power meter, giving priority to supplying the minimum working system of the cabin and charging the earphones. Under the dynamic control of the PMIC, the power percentage values ​​of the first battery, the second battery and the dual earphones are presented as independent values ​​on the UI until the entire system runs out of power.

[0139] In an optional implementation manner of the present application, the terminal has a battery and a charging port, referring to Fig.18 , Fig.18 The integrated structure of the terminal provided in the embodiment of the present application is shown in FIG. Figure 4 ,like Fig.18 As shown, the terminal has a battery and a charging port, which are the third battery 213 and the fourth charging port 214. Compared with the terminal with two batteries and two batteries, the first battery 211 and the first charging port 212 can be retained, and the second battery 221 and the second charging port 222 can also be retained. The hardware structure can be adaptively changed on the terminal with two batteries and two charging ports. Schematically, taking the retention of the first battery 211 and the first charging port 212 as an example, the first battery 211 and the first charging port 212 can be deleted. Figure 5 The second battery, fuel gauge 2, Chrger IC2 and other related parts.

[0140] In actual application, the third battery can be set in the student card, and the system default setting is to give priority to charging the third battery, that is, the third student card priority charging mode. The LCM of the student card can design a UI interface, and the user can modify the third charging mode in the UI interface based on the usage scenario. The third charging mode includes: the third student card priority charging mode and the third headset priority charging mode. The specific implementation of the third student card priority charging mode and the third headset priority charging mode can refer to the first student card priority charging mode and the first headset priority charging mode in the aforementioned embodiment, and make adaptive adjustments, which will not be repeated here.

[0141] In actual application, the terminal can automatically select the second independent power mode, the second synchronous power mode, the second student card priority power mode, and the second earphone priority power mode according to the user's usage habits and specific scenarios.

[0142] Scenario 1, daily scenario: The system background will automatically enter the "second earphone priority power mode" after powering on based on the user's usage habits. If the user is a high-frequency user of headphones, the system will automatically enter the "second earphone priority power mode" after powering on. At this time, there is no charger plugged into the USB, and the entire terminal system is powered by the third battery. The internal channel 1 of the PMIC (system power supply) is turned on, and the internal channel 2 of the PMIC (charging the TWS headphones) is turned on. That is, when the system is powered on, the battery is always kept charging the TWS headphones (as long as the headphones are in the cockpit).

[0143] Scenario 2, daily scenario: The system background will automatically enter the "second student card priority power mode" after the user is turned on based on the user's usage habits. If the user is a low-frequency user of headphones, the system will automatically enter the "second student card priority power mode" after powering on. At this time, there is no charger plugged into the USB, and the entire terminal system is powered by the third battery. The internal path 1 of the PMIC (system power supply) is turned on, and the internal path 2 of the PMIC (charging the TWS headphones) is turned off. That is, when the system is turned on, the battery is always kept from charging the TWS headphones (as long as the headphones are in the cockpit) unless the user manually selects it.

[0144] Scenario three, library scenario and dormitory scenario. When swiping a card to enter a library or dormitory, or when the student card platform detects the entry into the electronic fence of these two locations through real-time positioning, it is generally necessary to be quiet and not disturb each other; first, the system automatically turns off the speaker, and the path between the Audio Codec and the speaker is closed. Then the system automatically enters the "second earphone priority power mode", and the entire system is powered by the battery. The internal path 1 of the PMIC (system power supply) is turned on, and the internal path 2 of the PMIC (charging the TWS earphone) is turned on; that is, when the power is on, the battery is always kept charging the TWS earphone (as long as the earphone is in the cockpit).

[0145] Scenario 4, canteen scenario: When the student card is swiped to pay in the canteen, and the student card platform detects the electronic fence entering the canteen through real-time positioning, the surrounding environment is relatively noisy at this time, and students need to wear headphones to hear the audio and video content played by the student card, such as English listening, interactive classroom content, etc.; at this time, the system automatically enters the "second earphone priority power mode", and the entire system is powered by the battery. The internal channel 1 of the PMIC (system power supply) is turned on, and the internal channel 2 of the PMIC (charging the TWS earphones) is turned on; that is, when the power is on, the battery is always kept charging the TWS earphones (as long as the earphones are in the cockpit).

[0146] Scenario 5, Classroom Mode: When the student card platform detects the electronic fence entering the classroom through real-time positioning, students have to listen to both the teacher's information and the content broadcast by the student card. In this scenario, it is not suitable to use TWS headphones. The system automatically enters the "second student card priority power mode". The entire system is powered by the battery, the PMIC internal channel 1 (system power supply) is turned on, and the PMIC internal channel 2 (charging the TWS headphones) is turned off; that is, when the power is on, the battery is always kept from charging the TWS headphones (as long as the headphones are in the cockpit) unless the user manually chooses to switch.

[0147] In the above-mentioned "second earphone priority power mode", when the earphone battery is insufficient, the earphone can be powered by the battery of the student card. Alternatively, in the above-mentioned "second student card priority power mode", when the student card battery is insufficient, the student card can be powered by the battery of the earphone.

[0148] In another optional implementation manner of the present application, the terminal is a split structure, and the student card is detachably connected to the earphone assembly;

[0149] The control component includes a first control component and a second control component; the first control component is arranged in the student card, and the second control component is arranged in the earphone component;

[0150] A first interface is provided on the first control component, and a second interface is provided on the second control component. The first interface and the second interface are detachably connected. The first interface and the second interface are connected when the student card is connected to the earphone component, so as to realize the electrical connection between the first control component and the second control component.

[0151] In an optional implementation of the present application, the student card is detachably connected to the earphone assembly via a buckle.

[0152] In an optional implementation of the present application, the first control component and the second control component communicate and / or are powered by an electrical connection.

[0153] refer to Fig.19 , Fig.19 The terminal split structure provided in the embodiment of the present application is schematically shown Figure 1 ,like Fig.19 As shown, the earphone assembly 220 and the student card 210 are designed as a split structure. The student card 210 has a USB female connector 219 and a first Popg pin interface 218, and the earphone assembly 220 has a USB male connector 227 and a second Popg pin interface 226. The interaction of the two systems is formed through USB insertion and Pogo pin contact. The interconnected USB male and female connectors can be swapped. The student card 210 and the earphone assembly 220 each have their own independent charging port, which are the first charging port 212 and the second charging port 222. There are buckles 228 on both sides of the student card and the earphone to fix the two terminals after insertion. The interconnected USB male connector 227 can be designed to be parallel to the shell and hidden in the shell at ordinary times, and rotated 90 degrees to be perpendicular to the shell when needed.

[0154] refer to Fig. 20 , Fig. 20 The hardware architecture of the terminal provided in the embodiment of the present application is shown in FIG. Figure 2 ,like Fig. 20 As shown, this hardware architecture is suitable for the case where the terminal is a split structure. The connection relationship between each module can be referred to Figure 5 The connection relationship of the architecture shown is understood, and Figure 5The architecture shown is different in that the PMIC is divided into a student card PMIC and a cockpit PMIC, and an interaction process between the student card PMIC and the cockpit PMIC is added. When the student card PMIC and the cockpit PMIC are interactively connected, the relevant functions are implemented the same as those of the PMIC, and can be understood by referring to the relevant descriptions in the previous embodiments about two batteries and two charging ports and one battery and one charging port; the main principle is that when it is detected that the TWS earphone compartment is inserted, the hardware systems of the two terminals interact and control each other through USB and Pogo Pin. At this time, the control commands of the two PMICs can be transmitted through the pin signals on the USB; the charging voltage and current can also be transmitted to the other party's system battery through the Pogo Pin; the power supply voltage and current can also be transmitted to the other party's working module through USB.

[0155] In actual application, the insertion detection process can refer to Fig.21 , Fig.21 Schematic diagram of the insertion detection process provided in the embodiment of the present application Figure 1 When the student card is connected to the cockpit interface, the following three interaction methods can be selected: Method 1, the USB voltage signal change or PWM encoding is detected by the PMIC of both parties, and then the system interconnection and handshake protocol are started; Method 2, the Pogo pin voltage signal change or PWM encoding signal is detected, and then the system interconnection and handshake protocol are started; Method 3, the USB or Pogo pin voltage signal change and PWM encoding signal are detected, and then the system interconnection and handshake protocol are started. Based on this, in actual application, there are three options for the interface design between the student card and the cockpit, namely, only with USB, only with Pogo pin, or with both USB and Pogo pin. The hardware architecture can refer to Fig. 20 The hardware architecture in the system is adaptively adjusted, which will not be described in detail here.

[0156] Exemplary, reference Fig. 22 and Fig.23 , Fig. 22 A schematic diagram of charging interaction provided in an embodiment of the present application, such as Fig. 22 As shown, the system defaults that the student card and the cockpit do not charge each other. When and only when the cockpit voltage is detected to be lower than 3.4V, and the charger is charging the student card battery, the UI prompts whether to charge the headset first. If you select yes, the headset will be charged first, and then the student card battery will be charged after it is fully charged.

[0157] Exemplary, reference Fig. 22 , Fig. 22 The power interaction diagram provided in the embodiment of the present application is as follows: Fig. 22As shown, the system defaults that the student card and the cockpit do not power each other. When and only when the cockpit voltage is detected to be lower than 3.4V, and the charger is not inserted into the student card charging port, the UI prompts whether to give priority to the headset. If yes, the student card battery will charge the headset first, and then power the student card system after it is fully charged.

[0158] It should be noted that Fig. 22 and Fig.23 The charging interaction and power usage interaction shown are for the case where the interface is only Pogo Pin. When the interface is USB or USB and Pogo Pin, adaptive modifications can be made, and this application will not go into details again.

[0159] In an optional implementation manner of the present application, for a split terminal, when the interface is a USB, the USB can also be designed to be a telescopic step-by-step insertion and retraction design. Fig.24 , Fig.24 The terminal split structure provided in the embodiment of the present application is schematically shown Figure 2 ,and Fig.19 The difference is that in this embodiment, the USB is a telescopic stepping insertion and retraction design, and a stepping motor 229 is provided in the earphone assembly 220. Fig.25 , Fig.25 The terminal hardware architecture provided in the embodiment of the present application is shown in FIG. Figure 3 ,like Fig.25 As shown, Fig. 20 The difference between the hardware architecture shown is that a stepper motor is added. The stepper motor can be designed in the student card or in the earphone component. The part where it is located must be designed as a male USB. The student card and earphone component only need to be designed with a male connector and a stepper motor. Fig.26 , Fig.26 The USB insertion and retraction driving process diagram provided in the embodiment of the present application, in order to avoid misoperation, a special key can be designed on the terminal side where the stepper motor is located. When the structure is fixed, press this key to drive the stepper motor to work, and the USB male head will immediately extend and insert into the female head to complete the USB insertion; when you want to disassemble the two terminals, press this key to drive the stepper motor to work, and the USB male head will immediately retract from the female head to its own terminal housing to complete the USB removal. Among them, whether the interface of the student card and the earphone assembly has a POGOPIN is not limited by this application.

[0160] In an optional implementation manner of the present application, the terminal further includes an SOS module, referring to Fig. 27 , Fig. 27 The SOS triggering flow diagram provided in the embodiment of the present application is as follows: Fig. 27As shown, for terminals with an integrated structure, the student card system is powered off due to low power and the headset cockpit has power. At this time, press the SOS button (press and hold for 3-5 seconds to prevent accidental short presses). The system activates the minimum working system of the SOS function through the PMIC, executes the SOS rescue procedure, and sends out corresponding rescue information such as calls, text messages, and location information. For terminals with a split structure, the student card system is powered off due to low power and the headset cockpit has power. At this time, press the SOS button (press and hold for 3-5 seconds to prevent accidental short presses). The system controls the cockpit PMIC to activate the minimum working system of the SOS function through USB signal transmission, executes the SOS rescue procedure, and sends out corresponding rescue information such as calls, text messages, and location information. Reference Fig.28 , Fig.28 This is a schematic diagram of the SOS button provided in an embodiment of the present application, where the SOS button 2191 is set on the student card 210.

[0161] refer to Fig.29 , Fig.29 A schematic diagram of the implementation flow of the control method provided in the embodiment of the present application is shown in FIG. Fig.29 As shown, the method is applied to a control component in a terminal, the terminal further comprising: a student card and an earphone component, the student card being fixedly connected or detachably connected to the earphone component, the method comprising:

[0162] Step 2901: Control the Bluetooth communication between the first Bluetooth module of the student card and the second Bluetooth module of the earphone assembly.

[0163] In an optional implementation manner of the present application, the earphone assembly includes a cockpit and an earphone, the earphone is accommodated in the cockpit, and the cockpit cover supports an open state and a closed state; the method further includes:

[0164] Determining that the student card acquires a first trigger operation, where the first trigger operation is used to trigger the first Bluetooth module of the student card to enter a pairing search state;

[0165] When the cockpit is in an open state and the cockpit has headphones built in, controlling the headphone component to send pairing information to the control component;

[0166] After receiving the pairing information, a first signal is sent to the second Bluetooth module of the headset, where the first signal is used to trigger the second Bluetooth module of the headset to perform Bluetooth pairing with the first Bluetooth module of the student card.

[0167] In an optional implementation manner of the present application, the method further includes:

[0168] When this is not the first time that the student card and the headphone assembly are paired via Bluetooth, when the cockpit is open and the cockpit has headphones built in, the headphone assembly is controlled to send a second signal to the student card; the second signal is used to trigger the first Bluetooth module of the student card to pair with the second Bluetooth module of the headphones via Bluetooth.

[0169] In an optional implementation manner of the present application, the terminal further includes: a first indicator light and a second indicator light; and the method further includes:

[0170] When the first Bluetooth module is in a pairing search state, controlling the first indicator light to display a first light;

[0171] When the cockpit is in an open state, the second indicator light is controlled to display a second light.

[0172] In an optional embodiment of the present application, the terminal further includes a first battery, a second battery, a first charging port and a second charging port, the first charging port is electrically connected to the first battery or the first charging port is electrically connected to the first battery and the second battery respectively, the second charging port is electrically connected to the second battery or the second charging port is electrically connected to the first battery and the second battery respectively; the method further includes:

[0173] Based on the usage frequency of the headset, a first charging mode of the terminal is adjusted.

[0174] In an optional implementation manner of the present application, the first charging mode includes at least one of the following:

[0175] A first independent charging mode, in which the first charging port charges the first battery, and the second charging port charges the second battery;

[0176] A first synchronous charging mode, wherein the first synchronous charging mode is when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the first battery and the second battery;

[0177] A first student card priority charging mode, wherein the first student card priority charging mode is that when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the second battery;

[0178] A first cabin priority charging mode, wherein when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the first battery; and

[0179] The first earphone priority charging mode is that when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the earphone.

[0180] In an optional implementation manner of the present application, the terminal further includes a first battery, a second battery, and a third charging port, and the third charging port is electrically connected to the first battery and the second battery respectively; and the method further includes:

[0181] Based on the usage frequency of the headset, a second charging mode of the terminal is adjusted.

[0182] In an optional implementation manner of the present application, the second charging mode includes at least one of the following:

[0183] a second synchronous charging mode, wherein the second synchronous charging mode is that the third charging port charges the first battery and the second battery;

[0184] A second student card priority charging mode, wherein the second student card priority charging mode is that the third charging port charges the second battery;

[0185] A second cockpit priority charging mode, in which the third charging port charges the first battery; and

[0186] The second earphone priority charging mode is that the third charging port charges the earphone.

[0187] In an optional implementation manner of the present application, the method further includes:

[0188] Determining that the student card obtains a second trigger operation, where the second trigger operation is an operation of selecting a first power usage mode;

[0189] Based on the second trigger operation, the first power usage mode of the terminal is adjusted.

[0190] In an optional implementation manner of the present application, the first power usage mode includes at least one of the following:

[0191] A first independent power mode, in which the first battery supplies power to the earphone assembly, and the second battery supplies power to the student card;

[0192] A first synchronous power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card;

[0193] A first student card priority power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card, and the student card has a higher power priority than the cockpit and the earphone;

[0194] a first cockpit priority power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card, and the power priority of the cockpit is higher than that of the student card and the earphone; and

[0195] The first earphone has a power priority mode, and the cabin has a power priority mode in which the first battery and the second battery jointly power the earphone assembly and the student card, and the earphone has a higher power priority than the student card and the cabin.

[0196] In an optional implementation manner of the present application, the terminal further includes a third battery and a fourth charging port, and the fourth charging port is electrically connected to the third battery; wherein,

[0197] The third battery is used to power the earphone assembly and the student card;

[0198] The control component is further used to adjust the third charging mode of the terminal based on the frequency of use of the headset.

[0199] In an optional implementation manner of the present application, the third charging mode includes at least one of the following:

[0200] A third student card priority charging mode, wherein the third student card priority charging mode is that the third charging port charges the third battery; and

[0201] A third earphone priority charging mode is used, wherein the earphone priority charging mode is that the third charging port charges the earphone.

[0202] In an optional implementation manner of the present application, the present invention further includes:

[0203] Determining that the student card obtains a second trigger operation, where the second trigger operation is an operation of selecting a second power usage mode;

[0204] Based on the second trigger operation, adjust the second power usage mode of the terminal.

[0205] In an optional implementation manner of the present application, the second power usage mode includes at least one of the following:

[0206] A second independent power mode, in which the third battery alone supplies power to the student card or the earphone assembly;

[0207] A second synchronous power mode, wherein the third battery supplies power to the student card and the earphone assembly simultaneously;

[0208] a second student card priority power mode, wherein the third battery supplies power to both the student card and the earphone assembly, and the student card has a higher power priority than the cockpit and the earphone; and

[0209] The second earphone has a priority power usage mode. The second earphone has a priority power usage mode in which the third battery supplies power to the student card and the earphone assembly at the same time. The earphone has a higher power usage priority than the cockpit and the student card.

[0210] In an optional implementation manner of the present application, the terminal further includes at least one of the following electricity meters:

[0211] A first electricity meter, used to detect the electricity level of the cabin;

[0212] A second electricity meter, used to detect the electricity level of the student card;

[0213] The third power meter is used to detect the total power of the two earphones;

[0214] a fourth power meter, used to detect the power level of the left earphone; and

[0215] The fifth power meter is used to detect the power level of the right earphone.

[0216] In an optional implementation manner of the present application, the present invention further includes:

[0217] It is determined that the student card obtains a third trigger operation, and the third trigger operation is used to control the battery of the cockpit to power the student card and send a rescue message when the student card is low on power and shuts down.

[0218] Those skilled in the art should understand that the control method provided in the embodiments of the present application can be understood with reference to the relevant description of the aforementioned terminal.

[0219] Fig.30 It is a schematic structural diagram of an electronic device 3000 provided in an embodiment of the present application. Fig.30 The electronic device 3000 shown includes a processor 3010, and the processor 3010 can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0220] Alternatively, if Fig.30 As shown, the electronic device 3000 may further include a memory 3020. The processor 3010 may call and run a computer program from the memory 3020 to implement the method in the embodiment of the present application.

[0221] The memory 3020 may be a separate device independent of the processor 3010 , or may be integrated into the processor 3010 .

[0222] Alternatively, if Fig.30 As shown, the electronic device 3000 may further include a transceiver 3030, and the processor 3010 may control the transceiver 3030 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.

[0223] The transceiver 3030 may include a transmitter and a receiver. The transceiver 3030 may further include an antenna, and the number of the antennas may be one or more.

[0224] The electronic device 3000 may specifically be a terminal of an embodiment of the present application, and the electronic device 3000 may implement the corresponding processes implemented by the terminal in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0225] Fig.31 It is a schematic structural diagram of the chip of an embodiment of the present application. Fig.31 The chip 3100 shown includes a processor 3110, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0226] Alternatively, if Fig.31 As shown, the chip 3100 may further include a memory 3120. The processor 3110 may call and run a computer program from the memory 3120 to implement the method in the embodiment of the present application.

[0227] The memory 3120 may be a separate device independent of the processor 3110 , or may be integrated into the processor 3110 .

[0228] Optionally, the chip 3100 may further include an input interface 3130. The processor 3110 may control the input interface 3130 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0229] Optionally, the chip 3100 may further include an output interface 3140. The processor 3110 may control the output interface 3140 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0230] The chip can be applied to the terminal in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the terminal in each method of the embodiment of the present application. For the sake of brevity, it will not be repeated here.

[0231] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0232] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0233] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be 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), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0234] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.

[0235] The embodiment of the present application also provides a computer-readable storage medium for storing a computer program. The computer-readable storage medium can be applied to the terminal in the embodiment of the present application, and the computer program enables the computer to execute the corresponding process implemented by the terminal in each method of the embodiment of the present application, which will not be described here for the sake of brevity.

[0236] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0237] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0238] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0239] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0240] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0241] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or terminal, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0242] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A terminal, characterized in that: The terminal comprises: a control component, a student card and an earphone component, wherein the student card is fixedly connected or detachably connected to the earphone component, the student card has a first Bluetooth module, and the earphone component has a second Bluetooth module; wherein The control component is connected to the student card and the earphone component, and is used to control the Bluetooth communication between the first Bluetooth module of the student card and the second Bluetooth module of the earphone component.

2. The terminal according to claim 1, characterized in that: The earphone assembly comprises a cockpit and earphones, the earphones are accommodated in the cockpit, the terminal is an integrated structure, and the student card is fixedly connected to the cockpit.

3. The terminal according to claim 1, characterized in that: The terminal is of a split structure, and the student card is detachably connected to the earphone assembly; The control component includes a first control component and a second control component; the first control component is arranged in the student card, and the second control component is arranged in the earphone component; A first interface is provided on the first control component, and a second interface is provided on the second control component. The first interface and the second interface are detachably connected. The first interface and the second interface are connected when the student card is connected to the earphone component, so as to realize the electrical connection between the first control component and the second control component.

4. The terminal according to any one of claims 1 to 3, characterized in that: The headset assembly includes a cockpit and a headset, the headset is accommodated in the cockpit, and the cockpit cover supports an open state and a closed state; the cockpit has a sensor and a charging terminal; The student card is used to obtain a first trigger operation, where the first trigger operation is used to trigger the first Bluetooth module of the student card to enter a pairing search state; The sensor is used to detect the state of the cabin cover of the cockpit; The charging terminal is used to detect whether headphones are placed in the cabin; The earphone component is used to send pairing information to the control component when the cockpit is in an open state and the cockpit has an earphone built in; The control component is used to send a first signal to the second Bluetooth module of the headset after receiving the pairing information, and the first signal is used to trigger the second Bluetooth module of the headset to perform Bluetooth pairing with the first Bluetooth module of the student card.

5. The terminal according to claim 4, characterized in that: The headphone assembly is also used to send a second signal to the student card when the cockpit is open and the cockpit has headphones built in, when this is not the first time that the student card and the headphone assembly are paired via Bluetooth; the second signal is used to trigger the first Bluetooth module of the student card to pair with the second Bluetooth module of the headphones via Bluetooth.

6. The terminal according to claim 5, characterized in that: The terminal further includes: a first indicator light and a second indicator light; wherein, The first indicator light is used to indicate whether the first Bluetooth module is in a pairing search state; The second indicator light is used to indicate whether the cockpit is in an open state.

7. The terminal according to any one of claims 1 to 3, characterized in that: The terminal further includes a first battery, a second battery, a first charging port and a second charging port, the first charging port is electrically connected to the first battery or the first charging port is electrically connected to the first battery and the second battery respectively, the second charging port is electrically connected to the second battery or the second charging port is electrically connected to the first battery and the second battery respectively; The control component is further used to adjust the first charging mode of the terminal based on the usage frequency of the headset.

8. The terminal according to claim 7, characterized in that: The first charging mode includes at least one of the following: A first independent charging mode, in which the first charging port charges the first battery, and the second charging port charges the second battery; A first synchronous charging mode, wherein the first synchronous charging mode is when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the first battery and the second battery; A first student card priority charging mode, wherein the first student card priority charging mode is that when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the second battery; A first cabin priority charging mode, wherein the first cabin priority charging mode is that when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the first battery; as well as, The first earphone has a priority charging mode. The first earphone charging mode is that when only one of the first charging port and the second charging port is connected to a power source, the charging port connected to the power source charges the earphone.

9. The terminal according to any one of claims 1 to 3, characterized in that: The terminal further includes a first battery, a second battery, and a third charging port, wherein the third charging port is electrically connected to the first battery and the second battery respectively; wherein, The control component is used to adjust the second charging mode of the terminal based on the usage frequency of the headset.

10. The terminal according to claim 9, characterized in that: The second charging mode includes at least one of the following: a second synchronous charging mode, wherein the second synchronous charging mode is that the third charging port charges the first battery and the second battery; A second student card priority charging mode, wherein the second student card priority charging mode is that the third charging port charges the second battery; A second cockpit priority charging mode, wherein the second cockpit priority charging mode is that the third charging port charges the first battery; as well as, The second earphone priority charging mode is that the third charging port charges the earphone.

11. The terminal according to claim 8 or 10, characterized in that: The student card is further used to obtain a second trigger operation, where the second trigger operation is an operation of selecting the first power usage mode; The control component is further used to adjust the first power usage mode of the terminal based on the second trigger operation.

12. The terminal according to claim 11, characterized in that: The first power usage mode includes at least one of the following: A first independent power mode, in which the first battery supplies power to the earphone assembly, and the second battery supplies power to the student card; A first synchronous power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card; A first student card priority power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card, and the student card has a higher power priority than the cockpit and the earphone; A first cockpit priority power mode, in which the first battery and the second battery jointly power the earphone assembly and the student card, and the power priority of the cockpit is higher than that of the student card and the earphone; as well as, The first earphone has a power priority mode, and the cabin has a power priority mode in which the first battery and the second battery jointly power the earphone assembly and the student card, and the earphone has a higher power priority than the student card and the cabin.

13. The terminal according to any one of claims 1 to 3, characterized in that: The terminal further includes a third battery and a fourth charging port, wherein the fourth charging port is electrically connected to the third battery; wherein, The third battery is used to power the earphone assembly and the student card; The control component is further used to adjust the third charging mode of the terminal based on the frequency of use of the headset.

14. The terminal according to claim 13, characterized in that: The third charging mode includes at least one of the following: A third student card priority charging mode, wherein the third student card priority charging mode is that the third charging port charges the third battery; and A third earphone priority charging mode is used, wherein the earphone priority charging mode is that the third charging port charges the earphone.

15. The terminal according to claim 14, characterized in that: The student card is further used to obtain a second trigger operation, where the second trigger operation is an operation of selecting a second power usage mode; The control component is further used to adjust the second power usage mode of the terminal based on the second trigger operation.

16. The terminal according to claim 15, characterized in that: The second power usage mode includes at least one of the following: A second independent power mode, in which the third battery alone supplies power to the student card or the earphone assembly; A second synchronous power mode, wherein the third battery supplies power to the student card and the earphone assembly simultaneously; A second student card priority power mode, wherein the third battery supplies power to both the student card and the earphone assembly, and the student card has a higher power priority than the cockpit and the earphone; as well as, The second earphone has a priority power usage mode. The second earphone has a priority power usage mode in which the third battery supplies power to the student card and the earphone assembly at the same time. The earphone has a higher power usage priority than the cockpit and the student card.

17. The terminal according to claim 12 or 16, characterized in that: The terminal further includes at least one of the following electricity meters: A first electricity meter, used to detect the electricity level of the cabin; A second electricity meter, used to detect the electricity level of the student card; The third power meter is used to detect the total power of the two earphones; a fourth power meter, used to detect the power level of the left earphone; and The fifth power meter is used to detect the power level of the right earphone.

18. The terminal according to claim 12 or 16, characterized in that: The student card is also used to obtain a third trigger operation, and the third trigger operation is used to control the battery of the cabin to power the student card and send out a rescue message through a control component when the student card is low on power and shuts down.

19. A control method, characterized in that: A control component applied to a terminal, the terminal further comprising: a student card and an earphone component, the student card being fixedly connected or detachably connected to the earphone component, the method comprising: Control the Bluetooth communication between the first Bluetooth module of the student card and the second Bluetooth module of the earphone assembly.