Display method, device, electronic device and readable storage medium

By matching pre-negotiating gesture information between wireless headphones and electronic devices, only displaying connection prompt information during matching, the problem of pop-up interference and misconnection during wireless headphone connection is solved, and the connection efficiency is improved.

CN116132565BActive Publication Date: 2025-01-07VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211304085.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-24
Publication Date
2025-01-07
Estimated Expiration
2042-10-24

AI Technical Summary

Technical Problem

During the connection between existing wireless headphones and electronic devices, there are problems such as pop-ups interfering with non-users and low connection efficiency. Especially in crowded places, it is easy to connect other people's headphone equipment by mistake.

Method used

By pre-negotiating gesture information between the electronic device and the headset device, the gesture information is included when receiving and generating the connection request, and only the connection prompt information is displayed when the gesture information is matched, avoiding unnecessary pop-up interference and ensuring accurate pairing.

Benefits of technology

In crowded places, the interference of wireless headphone connection requests on non-user devices is reduced, the frequency of non-user shutdown prompt information is reduced, the error connection is avoided, and the connection efficiency between headphone devices and electronic devices is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116132565B_ABST
    Figure CN116132565B_ABST
Patent Text Reader

Abstract

The present application discloses a display method, device, electronic device and readable storage medium, belonging to the field of communication technology. The method may include receiving a first connection request broadcast by a headphone device, the first connection request including first gesture information; when the first gesture information matches preset gesture information, displaying a pop-up window, the pop-up window indicating connection prompt information with the headphone device, wherein the preset gesture information is gesture information pre-negotiated between the headphone device and the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a display method, device, electronic device and readable storage medium. Background Art

[0002] With the development of hole-free electronic devices, the market demand for wireless headphones such as true wireless Bluetooth headsets (TWS) and traditional Bluetooth headsets has gradually increased. Pop-up interaction between wireless headsets and electronic devices has become one of the mainstream connection methods between wireless headsets and electronic devices.

[0003] However, although the pop-up interaction method can make the process of connecting wireless headphones and electronic devices faster for users, it causes great disturbance to non-users around the wireless headphones. For example, in crowded subways, libraries, and elevators, when someone around turns on the wireless headphones, pop-up windows of connectable wireless headphones will also be displayed on other users' electronic devices. Not only that, sometimes users will mistakenly connect other people's wireless headphones, affecting the connection efficiency of the wireless headphones and electronic devices. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a display method, device, electronic device and readable storage medium, which can solve the problem of excessive number of pop-up windows interfering with non-users' use of the electronic device and low connection efficiency during the connection process between the electronic device and the headphone device.

[0005] In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device. The display method may include:

[0006] receiving a first connection request broadcasted by a headset device, where the first connection request includes first gesture information;

[0007] When the first gesture information matches the preset gesture information, a pop-up window is displayed, indicating connection prompt information with the headphone device;

[0008] The preset gesture information is gesture information pre-negotiated between the headset device and the electronic device.

[0009] In a second aspect, an embodiment of the present application provides a display method, which is applied to a headphone device. The display method may include:

[0010] When detecting that the earphone device is in the first state, generating first gesture information according to a preset gesture signal;

[0011] Broadcasting a first connection request, the first connection request including first gesture information, the first connection request being used to request to establish a connection with the electronic device according to the first gesture information;

[0012] The preset gesture information is gesture information pre-negotiated between the headset device and the electronic device.

[0013] In a third aspect, an embodiment of the present application provides a display device, which is applied to an electronic device, including:

[0014] A receiving module, configured to receive a first connection request broadcasted by a headset device, where the first connection request includes first gesture information;

[0015] A display module, configured to display a pop-up window indicating connection prompt information with the headphone device when the first gesture information matches the preset gesture information;

[0016] The preset gesture information is gesture information pre-negotiated between the headset device and the electronic device.

[0017] In a fourth aspect, an embodiment of the present application provides a display device, which is applied to a headphone device, including:

[0018] A generating module, configured to generate first gesture information according to a preset gesture signal when detecting that the earphone device is in a first state;

[0019] a broadcast module, configured to broadcast a first connection request, the first connection request including first gesture information, the first connection request being configured to establish a connection with the electronic device according to the first gesture information request;

[0020] The preset gesture information is gesture information pre-negotiated between the headset device and the electronic device.

[0021] In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the display method shown in the first aspect are implemented.

[0022] In a sixth aspect, an embodiment of the present application provides an earphone device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the display method shown in the second aspect are implemented.

[0023] In the seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the display method shown in the first aspect are implemented, or the steps of the display method shown in the second aspect are implemented.

[0024] In an eighth aspect, an embodiment of the present application provides a chip, the chip including a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run a program or instructions to implement the steps of the display method shown in the first aspect, or to implement the steps of the display method shown in the second aspect.

[0025] In the ninth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the display method as shown in the first aspect, or to implement the steps of the display method as shown in the second aspect.

[0026] In an embodiment of the present application, a first connection request including first gesture information broadcast by a headset device is received, and the first gesture information is verified through preset gesture information stored in the electronic device to determine whether the headset device that sends the first connection request including the first gesture information is the device that the electronic device wants to pair with. When the first gesture information matches the preset gesture information, a pop-up window is displayed, and the pop-up window indicates connection prompt information with the headset device so that the user can choose whether to complete the connection between the headset device and the electronic device. In this way, the headset device that can be matched with the electronic device is screened through gesture information before the pop-up window is displayed. In a place with a large number of people, the connection request sent by the headset device can be prevented from interfering with non-users, the frequency of interrupting non-users from using the electronic device can be reduced, and the operation of non-users closing the prompt information can be reduced. In addition, by verifying the gesture information, the situation of mistakenly connecting to other people's wireless headphones can be avoided, and the trouble of not being able to accurately complete pairing when there is no connection record between the headset device and the electronic device can be reduced, ensuring rapid positioning of the headset device that can be connected to the electronic device, saving the pairing time of the wireless headset and the electronic device, and thereby improving the connection efficiency between the headset device and the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 An interactive schematic diagram of a display method provided in an embodiment of the present application;

[0028] Figure 2 A flow chart of a display method provided in an embodiment of the present application;

[0029] Figure 3 One of the interface schematic diagrams of a display method provided in an embodiment of the present application;

[0030] Figure 4 A second interface diagram of a display method provided in an embodiment of the present application;

[0031] Figure 5 The third interface diagram of a display method provided in an embodiment of the present application;

[0032] Figure 6 A fourth interface diagram of a display method provided in an embodiment of the present application;

[0033] Figure 7 A fifth interface diagram of a display method provided in an embodiment of the present application;

[0034] Figure 8 A sixth interface diagram of a display method provided in an embodiment of the present application;

[0035] Fig. 9 The seventh interface diagram of a display method provided in an embodiment of the present application;

[0036] Fig.10 A flowchart of a display method based on a headphone device provided in an embodiment of the present application;

[0037] Fig.11 A schematic diagram of the structure of a display device based on an electronic device provided in an embodiment of the present application;

[0038] Fig.12 A schematic diagram of the structure of a display device based on a headphone device provided in an embodiment of the present application;

[0039] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0040] Fig.14 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0042] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0043] In the related art, the pop-up window interaction between earphone devices such as TWS earphones, traditional Bluetooth earphones and electronic devices has become one of the mainstream interaction methods between terminal devices and mobile phones. For example, when a user uses a TWS earphone with a charging bin and opens the lid of the charging bin, the TWS earphone will send a connection request to all directions through a non-directional broadcast (BLE), so that the electronic device that receives the connection request will automatically display the information of the TWS earphone such as the earphone power, charging bin information, and charging bin power status based on the historical connection record. Similarly, when there is no historical connection record between the TWS earphone and the electronic device, the TWS earphone and the electronic device can still display a pop-up window to show that the TWS earphone is broadcasting a connection request.

[0044] However, if the user is in a crowded place such as a subway, a library, or an elevator, if a user opens the cover of the charging compartment, then the electronic devices around the user will suddenly pop up a window to display the information of the TWS headset that sent the connection request within the range. On the one hand, it will greatly disturb the non-users around the TWS headset (i.e., the holders of the electronic devices that are not connected to the TWS headset). The user needs to close these pop-ups, which increases the user input and affects the normal use of the electronic devices by non-users. On the other hand, for the electronic device that the user wants to connect the TWS headset to, if the electronic device does not store the connection record between the two, the user needs to manually trigger the charging compartment so that the TWS headset is in a pairing state, otherwise it is impossible to directly achieve a quick connection between the two through the pop-up window, which not only makes the connection process cumbersome and complicated, but also affects the connection efficiency of the TWS headset and the electronic device. In addition, when the electronic device receives multiple connection requests broadcast by multiple TWS headsets and the connection record is not stored in the electronic device, the electronic device cannot distinguish the TWS headset that the user wants to connect, and the wrong connection to other people's TWS headsets may occur.

[0045] Based on this, in order to solve the above problems, the present application embodiment provides a display method, such as Figure 1As shown, when the user uses a TWS headset with a charging case and opens the cover of the charging case, the TWS headset will broadcast a connection request including the first gesture information to all directions by broadcasting. When the electronic device receives the first connection request broadcast by the headset device, it parses the first hand information in the first connection request, and verifies the first gesture information through the preset gesture information stored in the electronic device to determine whether the headset device that sends the first connection request including the first gesture information is the device that the electronic device wants to pair with. When the first gesture information matches the preset gesture information, a pop-up window is displayed, and the pop-up window indicates the connection prompt information with the headset device, such as "a connectable headset has been found", so that the user can choose whether to complete the connection between the headset device and the electronic device. In this way, the gesture information of the electronic device and the wireless headset can be used to quickly and accurately find the headset device that needs to be matched with the user's electronic device, so as to avoid the electronic device popping up multiple pop-up windows to interfere with the user's use of the electronic device, and improve the efficiency of the connection between the electronic device and the headset device.

[0046] In addition, the embodiments of the present application can be applied to scenarios where the connection record between the two is not stored in the electronic device. In this way, the display method provided by the embodiments of the present application can avoid the situation of mistakenly connecting to other people's wireless headphones through gesture information interaction, reduce the trouble of not being able to accurately complete pairing when there is no connection record between the headphone device and the electronic device, ensure rapid positioning of the headphone device that can be connected to the electronic device, save the pairing time of the wireless headset and the electronic device, and thereby improve the connection efficiency between the headphone device and the electronic device.

[0047] The following is combined with Figures 2 to 10 , the display method provided in the embodiment of the present application is described in detail through specific embodiments and their application scenarios.

[0048] First, combine Figure 2 The display method provided in the embodiment of the present application is described in detail.

[0049] Figure 2 A flowchart of a display method provided in an embodiment of the present application.

[0050] like Figure 2 As shown, the display method provided in the embodiment of the present application can be applied to an electronic device, and the method may include the following steps:

[0051] Step 210, receiving a first connection request broadcast by the headphone device, the first connection request including first gesture information; Step 220, displaying a pop-up window when the first gesture information matches preset gesture information, the pop-up window indicating connection prompt information with the headphone device; wherein the preset gesture information is gesture information pre-negotiated between the headphone device and the electronic device.

[0052] In this way, by screening the headphone devices that can match the electronic device through gesture information before displaying the connection prompt information with the headphone device, it is possible to prevent the connection requests sent by the headphone device from interfering with non-users in places with a large number of people, reduce the frequency of interrupting non-users from using electronic devices, and reduce the operations of non-users to close prompt information. In addition, by verifying the gesture information, it is possible to avoid mistakenly connecting to other people's wireless headphones, reduce the trouble of not being able to accurately complete pairing when there is no connection record between the headphone device and the electronic device, ensure rapid positioning of the headphone device that can be connected to the electronic device, save the pairing time of the wireless headset and the electronic device, and thus improve the connection efficiency between the headphone device and the electronic device.

[0053] The above steps are described in detail below, as shown below.

[0054] First, step 210 is involved. In one or more possible embodiments, the electronic device may parse the scanned first connection request to obtain first gesture information carried by the first connection request, where the first gesture information is preset gesture information stored in the headset device. Here, since the connection request broadcast by the headset device may include 32 bytes, the first connection request may include X gesture information, where X may be any integer value from 1 to 15.

[0055] Then, step 220 is involved. In one or more possible embodiments, if the parsed first gesture information matches the preset gesture information stored in the electronic device, a pop-up window can be displayed through a preset pop-up window display method between the headset and the electronic device, and the pop-up window indicates connection prompt information with the headset device.

[0056] For example, Figure 3 As shown, if the first gesture information matches the preset gesture information, a pop-up window is displayed, and the pop-up window indicates connection prompt information with the headphone device, such as "A connectable headphone has been found, do you want to connect?"

[0057] In one or more other possible embodiments, in order to accurately identify the headphone device that the user wants to connect to and reduce the connection prompt information of other people's headphone devices displayed in the user's own electronic device, in addition to verifying the first gesture information shown above, it is also necessary to verify the universally unique identifier (Universally Unique Identifier) ​​of the headphone device. Based on this, before step 120, the display method may further include:

[0058] Obtaining UUID information corresponding to the headset device in the first connection request;

[0059] Alternatively, a first instruction is sent to the earphone device, where the first instruction is used to instruct the earphone device to send UUID information to the electronic device, so that when feedback information sent by the earphone device is received, the UUID information is obtained from the feedback information.

[0060] In this way, before displaying the connection prompt information with the headphone device, the headphone devices that can match the electronic device are screened through gesture information. This can prevent the connection requests sent by the headphone device from interfering with non-users in places with a large number of people, reduce the frequency of interrupting non-users from using electronic devices, and reduce the operations of non-users to close the prompt information.

[0061] Based on this, step 220 may specifically include:

[0062] When the first gesture information matches the preset gesture information and the UUID information also conforms to the preset information, connection prompt information with the headphone device is displayed.

[0063] In this way, the gesture information of the electronic device and the headphone device can be used to quickly and accurately find the headphone device that needs to match the user's electronic device, avoid multiple pop-up windows on the electronic device interfering with the user's use of the electronic device, and improve the efficiency of the connection between the electronic device and the headphone device.

[0064] In another or more possible embodiments, if the electronic device receives N first connection requests (N is a positive integer greater than 1) sent by N headphone devices within a preset time period, such as 3 seconds, and the first gesture information in these first connection requests matches the preset gesture information, in order to reduce the connection prompt information of multiple headphone devices displayed by the electronic device, the display method provided in the embodiment of the present application also provides a method of prompting the user through the electronic device to perform corresponding operations on the headphone device that the user wants to connect, thereby extracting the headphone device that the user wants to connect from the N headphone devices, and thereby only displaying the connection prompt information of the headphone device that the user wants to connect.

[0065] Based on this, when the first connection request broadcasted by the earphone device includes N first connection requests respectively broadcasted by N earphone devices, and the first gesture information matches the preset gesture information, step 220 may specifically include:

[0066] Displaying second prompt information, wherein the second prompt information includes a second gesture, and the second prompt information is used to prompt the user to perform the second gesture on the headphone device;

[0067] receiving a third connection request broadcasted by M headphone devices, where the third connection request includes third gesture information, and M is a positive integer;

[0068] Filtering a target earphone device from the M earphone devices, where a gesture corresponding to the third gesture information in the third connection request broadcast by the target earphone device matches the second gesture;

[0069] Displays the connection prompt information with the target headset device.

[0070] For example, Figure 4 As shown, taking N as 3 as an example, the electronic device receives first connection requests respectively sent by three headphone devices, such as headphone device A, headphone device B and headphone device C, and each of the three first connection requests includes first gesture information. In this way, when each of the three first gesture information matches the preset gesture information, the second prompt information is displayed, such as "Please shake the headphone device you want to connect as shown in the figure" or "Please shake the headphone device you want to connect three times within 5 seconds". Next, considering that if it is not the headphone device that the user wants to connect, the headphone device A may be far away from the electronic device when the second prompt information is displayed, so that the electronic device cannot receive the request broadcast by the headphone device A (or the headphone device A has been connected to the electronic device corresponding to the headphone device A). In this way, M is 2 for explanation, and the second prompt information is displayed on the electronic device, and the second prompt information includes a second gesture, and the second prompt information is used to prompt the user to perform a second gesture on the headphone device to be connected, such as shaking left twice and right twice in sequence. In this way, the user can perform the second gesture on the headphone device according to the content displayed by the electronic device, and the headphone device can broadcast a third connection request after obtaining the signal of the second gesture. In this way, when the electronic device receives the third connection request broadcasted by two headphone devices, such as headphone device B and headphone device C, the electronic device selects the target headphone device, such as headphone device B, from headphone device B and headphone device C, and the gesture corresponding to the third gesture information in the third connection request broadcasted by headphone device B matches the second gesture. Figure 5 As shown, when the gesture corresponding to the third gesture information in the third connection request matches the second gesture, a connection prompt message is displayed, such as "Shake gesture authentication has been completed, connectable headphones have been found, do you want to connect?"

[0071] In addition, if the first gesture information parsed by the electronic device does not match the preset gesture information, such as the gesture is wrong or there is no gesture, the embodiment of the present application provides the following two methods: one is not to display, and the other is to display the first prompt information, the first prompt information includes the first gesture, and the first prompt information is used to prompt the user to perform the first gesture on the headphone device to prompt the user to perform the corresponding gesture on the headphone device that the user wants to connect, so that when the gesture corresponding to the second gesture information matches the first gesture, a pop-up window is displayed to instruct the user to perform the connection prompt information of the headphone device of the corresponding operation. These two methods are described in detail below.

[0072] In one or more possible embodiments, when the first gesture information does not match the preset gesture information, the first connection request is stopped from being responded to. At this time, it is assumed that the headphone device that sends the first connection request is not the headphone device that the user wants to connect to.

[0073] In another or more possible embodiments, the display method in the embodiment of the present application may further include:

[0074] In the case where the first gesture information does not match the preset gesture information, displaying first prompt information, wherein the first prompt information includes a first gesture, and the first prompt information is used to prompt the user to perform the first gesture on the headphone device;

[0075] receiving a second connection request broadcasted by the headset device, where the second connection request includes second gesture information;

[0076] When the gesture corresponding to the second gesture information matches the first gesture information, a pop-up window is displayed.

[0077] For example, Figure 6 As shown, a first prompt message is displayed, such as "The gesture verification is incorrect. If you want to connect the headset, please shake the headset device you want to connect as shown in the figure. If you do not want to connect, ignore this message." Then, if the gesture corresponding to the second gesture information in the second connection request broadcast by the headset device received by the electronic device matches the first gesture, a pop-up window is displayed, such as "Gesture authentication has been completed. Connectable headsets are found. Do you want to connect?"

[0078] In addition, in order to ensure the accuracy of the headphone device found, the gesture authentication may involve multiple ones, that is, the first gesture involved above may include multiple preset sub-gestures, such as preset sub-gesture A, preset sub-gesture B and preset gesture C, and the first prompt information is used to prompt the user to execute preset sub-gesture A, preset sub-gesture B and preset sub-gesture C on the headphone device. At this time, the first gesture can be understood as including three consecutive sub-gestures, so that the first gesture information will also correspond to the three consecutive sub-gestures.

[0079] For example, Figure 7As shown, a preset number of preset gestures, such as 3 preset gestures, can be stored in the electronic device. Then, a first prompt message is displayed, such as "Please complete gesture 1, gesture 2 and gesture 3 as shown below in sequence". In this way, the user can perform gesture 1, gesture 2 and gesture 3 on the headphone device according to the content displayed by the electronic device. After the headphone device obtains the signals of gesture 1, gesture 2 and gesture 3, it can broadcast a second connection request. In this way, when the electronic device receives and parses the second connection request, if the second connection request includes three second gesture information, and the gesture corresponding to each of the three second gesture information matches the preset gesture, and the order of the gestures corresponding to the three second gesture information meets the order requirement of the preset gestures, it indicates that the headphone device has been authenticated, and the connection prompt message of the headphone device can be displayed, such as "Gesture authentication has been completed, and a connectable headphone has been found. Do you want to connect?"

[0080] It should be noted that, since the second connection request can use one hexadecimal byte to store the gesture information, the amount of gesture information that can be included in the second connection request can be expanded to 15.

[0081] In addition, after step 220, the electronic device has locked the headphone device that the user wants to connect to. At this time, the electronic device can detect whether there is a connection record with the headphone device stored in the electronic device. If so, the device information of the headphone device is displayed, indicating that the electronic device and the headphone device have established a connection; otherwise, if not, the electronic device needs to prompt the headphone device to enter pairing mode. In order to ensure the user's communication security, the connection between the electronic device and the headphone device can be established in the following two ways, as shown below.

[0082] In one or more possible embodiments, after step 220, the display method in the embodiment of the present application may further include:

[0083] receiving a first input of a user for connection prompt information;

[0084] In response to the first input, the device information of the headphone device is displayed, and the device information of the headphone device is used to indicate that the electronic device and the headphone device have established a connection. The device information in the embodiment of the present application includes at least one of the following: the headphone device model, the power of the left headphone, the power of the right headphone, and the power of the charging case.

[0085] Specifically, the electronic device sends a matching instruction to the earphone device in response to the first input, and displays the device information of the earphone device in the matching success instruction when the earphone device sends matching information including the device information of the earphone device.

[0086] For example, Figure 8As shown, when the electronic device receives the user's first input of "yes", it establishes a connection between the electronic device and the headphone device based on the matching information corresponding to the matching instruction, and displays the device information of the headphone device.

[0087] In another or more possible embodiments, gesture authentication may be performed. Based on this, after step 220, the display method in the embodiment of the present application may further include:

[0088] In the case where the electronic device does not store a connection record between the electronic device and the headphone device, displaying third prompt information, wherein the third prompt information includes a third gesture, and the third prompt information is used to prompt the user to perform the third gesture on the headphone device;

[0089] receiving a fourth connection request broadcasted by the headset device, where the fourth connection request includes fourth gesture information;

[0090] When the gesture corresponding to the fourth gesture information matches the third gesture information, fourth prompt information is displayed, wherein the fourth prompt information includes device information of the earphone device, and the fourth prompt information is used to prompt the user that the electronic device and the earphone device have established a connection.

[0091] For example, Fig. 9 As shown, a third prompt message is displayed, such as "Please shake the headphone device three times within 5 seconds to enter the pairing connection with the headphone device." In this way, when a fourth connection request broadcast by the headphone device is received and the gesture corresponding to the fourth gesture information in the fourth connection request matches the third gesture, the fourth prompt message is displayed.

[0092] It should be noted that, in some examples, the fourth connection request also includes device information of the headphone device so that the electronic device can display it.

[0093] In addition, based on the above-mentioned headphone device, the embodiment of the present application is combined with Fig.10 The display method based on the headphone device provided in the embodiment of the present application is described in detail.

[0094] Fig.10 A flowchart of a display method based on a headphone device provided in an embodiment of the present application.

[0095] like Fig.10 As shown, the display method provided in the embodiment of the present application can be applied to a headphone device, and the method may include the following steps:

[0096] Step 1010, when it is detected that the earphone device is in a first state, generate first gesture information according to a preset gesture signal; Step 1020, broadcast a first connection request, the first connection request includes first gesture information, and the first connection request is used to establish a connection with the electronic device according to the first gesture information request; wherein the preset gesture information is gesture information pre-negotiated between the earphone device and the electronic device.

[0097] The above steps are described in detail below, as shown below.

[0098] First, the headphone device in the embodiment of the present application can be as follows Figure 1 The TWS Bluetooth headset with a charging compartment shown can also be a traditional Bluetooth headset, that is, a headset without a charging compartment and requiring an external power supply for charging. Here, it should be noted that a sensor can be provided in the headset device in the embodiment of the present application, and the sensor is used to obtain gesture signals and convert the gesture signals into gesture information.

[0099] Based on this, the first state in the embodiment of the present application can refer to Figure 1 , that is, the TWS Bluetooth headset is in the charging compartment, and the charging compartment is in the open state (that is, the cover of the charging compartment is in the open state) and is not connected to the electronic device; or, the traditional Bluetooth headset is turned on and not connected to the electronic device.

[0100] In step 1010, the headphone device can store a preset gesture signal, so that in the initial state when the user does not operate the headphone device, the first gesture information can be generated according to the preset gesture signal, and the preset gesture information corresponding to the first gesture information is set in advance in the electronic device.

[0101] Then, in one or more possible embodiments, after step 1020, the display method may further include:

[0102] Get the user's first gesture to the headset device;

[0103] generating second gesture information according to the gesture signal generated by the first gesture;

[0104] A second connection request is broadcasted, where the second connection request includes second gesture information, and the second connection request is used to request to establish a connection with the electronic device according to the second gesture information.

[0105] In one or more other possible embodiments, after step 1020, the display method may further include:

[0106] Acquire a second gesture of the user to the earphone device;

[0107] generating third gesture information according to the gesture signal generated by the second gesture;

[0108] A third connection request is broadcasted, where the third connection request includes third gesture information, and the third connection request is used to request to establish a connection with the electronic device according to the third gesture information.

[0109] In one or more possible embodiments, after step 1020, the display method may further include:

[0110] Acquire a third gesture of the user to the headset device;

[0111] generating fourth gesture information according to the gesture signal generated by the third gesture;

[0112] A fourth connection request is broadcasted, where the fourth connection request includes fourth gesture information, and the fourth connection request is used to request to establish a connection with the electronic device according to the third gesture information.

[0113] It should be noted that the gesture information generated by the headphone device and the broadcast connection request can be generated based on the user performing corresponding operations on the headphone device according to the prompt information displayed by the electronic device. Therefore, only the above example is used for illustration here. If other steps involve the process of gesture information and connection request, they can be generated according to the above steps and will not be repeated here.

[0114] In summary, the display method provided in the embodiment of the present application can be based on the actual experience of the user, and the pairing connection between the headphone device and the electronic device can be completed only through simple operations, which solves the pain point that the user cannot locate the headphone device that the user wants to connect in the increasingly frequent broadcast pop-up window of the headphone device and cannot conveniently complete the pairing connection. The combination of the gesture information obtained in the headphone device and the electronic device pop-up window display information mode not only conforms to the user's habit of operating the electronic device, but also facilitates the user to complete the confirmation and connection of the headphone device based on gesture operation and interesting pop-up window text prompts. In this way, before displaying the connection prompt information with the headphone device, the headphone device that can be matched with the electronic device is screened by gesture information, which can prevent the connection request sent by the headphone device from interfering with non-users in places with relatively dense personnel, reduce the frequency of interrupting non-users using electronic devices, and reduce the operation of non-users closing prompt information. In addition, the gesture information can be verified to avoid the situation of mistakenly connecting to other people's wireless headphones, reduce the trouble of not being able to accurately complete pairing when there is no connection record between the headphone device and the electronic device, ensure rapid positioning of the headphone device that can be connected to the electronic device, save the pairing time of the wireless headphone and the electronic device, and thus improve the connection efficiency between the headphone device and the electronic device.

[0115] The display method provided in the embodiment of the present application can be executed by a display device or an electronic device. In the embodiment of the present application, an electronic device executing the display method is taken as an example to illustrate the display device provided in the embodiment of the present application.

[0116] Based on the same inventive concept, the present application also provides an electronic device. Fig.11 Provide detailed explanation.

[0117] Fig.11 A schematic structural diagram of a display device based on an electronic device provided in an embodiment of the present application.

[0118] like Fig.11 As shown, the display device 110 may specifically include:

[0119] A receiving module 1101 is configured to receive a first connection request broadcasted by a headset device, where the first connection request includes first gesture information;

[0120] The display module 1102 is used to display connection prompt information with the headphone device when the first gesture information matches the preset gesture information;

[0121] The preset gesture information is gesture information pre-negotiated between the headset device and the electronic device.

[0122] The display device 110 is described in detail below, as follows:

[0123] In one or more possible embodiments, the display module 1102 may also be used to display first prompt information when the first gesture information does not match the preset gesture information, wherein the first prompt information includes the first gesture, and the first prompt information is used to prompt the user to perform the first gesture on the headphone device;

[0124] The receiving module 1101 may also be configured to receive a second connection request broadcasted by the headset device, where the second connection request includes second gesture information;

[0125] The display module 1102 may also be configured to display a pop-up window when the gesture corresponding to the second gesture information matches the first gesture.

[0126] In another or more possible embodiments, the electronic device 110 provided in the embodiment of the present application may further include: a screening module; wherein,

[0127] The display module 1102 may also be configured to display second prompt information when the first connection request broadcast by the headphone device includes N first connection requests respectively broadcast by N headphone devices, where N is a positive integer greater than 1, and the first gesture information matches the preset gesture information, wherein the second prompt information includes a second gesture, and the second prompt information is used to prompt the user to perform the second gesture on the headphone device;

[0128] The receiving module 1101 may also be configured to receive a third connection request broadcasted by M earphone devices, where the third connection request includes third gesture information, and M is a positive integer;

[0129] a screening module, configured to screen a target headphone device from the M headphone devices, wherein a gesture corresponding to the third gesture information in the third connection request broadcast by the target headphone device matches the second gesture information;

[0130] The display module 1102 may also be used to display connection prompt information with the target headphone device.

[0131] In one or more possible embodiments, the display module 1102 may also be used to display third prompt information when no connection record between the electronic device and the headphone device is stored in the electronic device, wherein the third prompt information includes a third gesture, and the third prompt information is used to prompt the user to perform the third gesture on the headphone device;

[0132] The receiving module 1101 may also be configured to receive a fourth connection request broadcasted by the headset device, where the fourth connection request includes fourth gesture information;

[0133] The display module 1102 can also be used to display fourth prompt information when the gesture corresponding to the fourth gesture information matches the third gesture information, wherein the fourth prompt information includes device information of the headphone device, and the fourth prompt information is used to prompt the user that a connection has been established between the electronic device and the headphone device.

[0134] Similarly, based on the same inventive concept, the embodiment of the present application further provides a display device based on a headphone device based on the above content. Fig.12 Provide detailed explanation.

[0135] Fig.12 A schematic structural diagram of a display device based on a headphone device provided in an embodiment of the present application.

[0136] like Fig.12 As shown, the display device 120 may specifically include:

[0137] A generating module 1201 is configured to generate first gesture information according to a preset gesture signal when detecting that the earphone device is in a first state;

[0138] A broadcast module 1202 is used to broadcast a first connection request, where the first connection request includes first gesture information, and the first connection request is used to request to establish a connection with the electronic device according to the first gesture information;

[0139] The preset gesture information is gesture information pre-negotiated between the headset device and the electronic device.

[0140] The display device 120 is described in detail below, as follows:

[0141] In one or more possible embodiments, the display device 120 provided in the embodiment of the present application may further include an acquisition module; wherein,

[0142] An acquisition module, used to acquire a first gesture of the user to the earphone device;

[0143] The generating module 1201 is further used to generate second gesture information according to the gesture signal generated by the first gesture;

[0144] The broadcast module 1202 is further used to broadcast a second connection request, where the second connection request includes second gesture information, and the second connection request is used to request to establish a connection with the electronic device according to the second gesture information.

[0145] The display device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0146] The display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0147] The electronic device and the earphone device provided in the embodiments of the present application can achieve Figures 1 to 10 The various processes implemented in the method embodiment achieve the same technical effect and will not be described again here to avoid repetition.

[0148] Based on this, the electronic device provided by the embodiment of the present application can receive a first connection request including first gesture information broadcast by a headset device, and verify the first gesture information through preset gesture information stored in the electronic device to determine whether the headset device that sends the first connection request including the first gesture information is the device that the electronic device wants to pair with. When the first gesture information matches the preset gesture information, a pop-up window is displayed, and the pop-up window indicates connection prompt information with the headset device so that the user can choose whether to complete the connection between the headset device and the electronic device. In this way, the headset device that can be matched with the electronic device is screened through gesture information before the pop-up window is displayed. In places where people are relatively dense, the connection request sent by the headset device can be prevented from interfering with non-users, the frequency of interrupting non-users from using the electronic device is reduced, and the operation of non-users closing the prompt information is reduced. In addition, by verifying the gesture information, the situation of mistakenly connecting to other people's wireless headphones can be avoided, and the trouble of not being able to accurately complete pairing when there is no connection record between the headset device and the electronic device is reduced, ensuring rapid positioning of the headset device that can be connected to the electronic device, saving the pairing time of the wireless headset and the electronic device, and thereby improving the connection efficiency between the headset device and the electronic device.

[0149] Optional, such as Fig.13 As shown, an embodiment of the present application further provides an electronic device 130, including a processor 1301 and a memory 1302, wherein the memory 1302 stores programs or instructions that can be executed on the processor 1301, and when the program or instructions are executed by the processor 1301, the various steps of the above-mentioned display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0150] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0151] Fig.14 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0152] The electronic device 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409 and a processor 1410 and other components.

[0153] Those skilled in the art will appreciate that the electronic device 1400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0154] In the embodiment of the present application, the radio frequency unit 1401 is used to receive a first connection request broadcast by the headset device, and the first connection request includes first gesture information. The display unit 1406 is used to display a pop-up window when the first gesture information matches the preset gesture information, and the pop-up window indicates the connection prompt information with the headset device; wherein the preset gesture information is the gesture information pre-negotiated between the headset device and the electronic device.

[0155] In one or more possible embodiments, the display unit 1406 can also be used to display first prompt information when the first gesture information does not match the preset gesture information, wherein the first prompt information includes a first gesture, and the first prompt information is used to prompt the user to perform the first gesture on the headphone device.

[0156] The radio frequency unit 1401 may also be configured to receive a second connection request broadcast by the headset device, where the second connection request includes second gesture information;

[0157] The display unit 1406 may also be configured to display a pop-up window when the gesture corresponding to the second gesture information matches the first gesture.

[0158] In another or more possible embodiments, the display unit 1406 may also be used to display second prompt information when the first connection request broadcast by the headphone device includes N first connection requests respectively broadcast by N headphone devices, N is a positive integer greater than 1, and the first gesture information matches the preset gesture information, wherein the second prompt information includes a second gesture, and the second prompt information is used to prompt the user to perform the second gesture on the headphone device;

[0159] The radio frequency unit 1401 may also be configured to receive a third connection request broadcasted by M earphone devices, where the third connection request includes third gesture information, and M is a positive integer;

[0160] The processor 1410 may also be configured to select a target earphone device from the M earphone devices, where a gesture corresponding to the third gesture information in the third connection request broadcast by the target earphone device matches the second gesture information;

[0161] The display unit 1406 may also be configured to display connection prompt information with the target headphone device.

[0162] In yet one or more possible embodiments, the display unit 1406 may also be used to, when the electronic device does not store a connection record between the electronic device and the headphone device, display third prompt information, wherein the third prompt information includes a third gesture, and the third prompt information is used to prompt the user to perform the third gesture on the headphone device;

[0163] The radio frequency unit 1401 may also be configured to receive a fourth connection request broadcasted by the headset device, where the fourth connection request includes fourth gesture information;

[0164] The display unit 1406 can also be used to display fourth prompt information when the gesture corresponding to the fourth gesture information matches the third gesture information, wherein the fourth prompt information includes device information of the headphone device, and the fourth prompt information is used to prompt the user that a connection has been established between the electronic device and the headphone device.

[0165] It should be understood that the input unit 1404 may include a graphics processing unit (GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of the static image or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1406 may include a shooting panel, and the shooting panel may be configured in the form of a liquid crystal camera, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and at least one of the other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch camera. Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as a volume display button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0166] The memory 1409 can be used to store software programs and various data. The memory 1409 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1409 can include a volatile memory or a non-volatile memory, or the memory 1409 can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0167] The processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless shooting signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1410.

[0168] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned display method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0169] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0170] In addition, an embodiment of the present application further provides a chip, which includes a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

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

[0172] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0173] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0174] In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

[0175] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0176] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A display method, characterized in that: Used in electronic equipment, including: receiving a first connection request broadcasted by a headset device, wherein the first connection request includes first gesture information; the first connection request broadcasted by the headset device includes N first connection requests respectively broadcasted by N headset devices, where N is a positive integer greater than 1; In the case where the first gesture information matches the preset gesture information, displaying second prompt information, wherein the second prompt information includes a second gesture, and the second prompt information is used to prompt the user to perform a second gesture on the headphone device; receiving a third connection request broadcasted by M headphone devices, wherein the third connection request includes third gesture information, and M is a positive integer; screening a target headphone device from the M headphone devices, wherein the gesture corresponding to the third gesture information in the third connection request broadcasted by the target headphone device matches the second gesture; displaying a pop-up window, wherein the pop-up window indicates connection prompt information with the headphone device, and the headphone device is the target headphone device; The preset gesture information is gesture information pre-negotiated between the headphone device and the electronic device.

2. The method according to claim 1, characterized in that After receiving the first connection request broadcast by the headset device, the method further includes: In a case where the first gesture information does not match the preset gesture information, displaying first prompt information, wherein the first prompt information includes a first gesture, and the first prompt information is used to prompt the user to perform the first gesture on the headphone device; receiving a second connection request broadcasted by the headset device, where the second connection request includes second gesture information; When the gesture corresponding to the second gesture information matches the first gesture, the pop-up window is displayed.

3. The method according to claim 1, characterized in that: After displaying the pop-up window, the method further includes: In a case where the electronic device does not store a connection record between the electronic device and the headphone device, displaying third prompt information, wherein the third prompt information includes a third gesture, and the third prompt information is used to prompt a user to perform the third gesture on the headphone device; receiving a fourth connection request broadcasted by the headset device, wherein the fourth connection request includes fourth gesture information; When the gesture corresponding to the fourth gesture information matches the third gesture, fourth prompt information is displayed, wherein the fourth prompt information includes device information of the headphone device, and the fourth prompt information is used to prompt the user that the electronic device and the headphone device have established a connection.

4. A display device, characterized in that: Used in electronic equipment, including: A receiving module, configured to receive a first connection request broadcasted by a headset device, wherein the first connection request includes first gesture information; the first connection request broadcasted by the headset device includes N first connection requests respectively broadcasted by N headset devices, where N is a positive integer greater than 1; The display module is configured to display second prompt information when the first gesture information matches the preset gesture information, wherein the second prompt information includes a second gesture, and the second prompt information is used to prompt the user to perform the second gesture on the headphone device; the receiving module is also configured to receive a third connection request broadcasted by M headphone devices, wherein the third connection request includes third gesture information, and M is a positive integer; the display device also includes a screening module, configured to screen a target headphone device from the M headphone devices, wherein the gesture corresponding to the third gesture information in the third connection request broadcasted by the target headphone device matches the second gesture information; the display module is also configured to display a pop-up window, wherein the pop-up window indicates connection prompt information with the headphone device, and the headphone device is the target headphone device; The preset gesture information is gesture information pre-negotiated between the headphone device and the electronic device.

5. The device according to claim 4, characterized in that: The display module is further configured to display first prompt information when the first gesture information does not match the preset gesture information, wherein the first prompt information includes a first gesture, and the first prompt information is configured to prompt the user to perform the first gesture on the headphone device; The receiving module is further configured to receive a second connection request broadcast by the headset device, where the second connection request includes second gesture information; The display module is further configured to display the pop-up window when the gesture corresponding to the second gesture information matches the first gesture.

6. The device according to claim 4, characterized in that The display module is further used for displaying third prompt information when no connection record between the electronic device and the headphone device is stored in the electronic device, wherein the third prompt information includes a third gesture, and the third prompt information is used for prompting the user to perform the third gesture on the headphone device; The receiving module is further configured to receive a fourth connection request broadcasted by the headset device, wherein the fourth connection request includes fourth gesture information; The display module is also used to display fourth prompt information when the gesture corresponding to the fourth gesture information matches the third gesture information, wherein the fourth prompt information includes device information of the headphone device, and the fourth prompt information is used to prompt the user that the electronic device and the headphone device have established a connection.

7. An electronic device, characterized in that: include: A processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the display method according to any one of claims 1 to 6.

8. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the display method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Pairing control method for wireless headphones, device and wireless headphones

    CN109286870A

  • Information processing method, terminal and computer storage medium

    CN109788441A

  • Bluetooth pairing method and device, storage medium and electronic equipment

    CN110582078A

  • Wireless earphone pairing method and device and wireless earphone

    CN112333593A