[go: up one dir, main page]

CN110677927A - Method and device for automatically connecting wearable device, storage medium and electronic device - Google Patents

Method and device for automatically connecting wearable device, storage medium and electronic device Download PDF

Info

Publication number
CN110677927A
CN110677927A CN201910907413.0A CN201910907413A CN110677927A CN 110677927 A CN110677927 A CN 110677927A CN 201910907413 A CN201910907413 A CN 201910907413A CN 110677927 A CN110677927 A CN 110677927A
Authority
CN
China
Prior art keywords
wearable device
user
wearable
state
connection
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910907413.0A
Other languages
Chinese (zh)
Inventor
朱长宝
王超银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Horizon Robotics Technology Research and Development Co Ltd
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
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 Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201910907413.0A priority Critical patent/CN110677927A/en
Publication of CN110677927A publication Critical patent/CN110677927A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for automatically connecting wearable equipment, a storage medium and electronic equipment, wherein the method comprises the following steps: detecting biometric information of a user from the image; in response to detecting the biometric information, detecting a state of the user wearing a wearable device from the image; controlling a connection state of the electronic device and the wearable device based on a state that the wearable device is worn by the user. The embodiment of the disclosure can improve the connection efficiency of the wearable device and improve the user experience.

Description

Method and device for automatically connecting wearable device, storage medium and electronic device
Technical Field
The disclosure relates to a wearable device connection technology, and in particular, to a method and an apparatus for automatically connecting a wearable device, a storage medium, and an electronic device.
Background
In the related art, a wearable device connection switch on an electronic device, such as a mobile phone, may be manually triggered by a user to establish a connection between the electronic device and a wearable device, such as a bluetooth headset, VR glasses, or the like. In this manner, even if the electronic device and the wearable device are paired, the user is still required to manually establish a connection between the electronic device and the wearable device.
Disclosure of Invention
The disclosure is provided for solving the technical problems that the connection efficiency of the wearable device is low and the user use experience is influenced due to the fact that the user needs to manually establish the connection between the electronic device and the wearable device. The embodiment of the disclosure provides a method and a device for automatically connecting a wearable device, a storage medium and an electronic device.
According to an aspect of the embodiments of the present disclosure, there is provided a method for automatically connecting a wearable device, including:
detecting biometric information of a user from the image;
in response to detecting the biometric information, detecting a state of the user wearing a wearable device from the image;
controlling a connection state of the electronic device and the wearable device based on a state that the wearable device is worn by the user.
According to another aspect of the embodiments of the present disclosure, there is provided an apparatus for automatically connecting a wearable device, including:
the information detection module is used for detecting the biological characteristic information of the user from the image;
a state detection module for detecting a state of the user wearing the wearable device from the image in response to the information detection module detecting the biometric information;
and the connection control module is used for controlling the connection state of the electronic equipment and the wearable equipment based on the state of the wearable equipment worn by the user, which is detected by the state detection module.
According to yet another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the method for automatically connecting a wearable device according to any of the embodiments.
According to still another aspect of the embodiments of the present disclosure, there is provided the electronic device including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to execute the method for automatically connecting a wearable device according to any of the above embodiments.
Based on the method for automatically connecting the wearable device provided by the above embodiment of the present disclosure, by detecting the biometric information of the user from the image, in response to detecting the biometric information, detecting the state of the wearable device worn by the user from the image, and based on the state of the wearable device worn by the user, controlling the connection state of the electronic device and the wearable device, since the state of the wearable device worn by the user can accurately reflect the state of the wearable device worn by the user, the connection state of the electronic device and the wearable device can be intelligently controlled based on the state of the wearable device worn by the user, and meanwhile, since the state of the wearable device worn by the user can be automatically detected through the image, the connection state of the electronic device and the wearable device can be automatically controlled, thereby saving the operation of the user and improving the connection efficiency of the wearable device, and the user experience is improved.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in more detail embodiments of the present disclosure with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is an exemplary scene diagram of the method for automatically connecting a wearable device in an application.
Fig. 2 is a flowchart illustrating a method for automatically connecting a wearable device according to an exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a method for automatically connecting a wearable device according to another exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a method for automatically connecting a wearable device according to still another exemplary embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating a method for automatically connecting a wearable device according to still another exemplary embodiment of the present disclosure.
Fig. 6 is a flowchart illustrating a method for automatically connecting a wearable device according to still another exemplary embodiment of the present disclosure.
Fig. 7 is a flowchart illustrating a method for automatically connecting a wearable device according to still another exemplary embodiment of the disclosure.
Fig. 8 is a schematic structural diagram of an apparatus for automatically connecting a wearable device according to an exemplary embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of an apparatus for automatically connecting a wearable device according to another exemplary embodiment of the present disclosure.
Fig. 10 is a schematic structural diagram of an apparatus for automatically connecting a wearable device according to still another exemplary embodiment of the present disclosure.
Fig. 11 is a schematic structural diagram of an apparatus for automatically connecting a wearable device according to still another exemplary embodiment of the present disclosure.
Fig. 12 is a schematic structural diagram of an apparatus for automatically connecting a wearable device according to still another exemplary embodiment of the present disclosure.
Fig. 13 is a schematic structural diagram of an apparatus for automatically connecting a wearable device according to still another exemplary embodiment of the present disclosure.
Fig. 14 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of the embodiments of the present disclosure and not all embodiments of the present disclosure, with the understanding that the present disclosure is not limited to the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present disclosure are used merely to distinguish one element from another, and are not intended to imply any particular technical meaning, nor is the necessary logical order between them.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The disclosed embodiments may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network pcs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Summary of the application
In the course of implementing the present disclosure, the inventor finds that the existing connection method of the wearable device is implemented based on manual operation of the user, and the method has at least the following problems: the connection efficiency of the wearable device is low, and the use experience of a user is influenced.
Exemplary System
Fig. 1 is an exemplary scene diagram of the method for automatically connecting a wearable device in an application. Such as
As shown in fig. 1, a wearable device 110 and an electronic device 120 are included in the exemplary scenario. The wearable device 110 is only a bluetooth headset, and in practical application, the wearable device 110 may also be a bracelet, VR glasses, and the like, which is not limited in this disclosure; similarly, the electronic device 120 is only a mobile phone, and in practical applications, the electronic device 120 may also be a PAD, a personal computer, and the like, which is not limited in this disclosure.
In the scenario illustrated in fig. 1, the electronic device 120 may perform the method for automatically connecting to a wearable device provided by the present disclosure to automatically establish a connection with the wearable device 110 when the user wears the wearable device 110. How the electronic device 120 performs the method for automatically connecting to the wearable device provided by the present disclosure is described below, and will not be described in detail here.
Exemplary method
Fig. 2 is a flowchart illustrating a method for automatically connecting a wearable device according to an exemplary embodiment of the present disclosure. The embodiment can be applied to the electronic device 120, as shown in fig. 2, and includes the following steps:
in step 201, biometric information of a user is detected from an image.
The image may be acquired by the electronic device 120 through a built-in camera module (not shown in fig. 1).
In an embodiment, the electronic device 120 may call the camera module to capture an image under a certain trigger condition, or may call the camera module to capture an image all the time in the background. The triggering condition may be that an image acquisition instruction triggered by a user is detected, that an application related to multimedia playing installed by the user is started is detected, or that the user is in a bright screen state.
It should be noted that the above-described trigger condition is only an example, and in practical applications, the trigger condition may also be in other forms, and the disclosure does not limit this.
In one embodiment, the biometric information may refer to physiological characteristic information of the user, such as an iris, a fingerprint, a palm print, a face image, and the like.
In response to detecting the biometric information, a state of the user wearing the wearable device is detected from the image, step 202.
In an embodiment, the detection of the user may be determined when the biometric information is detected, at which point the state of the wearable device worn by the user is further detected from the image.
The state of the wearable device worn by the user may include that the wearable device is worn by the user and the wearable device is not worn by the user. For example, in the scenario illustrated in fig. 1, the state in which the user wears the wearable device is that the user wears the wearable device.
And step 203, controlling the connection state of the electronic equipment and the wearable equipment based on the state that the wearable equipment is worn by the user.
The connection state of the electronic device and the wearable device can comprise connection and disconnection.
In an embodiment, if the state that the user wears the wearable device indicates that the user does not wear the wearable device, the connection between the electronic device and the wearable device may be disconnected; if the state of the wearable device worn by the user indicates that the wearable device is worn by the user, a connection between the electronic device and the wearable device may be established, for example, in the scenario illustrated in fig. 1, a connection between the electronic device 120 and the wearable device 110 may be established.
The connection between the electronic device 120 and the wearable device 110 may be a communication connection based on a bluetooth protocol, an infrared connection based on an infrared signal, or the like.
Based on the embodiment, the biological feature information of the user is detected from the image, the state that the wearable device is worn by the user is detected from the image in response to the detection of the biological feature information, the connection state of the electronic device and the wearable device is controlled based on the state that the wearable device is worn by the user, and the connection state of the electronic device and the wearable device can be intelligently controlled based on the state that the wearable device is worn by the user.
In an optional example, the "detecting the state of the wearable device worn by the user from the image" described in the step 202 may include:
and inputting the images into the trained intelligent recognition model to obtain the state of the wearable equipment worn by the user.
The intelligent recognition model may be a convolutional neural network model, which may be obtained by training a large number of training samples, such as a user's head portrait with wearable equipment and a user's head portrait without wearable equipment. By inputting the images into the trained intelligent recognition model, the state of the wearable device worn by the user in the images can be obtained quickly and accurately.
As shown in fig. 3, based on the embodiment shown in fig. 2, step 203 may include the following steps:
step 2031, determining a first device identifier of the wearable device, and if the wearable device wearing state of the user indicates that the user wears the wearable device, executing step 2032; if the state of the user wearing the wearable device indicates that the user is not wearing the wearable device, step 2034 is performed.
Herein, for convenience of description, the device identifier of the wearable device is referred to as a first device identifier in the present disclosure.
In an embodiment, the first device identifier of the wearable device may be determined based on the image, for example, the first device identifier of the wearable device may be determined based on information such as a two-dimensional code or a barcode on the body of the wearable device in the image, or the type of the wearable device may be determined based on the body characteristics of the wearable device in the image, and then the first device identifier of the wearable device may be determined.
In an embodiment, a first device identification of a wearable device may be determined based on a signal emitted by the wearable device. The specific form of the signal may be a sound signal, a light-sensitive signal, etc., and no matter what specific form the signal takes, the signal carries at least the first device identifier of the wearable device.
Step 2032, find the first device identifier in the device pairing information list.
The device pairing information list at least comprises a device identification of the wearable device successfully paired with the electronic device.
And 2033, controlling the electronic device to establish connection with the wearable device based on the search result. And ending the flow.
The search result may include a search result in which the first device identifier is found in the device pairing information list, and a search result in which the first device identifier is not found in the device pairing information list.
Step 2034, find the first device id in the device connection information list.
The device connection information list at least comprises a device identification of a wearable device connected with the electronic device.
Step 2035, if the first device identifier is found, disconnecting the electronic device from the wearable device.
If the first device identifier is found in the device connection information list, it may be determined that the wearable device 110 and the electronic device 120 are in a connected state, and meanwhile, since the state that the user wears the wearable device indicates that the user does not wear the wearable device 110, the connection between the wearable device 110 and the electronic device 120 may be disconnected.
Based on the embodiment, by determining the first device identifier of the wearable device, if the state that the user wears the wearable device indicates that the user wears the wearable device, searching the first device identifier in the device pairing information list, and controlling the electronic device to establish connection with the wearable device based on the searching result; if the state that the user wears the wearable device indicates that the user does not wear the wearable device, the first device identification is searched in the device connection information list, if the first device identification is searched, the connection between the electronic device and the wearable device is disconnected, the electronic device and the wearable device are automatically controlled to be connected based on the matching condition of the wearable device and the electronic device under the condition that the user wears the wearable device, the connection between the wearable device and the electronic device can be automatically disconnected under the condition that the user does not wear the wearable device and the electronic device is determined to be in the current connection state, and the efficiency of controlling the connection state between the electronic device and the wearable device is improved.
As shown in fig. 4, based on the embodiment shown in fig. 3, step 2033 may include the following steps:
step 20331, if the first device identifier is found, execute step 20332, and if the first device identifier is not found, execute step 20333.
Step 20332, based on the device information corresponding to the first device identifier in the device pairing information list, controlling the electronic device to establish a connection with the wearable device.
In an embodiment, the device pairing information list may further include device information of a wearable device successfully paired with the electronic device, for example, a device identifier, a physical address, a device type, and the like.
Step 20333, a prompt message is output to prompt the user to control the electronic device to establish a connection with the wearable device.
The specific form of the prompt message can be voice, text, signal lamp flashing and the like.
Step 20334, in response to detecting the connection request triggered by the user based on the prompt message, controlling the electronic device to establish a connection with the wearable device.
Wherein, the user can trigger the connection request in the forms of voice, triggering a designated button and the like.
Based on the embodiment, under the condition that the first device identifier of the wearable device is found in the device pairing information list, the electronic device is controlled to be connected with the wearable device based on the device information corresponding to the first device identifier in the device pairing information list, so that the electronic device is automatically controlled to be connected with the wearable device, and the connection efficiency of the wearable device is improved; meanwhile, under the condition that the first equipment identification of the wearable equipment is not found in the equipment pairing information list, the electronic equipment can be controlled to be connected with the wearable equipment based on user operation, so that the user requirements are met.
As shown in fig. 5, on the basis of the embodiment shown in fig. 3, the method may further include the following steps:
step 501, detecting a state of a target application on an electronic device, where the target application is an application related to multimedia playing.
The multimedia may include audio and video.
The states of the target application may include an open state, a closed state.
Step 502, in response to detecting that the target application is in an open state, performing a step of controlling the electronic device to establish a connection with the wearable device based on the search result.
In an embodiment, it may be determined that the user needs to use the wearable device when it is detected that the target application is in an open state, and at this time, the step of controlling the electronic device to establish a connection with the wearable device based on the search result is further performed.
Based on the embodiment, the state of the target application on the electronic device is detected, and the step of controlling the electronic device to be connected with the wearable device based on the search result is executed when the target application is detected to be in the open state.
As shown in fig. 6, on the basis of the embodiment shown in fig. 3, the method may further include the following steps:
step 601, detecting the viewing state of the electronic equipment display screen by the user from the image.
The viewing state of the electronic device display screen by the user can comprise that the user views the display screen of the electronic device and the user does not view the display screen of the electronic device.
In an embodiment, the viewing state of the user may be determined based on the gaze by detecting, from the image, a gaze at which an eyeball of the user gazes at the display screen of the electronic device.
Step 602, in response to detecting that the viewing state of the user on the display screen of the electronic device indicates that the user views the display screen, performing a step of controlling the electronic device to establish a connection with the wearable device based on the search result.
In an embodiment, when it is detected that the viewing state of the user on the display screen of the electronic device indicates that the user views the display screen, it may be determined that the user needs to use the wearable device, at this time, the step of controlling the electronic device to establish a connection with the wearable device based on the search result may be further performed.
Based on the embodiment, by detecting the watching state of the user on the display screen of the electronic device, and when the watching state of the user on the display screen of the electronic device is detected to represent that the user watches the display screen, the step of controlling the electronic device to be connected with the wearable device based on the search result is executed, because the watching state of the user on the display screen of the electronic device represents that the user needs to use the wearable device when watching the display screen, at the moment, the electronic device is controlled to be connected with the wearable device, the situation that the electronic device is controlled to be connected with the wearable device when the user does not need to use the wearable device can be avoided, and therefore resources of the electronic device can be saved.
As shown in fig. 7, on the basis of the embodiment shown in fig. 3, the method may further include the following steps:
step 701, after it is detected that the electronic device is connected with the wearable device, identity information of a user is acquired.
The identity information of the user can be embodied in the forms of fingerprints, irises, palm prints, facial features and the like of the user.
Step 702, determining the setting information matched with the identity information based on the identity information.
The setting information may include a playing volume of an audio, a playing definition of a video, and the like.
In an embodiment, the electronic device may record identity information and corresponding setting information of a user based on historical usage of any wearable device by the user.
In an embodiment, the identity information of the same user may correspond to a plurality of setting information, for example, a plurality of playing volumes, which are respectively set when the user uses the wearable device to play audio at different times.
And step 703, controlling the playing state of the wearable device based on the setting information.
The playing status may include a playing volume, a playing definition, and the like.
In an embodiment, the setting information with the most frequent occurrence frequency may be selected from a plurality of setting information corresponding to the identity information of the same user, and the playing state of the wearable device may be controlled based on the setting information with the most frequent occurrence frequency.
Based on the embodiment, after the electronic equipment is detected to be connected with the wearable equipment, the identity information of the user is obtained, the setting information matched with the identity information is determined based on the identity information, the playing state of the wearable equipment is controlled based on the setting information, and the setting information is recorded based on the historical use condition of the user, so that the personalized playing of the wearable equipment can be realized according to the historical use condition of the user, and the user experience is improved.
Any of the methods for automatically connecting a wearable device provided by embodiments of the present disclosure may be performed by any suitable device having data processing capabilities, including but not limited to: terminal equipment, a server and the like. Alternatively, any of the methods for automatically connecting a wearable device provided by the embodiments of the present disclosure may be executed by a processor, for example, the processor may execute any of the methods for automatically connecting a wearable device mentioned by the embodiments of the present disclosure by calling a corresponding instruction stored in a memory. And will not be described in detail below.
Exemplary devices
Fig. 8 is a schematic diagram of an apparatus for automatic connection of a wearable device according to an exemplary embodiment of the present disclosure, as shown in fig. 8, including:
an information detection module 81 for detecting biometric information of the user from the image;
a state detection module 82, configured to detect, from the image, a state in which the user wears a wearable device in response to the information detection module 81 detecting the biometric information;
a connection control module 83, configured to control a connection state of the electronic device and the wearable device based on the state of the wearable device worn by the user detected by the state detection module 82.
Based on the embodiment, the biological feature information of the user is detected from the image, the state that the wearable device is worn by the user is detected from the image in response to the detection of the biological feature information, the connection state of the electronic device and the wearable device is controlled based on the state that the wearable device is worn by the user, and the connection state of the electronic device and the wearable device can be intelligently controlled based on the state that the wearable device is worn by the user.
In an optional example, the state detection module 82 is specifically configured to input the image into a trained smart recognition model, so as to obtain a state of the wearable device worn by the user.
As shown in fig. 9, on the basis of the embodiment shown in fig. 8, the connection control module 83 may include:
an identity determination submodule 831 for determining a first device identity of the wearable device;
a first searching sub-module 832, configured to search, if the state of the wearable device worn by the user detected by the state detecting module 82 indicates that the wearable device is worn by the user, the first device identifier determined by the identifier determining sub-module 831 in a device pairing information list, where the device pairing information list at least includes a device identifier of a wearable device successfully paired with the electronic device;
the connection establishing sub-module 833 is configured to control the electronic device to establish a connection with the wearable device based on a search result of the first search sub-module 832;
a second searching sub-module 834, configured to search, if the state of the wearable device worn by the user detected by the state detection module 82 indicates that the wearable device is not worn by the user, the first device identifier determined by the identifier determining sub-module 831 in a device connection information list, where the device connection information list at least includes a device identifier of the wearable device connected to the electronic device;
the disconnection submodule 835 is configured to disconnect the electronic device from the wearable device if the second searching submodule 834 finds the identifier determining submodule 831 determines the first device identifier.
Based on the embodiment, by determining the first device identifier of the wearable device, if the state that the user wears the wearable device indicates that the user wears the wearable device, searching the first device identifier in the device pairing information list, and controlling the electronic device to establish connection with the wearable device based on the searching result; if the state that the user wears the wearable device indicates that the user does not wear the wearable device, the first device identification is searched in the device connection information list, if the first device identification is searched, the connection between the electronic device and the wearable device is disconnected, the electronic device and the wearable device are automatically controlled to be connected based on the matching condition of the wearable device and the electronic device under the condition that the user wears the wearable device, the connection between the wearable device and the electronic device can be automatically disconnected under the condition that the user does not wear the wearable device and the electronic device is determined to be in the current connection state, and the efficiency of controlling the connection state between the electronic device and the wearable device is improved.
As shown in fig. 10, on the basis of the above-mentioned embodiment shown in fig. 9, the establishing connection sub-module 833 may include:
a first connection sub-module 8331, configured to, if the first search sub-module 832 finds that the identifier determination sub-module 831 determines a first device identifier, control the electronic device to establish a connection with the wearable device based on the device information corresponding to the first device identifier in the device pairing information list;
an output sub-module 8332, configured to output a prompt message prompting a user to control the electronic device to establish a connection with the wearable device if the first search sub-module 832 does not find the identifier determining sub-module 831 determines the first device identifier;
a second connection sub-module 8333, configured to control the electronic device to establish a connection with the wearable device in response to detecting a connection request triggered by a user based on the prompt message output by the output sub-module 8332.
Based on the embodiment, under the condition that the first device identifier of the wearable device is found in the device pairing information list, the electronic device is controlled to be connected with the wearable device based on the device information corresponding to the first device identifier in the device pairing information list, so that the electronic device is automatically controlled to be connected with the wearable device, and the connection efficiency of the wearable device is improved; meanwhile, under the condition that the first equipment identification of the wearable equipment is not found in the equipment pairing information list, the electronic equipment can be controlled to be connected with the wearable equipment based on user operation, so that the user requirements are met.
As shown in fig. 11, on the basis of the embodiment shown in fig. 9, the method may further include:
an application detection module 84, configured to detect a state of a target application on the electronic device, where the target application is an application related to multimedia playing;
a first processing module 85, configured to, in response to the application detection module 84 detecting that the target application is in an open state, execute the step of controlling, by the connection establishment sub-module 833, the electronic device to establish a connection with the wearable device based on a search result.
Based on the embodiment, the state of the target application on the electronic device is detected, and the step of controlling the electronic device to be connected with the wearable device based on the search result is executed when the target application is detected to be in the open state.
As shown in fig. 12, on the basis of the embodiment shown in fig. 9, the method may further include:
a viewing detection module 86, configured to detect a viewing state of the electronic device display screen by the user from the image;
a second processing module 87, configured to, in response to the viewing detection module 86 detecting that the viewing state of the user on the display screen of the electronic device indicates that the user views the display screen, execute the step, performed by the connection establishment sub-module 833, of controlling the electronic device to establish a connection with the wearable device based on the search result.
Based on the embodiment, by detecting the watching state of the user on the display screen of the electronic device, and when the watching state of the user on the display screen of the electronic device is detected to represent that the user watches the display screen, the step of controlling the electronic device to be connected with the wearable device based on the search result is executed, because the watching state of the user on the display screen of the electronic device represents that the user needs to use the wearable device when watching the display screen, at the moment, the electronic device is controlled to be connected with the wearable device, the situation that the electronic device is controlled to be connected with the wearable device when the user does not need to use the wearable device can be avoided, and therefore resources of the electronic device can be saved.
As shown in fig. 13, on the basis of the embodiment shown in fig. 8, the method may further include:
an information obtaining module 88, configured to obtain identity information of the user after detecting that the electronic device is connected to the wearable device;
an information determining module 89, configured to determine, based on the identity information acquired by the information acquiring module 88, setting information that matches the identity information;
a state control module 810, configured to control a playing state of the wearable device based on the setting information determined by the information determination module 89.
Based on the embodiment, after the electronic equipment is detected to be connected with the wearable equipment, the identity information of the user is obtained, the setting information matched with the identity information is determined based on the identity information, the playing state of the wearable equipment is controlled based on the setting information, and the setting information is recorded based on the historical use condition of the user, so that the personalized playing of the wearable equipment can be realized according to the historical use condition of the user, and the user experience is improved.
Next, an electronic apparatus according to an embodiment of the present disclosure is described with reference to fig. 14. The electronic device may be either or both of the first device 100 and the second device 200, or a stand-alone device separate from them that may communicate with the first device and the second device to receive the collected input signals therefrom.
FIG. 14 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure.
As shown in fig. 14, the electronic device 140 includes one or more processors 141 and memory 142.
Processor 141 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in electronic device 140 to perform desired functions.
Memory 142 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 11 to implement the above-described methods of wearable device automatic connection of various embodiments of the present disclosure and/or other desired functionality. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 140 may further include: an input device 143 and an output device 144, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
For example, when the electronic device is the first device 100 or the second device 200, the input device 143 may be the microphone or the microphone array described above for capturing the input signal of the sound source. When the electronic device is a stand-alone device, the input means 143 may be a communication network connector for receiving the acquired input signals from the first device 100 and the second device 200.
The input device 143 may also include, for example, a keyboard, a mouse, and the like.
The output device 144 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 144 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device 140 relevant to the present disclosure are shown in fig. 14, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device 140 may include any other suitable components, depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the methods and devices described above, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method of wearable device auto-connection according to various embodiments of the present disclosure described in the "exemplary methods" section above of this specification.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in a method of wearable device auto-connection according to various embodiments of the present disclosure described in the "exemplary methods" section above of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the devices, apparatuses, and methods of the present disclosure, each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (12)

1. A method for automatically connecting a wearable device is applied to an electronic device and comprises the following steps:
detecting biometric information of a user from the image;
in response to detecting the biometric information, detecting a state of the user wearing a wearable device from the image;
controlling a connection state of the electronic device and the wearable device based on a state that the wearable device is worn by the user.
2. The method of claim 1, wherein the controlling the connection state of the electronic device with the wearable device based on the state of the user wearing the wearable device comprises:
determining a first device identification of the wearable device;
if the state that the user wears the wearable device indicates that the user wears the wearable device, searching the first device identification in a device pairing information list, wherein the device pairing information list at least comprises the device identification of the wearable device successfully paired with the electronic device; controlling the electronic equipment to establish connection with the wearable equipment based on the search result;
if the state that the user wears the wearable device indicates that the user does not wear the wearable device, searching the first device identification in a device connection information list, wherein the device connection information list at least comprises the device identification of the wearable device connected with the electronic device; and if the first equipment identifier is found, disconnecting the electronic equipment from the wearable equipment.
3. The method of claim 2, wherein the device pairing information list further includes device information of a wearable device successfully paired with the electronic device;
the controlling the electronic device to establish connection with the wearable device based on the search result includes:
if the first equipment identifier is found, controlling the electronic equipment to establish connection with the wearable equipment based on the equipment information corresponding to the first equipment identifier in the equipment pairing information list;
if the first equipment identification is not found, outputting a prompt message for prompting a user to control the electronic equipment to establish connection with the wearable equipment; controlling the electronic device to establish a connection with the wearable device in response to detecting a connection request triggered by a user based on the prompt message.
4. The method of claim 2, further comprising, prior to the controlling the electronic device to establish a wireless connection with the wearable device based on the lookup result:
detecting the state of a target application on the electronic equipment, wherein the target application is an application related to multimedia playing;
and in response to detecting that the target application is in an open state, executing the step of controlling the electronic device to establish connection with the wearable device based on the search result.
5. The method of claim 2, further comprising, prior to the controlling the electronic device to establish a connection with the wearable device based on the lookup result:
detecting a viewing state of the user on a display screen of the electronic equipment from the image;
in response to detecting that the viewing state of the user on the display screen of the electronic device represents that the user views the display screen, performing the step of controlling the electronic device to establish connection with the wearable device based on the search result.
6. The method of claim 1, further comprising: after the electronic equipment is detected to be connected with the wearable equipment, acquiring identity information of the user;
determining setting information matched with the identity information based on the identity information;
controlling a play state of the wearable device based on the setting information.
7. The method of claim 1, wherein the detecting, from the image, a state in which the user is wearing a wearable device comprises:
and inputting the image into a trained intelligent recognition model to obtain the state of the wearable device worn by the user.
8. The method of any of claims 1-7, wherein the wearable device comprises at least a Bluetooth headset;
the connection between the electronic equipment and the Bluetooth headset is communication connection based on a Bluetooth protocol.
9. An apparatus for automatically connecting a wearable device, applied to an electronic device, comprises:
the information detection module is used for detecting the biological characteristic information of the user from the image;
a state detection module for detecting a state of the user wearing the wearable device from the image in response to the information detection module detecting the biometric information;
and the connection control module is used for controlling the connection state of the electronic equipment and the wearable equipment based on the state of the wearable equipment worn by the user, which is detected by the state detection module.
10. The apparatus of claim 9, wherein the connection control module comprises:
an identity determination sub-module for determining a first device identity of the wearable device;
the first searching sub-module is configured to search, if the state of the wearable device worn by the user detected by the state detection module indicates that the wearable device is worn by the user, the first device identifier determined by the identifier determining sub-module in a device pairing information list, where the device pairing information list at least includes a device identifier of the wearable device successfully paired with the electronic device;
the connection establishing sub-module is used for controlling the electronic equipment to establish connection with the wearable equipment based on the searching result of the first searching sub-module;
the second searching sub-module is configured to search the first device identifier determined by the identifier determining sub-module in a device connection information list if the state, detected by the state detection module, of the wearable device worn by the user indicates that the wearable device is not worn by the user, where the device connection information list at least includes a device identifier of the wearable device connected to the electronic device;
and the disconnection submodule is used for disconnecting the electronic equipment from the wearable equipment if the second searching submodule finds the identifier determining submodule to determine the first equipment identifier.
11. A computer-readable storage medium storing a computer program for performing the method of automatically connecting a wearable device according to any of claims 1-8.
12. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to perform the method for automatically connecting a wearable device according to any one of claims 1 to 8.
CN201910907413.0A 2019-09-24 2019-09-24 Method and device for automatically connecting wearable device, storage medium and electronic device Pending CN110677927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910907413.0A CN110677927A (en) 2019-09-24 2019-09-24 Method and device for automatically connecting wearable device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910907413.0A CN110677927A (en) 2019-09-24 2019-09-24 Method and device for automatically connecting wearable device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN110677927A true CN110677927A (en) 2020-01-10

Family

ID=69078898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910907413.0A Pending CN110677927A (en) 2019-09-24 2019-09-24 Method and device for automatically connecting wearable device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110677927A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI836498B (en) * 2021-11-03 2024-03-21 宏達國際電子股份有限公司 Method, system and recording medium for accessory pairing

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200925A (en) * 2016-06-28 2016-12-07 广东欧珀移动通信有限公司 The control method of mobile terminal, device and mobile terminal
CN106303904A (en) * 2015-05-26 2017-01-04 上海果壳电子有限公司 For connecting the method and apparatus of wearable device and mobile terminal
CN106445461A (en) * 2016-10-25 2017-02-22 北京小米移动软件有限公司 Text information processing method and device
CN107197418A (en) * 2017-04-21 2017-09-22 上海掌门科技有限公司 A kind of intelligent control method worn based on wrist-watch and system
CN107509167A (en) * 2017-08-09 2017-12-22 泉州市爱迪尔信息科技有限公司 A kind of intelligent track record device and its working method
CN108418945A (en) * 2017-02-10 2018-08-17 深圳市九州通机电设备有限公司 A kind of Bluetooth of mobile phone intelligent comprehensive processing system and method
CN108700934A (en) * 2015-09-24 2018-10-23 托比股份公司 Wearables capable of eye tracking
CN108762213A (en) * 2018-06-04 2018-11-06 李宇轩 Control method, device and the intelligent glasses of smart home
CN108966198A (en) * 2018-08-30 2018-12-07 Oppo广东移动通信有限公司 Network connection method and device, intelligent glasses and storage medium
CN110099371A (en) * 2019-05-07 2019-08-06 潍坊医学院附属医院 It is a kind of to use eye data monitoring method and eye-care system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303904A (en) * 2015-05-26 2017-01-04 上海果壳电子有限公司 For connecting the method and apparatus of wearable device and mobile terminal
CN108700934A (en) * 2015-09-24 2018-10-23 托比股份公司 Wearables capable of eye tracking
CN106200925A (en) * 2016-06-28 2016-12-07 广东欧珀移动通信有限公司 The control method of mobile terminal, device and mobile terminal
CN106445461A (en) * 2016-10-25 2017-02-22 北京小米移动软件有限公司 Text information processing method and device
CN108418945A (en) * 2017-02-10 2018-08-17 深圳市九州通机电设备有限公司 A kind of Bluetooth of mobile phone intelligent comprehensive processing system and method
CN107197418A (en) * 2017-04-21 2017-09-22 上海掌门科技有限公司 A kind of intelligent control method worn based on wrist-watch and system
CN107509167A (en) * 2017-08-09 2017-12-22 泉州市爱迪尔信息科技有限公司 A kind of intelligent track record device and its working method
CN108762213A (en) * 2018-06-04 2018-11-06 李宇轩 Control method, device and the intelligent glasses of smart home
CN108966198A (en) * 2018-08-30 2018-12-07 Oppo广东移动通信有限公司 Network connection method and device, intelligent glasses and storage medium
CN110099371A (en) * 2019-05-07 2019-08-06 潍坊医学院附属医院 It is a kind of to use eye data monitoring method and eye-care system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
玛丽娜.L.加夫里洛娃等: "《安全系统中的多模态生物特征识别与智能图像处理》", 30 September 2016 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI836498B (en) * 2021-11-03 2024-03-21 宏達國際電子股份有限公司 Method, system and recording medium for accessory pairing
US12223715B2 (en) 2021-11-03 2025-02-11 Htc Corporation Method, system and recording medium for accessory pairing

Similar Documents

Publication Publication Date Title
US12108123B2 (en) Method for editing image on basis of gesture recognition, and electronic device supporting same
US12406490B2 (en) Personal computing device control using face detection and recognition
US9049983B1 (en) Ear recognition as device input
US20150088515A1 (en) Primary speaker identification from audio and video data
WO2018121428A1 (en) Living body detection method, apparatus, and storage medium
US9854439B2 (en) Device and method for authenticating a user of a voice user interface and selectively managing incoming communications
US20190369825A1 (en) Electronic device and method for providing information related to image to application through input unit
US10824891B2 (en) Recognizing biological feature
KR102525108B1 (en) Method for operating speech recognition service and electronic device supporting the same
CN103295029A (en) Interaction method and device of gesture control terminal
WO2018133282A1 (en) Dynamic recognition method and terminal device
CN108197450A (en) Face identification method, face identification device, storage medium and electronic equipment
WO2016197389A1 (en) Method and device for detecting living object, and mobile terminal
CN110677682A (en) Live broadcast detection and data processing method, device, system and storage medium
US20140176689A1 (en) Apparatus and method for assisting the visually impaired in object recognition
CN115376517A (en) Method and device for displaying speaking content in conference scene
CN112214626A (en) Image recognition method and device, readable storage medium and electronic equipment
CN113342170A (en) Gesture control method, device, terminal and storage medium
CN110677927A (en) Method and device for automatically connecting wearable device, storage medium and electronic device
KR20190135794A (en) Mobile terminal
CN109981970B (en) Method and device for determining shooting scene and robot
CN114677746B (en) Living body face detection method and device, storage medium and electronic equipment
KR20210075641A (en) Providing Method for information and electronic device supporting the same
CN114171039B (en) Signal processing method and device and electronic equipment
EP3236377A1 (en) Method, device and system for preventing account from being broken into

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200110