Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first" and "second" in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features shown. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The technical scheme is based on the prompting method of the neck massager, when a user uses the neck massager, the message prompting method is started, and the neck massager is in communication connection with communication equipment through a communication module of the neck massager to acquire communication request information of the communication equipment.
This application is through establishing communication connection with neck massage appearance and communications facilities, and communications facilities for example is panel computer, cell-phone etc. can carry out the mobile device that communicates with other communications facilities.
Referring to fig. 1, fig. 1 is a schematic block diagram of a flow chart of an embodiment of a prompting method of the present application. The method comprises the following steps:
and S11, presetting an address list, and establishing communication connection between the neck massager and the communication equipment.
The setting of the address book comprises setting a nickname and setting communication signals, wherein each communication signal is a unique and unrepeatable digit sequence/letter sequence/digit and special character sequence/digit and letter and special character sequence of a corresponding communication path, for example, a SIM card number in a telephone address book, a micro signal in a micro communication address book, a QQ number in a QQ address book and the like. When the address list is set, a nickname is required to be correspondingly set for each communication number in the address list, nickname information in the address list is completely the same as nickname information in the communication equipment, and the corresponding relation between the nickname information and the communication number in the address list is also completely the same as the corresponding relation between the nickname information and the communication number in the communication equipment.
When the user starts the neck massage instrument to massage the neck, the user can select whether to establish the communication connection with the communication equipment, and if the user needs to prompt a communication request through the neck massage instrument, the user establishes the communication connection between the neck massage instrument and the communication equipment.
And S12, when the communication request is received, judging whether the communication equipment is in a mute prompt mode or a convenient communication mode.
In step S11, if the user selects to establish a communication connection between the neck massager and the communication device, the user is prompted to adjust the communication device to a silent alert mode or a convenient communication mode, and in both modes, if the communication device receives a communication request from another device, for example, a call request or a text message, the communication device does not alert. In this step, when the communication device receives a communication request from another device, if the communication device is currently in the silent alert mode or the handy communication mode, the communication device does not perform the alert, step S13 is performed, and if the communication device is not currently in the silent alert mode or the handy communication mode, step S16 is performed, without performing the message alert. The step S16 of not turning on the message prompt means that the message prompt is not performed by the neck massage apparatus, but the communication device performs the prompt according to the currently set mode.
Optionally, different mode identification codes are respectively set for the mute prompt mode and the convenient communication mode, when the current mode of the communication equipment is judged, if the current mode identification code is detected to be the identification code of the mute prompt mode or the identification code of the convenient communication mode, the communication equipment is judged to be in the mute prompt mode or the convenient communication mode currently, otherwise, the communication equipment is judged not to be in the mute prompt mode or the convenient communication mode currently.
And S13, acquiring the address book information of the requester.
When it is determined in step S12 that the communication device is in the silent alert mode or the convenient communication mode, the address book information of the requester is obtained, and the obtained address book information of the requester includes a nickname of the requester and a communication signal of the requester.
And S14, judging whether the address book information of the requester is in the address book.
If the address book information of the requester is in the address book, the step S15 is performed, and if not, the step S16 is performed, and the message prompt is not turned on.
And S15, starting message prompting.
The prompting method can be prompting voice prompt or voice prompt, and the message prompt is sent out through the neck massage instrument to inform the user that the communication equipment receives the communication request.
Alternatively, when the prompt tone prompt is used, different prompt tones can be set for communication requests from different communication paths respectively, so that a user can quickly distinguish which communication software the current communication request comes from through the prompt tones.
Optionally, when the voice prompt is used, the content of the voice prompt includes a nickname and a communication signal of the requester, and what kind of communication request is sent by the requester through what way, for example, the communication number corresponding to the contact named as "xiaoming" in the user's WeChat address book is "12345", and both the nickname and the communication signal are stored in the address book, when the xiaoming sends a WeChat video invitation to the user in the silent alert mode or the handy communication mode, the content of the voice prompt is "xiaoming 12345 sends a video invitation to the user through WeChat", if the xiaoming sends a WeChat text message to the user in the silent alert mode or the handy communication mode, the content of the voice prompt is: "Xiaoming 12345 sends you a short message by WeChat".
In practice, when the user is enjoying massage, the user is often in a relaxed state in mind, even has a closed eye and a nap, and in order to avoid being disturbed, the communication device is often set in a mute mode to avoid being disturbed, which may miss important communication information. This application is connected through the communication of establishing neck massage appearance and communications facilities, when the user is using the neck massage appearance, set up communications facilities into silence suggestion mode or convenient communication mode according to current scene, during the important communication request that makes communications facilities receive, can send the suggestion message through the neck massage appearance, can avoid communications facilities not leading to the fact nearby untimely, also can be according to the user's demand, only indicate important communication request, the puzzlement that the user frequently disturbed by unimportant communication request has been removed from.
Referring to fig. 2, fig. 2 is a schematic block diagram illustrating a flow of another embodiment of a communication request prompting method according to the present application. The method comprises the following specific steps:
and S21, presetting an address list, and establishing communication connection between the neck massager and the communication equipment.
This step is the same as step S11 in the previous embodiment, and is not repeated here.
And S22, when the communication request is received, judging whether the communication equipment is in a mute prompt mode or a convenient communication mode.
Optionally, the communication request received by the communication device of the user includes a call request and text information, after the user starts message prompting, the user selects a mute prompt mode or a convenient communication mode, in the mute prompt mode and the convenient communication mode, if the communication device receives the communication request sent by other devices, the communication device does not send a prompt, step S23 is executed, and if the communication device is not currently in the mute prompt mode or the convenient communication mode, the communication device performs a corresponding prompt according to the currently set mode.
And S23, acquiring the address book information of the requester and the time information of receiving the communication request.
When it is determined in step S22 that the communication device is in the silent alert mode or the convenient communication mode, the address book information of the requester and the time information of the received communication request are obtained, where the obtained address book information of the requester includes the nickname of the requester and the communication signal of the requester.
And S24, judging whether the address book information of the requester is in the address book.
In this step, it is only necessary to determine whether at least one of the nickname of the requester and the request message is in the address list, if one or both of the nickname of the requester and the request message are in the address list, determine that the address list information of the requester is in the address list, perform step S25, start message prompt, if neither the nickname of the requester nor the request message is in the address list, determine that the address list information of the requester is not in the address list, and perform step S26.
And S25, starting message prompting.
This step is the same as step S15 in the previous embodiment, and is not repeated here.
And S26, judging whether the interval time between the current communication request and the last communication request is less than a preset time threshold value.
When it is determined in step S24 that the address book information of the requester is not in the address book, calculating an interval between the current sending of the communication request and the last sending of the communication request by the requester, determining whether the interval is smaller than a preset time threshold, and if the interval is smaller than the preset time threshold, performing step S25 and starting message prompt. Otherwise, step S27 is executed, and the message prompt is not turned on. Optionally, the preset time threshold of the present embodiment is within the closed interval [10,20], and the unit is second.
Optionally, in another embodiment, whether to start the message prompt may be determined by counting the number of times of communication requests that the requester transmits in a first preset time, and if the number of times of communication requests that are transmitted in a cumulative manner is greater than the preset number of times, the message prompt is started, otherwise, the message prompt is not started. Optionally, the first preset time of the embodiment is within the closed interval [40,60], and the unit is second, and the preset number of times is greater than or equal to 2.
The step determines whether to start the message prompt by calculating the interval of the communication request or the number of times of sending the communication request within the preset time, so that the user can be prevented from missing the emergency communication request of the requester.
And S27, not starting the message prompt.
In another embodiment, after the step S25 turns on the message prompt, the method further includes the steps a1-a2:
a1, inquiring whether the user establishes a call connection with the requester or whether the user broadcasts the text message by voice.
The inquiry mode is that through voice inquiry, when the communication request received by the communication equipment is a call request, the user is inquired whether to establish a call connection with the requester (for example, the inquiry is sent to 'answer or not'). When the communication request received by the communication equipment is text information, inquiring whether the user broadcasts the text information by voice (for example, sending out an inquiry of 'whether to broadcast the information').
a2, receiving the reply command within a second preset time.
After sending the inquiry message of 'whether to answer', the neck massager starts the reply instruction receiving function, and if receiving the answering instruction sent by the user within the second preset time, the neck massager automatically establishes the call connection with the requester. Similarly, if the inquiry message of 'whether to broadcast the information' is sent, the neck massager starts the reply instruction receiving function, and if the broadcast instruction sent by the user is received within the second preset time, the text information sent by the requester is broadcasted through voice. If the reply instruction sent by the user is not received within the second preset time after the inquiry message of ' whether to answer or ' whether to broadcast the information ' is sent, or the received reply instruction of the user is not to answer or broadcast, the instruction receiving function is closed, and the message prompt is stopped.
Optionally, the user sets the reply instruction by entering a voice instruction, and after receiving the voice instruction, firstly, the recorded voice command is associated with the operation mode, the association relation between the reply command and the operation mode is established, then, the voice analysis module identifies the voice command input by the user and extracts the voiceprint information of the user, after the function of receiving the reply command is started in the step, filtering the received voice to obtain clearer voiceprint information and reply instruction information, if successfully extracting a reply instruction matched with the voice instruction pre-recorded by the user, analyzing whether the voiceprint information of the reply instruction is matched with the voiceprint information of the voice instruction pre-recorded by the user, if so, and operating according to the voice instruction, otherwise, prompting the user to re-input a reply instruction, or prompting the user to manually answer/view information.
The step automatically receives or broadcasts the message by receiving the reply instruction of the user, thereby bringing convenience to the user. When the communication equipment is not at hand and the user is inconvenient to operate the communication equipment, the communication equipment is set to be in a convenient communication mode in advance, and when the communication equipment receives a communication request, the user can answer or broadcast the message through the neck massager, so that the operation is convenient and fast.
In another embodiment, an interference-free address book may be preset, in step S26 of the previous embodiment, if the interval between the current sending of the communication request and the last sending of the communication request by the requester is less than the preset time threshold, or the cumulative number of times of sending the communication request by the requester is greater than the preset number, before the message prompt is started, it is determined whether the information of the address book of the requester is in the interference-free address book, if not, step S25 is executed to start the message prompt, otherwise, the message prompt is not started.
Referring to fig. 3, fig. 3 is a schematic block diagram illustrating a flow of a communication request prompting method according to another embodiment of the present application. The method comprises the following steps:
s31: presetting an address list and an interference-free address list, and establishing communication connection between the neck massager and the communication equipment.
Optionally, the setting of the address book and the interference-free address book comprises setting a nickname and setting a communication signal, wherein each communication signal is a unique and unrepeatable number sequence/letter sequence/sequence of numbers and letters/sequence of numbers and special characters of a corresponding communication path, for example, a SIM card number in a telephone address book, a micro signal in a micro communication address book, a QQ number in a QQ address book, and the like. And a nickname is correspondingly set for each address book, nickname information in the address book is completely the same as nickname information in the communication equipment, and the corresponding relation between the nickname information and the address number in the address book is also completely the same as the corresponding relation between the nickname information and the address number in the communication equipment, so that the setting of the address book is prevented from being interfered, and the setting of the address book is not repeated.
And S32, when the communication request is received, judging whether the communication equipment is in a mute prompt mode or a convenient communication mode.
Optionally, the communication request received by the communication device of the user includes a call request and text information, if it is determined that the communication device is in the silent alert mode or the convenient communication mode, the operation of step S33 is executed, and if it is determined that the communication device is not in the silent alert mode or the convenient communication mode, the operation of step S38 is executed, and the message alert is not turned on. The step S38 of not turning on the message prompt means that the message prompt is not performed by the neck massager, and the communication device performs a corresponding prompt according to the currently set mode.
And S33, acquiring the address book information of the requester and the time information of receiving the communication request.
When it is determined in step S32 that the communication device is in the silent alert mode or the convenient communication mode, the address book information of the requester and the time information of the received communication request are obtained, where the obtained address book information of the requester includes the nickname of the requester and the communication signal of the requester.
And S34, judging whether the address book information of the requester is in the address book.
In this step, it is only necessary to determine whether at least one of the nickname of the requester and the request message is in the address list, if one or both of the nickname of the requester and the request message are in the address list, determine that the address list information of the requester is in the address list, perform step S35, start message prompt, if neither the nickname of the requester nor the request message is in the address list, determine that the address list information of the requester is not in the address list, and perform step S36.
And S35, starting message prompting.
This step is the same as step S25 in the previous embodiment, and is not repeated here.
And S36, judging whether the address book information of the requester is in the interference-free address book.
Only need to judge whether at least one of the request side nickname and the request side communication signal is in the interference-free address list, if one or both of the request side nickname and the request side communication signal are in the interference-free address list, judge that the address list information of the request side is in the interference-free address list, and end the process. Otherwise, the address book information of the requesting party is determined not to be in the interference-free address book, and step S37 is executed.
And S37, judging whether the interval time between the current communication request and the last communication request is less than a preset time threshold value.
When it is determined in step S36 that the contact list information of the requester is not in the interference-free contact list, calculating an interval between the current sending of the communication request and the last sending of the communication request by the requester, determining whether the interval is smaller than a preset time threshold, and if the interval is smaller than the preset time threshold, performing step S35 and enabling message prompt. Otherwise, the message prompt is not started, and the process is ended. Optionally, the preset time threshold of the present embodiment is within the closed interval [10,20], and the unit is second.
Optionally, in another embodiment, whether to start the message prompt may be determined by counting the number of times of communication requests that the requester transmits in a first preset time, and if the number of times of communication requests that are transmitted in a cumulative manner is greater than the preset number of times, the message prompt is started, otherwise, the message prompt is not started. Optionally, the first preset time of the embodiment is within the closed interval [40,60], and the unit is second, and the preset number of times is greater than or equal to 2.
And S38, not starting the message prompt.
The step of not starting the message prompt means that the message prompt function of the neck massage instrument is not started, and the communication equipment still carries out corresponding message prompt according to the currently set mode.
Referring to fig. 4, fig. 4 is a schematic block diagram of a circuit structure of an embodiment of the neck massager. The neck massager of the present embodiment includes: the massage machine comprises a massage machine body 10, a communication module 110, a judgment module 120, an acquisition module 130, a prompt module 140 and a control module 150, wherein the communication module 110, the judgment module 120, the acquisition module 130, the prompt module 140 and the control module 150 are all arranged on the massage machine body 10, the communication module 110 is used for establishing communication connection with communication equipment to receive communication request information of the communication equipment, and the judgment module 120 is used for judging whether the communication equipment is in a mute prompt mode or a convenient communication mode and judging whether address list information of a requester is in an address list; the obtaining module 130 is configured to obtain address book information of a requester, the prompting module 140 is configured to start message prompting, and the control module 150 is electrically connected to the communication module 110, the determining module 120, the obtaining module 130, and the prompting module 140, and is configured to control the communication module 110, the determining module 120, the obtaining module 130, and the prompting module 140 to implement the steps in the foregoing method.
Optionally, the obtaining module 130 is further configured to obtain a nickname of a requester and obtain a request message, and the determining module 120 is further configured to determine whether at least one of the nickname of the requester and the request message is in the address list.
Optionally, the neck massager further comprises a processing module electrically connected to the control module 140. The obtaining module 130 is further configured to obtain time information of receiving the communication request while obtaining the address book information of the requester, if the address book information of the requester is not in the address book, the processing module calculates an interval time between the current communication request and the previous communication request, or calculates the number of times of communication requests that are sent by the requester cumulatively within a first preset time, and if the interval time is less than a preset time threshold or the number of times of sending the communication requests cumulatively is greater than a preset number of times, the control module 150 controls the prompting module 140 to start message prompting.
Optionally, the determining module 120 is further configured to determine whether the address book information of the requester is in the interference-free address book.
Optionally, the neck massager further comprises a reply instruction receiving module, and the reply instruction receiving module is electrically connected to the control module 150 and is configured to receive a reply instruction within a second preset time.
Optionally, the neck massager further comprises a verification module, wherein the verification module is electrically connected to the control module 150 and is configured to verify the reply instruction through voiceprint information of a pre-input voice instruction after the reply instruction receiving module receives the reply instruction within a second preset time.
Optionally, the neck massager further includes a filtering module electrically connected to the control module 150, and configured to perform filtering processing on the received reply instruction to obtain clearer voiceprint information.
Referring to fig. 5, fig. 5 is a schematic block diagram of a circuit structure of a mobile device according to an embodiment of the present application. As shown in fig. 5, the mobile device comprises a processor 11 and a memory 12 coupled to each other. The memory 12 stores a computer program, and the processor 11 is configured to execute the computer program to implement the steps of the communication request prompting method embodiment described above.
For the description of the steps executed in the processing, refer to the description of the steps in the embodiment of the communication request prompting method of the present application, which is not repeated herein.
In the embodiments of the present application, the disclosed communication request prompt method and neck massager may be implemented in other manners. For example, the various embodiments of the neck massager described above are merely illustrative, and for example, the division of the modules or units is merely a logical division, and other divisions may be implemented in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.