[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112689274B - Prompting method and device for short-distance wireless communication connection and massaging equipment - Google Patents

Prompting method and device for short-distance wireless communication connection and massaging equipment Download PDF

Info

Publication number
CN112689274B
CN112689274B CN202011528165.8A CN202011528165A CN112689274B CN 112689274 B CN112689274 B CN 112689274B CN 202011528165 A CN202011528165 A CN 202011528165A CN 112689274 B CN112689274 B CN 112689274B
Authority
CN
China
Prior art keywords
prompt
massage
equipment
unit
wireless communication
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.)
Active
Application number
CN202011528165.8A
Other languages
Chinese (zh)
Other versions
CN112689274A (en
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.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies 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 SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202011528165.8A priority Critical patent/CN112689274B/en
Publication of CN112689274A publication Critical patent/CN112689274A/en
Application granted granted Critical
Publication of CN112689274B publication Critical patent/CN112689274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The application discloses a prompting method and device for short-distance wireless communication connection and massage equipment, and belongs to the technical field of video communication. Applied to a massage device, the method comprising: responding to the massage equipment to establish short-distance wireless communication connection with the electronic equipment, and starting a prompt module of the massage equipment; and displaying first prompt information through the prompt module, wherein the first prompt information is used for indicating that the massage equipment is establishing short-distance wireless communication connection. The massage equipment provided by the application can indicate the user that the massage equipment is establishing the short-distance wireless communication connection through the first prompt information, so that the user can know whether the massage equipment which the user wants to connect is establishing the short-distance wireless communication connection, and the efficiency of man-machine interaction is improved.

Description

Prompting method and device for short-distance wireless communication connection and massaging equipment
Technical Field
The present application relates to the field of short-range wireless communications technologies, and in particular, to a method and apparatus for prompting bluetooth connection, and a massaging device.
Background
With the development of the technical field of short-range wireless communication, more and more terminals in daily life can be connected with each other by means of short-range wireless communication.
At present, in the short-distance wireless communication connection process, an electronic device opens a short-distance wireless communication function, after scanning detected devices to be connected, a device list of each device to be connected is displayed, and a user can initiate short-distance wireless communication connection with the triggered devices to be connected by clicking any one device in the device list.
In the above related art, when a plurality of devices to be connected are included in the device list, the user can select the device to be connected from among the plurality of lists, but many times the user cannot determine which device to be connected is from the device names of the devices to be connected, or in the case that the device names of the plurality of devices to be connected are the same, the user can only attempt to connect next to each other, and the connection efficiency is low.
Disclosure of Invention
The embodiment of the application provides a prompting method and a prompting device for short-distance wireless communication connection and massage equipment, which can improve the man-machine interaction efficiency in the process of establishing short-distance wireless communication connection between the equipment.
In one aspect, an embodiment of the present application provides a method for prompting short-distance wireless communication connection, where the method is applied to a massage device, and the method includes:
Responding to the massage equipment to establish short-distance wireless communication connection with the electronic equipment, and starting a prompt module of the massage equipment;
and displaying the first prompt information through the prompt module, wherein the first prompt information is used for indicating that the massage equipment is establishing short-distance wireless communication connection.
Optionally, the prompt module includes at least two prompt units, the respective prompt mode of at least two prompt units is different, through the prompt module, demonstrate the first prompt message, include:
acquiring a target prompt signal, wherein the target prompt signal is used for triggering a first prompt unit to display the first prompt information, and the first prompt unit is any prompt unit in the at least two prompt units;
and controlling the first prompt unit to display the first prompt information according to the target prompt signal.
Optionally, before the target prompt signal is obtained, the method further includes:
acquiring equipment states of the massage equipment, wherein the equipment states comprise one or more of use states, position information and electric quantity information of the massage equipment, the use states comprise wearing states and unworn states, the position information is used for indicating the distance between the massage equipment and other massage equipment, and the electric quantity information is used for indicating electric quantity values of the massage equipment;
The obtaining the target prompt signal includes:
and acquiring the target prompt signal according to the equipment state of the massage equipment.
Optionally, the obtaining the target prompting signal according to the device state of the massage device includes:
acquiring a first priority order of each unit included in the prompt module according to the equipment state of the massage equipment;
acquiring a first target prompt signal according to the first priority order; the first target prompt signal is used for triggering a prompt unit with the highest priority in the first priority sequence.
Optionally, the obtaining, according to the device state of the massage device, the first priority order of each unit included in the prompting module includes:
acquiring a state score corresponding to the equipment state according to the equipment state of the massage equipment;
and acquiring a first priority order of each unit included by the prompt module according to the state scores.
Optionally, the obtaining the first target prompting signal according to the first priority order includes:
determining a first target prompt unit according to the first priority order, wherein the first target prompt unit is a prompt unit with highest priority in the first priority order;
Detecting the working state of the first target prompting unit, wherein the working state comprises an idle state and an operating state;
and responding to the working state of the first target prompt unit to be an idle state, and acquiring the first target prompt signal.
Optionally, the method further comprises:
responding to the working state of the first target prompt unit being an operation state, and acquiring a second priority order, wherein the second priority order is a priority order formed by removing the first target prompt unit from the first priority order;
and acquiring a second target prompt signal according to the second priority order, wherein the second target prompt signal is used for triggering a prompt unit with the highest priority in the second priority order.
Optionally, before the target prompt signal is obtained according to the equipment state of the massage equipment, the method further comprises
The signal acquisition request is sent to a server, wherein the signal acquisition request carries the equipment state of the massage equipment and is used for requesting the server to generate the target prompt signal according to the equipment state of the massage equipment;
the step of obtaining the target prompt signal according to the equipment state of the massage equipment comprises the following steps:
And receiving the target prompt signal returned by the server.
Optionally, the at least two prompting units include at least two prompting units among a display screen unit, a loudspeaker unit, a vibration module unit and a light module unit.
Optionally, the short-range wireless communication is any one of wireless fidelity WiFi communication, peer-to-peer D2D communication, bluetooth communication, or Zigbee communication.
Optionally, the massage device includes identification information, where the identification information is used to be identified by the electronic device to obtain a device identifier of the massage device, and before the response to the establishment of the short-distance wireless communication connection between the massage device and the electronic device, the method further includes:
and after the electronic equipment is received to identify the equipment identifier, the identification information is acquired, and a pairing request is initiated according to the equipment identifier, wherein the pairing request is used for establishing short-distance wireless communication connection.
Optionally, the identification information includes any one of a bar code, a two-dimensional code and text information stuck on the massage device; or,
the identification information comprises any one of bar codes, two-dimensional codes and text information displayed in a display screen of the massage equipment.
Optionally, the device identifier includes any one of a media access control MAC address, a product serial number, a system account number, a client identification module number, a port number, and a port number of the massaging device.
In one aspect, an embodiment of the present application provides a prompting device for short-distance wireless communication connection, where the device is applied to a massage apparatus, and the device includes:
the starting module is used for responding to the fact that the massage equipment and the electronic equipment are in short-distance wireless communication connection, starting the prompting module of the massage equipment, wherein the prompting module is used for displaying first prompting information, and the first prompting information is used for indicating that the massage equipment is in short-distance wireless communication connection;
and the prompt module is used for displaying the first prompt information through the prompt module.
In another aspect, an embodiment of the present application provides a massaging device, including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to implement a prompting method for short-distance wireless communication connection according to the above aspect.
In another aspect, an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for prompting a short-range wireless communication connection according to one of the aspects described above.
In another aspect, embodiments of the present application provide a computer program product which, when run on a computer, causes the computer to perform a method of prompting a short-range wireless communication connection as described in one of the above aspects.
In another aspect, an embodiment of the present application provides an application publishing platform, where the application publishing platform is configured to publish a computer program product, and when the computer program product runs on a computer, cause the computer to execute the prompting method of the short-range wireless communication connection according to the above aspect.
The technical scheme provided by the embodiment of the application at least comprises the following beneficial effects:
the massage equipment provided by the application can start the prompt module of the massage equipment when the massage equipment establishes short-distance wireless communication connection with the electronic equipment, wherein the prompt module is used for displaying first prompt information, and the first prompt information is used for indicating that the massage equipment is establishing short-distance wireless communication connection; and the first prompt information is displayed through the prompt module, so that the first prompt information indicates that the massage equipment is establishing short-distance wireless communication connection to the user, the user can know whether the massage equipment which the user wants to connect is establishing short-distance wireless communication connection or not, and the efficiency of man-machine interaction is improved.
Drawings
FIG. 1 is a schematic diagram of a scenario architecture of a short-range wireless communication connection according to an exemplary embodiment of the present application;
FIG. 2 is an interface diagram of a master device displaying device names of slave devices according to an exemplary embodiment of the present application;
FIG. 3 is a method flow diagram of a method for prompting a short-range wireless communication connection in accordance with an exemplary embodiment of the present application;
FIG. 4 is a method flow diagram of a method for prompting a short-range wireless communication connection in accordance with an exemplary embodiment of the present application;
fig. 5 is a partial structural view of a massage apparatus according to an exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of an interface for a prompt module to display a first prompt message according to an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram showing a first prompt message by a prompt module according to an exemplary embodiment of the present application;
FIG. 8 is a method flow diagram of a method for prompting a short-range wireless communication connection in accordance with an exemplary embodiment of the present application;
FIG. 9 is a method flow diagram of a method for prompting a short-range wireless communication connection in accordance with an exemplary embodiment of the present application;
FIG. 10 is an interface diagram of a mobile phone interface according to an exemplary embodiment of the present application;
FIG. 11 is a block diagram of a short-range wireless communication connection prompting device according to an exemplary embodiment of the present application;
fig. 12 is a schematic structural view of a terminal according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The scheme provided by the application can be used in a real scene of establishing short-distance wireless communication connection through the mobile terminal when people use the mobile terminal in daily life, and in order to facilitate understanding, the following description is firstly provided for simply introducing some nouns and application scenes related to the embodiment of the application.
Short-range wireless communication technology: typically may include Wireless-Fidelity (WiFi) communication, device-to-Device (D2D) communication, bluetooth (buteoth) communication, zigbee communication, or the like.
With the development of science and technology, various terminals have appeared in the daily life of people, who can perform work, entertainment, study, etc. through the terminals. Among them, the short-range wireless communication technology has been widely used among terminals due to its advantages of strong timeliness, low transmission cost, low power consumption, and the like. People can establish short-distance wireless communication connection through different terminals, so that functions of equipment control, data transmission, video call, screen sharing and the like are realized.
Referring to fig. 1, a schematic diagram of a scenario architecture of a short-range wireless communication connection according to an exemplary embodiment of the present application is shown. As shown in fig. 1, a plurality of terminals 110 are included in a scenario architecture of short-range wireless communication.
Wherein the terminal 110 is a terminal having a short-range wireless communication function. For example, the terminal may be a cell phone, tablet computer, electronic book reader, smart glasses, smart watch, MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compression standard audio layer 4) player, notebook computer, laptop and desktop computer, etc. Or, the terminal may also be an intelligent home device, where the intelligent home device may include, but is not limited to, a smart television, an intelligent robot, a smart speaker, a smart bluetooth headset, a massage device, a smart refrigerator, a smart air conditioner, a smart electric cooker, a smart sensor (such as an infrared sensor, a light sensor, a vibration sensor, a sound sensor, etc.), a smart water purifier, etc. which are fixedly installed or move in a small range.
Alternatively, the terminals may be connected through a communication network, and optionally, the communication network is a wired network or a wireless network.
Alternatively, the wireless network or wired network described above uses standard communication techniques and/or protocols. The network is typically the Internet, but may be any network including, but not limited to, a local area network (Local Area Network, LAN), metropolitan area network (Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), a mobile, wired or wireless network, a private network, or any combination of virtual private networks. In some embodiments, data exchanged over the network is represented using techniques and/or formats including HyperText Mark-up Language (HTML), extensible markup Language (Extensible Markup Language, XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as secure socket layer (Secure Socket Layer, SSL), transport layer security (Transport Layer Security, TLS), virtual private network (Virtual Private Network, VPN), internet protocol security (Internet Protocol Security, IPsec), and the like. In other embodiments, custom and/or dedicated data communication techniques may also be used in place of or in addition to the data communication techniques described above.
Optionally, the scenario architecture may further include a server 120, where the server 120 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 120 is used to provide background services for supporting applications in the terminal device, such as applications developed by a manufacturer that manufactures the terminal. The server 120 may be connected to each terminal via the communication network described above.
In one possible implementation, a short-range wireless communication connection may be established between the plurality of terminals, and data may be transmitted through the short-range wireless communication connection. The short-range wireless communication connection process may be as follows: the master terminal device (as an active connecting party of short-distance wireless communication connection) scans each channel through the short-distance wireless communication module to acquire connection information sent by other surrounding slave terminal devices (as passive connecting parties of short-distance wireless communication connection) in the channel, the master terminal device can display the scanned device names of the slave terminal devices in the display screen, and after receiving the device name of a certain slave terminal device in the trigger display screen, a request for establishing short-distance wireless communication connection can be initiated to the slave terminal device through the connection information of the slave terminal device. Optionally, the terminal may be used as a master device or a slave device.
Since the devices produced by the same manufacturer generally use the same device name, the master device displays the same device name for the devices of the same manufacturer in the process of establishing the short-distance wireless communication connection. Referring to fig. 2, an interface diagram of a master device displaying a device name of a slave device according to an exemplary embodiment of the present application is shown. As shown in fig. 2, a display area 201 is included in the master device 200, and device names of the respective slave devices scanned by the master device are displayed in the display area 201.
Taking the example that the first device and the second device are the same manufacturer, and the master device scans the two devices, the device names displayed in the display area 201 are: vendor a series a, such as device names corresponding to each of numbers 202 and 203 in fig. 2. At this time, if the user wants to make the master device establish a short-distance wireless communication connection with the first device, but the device names of the first device and the second device are displayed on the master device identically, so that when the user clicks one of the device names, the master device establishes a short-distance wireless communication connection with the second device, and a connection error occurs, which reduces the accuracy of establishing the short-distance wireless communication connection and also reduces the efficiency of man-machine interaction.
In order to avoid the problems in the technical scheme, the accuracy of establishing short-distance wireless communication connection between terminals is improved, and the man-machine interaction efficiency is improved. The application provides a prompting method for short-distance wireless communication connection, which can realize the prompting of slave terminal equipment when the short-distance wireless communication connection is established between terminals, and reduce the error rate of establishing the short-distance wireless communication connection.
Referring to fig. 3, a method flowchart of a prompting method for a short-range wireless communication connection according to an exemplary embodiment of the application is shown. The method can be used in the scene architecture shown in fig. 1, and the method can be executed by a terminal in the scene, wherein the terminal can be a massage device, and the prompting method of the short-distance wireless communication connection can comprise the following steps as shown in fig. 3.
In step 301, a prompting module of the massage device is activated in response to the massage device establishing a short-range wireless communication connection with the electronic device.
The massage device includes a prompt module, and the electronic device may be a master device or a slave device in the scene architecture of the above short-distance wireless communication connection, where the prompt module in the massage device is started when the massage device establishes short-distance wireless communication connection with other master devices or establishes short-distance wireless communication connection with other slave devices.
Step 302, displaying, by a prompt module, first prompt information, where the first prompt information is used to indicate that the massaging device is establishing a short-distance wireless communication connection.
After the prompting module is started, the prompting module in the massage equipment can work, first prompting information is displayed, and a user is prompted that the massage equipment is establishing short-distance wireless communication connection. The first prompt information is information displayed by the prompt module and can be image information, voice information, vibration information, light information and the like. Optionally, the prompt module may control itself to display information according to a preset manner, where the preset manner may be preset in the massage device by a developer. Or the prompt module can control the prompt module to display information according to the prompt signal. The prompt signal may be generated by the prompt module or may be received by the server.
In summary, when the massage device provided by the application establishes short-distance wireless communication connection with the electronic device, the prompt module of the massage device is started, and the prompt module is used for displaying first prompt information, wherein the first prompt information is used for indicating that the massage device is establishing short-distance wireless communication connection; and the first prompt information is displayed through the prompt module, so that the first prompt information indicates that the massage equipment is establishing short-distance wireless communication connection to the user, the user can know whether the massage equipment which the user wants to connect is establishing short-distance wireless communication connection or not, and the efficiency of man-machine interaction is improved.
In one possible implementation manner, the massage device is taken as a slave device for example, and after the massage device receives a pairing request sent by the electronic device, the massage device can establish a short-distance wireless communication connection with the electronic device, and start a prompt module to prompt. The electronic device may be any terminal that may be used as the master device in the scenario architecture shown in fig. 1.
Referring to fig. 4, a method flowchart of a prompting method for a short-range wireless communication connection according to an exemplary embodiment of the application is shown. The method can be used in the scene architecture shown in fig. 1, and the method can be executed by a terminal in the scene, wherein the terminal can be a massage device, and the prompting method of the short-distance wireless communication connection can comprise the following steps as shown in fig. 4.
Step 401, receiving a short-range wireless communication pairing request sent by an electronic device.
Optionally, the short-range wireless communication is any one of wireless fidelity WiFi communication, peer-to-peer D2D communication, bluetooth communication, or Zigbee communication. That is, when the short-range wireless communication is WiFi communication, the pairing request may be a pairing request for establishing a WiFi communication connection, when the short-range wireless communication is D2D communication, the pairing request may be a pairing request for establishing a D2D communication connection, when the short-range wireless communication is bluetooth communication, the pairing request may be a pairing request for establishing a bluetooth communication connection, and when the short-range wireless communication is Zigbee communication, the pairing request may be a pairing request for establishing a Zigbee communication connection.
For example, when the short-range wireless communication is WiFi communication, the massaging device may act as a slave device and may send a WiFi connection signal to the outside through the WiFi module, and after the electronic device scans the hotspot of the massaging device, the electronic device may send a pairing request for establishing the WiFi communication connection to the massaging device in response to a trigger operation for establishing the WiFi communication connection, so that the massaging device receives the pairing request sent by the electronic device. When the short-distance wireless communication is Bluetooth communication, the massage device can be used as a slave device, bluetooth connection signals are sent outwards through the Bluetooth module, after the electronic device scans the massage device, the electronic device can respond to triggering operation for establishing Bluetooth communication connection and send a pairing request for establishing Bluetooth communication connection to the massage device, and the massage device receives the pairing request sent by the electronic device. D2D communication is similar to Zigbee communication and will not be described here.
In one possible implementation manner, the massage device includes identification information, where the identification information is used by the electronic device to obtain a device identifier of the massage device, and optionally, the short-distance wireless communication pairing request sent by the electronic device includes the device identifier of the massage device, that is, the short-distance wireless communication pairing request may be initiated by the electronic device after the electronic device obtains the device identifier through the identification information, and the device identifier is carried in the short-distance wireless communication pairing request.
Optionally, the identification information comprises any one of bar codes, two-dimensional codes and text information stuck on the massage equipment; or, the identification information includes any one of bar codes, two-dimensional codes, and text information displayed in a display screen of the massage device.
Referring to fig. 5, a schematic partial structure of a massage apparatus according to an exemplary embodiment of the present application is shown. As shown in fig. 5, the massage apparatus 500 includes identification information 501, and the identification information 501 is attached to the surface of the massage apparatus 500 in a paste form. The electronic equipment can identify the identification information through the identification module of the electronic equipment to obtain the equipment identification of the massage equipment. Optionally, the identification module of the electronic device may be a camera module, and the electronic device acquires an image through the camera module and performs identification, so as to obtain a device identifier of the massaging device. In one possible implementation, when the massage device has a display screen, the identification information 501 in fig. 5 may also be presented on the massage device in a display form, thereby providing the target terminal with identification.
Optionally, the device identifier of the massaging device includes any one of a media access control (Media Access Control, MAC) address, a product Serial Number (SN), a system account Number, a client identification module (Subscriber Identity Module, SIM) Number, and a port Number of the massaging device.
Taking bluetooth communication as an example, manufacturers producing the massage device paste the product serial number of the massage device on the massage device in the form of a bar code, the electronic device identifies the bar code through a camera in the process of carrying out short-distance wireless communication connection to obtain an SN code of the massage device and send the SN code to a server, the server inquires an MAC address corresponding to the SN code through the SN code and returns the MAC address to the electronic device, so that the electronic device obtains the MAC address corresponding to the SN code and sends a pairing request of bluetooth communication connection to the massage device by using the MAC address. The server may be a server corresponding to a manufacturer of the massage apparatus, for example, a server included in fig. 1. Or when the electronic device identifies the identification information and then directly acquires the MAC address, the electronic device can also directly send a pairing request of Bluetooth communication connection to the massage device according to the identified MAC address.
Taking the foregoing short-range wireless communication as an example, when the WiFi communication is used as the short-range wireless communication, manufacturers producing the massage device display the port number of the massage device on the display screen of the massage device in the form of a two-dimensional code, and in the process of performing the short-range wireless communication connection, the electronic device identifies the two-dimensional code through the camera to obtain the port number of the massage device, and sends a pairing request for bluetooth communication connection to the massage device by using the port number.
Optionally, the displaying of the two-dimensional code on the display screen of the massage device may be that the user triggers the display screen to display the physical control or the virtual control of the two-dimensional code. Similarly, the port number may be replaced by the other device identifier illustrated in the example, and may be obtained by the interaction with the server, so as to send a pairing request of the bluetooth communication connection to the massaging device. In addition, for implementation manners of D2D communication and Zigbee communication, reference may also be made to the above manner, which is not described herein again.
Optionally, in this step, the pairing request may further include a pairing key, and the massaging device may verify the pairing key according to the pairing key obtained by the short-distance wireless communication pairing request, and if the verification is passed, establish short-distance wireless communication connection with the electronic device. For example, before the electronic device sends the short-distance wireless communication pairing request, the pairing key is input in the pairing key input box, the pairing key is carried in the short-distance wireless communication pairing request and is sent to the massage device, the massage device analyzes the short-distance wireless communication pairing request, the pairing key is obtained, the pairing key is compared with a preset key, if the pairing key and the preset key are the same, the verification is passed, if the pairing key and the preset key are different, the verification is not passed, and when the verification is passed, the massage device can establish short-distance wireless communication connection with the electronic device.
In one possible implementation, the massage device may further display a second prompt, where the second prompt is used to indicate that the massage device receives the short-range wireless communication pairing request. That is, in the present application, when the massage device receives the short-distance wireless communication pairing request sent by the electronic device, the user may be prompted to receive the short-distance wireless communication pairing request by displaying the second prompting message, and optionally, the displaying manner of the second prompting message may refer to the displaying manner of the first prompting message, which is not described herein again.
In step 402, in response to the massage device establishing a short-range wireless communication connection with the electronic device, a prompt module of the massage device is started, where the prompt module is configured to display first prompt information, and the first prompt information is configured to indicate that the massage device is establishing the short-range wireless communication connection.
After receiving the pairing request, the short-distance wireless communication connection with the electronic equipment is started to be established. At this time, the massage device may generate an activation signal by which to activate the reminder module in response to the massage device establishing a short-range wireless communication connection with the electronic device. The prompting module and the first prompting information may refer to the description in step 301, and are not described herein.
Step 403, obtaining a prompt signal, where the prompt signal is used to trigger the prompt module to display the first prompt information.
Optionally, after the prompt module is started, the massage device may acquire a prompt signal, and control the prompt module to display the first prompt information through the prompt signal. For example, the massage device may generate the alert signal itself and send the generated alert signal to the alert module, so that the alert module displays the first alert information according to the alert signal.
In one possible implementation manner, the prompting module of the massaging device may include a display screen unit, the prompting signal acquired by the massaging device may be a first prompting signal, where the first prompting signal is used to trigger the display screen unit to display first prompting information, and optionally, the massaging device may display, through the display screen unit, first prompting information such as a fixed icon, a text, an animation, and so on, so as to indicate that the massaging device is establishing a short-distance wireless communication connection. Alternatively, the first prompting signal may be preset in the massaging device by a developer.
For example, please refer to fig. 6, which illustrates an interface schematic diagram of a prompt module displaying first prompt information according to an exemplary embodiment of the present application. As shown in fig. 6, in the display screen 600, a first image 601 is included, the display screen 600 may be a prompt module of the massage device, and the first image 601 may be first prompt information displayed by the prompt module.
In one possible implementation manner, the prompting module of the massaging device may include a speaker unit, the prompting signal acquired by the massaging device may be a second prompting signal, where the second prompting signal is used to trigger the speaker unit to play the first prompting information, and optionally, the massaging device may play the first prompting information such as fixed voice, music, etc. through the speaker unit, so as to indicate that the massaging device is establishing a short-distance wireless communication connection. Optionally, the first prompting signal may be preset in the massaging device by a developer.
In one possible implementation, the prompting module may include a vibration module unit, and the prompting signal acquired by the massage device may be a third prompting signal, where the third prompting signal is used to trigger the vibration module unit to vibrate, and optionally, the massage device may vibrate by the vibration module unit according to a fixed frequency, so as to indicate that the massage device is establishing a short-distance wireless communication connection. Alternatively, the fixed frequency may be preset in the massage device by a developer.
In one possible implementation manner, the prompting module may include a light module unit, and the prompting signal acquired by the massage device may be a fourth prompting signal, where the fourth prompting signal is used to trigger the light module unit to emit light, and optionally, the massage device may flash through the light module unit according to a fixed sequence, so as to indicate that the massage device is establishing a short-distance wireless communication connection. Alternatively, the above-mentioned fixed sequence may be preset in the massage apparatus by a developer.
For example, please refer to fig. 7, which illustrates a schematic diagram of a prompt module displaying first prompt information according to an exemplary embodiment of the present application. As shown in fig. 7, on the massage apparatus 700, a light module unit 701 is included, where the light module unit 701 may be a prompt module of the massage apparatus, and the light module unit 701 may flash from left to right in fig. 7 in sequence, so as to display the first prompt information.
Step 404, according to the prompt signal, the control prompt module displays the first prompt information.
After the massage equipment obtains the prompt signal, through this prompt signal, trigger prompt module demonstrates first prompt message.
Optionally, corresponding to the several implementations in step 404, when the prompting signal is the first prompting signal, the massaging device may control the display screen unit to display the first prompting information according to the first prompting signal. When the prompt signal is the second prompt signal, the massage device can control the speaker unit to play the first prompt information according to the second prompt signal. When the prompt signal is a third prompt signal, the massage device can control the vibration module unit to vibrate according to a preset vibration mode according to the third prompt signal. When the prompting signal is a fourth prompting signal, the massage equipment can control the light module unit to emit light according to a preset display mode according to the fourth prompting signal. The manner in which each implementation is illustrated may refer to the description in step 404, which is not repeated herein.
In summary, when the massage device provided by the application establishes short-distance wireless communication connection with the electronic device, the prompt module of the massage device is started, and the prompt module is used for displaying first prompt information, wherein the first prompt information is used for indicating that the massage device is establishing short-distance wireless communication connection; and the first prompt information is displayed through the prompt module, so that the first prompt information indicates that the massage equipment is establishing short-distance wireless communication connection to the user, the user can know whether the massage equipment which the user wants to connect is establishing short-distance wireless communication connection or not, and the efficiency of man-machine interaction is improved.
In one possible implementation manner, the prompting module of the massaging device may include at least two prompting units, and respective prompting manners of the at least two prompting units are different, for example, the prompting module may include two or more of a display screen unit, a speaker unit, a vibration module unit and a light module unit, and at this time, the massaging device may determine, through its device state, which unit to prompt, so as to obtain a corresponding prompting signal.
Referring to fig. 8, a method flowchart of a prompting method for a short-range wireless communication connection according to an exemplary embodiment of the application is shown. The method can be used in the scene architecture shown in fig. 1, and the method can be executed by a terminal in the scene, wherein the terminal can be a massage device, and the prompting method of the short-distance wireless communication connection can comprise the following steps as shown in fig. 8.
Step 801, a short-range wireless communication pairing request sent by an electronic device is received.
Step 802, in response to the massage device establishing a short-range wireless communication connection with the electronic device, starting a prompt module of the massage device, where the prompt module is configured to display first prompt information, and the first prompt information is configured to indicate that the massage device is establishing the short-range wireless communication connection.
The implementation manner of steps 801 to 803 may refer to the descriptions in steps 401 to 403, and are not repeated here.
Step 803, obtaining a device state of the massage device, where the device state includes one or more of a usage state of the massage device, location information, and power information.
The using state comprises a wearing state and an unworn state, the position information is used for indicating the distance between the massage equipment and other massage equipment, and the electric quantity information is used for indicating the electric quantity value of the massage equipment.
Optionally, the massage device may acquire the use state of the massage device through a first detection module, where the first detection module may include a pressure sensor module, a capacitance sensor module, and a distance sensor module. Optionally, the first detection module may obtain, through the pressure sensor module, a pressure value to which the current massage device is subjected, and when the pressure value is greater than a preset pressure threshold, the massage device may be regarded as a wearing state in a use state of itself, and when the pressure value is not greater than the preset pressure threshold, the massage device may be regarded as an unworn state in a use state of itself. Wherein, the preset pressure threshold value can be preset in the massage device by a developer.
Alternatively, the first detection module includes a capacitive sensor module. Because under the normal condition, a certain amount of current exists in a human body, when a user wears the massage device, the massage device can acquire a capacitance signal through the capacitance sensor module, when the capacitance sensor module acquires the capacitance signal, the massage device can be regarded as a wearing state in the use state of the massage device, and when the capacitance sensor module does not acquire the capacitance signal, the massage device can be regarded as an unworn state in the use state of the massage device.
Alternatively, the first detection module includes a distance sensor module. The massage device can acquire the distance between the massage device and the user through the distance sensor module, when the distance is smaller than a preset distance threshold value, the massage device can be regarded as a wearing state in the use state of the massage device, and when the distance is not smaller than the preset distance threshold value, the massage device can be regarded as an unworn state in the use state of the massage device. Wherein, the preset distance threshold value can be preset in the massage device by a developer.
In one possible implementation, the location information of the massage device may be obtained by the server. For example, the massage device may send a position information acquisition request to the server, where the position information acquisition request is used to acquire position information, and after the server receives the position information acquisition request, the server may calculate a distance between another massage device and the massage device according to the position coordinates of each device acquired by the server, and return the distance to the massage device, so that the massage device acquires the position information. For example, there is a first massage device and a second massage device in one room, which are 5 meters apart, and the first massage device acquires the position information between itself and the second massage device from the server in this step as the electronic device establishes a short-range wireless communication connection with the first massage device.
Alternatively, the above-mentioned electric quantity information may be obtained by the massage device obtaining the remaining electric quantity of the battery. For example, 50 milliampere hours of electricity remain in the massage device, and the information of the electricity acquired by the massage device is 50 milliampere hours.
Step 804, obtaining a target prompt signal according to the equipment state of the massage equipment, wherein the target prompt signal is used for triggering a first prompt unit to display first prompt information, and the first prompt unit is any prompt unit of at least two prompt units.
Optionally, the prompting module in the massaging device includes the plurality of units that can be triggered, and in this step, different prompting signals can be obtained, so that different units are triggered to display the first prompting information. For example, the prompting module of the massage device includes a vibration module unit and a light module unit, in step 804, the device state acquired by the massage device includes a use state, and when the use state is a wearing state, the massage device may acquire a third prompting signal, and trigger the vibration module unit to vibrate through the third prompting signal; when the using state is the unworn state, the massage equipment can acquire a fourth prompting signal, and the light module unit is triggered to emit light through the fourth prompting signal.
Or, the prompting module of the massage device includes a speaker unit and a light module unit, in step 804, the device state acquired by the massage device includes a use state, and when the use state is a wearing state, the massage device may acquire a second prompting signal, and trigger the speaker unit to play the first prompting information through the second prompting signal; when the using state is the unworn state, the massage equipment can acquire a fourth prompting signal, and the light module unit is triggered to emit light through the fourth prompting signal.
Or, the prompting module of the massage device includes a speaker unit and a vibration module unit, in step 804, the device state acquired by the massage device includes electric quantity information, and when the electric quantity information is lower than a preset electric quantity threshold, the massage device can acquire a second prompting signal, and trigger the speaker unit to play the first prompting information through the second prompting signal; when the electric quantity information is not lower than the preset electric quantity threshold value, the massage equipment can acquire a third prompting signal, and the vibration module unit is triggered to vibrate through the third prompting signal.
Or, the prompting module of the massage device includes a display screen unit and a speaker unit, in step 804, the device state acquired by the massage device includes electric quantity information, and when the electric quantity information is lower than a preset electric quantity threshold value, the massage device can acquire a second prompting signal, and trigger the speaker unit to play the first prompting information through the second prompting signal; when the electric quantity information is not lower than the preset electric quantity threshold value, the massage equipment can acquire a third prompting signal, and the vibration module unit is triggered to vibrate through the third prompting signal.
Optionally, in the above modes, the target prompt signal acquired by the massaging device may correspond to the device state, the correspondence may be preset in the massaging device, and the massaging device may acquire the corresponding target prompt signal through the correspondence. It should be noted that the above ways are exemplary, and other combinations in the prompting module and the device status may be similar to the ways, and are not repeated herein.
In one possible implementation manner, the massage device may further obtain, according to a device state of the massage device, a first priority order of each unit included in the prompting module; according to the first priority order, a first target prompt signal is obtained, and the first target prompt signal is used for triggering a prompt unit with the highest priority in the first priority order.
Optionally, the massage device may acquire the first priority order of each unit included in the prompting module according to the device state of the massage device, where the first priority order may be as follows: acquiring a state score corresponding to the equipment state according to the equipment state of the massage equipment; and acquiring a first priority order of each unit included in the prompt module according to the state scores.
In one possible implementation, the status score may be represented in binary data, e.g., 0 for the unworn state, 1 for the worn state, with the massage device acquiring a corresponding status score of 1 when the device status of the massage device is the worn state, and 0 when the device status of the massage device is the unworn state.
Alternatively, the state score corresponding to the position information may refer to this form, where the ratio 0 indicates that the position information is greater than the preset distance threshold, 1 indicates that the position information is not greater than the preset distance threshold, the state score corresponding to the position information is 1 when the position information of the massage device is not greater than the preset distance threshold, and the state score corresponding to the position information is 0 when the position information of the massage device is greater than the preset distance threshold.
Alternatively, the state score corresponding to the electric quantity information may refer to the form, the ratio of 0 indicates that the electric quantity information is not greater than the preset electric quantity threshold value, 1 indicates that the electric quantity information is greater than the preset electric quantity threshold value, the state score corresponding to the electric quantity information obtained by the massage device is 1 when the electric quantity information of the massage device is greater than the preset electric quantity threshold value, and the state score corresponding to the electric quantity information obtained by the massage device is 0 when the electric quantity information of the massage device is not greater than the preset electric quantity threshold value.
Alternatively, the massaging device may obtain a total score according to the state scores corresponding to the respective contents included in the device state, and obtain the trigger priority order of the respective units according to the total score. Alternatively, the massage device may record in the binary manner described above, and combine the scores according to the status score order to obtain the total score.
For example, when the device state of the massage device is the unworn state, the massage device acquires the corresponding state score of 0, when the position information of the massage device is not more than the preset distance threshold, the massage device acquires the corresponding state score of 1, when the electric quantity information of the massage device is more than the preset electric quantity threshold, the massage device acquires the corresponding state score of 1, and then the total score acquired by the massage device may be 011.
Optionally, the massaging device may obtain the corresponding first priority order by querying a correspondence table between the total score and the priority order according to the obtained total score. Referring to table 1, a table of correspondence between total scores and priority orders according to an exemplary embodiment of the present application is shown.
TABLE 1
Total score of Priority order
000 Vibration module unit>Display screen unit>Speaker unit>Light module unit
001 Vibration module unit>Display screen unit>Light module unit>Speaker unit
010 Light module unit>Vibration module unit>Display screen unit>Speaker unit
011 Light module unit>Display screen unit>Vibration module unit>Speaker unit
100 Speaker unit>Display screen unit>Light module unit >Vibration module unit
101 Speaker unit>Vibration module unit>Display screen unit>Light module unit
110 Speaker unit>Vibration module unit>Light module unit>Display screen unit
111 Speaker unit>Vibration module unit>Display screen unit>Light module unit
As shown in table 1 above, the massage apparatus may obtain the first priority order of the respective units by the total score. For example, the massage apparatus acquires a total score of 101, and then, by referring to this table 1, the massage apparatus acquires the first priority order of the respective units as follows: the loudspeaker unit is a vibration module unit, the display screen unit and the lamplight module unit.
Optionally, the massaging device obtains the first target prompting signal according to the first priority order. For example, the first priority order is: the loudspeaker unit is a vibration module unit, the display screen unit and the lamplight module unit. The first target prompting signal acquired by the massage device is a prompting signal triggering the loudspeaker unit, namely the second prompting signal.
In one possible implementation manner, in the manner of acquiring the target alert signal according to the first priority order, the following may be adopted: determining a first target prompt unit according to the first priority order, wherein the first target prompt unit is the prompt unit with the highest priority in the first priority order; detecting the working state of a first target prompting unit, wherein the working state comprises an idle state and an operating state; and responding to the working state of the first target prompt unit to be an idle state, and acquiring a first target prompt signal.
That is, the massage apparatus may further detect an operation state of the cue unit of the largest priority in the first priority order, look at whether the cue unit is an operation state or an idle state through the operation state, and if the cue unit is the idle state, the massage apparatus may acquire the first target cue signal triggering the first target cue unit. For example, the first priority order is: the loudspeaker unit is a vibration module unit, the display screen unit and the lamplight module unit. The massage device detects that the speaker unit is in an idle state, and then the first target prompt signal acquired by the massage device is a third prompt signal.
In one possible implementation manner, in response to the working state of the first target prompt unit being an operation state, acquiring a second priority order, where the second priority order is a priority order formed by removing the first target prompt unit from the first priority order; and acquiring a second target prompt signal according to the second priority order, wherein the second target prompt signal is used for triggering a prompt unit with the highest priority in the second priority order.
That is, after the above-described first priority order is obtained, if the cue unit of the maximum priority is running, the massage apparatus may re-determine the second priority order. For example, the first priority order is: the loudspeaker unit is a vibration module unit, the display screen unit and the lamplight module unit. The massage device detects that the speaker unit is in an operational state, and then the massage device may remove the speaker unit in the first priority order to obtain the second priority order: the vibration module unit > the display screen unit > the light module unit, and the massage device may acquire the second target prompt signal according to the second priority order. Optionally, the manner of acquiring the second target prompting signal is similar to that of acquiring the first target prompting signal, and will not be described herein.
That is, if the operating state of the first priority level maximum priority level is the operating state in the above-described first priority level sequence, the massage apparatus may determine the second priority level as the maximum priority level of this time. For example, the first priority order is: the loudspeaker unit is a vibration module unit, the display screen unit and the lamplight module unit. The massage device detects that the speaker unit is being used by the massage device and plays other sound information, and then the massage device can determine that the priority of the vibration module unit is the maximum priority of the vibration module unit at the time, and the obtained target prompt signal is a third prompt signal.
In one possible implementation, the massage device may also send the device status to the server and receive the target prompt signal returned by the server, thereby obtaining the target prompt signal. For example, the massage device may carry the device state of the massage device in a signal acquisition request, which is sent to the server to request the server to generate a target prompt signal according to the device state of the massage device; and receiving a target prompt signal returned by the server. Optionally, the method for obtaining the target prompt signal by the server may refer to the above-mentioned method for obtaining the massage device, which is not described herein.
Step 805, according to the target prompt signal, controlling the first prompt unit to display the first prompt information.
The method for displaying the first prompt information by the target prompt signal control prompt module in this step may refer to the above steps 403 to 404 to obtain the prompt signal and control the prompt module to display the description of the first prompt information according to the prompt signal, which is not described herein.
In summary, when the massage device provided by the application establishes short-distance wireless communication connection with the electronic device, the prompt module of the massage device is started, and the prompt module is used for displaying first prompt information, wherein the first prompt information is used for indicating that the massage device is establishing short-distance wireless communication connection; and the first prompt information is displayed through the prompt module, so that the first prompt information indicates that the massage equipment is establishing short-distance wireless communication connection to the user, the user can know whether the massage equipment which the user wants to connect is establishing short-distance wireless communication connection or not, and the efficiency of man-machine interaction is improved.
In addition, the application determines which prompting mode is used for prompting the user according to the equipment state of the massage equipment, thereby increasing the diversity of prompting modes, being more in line with the equipment state of the massage equipment and being beneficial to the operation and cruising of the massage equipment.
It should be noted that, the above manner of acquiring the first target prompting signal through the device state is also exemplary, and in practical application, a plurality of prompting signals may also be acquired through the device state, and prompting is performed through a plurality of prompting units at the same time. For example, according to the first priority order, the corresponding prompting signals of the prompting units of the priorities arranged in the first two digits are acquired, and the two prompting units are triggered to jointly prompt. The application is not limited in this regard.
The embodiments shown in fig. 3, 4 and 8 are described below by taking the example that the electronic device is a mobile phone, and the mobile phone needs to establish bluetooth connection with two massage devices of the same manufacturer. Referring to fig. 9, a method flowchart of a prompting method for a short-range wireless communication connection according to an exemplary embodiment of the application is shown. The method can be used in the scene architecture shown in fig. 1, and the method can be executed by a terminal in the scene, wherein the terminal can be a massage device, and the prompting method of the short-distance wireless communication connection can comprise the following steps as shown in fig. 9.
In step 901, the handset turns on bluetooth.
Optionally, when the user performs bluetooth connection, the user scans each channel by opening the bluetooth connection of the mobile phone, and obtains information to be connected sent by the first massaging device and the second massaging device. After the Bluetooth is opened by the first massage device and the second massage device, the information to be connected can be broadcast outwards through the Bluetooth module of the first massage device and the second massage device.
In step 902, the mobile phone displays information to be connected in a display screen.
Since the first massage device and the second massage device are of the same manufacturer, the device identification displayed in the display screen is the same. Fig. 10 is an interface schematic diagram of a mobile phone interface according to an exemplary embodiment of the application. As shown in fig. 10, two massage device identifications "massage device-K5" 1001 and 1002 are included in the cell phone interface 1000.
In step 903, the handset scans the identification information of the first massaging device.
The identification information of the first massaging device may refer to the description of the identification information in the above embodiment, which is not described herein. Taking the case that the identification information is an SN code of the massage device, the SN code is in the form of a bar code attached to the massage device, at this time, if the user wants to establish a bluetooth connection with the first massage device, the user can obtain the SN code of the first massage device by scanning the bar code on the first massage device, since he knows 1001 and 1002 which one corresponds to the first massage device.
In step 904, the handset initiates a bluetooth pairing request to the first massaging device.
Optionally, in the above implementation manner, after the mobile phone acquires the SN code, the mobile phone may further send the identified SN code to the server, so that the server queries the MAC address corresponding to the SN code according to the SN code, and returns the MAC address to the mobile phone, so that the mobile phone initiates the bluetooth pairing request to the first massaging device according to the MAC address.
In step 905, the first massage device activates the prompting module.
After receiving the bluetooth pairing request, the first massaging device may start the prompting module. The description of the prompting module may refer to the description in the above embodiment, and will not be repeated here.
At step 906, the first massage device obtains a device status of the massage device.
In step 907, the first massaging device obtains a target prompting signal according to the device state of the massaging device.
Optionally, the implementation in step 906 and step 907 may refer to the descriptions in step 804 to step 805, which are not described herein.
In step 908, the first massaging device controls the prompting module to display the first prompting information according to the target prompting signal.
Optionally, taking the example that the prompting module includes a speaker unit and a light module unit, the first massaging device can play voice or flash through light, and display first prompting information, so as to prompt the user that the mobile phone is currently connected with the first massaging device through bluetooth.
In summary, the massage device provided by the application can start the prompt module of the massage device when the massage device establishes short-distance wireless communication connection with the mobile phone, wherein the prompt module is used for displaying first prompt information, and the first prompt information is used for indicating that the massage device is establishing short-distance wireless communication connection; and the first prompt information is displayed through the prompt module, so that the first prompt information indicates that the massage equipment is establishing short-distance wireless communication connection to the user, the user can know whether the massage equipment which the user wants to connect is establishing short-distance wireless communication connection or not, and the efficiency of man-machine interaction is improved.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 11, a block diagram of a prompt device for short-range wireless communication connection according to an exemplary embodiment of the application is shown. The prompting device of the short-range wireless communication connection can be used in a massage apparatus to perform all or part of the steps performed by the massage apparatus in the method provided by the embodiments shown in fig. 3, 4, 8 or 9. The short-range wireless communication connection prompting device 1100 may include several modules:
a starting module 1101, configured to start a prompting module of the massaging device in response to the massaging device establishing a short-distance wireless communication connection with an electronic device;
the prompting module 1102 is configured to display the first prompting information through the prompting module, where the first prompting information is used to indicate that the massaging device is establishing a short-distance wireless communication connection.
Optionally, the prompting module includes at least two prompting units, respective prompting modes of the at least two prompting units are different, and the prompting module 1102 includes: a first acquisition unit and a first display unit;
The first acquisition unit is used for acquiring a target prompt signal, the target prompt signal is used for triggering a first prompt unit to display the first prompt information, and the first prompt unit is any prompt unit in the at least two prompt units;
the first display unit is used for controlling the first prompt unit to display the first prompt information according to the target prompt signal.
Optionally, the apparatus further includes:
a state acquisition module, configured to acquire, before the first acquisition unit acquires the prompt signal, an equipment state of the massage device, where the equipment state includes one or more of a usage state of the massage device, location information, and electrical quantity information, the usage state includes a wearing state and an unworn state, the location information is used to indicate a distance between the massage device and other massage devices, and the electrical quantity information is used to indicate an electrical quantity value of the massage device;
the first acquisition unit is configured to, in response to a first signal,
and acquiring the target prompt signal according to the equipment state of the massage equipment.
Optionally, the first acquisition unit is further configured to,
acquiring a first priority order of each unit included in the prompt module according to the equipment state of the massage equipment;
Acquiring a first target prompt signal according to the first priority order; the first target prompt signal is used for triggering a prompt unit with the highest priority in the first priority sequence.
Optionally, the first acquisition unit is further configured to,
acquiring a state score corresponding to the equipment state according to the equipment state of the massage equipment;
and acquiring a first priority order of each unit included by the prompt module according to the state scores.
Optionally, the first acquisition unit is further configured to,
determining a first target prompt unit according to the first priority order, wherein the first target prompt unit is a prompt unit with highest priority in the first priority order;
detecting the working state of the first target prompting unit, wherein the working state comprises an idle state and an operating state;
and responding to the working state of the first target prompt unit to be an idle state, and acquiring the first target prompt signal.
Optionally, the first acquisition unit is further configured to,
responding to the working state of the first target prompt unit being an operation state, and acquiring a second priority order, wherein the second priority order is a priority order formed by removing the first target prompt unit from the first priority order;
And acquiring a second target prompt signal according to the second priority order, wherein the second target prompt signal is used for triggering a prompt unit with the highest priority in the second priority order.
Optionally, the apparatus further includes:
the sending module is used for sending the signal acquisition request to a server before the first acquisition unit acquires the prompt signal according to the equipment state of the massage equipment, wherein the signal acquisition request carries the equipment state of the massage equipment, and the signal acquisition request is used for requesting the server to generate the target prompt signal according to the equipment state of the massage equipment;
the first acquisition unit is further configured to,
and receiving the target prompt signal returned by the server.
Optionally, the at least two prompting units include at least two prompting units among a display screen unit, a loudspeaker unit, a vibration module unit and a light module unit.
Optionally, the short-range wireless communication is any one of wireless fidelity WiFi communication, peer-to-peer D2D communication, bluetooth communication, or Zigbee communication.
Optionally, the massage device includes identification information, where the identification information is used for being identified by the electronic device to obtain a device identifier of the massage device, and the apparatus further includes:
A request receiving module, configured to receive, before the starting module 1101 responds to the step of starting the prompting module of the massaging device in response to the step of establishing a short-distance wireless communication connection with the electronic device, a pairing request initiated according to the device identifier after the electronic device recognizes that the identification information obtains the device identifier, where the pairing request is used to establish the short-distance wireless communication connection.
Optionally, the identification information includes any one of a bar code, a two-dimensional code and text information stuck on the massage device; or,
the identification information comprises any one of bar codes, two-dimensional codes and text information displayed in a display screen of the massage equipment.
Optionally, the device identifier includes any one of a media access control MAC address, a product serial number, a system account number, a client identification module number, a port number, and a port number of the massaging device.
In summary, when the massage device provided by the application establishes short-distance wireless communication connection with the electronic device, the prompt module of the massage device is started, and the prompt module is used for displaying first prompt information, wherein the first prompt information is used for indicating that the massage device is establishing short-distance wireless communication connection; and the first prompt information is displayed through the prompt module, so that the first prompt information indicates that the massage equipment is establishing short-distance wireless communication connection to the user, the user can know whether the massage equipment which the user wants to connect is establishing short-distance wireless communication connection or not, and the efficiency of man-machine interaction is improved.
Referring to fig. 12, a schematic diagram of a terminal according to an exemplary embodiment of the present application is shown. As shown in fig. 12, may include: radio Frequency (RF) circuitry 1210, memory 1220, input unit 1230, display unit 1240, sensor 1250, audio circuitry 1260, wiFi module 1270, processor 1280, and power supply 1290. In the above embodiment, the terminal may be used as a massage device or an electronic device. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 12 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the respective constituent elements of the terminal with reference to fig. 12:
the RF circuit 1210 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the signal is processed by the processor 1280; in addition, the data of the design uplink is sent to the base station. Typically, RF circuitry 1210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 1210 may also communicate with networks and other devices through wireless communication. The wireless communications may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message service (Short Messaging Service, SMS), and the like.
The memory 1220 may be used for storing software programs and modules, and the processor 1280 performs various functional applications of the terminal and data processing by executing the software programs and modules stored in the memory 1220. The memory 1220 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the terminal, etc. In addition, memory 1220 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1230 may be used to receive input numerical or character information and generate key signal inputs related to user settings and function control of the terminal. In particular, the input unit 1230 may include a touch panel 1231 and other input devices 1232. The touch panel 1231, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1231 or thereabout using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 1231 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 1280, and can receive commands from the processor 1280 and execute them. In addition, the touch panel 1231 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1230 may include other input devices 1232 in addition to the touch panel 1231. In particular, other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 1240 may be used to display information input by a user or information provided to the user and various menus of the terminal. The display unit 1240 may include a display panel 1241, and alternatively, the display panel 1241 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1231 may overlay the display panel 1241, and when the touch panel 1231 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1280 to determine the type of touch event, and then the processor 1280 provides a corresponding visual output on the display panel 1241 according to the type of touch event. Although in fig. 12, the touch panel 1231 and the display panel 1241 are two separate components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1231 may be integrated with the display panel 1241 to implement the input and output functions of the terminal.
The terminal may also include at least one sensor 1250, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 1241 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1241 and/or the backlight when the terminal moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the terminal gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the terminal are not described in detail herein.
Audio circuitry 1260, speaker 1261, microphone 1262 may provide an audio interface between a user and a terminal. Audio circuit 1250 may transmit the received electrical signal converted from audio data to speaker 1261, and the electrical signal is converted into a sound signal by speaker 1261 to be output; on the other hand, microphone 1262 converts the collected sound signals into electrical signals, which are received by audio circuit 1260 and converted into audio data, which are processed by audio data output processor 1280 for transmission to, for example, another terminal via RF circuit 1210, or which are output to memory 1220 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and a terminal can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 1270, so that wireless broadband Internet access is provided for the user. Although fig. 12 shows a WiFi module 1270, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as required within a range not changing the essence of the invention.
The processor 1280 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 1220 and calling data stored in the memory 1220, thereby performing overall monitoring of the terminal. In the alternative, processor 1280 may include one or more processing units; preferably, the processor 1280 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, application programs, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1280.
The terminal also includes a power supply 1290 (e.g., a battery) for supplying power to the various components, preferably in logical communication with the processor 1280 via a power management system, to manage charging, discharging, and power consumption via the power management system.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein.
The embodiment of the application discloses a computer readable storage medium storing a computer program, wherein the computer program realizes the method in the method embodiment when being executed by a processor.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the method of the method embodiments described above.
The embodiment of the application discloses an application release platform, which is used for releasing a computer program product, wherein the computer program product is used for enabling the computer to execute the method in the embodiment of the method when running on the computer.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments and that the acts and modules referred to are not necessarily required for the present application.
In various embodiments of the present application, it should be understood that the sequence numbers of the foregoing processes do not imply that the execution sequences of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation of the embodiments of the present application.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a memory, comprising several requests for a computer device (which may be a personal computer, a server or a network device, etc., in particular may be a processor in a computer device) to execute some or all of the steps of the above-mentioned method of the various embodiments of the present application.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing data that is readable by a computer.
The foregoing illustrates and describes a method, apparatus, massage device and storage medium for prompting short-range wireless communication connection disclosed in the embodiments of the present application, and applies examples herein to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in embodiments and application ranges according to the ideas of the present application, the present description should not be construed as limiting the present application in light of the above.

Claims (14)

1. A method of prompting a short-range wireless communication connection, the method being applied to a massage device, the method comprising:
receiving a short-distance wireless communication pairing request sent by electronic equipment, wherein the short-distance wireless communication pairing request comprises an equipment identifier of the massage equipment and a pairing key, the equipment identifier is obtained by the electronic equipment through identifying identification information contained by the massage equipment, and the pairing key is used for establishing short-distance wireless communication connection with the electronic equipment when the electronic equipment is verified;
responding to the massage equipment to establish short-distance wireless communication connection with the electronic equipment, and starting a prompt module of the massage equipment;
acquiring equipment states of the massage equipment, wherein the equipment states comprise one or more of use states, position information and electric quantity information of the massage equipment, the use states comprise wearing states and unworn states, the position information is used for indicating the distance between the massage equipment and other massage equipment, and the electric quantity information is used for indicating electric quantity values of the massage equipment;
according to the equipment state of the massage equipment, a target prompt signal is obtained, and the target prompt signal is used for triggering a first prompt unit to display first prompt information;
And controlling the first prompt unit to display first prompt information according to the target prompt signal, wherein the first prompt information is used for indicating that the massage equipment is establishing short-distance wireless communication connection.
2. The method of claim 1, wherein the prompt module includes at least two prompt units, the prompt modes of the at least two prompt units are different, and the first prompt unit is any one of the at least two prompt units.
3. The method according to claim 2, wherein the acquiring the target cue signal according to the device state of the massage device includes:
acquiring a first priority order of each unit included in the prompt module according to the equipment state of the massage equipment;
acquiring a first target prompt signal according to the first priority order; the first target prompt signal is used for triggering a prompt unit with the highest priority in the first priority sequence.
4. The method according to claim 3, wherein the obtaining the first priority order of the units included in the prompting module according to the device state of the massaging device includes:
Acquiring a state score corresponding to the equipment state according to the equipment state of the massage equipment;
and acquiring a first priority order of each unit included by the prompt module according to the state scores.
5. The method of claim 3, wherein the obtaining a first target cue signal according to the first priority order comprises:
determining a first target prompt unit according to the first priority order, wherein the first target prompt unit is a prompt unit with highest priority in the first priority order;
detecting the working state of the first target prompting unit, wherein the working state comprises an idle state and an operating state;
and responding to the working state of the first target prompt unit to be an idle state, and acquiring the first target prompt signal.
6. The method of claim 5, wherein the method further comprises:
responding to the working state of the first target prompt unit being an operation state, and acquiring a second priority order, wherein the second priority order is a priority order formed by removing the first target prompt unit from the first priority order;
And acquiring a second target prompt signal according to the second priority order, wherein the second target prompt signal is used for triggering a prompt unit with the highest priority in the second priority order.
7. The method according to claim 1, further comprising, before the target cue signal is acquired according to the device state of the massage device
The signal acquisition request is sent to a server, wherein the signal acquisition request carries the equipment state of the massage equipment and is used for requesting the server to generate the target prompt signal according to the equipment state of the massage equipment;
the step of obtaining the target prompt signal according to the equipment state of the massage equipment comprises the following steps:
and receiving the target prompt signal returned by the server.
8. The method of any one of claims 2 to 6, wherein the at least two alert units comprise at least two of a display screen unit, a speaker unit, a vibration module unit, and a light module unit.
9. The method of any of claims 1 to 7, wherein the short-range wireless communication is any one of wireless fidelity WiFi communication, peer-to-peer D2D communication, bluetooth communication, or Zigbee communication.
10. The method according to claim 1, wherein the identification information includes any one of a bar code, a two-dimensional code, and text information attached to the massage device; or,
the identification information comprises any one of bar codes, two-dimensional codes and text information displayed in a display screen of the massage equipment.
11. The method of claim 1, wherein the device identification comprises any one of a media access control, MAC, address, product serial number, system account number, customer identification module number, port number of the massaging device.
12. A prompting device for a short-range wireless communication connection, the device being for use with a massage apparatus, the device comprising:
the device comprises a request receiving module, a message sending module and a message sending module, wherein the request receiving module is used for receiving a short-distance wireless communication pairing request sent by electronic equipment, the short-distance wireless communication pairing request comprises a device identifier of the massage equipment and a pairing key, the device identifier is obtained by the electronic equipment through identifying identification information contained by the massage equipment, and the pairing key is used for establishing short-distance wireless communication connection with the electronic equipment when the electronic equipment passes verification;
The starting module is used for responding to the fact that the massage equipment and the electronic equipment are in short-distance wireless communication connection, and starting a prompting module of the massage equipment;
the prompting module is used for displaying first prompting information through the prompting module, and the first prompting information is used for indicating that the massage equipment is establishing short-distance wireless communication connection;
the prompting module comprises a first acquisition unit and a first display unit;
the first acquisition unit is used for acquiring a target prompt signal, and the target prompt signal is used for triggering the first prompt unit to display the first prompt information;
the first display unit is used for controlling the first prompt unit to display the first prompt information according to the target prompt signal;
the apparatus further comprises:
a state acquisition module, configured to acquire, before the first acquisition unit acquires a target prompt signal, an equipment state of the massage device, where the equipment state includes one or more of a usage state of the massage device, location information, and electrical quantity information, the usage state includes a wearing state and an unworn state, the location information is used to indicate a distance between the massage device and other massage devices, and the electrical quantity information is used to indicate an electrical quantity value of the massage device;
The first acquisition unit is used for acquiring the target prompt signal according to the equipment state of the massage equipment.
13. A massaging device comprising a memory and a processor, wherein the memory stores a computer program which, when executed by the processor, causes the processor to implement the method of prompting a short-range wireless communication connection according to any one of claims 1 to 11.
14. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a prompting method for a short range wireless communication connection according to any one of claims 1 to 11.
CN202011528165.8A 2020-12-22 2020-12-22 Prompting method and device for short-distance wireless communication connection and massaging equipment Active CN112689274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011528165.8A CN112689274B (en) 2020-12-22 2020-12-22 Prompting method and device for short-distance wireless communication connection and massaging equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011528165.8A CN112689274B (en) 2020-12-22 2020-12-22 Prompting method and device for short-distance wireless communication connection and massaging equipment

Publications (2)

Publication Number Publication Date
CN112689274A CN112689274A (en) 2021-04-20
CN112689274B true CN112689274B (en) 2023-10-24

Family

ID=75450585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011528165.8A Active CN112689274B (en) 2020-12-22 2020-12-22 Prompting method and device for short-distance wireless communication connection and massaging equipment

Country Status (1)

Country Link
CN (1) CN112689274B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100663A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of intelligent watch and the interactive device of mobile terminal and method
CN107276815A (en) * 2017-06-30 2017-10-20 北京小米移动软件有限公司 Networking state reminding method, device and computer-readable recording medium
CN108809968A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Collaborative share method, apparatus and storage medium
CN108810861A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connection method, device and the storage medium of smart machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3654540B1 (en) * 2017-08-31 2023-04-05 Huawei Technologies Co., Ltd. Pairing method, unpairing method, terminal device and externally-connected device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100663A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of intelligent watch and the interactive device of mobile terminal and method
CN107276815A (en) * 2017-06-30 2017-10-20 北京小米移动软件有限公司 Networking state reminding method, device and computer-readable recording medium
CN108809968A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Collaborative share method, apparatus and storage medium
CN108810861A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connection method, device and the storage medium of smart machine

Also Published As

Publication number Publication date
CN112689274A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US10831161B2 (en) Method and device for sending communication message
CN111741513B (en) Network distribution method of Internet of things equipment and related equipment
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
CN106528036B (en) Volume adjusting method and device
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN106534072B (en) user information authorization method, device, equipment and system
CN107332976B (en) Karaoke method, device, equipment and system
CN106936676B (en) Household equipment control method and device
CN108900231B (en) Dynamic antenna adjustment method and related product
CN107786424B (en) Audio and video communication method, terminal and server
CN111327458A (en) Configuration information sharing method, terminal device and computer readable storage medium
CN108600887B (en) Touch control method based on wireless earphone and related product
CN104917905B (en) Processing method, terminal and the server of Stranger Calls
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN106020945B (en) Shortcut item adding method and device
WO2015024393A1 (en) Method, apparatus, and terminal for sending sms message
CN111107223A (en) Message processing method and electronic equipment
CN103699988A (en) Numeric value transfer method, terminal, server and system
CN115174418A (en) Communication environment safety early warning method and device, electronic equipment and storage medium
CN112689274B (en) Prompting method and device for short-distance wireless communication connection and massaging equipment
CN107148011B (en) Method, device and system for executing target service
CN116980851A (en) Method and device for sharing subroutines between locomotives, electronic equipment and storage medium
CN113285940B (en) Equipment connection method and device
CN114501449B (en) Information query method, device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Future wear Health Technology Co.,Ltd.

Address before: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Future wearable technology Co.,Ltd.

Address after: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Future wearable technology Co.,Ltd.

Address before: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Future wearable technology Co.,Ltd.