Earphone networking method, bluetooth earphone, storage medium and program product
By broadcasting encrypted content through the main earphone, the data can be directly decrypted from the secondary earphone, solving the problem of low data communication efficiency between TWS earphones and improving data interaction efficiency and convenience.
Patent Information
- Application Number
- CN202510686438.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2026-11-27
AI Technical Summary
In existing TWS earbuds, the efficiency and convenience of the slave earbud in obtaining communication data when establishing a communication link with the master earbud are low, which affects the user experience.
The main earpiece broadcasts encrypted content, which is received and decrypted by the earpiece to achieve data transmission with the main earpiece, reducing the connection overhead between the earpiece and the main earpiece.
It improves the efficiency and convenience of obtaining interactive data from the first communication link through the headphones, thereby enhancing the user experience.
Smart Images

Figure CN123185698A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of wireless communication, and in particular to a method for networking headphones, Bluetooth headphones, storage media, and software products. Background Technology
[0002] True Wireless Stereo (TWS) earbuds communicate via a master-slave connection. In this connection, the master earbud communicates with the electronic device (e.g., a mobile phone) and sends communication data to the slave earbud. To ensure communication security, the master earbud authenticates itself when establishing a connection with the phone. Similarly, the slave earbud also authenticates itself before obtaining link information between the master earbud and the phone, preventing unauthorized devices from accessing sensitive information.
[0003] While this communication method ensures communication security, it does not improve the efficiency and convenience of obtaining communication data from the headset. Summary of the Invention
[0004] To overcome the problems in related technologies, this disclosure provides a headphone networking method, a Bluetooth headphone, a storage medium, and a program product. The headphone receives broadcast signals to achieve data transmission with the main headphone, which can save the connection overhead with the main headphone, thereby improving the efficiency and convenience of obtaining interactive data from the first communication link from the headphone.
[0005] According to a first aspect of the present disclosure, a method for networking headphones is provided, comprising:
[0006] In response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content; wherein, the first encrypted content is obtained by encrypting the link information of the first communication link by the main earpiece;
[0007] In response to the Bluetooth headset receiving a broadcast signal, the slave headset decrypts the broadcast signal based on a key to obtain the link information.
[0008] The method provided by the embodiments of this disclosure can save the connection overhead between the earphone and the main earphone, thereby improving the efficiency and convenience of obtaining interactive data of the first communication link from the earphone.
[0009] In some embodiments, the method further includes:
[0010] In response to the fact that the key is not stored in the slave earphone, the slave earphone sends a first request to the master earphone; wherein the first request is used to instruct the master earphone to establish a second communication link with the slave earphone; the transmission rate of the second communication link is less than the transmission rate of the first communication link;
[0011] In response to establishing the second communication link, the master earphone sends the key to the slave earphone.
[0012] The method provided by the embodiments of this disclosure improves the efficiency of obtaining keys.
[0013] In some embodiments, in response to establishing the second communication link, the master earpiece sending the key to the slave earpiece includes:
[0014] In response to establishing the second communication link, the master earphone sends a second request to the slave earphone; wherein the second request is used to instruct the slave earphone to establish a third communication link with the master earphone;
[0015] In response to establishing the third communication link, the master earphone sends a first service list to the slave earphone based on the third communication link; wherein the first service list is used to indicate the functions and data types supported by the master earphone;
[0016] The method further includes:
[0017] The key is obtained from the headset based on the first service list.
[0018] The method provided by the embodiments of this disclosure improves the security of obtaining the key.
[0019] In some embodiments, in response to establishing the second communication link, the master earphone sends a second request to the slave earphone, including:
[0020] In response to establishing the second communication link, the master earpiece sends a third request to the slave earpiece; wherein the third request is used to instruct the slave earpiece to send its second service list;
[0021] In response to the master earpiece receiving the second service list sent by the slave earpiece, the master earpiece sends a preset instruction to the slave earpiece based on the second service list;
[0022] In response to the execution of the preset command by the slave earphone, the master earphone and the slave earphone establish the third communication link.
[0023] The method provided by the embodiments of this disclosure improves the security of obtaining the key.
[0024] In some embodiments, obtaining the key from the headset based on the first service list includes:
[0025] If the slave earphone fails to acquire the key within a preset time period, the slave earphone sends a fourth request to the master earphone; wherein, the fourth request is used to instruct the master earphone to send a prompt message;
[0026] In response to receiving the prompt message from the headset, the key is determined from the first service list based on the key identifier indicated in the prompt message.
[0027] The method provided by the embodiments of this disclosure improves the efficiency of obtaining keys.
[0028] In some embodiments, the method further includes:
[0029] In response to obtaining the link information from the earphone, a listening event is triggered on the earphone; wherein the listening event is used to listen to the interaction data on the first communication link;
[0030] In response to the second encrypted content being detected by the earphone based on the monitoring event, the second encrypted content is decrypted based on the link key in the link information to obtain the target data.
[0031] The method provided in this disclosure improves the communication quality between electronic devices and TWS earphones, thereby enhancing the user experience.
[0032] In some embodiments, in response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content, including:
[0033] In response to establishing the first communication link, the main earphone encrypts the link information of the first communication link based on a pre-configured first encryption mechanism and the key to obtain the first encrypted content, and broadcasts the first encrypted content.
[0034] In response to the Bluetooth headset receiving a broadcast signal, the slave headset decrypts the broadcast signal based on a key to obtain the link information, including:
[0035] In response to receiving a broadcast signal from the earpiece, the earpiece decrypts the broadcast signal based on a pre-configured first decryption mechanism and the key to obtain the link information;
[0036] The first encryption mechanism corresponds to the first decryption mechanism.
[0037] The method provided in this disclosure improves the efficiency of interaction between the master and slave earphones.
[0038] According to a second aspect of the present disclosure, a Bluetooth headset is provided, comprising:
[0039] A master earpiece and a slave earpiece, wherein the master earpiece includes a broadcast module and the slave earpiece includes a decryption module;
[0040] The broadcast module is configured to broadcast first encrypted content in response to the establishment of a first communication link between the main earphone and the electronic device; wherein the first encrypted content is obtained by encrypting the link information of the first communication link by the main earphone;
[0041] The decryption module is configured to, in response to receiving a broadcast signal from the earphone, decrypt the broadcast signal based on a key to obtain the link information.
[0042] In some embodiments, the earphone further includes:
[0043] A key request module is configured to send a first request to the master earpiece in response to the slave earpiece not storing the key; wherein the first request is used to instruct the master earpiece to establish a second communication link with the slave earpiece; the transmission rate of the second communication link is less than the transmission rate of the first communication link;
[0044] The main earphone also includes:
[0045] A key sending module is configured to send the key to the earpiece in response to the establishment of the second communication link.
[0046] In some embodiments, the key sending module is specifically configured as follows:
[0047] In response to establishing the second communication link, a second request is sent to the slave earphone; wherein the second request is used to instruct the slave earphone to establish a third communication link with the master earphone;
[0048] In response to establishing the third communication link, a first service list is sent to the slave earphone based on the third communication link; wherein the first service list is used to indicate the functions and data types supported by the master earphone;
[0049] The earphone also includes:
[0050] The key acquisition module is configured to acquire the key based on the first service list.
[0051] In some embodiments, the key sending module is further configured to:
[0052] In response to establishing the second communication link, a third request is sent to the slave headset; wherein the third request is used to instruct the slave headset to send the slave headset's second service list;
[0053] In response to the main earphone receiving the second service list sent by the slave earphone, a preset instruction is sent to the slave earphone based on the second service list;
[0054] In response to the execution of the preset command by the slave earphone, the third communication link is established with the slave earphone.
[0055] In some embodiments, the key acquisition module is specifically configured as follows:
[0056] In response to the fact that the secondary earphone fails to obtain the key within a preset time period, a fourth request is sent to the primary earphone; wherein, the fourth request is used to instruct the primary earphone to send a prompt message;
[0057] In response to receiving the prompt message from the headset, the key is determined from the first service list based on the key identifier indicated in the prompt message.
[0058] In some embodiments, the earphone further includes:
[0059] A monitoring module is configured to trigger a monitoring event on the earpiece in response to receiving the link information from the earpiece; wherein the monitoring event is used to monitor interactive data on the first communication link;
[0060] The data decryption module is configured to, in response to the second encrypted content being detected by the earphone based on the monitoring event, decrypt the second encrypted content based on the link key in the link information to obtain the target data.
[0061] In some embodiments, the broadcast module is specifically configured as follows:
[0062] In response to establishing the first communication link, the link information of the first communication link is encrypted based on a pre-configured first encryption mechanism and the key to obtain the first encrypted content, and the first encrypted content is broadcast.
[0063] The decryption module is specifically configured as follows:
[0064] In response to receiving a broadcast signal from the earphone, the broadcast signal is decrypted based on a pre-configured first decryption mechanism and the key to obtain the link information;
[0065] The first encryption mechanism corresponds to the first decryption mechanism.
[0066] According to a third aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, comprising:
[0067] When the computer program or instructions in the storage medium are executed by the processor, the steps in any of the headphone networking methods in the first aspect described above are implemented.
[0068] According to a fourth aspect of the present disclosure, a computer program product is provided, including a computer program or instructions, which, when executed by a processor, implement the steps of any of the headphone networking methods in the first aspect described above.
[0069] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0070] Whenever the main earphone establishes a first communication link with an electronic device, the secondary earphone does not obtain the link information of the first communication link after establishing a communication link with the main earphone. Instead, it achieves data transmission with the main earphone by receiving broadcast signals, thereby saving the connection overhead with the main earphone and improving the efficiency and convenience of the secondary earphone in obtaining interactive data of the first communication link.
[0071] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0072] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0073] Figure 1 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 1 .
[0074] Figure 2 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 2 .
[0075] Figure 3 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 3 .
[0076] Figure 4 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 4 .
[0077] Figure 5 This is a frame diagram of an earphone according to an exemplary embodiment. Detailed Implementation
[0078] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0079] Figure 1 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the headphone networking method mainly includes the following steps:
[0080] In step 101, in response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content; wherein, the first encrypted content is obtained by encrypting the link information of the first communication link by the main earpiece; in step 102, in response to the receiving of the broadcast signal by the slave earpiece of the Bluetooth headset, the slave earpiece decrypts the broadcast signal based on the key to obtain the link information.
[0081] It should be noted that the headphone networking method proposed in this disclosure can be applied to Bluetooth headphones. Here, Bluetooth headphones can include one or more of the following: in-ear Bluetooth headphones, semi-in-ear Bluetooth headphones, over-ear Bluetooth headphones, bone conduction Bluetooth headphones, clip-on Bluetooth headphones, or open-back Bluetooth headphones.
[0082] Here, the electronic device can be a mobile terminal or a fixed terminal. Mobile terminals can include devices such as mobile phones, tablets, laptops, and wearable electronic devices. Fixed terminals can include desktop computers, smart TVs, and in-vehicle systems.
[0083] In some embodiments, when the main earphone establishes a first communication link with the electronic device, the main earphone receives control commands from the electronic device (such as play, pause, volume adjustment, or switching tracks) through the first communication link. At the same time, by triggering relevant operations on the main earphone, the control commands can also be sent to the electronic device through the first communication link, thereby realizing two-way interaction.
[0084] Considering that whenever the main earphone establishes a first communication link with the electronic device, the secondary earphone can only obtain the link information of the first communication link after establishing a communication link with the main earphone, this increases the connection overhead with the main earphone, thereby reducing the efficiency of the secondary earphone in obtaining link information.
[0085] In this embodiment, when the main earphone establishes a first communication link with the electronic device, the main earphone encrypts the link information of the first communication link to obtain first encrypted content, and transmits the first encrypted content via broadcast. When the receiver earphone receives the broadcast signal, it decrypts the first encrypted content in the broadcast signal based on a key to obtain the link information of the first communication link. Thus, the receiver earphone can obtain the link information without authenticating with the main earphone, thereby saving connection overhead with the main earphone and improving the efficiency of obtaining link information.
[0086] Here, the first communication link can be either a base rate (BR) link or an enhanced data rate (EDR) link. The first communication link can include Bluetooth, Near Field Communication (NFC), or Ultra Wide Band (UWB) links, etc.
[0087] In some embodiments, Bluetooth Low Energy (BLE), as a short-range wireless communication technology, is widely used in smart homes, wearable consumer electronics, and the Internet of Things (IoT) due to its low power consumption and low cost. True wireless stereo (TWS) technology can continue to develop based on Bluetooth communication technology and is widely used in portable headphones. Taking a Bluetooth communication link as an example, when the TWS earbuds are in discoverable mode, they broadcast presence information via Bluetooth. Electronic devices can scan to obtain the broadcast signal, discover the TWS earbuds, and display them. When a user selects to pair with the TWS earbuds, the electronic device and the TWS earbuds exchange identity information (such as a PIN code) through a security mechanism and generate temporary keys (such as IK_RAND and BD_ADDR). After successful authentication and exchange of temporary keys, a Bluetooth communication link is established between the electronic device and the TWS earbuds.
[0088] In other embodiments, UWB technology provides high-precision, low-latency wireless connectivity through centimeter-level positioning and spatial awareness capabilities, and is widely used in device positioning, secure payments, and IoT scenarios. Taking a UWB communication link as an example, the main earphone broadcasts a detection signal via the UWB band, and the electronic device listens for and receives the broadcast signal. After receiving the broadcast signal, the electronic device returns a response pulse containing a timestamp. When the electronic device and the main earphone are paired, identity is verified through a pre-shared key (PSK) or public key infrastructure (PKI), and key exchange is performed to establish a UWB communication link between the electronic device and the TWS main earphone.
[0089] In this embodiment of the disclosure, the data structure of the broadcast signal includes a header and a payload. The header stores: identification information, such as the ID of the main headset; and metadata, such as the urgency level of the broadcast. The payload stores: data content, such as the first encrypted information that actually needs to be transmitted; and a timestamp, such as recording the time the broadcast was sent, to facilitate synchronization or verification by the receiver.
[0090] In some embodiments, Bluetooth 5.4 introduces Encrypted Advertising Data (EAD) to enhance communication security and efficiency. EAD encapsulates all AD fields to be encrypted by adding a new AD type called Encrypted Advertising Data (type 0x31), thus allowing encryption of all or part of the payload of a given broadcast data packet. For example, the first encrypted content can be encapsulated in AD1-3, while unencrypted information can be encapsulated in AD4 and AD5.
[0091] Here, the key can include symmetric keys and asymmetric keys. A symmetric key is one that uses the same key for both encryption and decryption. An asymmetric key is one that uses a pair of keys, namely a public key and a private key, with the public key used for encryption and the private key used for decryption. This disclosure does not limit the type of key.
[0092] In some embodiments, a key can be pre-stored in the earphone before it leaves the factory. For example, the key is sent to the earphone's chip and written to a designated storage area within the chip via communication between the programming software and the programmer. Another example is that the key is embedded in the earphone's firmware, and then the firmware containing the key is programmed into the earphone via a firmware update. Here, after programming is complete, the earphone can also be verified to ensure that the key has been correctly programmed and that the earphone can perform decryption operations based on the key, thereby improving the earphone's reliability.
[0093] In other embodiments, a key can be stored upon activation from the headset. For example, the headset supports interaction with the cloud; in response to an activation event, the headset sends identification information to the cloud to retrieve and store a key from the cloud.
[0094] In some embodiments, the key serves as a parameter for reconstructing link information during decryption. The first decryption mechanism defines how to restore the first encrypted content to link information based on the key. Therefore, to ensure that the slave earpiece can parse the encrypted broadcast data, the first decryption mechanism can be pre-stored within the slave earpiece. The first encrypted content is encrypted by the master earpiece based on the configured first encryption mechanism and key. Therefore, the first decryption mechanism can be matched with the first encryption mechanism, enabling the slave earpiece to successfully decrypt the broadcast signal based on the first decryption mechanism and key.
[0095] In some embodiments, considering that the main earphone and the slave earphone store multiple encryption and decryption mechanisms, in order to improve the accuracy of decryption by the slave earphone, when the main earphone encrypts and obtains the first encrypted content, the first encrypted content and the identifier of the first encryption mechanism can be broadcast as broadcast data. This allows the slave earphone to select the first decryption mechanism that matches the first encryption mechanism from the multiple stored decryption mechanisms when parsing the broadcast signal, based on the identifier of the first encryption mechanism, to decrypt the first encrypted content in the broadcast signal and obtain the link information.
[0096] Here, the link information refers to the relevant information of the first communication link. This link information may include: a link key, a clock offset, a channel map, or an access address. The link key is used to encrypt the interaction data between the electronic device and the master headset. The link key length can be 128 bits (16 bytes), 192 bits (24 bytes), or 256 bits (32 bytes), etc. The clock offset describes the difference between the clock of the electronic device and the clock of the slave headset. The channel map is used to dynamically select and switch channels to improve the communication quality between the electronic device and the master headset. The access address identifies a specific physical channel, ensuring that the electronic device and the master headset communicate on the same channel.
[0097] It should be noted that when the main earphone and the electronic device complete pairing, a link key is generated based on the encryption algorithm indicated by the communication protocol, thereby ensuring the security of the interactive data of the first communication link. For example, when each Bluetooth device (such as a mobile phone or the main earphone) is powered on for the first time, a device key KA is generated using the E21 algorithm based on a 128-bit random number (RAND) and a 48-bit Bluetooth device address (BD_ADDR), thus obtaining the link key. As another example, when two Bluetooth devices (such as a mobile phone and the main earphone) need to share a key, they each generate random numbers LK_RANDA and LK_RANDB, and combine them with KA and BD_ADDR to calculate KAB using the E21 algorithm, which also yields the link key.
[0098] In some embodiments, when the link key is obtained, the link key, encryption offset (COF), and random number (EN_RAND) can be used as inputs to the E3 algorithm of the Bluetooth protocol to generate an encryption key to encrypt the interactive data of the Bluetooth communication link, thereby significantly improving the security of the interactive data.
[0099] In some embodiments, when the slave earpiece receives link information, it can adjust its local clock according to the clock offset in the link information to synchronize the clocks of the slave earpiece with those of the master earpiece and the electronic device; it can also parse the interactive data on the first communication link according to the link key in the link information; and it can dynamically select and switch channels according to the channel diagram in the link information to improve the communication quality of the electronic device, the master earpiece, and the slave earpiece.
[0100] In some embodiments, in order to improve the efficiency of acquiring interactive data, a listening event can be triggered when link information is obtained from the headphones; wherein the listening event is used to listen to interactive data on the first communication link.
[0101] In this embodiment of the disclosure, whenever the main earphone establishes a first communication link with the electronic device, the secondary earphone does not obtain the link information of the first communication link after establishing a communication link with the main earphone. Instead, it realizes data transmission with the main earphone by receiving broadcast signals, so as to save the connection overhead with the main earphone and thereby improve the efficiency and convenience of the secondary earphone in obtaining the interactive data of the first communication link.
[0102] Figure 2 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 2 ,like Figure 2 As shown, the headphone networking method mainly includes the following steps:
[0103] In step 201, in response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content; wherein, the first encrypted content is obtained by encrypting the link information of the first communication link by the main earpiece;
[0104] In step 202, in response to receiving a broadcast signal from the earpiece and finding that no key is stored in the earpiece, the earpiece sends a first request to the master earpiece; wherein the first request is used to instruct the master earpiece to establish a second communication link with the earpiece; the transmission rate of the second communication link is less than the transmission rate of the first communication link;
[0105] In step 203, in response to establishing a second communication link, the master earpiece sends the key to the slave earpiece;
[0106] In step 204, the broadcast signal is decrypted from the earphone using a key to obtain the link information.
[0107] It should be noted that when the slave earphone receives a broadcast signal, it parses the broadcast signal to determine the sender of the broadcast signal (i.e., the master earphone). If the slave earphone determines that it has not stored a key, it can send a first request to the master earphone, enabling the master earphone to send the key based on the second communication link. This saves connection overhead between the slave earphone and the master earphone in the event that the master earphone re-establishes the first communication link with the electronic device or establishes a third communication link with other electronic devices, thereby improving the efficiency and convenience of obtaining interactive data.
[0108] Here, the second communication link may include a Bluetooth communication link, a near-field communication link, or an ultra-wideband communication link, etc.
[0109] In this embodiment of the disclosure, considering that the distance between the main earphone and the slave earphone is relatively short, and the amount of data transmitted between the main earphone and the slave earphone is relatively small, while the amount of data transmitted between the main earphone and the electronic device is relatively large, the transmission rate of the second communication link can be less than the transmission rate of the first communication link, so that the power consumption of the second communication link is less than the power consumption of the first communication link, thereby reducing the power consumption of the Bluetooth earphone and improving the user experience.
[0110] For example, the electronic device and the main earphone establish a Classic Bluetooth connection based on the method specified by the Bluetooth protocol, thus obtaining the first communication link; the main earphone and the slave earphone establish a BLE connection according to the method specified by the Bluetooth protocol, thus obtaining the second communication link.
[0111] Understandably, the process of establishing the second communication link may include: the earpiece broadcasting the first signal; the master earpiece sending a pairing request to the slave earpiece when it scans the broadcast signal; the slave earpiece receiving the pairing request and exchanging keys (such as PIN code or PSK) with the master earpiece; and the slave earpiece negotiating communication parameters (such as channel and baud rate) with the master earpiece to establish a logical link (Asynchronous Connection-Less, ACL).
[0112] In some embodiments, when the main earpiece establishes a first communication link with the mobile phone, it encrypts the link information of the first communication link based on a pre-configured first encryption mechanism to obtain first encrypted content; and broadcasts the first encrypted content. When the slave earpiece receives the first broadcast signal, it parses the first broadcast signal to determine the sender of the first broadcast signal (i.e., the main earpiece); if the slave earpiece determines that it has not stored a key, it sends a first request to the main earpiece to instruct the main earpiece to establish a second communication link; and if the second communication link is established, the slave earpiece receives the key sent by the main earpiece and stores the key. When the main earpiece disconnects the first communication link and establishes a third communication link with the computer, it encrypts the link information of the third communication link based on the first encryption mechanism to obtain third encrypted content; and broadcasts the third encrypted content. When the slave earpiece receives the second broadcast signal, it decrypts the third encrypted content in the second broadcast signal based on a pre-stored first decryption mechanism and key to obtain the link information of the third communication link, thereby improving the efficiency of obtaining the link information of the third communication link.
[0113] In some embodiments, when a key is obtained, the secondary earpiece can disconnect the second communication link, reducing the occurrence of invalid wireless channel occupation and reducing the power consumption of the primary and secondary earpieces, thereby extending the usage time of the primary and secondary earpieces and improving the user experience.
[0114] In this embodiment, if the slave earpiece does not store a key, it can first establish a second communication link with the master earpiece and then obtain the key from the master earpiece. Thus, when the master earpiece subsequently re-establishes a communication link with the electronic device, the slave earpiece can transmit data with the master earpiece by receiving broadcast signals, saving connection overhead with the master earpiece and improving the efficiency and convenience of obtaining interactive data.
[0115] Figure 3 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 3 ,like Figure 3 As shown, the headphone networking method mainly includes the following steps:
[0116] In step 301, in response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content; wherein, the first encrypted content is obtained by encrypting the link information of the first communication link by the main earpiece;
[0117] In step 302, in response to receiving a broadcast signal from the earpiece and finding that no key is stored in the earpiece, the earpiece sends a first request to the master earpiece; wherein the first request is used to instruct the master earpiece to establish a second communication link with the earpiece; the transmission rate of the second communication link is less than the transmission rate of the first communication link;
[0118] In step 303, in response to establishing a second communication link, the master earphone sends a second request to the slave earphone; wherein the second request is used to instruct the slave earphone to establish a third communication link with the master earphone;
[0119] In step 304, in response to establishing a third communication link, the master headset sends a first service list to the slave headset based on the third communication link; wherein, the first service list is used to indicate the functions and data types supported by the master headset;
[0120] In step 305, a key is obtained from the headset based on the first service list, and the broadcast signal is decrypted based on the key to obtain link information.
[0121] In some embodiments, when sending a key via Bluetooth Low Energy connection, there is a risk of key leakage if the key is not encrypted; if the master earphone encrypts the key based on a preset key, the slave earphone still needs to obtain the preset key from the master earphone, thereby increasing the number of interactions between the slave earphone and the master earphone and reducing the efficiency of obtaining the key.
[0122] In this embodiment of the disclosure, considering the security and efficiency of the transmission key, when a second communication link is established, the earphone can send a second request to the main earphone to establish a third communication link, so as to obtain the first service list based on the third communication link and further obtain the key.
[0123] Here, the first service list indicates the functions and data types supported by the master headset. The third communication link supports the slave headset in discovering, reading, and writing services and feature values from the first service list. By writing the key into the feature values of the first service list, the foundation for subsequent data interaction between the master and slave headsets can be laid, and the repeated sending of information from the master headset to the slave headset can be reduced, thereby improving the efficiency of key transmission.
[0124] For example, the Generic Attribute Profile (GATT) is an application layer protocol in the Bluetooth Low Energy protocol stack, used to define the data interaction method between the master and slave earpieces. When establishing a second communication link, based on GATT, the master earpiece's first service list is obtained; and from the service list, the feature value identifying the encrypted data key material is read to further obtain the key. Here, the first service list can be a Generic Access Profile (GAP) service list or a custom service list.
[0125] In some embodiments, the first service list contains a universally unique identifier (UUID) for each service. The secondary earpiece matches the required service using the UUID, ensuring communication with the primary earpiece is based on the correct service interface, thereby improving the accuracy of data interaction. In other embodiments, the specific functions of the secondary earpiece (such as audio playback or voice assistant) depend on the services provided by the primary earpiece. After obtaining the first service list, the secondary earpiece can correctly call the service interfaces of the primary earpiece to achieve the expected functions, enabling the secondary earpiece to quickly adapt to the functions of the primary earpiece, thereby improving the user experience.
[0126] In this embodiment of the disclosure, when a second communication link is established, the earphone can send a second request to the main earphone to establish a third communication link, and obtain a first service list based on the third communication link, and further obtain a key, thereby improving the efficiency and convenience of obtaining the key.
[0127] In some embodiments, in response to establishing a second communication link, the master earpiece sends a second request to the slave earpiece, including:
[0128] In response to establishing a second communication link, the master headset sends a third request to the slave headset; wherein the third request is used to instruct the slave headset to send a second service list of the slave headset;
[0129] In response to the master headset receiving the second service list sent by the slave headset, the master headset sends a preset instruction to the slave headset based on the second service list;
[0130] In response to the execution of a preset command by the slave earpiece, the master earpiece and the slave earpiece establish a third communication link.
[0131] Here, the second service list is used to indicate the functions and data types supported by the headset.
[0132] Understandably, the second communication link connects the physical layer and the data link layer, while the third communication link is built on top of the L2CAP (Logical Link Control and Adaptation Protocol) layer. An L2CAP channel can be established first for transmitting attribute protocol data. Here, the ATT protocol forms the basis of GATT, defining data transmission and operational attributes.
[0133] Specifically, the master headset sends a third request to the slave headset via the GATT protocol to request a second service list from the slave headset. The third request is transmitted through the ATT layer and contains a specific GATT opcode. After receiving the third request, the slave headset returns the second service list, where each service can contain multiple characteristics. The master headset selects the service of interest (e.g., an audio service) based on the second service list, generates a preset instruction based on the service of interest, and sends the preset instruction to the slave headset. The master headset then waits for the slave headset to respond to the preset instruction.
[0134] Here, the default command is any command output based on the second service list, and there are no restrictions on it. Taking the read command as an example, the master earphone can read the value of a certain feature of the slave earphone (such as the current battery level) and send a "read feature value" request. Taking the first control command as an example, the master earphone adjusts the volume of the slave earphone and sends a "write volume value" request; the master earphone adjusts the playback status of the slave earphone and sends a "write playback status" request. Taking the second control command as an example, the master earphone can subscribe to notifications or indications of a certain feature of the slave earphone and send a "get feature value prompt message" request.
[0135] In this embodiment of the disclosure, a third communication link is established when the slave earphone responds to a preset command. For example, when the slave earphone sends its current battery level to the master earphone, a third communication link is established between the master and slave earphones; when the volume of the slave earphone is adjusted to the volume value written by the master earphone, a third communication link is established between the master and slave earphones; when the playback state of the slave earphone is adjusted to the playback state written by the master earphone, a third communication link is established between the master and slave earphones; when the characteristic value of the slave earphone changes and the slave earphone sends a prompt message to the master earphone, a third communication link is established between the master and slave earphones.
[0136] In this embodiment of the present disclosure, the master earphone sends a preset instruction to the slave earphone based on the second service list, and establishes a third communication link when the slave earphone responds to the preset instruction, thereby improving the accuracy of establishing the third communication link and thus improving the efficiency of key transmission.
[0137] In some embodiments, obtaining a key from the headset based on a first service list includes:
[0138] In response to the failure of the earphone to obtain the key within a preset time period, the earphone sends a fourth request to the master earphone; wherein the fourth request is used to instruct the master earphone to send a prompt message;
[0139] In response to receiving a prompt message from the headset, the key is determined from the first service list based on the key identifier indicated in the prompt message.
[0140] Here, the preset duration can be set arbitrarily according to requirements, for example, 100ms. This embodiment of the disclosure does not limit this.
[0141] Understandably, in order to improve the efficiency of obtaining the key, if the slave earpiece fails to obtain the key from the first service list within a preset time, it can send a fourth request to the master earpiece, so that the master earpiece can send a prompt message indicating the key identifier.
[0142] Here, the prompt information indicates that the key is identified as a Session Key and an Initialization Vector (IV). The slave headset, upon receiving the service list, searches for the Session Key and Initialization Vector from the service list to determine the key. The Session Key is a temporary key used to encrypt and decrypt data during a communication session. In HTTPS communication, the master and slave headsets negotiate and generate a Session Key during the handshake phase, which is used to encrypt subsequent communication data. The IV is used in conjunction with the Session Key to ensure that the same plaintext generates different ciphertexts in different encryption operations.
[0143] For example, when a third communication link is established between the master headset and the slave headset, a Session Key and an IV are negotiated and generated. The master headset uses the Session Key and IV as input to the Advanced Encryption Standard (AES) encryption mechanism to encrypt the link information of the first communication link to obtain the first encrypted content. The slave headset determines the Session Key and IV from the service list, uses the Session Key and IV as input to the AES decryption mechanism to decrypt the first encrypted content to obtain the link information of the first communication link.
[0144] In this embodiment of the disclosure, by receiving prompts from the master earphone, the convenience of determining the key from the service list can be improved, the invalid traversal of the service list can be reduced, and thus the efficiency of obtaining the key can be improved.
[0145] Figure 4 This is a flowchart illustrating a headphone networking method according to an exemplary embodiment. Figure 4 ,like Figure 4 As shown, the headphone networking method mainly includes the following steps:
[0146] In step 401, in response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content; wherein, the first encrypted content is obtained by encrypting the link information of the first communication link by the main earpiece;
[0147] In step 402, in response to receiving a broadcast signal from the earpiece and finding that no key is stored in the earpiece, the earpiece sends a first request to the master earpiece; wherein the first request is used to instruct the master earpiece to establish a second communication link with the earpiece; the transmission rate of the second communication link is less than the transmission rate of the first communication link;
[0148] In step 403, in response to establishing a second communication link, the master earphone sends a second request to the slave earphone; wherein the second request is used to instruct the slave earphone to establish a third communication link with the master earphone;
[0149] In step 404, in response to establishing a third communication link, the master headset sends a first service list to the slave headset based on the third communication link; wherein, the first service list is used to indicate the functions and data types supported by the master headset;
[0150] In step 405, a key is obtained from the headset based on the first service list, and the broadcast signal is decrypted based on the key to obtain link information.
[0151] In step 406, in response to obtaining link information from the earphone, a listening event is triggered from the earphone; wherein the listening event is used to listen to the interactive data on the first communication link;
[0152] In step 407, in response to the second encrypted content being detected by the earphone based on the listening event, the second encrypted content is decrypted based on the link key in the link information to obtain the target data.
[0153] Here, during the process of the main earphone sending target data to the electronic device, or the electronic device sending target data to the main earphone, the target data can be encrypted based on the second encryption mechanism indicated by the first communication link to obtain the second encrypted content; then, based on the first communication link, the second encrypted content is sent, thereby improving the security of the data exchanged between the electronic device and the main earphone.
[0154] In this embodiment of the present disclosure, when the earphone obtains the link information of the first communication link, it can trigger a listening event to listen to the interactive data on the first communication link; and when the second encrypted content is detected based on the listening event, the second encrypted content is decrypted based on the link key and the second decryption mechanism to obtain the target data.
[0155] For example, the main earpiece encrypts the link key and target data using a symmetric encryption mechanism to obtain the second encrypted content. For instance, the link key is processed using a linear feedback shift register (LFSR) to generate a keystream, which is then XORed with the plaintext block (i.e., the segmented target data) to obtain the second encrypted content; alternatively, using Advanced Encryption Standard-Cipher Block Chaining (AES-CBC), the plaintext block is XORed with the IV, then encrypted using the AES key (i.e., the link key) to obtain a ciphertext block. This plaintext block is then XORed with the previous ciphertext block and encrypted again using the AES key to obtain another ciphertext block. Finally, the ciphertext blocks are concatenated to form the second encrypted content.
[0156] The main earpiece sends second encrypted content to the electronic device via the first communication link. The electronic device decrypts the second encrypted content using a symmetric encryption mechanism to obtain the target data. For example, the same LFSR is used to generate a keystream, which is then XORed with the second encrypted content to obtain the target data; alternatively, using the same AES-CBC link key and IV, for each ciphertext block, an XOR operation is performed with the previous ciphertext block (or IV) to recover the plaintext block, and the plaintext blocks are then concatenated to form the target data.
[0157] If the earpiece detects second encrypted content based on a listening event, it matches the second encryption mechanism indicated by the link information to determine the second decryption mechanism. Then, based on the link key and the second decryption mechanism in the link information, it decrypts the second encrypted content to obtain the target data. For example, the same LFSR is used to generate a keystream, which is XORed with the second encrypted content to obtain the target data; alternatively, based on the same AES-CBC, the link key and IV are used to XOR each ciphertext block with the previous ciphertext block (or IV) to recover the plaintext block, and the plaintext blocks are then concatenated to form the target data.
[0158] In this embodiment of the disclosure, monitoring the interaction data on the first communication link based on the monitoring event can reduce the possibility of missing interaction data, thereby improving monitoring efficiency; and when the second encrypted content is detected based on the monitoring event, the second encrypted content is decrypted based on the link key to ensure communication synchronization with the main earphone, thereby improving the communication quality between the electronic device and the TWS earphone and enhancing the user experience.
[0159] In some embodiments, in response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content, including:
[0160] In response to the establishment of the first communication link, the main earpiece encrypts the link information of the first communication link based on a pre-configured first encryption mechanism and key to obtain the first encrypted content, and broadcasts the first encrypted content.
[0161] In response to the Bluetooth headset receiving a broadcast signal, the headset decrypts the broadcast signal based on a key to obtain link information, including:
[0162] In response to receiving a broadcast signal from the headset, the headset decrypts the broadcast signal based on a pre-configured first decryption mechanism and key to obtain link information;
[0163] The first encryption mechanism corresponds to the first decryption mechanism.
[0164] Considering that whenever the main earphone establishes a first communication link with the electronic device, the secondary earphone can only obtain the link information of the first communication link after establishing a communication link with the main earphone, this increases the connection overhead with the main earphone, thereby reducing the efficiency of the secondary earphone in obtaining link information.
[0165] In this embodiment of the disclosure, with a key and a first decryption mechanism pre-stored in the earphone, and a first communication link established between the main earphone and the electronic device, the main earphone encrypts the link information of the first communication link based on the configured first encryption mechanism to obtain first encrypted content, and transmits the first encrypted content by broadcasting. When the earphone receives the broadcast signal, it parses the first encrypted content in the broadcast signal based on the key and the first decryption mechanism. In this way, the earphone can obtain the link information without authenticating with the main earphone, thereby saving the connection overhead with the main earphone and improving the efficiency of obtaining the link information.
[0166] Understandably, the key serves as a parameter for reconstructing the link information during decryption. The first decryption mechanism defines how to restore the link information from the first encrypted content based on the key. Therefore, to ensure that the slave headset can parse the encrypted broadcast data, the first decryption mechanism can be pre-stored within the slave headset. The first encrypted content is obtained by the master headset based on the configured first encryption mechanism and key; therefore, the first decryption mechanism matches the first encryption mechanism.
[0167] Here, when the earphone receives the link information, it can adjust its local clock according to the clock offset in the link information to synchronize the clock of the earphone with that of the master earphone and the electronic device; it can also parse the interactive data on the first communication link according to the link key in the link information; and it can also dynamically select and switch channels according to the channel diagram in the link information to improve the communication quality of the electronic device, the master earphone and the earphone.
[0168] In this embodiment of the disclosure, in response to establishing a first communication link, the main earpiece encrypts the link information of the first communication link based on a pre-configured first encryption mechanism and key to obtain first encrypted content, and broadcasts the first encrypted content; in response to receiving a broadcast signal from the earpiece, the secondary earpiece decrypts the broadcast signal based on a pre-configured first decryption mechanism and key corresponding to the first encryption mechanism to obtain the link information. Thus, whenever the main earpiece establishes a first communication link with an electronic device, the secondary earpiece does not obtain the link information of the first communication link after establishing the communication link with the main earpiece, but instead achieves data transmission with the main earpiece by receiving a broadcast signal, thereby saving connection overhead with the main earpiece and improving the efficiency and convenience of the secondary earpiece obtaining interactive data from the first communication link.
[0169] Figure 5 This is a frame diagram of an earphone according to an exemplary embodiment, such as... Figure 5 As shown, the Bluetooth headset 500 includes:
[0170] The main earphone 510 includes a broadcast module 511, and the slave earphone 520 includes a decryption module 521.
[0171] The broadcast module 511 is configured to broadcast first encrypted content in response to the establishment of a first communication link between the main earphone and the electronic device; wherein the first encrypted content is obtained by encrypting the link information of the first communication link by the main earphone;
[0172] The decryption module 521 is configured to decrypt the broadcast signal based on a key in response to receiving the broadcast signal from the earphone, thereby obtaining the link information.
[0173] In some embodiments, the earphone 520 further includes:
[0174] A key request module is configured to send a first request to the master earpiece in response to the slave earpiece not storing the key; wherein the first request is used to instruct the master earpiece to establish a second communication link with the slave earpiece; the transmission rate of the second communication link is less than the transmission rate of the first communication link;
[0175] The main earphone 510 also includes:
[0176] A key sending module is configured to send the key to the earpiece in response to the establishment of the second communication link.
[0177] In some embodiments, the key sending module is specifically configured as follows:
[0178] In response to establishing the second communication link, a second request is sent to the slave earphone; wherein the second request is used to instruct the slave earphone to establish a third communication link with the master earphone;
[0179] In response to establishing the third communication link, a first service list is sent to the slave earphone based on the third communication link; wherein the first service list is used to indicate the functions and data types supported by the master earphone;
[0180] The earphone 520 also includes:
[0181] The key acquisition module is configured to acquire the key based on the first service list.
[0182] In some embodiments, the key sending module is further configured to:
[0183] In response to establishing the second communication link, a third request is sent to the slave headset; wherein the third request is used to instruct the slave headset to send the slave headset's second service list;
[0184] In response to the main earphone receiving the second service list sent by the slave earphone, a preset instruction is sent to the slave earphone based on the second service list;
[0185] In response to the execution of the preset command by the slave earphone, the third communication link is established with the slave earphone.
[0186] In some embodiments, the key acquisition module is specifically configured as follows:
[0187] In response to the fact that the secondary earphone fails to obtain the key within a preset time period, a fourth request is sent to the primary earphone; wherein, the fourth request is used to instruct the primary earphone to send a prompt message;
[0188] In response to receiving the prompt message from the headset, the key is determined from the first service list based on the key identifier indicated in the prompt message.
[0189] In some embodiments, the earphone 520 further includes:
[0190] A monitoring module is configured to trigger a monitoring event on the earpiece in response to receiving the link information from the earpiece; wherein the monitoring event is used to monitor interactive data on the first communication link;
[0191] The data decryption module is configured to, in response to the second encrypted content being detected by the earphone based on the monitoring event, decrypt the second encrypted content based on the link key in the link information to obtain the target data.
[0192] In some embodiments, the broadcast module 511 is specifically configured as follows:
[0193] In response to establishing the first communication link, the link information of the first communication link is encrypted based on a pre-configured first encryption mechanism and the key to obtain the first encrypted content, and the first encrypted content is broadcast.
[0194] The decryption module 521 is specifically configured as follows:
[0195] In response to receiving a broadcast signal from the earphone, the broadcast signal is decrypted based on a pre-configured first decryption mechanism and the key to obtain the link information;
[0196] The first encryption mechanism corresponds to the first decryption mechanism.
[0197] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0198] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform any of the headphone networking methods described in the embodiments of this disclosure. For example, the method includes:
[0199] In response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content; wherein, the first encrypted content is obtained by encrypting the link information of the first communication link by the main earpiece;
[0200] In response to the Bluetooth headset receiving a broadcast signal, the slave headset decrypts the broadcast signal based on a key to obtain the link information.
[0201] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the headphone networking methods described in this disclosure.
[0202] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0203] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for networking headphones, characterized in that, include: In response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content; wherein, the first encrypted content is obtained by encrypting the link information of the first communication link by the main earpiece; In response to the Bluetooth headset receiving a broadcast signal, the slave headset decrypts the broadcast signal based on a key to obtain the link information.
2. The method according to claim 1, characterized in that, The method further includes: In response to the fact that the key is not stored in the slave earphone, the slave earphone sends a first request to the master earphone; wherein the first request is used to instruct the master earphone to establish a second communication link with the slave earphone; the transmission rate of the second communication link is less than the transmission rate of the first communication link; In response to establishing the second communication link, the master earphone sends the key to the slave earphone.
3. The method according to claim 2, characterized in that, In response to establishing the second communication link, the master earpiece sends the key to the slave earpiece, including: In response to establishing the second communication link, the master earphone sends a second request to the slave earphone; wherein the second request is used to instruct the slave earphone to establish a third communication link with the master earphone; In response to establishing the third communication link, the master earphone sends a first service list to the slave earphone based on the third communication link; wherein the first service list is used to indicate the functions and data types supported by the master earphone; The method further includes: The key is obtained from the headset based on the first service list.
4. The method according to claim 3, characterized in that, In response to establishing the second communication link, the master earphone sends a second request to the slave earphone, including: In response to establishing the second communication link, the master earpiece sends a third request to the slave earpiece; wherein the third request is used to instruct the slave earpiece to send its second service list; In response to the master earpiece receiving the second service list sent by the slave earpiece, the master earpiece sends a preset instruction to the slave earpiece based on the second service list; In response to the execution of the preset command by the slave earphone, the master earphone and the slave earphone establish the third communication link.
5. The method according to claim 3, characterized in that, The step of obtaining the key from the headset based on the first service list includes: If the slave earphone fails to acquire the key within a preset time period, the slave earphone sends a fourth request to the master earphone; wherein, the fourth request is used to instruct the master earphone to send a prompt message; In response to receiving the prompt message from the headset, the key is determined from the first service list based on the key identifier indicated in the prompt message.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: In response to receiving the link information from the earphone, a listening event is triggered on the earphone; wherein the listening event is used to listen to the interaction data on the first communication link; In response to the second encrypted content being detected by the earphone based on the monitoring event, the second encrypted content is decrypted based on the link key in the link information to obtain the target data.
7. The method according to any one of claims 1 to 5, characterized in that, In response to the establishment of a first communication link between the main earpiece of the Bluetooth headset and the electronic device, the main earpiece broadcasts first encrypted content, including: In response to establishing the first communication link, the main earphone encrypts the link information of the first communication link based on a pre-configured first encryption mechanism and the key to obtain the first encrypted content, and broadcasts the first encrypted content. In response to the Bluetooth headset receiving a broadcast signal, the slave headset decrypts the broadcast signal based on a key to obtain the link information, including: In response to receiving a broadcast signal from the earpiece, the earpiece decrypts the broadcast signal based on a pre-configured first decryption mechanism and the key to obtain the link information; The first encryption mechanism corresponds to the first decryption mechanism.
8. A Bluetooth headset, characterized in that, include: A master earpiece and a slave earpiece, wherein the master earpiece includes a broadcast module and the slave earpiece includes a decryption module; The broadcast module is configured to broadcast first encrypted content in response to the establishment of a first communication link between the main earphone and the electronic device; wherein the first encrypted content is obtained by encrypting the link information of the first communication link by the main earphone; The decryption module is configured to, in response to receiving a broadcast signal from the earphone, decrypt the broadcast signal based on a key to obtain the link information.
9. The headphones according to claim 8, characterized in that, The earphone also includes: A key request module is configured to send a first request to the master earpiece in response to the slave earpiece not storing the key; wherein the first request is used to instruct the master earpiece to establish a second communication link with the slave earpiece; the transmission rate of the second communication link is less than the transmission rate of the first communication link; The main earphone also includes: A key sending module is configured to send the key to the earpiece in response to the establishment of the second communication link.
10. The earphone according to claim 9, characterized in that, The key sending module is specifically configured as follows: In response to establishing the second communication link, a second request is sent to the slave earphone; wherein the second request is used to instruct the slave earphone to establish a third communication link with the master earphone; In response to establishing the third communication link, a first service list is sent to the slave earphone based on the third communication link; wherein the first service list is used to indicate the functions and data types supported by the master earphone; The earphone also includes: The key acquisition module is configured to acquire the key based on the first service list.
11. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the method steps of any one of claims 1 to 7 are implemented.
12. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 7.
