TWS earphone system, charging box and control method
By setting up a data transmission circuit in the TWS headphone charging box, migrating and reading data in different scenarios, the contradiction between the versatility of TWS headphones and the increase in size is solved, and a smaller headphone size and better wearing comfort is achieved. .
Patent Information
- Application Number
- CN202411254036.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-13
AI Technical Summary
When the existing TWS headsets pursue versatility, the larger storage device causes the headset to increase in size, affecting the wearing comfort.
By setting up a data transmission circuit in the TWS headphone charging box, data independent of the current scene is stored in the storage device of the charging box in different scenarios, and data required in the current scenario is read into the storage device of the headphone to perform the target Scene configuration processing, thereby reducing the storage space of the headset.
It realizes the reduction of the size of TWS headphones on the basis of satisfying versatility and improves wearing comfort.
Smart Images

Figure CN119136104A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of TWS earphones, and in particular to a TWS earphone system, a charging box and a control method. Background Art
[0002] In today's era of pursuing quality, focusing on convenience and experience, True Wireless Stereo (TWS) headphones have become a very popular electronic product in recent years.
[0003] In the prior art, in order to increase the competitiveness of TWS earphones and realize more personalized functions, TWS earphones need to have larger storage devices to store more algorithms, information, status and other basic data. However, larger storage devices will make the size of TWS earphones larger. When users wear larger TWS earphones, it will put pressure on the user's ears, causing unnecessary discomfort, thereby reducing the user's wearing comfort.
[0004] Therefore, how to reduce the size of TWS headphones while meeting their multi-functions is the problem that needs to be solved at present. Summary of the invention
[0005] The embodiments of the present application provide a TWS earphone system, a charging box, and a control method, which can reduce the size of the TWS earphone while meeting the multi-functions of the TWS earphone.
[0006] In a first aspect, an embodiment of the present application provides a TWS headset system, including:
[0007] At least one TWS headset and a TWS headset charging box;
[0008] The at least one TWS headset comprises: a first processor and a first storage device;
[0009] The TWS earphone charging box includes: a second processor, a second storage device and at least one data transmission circuit;
[0010] The first processor is respectively connected to the first storage device and the corresponding data transmission circuit;
[0011] The second storage device is respectively connected to the second processor and the at least one data transmission circuit;
[0012] The second processor is configured to send a data migration instruction to the corresponding first processor when determining that the at least one TWS headset enters a target scene;
[0013] The first processor is configured to migrate first data stored in the corresponding first storage device to the second storage device based on the data migration instruction, and read second data stored in the second storage device to the first storage device;
[0014] The first processor is also used to perform target scene configuration processing on the corresponding TWS headset based on the second data.
[0015] In a possible implementation manner, the size of the first data is related to the size of the second data;
[0016] When the target scenario is a charging scenario, the second data is a charging configuration parameter;
[0017] The first processor is used to perform charging scene configuration processing on the corresponding TWS headset based on the charging configuration parameters;
[0018] When the target scene is a playback scene, the first data is a charging configuration parameter, and the second data is data that is migrated from the first storage device to the second storage device when entering the charging scene.
[0019] In a possible implementation, the number of the TWS earphones is two, and the number of the data transmission circuit is one;
[0020] The first processors of the two TWS earphones are both connected to one end of the data transmission circuit, and the other end of the data transmission circuit is connected to the second storage device.
[0021] In a second aspect, the present application provides a TWS earphone charging box, comprising:
[0022] A second processor, a second storage device, at least one data transmission circuit and at least one charging compartment;
[0023] The second storage device is respectively connected to the second processor and one end of the at least one data transmission circuit;
[0024] The other end of the at least one data transmission circuit is used to connect to the first processor of the TWS headset placed in the at least one charging compartment;
[0025] The second processor is used to send a data migration instruction to the first processor of the corresponding TWS headset when it is determined that at least one TWS headset enters the target scene, so that the first processor of the TWS headset migrates the first data stored in the corresponding first storage device to the second storage device based on the data migration instruction, and reads the second data stored in the second storage device to the first storage device, and performs target scene configuration processing on the TWS headset based on the second data.
[0026] In a third aspect, the present application provides a TWS headset control method, the method comprising:
[0027] When a data migration instruction sent by the TWS earphone charging box is obtained, the first data stored in the first storage device is migrated to the second storage device of the TWS earphone charging box, wherein the data migration instruction is sent by the TWS earphone charging box when it is determined that the TWS earphone enters the target scene;
[0028] reading the second data stored in the second storage device into the first storage device;
[0029] Based on the second data, the target scene configuration processing is performed on the TWS headset.
[0030] In a possible implementation manner, the size of the first data is related to the size of the second data;
[0031] If the target scene is a charging scene, the second data is a charging configuration parameter;
[0032] The performing the target scene configuration processing on the TWS headset based on the second data includes: performing charging scene configuration processing on the corresponding TWS headset based on the charging configuration parameters;
[0033] If the target scene is a playback scene, the first data is a charging configuration parameter, and the second data is data migrated from the first storage device to the second storage device when entering the charging scene.
[0034] In a possible implementation, migrating the first data stored in the first storage device to the second storage device of the TWS earphone charging box, and reading the second data stored in the second storage device to the first storage device includes:
[0035] Migrating first data stored in a first storage area of the first storage device to a second storage area of the second storage device;
[0036] After the first data migration is completed, the second data in the third storage area of the second storage device is read into the first storage area.
[0037] In a fourth aspect, the present application provides a TWS headset control method, the method comprising:
[0038] When it is determined that at least one TWS headset placed in the charging compartment enters the target scene, a data migration instruction is sent to the at least one TWS headset;
[0039] Receiving first data stored in a first storage device sent by the at least one TWS headset, where the first storage device is a storage device of the corresponding TWS headset;
[0040] When a data read instruction is received from the at least one TWS headset, the second data stored in the second storage device is sent to the at least one TWS headset, where the second storage device is a storage device of the TWS headset charging box.
[0041] In a possible implementation, the target scene includes: a charging scene and a playing scene, and determining that at least one TWS headset placed in the charging compartment enters the target scene includes:
[0042] When it is detected that a TWS headset is placed in at least one charging compartment and the compartment cover of the at least one charging compartment is switched from an open state to a closed state, determining that the TWS headset placed in the at least one charging compartment enters a charging scene;
[0043] When it is detected that a TWS headset is placed in at least one charging compartment and the compartment cover of the at least one charging compartment is switched from a closed state to an open state, it is determined that the TWS headset placed in the at least one charging compartment enters the playback scene.
[0044] In a possible implementation manner, the target scenario is a charging scenario, and when the number of the TWS earphones is two, the sending a data migration instruction to at least one TWS earphone includes:
[0045] Determine the entry time of the two TWS earphones, and determine the sending order of the two TWS earphones according to the two entry times;
[0046] Based on the sending order, sending a data migration instruction to the two TWS headsets;
[0047] or,
[0048] Determine the power levels of the two TWS earphones, and determine the sending order of the two TWS earphones according to the two power levels;
[0049] Based on the sending order, data migration instructions are sent to the two TWS headsets.
[0050] In a possible implementation, the sending of the data migration instruction to the two TWS headsets based on the sending order includes:
[0051] Sending the data migration instruction to the first TWS headset, wherein the sending order of the first TWS headset is earlier than that of the second TWS headset;
[0052] After receiving the migration completion information fed back by the first TWS headset, the data migration instruction is sent to the second TWS headset.
[0053] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the TWS headset control method described in any one of the third aspect or any one of the fourth aspect.
[0054] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the TWS headset control method described in any one of the third aspect or any one of the fourth aspect.
[0055] The TWS earphone system, charging box and control method provided in the embodiments of the present application, by setting a data transmission circuit in the TWS earphone charging box, and based on the data transmission circuit, when entering the corresponding scene, the data unrelated to the current scene is stored in the second storage device of the TWS earphone box, and the data required for the current scene is read into the first storage device of the TWS earphone, and the corresponding target scene configuration processing is performed based on the data required for the current scene; the structure of the TWS earphone system can reduce the storage space of the TWS earphone, thereby achieving the effect of reducing the size of the TWS earphone while meeting the multi-functions of the TWS earphone. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 A schematic diagram of a TWS headset system provided for this application;
[0057] Figure 2 A schematic diagram of the structure of a TWS headset system provided in an embodiment of the present application Figure 1 ;
[0058] Figure 3A A schematic diagram of the structure of a TWS headset system provided in an embodiment of the present application Figure 2 ;
[0059] Figure 3B A structural schematic diagram of a TWS headset system provided in an embodiment of the present application is shown in FIG3;
[0060] Figure 4 A schematic diagram of the structure of a data transmission circuit provided in an embodiment of the present application;
[0061] Figure 5 A schematic diagram of a TWS headset control method provided in an embodiment of the present application Figure 1 ;
[0062] Figure 6 A schematic diagram of a TWS headset control method provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below 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.
[0064] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects, and do not limit their order. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0065] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0066] In today's era of pursuing quality, focusing on convenience and experience, TWS headphones have become a very popular electronic product in recent years.
[0067] Figure 1 This is a schematic diagram of the TWS headset system provided by this application. Figure 1 As shown, the TWS earphone system 1 includes: two TWS earphones 11 and a TWS earphone charging box 12. The TWS earphone charging box 12 is composed of a charging box body 122 and a charging box cover 121 (also referred to as a charging compartment cover). The charging box body 122 is provided with two charging compartments for accommodating the corresponding TWS earphones 11.
[0068] Users can place at least one TWS earphone in the corresponding charging compartment to charge the corresponding TWS earphone, or take out the corresponding TWS earphone from the charging compartment to play music, make calls, and perform Bluetooth activities.
[0069] In the prior art, in order to increase the competitiveness of TWS headphones and realize more personalized functions, TWS headphones need to have a larger storage device to store more basic data such as algorithms, information and status.
[0070] However, a larger storage device will make the size of the TWS earphone larger. When a user wears a larger TWS earphone, it will put pressure on the user's ears, causing unnecessary discomfort, thereby reducing the user's wearing comfort.
[0071] Therefore, how to reduce the size of TWS headphones while meeting their multi-functions is the problem that needs to be solved at present.
[0072] In view of the above problems, the present application provides a TWS headset system and a TWS headset control method, which migrates part of the data stored in the storage device of the TWS headset to the storage device of the TWS headset charging box. When the TWS headset performs a corresponding function, it only needs to store the data corresponding to the function, thereby reducing the storage space of the TWS headset, and further achieving the effect of reducing the size of the TWS headset while meeting the multi-functions of the TWS headset.
[0073] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0074] Below, a TWS headset system provided in an embodiment of the present application is explained.
[0075] Figure 2 A schematic diagram of the structure of a TWS headset system provided in an embodiment of the present application Figure 1 The TWS earphone system provided in this embodiment includes: at least one TWS earphone and a TWS earphone charging box. Figure 2 This article aims to explain the connection between TWS earphones and TWS earphone boxes during data transmission. Figure 2 The TWS earphone described in the description may be any one of at least one TWS earphone.
[0076] like Figure 2As shown, the TWS headset includes: a first storage device 111 and a first processor 112; the TWS headset charging box includes: a second processor 1223, a second storage device 1222 and a data transmission circuit 1221.
[0077] Wherein, the first processor 112 is connected to the first storage device 111 and the data transmission circuit 1221 respectively;
[0078] The second storage device 1222 is connected to the second processor 1223 and the data transmission circuit 1221 respectively.
[0079] It can be understood that when the TWS earphones are placed in the charging compartment of the TWS earphone charging box, the TWS earphones and the TWSS earphone charging box form a data transmission loop through the data transmission circuit.
[0080] In this embodiment, the first storage device 111 can be used to store some basic data such as functional data and configuration parameters on the TWS earphones, and other data is stored in the second storage device 1222 on the TWS earphone box.
[0081] The first processor 112 may be, for example, a processing chip in a TWS headset, used to control the TWS headset to perform various achievable functions.
[0082] The second processor is used to send a data migration instruction to the first processor of the TWS headset when it is determined that the TWS headset enters the target scene.
[0083] Among them, the target scene may include, for example: a charging scene and a playing scene, and the data migration instruction is used to instruct the TWS headset to migrate the data.
[0084] In one possible implementation, when the TWS earphones are placed in the corresponding charging compartment and the compartment cover of the charging compartment is switched from an open state to a closed state, it indicates that the user intends to charge the TWS earphones, and at this time, it is confirmed that the TWS earphones enter the charging scene.
[0085] When the TWS earphones are placed in the corresponding charging case and the lid of the charging case is switched from a closed state to an open state, it indicates that the user has opened the lid of the charging case and intends to use the TWS earphones to play music or make calls. At this time, it is confirmed that the TWS earphones have entered the playback scene.
[0086] The first processor is used to migrate the first data stored in the first storage device to the second storage device based on the received data migration instruction, and to read the second data stored in the second storage device to the first storage device, and to perform target scene configuration processing on the TWS headset based on the read second data.
[0087] Among them, the first data and the second data are both data required for the TWS headset to perform corresponding functions, that is, they are both data needed to be used by the TWS headset itself.
[0088] When the TWS earphones receive the data migration instruction, the TWS earphones need to exchange the first data stored in the first storage device and the second data stored in the second storage device of the TWS earphone charging box, so that the TWS earphones can perform target scene configuration processing based on the read second data.
[0089] It is understandable that the first storage device of the TWS headset usually needs to store functional data for realizing basic functions, playback parameters for music playback, calls and Bluetooth activities, and charging configuration parameters during charging. Among them, the playback parameters may include, for example, the algorithm for playing music, information on Bluetooth activities (Bluetooth protocol), UI information during human-computer interaction, and other data; the charging configuration parameters may include, for example, the charging curve of the headset, the charging power calculation method, high and low temperature charging protection points, and other data.
[0090] When the user uses the TWS headset to play music, make calls or connect to Bluetooth, the TWS headset needs to use the above-mentioned playback parameters. Since the TWS headset will not be charged at this time, the above-mentioned charging configuration parameters are irrelevant to the TWS headset in use.
[0091] When the user places the TWS earphones in the charging compartment of the TWS earphone charging box to charge the TWS earphones, the TWS earphones need to use the above-mentioned charging configuration parameters. Since the user will not use the TWS earphones to play music, make calls, or connect to Bluetooth at this time, the above-mentioned playback parameters are irrelevant to the TWS earphones being charged.
[0092] Since the first storage device stores second data irrelevant to the scene when the TWS earphones are in different scenes, the second data irrelevant to the current scene can be stored in the second storage device of the TWS earphone charging box. When the second data is needed, the second data is read back into the TWS earphones, and based on the second data, the corresponding target scene configuration processing can be performed.
[0093] In a possible implementation manner, the size of the first data is related to the size of the second data.
[0094] It is understandable that the data size of the first data migrated to the second storage device needs to be greater than or equal to the data size of the read second data. This is done to avoid insufficient free storage space of the first storage device during reading.
[0095] It can be understood that the first data can be stored in a first storage area of a first storage device, for example; and the second data can be stored in a third storage area of a second storage device, for example.
[0096] The TWS headset can migrate the first data stored in the first storage area to the second storage area of the second storage device, wherein the second storage area is an idle storage area before the migration.
[0097] After completing the data migration of the first data, the TWS headset reads the corresponding second data from the third storage area of the second storage device to the first storage area of the first storage device.
[0098] The first storage area, the second storage area, and the third storage area may be pre-set, or may be determined by negotiation between the TWS headset and the TWS headset charging box. This application does not limit this.
[0099] In a possible implementation, the scenarios for data transmission when the TWS headset enters the target scene include the following:
[0100] Scenario 1: TWS earphones enter charging scenario.
[0101] Before entering the charging scene, the TWS headset is in the playback scene, that is, the scene in which the user uses the TWS headset to play music, make calls, or connect to Bluetooth. Therefore, when entering the charging scene, the data stored in the first storage device of the TWS headset includes, for example: functional data for realizing basic functions and playback parameters for music playback, calls, and Bluetooth activities; the second data stored in the second storage device of the TWS headset charging box includes: charging configuration parameters for charging.
[0102] It is understandable that when the user puts the TWS earphones into the TWS earphone charging case and switches the lid of the charging case from open to closed, it indicates that the user currently has no need to use the TWS earphones to play music, make calls or connect to Bluetooth. The TWS earphones will not play music or perform Bluetooth activities at this time, but will wait for the TWS earphone charging box to charge itself.
[0103] At this time, the TWS earphones need to use the charging configuration parameters stored in the second storage device of the TWS earphone charging box to perform charging scene configuration processing.
[0104] Based on this, when the TWS earphone charging box determines that the TWS earphone enters the charging scene, the second processor of the TWS earphone charging box will send a data migration instruction to the first processor of the TWS earphone.
[0105] After receiving the data migration instruction sent by the second processor, the first processor of the TWS headset will migrate the playback parameters for music playback, calls, and Bluetooth activities or other basic function data not related to the charging function stored in the first storage device to the second storage device of the TWS headset charging box based on the data migration instruction. At this time, there is free storage space in the first storage device.
[0106] After determining that the data migration is completed, the TWS headset reads the charging configuration parameters for charging stored in the second storage device into the first storage device, and performs charging scene configuration processing based on the charging configuration parameters for subsequent charging.
[0107] It can be understood that in this scenario, the data size of the playback parameters for music playback, calls and Bluetooth activities or other basic function data unrelated to the charging function migrated to the second storage device is greater than or equal to the data size of the read charging configuration parameters.
[0108] Scenario 2: The TWS headset enters the playback scenario.
[0109] Because before entering the playback scene, the TWS headset is in the charging scene, that is, the scene of charging the TWS headset. Therefore, when entering the playback scene, the data stored in the first storage device of the TWS headset includes, for example: functional data for realizing basic functions and charging configuration parameters; the second data stored in the second storage device of the TWS headset charging box includes: when entering the charging scene, the data migrated to the second storage device by the TWS headset, which can be, for example: playback parameters for music playback, calls and Bluetooth activities or functional data of other basic functions unrelated to the charging function.
[0110] It can be understood that when the user switches the lid of the charging compartment from an open state to a closed state, and a TWS headset is placed in the charging compartment, it indicates that the user may currently need to use the TWS headset to play music, make calls, or connect to Bluetooth. At this time, the TWS headset will not continue to charge, but wait for the user to perform Bluetooth activities, play music, or make calls based on the TWS headset.
[0111] Therefore, the TWS earphones need to use the data stored in the second storage device of the TWS earphone charging box to perform playback scene configuration processing when the TWS earphones enter the charging scene.
[0112] Based on this, when the TWS earphone charging box determines that the TWS earphone enters the playback scene, the second processor of the TWS earphone charging box will send a data migration instruction to the first processor of the TWS earphone.
[0113] After receiving the data migration instruction sent by the second processor, the first processor of the TWS headset will migrate the charging configuration parameters stored in the first storage device to the second storage device of the TWS headset charging box based on the data migration instruction. At this time, there is free storage space in the first storage device.
[0114] After confirming that the data migration is completed, the TWS headset re-reads the data stored in the second storage device that was migrated to the second storage device when entering the charging scene into the first storage device, and performs playback scene configuration processing based on the data, so that subsequent users can use the TWS headset to perform Bluetooth activities, play music or make calls, etc.
[0115] A TWS earphone system provided in the present embodiment sets a data transmission circuit in the TWS earphone charging box, and based on the data transmission circuit, when entering the corresponding scene, stores second data unrelated to the current scene in the second storage device of the TWS earphone box, and reads the data required for the current scene into the first storage device of the TWS earphone, and performs corresponding target scene configuration processing based on the data required for the current scene; the structure of the TWS earphone system can reduce the storage space of the TWS earphone, thereby achieving the effect of reducing the size of the TWS earphone while meeting the multi-functions of the TWS earphone.
[0116] In a possible implementation, the number of TWS earphones may be one or two.
[0117] When the number of TWS earphones is two, the number of data transmission circuits in the TWS earphone charging box may be, for example, one or two.
[0118] Figure 3A A schematic diagram of the structure of a TWS headset system provided in an embodiment of the present application Figure 2 .like Figure 3A As shown, the number of data transmission circuits set in the TWS earphone charging box is one.
[0119] Among them, the first processors of the two TWS earphones are connected to one end of the data transmission circuit, and the other end of the data transmission circuit is connected to the second storage device.
[0120] In this structure, if two TWS earphones enter the target scene at the same time, the TWS earphone charging box needs to send data migration instructions to the two TWS earphones in the corresponding sending order, including the following situations:
[0121] The first case: when the TWS earphone charging box determines that there are two TWS earphones entering the target scene, it determines the entry time of the two TWS earphones, and determines the sending order of the two TWS earphones based on the two entry times; and then based on the sending order, sends data migration instructions to the two TWS earphones.
[0122] The warehouse entry time can be represented by, for example, the connection time when the TWS headset forms a data transmission path with the TWS headset charging box based on the data transmission circuit, or can be detected by the sensor of the TWS headset charging box. This application does not limit this.
[0123] The sending order can be determined according to the order of the warehouse entry time, for example: the warehouse entry time of the first TWS headset is time A, and the warehouse entry time of the second TWS headset is time B. If time A is earlier than time B, the order of sending the data migration instruction to the first TWS headset and the second TWS headset is determined as follows: first send the data migration instruction to the first TWS headset, and then send the data migration instruction to the second TWS headset.
[0124] In the second case, the power levels of the two TWS earphones are determined, and based on the power levels of the two TWS earphones, the sending order of the two TWS earphones is determined; and then based on the sending order, data migration instructions are sent to the two TWS earphones.
[0125] Among them, the power capacities of different TWS earphones can be the same or different.
[0126] The sending order can be determined based on the power level, for example: the power level of the first TWS headset is 30%, and the power level of the second TWS headset is 50%. If the power level of the second TWS headset is greater than that of the first TWS headset, the order of sending the data migration instruction to the first TWS headset and the second TWS headset is determined as follows: first send the data migration instruction to the first TWS headset, and then send the data migration instruction to the second TWS headset.
[0127] If the sending order of the first TWS headset is earlier than that of the second TWS headset, a possible implementation method of sending the data migration instruction to the two TWS headsets based on the sending order includes, for example:
[0128] A data migration instruction is sent to the first TWS headset, and after receiving migration completion information fed back by the first TWS headset, the data migration instruction is sent to the second TWS headset.
[0129] The migration completion information is used to indicate that the first data migration is completed.
[0130] After determining that the first data migration is completed, the first TWS earphone will send a migration completion message to the TWS earphone charging box; based on the migration completion message, the TWS earphone charging box will send the data migration instruction to the second TWS earphone.
[0131] Figure 3B This is a structural diagram of a TWS headset system provided in an embodiment of the present application. Figure 3B As shown, there are two data transmission circuits set in the TWS earphone charging box.
[0132] Among them, the first processors of the two TWS earphones are respectively connected to the corresponding data transmission circuits.
[0133] Under this structure, if two TWS earphones enter the target scene at the same time, the TWS earphone charging box can send data migration instructions to the two TWS earphones in a corresponding sending order based on the contents described in the above embodiments, and the specific process parameters are as mentioned above; it can also send data migration instructions to the two TWS earphones at the same time.
[0134] It can be understood that when there are two TWS earphones, the storage areas of the data migrated to the second storage device by the two TWS earphones are different.
[0135] In one possible implementation, Figure 4 This is a schematic diagram of the structure of the data transmission circuit provided in the embodiment of the present application. Figure 4 As shown, the data transmission circuit 1221 includes: a level conversion module 12211, a serial port conversion module 12212 and a read-write module 12213;
[0136] Among them, the level conversion module 12211, the serial port conversion module 12212 and the read-write module 12213 are connected in sequence, one end of the read-write module 12213 is connected to the second storage device 12222, and one end of the level conversion module 12211 is connected to the first processor 112 of the TWS headset;
[0137] A level conversion module, used for converting the level between the first processor and the second storage device;
[0138] A serial port conversion module, used for converting the data migration direction of the data migration circuit;
[0139] The read-write module is used for the first processor of the TWS headset to read and write the second storage space of the TWS headset charging box.
[0140] An embodiment of the present application provides a TWS earphone charging box, which includes: a second processor, a second storage device, at least one data transmission circuit and at least one charging compartment;
[0141] The second storage device is respectively connected to the second processor and one end of at least one data transmission circuit;
[0142] The other end of the at least one data transmission circuit is used to connect to the first processor of the TWS headset placed in the at least one charging compartment;
[0143] The second processor is used to send a data migration instruction to the first processor of the corresponding TWS headset when it is determined that at least one TWS headset enters the target scene, so that the first processor of the TWS headset migrates the first data stored in the corresponding first storage device to the second storage device based on the data migration instruction, reads the second data stored in the second storage device to the first storage device, and performs target scene configuration processing on the TWS headset based on the second data.
[0144] The structure, principle, and technical effect of the TWS earphone charging box provided in the embodiment of the present application are similar to those of the TWS earphone charging box in the TWS earphone system described in the above embodiment, and will not be repeated here.
[0145] Figure 5 A schematic diagram of a TWS headset control method provided in an embodiment of the present application Figure 1 The execution subject of this embodiment may be, for example, a TWS headset in the TWS headset system described in the above embodiment. The TWS headset control method provided in this embodiment includes:
[0146] S501. When a data migration instruction sent by the TWS earphone charging box is obtained, migrate the first data stored in the first storage device to the second storage device of the TWS earphone charging box;
[0147] S502, reading the second data stored in the second storage device into the first storage device;
[0148] S503: Based on the second data, perform the target scene configuration processing on the TWS headset.
[0149] The implementation principle and technical effect of the TWS headset control method provided in the embodiment of the present application are similar to those in the above embodiment and will not be repeated here.
[0150] Figure 6 A schematic diagram of a TWS headset control method provided in an embodiment of the present application Figure 2 The execution subject of this embodiment may be, for example, the TWS headset charging box described in the above embodiment. The TWS headset control method provided in this embodiment includes:
[0151] S601. When it is determined that at least one TWS headset placed in the charging compartment enters a target scene, send a data migration instruction to at least one TWS headset;
[0152] S602, receiving first data stored in a first storage device and sent by the at least one TWS headset;
[0153] S603: Upon receiving a data read instruction sent by the at least one TWS headset, send the second data stored in the second storage device to the at least one TWS headset.
[0154] The implementation principle and technical effect of the TWS headset control method provided in the embodiment of the present application are similar to those in the above embodiment and will not be repeated here.
[0155] A computer-readable storage medium is also provided in an embodiment of the present application, on which a computer program is stored. When the computer program is executed by a processor, the technical solution of the above-mentioned TWS headset control method embodiment is implemented. The implementation principle and technical effect are similar and will not be repeated here.
[0156] In one possible implementation, a computer-readable medium may include a random access memory (RAM), a read-only memory (ROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage device, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of the medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVDs), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0157] A computer program product is also provided in an embodiment of the present application, including a computer program. When the computer program is executed by a processor, the technical solution of the above-mentioned electronic device control method embodiment is implemented. The implementation principle and technical effect are similar and will not be repeated here.
[0158] In the specific implementation of the above-mentioned terminal device or server, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0159] Those skilled in the art will appreciate that all or part of the steps of any of the above method embodiments may be completed by hardware associated with program instructions. The aforementioned program may be stored in a computer-readable storage medium, and when the program is executed, all or part of the steps of the above method embodiments are executed.
[0160] If the technical solution of the present application is implemented in the form of software and sold or used as a product, it can be stored in a computer-readable storage medium. Based on such an understanding, all or part of the technical solution of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a computer program or several instructions. The computer software product enables a computer device (which can be a personal computer, a server, a network device, or a similar electronic device) to perform all or part of the steps of the method described in the embodiment of the present application.
[0161] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0162] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0163] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0164] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0165] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0166] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0167] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0168] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A TWS headset system, characterized in that: The TWS earphone system includes: at least one TWS earphone and a TWS earphone charging box; The at least one TWS headset comprises: a first processor and a first storage device; The TWS earphone charging box includes: a second processor, a second storage device and at least one data transmission circuit; The first processor is respectively connected to the first storage device and the corresponding data transmission circuit; The second storage device is respectively connected to the second processor and the at least one data transmission circuit; The second processor is configured to send a data migration instruction to the corresponding first processor when determining that the at least one TWS headset enters a target scene; The first processor is configured to migrate first data stored in the corresponding first storage device to the second storage device based on the data migration instruction, and read second data stored in the second storage device to the first storage device; The first processor is also used to perform target scene configuration processing on the corresponding TWS headset based on the second data.
2. The TWS headset system according to claim 1, characterized in that: The size of the first data is related to the size of the second data; When the target scene is a charging scene, the second data is a charging configuration parameter; The first processor is used to perform charging scene configuration processing on the corresponding TWS headset based on the charging configuration parameters; When the target scene is a playback scene, the first data is a charging configuration parameter, and the second data is data that is migrated from the first storage device to the second storage device when entering the charging scene.
3. The TWS headset system according to claim 1, characterized in that: The number of the TWS earphones is two, and the number of the data transmission circuit is one; The first processors of the two TWS earphones are connected to one end of the data transmission circuit, and the other end of the data transmission circuit is connected to the second storage device.
4. A TWS earphone charging box, characterized in that: include: A second processor, a second storage device, at least one data transmission circuit and at least one charging compartment; The second storage device is connected to the second processor and one end of the at least one data transmission circuit respectively; The other end of the at least one data transmission circuit is used to connect to the first processor of the TWS headset placed in the at least one charging compartment; The second processor is used to send a data migration instruction to the first processor of the corresponding TWS headset when it is determined that at least one TWS headset enters the target scene, so that the first processor of the TWS headset migrates the first data stored in the corresponding first storage device to the second storage device based on the data migration instruction, and reads the second data stored in the second storage device to the first storage device, and performs target scene configuration processing on the TWS headset based on the second data.
5. A TWS headset control method, characterized in that: The method comprises: When a data migration instruction sent by the TWS earphone charging box is obtained, the first data stored in the first storage device is migrated to the second storage device of the TWS earphone charging box, wherein the data migration instruction is sent by the TWS earphone charging box when it is determined that the TWS earphone enters the target scene; reading the second data stored in the second storage device into the first storage device; Based on the second data, the target scene configuration processing is performed on the TWS headset.
6. The method according to claim 4, characterized in that The size of the first data is related to the size of the second data; If the target scene is a charging scene, the second data is a charging configuration parameter; The performing the target scene configuration processing on the TWS headset based on the second data includes: performing the charging scene configuration processing on the corresponding TWS headset based on the charging configuration parameters; If the target scene is a playback scene, the first data is a charging configuration parameter, and the second data is data migrated from the first storage device to the second storage device when entering the charging scene.
7. The method according to claim 5, characterized in that The step of migrating the first data stored in the first storage device to the second storage device of the TWS earphone charging box, and reading the second data stored in the second storage device to the first storage device includes: Migrating first data stored in a first storage area of the first storage device to a second storage area of the second storage device; After the first data migration is completed, the second data in the third storage area of the second storage device is read into the first storage area.
8. A TWS headset control method, characterized in that: The method comprises: When it is determined that at least one TWS headset placed in the charging compartment enters the target scene, a data migration instruction is sent to the at least one TWS headset; Receiving first data stored in a first storage device sent by the at least one TWS headset, where the first storage device is a storage device of the corresponding TWS headset; When a data read instruction is received from the at least one TWS headset, the second data stored in the second storage device is sent to the at least one TWS headset, where the second storage device is a storage device of the TWS headset charging box.
9. The method according to claim 8, characterized in that The target scene includes: a charging scene and a playing scene, and determining that at least one TWS headset placed in the charging compartment enters the target scene includes: When it is detected that a TWS headset is placed in at least one charging compartment and the compartment cover of the at least one charging compartment is switched from an open state to a closed state, determining that the TWS headset placed in the at least one charging compartment enters a charging scene; When it is detected that a TWS headset is placed in at least one charging compartment and the compartment cover of the at least one charging compartment is switched from a closed state to an open state, it is determined that the TWS headset placed in the at least one charging compartment enters the playback scene.
10. The method according to claim 9, characterized in that The target scenario is a charging scenario. When the number of the TWS earphones is two, sending a data migration instruction to at least one TWS earphone includes: Determine the entry time of the two TWS earphones, and determine the sending order of the two TWS earphones according to the two entry times; Based on the sending order, sending a data migration instruction to the two TWS headsets; or, Determine the power levels of the two TWS earphones, and determine the sending order of the two TWS earphones according to the two power levels; Based on the sending order, data migration instructions are sent to the two TWS headsets.
11. The method according to claim 10, characterized in that The sending of data migration instructions to the two TWS earphones based on the sending order includes: Sending the data migration instruction to the first TWS headset, wherein the sending order of the first TWS headset is earlier than that of the second TWS headset; After receiving the migration completion information fed back by the first TWS headset, the data migration instruction is sent to the second TWS headset.
12. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is executed by a processor to implement the TWS headset control method according to any one of claims 5-7 or claims 8-11.
