WO2017054344A1 - 一种处理通信消息的方法和装置 - Google Patents

一种处理通信消息的方法和装置 Download PDF

Info

Publication number
WO2017054344A1
WO2017054344A1 PCT/CN2015/099059 CN2015099059W WO2017054344A1 WO 2017054344 A1 WO2017054344 A1 WO 2017054344A1 CN 2015099059 W CN2015099059 W CN 2015099059W WO 2017054344 A1 WO2017054344 A1 WO 2017054344A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
application
reply
communication message
target terminal
Prior art date
Application number
PCT/CN2015/099059
Other languages
English (en)
French (fr)
Inventor
崔永彪
刘华一君
陈涛
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to MX2016004497A priority Critical patent/MX361465B/es
Priority to JP2016524056A priority patent/JP6401260B2/ja
Priority to RU2016121597A priority patent/RU2648264C2/ru
Priority to KR1020167009138A priority patent/KR101834677B1/ko
Publication of WO2017054344A1 publication Critical patent/WO2017054344A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/38Displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present disclosure relates to the field of computer technology, and more particularly to a method and apparatus for processing communication messages.
  • the present disclosure provides a method of processing a communication message.
  • the technical solutions are as follows:
  • a method of processing a communication message comprising:
  • the target terminal When the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to an automatic reply mode;
  • the first application In the automatic reply mode, when it is detected that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the target terminal is switched to an automatic reply mode, including:
  • the target terminal is switched to the automatic reply mode.
  • the first application when detecting that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the automatic reply mode when it is detected that the communication message is received in the first application, determining, according to the correspondence between the pre-stored location information and the reply message, the first location information corresponding to the current location information of the wearable device One reply Message
  • the reply message corresponding to the location information can be sent to the initiator of the communication message in time to avoid misunderstanding.
  • the method further includes:
  • the first application when detecting that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the automatic reply mode when it is detected that the communication message is received in the first application, determining a third reply message corresponding to the current time according to the correspondence between the pre-stored time and the reply message;
  • the reply message corresponding to the time information can be sent to the initiator of the communication message in time to avoid causing misunderstanding.
  • the first application when detecting that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the automatic reply mode when it is detected that the communication message is received in the first application, determining, according to the calendar stored by the target terminal, the usage scenario in which the current time user is located;
  • the corresponding reply message can be sent to the initiator of the communication message in time to avoid misunderstanding.
  • the method further includes:
  • the target terminal is switched to an automatic reply mode.
  • an apparatus for processing a communication message comprising:
  • An obtaining module configured to acquire a distance between the target terminal and the bound wearable device
  • a switching module configured to switch the target terminal to an automatic reply mode when a distance between the target terminal and the wearable device exceeds a preset distance threshold
  • a sending module configured to, in the automatic reply mode, when the communication message is received in the first application, control the first application, and send a preset reply message to the initiator of the communication message.
  • the switching module is configured to:
  • the target terminal is switched to the automatic reply mode.
  • the sending module includes a first determining submodule and a first sending submodule, where:
  • the first determining submodule is configured to determine, in the automatic reply mode, when the communication message is received in the first application, determining the wearable according to the correspondence between the pre-stored location information and the reply message. a first reply message corresponding to the current first location information of the device;
  • the first sending submodule is configured to control the first application, and send the first reply message to an initiator of the communication message.
  • the device further includes a first determining module, a second determining module, and an adding module, where:
  • the first determining module is configured to determine, according to location information of the wearable device within a preset historical duration, a usage scenario corresponding to the second location information;
  • the second determining module is configured to determine, according to the usage scenario corresponding to the second location information, a second reply message corresponding to the second location information;
  • the adding module is configured to add the second location information and the second reply message to the corresponding relationship between the location information and the reply message.
  • the sending module is a second determining submodule and a second sending submodule, where:
  • the second determining submodule configured to determine, according to the correspondence between the pre-stored time and the reply message, when the communication message is received in the first application, in the automatic reply mode, Third reply message;
  • the second sending submodule is configured to control the first application, and send the third reply message to an initiator of the communication message.
  • the sending module includes a third determining submodule, a fourth determining submodule, and a third sending submodule, where:
  • the third determining submodule is configured to determine, in the automatic reply mode, when the communication message is received in the first application, determining, according to the calendar stored by the target terminal, the current time user is used. Scenes;
  • the fourth determining sub-module is configured to determine, according to a corresponding relationship between the usage scenario and the reply message, the fourth reply message corresponding to the usage scenario where the user is located;
  • the third sending submodule is configured to control the first application, and send the fourth reply message to an initiator of the communication message.
  • the switching module is further configured to:
  • an apparatus for processing a communication message comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the target terminal When the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to an automatic reply mode;
  • the first application In the automatic reply mode, when it is detected that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the distance between the target terminal and the bound wearable device is obtained, and when the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to the automatic reply mode, and the automatic In the reply mode, when it is detected that the communication message is received in the first application, the first application is controlled, and a preset reply message is sent to the initiator of the communication message. In this way, when the application in the target terminal receives the communication message, the communication message can be replied in time, thereby improving the timeliness of information acquisition.
  • FIG. 1 is a flow chart showing processing of a communication message according to an exemplary embodiment
  • FIG. 2 is a schematic diagram of an interface operation for processing a communication message according to an exemplary embodiment
  • FIG. 3a is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 3b is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 3c is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 3d is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 4a is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 4b is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 4c is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 5 is a schematic structural diagram of a device for processing a communication message according to an exemplary embodiment
  • FIG. 6 is a schematic structural diagram of a device for processing a communication message according to an exemplary embodiment
  • FIG. 7 is a schematic structural diagram of a device for processing a communication message according to an exemplary embodiment
  • FIG. 8 is a schematic structural diagram of a device for processing a communication message according to an exemplary embodiment
  • FIG. 9 is a schematic structural diagram of a device for processing a communication message according to an exemplary embodiment
  • FIG. 10 is a schematic structural diagram of a target terminal according to an exemplary embodiment.
  • An exemplary embodiment of the present disclosure provides a method for processing a communication message. As shown in FIG. 1, the processing flow of the method may include the following steps:
  • step 101 the distance between the target terminal and the bound wearable device is obtained.
  • step 102 when the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to the automatic reply mode.
  • step 103 in the automatic reply mode, when it is detected that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the distance between the target terminal and the bound wearable device is obtained, and when the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to the automatic reply mode, and the automatic In the reply mode, when it is detected that the communication message is received in the first application, the first application is controlled, and a preset reply message is sent to the initiator of the communication message. In this way, when the application in the target terminal receives the communication message, the communication message can be replied in time, thereby improving the timeliness of information acquisition.
  • the method for processing a communication message may be used in a terminal (ie, a target terminal), and the terminal may be a mobile terminal, a tablet, or the like.
  • the target terminal may be installed with an application for managing the wearable device, which may be referred to as a management application.
  • the wearable device may be a smart wearable device such as a smart bracelet, a smart pen, a smart pendant, or the like.
  • the terminal may include a communication component and a positioning component, and the communication component is configured to process data transmission of the communication message; the positioning component may be used to detect location information of the user, and may be a GPS (Global Positioning System) component or the like.
  • GPS Global Positioning System
  • the terminal can also be provided with a processor, a memory, a transceiver, and the like.
  • the processor can be used to process the communication message process, and the memory can be used to store the data needed in the process as well as the generated data.
  • the terminal can also be provided with an input and output device such as a screen, and the screen can be used for displaying the operation interface of the terminal, etc., and can be a touch screen.
  • the wearable device may include a positioning component for detecting location information of itself, and may further include a communication component for interacting with the target terminal, and the communication component may be a Bluetooth component, WIFI (Wireless-Fidelity, wireless high-fidelity technology) components, etc., the wearable device may also include components such as a processor, a memory, and the like.
  • the terminal is a mobile phone
  • the wearable device is a wristband as an example, and a detailed description of the solution is performed. Other situations are similar, and the embodiment is not repeated.
  • step 101 the distance between the target terminal and the bound wearable device is obtained.
  • the user may carry the wearable device, and may set a binding of the target terminal to the wearable device in the management application.
  • the application may be in the application.
  • the automatic reply function is enabled, and after the automatic reply function is enabled, the target terminal can be triggered to send a distance query request to the server (which may be the background server of the application). After receiving the distance query request, the server may follow a preset period (such as 1 minute). Obtaining the location information of the target terminal and its bound wearable device, and calculating the distance between them to be sent to the target terminal.
  • step 102 when the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to the automatic reply mode.
  • the automatic reply mode may be a scenario mode of the target terminal, in which the message received by the target terminal, the incoming call request, the message of the social application, and the like may automatically reply to the message.
  • the preset distance threshold may be set by the user in the management application according to actual needs, such as 1 km and 5 km, as shown in FIG. 2 .
  • the management application may determine whether the distance is greater than a preset distance threshold. If the distance is greater than the preset distance threshold, the user may be determined to forget to carry the target terminal. At this point, you can switch the local profile to auto reply mode.
  • the time may be determined based on the time of the over distance.
  • the processing of step 102 may be as follows: when the distance between the target terminal and the wearable device continues to exceed the preset distance threshold. When the preset duration threshold is reached, the target terminal is switched to the auto-recovery mode.
  • the preset duration threshold may be preset by the user in the management application according to actual needs of the user, or may be preset by the technician in the management application, such as 5 minutes, 30 minutes, and the like.
  • the terminal receives the distance between the target terminal periodically sent by the server and the wearable device, and the management application can compare each distance received by the target terminal with a preset distance threshold, if the specified duration (ie, If the distance received in the preset duration threshold is greater than the preset distance threshold, it is determined that the user forgets to carry the target terminal, and the local scene mode can be switched to the automatic reply mode.
  • step 103 in the automatic reply mode, when it is detected that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the communication message may be a short message, a call request, or the like.
  • the reply message is a message for explaining that the user has forgotten to carry the terminal, and may be set by the user in the management application, or may be set by the technician in the management application.
  • the management application can monitor the communication in the communication function-enabled application (such as a short message application, a telephone application, an instant messaging application, etc.) in the terminal.
  • the message receiving event when the management application detects that the communication message is received in the first application, may control the first application to send a preset to the initiator of the communication message through an interface provided by the pre-stored first application. Reply message.
  • the management application detects that a communication message sent by a contact account is received in the WeChat application, the WeChat application can be controlled to send "the other party forgot to bring the mobile phone, please contact later".
  • only one unified reply message can be set, and different reply messages can be set according to the location information of the location where the wearable device is currently located or the current time.
  • the word "[Auto Reply]” can be added to the front or end of the reply message to indicate that the message was not sent by the user manually.
  • the corresponding reply message may be sent according to the location information
  • the processing of step 103 may be as follows: in the automatic reply mode, when detecting the communication message received in the first application, according to the pre-stored location information and Responding to the corresponding relationship of the message, determining a first reply message corresponding to the current first location information of the wearable device, controlling the first application, and sending the first reply message to the initiator of the communication message.
  • the management application may be configured with a correspondence table of location information and a reply message, where the location information may include a location name, and the location name may be input by the user by clicking and selecting on the map.
  • the corresponding reply message may be edited by the user, or may be selected by the user from a reply message preset by the technician.
  • the user may add the location information and the corresponding reply message, for example, work.
  • the name of the unit can be “Zhongguan Building”.
  • the corresponding reply message can be “The other party is at work, forget to bring a mobile phone, please contact later” or “The other party is at work, forget to bring a mobile phone, please dial ⁇
  • the response message corresponding to "XX Cinema” may be "The other party is watching a movie, please contact later.”
  • the response message corresponding to "XX Supermarket” may be "The other party is in the supermarket, please contact later”.
  • the first application may be controlled to send to the originator of the communication message that “the other party forgot to bring the mobile phone, please contact later. Reply message.
  • the first application may be controlled to send a reply message “The other party is watching a movie, please contact later” to the originator of the communication message.
  • the first application may be controlled to send a reply message of “the other party is in the supermarket, please contact later” to the initiator of the communication message.
  • the first application when the location name of the wearable device acquired by the terminal is Sunshine Plaza, the first application may be controlled to send a reply message “The other party is exercising, please contact later” to the initiator of the communication message.
  • the location closest to the location may be obtained in the correspondence table, and then It is determined whether the distance is less than a certain threshold, such as 100 meters. If the distance is less than the threshold, a reply message corresponding to the location closest to the distance may be obtained, and then the first application may be controlled to send the reply message to the initiator of the communication message. If it is greater than the threshold, the default reply message can be obtained, such as "the other party forgets to bring the mobile phone, please contact later", and then the first application can be controlled to send a default reply message to the originator of the communication message.
  • a certain threshold such as 100 meters.
  • the location information and the corresponding reply message may be determined according to the change rule of the location information of the user, and the corresponding processing manner may be: determining the second location information according to the location information of the wearable device within a preset historical duration.
  • the corresponding processing manner may be: determining the second location information according to the location information of the wearable device within a preset historical duration.
  • Corresponding use scenario according to the usage scenario corresponding to the second location information, determining a second reply message corresponding to the second location information, and adding the second location information and the second reply message to the corresponding relationship between the location information and the reply message in.
  • the preset historical duration may be 1 year, 1 month, and the like.
  • the correspondence between the usage scenario and the reply message may be pre-stored, and the usage scenario may be work, running, supermarket shopping, and the like.
  • the management application can also provide a schedule information setting page for the user, which can include a time period corresponding to each usage scenario, such as a working time period, a running time period, a supermarket shopping time period, etc., and the user can set his own working time, for example, The working hours are from 8:00 to 18:00 Monday to Friday, the running time is from 20:00 to 21:00 every day, the supermarket shopping time is from 8:00 to 10:00 on Sunday, and so on.
  • the target terminal may acquire the location information of the wearable device in a certain period of time set by the above, and set the position information of the repeated occurrence times exceeding the preset ratio threshold (for example, 60%) as The location information of the usage scenario corresponding to the time period (ie, the second location information). Further, according to the correspondence between the usage scenario and the reply message, the reply message corresponding to the second location information (ie, the second reply message) may be determined. The second location information and the second reply message may then be added to the corresponding relationship between the location information and the reply message.
  • the preset ratio threshold for example, 60%
  • the reply message may also be sent according to the corresponding relationship between the pre-stored time and the reply message.
  • the process of step 103 may be as follows: in the automatic reply mode, when detecting that the communication message is received in the first application, according to the advance Corresponding relationship between the stored time and the reply message, determining a third reply message corresponding to the current time, controlling the first application, and sending a third reply message to the initiator of the communication message.
  • the management application may be configured with a correspondence table of time and reply messages, where the correspondence table may include reply messages corresponding to different time segments, and the user may be in the corresponding relationship table.
  • the user may add a reply message corresponding to the time period from 9:00 am to 18:00 pm from Monday to Friday in the correspondence table, which may be "the other party is at work, forget to bring a mobile phone, please contact later", 20 per day
  • the response message corresponding to the time period from 00 to 21:00 can be "the other party is running, forget to bring the mobile phone, please contact later", the reply message corresponding to the time period from 22:00 every night to 7:00 am the next morning. It can be "the other person is sleeping” and so on.
  • the terminal may acquire the time for receiving the communication message, and then may be in each time included in the correspondence table between the time and the reply message.
  • the time period corresponding to the time when the communication message is received is obtained, and then the response message corresponding to the time segment is obtained, and then the first application is controlled to the initiator of the communication message by using an interface provided by the first application stored in advance. Send the received reply message.
  • the first application when the terminal acquires the time for receiving the communication message at 10:00 am, the first application may be controlled to send to the originator of the communication message that “the other party is at work, forgetting to bring the mobile phone, please contact later” .
  • the first application when the terminal acquires the time for receiving the communication message to be 20:30, the first application may be controlled to send "the other party is running, forgetting to bring the mobile phone, please contact later" to the initiator of the communication message.
  • the first application when the terminal acquires the time to receive the communication message at 23:15, the first application can be controlled to send "the other party is sleeping" to the initiator of the communication message.
  • the message may be automatically replied according to the calendar stored by the terminal.
  • the processing of step 103 may be as follows: in the automatic reply mode, when the communication message is received in the first application, according to the calendar stored by the terminal Determining the current event information corresponding to the current time, determining a fourth reply message corresponding to the current event information according to the correspondence between the pre-stored event information and the reply message, controlling the first application, and sending the message to the initiator of the communication message Fourth reply message.
  • the user can set his own calendar in the daily scheduling application in the terminal, which can also be called a trip list.
  • the event information can include: the content of the event, time, location.
  • a correspondence table between the event information and the reply message may be set in the management application, and the corresponding relationship table may include a reply message corresponding to different event information, and the user may add each event in the corresponding relationship table.
  • the reply message corresponding to the information (fourth reply message).
  • the reply message corresponding to “meeting” in the event information may be “the other party is in a meeting, please contact later”, and the response message corresponding to “watching movie” in the event information may be “the other party is watching a movie, please contact later. "Wait.
  • the terminal's context mode is the automatic reply mode
  • the terminal when the terminal detects that the communication message is received in the first application, the terminal can obtain the user's calendar and the current time, and find the event information corresponding to the current time from the calendar. After finding the event information corresponding to the current time, according to the current event information, the correspondence between the event information and the reply message The table finds a reply message corresponding thereto, and then controls the first application to send the found reply message to the initiator of the communication message through an interface provided by the first application stored in advance.
  • the default reply message may be obtained, such as “the other party forgets to bring the mobile phone, please contact later”.
  • the default reply message may be obtained, for example: “The other party forgets to bring the mobile phone, please After contact.”
  • the terminal may also switch the current context mode to the automatic reply mode, and the corresponding processing may be as follows: when receiving the user sleep state message sent by the wearable device, switching the terminal to the automatic reply mode.
  • the wearable device can detect the sleep state of the user by using the gravity sensor. When it is detected that the user does not exercise for 15 minutes, the user can be determined to be in a sleep state, and then the message that the user is in the sleep state can be sent to the terminal, and when the terminal receives the wearable After the user sent by the device is in the sleep state message, the management application determines that the user is already in the sleep state according to the message that the user is in the sleep state, and can switch the local scene mode to the automatic reply mode.
  • the distance between the target terminal and the bound wearable device is obtained, and when the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to the automatic reply mode, and the automatic In the reply mode, when it is detected that the communication message is received in the first application, the first application is controlled, and a preset reply message is sent to the initiator of the communication message. In this way, when the application in the target terminal receives the communication message, the communication message can be replied in time, thereby improving the timeliness of information acquisition.
  • Yet another exemplary embodiment of the present disclosure further provides an apparatus for processing a communication message. As shown in FIG. 5, the apparatus includes:
  • the obtaining module 510 is configured to acquire a distance between the target terminal and the bound wearable device.
  • the switching module 520 is configured to switch the target terminal to an automatic reply mode when a distance between the target terminal and the wearable device exceeds a preset distance threshold;
  • the sending module 530 is configured to, in the automatic reply mode, when detecting that the communication message is received in the first application, control the first application, and send a preset reply message to the initiator of the communication message. .
  • the switching module 520 is configured to:
  • the target terminal is switched to the automatic reply mode.
  • the sending module 530 includes a first determining submodule 531 and a first sending submodule 532, where:
  • the first determining submodule 531 is configured to determine, in the automatic reply mode, when the communication message is received in the first application, determining the wearing according to the correspondence between the pre-stored location information and the reply message.
  • the first reply message corresponding to the current first location information of the device;
  • the first sending submodule 532 is configured to control the first application, and send the first reply message to an initiator of the communication message.
  • the apparatus further includes a first determining module 550, a second determining module 550, and an adding module 560, where:
  • the first determining module 540 is configured to determine, according to location information of the wearable device within a preset historical duration, a usage scenario corresponding to the second location information;
  • the second determining module 550 is configured to determine, according to the usage scenario corresponding to the second location information, a second reply message corresponding to the second location information;
  • the adding module 560 is configured to add the second location information and the second reply message to the corresponding relationship between the location information and the reply message.
  • the sending module 530 is a second determining submodule 533 and a second sending submodule 534, where:
  • the second determining submodule 533 is configured to determine, in the automatic reply mode, when the communication message is received in the first application, according to the correspondence between the pre-stored time and the reply message, determine the current time corresponding Third reply message;
  • the second sending submodule 534 is configured to control the first application, and send the third reply message to an initiator of the communication message.
  • the sending module 530 includes a third determining submodule 535, a fourth determining submodule 536, and a third sending submodule 537, where:
  • the third determining sub-module 535 is configured to determine, in the automatic reply mode, when the communication message is received in the first application, determining, according to the calendar stored by the target terminal, the current time user scenes to be used;
  • the fourth determining sub-module 536 is configured to determine, according to the corresponding relationship between the usage scenario and the reply message, the fourth reply message corresponding to the usage scenario where the user is located;
  • the third sending submodule 537 is configured to control the first application to send the fourth reply message to an initiator of the communication message.
  • the switching module 520 is further configured to:
  • the target terminal is switched to an automatic reply mode.
  • the distance between the target terminal and the bound wearable device is obtained, and when the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to the automatic reply mode, and the automatic In the reply mode, when it is detected that the communication message is received in the first application, the first application is controlled, and a preset reply message is sent to the initiator of the communication message. In this way, when the application in the target terminal receives the communication message, the communication message can be replied in time, thereby improving the timeliness of information acquisition.
  • the apparatus for processing a communication message provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules when processing a communication message.
  • the foregoing function may be allocated by different functional modules according to requirements.
  • the internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
  • the apparatus for processing a communication message provided by the above embodiment is the same as the method embodiment for processing a communication message.
  • the specific implementation process is detailed in the method embodiment, and will not be described here.
  • the terminal can be a mobile phone, a tablet, or the like.
  • terminal 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
  • Processing component 802 typically controls the overall operation of terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at terminal 800. Examples of such data include instructions for any application or method operating on terminal 800, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Electrically erasable programmable read only memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 806 provides power to various components of terminal 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for audio output device 800.
  • the multimedia component 808 includes a screen that provides an output interface between the terminal 800 and the user.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the terminal 800 is in an operation mode such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input an audio signal.
  • the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the audio output device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 814 includes one or more sensors for providing terminal 800 with various aspects of status assessment.
  • sensor component 814 can detect an open/closed state of terminal 800, a relative positioning of components, such as the display and keypad of terminal 800, and sensor component 814 can also detect a change in position of a component of terminal 800 or terminal 800. The presence or absence of contact of the user with the terminal 800, the orientation or acceleration/deceleration of the terminal 800 and the temperature change of the terminal 800.
  • Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between terminal 800 and other devices.
  • the terminal 800 can access a wireless network based on a communication standard such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • terminal 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of terminal 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a terminal, enabling the terminal to perform the method described above, the method comprising:
  • the target terminal When the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to an automatic reply mode;
  • the first application In the automatic reply mode, when it is detected that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the target terminal is switched to an automatic reply mode, including:
  • the target terminal is switched to the automatic reply mode.
  • the first application when detecting that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the automatic reply mode when it is detected that the communication message is received in the first application, according to the pre-stored Corresponding relationship between the location information and the reply message, determining a first reply message corresponding to the current first location information of the wearable device;
  • the method further includes:
  • the first application when detecting that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the automatic reply mode when it is detected that the communication message is received in the first application, determining a third reply message corresponding to the current time according to the correspondence between the pre-stored time and the reply message;
  • the first application when detecting that the communication message is received in the first application, the first application is controlled to send a preset reply message to the initiator of the communication message.
  • the automatic reply mode when it is detected that the communication message is received in the first application, determining, according to the calendar stored by the target terminal, the usage scenario in which the current time user is located;
  • the method further includes:
  • the target terminal is switched to an automatic reply mode.
  • the distance between the target terminal and the bound wearable device is obtained, and when the distance between the target terminal and the wearable device exceeds a preset distance threshold, the target terminal is switched to the automatic reply mode, and the automatic In the reply mode, when it is detected that the communication message is received in the first application, the first application is controlled, and a preset reply message is sent to the initiator of the communication message. In this way, when the application in the target terminal receives the communication message, the communication message can be replied in time, thereby improving the timeliness of information acquisition.

Abstract

本公开是关于一种处理通信消息的方法和装置,属于计算机技术领域。方法包括:获取目标终端与绑定的穿戴式设备之间的距离,当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式,在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。采用本公开可以提高信息获取的及时性。

Description

一种处理通信消息的方法和装置
本申请基于申请号为CN 2015106266056、申请日为2015年9月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开是关于计算机技术领域,尤其是关于一种处理通信消息的方法和装置。
背景技术
随着计算机技术的发展,移动终端的功能越来越多,使得移动终端在日常生活和商务活动中起着越来越大的作用,但是有时如果用户忘记携带移动终端,当移动终端接收到即时通讯消息或者来电时,只能等用户重新拿到移动终端后,才可以对通信消息进行回复。
在实现本公开的过程中,发明人发现现有技术至少存在以下问题:
在用户忘记携带移动终端时,只能等重新拿到移动终端后,才可以对通信消息进行回复,通信消息的发起方不能及时得到回复,无法及时得知通信消息接收方的相关情况,导致信息获取的及时性差。
发明内容
为了克服相关技术中存在的问题,本公开提供了一种处理通信消息的方法。技术方案如下:
根据本公开实施例的第一方面,提供一种处理通信消息的方法,方法包括:
获取目标终端与绑定的穿戴式设备之间的距离;
当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
可选的,当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式,包括:
当所述目标终端与所述穿戴式设备之间的距离持续超过预设距离阈值的时长达到预设时长阈值时,将所述目标终端切换至自动回复模式。
这样,可以更准确的确定用户忘记带手机。
可选的,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的位置信息与回复消息的对应关系,确定所述穿戴式设备当前的第一位置信息对应的第一回复 消息;
控制所述第一应用程序,向所述通信消息的发起方发送所述第一回复消息。
这样,可以根据穿戴式设备的位置信息,及时向通信消息的发起方发送与位置信息对应的回复消息,避免引起误会。
可选的,所述方法还包括:
根据所述穿戴式设备在预设历史时长内的位置信息,确定第二位置信息对应的使用场景;
根据所述第二位置信息对应的使用场景,确定第二位置信息对应的第二回复消息;
将所述第二位置信息和所述第二回复消息,对应的添加到所述位置信息与回复消息的对应关系中。
这样,可以自动添加位置信息与对应的回复消息。
可选的,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的时间与回复消息的对应关系,确定当前的时间对应的第三回复消息;
控制所述第一应用程序,向所述通信消息的发起方发送所述第三回复消息。
这样,可以根据时间信息,及时向通信消息的发起方发送与时间信息对应的回复消息,避免引起误会。
可选的,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据所述目标终端存储的行事历,确定当前的时间用户所在的使用场景;
根据预先存储的使用场景与回复消息的对应关系,确定用户所在的使用场景对应的第四回复消息;
控制所述第一应用程序,向所述通信消息的发起方发送所述第四回复消息。
这样,可以根据用户的出行计划,及时向通信消息的发起方发送相应的回复消息,避免引起误会。
可选的,所述方法还包括:
当接收所述穿戴式设备发送的用户睡眠状态消息时,将所述目标终端切换至自动回复模式。
这样,即使用户处于睡眠状态也可以向通信消息的发起方发送相应的回复消息,避免引起误会。
根据本公开实施例的第二方面,提供一种处理通信消息的的装置,装置包括:
获取模块,用于获取目标终端与绑定的穿戴式设备之间的距离;
切换模块,用于当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
发送模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
可选的,所述切换模块用于:
当所述目标终端与所述穿戴式设备之间的距离持续超过预设距离阈值的时长达到预设时长阈值时,将所述目标终端切换至自动回复模式。
可选的,所述发送模块包括第一确定子模块和第一发送子模块,其中:
所述第一确定子模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的位置信息与回复消息的对应关系,确定所述穿戴式设备当前的第一位置信息对应的第一回复消息;
所述第一发送子模块,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第一回复消息。
可选的,所述装置还包括第一确定模块、第二确定模块和添加模块,其中:
所述第一确定模块,用于根据所述穿戴式设备在预设历史时长内的位置信息,确定第二位置信息对应的使用场景;
所述第二确定模块,用于根据所述第二位置信息对应的使用场景,确定第二位置信息对应的第二回复消息;
所述添加模块,用于将所述第二位置信息和所述第二回复消息,对应的添加到所述位置信息与回复消息的对应关系中。
可选的,所述发送模块第二确定子模块和第二发送子模块,其中:
所述第二确定子模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的时间与回复消息的对应关系,确定当前的时间对应的第三回复消息;
所述第二发送子模块,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第三回复消息。
可选的,所述发送模块包括第三确定子模块、第四确定子模块和第三发送子模块,其中:
所述第三确定子模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据所述目标终端存储的行事历,确定当前的时间用户所在的使用场景;
所述第四确定子模块,用于根据预先存储的使用场景与回复消息的对应关系,确定用户所在的使用场景对应的第四回复消息;
所述第三发送子模块,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第四回复消息。
可选的,所述切换模块,还用于:
当接收所述穿戴式设备发送的用户睡眠状态消息时,将所述目标终端切换至自动回复模 式。
根据本公开实施例的第三方面,提供一种处理通信消息的的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取目标终端与绑定的穿戴式设备之间的距离;
当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
本公开的实施例提供的技术方案可以包括以下有益效果:
本公开实施例中,获取目标终端与绑定的穿戴式设备之间的距离,当目标终端与穿戴式设备之间的距离超过预设距离阈值时,将目标终端切换至自动回复模式,在自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制第一应用程序,向通信消息的发起方发送预设的回复消息。这样当目标终端中的应用程序接收到通讯消息时,可以及时的对通讯消息进行回复,从而,可以提高信息获取的及时性。
本公开实施例中,应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。在附图中:
图1是根据一示例性实施例示出的一种处理通信消息的流程图;
图2是根据一示例性实施例示出的一种处理通信消息的界面操作示意图;
图3a是根据一示例性实施例示出的一种应用场景的示意图;
图3b是根据一示例性实施例示出的一种应用场景的示意图;
图3c是根据一示例性实施例示出的一种应用场景的示意图;
图3d是根据一示例性实施例示出的一种应用场景的示意图;
图4a是根据一示例性实施例示出的一种应用场景的示意图;
图4b是根据一示例性实施例示出的一种应用场景的示意图;
图4c是根据一示例性实施例示出的一种应用场景的示意图;
图5是根据一示例性实施例示出的一种处理通信消息装置的结构示意图;
图6是根据一示例性实施例示出的一种处理通信消息装置的结构示意图;
图7是根据一示例性实施例示出的一种处理通信消息装置的结构示意图;
图8是根据一示例性实施例示出的一种处理通信消息装置的结构示意图;
图9是根据一示例性实施例示出的一种处理通信消息装置的结构示意图;
图10是根据一示例性实施例示出的一种目标终端的结构示意图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
本公开一示例性实施例提供了一种处理通信消息的方法,如图1所示,该方法的处理流程可以包括如下的步骤:
在步骤101中,获取目标终端与绑定的穿戴式设备之间的距离。
在步骤102中,当目标终端与穿戴式设备之间的距离超过预设距离阈值时,将目标终端切换至自动回复模式。
在步骤103中,在自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制第一应用程序,向通信消息的发起方发送预设的回复消息。
本公开实施例中,获取目标终端与绑定的穿戴式设备之间的距离,当目标终端与穿戴式设备之间的距离超过预设距离阈值时,将目标终端切换至自动回复模式,在自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制第一应用程序,向通信消息的发起方发送预设的回复消息。这样当目标终端中的应用程序接收到通讯消息时,可以及时的对通讯消息进行回复,从而,可以提高信息获取的及时性。
本公开另一示例性实施例提供了一种处理通信消息的方法,处理通信消息的方法可以用于终端(即目标终端)中,终端可以是手机、平板电脑等移动终端。目标终端可以安装有用于管理穿戴式设备的应用程序,可简称管理应用程序,穿戴式设备可以为智能穿戴设备,如智能手环、智能笔、智能挂坠等。该终端可以包括通信部件、定位部件,通信部件用于处理通信消息的数据传输;定位部件可以用于检测自身的位置信息,可以是GPS(Global Positioning System,全球卫星定位系统)部件等。终端还可以设置有处理器、存储器、收发器等。处理器可以用于通信消息过程的处理,存储器可以用于存储处理过程中需要的数据以及产生的数据。终端中还可以设置有屏幕等输入输出设备,屏幕可以用于显示终端的操作界面等,可以是触控式的屏幕。穿戴式设备可以包括定位部件,用于检测自身的位置信息,还可以包括通信部件,用于与目标终端进行交互,通信部件可以是蓝牙部件、WIFI (Wireless-Fidelity,无线高保真技术)部件等,穿戴式设备还可以包括处理器、存储器等部件。本实施例中以终端为手机、穿戴式设备为手环为例,进行方案的详细描述,其它情况与之类似,本实施例不再累述。
下面将结合实施方式,对图1所示的处理流程进行详细的说明,内容可以如下:
在步骤101中,获取目标终端与绑定的穿戴式设备之间的距离。
在实施中,用户可以携带穿戴式设备,并且可以在管理应用程序中设置将该目标终端与该穿戴式设备的绑定,当用户将目标终端与穿戴式设备绑定后,可以在该应用程序中开启自动回复功能,开启自动回复功能后,则可以触发目标终端向服务器(可以是应用程序的后台服务器)发送距离查询请求,服务器接收到距离查询请求后,可以按照预设周期(如1分钟)获取目标终端和其绑定的穿戴式设备的位置信息,进而计算它们之间的距离,发送给目标终端。
在步骤102中,当目标终端与穿戴式设备之间的距离超过预设距离阈值时,将目标终端切换至自动回复模式。
其中,自动回复模式可以为目标终端的一种情景模式,在该情景模式下,目标终端接收到的短信、来电请求、社交类应用程序的消息等都可以自动回复消息。预设距离阈值可以是用户根据自身实际需要在管理应用程序中设置,如1千米、5千米,如图2所示。
在实施中,当终端接收到与穿戴式设备之间的距离后,管理应用程序可以判断该距离是否大于预设距离阈值,如果该距离大于预设距离阈值,则可以判定用户忘记携带目标终端,此时可以将本地的情景模式切换至自动回复模式。
可选的,在判定忘记带手机时,还可以基于超距离的时间来判定,相应的,步骤102的处理可以如下:当目标终端与穿戴式设备之间的距离持续超过预设距离阈值的时长达到预设时长阈值时,将目标终端切换至自动回复模式。
其中,预设时长阈值可以由用户根据自身实际需要在管理应用程序中预先设置,也可以由技术人员在管理应用程序中预先设置,如5分钟、30分钟等。
在实施中,终端接收到服务器周期性发送的目标终端与穿戴式设备之间的距离,管理应用程序可以将目标终端接收到的每个距离与预设距离阈值进行比较,如果在指定时长(即预设时长阈值)内接收到的距离都大于预设距离阈值,则判定用户忘记携带目标终端,此时可以将本地的情景模式切换至自动回复模式。
在步骤103中,在自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制第一应用程序,向通信消息的发起方发送预设的回复消息。
其中,通信消息可以是短信、通话请求等。回复消息是用于说明用户忘记携带终端的相关消息,可以由用户在管理应用程序中设置,或者,也可以由技术人员在管理应用程序中进行设置。
在实施中,在终端的当前的情景模式为自动回复模式时,管理应用程序可以监控终端中具有通讯功能的应用程序(如短信应用程序、电话应用程序、即时通讯应用程序等)中的通 信消息接收事件,当管理应用程序检测到第一应用程序中接收到通信消息时,可以通过预先存储的第一应用程序提供的接口,控制第一应用程序向该通信消息的发起方发送预设的回复消息。例如,当管理应用程序检测到微信应用程序中接收到某个联系人账户发送的通讯消息时,可以控制微信应用程序向该联系人账户发送“对方忘记带手机了,请稍后联系”。在管理应用程序中可以只设置一个统一的回复消息,也可以根据穿戴式设备当前所处的位置的位置信息或当前的时间设置不同的回复消息。另外,可以在回复消息的前端或末端加入“[自动回复]”的字样,表示该消息不是用户手动操作发送。
可选的,还可以设置根据位置信息发送对应的回复消息,步骤103的处理可以如下:在自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的位置信息与回复消息的对应关系,确定穿戴式设备当前的第一位置信息对应的第一回复消息,控制第一应用程序,向通信消息的发起方发送第一回复消息。
在实施中,如表1所示,管理应用程序中可以设置有位置信息与回复消息的对应关系表,该位置信息中可以包括地点名称,地点名称可以由用户通过在地图上点击选择的方式输入,对应的回复消息可以由用户自己编辑,也可以由用户从技术人员预设的回复消息中选择,在该对应关系表中,用户可以添加自己常用的位置信息与对应的回复消息,例如,工作单位的地点名称可以为“中关大厦”,对应的回复消息可以是“对方在上班,忘记带手机,请稍后联系”或“对方在上班,忘记带手机,请拨××××××”;“XX电影院”对应的回复消息可以是“对方在看电影,请稍后联系”“XX超市”对应的回复消息可以是“对方在超市,请稍后联系”等。在终端的情景模式为自动回复模式下,当管理应用程序检测到第一应用程序中接收到通信消息时,可以获取穿戴式设备当前的位置信息中的位置名称,然后可以在上述对应关系表中,查找与穿戴式设备的位置名称相匹配的位置名称,进而确定该位置名称对应的回复消息,然后可以通过预先存储的第一应用程序提供的接口,控制第一应用程序向该通信消息的发起方发送查找到的回复消息。
例如,如3a所示,当终端获取到的穿戴式设备的位置名称为中关大厦时,则可以控制第一应用程序向通信消息的发起方发送“对方忘记带手机,请稍后稍后联系”的回复消息。如3b所示,当终端获取到的穿戴式设备的位置名称为万达电影院时,则可以控制第一应用程序向通信消息的发起方发送“对方在看电影,请稍后联系”的回复消息。如3c所示,当终端获取到的穿戴式设备的位置名称为永辉超市时,则可以控制第一应用程序向通信消息的发起方发送“对方在超市,请稍后联系”的回复消息。如3d所示,当终端获取到的穿戴式设备的位置名称为阳光广场时,则可以控制第一应用程序向通信消息的发起方发送“对方在锻炼,请稍后联系”的回复消息。
另外,终端获取到穿戴式设备当前的位置名称后,如果在位置信息与回复消息的对应关系表没有查找到该位置名称,则可以在该对应关系表中获取与该位置距离最近的位置,然后判断该距离是否小于一定阈值,如100米,如果小于该阈值,则可以获取距离此距离最近的位置对应的回复消息,然后可以控制第一应用程序,向通信消息的发起方发送该回复消息。 如果大于该阈值,则可以获取默认回复消息,如“对方忘记带手机,请稍后联系”,然后可以控制第一应用程序,向通信消息的发起方发送默认回复消息。
表1
Figure PCTCN2015099059-appb-000001
可选的,可以根据用户的位置信息的变化规律统计,确定位置信息与对应的回复消息,相应的处理方式可以为:根据穿戴式设备在预设历史时长内的位置信息,确定第二位置信息对应的使用场景,根据第二位置信息对应的使用场景,确定第二位置信息对应的第二回复消息,将第二位置信息和第二回复消息,对应的添加到位置信息与回复消息的对应关系中。
在实施中,预设历史时长可以是1年、1个月等。在管理应用程序中,可以预先存储使用场景与回复消息的对应关系,使用场景可以是工作、跑步、超市购物等。管理应用程序还可以为用户提供作息时间设置页面,其中可以包括每个使用场景对应的时间段,如工作时间段、跑步时间段、超市购物时间段等,用户可以设置自己的作息时间,例如,工作时间段为周一至周五的8:00-18:00,跑步时间段为每天20:00-21:00,超市购物时间段为周日8:00-10:00,等等。在用户使用穿戴式设备的过程中,目标终端可以获取在上述设置的某个时间段中穿戴式设备的位置信息,并将重复出现次数超过预设比例阈值(如60%)的位置信息设置为该时间段对应的使用场景的位置信息(即第二位置信息)。进而,根据上述使用场景与回复消息的对应关系,可以确定第二位置信息对应的回复消息(即第二回复消息)。然后可以将第二位置信息和第二回复消息对应的添加到上述位置信息与回复消息的对应关系中。
可选的,还可以根据预先存储的时间与回复消息的对应关系发送回复消息,步骤103的处理可以如下:在自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的时间与回复消息的对应关系,确定当前的时间对应的第三回复消息,控制第一应用程序,向通信消息的发起方发送第三回复消息。
在实施中,如表2所示,管理应用程序中可以设置有时间与回复消息的对应关系表,该对应关系表中可以包含不同的时间段对应的回复消息,用户可以在该对应关系表中添加各时间段对应的回复消息(第三回复消息)。例如,用户可以在该对应关系表中添加周一至周五上午9:00至下午18:00的时间段对应的回复消息可以为“对方在上班,忘记带手机,请稍后联系”,每天20:00至21:00的时间段对应的回复消息可以为“对方在跑步,忘记带手机,请稍后联系”,每天晚上22:00至第二天早上7:00的时间段对应的回复消息可以为“对方睡觉了”等。
表2
Figure PCTCN2015099059-appb-000002
在终端的情景模式为自动回复模式下,当终端检测到第一应用程序中接收到通信消息时,可以获取接收通信消息的时间,然后可以在时间与回复消息的对应关系表所包含的各时间段中,查找接收通信消息的时间所属的时间段,进而获取该时间段对应的回复消息,然后可以通过预先存储的第一应用程序提供的接口,控制第一应用程序向该通信消息的发起方发送获取到的回复消息。
例如,如4a所示,当终端获取到接收通信消息的时间为上午10:00,则可以控制第一应用程序向通信消息的发起方发送“对方在上班,忘记带手机,请稍后联系”。如4b所示,当终端获取到接收通信消息的时间为20:30,则可以控制第一应用程序向通信消息的发起方发送“对方在跑步,忘记带手机,请稍后联系”。如4c所示,当终端获取到接收通信消息的时间为23:15,则可以控制第一应用程序向通信消息的发起方发送“对方睡觉了”。
可选的,还可以根据终端存储的行事历,自动回复消息,步骤103的处理可以如下:在自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据终端存储的行事历,确定当前的时间对应的当前的事件信息,根据预先存储的事件信息与回复消息的对应关系,确定当前的事件信息对应的第四回复消息,控制第一应用程序,向通信消息的发起方发送第四回复消息。
在实施中,用户可以在终端中日常安排应用程序中设置自己的行事历,也可以称为行程表,在行事历中可以设置自己每天的事件信息,事件信息可以包括:事件的内容、时间、地点。如表3所示,管理应用程序中可以设置有事件信息与回复消息的对应关系表,该对应关系表中可以包含不同的事件信息对应的回复消息,用户可以在该对应关系表中添加各事件信息对应的回复消息(第四回复消息)。如:事件信息中的“开会”对应的回复消息可以为“对方在开会,请稍后联系”、事件信息中的“看电影”对应的回复消息可以是“对方在看电影,请稍后联系”等。
表3
Figure PCTCN2015099059-appb-000003
在终端的情景模式为自动回复模式下,当终端检测到第一应用程序中接收到通信消息时,可以获取用户的行事历与当前的时间,从行事历中查找当前的时间对应的事件信息,查找到当前的时间对应的事件信息后,根据当前的事件信息,从事件信息与回复消息对应关系 表中查找与之对应的回复消息,然后可以通过预先存储的第一应用程序提供的接口,控制第一应用程序向该通信消息的发起方发送查找到的回复消息。
另外,在获取到行事历与当前的时间后,如果行事历中没有记录当前的时间对应的事件信息,则可以获取默认的回复消息,如“对方忘记带手机,请稍后联系”。或者获取到当前的时间对应的事件信息后,如果预先存储的事件信息信息与回复消息的对应关系中没有记录该事件信息,则可以获取默认的回复消息,如:“对方忘记带手机,请稍后联系”。
可选的,当用户处于睡眠状态时,终端也可以将当前的情景模式切换至自动回复模式,相应的处理可以如下:当接收穿戴式设备发送的用户睡眠状态消息时,将终端切换至自动回复模式。
穿戴式设备可以使用重力传感器检测用户的睡眠状态,当检测到用户持续15分钟不运动,则可以判定用户处于睡眠状态,然后可以将用户处于睡眠状态的消息发送至终端,当终端接收到穿戴式设备发送的用户处于睡眠状态消息后,管理应用程序根据用户处于睡眠状态的消息,判定用户已经处于睡眠状态,则可以将本地的情景模式切换至自动回复模式。
本公开实施例中,获取目标终端与绑定的穿戴式设备之间的距离,当目标终端与穿戴式设备之间的距离超过预设距离阈值时,将目标终端切换至自动回复模式,在自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制第一应用程序,向通信消息的发起方发送预设的回复消息。这样当目标终端中的应用程序接收到通讯消息时,可以及时的对通讯消息进行回复,从而,可以提高信息获取的及时性。
本公开又一示例性实施例还提供了一种处理通信消息的装置,如图5所示,该装置包括:
获取模块510,用于获取目标终端与绑定的穿戴式设备之间的距离;
切换模块520,用于当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
发送模块530,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
可选的,所述切换模块520用于:
当所述目标终端与所述穿戴式设备之间的距离持续超过预设距离阈值的时长达到预设时长阈值时,将所述目标终端切换至自动回复模式。
可选的,如图6所示,所述发送模块530包括第一确定子模块531和第一发送子模块532,其中:
所述第一确定子模块531,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的位置信息与回复消息的对应关系,确定所述穿戴式设备当前的第一位置信息对应的第一回复消息;
所述第一发送子模块532,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第一回复消息。
可选的,如图7所示,所述装置还包括第一确定模块550、第二确定模块550和添加模块560,其中:
所述第一确定模块540,用于根据所述穿戴式设备在预设历史时长内的位置信息,确定第二位置信息对应的使用场景;
所述第二确定模块550,用于根据所述第二位置信息对应的使用场景,确定第二位置信息对应的第二回复消息;
所述添加模块560,用于将所述第二位置信息和所述第二回复消息,对应的添加到所述位置信息与回复消息的对应关系中。
可选的,如图8所示,所述发送模块530第二确定子模块533和第二发送子模块534,其中:
所述第二确定子模块533,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的时间与回复消息的对应关系,确定当前的时间对应的第三回复消息;
所述第二发送子模块534,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第三回复消息。
可选的,如图9所示,所述发送模块530包括第三确定子模块535、第四确定子模块536和第三发送子模块537,其中:
所述第三确定子模块535,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据所述目标终端存储的行事历,确定当前的时间用户所在的使用场景;
所述第四确定子模块536,用于根据预先存储的使用场景与回复消息的对应关系,确定用户所在的使用场景对应的第四回复消息;
所述第三发送子模块537,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第四回复消息。
可选的,所述切换模块520,还用于:
当接收所述穿戴式设备发送的用户睡眠状态消息时,将所述目标终端切换至自动回复模式。
本公开实施例中,获取目标终端与绑定的穿戴式设备之间的距离,当目标终端与穿戴式设备之间的距离超过预设距离阈值时,将目标终端切换至自动回复模式,在自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制第一应用程序,向通信消息的发起方发送预设的回复消息。这样当目标终端中的应用程序接收到通讯消息时,可以及时的对通讯消息进行回复,从而,可以提高信息获取的及时性。
需要说明的是:上述实施例提供的处理通信消息的装置在处理通信消息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的处理通信消息的装置与处理通信消息的方法实施例属于同一构 思,其具体实现过程详见方法实施例,这里不再赘述。
本公开再一示例性实施例提供了一种终端的结构示意图。该终端可以是手机、平板电脑等。
参照图10,终端800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制终端800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理部件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在终端800的操作。这些数据的示例包括用于在终端800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件806为终端800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为音频输出设备800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述终端800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当终端800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当音频输出设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为终端800提供各个方面的状态评估。例如,传感器组件814可以检测到终端800的打开/关闭状态,组件的相对定位,例如所述组件为终端800的显示器和小键盘,传感器组件814还可以检测终端800或终端800一个组件的位置改变,用户与终端800接触的存在或不存在,终端800方位或加速/减速和终端800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于终端800和其他设备之间有线或无线方式的通信。终端800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,终端800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由终端800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行上述的方法,该方法包括:
获取目标终端与绑定的穿戴式设备之间的距离;
当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
可选的,当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式,包括:
当所述目标终端与所述穿戴式设备之间的距离持续超过预设距离阈值的时长达到预设时长阈值时,将所述目标终端切换至自动回复模式。
可选的,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的 位置信息与回复消息的对应关系,确定所述穿戴式设备当前的第一位置信息对应的第一回复消息;
控制所述第一应用程序,向所述通信消息的发起方发送所述第一回复消息。
可选的,所述方法还包括:
根据所述穿戴式设备在预设历史时长内的位置信息,确定第二位置信息对应的使用场景;
根据所述第二位置信息对应的使用场景,确定第二位置信息对应的第二回复消息;
将所述第二位置信息和所述第二回复消息,对应的添加到所述位置信息与回复消息的对应关系中。
可选的,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的时间与回复消息的对应关系,确定当前的时间对应的第三回复消息;
控制所述第一应用程序,向所述通信消息的发起方发送所述第三回复消息。
可选的,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据所述目标终端存储的行事历,确定当前的时间用户所在的使用场景;
根据预先存储的使用场景与回复消息的对应关系,确定用户所在的使用场景对应的第四回复消息;
控制所述第一应用程序,向所述通信消息的发起方发送所述第四回复消息。
可选的,所述方法还包括:
当接收所述穿戴式设备发送的用户睡眠状态消息时,将所述目标终端切换至自动回复模式。
本公开实施例中,获取目标终端与绑定的穿戴式设备之间的距离,当目标终端与穿戴式设备之间的距离超过预设距离阈值时,将目标终端切换至自动回复模式,在自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制第一应用程序,向通信消息的发起方发送预设的回复消息。这样当目标终端中的应用程序接收到通讯消息时,可以及时的对通讯消息进行回复,从而,可以提高信息获取的及时性。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (15)

  1. 一种处理通信消息的方法,其特征在于,所述方法包括:
    获取目标终端与绑定的穿戴式设备之间的距离;
    当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
    在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
  2. 根据权利要求1的方法,其特征在于,所述当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式,包括:
    当所述目标终端与所述穿戴式设备之间的距离持续超过预设距离阈值的时长达到预设时长阈值时,将所述目标终端切换至自动回复模式。
  3. 根据权利要求1的方法,其特征在于,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
    在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的位置信息与回复消息的对应关系,确定所述穿戴式设备当前的第一位置信息对应的第一回复消息;
    控制所述第一应用程序,向所述通信消息的发起方发送所述第一回复消息。
  4. 根据权利要求3的方法,其特征在于,所述方法还包括:
    根据所述穿戴式设备在预设历史时长内的位置信息,确定第二位置信息对应的使用场景;
    根据所述第二位置信息对应的使用场景,确定第二位置信息对应的第二回复消息;
    将所述第二位置信息和所述第二回复消息,对应的添加到所述位置信息与回复消息的对应关系中。
  5. 根据权利要求1的方法,其特征在于,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
    在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的时间与回复消息的对应关系,确定当前的时间对应的第三回复消息;
    控制所述第一应用程序,向所述通信消息的发起方发送所述第三回复消息。
  6. 根据权利要求1的方法,其特征在于,所述在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息,包括:
    在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据所述目标终 端存储的行事历,确定当前的时间对应的当前的事件信息;
    根据预先存储的事件信息与回复消息的对应关系,确定所述当前的事件信息对应的第四回复消息;
    控制所述第一应用程序,向所述通信消息的发起方发送所述第四回复消息。
  7. 根据权利要求1的方法,其特征在于,所述方法还包括:
    当接收所述穿戴式设备发送的用户睡眠状态消息时,将所述目标终端切换至自动回复模式。
  8. 一种处理通信消息的装置,其特征在于,所述装置包括:
    获取模块,用于获取目标终端与绑定的穿戴式设备之间的距离;
    切换模块,用于当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
    发送模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
  9. 根据权利要求8的装置,其特征在于,所述切换模块用于:
    当所述目标终端与所述穿戴式设备之间的距离持续超过预设距离阈值的时长达到预设时长阈值时,将所述目标终端切换至自动回复模式。
  10. 根据权利要求8的装置,其特征在于,所述发送模块包括第一确定子模块和第一发送子模块,其中:
    所述第一确定子模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的位置信息与回复消息的对应关系,确定所述穿戴式设备当前的第一位置信息对应的第一回复消息;
    所述第一发送子模块,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第一回复消息。
  11. 根据权利要求10的装置,其特征在于,所述装置还包括第一确定模块、第二确定模块和添加模块,其中:
    所述第一确定模块,用于根据所述穿戴式设备在预设历史时长内的位置信息,确定第二位置信息对应的使用场景;
    所述第二确定模块,用于根据所述第二位置信息对应的使用场景,确定第二位置信息对应的第二回复消息;
    所述添加模块,用于将所述第二位置信息和所述第二回复消息,对应的添加到所述位置信息与回复消息的对应关系中。
  12. 根据权利要求8的装置,其特征在于,所述发送模块第二确定子模块和第二发送子模块,其中:
    所述第二确定子模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据预先存储的时间与回复消息的对应关系,确定当前的时间对应的第三回复消息;
    所述第二发送子模块,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第三回复消息。
  13. 根据权利要求8的装置,其特征在于,所述发送模块包括第三确定子模块、第四确定子模块和第三发送子模块,其中:
    所述第三确定子模块,用于在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,根据所述目标终端存储的行事历,确定当前的时间用户所在的使用场景;
    所述第四确定子模块,用于根据预先存储的使用场景与回复消息的对应关系,确定用户所在的使用场景对应的第四回复消息;
    所述第三发送子模块,用于控制所述第一应用程序,向所述通信消息的发起方发送所述第四回复消息。
  14. 根据权利要求8的装置,其特征在于,所述切换模块,还用于:
    当接收所述穿戴式设备发送的用户睡眠状态消息时,将所述目标终端切换至自动回复模式。
  15. 一种处理通信消息的的装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取目标终端与绑定的穿戴式设备之间的距离;
    当所述目标终端与所述穿戴式设备之间的距离超过预设距离阈值时,将所述目标终端切换至自动回复模式;
    在所述自动回复模式下,当检测到第一应用程序中接收到通信消息时,控制所述第一应用程序,向所述通信消息的发起方发送预设的回复消息。
PCT/CN2015/099059 2015-09-28 2015-12-25 一种处理通信消息的方法和装置 WO2017054344A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
MX2016004497A MX361465B (es) 2015-09-28 2015-12-25 Dispositivo y método de procesamiento de comunicación.
JP2016524056A JP6401260B2 (ja) 2015-09-28 2015-12-25 通信メッセージ処理方法および装置
RU2016121597A RU2648264C2 (ru) 2015-09-28 2015-12-25 Способ и устройство (варианты) для обработки коммуникационных сообщений
KR1020167009138A KR101834677B1 (ko) 2015-09-28 2015-12-25 통신 메시지 처리 방법 및 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510626605.6 2015-09-28
CN201510626605.6A CN105306690B (zh) 2015-09-28 2015-09-28 一种处理通信消息的方法和装置

Publications (1)

Publication Number Publication Date
WO2017054344A1 true WO2017054344A1 (zh) 2017-04-06

Family

ID=55203421

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099059 WO2017054344A1 (zh) 2015-09-28 2015-12-25 一种处理通信消息的方法和装置

Country Status (8)

Country Link
US (1) US9774997B2 (zh)
EP (1) EP3148122B1 (zh)
JP (1) JP6401260B2 (zh)
KR (1) KR101834677B1 (zh)
CN (1) CN105306690B (zh)
MX (1) MX361465B (zh)
RU (1) RU2648264C2 (zh)
WO (1) WO2017054344A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3179705B1 (en) * 2014-08-29 2019-04-03 Huawei Technologies Co. Ltd. Message processing method, system and related device
CN104836904A (zh) * 2015-04-08 2015-08-12 惠州Tcl移动通信有限公司 基于智能穿戴设备对移动终端提示信息的处理方法及系统
CN105824541B (zh) * 2016-02-29 2017-12-26 维沃移动通信有限公司 一种提示信息的处理方法及移动终端
WO2019090645A1 (zh) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 一种用于通信信息处理的方法及移动终端
CN112423405B (zh) * 2019-08-20 2023-07-18 Oppo广东移动通信有限公司 通信方法和装置、电子设备、计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685670A (zh) * 2012-05-09 2012-09-19 惠州Tcl移动通信有限公司 一种基于手机来电自动回复短消息的处理方法及手机
US20140206321A1 (en) * 2013-01-22 2014-07-24 Bibhudendu Mohapatra Methods for automatically replying to phone calls and text messages
CN104751066A (zh) * 2015-03-10 2015-07-01 广东欧珀移动通信有限公司 一种信息的处理方法及装置

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004023110A (ja) * 2002-06-12 2004-01-22 Nec Commun Syst Ltd 電子メール返信方法及びそのシステム、情報端末装置並びに制御プログラムを記録した記録媒体
JP2004206627A (ja) * 2002-12-26 2004-07-22 Hitachi Kokusai Electric Inc 携帯端末
JP2005348167A (ja) * 2004-06-03 2005-12-15 Vodafone Kk 移動体通信端末
JP4411151B2 (ja) * 2004-06-30 2010-02-10 ソニー・エリクソン・モバイルコミュニケーションズ株式会社 通信端末装置及び通信システム
RU2259595C1 (ru) * 2004-10-21 2005-08-27 Общество с ограниченной ответственностью "АЛЬТОНИКА" (ООО "АЛЬТОНИКА") Система тревожного оповещения и определения местоположения
KR100672358B1 (ko) 2004-11-08 2007-01-24 엘지전자 주식회사 이동 통신 단말기를 이용한 자동 응답 메시지 전송 장치및 전송방법
US8681751B2 (en) * 2005-07-11 2014-03-25 Nokia Corporation Method and apparatus for providing presence information in support of wireless communication services
KR20080107566A (ko) * 2007-06-07 2008-12-11 이준호 업무자 부재 감지후 조치 전화기
US8655693B2 (en) * 2009-07-08 2014-02-18 Centurylink Intellectual Property Llc System and method for automating travel related features
JP2012129834A (ja) * 2010-12-16 2012-07-05 Casio Comput Co Ltd 携帯電話システム、携帯電話機および装着型端末
US9191786B2 (en) * 2012-06-27 2015-11-17 At&T Intellectual Property I, L.P. Method and apparatus for generating a suggested message to be sent over a network
KR102028702B1 (ko) * 2012-11-16 2019-10-04 삼성전자주식회사 현재의 상태에 따른 응답 메시지를 송신하는 전자 장치 및 방법
JP5407005B1 (ja) 2013-08-19 2014-02-05 パナソニック株式会社 無線通信システム及び携帯情報端末
JP5763110B2 (ja) * 2013-01-08 2015-08-12 ビッグローブ株式会社 送受信システム、コンピュータ、送受信装置、送受信方法、及びプログラム
CN103780758B (zh) * 2014-01-16 2016-05-11 加一联创电子科技有限公司 穿戴式通信设备及其同步信息的方法
CN103870220A (zh) * 2014-03-19 2014-06-18 惠州Tcl移动通信有限公司 一种移动设备工作模式的控制方法及控制系统
US10179064B2 (en) * 2014-05-09 2019-01-15 Sleepnea Llc WhipFlash [TM]: wearable environmental control system for predicting and cooling hot flashes
US9774990B2 (en) * 2015-04-21 2017-09-26 Verizon Patent And Licensing Inc. Proximity-based verification of programming instructions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685670A (zh) * 2012-05-09 2012-09-19 惠州Tcl移动通信有限公司 一种基于手机来电自动回复短消息的处理方法及手机
US20140206321A1 (en) * 2013-01-22 2014-07-24 Bibhudendu Mohapatra Methods for automatically replying to phone calls and text messages
CN104751066A (zh) * 2015-03-10 2015-07-01 广东欧珀移动通信有限公司 一种信息的处理方法及装置

Also Published As

Publication number Publication date
EP3148122B1 (en) 2021-07-14
KR101834677B1 (ko) 2018-03-05
CN105306690B (zh) 2018-09-25
RU2648264C2 (ru) 2018-03-23
US20170094465A1 (en) 2017-03-30
EP3148122A1 (en) 2017-03-29
CN105306690A (zh) 2016-02-03
JP2017539100A (ja) 2017-12-28
US9774997B2 (en) 2017-09-26
MX2016004497A (es) 2017-06-09
MX361465B (es) 2018-12-06
JP6401260B2 (ja) 2018-10-10

Similar Documents

Publication Publication Date Title
WO2017071076A1 (zh) 叫车方法和装置
US10292004B2 (en) Method, device and medium for acquiring location information
US10264085B2 (en) Method and device for presenting push notifications
CN107134823B (zh) 充电提示方法及装置
US10423379B2 (en) Method and device for screen-off display
WO2017036037A1 (zh) 拍摄控制方法和装置
WO2017054344A1 (zh) 一种处理通信消息的方法和装置
KR20160077011A (ko) 스마트 홈 디바이스의 운전상태 조절 방법, 장치, 프로그램 및 기록매체
US11194297B2 (en) Method and apparatus for controlling alarm clock
TWI659662B (zh) 定位資訊收集方法、裝置及移動終端
EP2977945A1 (en) Method and device for agenda management
US10745291B2 (en) Method for processing water and control apparatus
US20200201688A1 (en) Method for sending warning information, storage medium and terminal
CN108629178B (zh) 应用程序的资源访问权限配置方法及装置
WO2017035992A1 (zh) 消息的发送方法、装置、终端及路由器
US20170289808A1 (en) Method and device for information presentation and computer-readable medium
CN109218509B (zh) 息屏显示方法、装置及计算机可读存储介质
CN109034747B (zh) 任务提醒方法及装置
CN107222576B (zh) 相册同步方法及装置
WO2017113659A1 (zh) 一种管理应用程序的方法和装置
CN107423950B (zh) 闹钟设置方法和装置
CN107122286B (zh) 统计事件信息的方法及装置
CN112074005B (zh) 功耗控制方法及装置
US9788178B2 (en) Method for acquiring recommending information, terminal, and server

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/004497

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2016524056

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016121597

Country of ref document: RU

Kind code of ref document: A

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

Ref document number: 15905254

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15905254

Country of ref document: EP

Kind code of ref document: A1