WO2022057156A1 - Information sharing method and apparatus, and earphone case and computer-readable storage medium - Google Patents

Information sharing method and apparatus, and earphone case and computer-readable storage medium Download PDF

Info

Publication number
WO2022057156A1
WO2022057156A1 PCT/CN2020/141389 CN2020141389W WO2022057156A1 WO 2022057156 A1 WO2022057156 A1 WO 2022057156A1 CN 2020141389 W CN2020141389 W CN 2020141389W WO 2022057156 A1 WO2022057156 A1 WO 2022057156A1
Authority
WO
WIPO (PCT)
Prior art keywords
earphone
user
information
fingerprint
boxes
Prior art date
Application number
PCT/CN2020/141389
Other languages
French (fr)
Chinese (zh)
Inventor
张军
王福强
Original Assignee
闻泰科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 闻泰科技(深圳)有限公司 filed Critical 闻泰科技(深圳)有限公司
Publication of WO2022057156A1 publication Critical patent/WO2022057156A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3231Biological data, e.g. fingerprint, voice or retina
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present application relates to the technical field of wireless earphones, and in particular, to an information sharing method, device, earphone box, and computer-readable storage medium.
  • TWS headsets With the popularity of True Wireless Stereo (TWS) headsets and the rapid development of 4G/5G technology, many smart terminal devices can be used with TWS headsets. However, because the TWS headset can only store the terminal equipment that has been matched with the headset, and most TWS headsets have the same appearance, the TWS headset may be taken by mistake. If the wrong headset has not been connected to the terminal equipment If it is matched, it needs to be matched with the terminal device to be connected again, which is a waste of time.
  • TWS headset can only store the terminal equipment that has been matched with the headset, and most TWS headsets have the same appearance, the TWS headset may be taken by mistake. If the wrong headset has not been connected to the terminal equipment If it is matched, it needs to be matched with the terminal device to be connected again, which is a waste of time.
  • one of the objectives of the present application includes providing an information sharing method, device, earphone box and computer-readable storage medium, so as to exchange matching information between different earphone boxes and reduce the matching time.
  • the embodiments of the present application provide an information sharing method, which is applied to earphone boxes, including: when the distance between at least two earphone boxes is within a preset distance range, respectively receiving a user's trigger operation; The operation opens the data transmission mode; when there are at least two earphone boxes in the data transmission mode, the stored data is interacted, so that each earphone box stores the data of all the earphone boxes; wherein, the data includes the data in the earphone box. Matching information of earphones matched with different terminal devices.
  • each earphone box is respectively provided with a fingerprint identification component, and when the distance between at least two earphone boxes is within a preset distance range, the step of respectively receiving a user's trigger operation includes: when there are at least two earphone boxes within a preset distance When the distance between the two earphone boxes is within the preset distance range, the fingerprint information input by the user through the fingerprint identification component is obtained respectively.
  • the step of enabling the data transmission mode according to the trigger operation includes: matching the fingerprint information with a pre-stored user fingerprint; wherein the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user and the earphone box are related to each other. Corresponding; if the fingerprint information is successfully matched with the user fingerprint, the data transmission mode is enabled.
  • the stored data is interacted so that each earphone box stores the data of all earphone boxes, including: when there are When at least two of the earphone boxes are in the data transmission mode, the stored user fingerprints and the matching information corresponding to the user fingerprints are interacted, so that each earphone box stores the user fingerprints and matching information of all the earphone boxes.
  • each earphone box is respectively provided with a display component; the above method further includes: obtaining fingerprint information of a target user through a fingerprint identification component; wherein, the target user is one of a plurality of corresponding users; Match with multiple stored user fingerprints to obtain the matching information corresponding to the successfully matched user fingerprints; display the matching information corresponding to the successfully matched user fingerprints through the display component; determine the terminal equipment that needs to be matched according to the trigger operation of the target user on the display component ; wherein, the matching information is in one-to-one correspondence with the terminal equipment.
  • the display component is a touch display screen.
  • the method further includes: after the earphones in the earphone box are matched with the terminal device, encrypting and storing the matching information generated in the matching process; wherein, the user fingerprint stored in each earphone box corresponds to the matching information .
  • the method further includes: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the user fingerprint corresponding to the matching information.
  • the fingerprint identification component is a fingerprint identification button.
  • the step of respectively receiving a triggering operation from a user when the distance between at least two earphone boxes is within a preset distance range includes: when the distance between at least two earphone boxes is within a preset distance When within the range, the corresponding voice trigger commands are obtained respectively.
  • an embodiment of the present application provides an earphone box, the earphone box adopts any of the methods provided in the first aspect to share information between different earphone boxes;
  • the main body of the earphone box is configured to store the earphones;
  • the fingerprint recognition component is configured to recognize the fingerprint information of the corresponding user, so as to complete the data interaction between the plurality of earphone boxes;
  • the display component is configured to display and identify the Matching information corresponding to the fingerprint information.
  • the fingerprint identification component is further configured to identify the fingerprint information of the target user, so as to obtain matching information corresponding to the fingerprint information of the target user.
  • the earphone box further includes an earphone, and the earphone includes a TWS earphone.
  • an embodiment of the present application provides an information sharing device, including: a receiving module configured to receive a triggering operation from a user respectively when the distance between at least two earphone boxes is within a preset distance range; the enabling module, It is configured to open the data transmission mode according to the trigger operation; the interaction module is configured to interact with the stored data when there are at least two earphone boxes in the data transmission mode, so that each earphone box stores the data of all the earphone boxes. data; wherein, the data includes matching information between the earphones in the earphone box and different terminal devices.
  • each earphone box is provided with a fingerprint identification component respectively, and the receiving module is further configured to obtain the user input through the fingerprint identification component when the distance between at least two earphone boxes is within a preset distance range. fingerprint information.
  • the opening module is also configured to match the fingerprint information with the pre-stored user fingerprints; wherein, the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user corresponds to the earphone box; The user fingerprint matching is successful, and the data transmission mode is enabled.
  • the interaction module is further configured to interact with the stored user fingerprints and matching information corresponding to the user fingerprints when at least two of the earphone boxes are in the data transmission mode, so that each earphone box is in the data transmission mode.
  • User fingerprints and matching information of all earphone boxes are stored in the box.
  • each earphone box is respectively provided with a display component;
  • the above-mentioned device further includes: a fingerprint acquisition module, configured to acquire fingerprint information of the target user through the fingerprint identification component; wherein, the target user is one of a plurality of corresponding users one; a fingerprint matching module, configured to match the fingerprint information with a plurality of stored user fingerprints, and obtain matching information corresponding to the successfully matched user fingerprints; a display module, configured to display the matching corresponding to the successfully matched user fingerprints through the display component information; a terminal device determination module configured to determine a terminal device to be matched according to a triggering operation of the display component by a target user; wherein, the matching information corresponds to the terminal device one-to-one.
  • the above-mentioned device further includes an encryption module configured to encrypt and store the matching information generated during the matching process after the earphones in the earphone box are matched with the terminal device; wherein, the user fingerprint stored in each earphone box is the same as the user fingerprint stored in the earphone box. matching information.
  • an embodiment of the present application provides a computer device, including a processor and a memory, the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the above-mentioned first aspect. The steps of any of the methods.
  • an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of any one of the methods provided in the first aspect are executed. .
  • the above-mentioned information sharing method, device, earphone box, and computer-readable storage medium can respectively receive a user's trigger operation when the distance between at least two earphone boxes is within a preset distance range, and store each The data stored in the earphone boxes interact with each other, so that each earphone box stores the data of all the earphone boxes (including matching information of matching the earphones in the earphone box with different terminal devices).
  • the above method can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that the matching information of multiple earphone boxes is stored in each earphone box, so that the matching information of different earphone boxes can be called, Directly connect with unmatched terminal equipment without re-matching, reducing the matching time.
  • FIG. 2 is a schematic diagram of matching between an earphone box and a terminal device and storing information according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method for sharing earphone information according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of an information interaction provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of matching information retrieval provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an information sharing apparatus provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an earphone box provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • 10-headphone box body 20-fingerprint identification assembly; 30-display assembly.
  • the initial matching of the TWS headset is initiated by the terminal device to complete the matching; after the matching is completed, when the terminal device needs to be connected again, the terminal device that has been matched before will automatically read the archived data to complete the automatic matching.
  • a matching device with the highest priority will be generated.
  • the Bluetooth of multiple matching devices is turned on at the same time, the TWS headset will preferentially match and connect with the matching device with the highest priority. If the user wants to connect with a device that is not the highest priority, it must be re-matched with the TWS headset using that device.
  • the TWS headset can only store the terminal device that has been matched with the headset, and most TWS headsets have the same appearance, the TWS headset may be taken by mistake. If the wrong headset has not been connected to the terminal device that you want to connect If it is matched, the user needs to re-match the TWS headset and the terminal device to establish a connection. If the user has multiple terminal devices, it will take a longer time to complete the matching one by one before they can be reused, which is a waste of time.
  • an information sharing method, device, earphone box, and computer-readable storage medium provided in the embodiments of the present application can interact with matching information between different earphone boxes, thereby reducing the matching time.
  • an information sharing method disclosed in this embodiment of the present application is first introduced in detail.
  • the method is applied to an earphone box, and the earphone box may be a TWS earphone box.
  • the earphone box may be a TWS earphone box.
  • FIG. 1 The flowchart of the method shows that the method mainly includes the following steps S102 to S106:
  • Step S102 When the distance between at least two earphone boxes is within a preset distance range, respectively receive a triggering operation of the user.
  • the earphone box may be a TWS earphone box, and the preset distance range may be within which communication can be performed between the earphone boxes.
  • the preset distance range may be within which communication can be performed between the earphone boxes.
  • the user can trigger the corresponding earphone box respectively, the user can be the user of the earphone box, and the user can be one or more.
  • the user can trigger the corresponding earphone box by pressing the fingerprint recognition component on the earphone box, or can also trigger the corresponding earphone box by voice (optionally, trigger the corresponding earphone box by acquiring the corresponding voice trigger instruction), different
  • the earphone box can be triggered by different users (that is, the users of different earphone boxes are different users), or it can be triggered by the same user (that is, the users of different earphone boxes are the same user).
  • Step S104 Turn on the data transmission mode according to the trigger operation.
  • the triggering operation of the earphone box by the user can activate the transmission mechanism and exchange information through wireless transmission technology, that is, enable the data transmission mode.
  • Step S106 When at least two earphone boxes are in the data transmission mode, the stored data is interacted, so that each earphone box stores the data of all the earphone boxes.
  • each headphone box when the headphone box activates the data transmission mechanism (the data transmission mode is about to be turned on), the data stored in each headphone box can interact with other headphone boxes within a preset distance through wireless technology, so that each headphone box can be Data of all earphone boxes are stored in the boxes, wherein the data includes matching information that the earphones in the earphone boxes are matched with different terminal devices.
  • the data includes matching information that the earphones in the earphone boxes are matched with different terminal devices.
  • the headphone box turns on the data transmission mode; or if the third headphone box is not triggered by the user to turn on the data transmission mode within the preset time, data interaction is directly performed between the two headphone boxes in the data transmission mode. Since the matching information of each earphone box may be different, each earphone box not only stores the matching information of the matched terminal equipment, but also can store the matching information of the unmatched terminal equipment, such as in the earphone box A.
  • the stored matching information includes device A1, device A2, and device A3, and the matching information stored in headphone box B includes device B1, device B2, and device B3; then after data interaction, both headphone box A and headphone box B store matching information.
  • device A1, device A2, device A3, device B1, device B2, and device B3 when the earphones in the earphone box want to connect with an unmatched terminal device (such as device B2), the terminal device can be directly obtained There is no need to re-match the terminal device and the earphone box, which reduces the matching time and improves the connection efficiency.
  • an unmatched terminal device such as device B2
  • the above-mentioned information sharing method provided by the embodiment of the present application can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that each earphone box stores the matching information of multiple earphone boxes, so that the matching information of multiple earphone boxes can be
  • the matching information of different earphone boxes is called, and the terminal device that has not been matched is directly connected, and there is no need to re-match, which reduces the matching time.
  • the above-mentioned information sharing method further includes: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the matching information generated in the matching process.
  • the matching information may include the name of the successfully matched terminal device, the matching time, etc.; in addition, each earphone box also stores the user fingerprint of the corresponding user, and the user fingerprint stored in each earphone box corresponds to the matching information.
  • the fingerprint information of the corresponding user of the earphone box A1 is F1
  • the matching information includes device A1, device A2, device A3 and device A4
  • the fingerprint information F1 corresponds to device A1, device A2, device A3 and device A4
  • the user fingerprint and matching information are encrypted and stored in the earphone box, that is, the device A1, the device A2, the device A3 and the device A4 can be retrieved through the fingerprint information F1.
  • the user's fingerprint information fingerprint F1 is stored in the TWS earphone box A, and the earphones in the TWS earphone box and the device A1, Device A2, device A3 and device A4 are matched, and the matching information is stored after the matching is completed, that is, the fingerprint F1 and the device information A1, A2, A3 and A4 are encrypted and stored in the TWS earphone box A.
  • Each earphone box provided in the embodiment of the present application is provided with a fingerprint identification component.
  • the embodiment of the present application also provides a method for receiving the A specific example of the user's triggering operation, that is, the above-mentioned step S102 can be performed according to the following steps: when the distance between at least two earphone boxes is within the preset distance range, the fingerprint information input by the user through the fingerprint identification component is obtained respectively. Specifically, when the distance between at least two earphone boxes is within a preset distance range (or when at least two earphone boxes are close), the user (ie, the user) can press the fingerprint recognition component on the surface of the earphone box to Make each earphone box obtain the user's fingerprint information.
  • step S104 can be performed according to the following steps: matching the fingerprint information with the pre-stored user fingerprint; if the fingerprint information and the user fingerprint are successfully matched, the data transmission mode is enabled.
  • the user fingerprint is pre-stored in the earphone box
  • the user fingerprint is the fingerprint information of the corresponding user of the earphone box
  • the corresponding user corresponds to the earphone box, that is, the user fingerprint is the fingerprint of the user of the earphone box.
  • the fingerprint identification component acquires the user's fingerprint information, it needs to match the fingerprint information with the user's fingerprint, so as to determine whether the user is a user of the earphone box.
  • the fingerprint information is successfully matched with the user's fingerprint, it is proved that the user is the user of the earphone box, and the data transmission mode is turned on at the same time.
  • the embodiment of the present application also provides a specific example of interacting the stored data when at least two earphone boxes are in the data transmission mode, so that each earphone box stores the data of all the earphone boxes, and also That is, the above-mentioned step S106 can be performed according to the following steps: when at least two of the earphone boxes are in the data transmission mode, the stored user fingerprints and the matching information corresponding to the user fingerprints are interacted, so that each earphone box is User fingerprints and matching information of all earphone boxes are stored in .
  • the earphone box can activate the transmission mechanism (that is, enable the data transmission mode), and interact the user fingerprint of each earphone box and the matching information corresponding to the user fingerprint with other earphone boxes, so as to make Each earphone box stores user fingerprints and matching information stored in all earphone boxes within a preset distance.
  • the transmission mechanism that is, enable the data transmission mode
  • each earphone box is provided with a display component respectively, and the fingerprint information of the target user can be obtained through the fingerprint identification component; then the fingerprint information is matched with the stored multiple user fingerprints to obtain the successfully matched user fingerprints Then, the matching information corresponding to the successfully matched user fingerprint is displayed through the display component; finally, the device to be matched is determined according to the trigger operation of the target user on the display component.
  • fingerprint information of a plurality of corresponding users is stored in the earphone box after information interaction, and the target user is one of the plurality of corresponding users (that is, the user of the earphone box).
  • the earphone box stores the user's fingerprint information. 1's fingerprint F1 and user 2's fingerprint F2, then both user 1 and user 2 are corresponding users, and the target user is user 1 or user 2.
  • User 1 can press the fingerprint recognition component, and the earphone box can obtain the fingerprint F1 of User 1, and then find the matching information corresponding to the fingerprint F1 according to the fingerprint F1, and display the matching information corresponding to the fingerprint F1 through the display component (such as a touch screen) information; User 1 can complete the connection between the headset and the terminal device by clicking on the matching information to be connected.
  • the display component such as a touch screen
  • the embodiment of the present application also provides a specific headset information sharing method.
  • a headset information sharing method shown in FIG. 3 , two TWS headset boxes are taken as an example; the method mainly includes the following Steps S302 to S310:
  • Step S302 The two TWS earphone boxes are respectively matched with different terminals.
  • the terminal device may be a terminal device that can be used with the TWS headset, such as a mobile phone, a tablet, or a computer.
  • Step S304 After the TWS headset is matched with each terminal device, the generated matching information is encrypted and stored in the corresponding TWS headset box.
  • each TWS earphone box also stores the fingerprint information of the user (corresponding to the user), such as the fingerprint F1 of user 1 stored in TWS earphone box A, and the fingerprint information of user 2 stored in TWS earphone box B. Fingerprint F2.
  • Step S306 when the distance between the two TWS earphone boxes is within the preset distance range, activate the transmission mechanism by pressing the fingerprint recognition component of each TWS earphone box, and perform information exchange through wireless transmission technology.
  • the fingerprint F1 and the terminal equipment information that has been successfully matched with the TWS earphone box A are stored inside the TWS earphone box A: A1, A2, A3 and A4; Fingerprint F2 and the terminal equipment information that has been successfully matched: B1, B2, B3 and B4; the user of TWS earphone box A and TWS earphone box B presses the fingerprint recognition component (such as the fingerprint recognition button) on the earphone box to achieve Encryption of information exchange. Specifically, different users can press and hold the fingerprint recognition component to make the two TWS earphone boxes close to each other.
  • the fingerprint recognition component such as the fingerprint recognition button
  • both TWS earphone box A and TWS earphone box B store their matched and unmatched device information: A1, A2, A3, A4, B1, B2, B3 and B4, as well as fingerprints F1 and F2, And the fingerprint F1 corresponds to A1, A2, A3, and A4, and the fingerprint F2 corresponds to B1, B2, B3, and B4.
  • Step S308 The target user retrieves matching information corresponding to the fingerprint information through the fingerprint identification component.
  • the target user may be a user of fingerprint F1 (indicating that the user's fingerprint information is fingerprint F1) or a user of fingerprint F2 (indicating that the user's fingerprint information is fingerprint F2).
  • fingerprint F1 indicating that the user's fingerprint information is fingerprint F1
  • fingerprint F2 indicating that the user's fingerprint information is fingerprint F2
  • FIG. 5 a schematic diagram of matching information retrieval shown in FIG. 5, it is shown that not only A1, A2, A3, and A4 are stored in the TWS earphone box A after the information exchange is completed, but also B1, B2, B3, and B4 are stored; use The user can retrieve the matching information corresponding to the fingerprint information through the fingerprint information.
  • the user of the fingerprint F1 or the fingerprint F2 can obtain the output data by identifying the fingerprint (that is, obtain the matching information corresponding to the fingerprint information): the user of the fingerprint F1 (that is, the fingerprint F1 users) can get the device information (that is, matching information) corresponding to fingerprint F1: A1, A2, A3, A4; fingerprint F2 users (that is, fingerprint F2 users) can get the device information corresponding to fingerprint F2: B1, B2, B3, B4; Further, the obtained device information can be displayed through a display component.
  • Step S310 The target user selects the terminal device to be connected through the display component to complete the connection.
  • the target user can click the terminal device to be connected on the display module to complete the connection, or can select the terminal device to be connected to complete the connection by voice.
  • the above information sharing method can effectively complete the interaction of matching information between different earphones.
  • the earphones of home users A and B have been matched with different terminal devices.
  • a and B can Use any device; at the same time, the matching information can be encrypted and stored separately according to the identity information (such as fingerprint information), and the corresponding matching information stored can be activated through fingerprint recognition when needed, such as when there are multiple earphone devices in a public place.
  • identity information such as fingerprint information
  • user A or B can retrieve their own device information according to their fingerprints, which is safe and fast; in addition, the user can also actively select the terminal device that needs to be matched and connected through the TWS headset box, so as to connect the terminal more quickly and accurately equipment.
  • an embodiment of the present application provides an information sharing apparatus. Referring to the schematic structural diagram of an information sharing apparatus shown in FIG. 6 , it is shown that the apparatus may include the following parts:
  • the receiving module 601 is configured to respectively receive a triggering operation of a user when the distance between at least two earphone boxes is within a preset distance range.
  • the enabling module 602 is configured to enable the data transmission mode according to the trigger operation.
  • the interaction module 603 is configured to interact with the stored data when there are at least two earphone boxes in the data transmission mode, so that each earphone box stores the data of all earphone boxes; Matching information of earphones matched with different terminal devices.
  • the above-mentioned information sharing device can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that each earphone box stores the matching information of multiple earphone boxes, so that the matching information of multiple earphone boxes can be stored in each earphone box.
  • the matching information of different earphone boxes is called, and the terminal device that has not been matched is directly connected, and there is no need to re-match, which reduces the matching time.
  • each earphone box is provided with a fingerprint identification component
  • the receiving module 601 is further configured to obtain the user's fingerprint identification component when the distance between at least two earphone boxes is within a preset distance range. Enter the fingerprint information.
  • the above-mentioned opening module 602 is also configured to match the fingerprint information with the pre-stored user fingerprint; wherein, the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user corresponds to the earphone box; if the fingerprint information If it is successfully matched with the user fingerprint, the data transmission mode is turned on.
  • the above interaction module 603 is further configured to interact with the stored user fingerprints and matching information corresponding to the user fingerprints when at least two of the earphone boxes are in the data transmission mode, so that each Each earphone box stores user fingerprints and matching information of all earphone boxes.
  • each earphone box is respectively provided with a display component;
  • the above-mentioned information sharing device further includes: a fingerprint acquisition module configured to acquire the fingerprint information of the target user through the fingerprint identification component; wherein, the target user is a plurality of corresponding One of the users; a fingerprint matching module, configured to match the fingerprint information with a plurality of stored user fingerprints, and obtain matching information corresponding to the successfully matched user fingerprints; a display module, configured to display the corresponding matching of the successfully matched user fingerprints through the display component
  • the terminal equipment determination module is configured to determine the terminal equipment to be matched according to the trigger operation of the display component by the target user; wherein, the matching information corresponds to the terminal equipment one-to-one.
  • the above-mentioned information sharing device further includes an encryption module configured to encrypt and store the matching information generated in the matching process after the earphones in the earphone box are matched with the terminal device; Fingerprints correspond to matching information.
  • Each module in the above-mentioned information sharing apparatus may be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • an embodiment of the present application further provides an earphone box, which can use the aforementioned method to share information between different earphone boxes.
  • the earphone box includes: the earphone box main body 10 and the fingerprint identification component 20 and the display component 30 arranged on the earphone box main body 10; the earphone box main body 10 is configured to store the earphone; the fingerprint identification component 20 is configured to identify the fingerprint information of the corresponding user, In order to complete the data interaction with other earphone boxes; the display component 30 is configured to display matching information corresponding to the identified fingerprint information.
  • the above-mentioned earphone boxes provided by the embodiments of the present application can interact with the matching information stored in at least two earphone boxes with different terminal devices through the fingerprint identification component, so that each earphone box stores the matching information of multiple earphone boxes, Then, the fingerprint information of different users can be identified through the fingerprint identification component, and the matching information corresponding to the identified fingerprint information can be displayed through the display component, so as to directly connect with the terminal device that has not been matched without re-matching, which reduces the matching time. .
  • the above-mentioned fingerprint identification component 20 is further configured to identify the fingerprint information of the target user, so as to obtain matching information corresponding to the fingerprint information of the target user.
  • the above-mentioned earphone box further includes earphones, and the earphones may include TWS earphones.
  • An embodiment of the present application also provides a computer device, which may be an earphone box, a terminal, or a terminal carrying an earphone box.
  • a computer device which may be an earphone box, a terminal, or a terminal carrying an earphone box.
  • the computer device It includes a processor 80 , a memory 81 , a communication interface 82 , a display screen 83 and an input device 84 connected through a system bus.
  • the processor 80 of the computer device is configured to provide computing and control capabilities;
  • the memory 81 of the computer device includes a non-volatile storage medium, an internal memory, the non-volatile storage medium stores an operating system and a computer program, the The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium;
  • the communication interface 82 of the computer device is configured to communicate with an external terminal in a wired or wireless manner.
  • the computer program is executed by the processor 80 to realize the information sharing method provided by the foregoing embodiments;
  • the display screen 83 of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device 84 of the computer equipment can be a touch layer covered on the display screen 83, or a button, a trackball or a touchpad set on the shell of the computer equipment, or an external keyboard, a touchpad or a mouse, etc. .
  • FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • the information sharing apparatus provided by the embodiments of the present application may be implemented in the form of a computer program, and the computer program may be executed on the computer device as shown in FIG. 8 .
  • the memory of the computer device may store various program modules that constitute the information sharing apparatus, for example, the receiving module, the opening module and the interaction module shown in FIG. 6 .
  • the computer program constituted by each program module enables the processor to execute the steps in the information sharing method provided by each embodiment of the present application.
  • the computer equipment shown in FIG. 8 can receive the triggering operation of the user respectively when the distance between at least two earphone boxes is within the preset distance range by the receiving module in the information sharing device as shown in FIG. 6 performing the steps;
  • the computer device can perform the step of opening the module to turn on the data transmission mode according to the trigger operation;
  • the computer device can perform the step through the interaction module.
  • the stored data is interacted, so that each The headphone box stores all the data of the headphone box.
  • an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the processor implements the following steps: when there is a distance between at least two earphone boxes When within the preset distance range, respectively receive the trigger operation of the user; turn on the data transmission mode according to the trigger operation; when there are at least two earphone boxes in the data transmission mode, interact with the stored data, so that each earphone box is in the data transmission mode.
  • the box stores all the data of the headphone box.
  • the processor executes the computer program, the following steps are further implemented: when the distance between at least two earphone boxes is within a preset distance range, respectively acquire fingerprint information input by the user through the fingerprint identification component.
  • the processor when the processor executes the computer program, the processor further implements the following steps: matching the fingerprint information with a pre-stored user fingerprint; if the fingerprint information and the user fingerprint are successfully matched, enable the data transmission mode.
  • the processor further implements the following steps when executing the computer program: when at least two of the earphone boxes are in the data transmission mode, interacting the stored user fingerprints with matching information corresponding to the user fingerprints, So that the user fingerprints and matching information of all the earphone boxes are stored in each earphone box.
  • the processor also implements the following steps when executing the computer program: obtaining the fingerprint information of the target user through the fingerprint identification component; then matching the fingerprint information with the stored multiple user fingerprints, and obtaining the corresponding user fingerprints that are successfully matched. Matching information; then, the matching information corresponding to the successfully matched user fingerprints is displayed through the display component; finally, the terminal equipment to be matched is determined according to the trigger operation of the target user on the display component.
  • the processor also implements the following steps when executing the computer program: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the matching information generated in the matching process; wherein, the user fingerprint stored in each earphone box Corresponds to matching information.
  • the processor of the above-mentioned computer device executes the computer program, it can interact with the matching information stored in at least two earphone boxes and between different terminal devices, so that each earphone box stores data of multiple earphone boxes. Matching information, so that the matching information of different earphone boxes can be called to directly connect with the terminal device that has not been matched without re-matching, which reduces the matching time.
  • an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor, the following steps are implemented: when the distance between at least two earphone boxes is within a preset distance range When there are at least two earphone boxes in the data transmission mode, the stored data is interacted, so that all earphone boxes are stored in each earphone box. box data.
  • the processor when the processor executes the computer program, the processor further implements the following steps: when the distance between at least two earphone boxes is within a preset distance range, respectively acquire fingerprint information input by the user through the fingerprint identification component.
  • the processor further implements the following steps when executing the computer program: matching the fingerprint information with the pre-stored user fingerprint; if the fingerprint information and the user fingerprint are successfully matched, enable the data transmission mode.
  • the processor further implements the following steps when executing the computer program: when at least two of the earphone boxes are in the data transmission mode, interacting the stored user fingerprints with matching information corresponding to the user fingerprints , so that the user fingerprints and matching information of all earphone boxes are stored in each earphone box.
  • the processor also implements the following steps when executing the computer program: obtaining the fingerprint information of the target user through the fingerprint identification component; then matching the fingerprint information with the stored multiple user fingerprints, and obtaining the corresponding user fingerprints that are matched successfully. Then, the matching information corresponding to the successfully matched user fingerprints is displayed through the display component; finally, the terminal device to be matched is determined according to the trigger operation of the target user on the display component.
  • the processor also implements the following steps when executing the computer program: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the matching information generated during the matching process; wherein, the user stored in each earphone box Fingerprints correspond to matching information.
  • the processor of the computer-readable storage medium When the processor of the computer-readable storage medium provided in the embodiment of the present application executes the computer program, it can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that each earphone box stores multiple The matching information of the earphone box can be directly connected with the terminal device that has not been matched by calling the matching information of different earphone boxes, without re-matching, which reduces the matching time.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
  • the above-mentioned information sharing method, device, earphone box, and computer-readable storage medium can respectively receive a user's trigger operation when the distance between at least two earphone boxes is within a preset distance range, and store each The data stored in the earphone boxes interact with each other, so that each earphone box stores the data of all the earphone boxes (including matching information of matching the earphones in the earphone box with different terminal devices).
  • the above method can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that the matching information of multiple earphone boxes is stored in each earphone box, so that the matching information of different earphone boxes can be called, Directly connect with unmatched terminal equipment without re-matching, reducing the matching time.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

Provided are an information sharing method and apparatus, and an earphone case and a computer-readable storage medium. The method is applied to an earphone case and comprises: when the distance between at least two earphone cases is within a preset distance range, respectively receiving a trigger operation of a user; enabling a data transmission mode according to the trigger operation; and when the at least two earphone cases are in the data transmission mode, exchanging stored data, such that each of the earphone cases stores data of the earphone cases, wherein the data comprises matching information of matching between earphones in the earphone cases and different terminal devices. By means of the present application, matching information between different earphone cases can be exchanged, such that the matching time is reduced.

Description

信息共享方法、装置、耳机盒及计算机可读存储介质Information sharing method, device, earphone box, and computer-readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年09月21日提交中国专利局的申请号为2020109999295、名称为“信息共享方法、耳机盒及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 2020109999295 and entitled "Information Sharing Method, Headphone Box and Computer-readable Storage Medium" filed with the China Patent Office on September 21, 2020, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及无线耳机技术领域,尤其是涉及一种信息共享方法、装置、耳机盒及计算机可读存储介质。The present application relates to the technical field of wireless earphones, and in particular, to an information sharing method, device, earphone box, and computer-readable storage medium.
背景技术Background technique
随着真无线立体声(True Wireless Stereo,TWS)耳机的普及以及4G/5G技术的快速发展,很多智能终端设备都可以配合TWS耳机使用。但是由于TWS耳机只能储存与该耳机匹配过的终端设备,而大多数TWS耳机的外观一致,从而会出现TWS耳机误拿的情况,如果拿错的耳机没有与想要连接的终端设备进行过匹配,则需要重新与想要连接的终端设备进行匹配,浪费时间。With the popularity of True Wireless Stereo (TWS) headsets and the rapid development of 4G/5G technology, many smart terminal devices can be used with TWS headsets. However, because the TWS headset can only store the terminal equipment that has been matched with the headset, and most TWS headsets have the same appearance, the TWS headset may be taken by mistake. If the wrong headset has not been connected to the terminal equipment If it is matched, it needs to be matched with the terminal device to be connected again, which is a waste of time.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请的目的之一包括提供一种信息共享方法、装置、耳机盒及计算机可读存储介质,以将不同耳机盒之间的匹配信息进行交互,减少匹配时间。In view of this, one of the objectives of the present application includes providing an information sharing method, device, earphone box and computer-readable storage medium, so as to exchange matching information between different earphone boxes and reduce the matching time.
第一方面,本申请实施例提供了一种信息共享方法,方法应用于耳机盒,包括:当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作;根据触发操作开启数据传输模式;当有至少两个耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据;其中,数据包括耳机盒中的耳机与不同的终端设备匹配的匹配信息。In a first aspect, the embodiments of the present application provide an information sharing method, which is applied to earphone boxes, including: when the distance between at least two earphone boxes is within a preset distance range, respectively receiving a user's trigger operation; The operation opens the data transmission mode; when there are at least two earphone boxes in the data transmission mode, the stored data is interacted, so that each earphone box stores the data of all the earphone boxes; wherein, the data includes the data in the earphone box. Matching information of earphones matched with different terminal devices.
在一种实施方式中,每个耳机盒上分别设置有指纹识别组件,当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作的步骤,包括:当有至少两个耳机盒的距离处于预设距离范围内时,分别获取用户通过指纹识别组件输入的指纹信息。In one embodiment, each earphone box is respectively provided with a fingerprint identification component, and when the distance between at least two earphone boxes is within a preset distance range, the step of respectively receiving a user's trigger operation includes: when there are at least two earphone boxes within a preset distance When the distance between the two earphone boxes is within the preset distance range, the fingerprint information input by the user through the fingerprint identification component is obtained respectively.
在一种实施方式中,根据触发操作开启数据传输模式的步骤,包括:将指纹信息与预先储存的用户指纹进行匹配;其中,用户指纹为耳机盒对应用户的指纹信息,对应用户与耳机盒相对应;如果指纹信息与所述用户指纹匹配成功,开启数据传输模式。In one embodiment, the step of enabling the data transmission mode according to the trigger operation includes: matching the fingerprint information with a pre-stored user fingerprint; wherein the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user and the earphone box are related to each other. Corresponding; if the fingerprint information is successfully matched with the user fingerprint, the data transmission mode is enabled.
在一种实施方式中,当有至少两个耳机盒处于数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的所述数据的步骤,包括:当有至少两个所述耳机盒处于所述数据传输模式时,将储存的用户指纹和与用户指纹对应的匹配信息进行交互,以使每个耳机盒中储存有所有耳机盒的用户指纹和匹配信息。In one embodiment, when at least two earphone boxes are in the data transmission mode, the stored data is interacted so that each earphone box stores the data of all earphone boxes, including: when there are When at least two of the earphone boxes are in the data transmission mode, the stored user fingerprints and the matching information corresponding to the user fingerprints are interacted, so that each earphone box stores the user fingerprints and matching information of all the earphone boxes.
在一种实施方式中,每个耳机盒上分别设置有显示组件;上述方法还包括:通过指纹识别组件获取目标用户的指纹信息;其中,目标用户为多个对应用户中的一个;将指纹信息与储存的多个用户指纹进行匹配,获取匹配成功的用户指纹对应的匹配信息;通过显示组件显示匹配成功的用户指纹对应的匹配信息;根据目标用户对显示组件的触发操作确定需要匹配的终端设备;其中,匹配信息与终端设备一一对应。In one embodiment, each earphone box is respectively provided with a display component; the above method further includes: obtaining fingerprint information of a target user through a fingerprint identification component; wherein, the target user is one of a plurality of corresponding users; Match with multiple stored user fingerprints to obtain the matching information corresponding to the successfully matched user fingerprints; display the matching information corresponding to the successfully matched user fingerprints through the display component; determine the terminal equipment that needs to be matched according to the trigger operation of the target user on the display component ; wherein, the matching information is in one-to-one correspondence with the terminal equipment.
在一种实施方式中,所述显示组件为触摸显示屏。In one embodiment, the display component is a touch display screen.
在一种实施方式中,上述方法还包括:当耳机盒中的耳机与终端设备匹配完成后,加密储存匹配过程中生成的匹配信息;其中,每个耳机盒储存的用户指纹与匹配信息相对应。In one embodiment, the method further includes: after the earphones in the earphone box are matched with the terminal device, encrypting and storing the matching information generated in the matching process; wherein, the user fingerprint stored in each earphone box corresponds to the matching information .
在一种实施方式中,所述方法还包括:当所述耳机盒中的耳机与所述终端设备匹配完成后,加密储存与所述匹配信息相对应的所述用户指纹。In an embodiment, the method further includes: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the user fingerprint corresponding to the matching information.
在一种实施方式中,所述指纹识别组件为指纹识别按钮。In one embodiment, the fingerprint identification component is a fingerprint identification button.
在一种实施方式中,所述当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作的步骤,包括:当有至少两个耳机盒的距离处于预设距离范围内时,分别获取相应的语音触发指令。In one embodiment, the step of respectively receiving a triggering operation from a user when the distance between at least two earphone boxes is within a preset distance range includes: when the distance between at least two earphone boxes is within a preset distance When within the range, the corresponding voice trigger commands are obtained respectively.
第二方面,本申请实施例提供了一种耳机盒,耳机盒采用上述第一方面提供的任一项的方法进行不同耳机盒之间的信息共享;包括:耳机盒主体和设置在耳机盒主体上的指纹识别组件和显示组件;耳机盒主体配置成存放耳机;指纹识别组件配置成识别对应用户的指纹信息,以完成多个耳机盒之间的数据交互;显示组件配置成显示与识别到的指纹信息对应的匹配信息。In a second aspect, an embodiment of the present application provides an earphone box, the earphone box adopts any of the methods provided in the first aspect to share information between different earphone boxes; The main body of the earphone box is configured to store the earphones; the fingerprint recognition component is configured to recognize the fingerprint information of the corresponding user, so as to complete the data interaction between the plurality of earphone boxes; the display component is configured to display and identify the Matching information corresponding to the fingerprint information.
在一种实施方式中,指纹识别组件还配置成识别目标用户的指纹信息,以获取目标用户的指纹信息对应的匹配信息。In one embodiment, the fingerprint identification component is further configured to identify the fingerprint information of the target user, so as to obtain matching information corresponding to the fingerprint information of the target user.
在一种实施方式中,耳机盒还包括耳机,耳机包括TWS耳机。In one embodiment, the earphone box further includes an earphone, and the earphone includes a TWS earphone.
第三方面,本申请实施例提供了一种信息共享装置,包括:接收模块,配置成当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作;开启模块,配置成根据触发操作开启数据传输模式;交互模块,配置成当有至少两个耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据;其中,数据包括耳机盒中的耳机与不同的终端设备匹配的匹配信息。In a third aspect, an embodiment of the present application provides an information sharing device, including: a receiving module configured to receive a triggering operation from a user respectively when the distance between at least two earphone boxes is within a preset distance range; the enabling module, It is configured to open the data transmission mode according to the trigger operation; the interaction module is configured to interact with the stored data when there are at least two earphone boxes in the data transmission mode, so that each earphone box stores the data of all the earphone boxes. data; wherein, the data includes matching information between the earphones in the earphone box and different terminal devices.
在一种实施方式中,每个耳机盒上分别设置有指纹识别组件,接收模块还配置成当有至少两个耳机盒的距离处于预设距离范围内时,分别获取用户通过指纹识别组件输入的指纹信息。In one embodiment, each earphone box is provided with a fingerprint identification component respectively, and the receiving module is further configured to obtain the user input through the fingerprint identification component when the distance between at least two earphone boxes is within a preset distance range. fingerprint information.
在一种实施方式中,开启模块还配置成将指纹信息与预先储存的用户指纹进行匹配;其中,用户指纹为耳机盒对应用户的指纹信息,对应用户与耳机盒相对应;如果指纹信息与所述用户指纹匹配成功,开启数据传输模式。In one embodiment, the opening module is also configured to match the fingerprint information with the pre-stored user fingerprints; wherein, the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user corresponds to the earphone box; The user fingerprint matching is successful, and the data transmission mode is enabled.
在一种实施方式中,交互模块还配置成当有至少两个所述耳机盒处于所述数据传输模式时,将储存的用户指纹和与用户指纹对应的匹配信息进行交互,以使每个耳机盒中储存有所有耳机盒的用户指纹和匹配信息。In one embodiment, the interaction module is further configured to interact with the stored user fingerprints and matching information corresponding to the user fingerprints when at least two of the earphone boxes are in the data transmission mode, so that each earphone box is in the data transmission mode. User fingerprints and matching information of all earphone boxes are stored in the box.
在一种实施方式中,每个耳机盒上分别设置有显示组件;上述装置还包括:指纹获取模块,配置成通过指纹识别组件获取目标用户的指纹信息;其中,目标用户为多个对应用户中的一个;指纹匹配模块,配置成将指纹信息与储存的多个用户指纹进行匹配,获取匹配成功的用户指纹对应的匹配信息;显示模块,配置成通过显示组件显示匹配成功的用户指纹对应的匹配信息;终端设备确定模块,配置成根据目标用户对显示组件的触发操作确定需要匹配的终端设备;其中,匹配信息与终端设备一一对应。In one embodiment, each earphone box is respectively provided with a display component; the above-mentioned device further includes: a fingerprint acquisition module, configured to acquire fingerprint information of the target user through the fingerprint identification component; wherein, the target user is one of a plurality of corresponding users one; a fingerprint matching module, configured to match the fingerprint information with a plurality of stored user fingerprints, and obtain matching information corresponding to the successfully matched user fingerprints; a display module, configured to display the matching corresponding to the successfully matched user fingerprints through the display component information; a terminal device determination module configured to determine a terminal device to be matched according to a triggering operation of the display component by a target user; wherein, the matching information corresponds to the terminal device one-to-one.
在一种实施方式中,上述装置还包括加密模块,配置成当耳机盒中的耳机与终端设备匹配完成后,加密储存匹配过程中生成的匹配信息;其中,每个耳机盒储存的用户指纹与匹配信息相对应。In one embodiment, the above-mentioned device further includes an encryption module configured to encrypt and store the matching information generated during the matching process after the earphones in the earphone box are matched with the terminal device; wherein, the user fingerprint stored in each earphone box is the same as the user fingerprint stored in the earphone box. matching information.
第四方面,本申请实施例提供了一种计算机设备,包括处理器和存储器,存储器存储有能够被处理器执行的计算机可执行指令,处理器执行计算机可执行指令以实现上述第一方面提供的任一项的方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer device, including a processor and a memory, the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the above-mentioned first aspect. The steps of any of the methods.
第五方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器运行时执行上述第一方面提供的任一项的方法的步骤。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of any one of the methods provided in the first aspect are executed. .
本申请实施例带来了以下有益效果:The embodiments of the present application have brought the following beneficial effects:
本申请实施例提供的上述信息共享方法、装置、耳机盒及计算机可读存储介质,能够在有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作,将每个耳机盒中储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据(包括耳机盒中的耳机与不同的终端设备匹配的匹配信息)。上述方法能够将至少两个耳机盒中储存的与不同终端设备之间的匹配信息进行交互,使得每个耳机盒中储存多个耳机盒的匹配信息,从而可以通过调用不同耳机盒的匹配信息,直接与没有匹配过的终端设备进行连接,不需要重新进行匹配,减少了匹配时间。The above-mentioned information sharing method, device, earphone box, and computer-readable storage medium provided by the embodiments of the present application can respectively receive a user's trigger operation when the distance between at least two earphone boxes is within a preset distance range, and store each The data stored in the earphone boxes interact with each other, so that each earphone box stores the data of all the earphone boxes (including matching information of matching the earphones in the earphone box with different terminal devices). The above method can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that the matching information of multiple earphone boxes is stored in each earphone box, so that the matching information of different earphone boxes can be called, Directly connect with unmatched terminal equipment without re-matching, reducing the matching time.
本申请的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the description, claims and drawings.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举可选实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, optional embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the specific embodiments or the prior art will be briefly introduced below. The drawings are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本申请实施例提供的一种信息共享方法的流程图;1 is a flowchart of an information sharing method provided by an embodiment of the present application;
图2为本申请实施例提供的一种耳机盒与终端设备匹配及储存信息的示意图;2 is a schematic diagram of matching between an earphone box and a terminal device and storing information according to an embodiment of the present application;
图3为本申请实施例提供的一种耳机信息共享方法的流程图;3 is a flowchart of a method for sharing earphone information according to an embodiment of the present application;
图4为本申请实施例提供的一种信息交互的示意图;FIG. 4 is a schematic diagram of an information interaction provided by an embodiment of the present application;
图5为本申请实施例提供的一种匹配信息调取的示意图;5 is a schematic diagram of matching information retrieval provided by an embodiment of the present application;
图6为本申请实施例提供的一种信息共享装置的结构示意图;FIG. 6 is a schematic structural diagram of an information sharing apparatus provided by an embodiment of the present application;
图7为本申请实施例提供的一种耳机盒的结构示意图;7 is a schematic structural diagram of an earphone box provided by an embodiment of the present application;
图8为本申请实施例提供的一种计算机设备的结构示意图。FIG. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
图标:icon:
10-耳机盒主体;20-指纹识别组件;30-显示组件。10-headphone box body; 20-fingerprint identification assembly; 30-display assembly.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术 人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the present application will be described clearly and completely below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. example. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work, all belong to the scope of protection of this application.
目前,TWS耳机的初始匹配是由终端设备发起匹配请求完成匹配;完成匹配后,当需要再次连接终端设备时,之前已经匹配过的终端设备会自动读取存档的数据完成自动匹配。当TWS耳机与多个终端设备完成匹配后,会产生一个优先级最高的匹配设备,当多个匹配设备的蓝牙同时打开时,TWS耳机会优先与优先级最高的匹配设备进行匹配连接。如果用户想要与非最高优先级的设备进行连接,就必须使用该设备重新与TWS耳机进行匹配。而且由于TWS耳机只能储存与该耳机匹配过的终端设备,而大多数TWS耳机的外观一致,从而会出现TWS耳机误拿的情况,如果拿错的耳机没有与想要连接的终端设备进行过匹配,使用者就需要重新完成TWS耳机与终端设备的匹配才能建立连接,如果使用者拥有多台终端设备,就需要花费更长的时间逐个完成匹配才能重新使用,浪费时间。At present, the initial matching of the TWS headset is initiated by the terminal device to complete the matching; after the matching is completed, when the terminal device needs to be connected again, the terminal device that has been matched before will automatically read the archived data to complete the automatic matching. When the TWS headset is matched with multiple terminal devices, a matching device with the highest priority will be generated. When the Bluetooth of multiple matching devices is turned on at the same time, the TWS headset will preferentially match and connect with the matching device with the highest priority. If the user wants to connect with a device that is not the highest priority, it must be re-matched with the TWS headset using that device. Moreover, since the TWS headset can only store the terminal device that has been matched with the headset, and most TWS headsets have the same appearance, the TWS headset may be taken by mistake. If the wrong headset has not been connected to the terminal device that you want to connect If it is matched, the user needs to re-match the TWS headset and the terminal device to establish a connection. If the user has multiple terminal devices, it will take a longer time to complete the matching one by one before they can be reused, which is a waste of time.
基于此,本申请实施例提供的一种信息共享方法、装置、耳机盒及计算机可读存储介质,可以将不同耳机盒之间的匹配信息进行交互,减少匹配时间。Based on this, an information sharing method, device, earphone box, and computer-readable storage medium provided in the embodiments of the present application can interact with matching information between different earphone boxes, thereby reducing the matching time.
为便于对本实施例进行理解,首先对本申请实施例所公开的一种信息共享方法进行详细介绍,该方法应用于耳机盒,耳机盒可以是TWS耳机盒,参见图1所示的一种信息共享方法的流程图,示意出该方法主要包括以下步骤S102至步骤S106:In order to facilitate the understanding of this embodiment, an information sharing method disclosed in this embodiment of the present application is first introduced in detail. The method is applied to an earphone box, and the earphone box may be a TWS earphone box. Refer to an information sharing method shown in FIG. 1 . The flowchart of the method shows that the method mainly includes the following steps S102 to S106:
步骤S102:当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作。Step S102: When the distance between at least two earphone boxes is within a preset distance range, respectively receive a triggering operation of the user.
在一种实施方式中,耳机盒可以是TWS耳机盒,预设距离范围可以是在该范围内耳机盒之间可以进行通信,当至少两个耳机盒之间的距离处于预设范围内时,用户可以分别触发相应的耳机盒,用户可以是耳机盒的使用者,使用者可以是一个也可以是多个。具体的,用户可以通过按压耳机盒上的指纹识别组件触发相应的耳机盒,或者也可以通过语音触发相应的耳机盒(可选地,通 过获取相应的语音触发指令触发相应的耳机盒),不同的耳机盒可以是不同的用户进行触发(即不同耳机盒的使用者为不同用户),也可以是相同的用户进行触发(即不同耳机盒的使用者为同一用户)。In one embodiment, the earphone box may be a TWS earphone box, and the preset distance range may be within which communication can be performed between the earphone boxes. When the distance between at least two earphone boxes is within the preset range, The user can trigger the corresponding earphone box respectively, the user can be the user of the earphone box, and the user can be one or more. Specifically, the user can trigger the corresponding earphone box by pressing the fingerprint recognition component on the earphone box, or can also trigger the corresponding earphone box by voice (optionally, trigger the corresponding earphone box by acquiring the corresponding voice trigger instruction), different The earphone box can be triggered by different users (that is, the users of different earphone boxes are different users), or it can be triggered by the same user (that is, the users of different earphone boxes are the same user).
步骤S104:根据触发操作开启数据传输模式。Step S104: Turn on the data transmission mode according to the trigger operation.
在一种实施方式中,用户对耳机盒的触发操作可以激活传输机制并通过无线传输技术交互信息,即开启数据传输模式。In one embodiment, the triggering operation of the earphone box by the user can activate the transmission mechanism and exchange information through wireless transmission technology, that is, enable the data transmission mode.
步骤S106:当有至少两个耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据。Step S106: When at least two earphone boxes are in the data transmission mode, the stored data is interacted, so that each earphone box stores the data of all the earphone boxes.
具体的,当耳机盒激活数据传输机制(即将开启数据传输模式)后,可以将每个耳机盒中储存的数据通过无线技术与预设距离范围内的其他耳机盒进行交互,从而使得每个耳机盒中都储存有所有耳机盒的数据,其中,数据包括耳机盒中的耳机与不同的终端设备匹配的匹配信息。在一种具体的实施方式中,假设预设范围内有三个耳机盒,当有两个耳机盒处于数据传输模式时,即可以将这两个耳机盒的数据进行交互,不需要等待第三个耳机盒开启数据传输模式;或者在预设时间内第三个耳机盒没有被用户触发开启数据传输模式,则直接将处于数据传输模式的两个耳机盒之间进行数据交互。由于每个耳机盒的匹配信息可能存在差异,因此,每个耳机盒中不仅储存有匹配过的终端设备的匹配信息,还可以储存有未匹配过的终端设备的匹配信息,诸如耳机盒A中储存的匹配信息包括设备A1、设备A2和设备A3,耳机盒B中储存的匹配信息包括设备B1、设备B2和设备B3;那么经过数据交互后,耳机盒A和耳机盒B中均储存有匹配信息:设备A1、设备A2、设备A3、设备B1、设备B2和设备B3;从而当耳机盒中的耳机想要与未匹配过的终端设备(诸如设备B2)进行连接时可以直接获取该终端设备的匹配信息建立连接,不需要重新进行终端设备与耳机盒的匹配,减少了匹配时间,提高了连接效率。Specifically, when the headphone box activates the data transmission mechanism (the data transmission mode is about to be turned on), the data stored in each headphone box can interact with other headphone boxes within a preset distance through wireless technology, so that each headphone box can be Data of all earphone boxes are stored in the boxes, wherein the data includes matching information that the earphones in the earphone boxes are matched with different terminal devices. In a specific implementation, it is assumed that there are three earphone boxes in the preset range, when two earphone boxes are in the data transmission mode, the data of the two earphone boxes can be exchanged without waiting for the third earphone box. The headphone box turns on the data transmission mode; or if the third headphone box is not triggered by the user to turn on the data transmission mode within the preset time, data interaction is directly performed between the two headphone boxes in the data transmission mode. Since the matching information of each earphone box may be different, each earphone box not only stores the matching information of the matched terminal equipment, but also can store the matching information of the unmatched terminal equipment, such as in the earphone box A. The stored matching information includes device A1, device A2, and device A3, and the matching information stored in headphone box B includes device B1, device B2, and device B3; then after data interaction, both headphone box A and headphone box B store matching information. Information: device A1, device A2, device A3, device B1, device B2, and device B3; thus, when the earphones in the earphone box want to connect with an unmatched terminal device (such as device B2), the terminal device can be directly obtained There is no need to re-match the terminal device and the earphone box, which reduces the matching time and improves the connection efficiency.
本申请实施例提供的上述信息共享方法能够将至少两个耳机盒中储存的与不同终端设备之间的匹配信息进行交互,使得每个耳机盒中储存多个耳机盒 的匹配信息,从而可以通过调用不同耳机盒的匹配信息,直接与没有匹配过的终端设备进行连接,不需要重新进行匹配,减少了匹配时间。The above-mentioned information sharing method provided by the embodiment of the present application can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that each earphone box stores the matching information of multiple earphone boxes, so that the matching information of multiple earphone boxes can be The matching information of different earphone boxes is called, and the terminal device that has not been matched is directly connected, and there is no need to re-match, which reduces the matching time.
进一步,本申请实施例提供的上述信息共享方法还包括:当耳机盒中的耳机与终端设备匹配完成后,加密储存匹配过程中生成的匹配信息。匹配信息可以包括匹配成功的终端设备的名称、匹配时间等;此外,每个耳机盒中还储存有对应用户的用户指纹,每个耳机盒储存的用户指纹与匹配信息相对应。例如:耳机盒A1的对应用户的指纹信息为F1,匹配信息包括设备A1、设备A2、设备A3和设备A4,那么,指纹信息F1与设备A1、设备A2、设备A3和设备A4相对应,且用户指纹和匹配信息加密储存在耳机盒中,即通过指纹信息F1可以调取设备A1、设备A2、设备A3和设备A4。具体的,参见图2所示的一种耳机盒与终端设备匹配及储存信息的示意图,示意出TWS耳机盒A中储存有使用者的指纹信息指纹F1,TWS耳机盒中的耳机与设备A1、设备A2、设备A3和设备A4进行匹配,匹配完成后储存匹配信息,即在TWS耳机盒A中加密储存指纹F1和设备信息A1、A2、A3和A4。Further, the above-mentioned information sharing method provided by the embodiment of the present application further includes: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the matching information generated in the matching process. The matching information may include the name of the successfully matched terminal device, the matching time, etc.; in addition, each earphone box also stores the user fingerprint of the corresponding user, and the user fingerprint stored in each earphone box corresponds to the matching information. For example: the fingerprint information of the corresponding user of the earphone box A1 is F1, and the matching information includes device A1, device A2, device A3 and device A4, then the fingerprint information F1 corresponds to device A1, device A2, device A3 and device A4, and The user fingerprint and matching information are encrypted and stored in the earphone box, that is, the device A1, the device A2, the device A3 and the device A4 can be retrieved through the fingerprint information F1. Specifically, referring to a schematic diagram of matching between an earphone box and a terminal device and storing information shown in FIG. 2 , it is shown that the user's fingerprint information fingerprint F1 is stored in the TWS earphone box A, and the earphones in the TWS earphone box and the device A1, Device A2, device A3 and device A4 are matched, and the matching information is stored after the matching is completed, that is, the fingerprint F1 and the device information A1, A2, A3 and A4 are encrypted and stored in the TWS earphone box A.
本申请实施例提供的每个耳机盒上分别设置有指纹识别组件,为便于理解,本申请实施例还提供了一种当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作的具体事例,也即对于上述步骤S102可以按照以下步骤执行:当有至少两个耳机盒的距离处于预设距离范围内时,分别获取用户通过指纹识别组件输入的指纹信息。具体的,当至少两个耳机盒之间的距离处于预设距离范围内时(或者当至少两个耳机盒靠近时),用户(即使用者)可以通过按压耳机盒表面的指纹识别组件,以使每个耳机盒获取用户的指纹信息。Each earphone box provided in the embodiment of the present application is provided with a fingerprint identification component. For ease of understanding, the embodiment of the present application also provides a method for receiving the A specific example of the user's triggering operation, that is, the above-mentioned step S102 can be performed according to the following steps: when the distance between at least two earphone boxes is within the preset distance range, the fingerprint information input by the user through the fingerprint identification component is obtained respectively. Specifically, when the distance between at least two earphone boxes is within a preset distance range (or when at least two earphone boxes are close), the user (ie, the user) can press the fingerprint recognition component on the surface of the earphone box to Make each earphone box obtain the user's fingerprint information.
进一步,对于上述步骤S104可以按照以下步骤执行:将指纹信息与预先储存的用户指纹进行匹配;如果指纹信息与所述用户指纹匹配成功,开启数据传输模式。在一种具体实施方式中,耳机盒内预先储存了用户指纹,用户指纹为耳机盒对应用户的指纹信息,对应用户与耳机盒相对应,也即用户指纹是耳 机盒使用者的指纹,在通过指纹识别组件获取到用户的指纹信息后,需要将指纹信息与用户指纹进行匹配,以此来判断该用户是否为耳机盒的使用者。当指纹信息与用户指纹匹配成功后,则证明该用户为耳机盒的使用者,同时开启数据传输模式。Further, the above step S104 can be performed according to the following steps: matching the fingerprint information with the pre-stored user fingerprint; if the fingerprint information and the user fingerprint are successfully matched, the data transmission mode is enabled. In a specific embodiment, the user fingerprint is pre-stored in the earphone box, the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user corresponds to the earphone box, that is, the user fingerprint is the fingerprint of the user of the earphone box. After the fingerprint identification component acquires the user's fingerprint information, it needs to match the fingerprint information with the user's fingerprint, so as to determine whether the user is a user of the earphone box. When the fingerprint information is successfully matched with the user's fingerprint, it is proved that the user is the user of the earphone box, and the data transmission mode is turned on at the same time.
本申请实施例还提供了一种当有至少两个耳机盒处于数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的所述数据的具体事例,也即对于上述步骤S106可以按照以下步骤执行:当有至少两个所述耳机盒处于所述数据传输模式时,将储存的用户指纹和与用户指纹对应的匹配信息进行交互,以使每个耳机盒中储存有所有耳机盒的用户指纹和匹配信息。具体的,耳机盒获取到对应用户的指纹信息后可以激活传输机制(即开启数据传输模式),将每个耳机盒的用户指纹和与用户指纹对应的匹配信息与其他耳机盒进行交互,以使每个耳机盒中储存有预设距离范围内所有耳机盒储存的用户指纹和匹配信息。The embodiment of the present application also provides a specific example of interacting the stored data when at least two earphone boxes are in the data transmission mode, so that each earphone box stores the data of all the earphone boxes, and also That is, the above-mentioned step S106 can be performed according to the following steps: when at least two of the earphone boxes are in the data transmission mode, the stored user fingerprints and the matching information corresponding to the user fingerprints are interacted, so that each earphone box is User fingerprints and matching information of all earphone boxes are stored in . Specifically, after acquiring the fingerprint information of the corresponding user, the earphone box can activate the transmission mechanism (that is, enable the data transmission mode), and interact the user fingerprint of each earphone box and the matching information corresponding to the user fingerprint with other earphone boxes, so as to make Each earphone box stores user fingerprints and matching information stored in all earphone boxes within a preset distance.
当多个耳机盒进行信息交互后,用户在错拿耳机盒时,可以通过指纹信息调取耳机盒内储存的与之相匹配的匹配信息,然后选择所需的设备进行连接。在一种实施方式中,每个耳机盒上分别设置有显示组件,可以通过指纹识别组件获取目标用户的指纹信息;然后将指纹信息与储存的多个用户指纹进行匹配,获取匹配成功的用户指纹对应的匹配信息;之后通过显示组件显示匹配成功的用户指纹对应的匹配信息;最后根据目标用户对显示组件的触发操作确定需要匹配的设备。在实际应用中,经过信息交互的耳机盒中储存有多个对应用户的指纹信息,目标用户为多个对应用户(也即耳机盒的使用者)中的一个,例如耳机盒中储存有使用者1的指纹F1和使用者2的指纹F2,则使用者1和使用者2均为对应用户,目标用户为使用者1或者使用者2。使用者1可以按压指纹识别组件,耳机盒可以得到使用者1的指纹F1,然后根据指纹F1查找与指纹F1对应的匹配信息,并通过显示组件(诸如触摸显示屏)显示与指纹F1 对应的匹配信息;使用者1可以通过点击需要连接的匹配信息,完成耳机与终端设备的连接。When multiple earphone boxes interact with each other, when the user takes the earphone box by mistake, the user can retrieve the matching information stored in the earphone box through the fingerprint information, and then select the required device to connect. In one embodiment, each earphone box is provided with a display component respectively, and the fingerprint information of the target user can be obtained through the fingerprint identification component; then the fingerprint information is matched with the stored multiple user fingerprints to obtain the successfully matched user fingerprints Then, the matching information corresponding to the successfully matched user fingerprint is displayed through the display component; finally, the device to be matched is determined according to the trigger operation of the target user on the display component. In practical applications, fingerprint information of a plurality of corresponding users is stored in the earphone box after information interaction, and the target user is one of the plurality of corresponding users (that is, the user of the earphone box). For example, the earphone box stores the user's fingerprint information. 1's fingerprint F1 and user 2's fingerprint F2, then both user 1 and user 2 are corresponding users, and the target user is user 1 or user 2. User 1 can press the fingerprint recognition component, and the earphone box can obtain the fingerprint F1 of User 1, and then find the matching information corresponding to the fingerprint F1 according to the fingerprint F1, and display the matching information corresponding to the fingerprint F1 through the display component (such as a touch screen) information; User 1 can complete the connection between the headset and the terminal device by clicking on the matching information to be connected.
为了便于理解,本申请实施例还提供了一种具体的耳机信息共享方法,参见图3所示的一种耳机信息共享方法的流程图,以两个TWS耳机盒为例;该方法主要包括以下步骤S302至步骤S310:For ease of understanding, the embodiment of the present application also provides a specific headset information sharing method. Referring to the flowchart of a headset information sharing method shown in FIG. 3 , two TWS headset boxes are taken as an example; the method mainly includes the following Steps S302 to S310:
步骤S302:两个TWS耳机盒分别与不同的终端匹配。具体的,终端设备可以是手机、平板或电脑等可以与TWS耳机搭配使用的终端设备。Step S302: The two TWS earphone boxes are respectively matched with different terminals. Specifically, the terminal device may be a terminal device that can be used with the TWS headset, such as a mobile phone, a tablet, or a computer.
步骤S304:TWS耳机与每个终端设备匹配完成后,将生成的匹配信息加密储存于对应的TWS耳机盒中。Step S304: After the TWS headset is matched with each terminal device, the generated matching information is encrypted and stored in the corresponding TWS headset box.
在一种实施方式中,每个TWS耳机盒中还储存有使用者(对应用户)的指纹信息,诸如TWS耳机盒A中储存使用者1的指纹F1,TWS耳机盒B中储存使用者2的指纹F2。In one embodiment, each TWS earphone box also stores the fingerprint information of the user (corresponding to the user), such as the fingerprint F1 of user 1 stored in TWS earphone box A, and the fingerprint information of user 2 stored in TWS earphone box B. Fingerprint F2.
步骤S306:当两个TWS耳机盒之间的距离处于预设距离范围内时,通过按压每个TWS耳机盒的指纹识别组件激活传输机制,并通过无线传输技术进行信息交互。Step S306: when the distance between the two TWS earphone boxes is within the preset distance range, activate the transmission mechanism by pressing the fingerprint recognition component of each TWS earphone box, and perform information exchange through wireless transmission technology.
参见图4所示的一种信息交互的示意图,示意出TWS耳机盒A内部储存有指纹F1和与已经成功匹配过的终端设备信息:A1、A2、A3和A4;TWS耳机盒B内部储存有指纹F2和与已经成功匹配过的终端设备信息:B1、B2、B3和B4;TWS耳机盒A和TWS耳机盒B的使用者通过按压耳机盒上的指纹识别组件(诸如指纹识别按钮)以达到信息交互的加密。具体的,不同的使用者可以按住指纹识别组件,使两个TWS耳机盒相互靠近,当两个TWS耳机盒之间的距离处于预设距离范围内时,可以激活数据传输指令,两个TWS耳机盒的数据进行无线传输,达到数据共享,并且还可以根据数据来自不同TWS耳机盒的指纹信息将数据进行加密分类归档。信息交互完成后,TWS耳机盒A和TWS耳机盒B均储存有各自匹配过和未匹配过的设备信息:A1、 A2、A3、A4、B1、B2、B3和B4以及指纹F1和指纹F2,且指纹F1与A1、A2、A3、A4相对应,指纹F2与B1、B2、B3、B4相对应。Referring to a schematic diagram of an information interaction shown in FIG. 4, it is shown that the fingerprint F1 and the terminal equipment information that has been successfully matched with the TWS earphone box A are stored inside the TWS earphone box A: A1, A2, A3 and A4; Fingerprint F2 and the terminal equipment information that has been successfully matched: B1, B2, B3 and B4; the user of TWS earphone box A and TWS earphone box B presses the fingerprint recognition component (such as the fingerprint recognition button) on the earphone box to achieve Encryption of information exchange. Specifically, different users can press and hold the fingerprint recognition component to make the two TWS earphone boxes close to each other. When the distance between the two TWS earphone boxes is within the preset distance range, the data transmission command can be activated, and the two TWS earphone boxes can be activated. The data of the earphone box is wirelessly transmitted to achieve data sharing, and the data can also be encrypted, classified and archived according to the fingerprint information of the data from different TWS earphone boxes. After the information exchange is completed, both TWS earphone box A and TWS earphone box B store their matched and unmatched device information: A1, A2, A3, A4, B1, B2, B3 and B4, as well as fingerprints F1 and F2, And the fingerprint F1 corresponds to A1, A2, A3, and A4, and the fingerprint F2 corresponds to B1, B2, B3, and B4.
步骤S308:目标用户通过指纹识别组件调取与指纹信息对应的匹配信息。Step S308: The target user retrieves matching information corresponding to the fingerprint information through the fingerprint identification component.
具体的,目标用户可以是指纹F1使用者(表示使用者的指纹信息为指纹F1)或者指纹F2使用者(表示使用者的指纹信息为指纹F2)。参见图5所示的一种匹配信息调取的示意图,示意出信息交互完成后的TWS耳机盒A中不仅储存有A1、A2、A3、A4,还储存有B1、B2、B3、B4;使用者可以通过指纹信息调取与之对应的匹配信息,具体的,指纹F1或指纹F2使用者可以通过识别指纹得到输出数据(即得到与指纹信息对应的匹配信息):指纹F1使用者(即指纹F1用户)可以得到指纹F1对应的设备信息(即匹配信息):A1、A2、A3、A4;指纹F2使用者(即指纹F2用户)可以得到指纹F2对应的设备信息:B1、B2、B3、B4;进一步,得到的设备信息可以通过显示组件进行显示。Specifically, the target user may be a user of fingerprint F1 (indicating that the user's fingerprint information is fingerprint F1) or a user of fingerprint F2 (indicating that the user's fingerprint information is fingerprint F2). Referring to a schematic diagram of matching information retrieval shown in FIG. 5, it is shown that not only A1, A2, A3, and A4 are stored in the TWS earphone box A after the information exchange is completed, but also B1, B2, B3, and B4 are stored; use The user can retrieve the matching information corresponding to the fingerprint information through the fingerprint information. Specifically, the user of the fingerprint F1 or the fingerprint F2 can obtain the output data by identifying the fingerprint (that is, obtain the matching information corresponding to the fingerprint information): the user of the fingerprint F1 (that is, the fingerprint F1 users) can get the device information (that is, matching information) corresponding to fingerprint F1: A1, A2, A3, A4; fingerprint F2 users (that is, fingerprint F2 users) can get the device information corresponding to fingerprint F2: B1, B2, B3, B4; Further, the obtained device information can be displayed through a display component.
步骤S310:目标用户通过显示组件选择需要连接的终端设备,完成连接。Step S310: The target user selects the terminal device to be connected through the display component to complete the connection.
具体的,目标用户可以点击显示模块上需要连接的终端设备完成连接,也可以通过语音选择需要连接的终端设备完成连接。Specifically, the target user can click the terminal device to be connected on the display module to complete the connection, or can select the terminal device to be connected to complete the connection by voice.
本申请实施例提供的上述信息共享方法,可以有效地完成不同耳机之间匹配信息的交互,诸如家庭用户A和B的耳机各自匹配过不同的终端设备,在信息交互完成后,A和B可以使用任何设备;同时能够根据身份信息(诸如指纹信息)将匹配信息单独加密存储归档,在需要使用时通过指纹识别激活储存的相应的匹配信息,诸如当公共场合存有多个耳机设备时,多个耳机设备经过信息交互后,使用者A或B可根据自己指纹调取自己的设备信息,安全快捷;此外用户还可以通过TWS耳机盒主动选择需要匹配连接的终端设备,更加快速准确地连接终端设备。The above information sharing method provided by the embodiments of the present application can effectively complete the interaction of matching information between different earphones. For example, the earphones of home users A and B have been matched with different terminal devices. After the information exchange is completed, A and B can Use any device; at the same time, the matching information can be encrypted and stored separately according to the identity information (such as fingerprint information), and the corresponding matching information stored can be activated through fingerprint recognition when needed, such as when there are multiple earphone devices in a public place. After the information exchange of each headset device, user A or B can retrieve their own device information according to their fingerprints, which is safe and fast; in addition, the user can also actively select the terminal device that needs to be matched and connected through the TWS headset box, so as to connect the terminal more quickly and accurately equipment.
对于前述信息共享方法,本申请实施例提供了一种信息共享装置,参见图6所示的一种信息共享装置的结构示意图,示意出该装置可以包括以下部分:For the foregoing information sharing method, an embodiment of the present application provides an information sharing apparatus. Referring to the schematic structural diagram of an information sharing apparatus shown in FIG. 6 , it is shown that the apparatus may include the following parts:
接收模块601,配置成当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作。The receiving module 601 is configured to respectively receive a triggering operation of a user when the distance between at least two earphone boxes is within a preset distance range.
开启模块602,配置成根据触发操作开启数据传输模式。The enabling module 602 is configured to enable the data transmission mode according to the trigger operation.
交互模块603,配置成当有至少两个耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据;其中,数据包括耳机盒中的耳机与不同的终端设备匹配的匹配信息。The interaction module 603 is configured to interact with the stored data when there are at least two earphone boxes in the data transmission mode, so that each earphone box stores the data of all earphone boxes; Matching information of earphones matched with different terminal devices.
本申请实施例提供的上述信息共享装置能够将至少两个耳机盒中储存的与不同终端设备之间的匹配信息进行交互,使得每个耳机盒中储存多个耳机盒的匹配信息,从而可以通过调用不同耳机盒的匹配信息,直接与没有匹配过的终端设备进行连接,不需要重新进行匹配,减少了匹配时间。The above-mentioned information sharing device provided by the embodiment of the present application can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that each earphone box stores the matching information of multiple earphone boxes, so that the matching information of multiple earphone boxes can be stored in each earphone box. The matching information of different earphone boxes is called, and the terminal device that has not been matched is directly connected, and there is no need to re-match, which reduces the matching time.
在一种实施方式中,每个耳机盒上分别设置有指纹识别组件,上述接收模块601还配置成当有至少两个耳机盒的距离处于预设距离范围内时,分别获取用户通过指纹识别组件输入的指纹信息。In one embodiment, each earphone box is provided with a fingerprint identification component, and the receiving module 601 is further configured to obtain the user's fingerprint identification component when the distance between at least two earphone boxes is within a preset distance range. Enter the fingerprint information.
在一种实施方式中,上述开启模块602还配置成将指纹信息与预先储存的用户指纹进行匹配;其中,用户指纹为耳机盒对应用户的指纹信息,对应用户与耳机盒相对应;如果指纹信息与所述用户指纹匹配成功,开启数据传输模式。In one embodiment, the above-mentioned opening module 602 is also configured to match the fingerprint information with the pre-stored user fingerprint; wherein, the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user corresponds to the earphone box; if the fingerprint information If it is successfully matched with the user fingerprint, the data transmission mode is turned on.
在一种实施方式中,上述交互模块603还配置成当有至少两个所述耳机盒处于所述数据传输模式时,将储存的用户指纹和与用户指纹对应的匹配信息进行交互,以使每个耳机盒中储存有所有耳机盒的用户指纹和匹配信息。In one embodiment, the above interaction module 603 is further configured to interact with the stored user fingerprints and matching information corresponding to the user fingerprints when at least two of the earphone boxes are in the data transmission mode, so that each Each earphone box stores user fingerprints and matching information of all earphone boxes.
在一种实施方式中,每个耳机盒上分别设置有显示组件;上述信息共享装置还包括:指纹获取模块,配置成通过指纹识别组件获取目标用户的指纹信息;其中,目标用户为多个对应用户中的一个;指纹匹配模块,配置成将指纹信息与储存的多个用户指纹进行匹配,获取匹配成功的用户指纹对应的匹配信息;显示模块,配置成通过显示组件显示匹配成功的用户指纹对应的匹配信息;终端设备确定模块,配置成根据目标用户对显示组件的触发操作确定需要匹配的终端设备;其中,匹配信息与终端设备一一对应。In one embodiment, each earphone box is respectively provided with a display component; the above-mentioned information sharing device further includes: a fingerprint acquisition module configured to acquire the fingerprint information of the target user through the fingerprint identification component; wherein, the target user is a plurality of corresponding One of the users; a fingerprint matching module, configured to match the fingerprint information with a plurality of stored user fingerprints, and obtain matching information corresponding to the successfully matched user fingerprints; a display module, configured to display the corresponding matching of the successfully matched user fingerprints through the display component The terminal equipment determination module is configured to determine the terminal equipment to be matched according to the trigger operation of the display component by the target user; wherein, the matching information corresponds to the terminal equipment one-to-one.
在一种实施方式中,上述信息共享装置还包括加密模块,配置成当耳机盒中的耳机与终端设备匹配完成后,加密储存匹配过程中生成的匹配信息;其中,每个耳机盒储存的用户指纹与匹配信息相对应。In one embodiment, the above-mentioned information sharing device further includes an encryption module configured to encrypt and store the matching information generated in the matching process after the earphones in the earphone box are matched with the terminal device; Fingerprints correspond to matching information.
关于信息共享装置的具体限定可以参见上文中对于信息共享方法的限定,在此不再赘述。上述信息共享装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the information sharing apparatus, reference may be made to the limitations on the information sharing method above, which will not be repeated here. Each module in the above-mentioned information sharing apparatus may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
对于前述信息共享方法,本申请实施例还提供了一种耳机盒,该耳机盒可以采用前述方法进行不同耳机盒之间的信息共享,参见图7所示的一种耳机盒的结构示意图,示意出该耳机盒包括:耳机盒主体10和设置在耳机盒主体10上的指纹识别组件20和显示组件30;耳机盒主体10配置成存放耳机;指纹识别组件20配置成识别对应用户的指纹信息,以完成与其他耳机盒的数据交互;显示组件30配置成显示与识别到的指纹信息对应的匹配信息。For the aforementioned information sharing method, an embodiment of the present application further provides an earphone box, which can use the aforementioned method to share information between different earphone boxes. Referring to the schematic structural diagram of an earphone box shown in FIG. The earphone box includes: the earphone box main body 10 and the fingerprint identification component 20 and the display component 30 arranged on the earphone box main body 10; the earphone box main body 10 is configured to store the earphone; the fingerprint identification component 20 is configured to identify the fingerprint information of the corresponding user, In order to complete the data interaction with other earphone boxes; the display component 30 is configured to display matching information corresponding to the identified fingerprint information.
本申请实施例提供的上述耳机盒能够通过指纹识别组件将至少两个耳机盒中储存的与不同终端设备之间的匹配信息进行交互,使得每个耳机盒中储存多个耳机盒的匹配信息,然后可以通过指纹识别组件识别不同用户的指纹信息,通过显示组件显示与识别到的指纹信息对应的匹配信息,从而直接与没有匹配过的终端设备进行连接,不需要重新进行匹配,减少了匹配时间。The above-mentioned earphone boxes provided by the embodiments of the present application can interact with the matching information stored in at least two earphone boxes with different terminal devices through the fingerprint identification component, so that each earphone box stores the matching information of multiple earphone boxes, Then, the fingerprint information of different users can be identified through the fingerprint identification component, and the matching information corresponding to the identified fingerprint information can be displayed through the display component, so as to directly connect with the terminal device that has not been matched without re-matching, which reduces the matching time. .
在一种实施方式中,上述指纹识别组件20还配置成识别目标用户的指纹信息,以获取目标用户的指纹信息对应的匹配信息。In one embodiment, the above-mentioned fingerprint identification component 20 is further configured to identify the fingerprint information of the target user, so as to obtain matching information corresponding to the fingerprint information of the target user.
进一步,上述耳机盒还包括耳机,耳机可以包括TWS耳机。Further, the above-mentioned earphone box further includes earphones, and the earphones may include TWS earphones.
本申请实施例所提供的耳机盒,其信息共享的实现原理及产生的技术效果和前述方法实施例相同,为简要描述,本实施例部分未提及之处,可参考前述方法实施例中相应内容。In the earphone box provided by the embodiment of the present application, the realization principle of information sharing and the technical effect produced are the same as those of the foregoing method embodiments. content.
本申请实施例还提供了一种计算机设备,该计算机设备可以是耳机盒,可以是终端,可以是携带有耳机盒的终端,参见图8所示的一种计算机设备的结构示意图,该计算机设备包括通过系统总线连接的处理器80、存储器81、通信接口82、显示屏83和输入装置84。其中,该计算机设备的处理器80配置成提供计算和控制能力;该计算机设备的存储器81包括非易失性存储介质、内存储器,该非易失性存储介质存储有操作系统和计算机程序,该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境;该计算机设备的通信接口82配置成与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、近场通信(NFC)或其他技术实现,该计算机程序被处理器80执行时以实现前述实施例提供的信息共享方法;该计算机设备的显示屏83可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置84可以是显示屏83上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。An embodiment of the present application also provides a computer device, which may be an earphone box, a terminal, or a terminal carrying an earphone box. Referring to the schematic structural diagram of a computer device shown in FIG. 8 , the computer device It includes a processor 80 , a memory 81 , a communication interface 82 , a display screen 83 and an input device 84 connected through a system bus. The processor 80 of the computer device is configured to provide computing and control capabilities; the memory 81 of the computer device includes a non-volatile storage medium, an internal memory, the non-volatile storage medium stores an operating system and a computer program, the The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium; the communication interface 82 of the computer device is configured to communicate with an external terminal in a wired or wireless manner. Network, near field communication (NFC) or other technologies, the computer program is executed by the processor 80 to realize the information sharing method provided by the foregoing embodiments; the display screen 83 of the computer device may be a liquid crystal display screen or an electronic ink display screen , the input device 84 of the computer equipment can be a touch layer covered on the display screen 83, or a button, a trackball or a touchpad set on the shell of the computer equipment, or an external keyboard, a touchpad or a mouse, etc. .
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,本申请实施例提供的信息共享装置可以实现为一种计算机程序的形式,计算机程序可在如图8所示的计算机设备上运行。计算机设备的存储器中可存储组成该信息共享装置的各个程序模块,比如,图6所示的接收模块、开启模块和交互模块。各个程序模块构成的计算机程序使得处理器执行本申请各个实施例提供的信息共享方法中的步骤。In one embodiment, the information sharing apparatus provided by the embodiments of the present application may be implemented in the form of a computer program, and the computer program may be executed on the computer device as shown in FIG. 8 . The memory of the computer device may store various program modules that constitute the information sharing apparatus, for example, the receiving module, the opening module and the interaction module shown in FIG. 6 . The computer program constituted by each program module enables the processor to execute the steps in the information sharing method provided by each embodiment of the present application.
例如,图8所示的计算机设备可以通过如图6所示的信息共享装置中的接收模块执行步骤当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作;计算机设备可通过开启模块执行步骤根据触发操作开启数据传输模式;计算机设备可通过交互模块执行步骤当有至少两个耳机盒处于所述 数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据。For example, the computer equipment shown in FIG. 8 can receive the triggering operation of the user respectively when the distance between at least two earphone boxes is within the preset distance range by the receiving module in the information sharing device as shown in FIG. 6 performing the steps; The computer device can perform the step of opening the module to turn on the data transmission mode according to the trigger operation; the computer device can perform the step through the interaction module. When there are at least two earphone boxes in the data transmission mode, the stored data is interacted, so that each The headphone box stores all the data of the headphone box.
在一个实施例中,本申请实施例提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作;根据触发操作开启数据传输模式;当有至少两个耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据。In one embodiment, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the processor implements the following steps: when there is a distance between at least two earphone boxes When within the preset distance range, respectively receive the trigger operation of the user; turn on the data transmission mode according to the trigger operation; when there are at least two earphone boxes in the data transmission mode, interact with the stored data, so that each earphone box is in the data transmission mode. The box stores all the data of the headphone box.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当有至少两个耳机盒的距离处于预设距离范围内时,分别获取用户通过指纹识别组件输入的指纹信息。In one embodiment, when the processor executes the computer program, the following steps are further implemented: when the distance between at least two earphone boxes is within a preset distance range, respectively acquire fingerprint information input by the user through the fingerprint identification component.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:将指纹信息与预先储存的用户指纹进行匹配;如果指纹信息与所述用户指纹匹配成功,开启数据传输模式。In one embodiment, when the processor executes the computer program, the processor further implements the following steps: matching the fingerprint information with a pre-stored user fingerprint; if the fingerprint information and the user fingerprint are successfully matched, enable the data transmission mode.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当有至少两个所述耳机盒处于所述数据传输模式时,将储存的用户指纹和与用户指纹对应的匹配信息进行交互,以使每个耳机盒中储存有所有耳机盒的用户指纹和匹配信息。In one embodiment, the processor further implements the following steps when executing the computer program: when at least two of the earphone boxes are in the data transmission mode, interacting the stored user fingerprints with matching information corresponding to the user fingerprints, So that the user fingerprints and matching information of all the earphone boxes are stored in each earphone box.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过指纹识别组件获取目标用户的指纹信息;然后将指纹信息与储存的多个用户指纹进行匹配,获取匹配成功的用户指纹对应的匹配信息;之后通过显示组件显示匹配成功的用户指纹对应的匹配信息;最后根据目标用户对显示组件的触发操作确定需要匹配的终端设备。In one embodiment, the processor also implements the following steps when executing the computer program: obtaining the fingerprint information of the target user through the fingerprint identification component; then matching the fingerprint information with the stored multiple user fingerprints, and obtaining the corresponding user fingerprints that are successfully matched. Matching information; then, the matching information corresponding to the successfully matched user fingerprints is displayed through the display component; finally, the terminal equipment to be matched is determined according to the trigger operation of the target user on the display component.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当耳机盒中的耳机与终端设备匹配完成后,加密储存匹配过程中生成的匹配信息;其中,每个耳机盒储存的用户指纹与匹配信息相对应。In one embodiment, the processor also implements the following steps when executing the computer program: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the matching information generated in the matching process; wherein, the user fingerprint stored in each earphone box Corresponds to matching information.
本申请实施例提供的上述计算机设备的处理器执行计算机程序时能够将至少两个耳机盒中储存的与不同终端设备之间的匹配信息进行交互,使得每个耳机盒中储存多个耳机盒的匹配信息,从而可以通过调用不同耳机盒的匹配信息,直接与没有匹配过的终端设备进行连接,不需要重新进行匹配,减少了匹配时间。When the processor of the above-mentioned computer device provided in the embodiment of the present application executes the computer program, it can interact with the matching information stored in at least two earphone boxes and between different terminal devices, so that each earphone box stores data of multiple earphone boxes. Matching information, so that the matching information of different earphone boxes can be called to directly connect with the terminal device that has not been matched without re-matching, which reduces the matching time.
进一步,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作;根据触发操作开启数据传输模式;当有至少两个耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据。Further, an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor, the following steps are implemented: when the distance between at least two earphone boxes is within a preset distance range When there are at least two earphone boxes in the data transmission mode, the stored data is interacted, so that all earphone boxes are stored in each earphone box. box data.
在一种实施方式中,处理器执行计算机程序时还实现以下步骤:当有至少两个耳机盒的距离处于预设距离范围内时,分别获取用户通过指纹识别组件输入的指纹信息。In one embodiment, when the processor executes the computer program, the processor further implements the following steps: when the distance between at least two earphone boxes is within a preset distance range, respectively acquire fingerprint information input by the user through the fingerprint identification component.
在一种实施方式中,处理器执行计算机程序时还实现以下步骤:将指纹信息与预先储存的用户指纹进行匹配;如果指纹信息与所述用户指纹匹配成功,开启数据传输模式。In one embodiment, the processor further implements the following steps when executing the computer program: matching the fingerprint information with the pre-stored user fingerprint; if the fingerprint information and the user fingerprint are successfully matched, enable the data transmission mode.
在一种实施方式中,处理器执行计算机程序时还实现以下步骤:当有至少两个所述耳机盒处于所述数据传输模式时,将储存的用户指纹和与用户指纹对应的匹配信息进行交互,以使每个耳机盒中储存有所有耳机盒的用户指纹和匹配信息。In one embodiment, the processor further implements the following steps when executing the computer program: when at least two of the earphone boxes are in the data transmission mode, interacting the stored user fingerprints with matching information corresponding to the user fingerprints , so that the user fingerprints and matching information of all earphone boxes are stored in each earphone box.
在一种实施方式中,处理器执行计算机程序时还实现以下步骤:通过指纹识别组件获取目标用户的指纹信息;然后将指纹信息与储存的多个用户指纹进行匹配,获取匹配成功的用户指纹对应的匹配信息;之后通过显示组件显示匹配成功的用户指纹对应的匹配信息;最后根据目标用户对显示组件的触发操作确定需要匹配的终端设备。In one embodiment, the processor also implements the following steps when executing the computer program: obtaining the fingerprint information of the target user through the fingerprint identification component; then matching the fingerprint information with the stored multiple user fingerprints, and obtaining the corresponding user fingerprints that are matched successfully. Then, the matching information corresponding to the successfully matched user fingerprints is displayed through the display component; finally, the terminal device to be matched is determined according to the trigger operation of the target user on the display component.
在一种实施方式中,处理器执行计算机程序时还实现以下步骤:当耳机盒中的耳机与终端设备匹配完成后,加密储存匹配过程中生成的匹配信息;其中,每个耳机盒储存的用户指纹与匹配信息相对应。In one embodiment, the processor also implements the following steps when executing the computer program: after the earphone in the earphone box is matched with the terminal device, encrypting and storing the matching information generated during the matching process; wherein, the user stored in each earphone box Fingerprints correspond to matching information.
本申请实施例提供的上述计算机可读存储介质的处理器执行计算机程序时能够将至少两个耳机盒中储存的与不同终端设备之间的匹配信息进行交互,使得每个耳机盒中储存多个耳机盒的匹配信息,从而可以通过调用不同耳机盒的匹配信息,直接与没有匹配过的终端设备进行连接,不需要重新进行匹配,减少了匹配时间。When the processor of the computer-readable storage medium provided in the embodiment of the present application executes the computer program, it can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that each earphone box stores multiple The matching information of the earphone box can be directly connected with the terminal device that has not been matched by calling the matching information of different earphone boxes, without re-matching, which reduces the matching time.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present application, and are used to illustrate the technical solutions of the present application, rather than limit them. The embodiments describe the application in detail, and those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the application. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be covered in this application. within the scope of protection. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
工业实用性Industrial Applicability
本申请实施例提供的上述信息共享方法、装置、耳机盒及计算机可读存储介质,能够在有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作,将每个耳机盒中储存的数据进行交互,以使每个耳机盒中储存有所有耳机盒的数据(包括耳机盒中的耳机与不同的终端设备匹配的匹配信息)。上述方法能够将至少两个耳机盒中储存的与不同终端设备之间的匹配信息进行交互,使得每个耳机盒中储存多个耳机盒的匹配信息,从而可以通过调用不同耳机盒的匹配信息,直接与没有匹配过的终端设备进行连接,不需要重新进行匹配,减少了匹配时间。The above-mentioned information sharing method, device, earphone box, and computer-readable storage medium provided by the embodiments of the present application can respectively receive a user's trigger operation when the distance between at least two earphone boxes is within a preset distance range, and store each The data stored in the earphone boxes interact with each other, so that each earphone box stores the data of all the earphone boxes (including matching information of matching the earphones in the earphone box with different terminal devices). The above method can interact with the matching information stored in at least two earphone boxes with different terminal devices, so that the matching information of multiple earphone boxes is stored in each earphone box, so that the matching information of different earphone boxes can be called, Directly connect with unmatched terminal equipment without re-matching, reducing the matching time.

Claims (15)

  1. 一种信息共享方法,所述方法应配置成耳机盒,其特征在于,包括:An information sharing method, the method should be configured as an earphone box, characterized in that it includes:
    当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作;When the distance between at least two earphone boxes is within the preset distance range, receive the user's trigger operation respectively;
    根据所述触发操作开启数据传输模式;Turn on the data transmission mode according to the trigger operation;
    当有至少两个所述耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个所述耳机盒中储存有所有所述耳机盒的所述数据;When at least two of the earphone boxes are in the data transmission mode, interact with the stored data, so that each of the earphone boxes stores the data of all the earphone boxes;
    其中,所述数据包括所述耳机盒中的耳机与不同的终端设备匹配的匹配信息。Wherein, the data includes matching information of the earphones in the earphone box being matched with different terminal devices.
  2. 根据权利要求1所述的信息共享方法,每个所述耳机盒上分别设置有指纹识别组件,其特征在于,所述当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作的步骤,包括:The information sharing method according to claim 1, wherein each earphone box is provided with a fingerprint identification component, wherein when the distance between at least two earphone boxes is within a preset distance range, the The steps of the user's trigger action, including:
    当有至少两个耳机盒的距离处于预设距离范围内时,分别获取用户通过指纹识别组件输入的指纹信息。When the distance between at least two earphone boxes is within the preset distance range, the fingerprint information input by the user through the fingerprint identification component is obtained respectively.
  3. 根据权利要求2所述的信息共享方法,其特征在于,所述根据所述触发操作开启数据传输模式的步骤,包括:The information sharing method according to claim 2, wherein the step of enabling the data transmission mode according to the trigger operation comprises:
    将所述指纹信息与预先储存的用户指纹进行匹配;其中,所述用户指纹为所述耳机盒对应用户的指纹信息,所述对应用户与所述耳机盒相对应;Matching the fingerprint information with a pre-stored user fingerprint; wherein, the user fingerprint is the fingerprint information of the corresponding user of the earphone box, and the corresponding user corresponds to the earphone box;
    如果所述指纹信息与所述用户指纹匹配成功,开启数据传输模式。If the fingerprint information is successfully matched with the user fingerprint, the data transmission mode is enabled.
  4. 根据权利要求3所述的信息共享方法,其特征在于,所述将储存的数据进行交互,以使每个所述耳机盒中储存有所有所述耳机盒的所述数据的步骤,包括:The information sharing method according to claim 3, wherein the step of interacting the stored data so that each of the earphone boxes stores the data of all the earphone boxes comprises:
    将储存的所述用户指纹和与所述用户指纹对应的匹配信息进行交互,以使每个所述耳机盒中储存有所有所述耳机盒的所述用户指纹和所述匹配信息。The stored user fingerprints are interacted with the matching information corresponding to the user fingerprints, so that each of the earphone boxes stores the user fingerprints and the matching information of all the earphone boxes.
  5. 根据权利要求3所述的信息共享方法,其特征在于,每个所述耳机盒上分别设置有显示组件;所述方法还包括:The information sharing method according to claim 3, wherein each of the earphone boxes is provided with a display component respectively; the method further comprises:
    通过所述指纹识别组件获取目标用户的指纹信息;其中,所述目标用户为多个所述对应用户中的一个;Obtain the fingerprint information of the target user through the fingerprint identification component; wherein, the target user is one of the corresponding users;
    将所述指纹信息与储存的多个用户指纹进行匹配,获取匹配成功的所述用户指纹对应的匹配信息;Matching the fingerprint information with the stored multiple user fingerprints to obtain matching information corresponding to the successfully matched user fingerprints;
    通过所述显示组件显示所述匹配成功的所述用户指纹对应的匹配信息;Display the matching information corresponding to the successfully matched user fingerprints through the display component;
    根据所述目标用户对所述显示组件的触发操作确定需要匹配的终端设备;其中,所述匹配信息与所述终端设备一一对应。The terminal equipment to be matched is determined according to the trigger operation of the display component by the target user; wherein, the matching information corresponds to the terminal equipment one-to-one.
  6. 根据权利要求5所述的信息共享方法,其特征在于,所述显示组件为触摸显示屏。The information sharing method according to claim 5, wherein the display component is a touch display screen.
  7. 根据权利要求3所述的信息共享方法,其特征在于,所述方法还包括:The information sharing method according to claim 3, wherein the method further comprises:
    当所述耳机盒中的耳机与所述终端设备匹配完成后,加密储存匹配过程中生成的匹配信息;其中,每个所述耳机盒储存的所述用户指纹与所述匹配信息相对应。After the earphones in the earphone box are matched with the terminal device, the matching information generated during the matching process is encrypted and stored; wherein the user fingerprint stored in each earphone box corresponds to the matching information.
  8. 根据权利要求7所述的信息共享方法,其特征在于,所述方法还包括:The information sharing method according to claim 7, wherein the method further comprises:
    当所述耳机盒中的耳机与所述终端设备匹配完成后,加密储存与所述匹配信息相对应的所述用户指纹。After the earphone in the earphone box is matched with the terminal device, the user fingerprint corresponding to the matching information is encrypted and stored.
  9. 根据权利要求2所述的信息共享方法,其特征在于,所述指纹识别组件为指纹识别按钮。The information sharing method according to claim 2, wherein the fingerprint identification component is a fingerprint identification button.
  10. 根据权利要求1所述的信息共享方法,其特征在于,所述当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作的步骤,包括:The information sharing method according to claim 1, wherein when the distance between at least two earphone boxes is within a preset distance range, the step of respectively receiving a user's trigger operation comprises:
    当有至少两个耳机盒的距离处于预设距离范围内时,分别获取相应的语音触发指令。When the distance between at least two earphone boxes is within the preset distance range, the corresponding voice trigger instruction is obtained respectively.
  11. 一种信息共享装置,所述装置应配置成耳机盒,其特征在于,所述装置包括:An information sharing device, the device should be configured as an earphone box, characterized in that the device comprises:
    接收模块,配置成当有至少两个耳机盒的距离处于预设距离范围内时,分别接收用户的触发操作;a receiving module, configured to respectively receive a user's trigger operation when the distance between at least two earphone boxes is within a preset distance range;
    开启模块,配置成根据所述触发操作开启数据传输模式;an enabling module, configured to enable a data transmission mode according to the triggering operation;
    交互模块,配置成当有至少两个所述耳机盒处于所述数据传输模式时,将储存的数据进行交互,以使每个所述耳机盒中储存有所有所述耳机盒的所述数据;an interaction module, configured to interact with the stored data when at least two of the earphone boxes are in the data transmission mode, so that each of the earphone boxes stores the data of all the earphone boxes;
    其中,所述数据包括所述耳机盒中的耳机与不同的终端设备匹配的匹配信息。Wherein, the data includes matching information that the earphones in the earphone box are matched with different terminal devices.
  12. 一种耳机盒,所述耳机盒采用权利要求1至10任一项所述的方法进行不同耳机盒之间的信息共享;其特征在于,包括:耳机盒主体和设置在所述耳机盒主体上的指纹识别组件和显示组件;An earphone box, the earphone box adopts the method described in any one of claims 1 to 10 to share information between different earphone boxes; it is characterized in that, it comprises: an earphone box main body and an earphone box body provided on the earphone box main body the fingerprint recognition components and display components;
    所述耳机盒主体配置成存放耳机;the earphone box main body is configured to store earphones;
    所述指纹识别组件配置成识别对应用户的指纹信息,以完成多个所述耳机盒之间的数据交互;The fingerprint identification component is configured to identify the fingerprint information of the corresponding user, so as to complete the data interaction between a plurality of the earphone boxes;
    所述显示组件配置成显示与识别到的指纹信息对应的匹配信息。The display component is configured to display matching information corresponding to the identified fingerprint information.
  13. 根据权利要求12所述的耳机盒,其特征在于,所述指纹识别组件还配置成识别目标用户的指纹信息,以获取所述目标用户的指纹信息对应的匹配信息。The earphone box according to claim 12, wherein the fingerprint identification component is further configured to identify the fingerprint information of the target user, so as to obtain matching information corresponding to the fingerprint information of the target user.
  14. 根据权利要求12所述的耳机盒,其特征在于,所述耳机盒还包括耳机,所述耳机包括TWS耳机。The earphone box of claim 12, wherein the earphone box further comprises an earphone, and the earphone comprises a TWS earphone.
  15. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,其特征在于,所述计算机程序被处理器运行时执行上述权利要求1至10任一项所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is run by a processor, the steps of the method according to any one of the preceding claims 1 to 10 are executed .
PCT/CN2020/141389 2020-09-21 2020-12-30 Information sharing method and apparatus, and earphone case and computer-readable storage medium WO2022057156A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010999929.5A CN112165704A (en) 2020-09-21 2020-09-21 Information sharing method, earphone box and computer readable storage medium
CN202010999929.5 2020-09-21

Publications (1)

Publication Number Publication Date
WO2022057156A1 true WO2022057156A1 (en) 2022-03-24

Family

ID=73864294

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141389 WO2022057156A1 (en) 2020-09-21 2020-12-30 Information sharing method and apparatus, and earphone case and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN112165704A (en)
WO (1) WO2022057156A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116033431A (en) * 2022-08-18 2023-04-28 荣耀终端有限公司 Connection method and device of wearable device
WO2023201885A1 (en) * 2022-04-22 2023-10-26 歌尔股份有限公司 Earphone connection method and apparatus, earphones, and medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022165667A1 (en) * 2021-02-03 2022-08-11 英华达(上海)科技有限公司 Selection response method, earphone base, earphone selection method and device, and medium
CN114257922B (en) * 2021-11-29 2024-06-07 歌尔科技有限公司 Earphone mixed loading identification method, system, equipment and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101327524B1 (en) * 2011-06-28 2013-11-08 크루셜텍 (주) Server apparatus for providing data transmission service between user terminals and the user terminal
CN103763087A (en) * 2014-01-20 2014-04-30 联想(北京)有限公司 Information processing method and electronic devices
CN104053246A (en) * 2013-03-15 2014-09-17 联想(北京)有限公司 Radio communication connection establishment method, electronic device and communication system
US20160105924A1 (en) * 2014-10-10 2016-04-14 Samsung Electronics Co., Ltd. Multi-connection method and electronic device supporting the same
CN107683602A (en) * 2015-06-05 2018-02-09 苹果公司 Peer device based on high in the clouds close to pairing and switching
CN108307374A (en) * 2016-08-19 2018-07-20 哈曼国际工业有限公司 Wireless audio devices are arranged
CN210609640U (en) * 2019-12-25 2020-05-22 歌尔科技有限公司 Earphone box
CN111225057A (en) * 2015-07-21 2020-06-02 华为终端有限公司 Terminal and synchronization method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080148350A1 (en) * 2006-12-14 2008-06-19 Jeffrey Hawkins System and method for implementing security features and policies between paired computing devices
CN104410950A (en) * 2014-12-25 2015-03-11 北京元心科技有限公司 Data sharing method, device and system
CN106056006A (en) * 2016-07-13 2016-10-26 上海德门信息技术有限公司 Movable storage device with wireless communication module for fingerprint identification
CN117544931A (en) * 2019-08-09 2024-02-09 华为技术有限公司 Information sharing method, terminal device, storage medium, and computer program product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101327524B1 (en) * 2011-06-28 2013-11-08 크루셜텍 (주) Server apparatus for providing data transmission service between user terminals and the user terminal
CN104053246A (en) * 2013-03-15 2014-09-17 联想(北京)有限公司 Radio communication connection establishment method, electronic device and communication system
CN103763087A (en) * 2014-01-20 2014-04-30 联想(北京)有限公司 Information processing method and electronic devices
US20160105924A1 (en) * 2014-10-10 2016-04-14 Samsung Electronics Co., Ltd. Multi-connection method and electronic device supporting the same
CN107683602A (en) * 2015-06-05 2018-02-09 苹果公司 Peer device based on high in the clouds close to pairing and switching
CN111225057A (en) * 2015-07-21 2020-06-02 华为终端有限公司 Terminal and synchronization method thereof
CN108307374A (en) * 2016-08-19 2018-07-20 哈曼国际工业有限公司 Wireless audio devices are arranged
CN210609640U (en) * 2019-12-25 2020-05-22 歌尔科技有限公司 Earphone box

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023201885A1 (en) * 2022-04-22 2023-10-26 歌尔股份有限公司 Earphone connection method and apparatus, earphones, and medium
CN116033431A (en) * 2022-08-18 2023-04-28 荣耀终端有限公司 Connection method and device of wearable device
CN116033431B (en) * 2022-08-18 2023-10-31 荣耀终端有限公司 Connection method and device of wearable device

Also Published As

Publication number Publication date
CN112165704A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
WO2022057156A1 (en) Information sharing method and apparatus, and earphone case and computer-readable storage medium
US11985464B2 (en) Wireless audio output devices
US10970030B2 (en) Changing companion communication device behavior based on status of wearable device
US9258402B2 (en) System and method for controlling mobile devices
US9473233B2 (en) Method and apparatus for transmitting data using relay device
CN104933351A (en) Information security processing method and information security processing device
CN104702762A (en) Incoming call reminding method and incoming call reminding device
WO2013174265A1 (en) Data transmission method and device
CN112188449B (en) TWS earphone box and pairing method of TWS earphones
KR20200138033A (en) Information processing system, control method, and storage medium
CN103200325A (en) Peripheral device for mobile terminal and communication method for mobile terminal and peripheral device
CN108833999A (en) Intercom organizing method and device
WO2016131181A1 (en) Fingerprint event processing method, apparatus, and terminal
WO2015051742A1 (en) Method and device for automatically implementing wireless connection between devices
WO2024027199A1 (en) Risk identification method and electronic device
CN116056076B (en) Communication system, method and electronic equipment
KR20150000286A (en) Security environment transition apparatus and method therefor
WO2017000343A1 (en) Fingerprint unlocking method and terminal
CN105787323A (en) Safety protection method for WiFi hotspot and mobile terminal
WO2018166196A1 (en) Terminal control method and system, setting adaptation apparatus and mobile terminal
KR20220099730A (en) Electronic device for managing external electronic device performing requested function and method for operating thereof
CN111125742A (en) File management method, intelligent terminal and device with storage function
CN104239244B (en) The method and apparatus that data to be visited are carried out with display management
US20170285838A1 (en) Method, terminal and computer storage media for awakening mobile terminal and application
CN106528886A (en) Information processing method and device, and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20954009

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20954009

Country of ref document: EP

Kind code of ref document: A1