WO2020238873A1 - 一种通信方法、服务器和通信*** - Google Patents

一种通信方法、服务器和通信*** Download PDF

Info

Publication number
WO2020238873A1
WO2020238873A1 PCT/CN2020/092202 CN2020092202W WO2020238873A1 WO 2020238873 A1 WO2020238873 A1 WO 2020238873A1 CN 2020092202 W CN2020092202 W CN 2020092202W WO 2020238873 A1 WO2020238873 A1 WO 2020238873A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
user
friend
electronic device
account
Prior art date
Application number
PCT/CN2020/092202
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 华为技术有限公司
Publication of WO2020238873A1 publication Critical patent/WO2020238873A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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/212Monitoring or handling of messages using filtering or selective blocking
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • 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/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Definitions

  • This application relates to the field of electronic equipment, and more specifically, to a method and electronic equipment for adding friends.
  • Some existing social applications (for example, WeChat) provide a whitelist mechanism, and the two parties can communicate only after adding friends, which can effectively block harassment in the early stage.
  • the present application provides a communication method, server, and communication system, which help reduce the difficulty of adding friends between users and improve communication efficiency.
  • a communication method includes: a server receives a communication request sent by a first electronic device through a social application, the communication request includes first information and second information, and the first information is used to indicate The information of the account of the first contact logged in the social application on the first electronic device, where the second information is used to indicate the information of the account of the second contact requesting communication; in response to the communication request, if the first contact If the contact’s account is not in the friend list of the second contact in the social application, a first reminder message is sent to at least one second electronic device associated with the second contact’s account, where the first reminder message includes The first user information associated with the first contact, the first reminder message is used to indicate that the first contact requests to add the second contact as a friend, or is used to indicate that the second contact requests the first contact The contact is added as a friend.
  • the server after the server receives the communication request sent by the first contact through the first electronic device, if the account of the first contact is not in the friend list of the second contact, it can communicate with the second contact
  • the second electronic device associated with the contact reminds the second contact to add the first contact as a friend, which helps the user to timely pass a stranger's request for adding a friend, reduces the difficulty of adding a friend, and improves communication efficiency.
  • the communication request can be a request to add a friend, an audio call or a video call request, or a message sent through the social application (for example, pictures, location information, text, etc.) .
  • the first reminder message may also be used to remind the communication request.
  • the method before the sending the first reminder message to at least one second electronic device associated with the account of the second contact, the method further includes: determining The account of the first contact is not in the blacklist of the second contact in the social application.
  • the server before sending the first reminder message to the second electronic device, the server can determine that the account of the first contact is not in the blacklist of the second contact in the social application, which helps prevent The first contact frequently harasss the second contact.
  • the communication request is an audio call request or a video call request; the method further includes: in response to the communication request, not communicating with the person who logs in to the second contact
  • the electronic device of the account establishes a call connection. It is understandable that after receiving the audio or video call request sent by the first electronic device through the social application, the server first confirms whether the first contact is a friend of the second contact, and if the first contact is not in the second contact’s In the friend list, the server does not establish the call connection requested by the first electronic device, but sends a reminder to the related device of the second contact, so that the second contact adds the first contact as a friend. After the second contact adds the first contact as a friend, the first contact can make audio and video calls or send timely messages with the second contact through the social application.
  • the communication method of the embodiment of the present application through the whitelist anti-harassment mechanism, can effectively intercept the harassment before the two parties become friends, so as to prevent the user from being harassed.
  • the method before the receiving the communication request sent by the first electronic device through the social application, the method further includes: receiving the communication request sent by the first electronic device through the social application Friend addition request, the friend addition request information is used to request to add the second contact as a friend, or to request the second contact to add the first contact as a friend; in response to the friend addition request, At least one second electronic device associated with the account of the second contact sends a second reminder message, the second reminder message includes second user information of the first contact, and the second reminder message is used to indicate the first contact Request to add the second contact as a friend, or to indicate that the second contact is requested to add the first contact as a friend.
  • the server when the server receives the friend addition request sent by the first electronic device, it may send a second reminder message to at least one electronic device associated with the second contact; and the server receives the first
  • the first reminder message can also be sent to at least one electronic device; by reminding the user multiple times, it helps the user to promptly pass the stranger's request to add a friend, which reduces the difficulty of adding a friend and improves communication effectiveness.
  • the method before the receiving the communication request sent by the first electronic device through the social application, the method further includes: receiving the communication request sent by the first electronic device through the social application A friend addition request, the friend addition request information is used to request to add the second contact as a friend, or to request the second contact to add the first contact as a friend; in response to the friend addition request, through the social application A third reminder message is sent to a third electronic device logging in to the account of the second contact, the third reminder message includes third user information of the first contact, and the third reminder message is used to indicate the first contact Request to add the second contact as a friend, or to indicate that the second contact is requested to add the first contact as a friend.
  • the communication request may be an audio call request or a video call request, or it may also be another communication request.
  • the first contact sends to the second contact via a social application on the first electronic device. Send text, pictures, location information or voice clips, etc.
  • the third reminder message is an internal reminder message of the third electronic device in the social application.
  • the method further includes: after receiving the communication request, obtaining information related to the account of the first contact according to the first account information of the first contact The first user information of the contact; the first user information includes one or more of the user name, nickname, or name of the first contact.
  • the second contact by adding one or more of the username, nickname, or name of the first contact to the first user information, it helps the second contact to determine in time whether the first contact is himself It is hoped that the added contact will help the user to pass a stranger's request to add a friend in a timely manner, which reduces the difficulty of adding a friend and improves the communication efficiency.
  • the friend addition request further includes one or more of the user name, nickname or name of the first contact, and the second user information or
  • the third user information includes one or more of the user name, nickname, or name of the first contact;
  • the first reminder message is sent to at least one second electronic device associated with the account of the second contact Previously, the method further includes: obtaining one or more of the user name, nickname, or name of the first contact in the friend addition request; and one of the user name, nickname, or name of the first contact Or multiple pieces of information are added to the first user information.
  • the communication method in the embodiment of the present application resolves information such as the user name, nickname, or name of the first contact from the friend addition request, and adds this information to the first user information, the second user information, or the third user
  • the information helps the second contact to determine whether the first contact is the contact he wants to add in a timely manner, helps the user to pass a stranger's request to add a friend in time, reduces the difficulty of adding a friend, and improves communication efficiency.
  • the communication request is a friend addition request.
  • the at least one second electronic device associated with the account of the second contact includes: a second electronic device logging in to the account of the second contact , And a second electronic device installed with the phone card corresponding to the second contact; or a second electronic device that logs in to the account of the second contact, and a second electronic device that logs in to the mailbox of the second contact; or The second electronic device of the account of the second contact, the second electronic device of the phone card corresponding to the second electronic device installed with the phone card corresponding to the second contact, and the second electronic device that logs in to the mailbox of the second contact Device; or a second electronic device installed with a calling card corresponding to the second contact, and a second electronic device logging in to the mailbox of the second contact; wherein, the calling card corresponding to the second contact is The phone card of the phone number associated with the account of the contact, and the mailbox of the second contact is the mailbox associated with the account of the second contact.
  • the first reminder message is used to instruct the second device to send a voice reminder message; or the first reminder message is used to instruct the second device to send a text A reminder message; or the first reminder message is used to instruct the second device to send an email reminder.
  • the communication method of the embodiment of the present application provides multiple ways to add friend requests from strangers or reminder calls from strangers, which allows the called user to be notified of friend requests from strangers or calls from strangers at the first time, which helps the user in time Through strangers’ requests to add friends, the difficulty of adding friends is reduced and communication efficiency is improved.
  • the text reminder message may be a short message reminder or a window reminder; wherein, the window reminder may be a window reminder of the social application or a system window reminder.
  • the method further includes: receiving at least one reply message sent by the second electronic device, where the reply message is used to instruct to add the first contact to In the friend list of the second contact; in response to the reply message, add the account of the first contact to the friend list of the second contact.
  • the second electronic device can send reply information to the server in various ways, which helps to improve the efficiency of the two parties becoming friends and reduces the difficulty of establishing a friend relationship between users.
  • the second electronic device is a device installed with a phone card corresponding to the mobile phone number of the second contact, and the first reminder message received by the second electronic device and the message sent by the second electronic device
  • the reply message is a text message, and a first reminder message is sent to at least one second electronic device associated with the account of the second contact.
  • the method includes: determining the mobile phone number of the second contact.
  • the second electronic device is a device that has logged in the email address of the second contact person, the first reminder message received by the second electronic device and the reply sent by the second electronic device
  • the information is an email, and a first reminder message is sent to at least one second electronic device associated with the account of the second contact.
  • the method includes: determining the email address of the second contact.
  • the second electronic device is a voice device that has logged in to the account of the second contact.
  • a communication method is provided.
  • the communication method is applied to an electronic device.
  • the method includes: the electronic device receives a first reminder message sent by a server, where the first reminder message includes a first reminder message associated with a first contact.
  • the first reminder message is used to indicate that the first contact requests to add the second contact as a friend, or to indicate that the second contact is requested to add the first contact as a friend; the electronic device The first reminder message, output reminder.
  • the electronic device outputs a reminder, including: the electronic device uses multiple reminders to output reminders; wherein, the multiple reminders include voice reminders and short messages One or more of reminders, window reminders and email reminders.
  • the electronic device can remind the second contact to add the first contact as a friend in a variety of ways, so that the called user can be notified of the friend request of the stranger or the stranger's call at the first time. It helps users to timely pass strangers' requests to add friends, which reduces the difficulty of adding friends and improves communication efficiency.
  • the method further includes: the electronic device detects the user's input; the electronic device responds to the user's input, sending a reply message to the server, the reply The information is used to indicate that the first contact is added to the buddy list of the second contact.
  • the first reminder message is used to instruct the electronic device to send a voice reminder message; or the first reminder message is used to instruct the electronic device to send a text reminder message ; Or the first reminder message is used to instruct the electronic device to send an email reminder.
  • the electronic device is an electronic device that logs in the account of the second contact; or, the electronic device is a device that logs in to the mailbox of the second contact.
  • Electronic equipment; or, the electronic equipment is an electronic equipment installed with a phone card corresponding to the second contact.
  • the present technical solution provides a communication device included in a server, and the device has the function of realizing the server behavior in the foregoing first aspect and possible implementation manners of the foregoing first aspect.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules or units corresponding to the above-mentioned functions. For example, receiving module or unit, sending module or unit, etc.
  • the communication device provided in the third aspect may be located in a server or an electronic device.
  • the present technical solution provides a communication device included in an electronic device, and the device has the function of realizing the behavior of the electronic device in the foregoing second aspect and possible implementation manners of the foregoing second aspect.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules or units corresponding to the above-mentioned functions. For example, receiving module or unit, output module or unit, etc.
  • the present technical solution provides a server including: one or more processors; a memory; multiple application programs; and one or more computer programs.
  • one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
  • the server is caused to execute the communication method in any possible implementation of the first aspect described above.
  • this technical solution provides an electronic device, including: one or more processors; a memory; multiple application programs; and one or more computer programs.
  • one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
  • the electronic device is caused to execute the communication method in any possible implementation of the second aspect.
  • the present technical solution provides a server including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the server executes the foregoing The communication method in any possible implementation of the first aspect.
  • the technical solution provides an electronic device including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the electronic device executes The communication method in any possible implementation of the above second aspect.
  • a communication system in a ninth aspect, includes the server provided in the third aspect and the electronic device provided in the fourth aspect; or, the communication system includes the server provided in the fifth aspect and the sixth aspect. Or, the communication system includes the server provided in the seventh aspect and the electronic device provided in the eighth aspect.
  • the present technical solution provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the communication in any one of the possible implementations of the first aspect or the second aspect. method.
  • the present technical solution provides a computer program product that, when the computer program product runs on an electronic device, causes the electronic device to execute the communication method in any one of the possible designs of the first aspect or the second aspect.
  • Figure 1 is a set of GUIs provided by an embodiment of the present application.
  • Fig. 2 is a schematic flowchart of a method for adding a friendliness according to an embodiment of the present application.
  • Fig. 3 is another schematic flowchart of a method for adding a friend provided by an embodiment of the present application.
  • Fig. 4 is another schematic flowchart of a method for adding a friend provided by an embodiment of the present application.
  • Fig. 5 is another schematic flowchart of a method for adding a friend provided by an embodiment of the present application.
  • Fig. 6 is another schematic flowchart of a method for adding a friend provided by an embodiment of the present application.
  • Fig. 7 is another schematic flowchart of a method for adding a friend provided by an embodiment of the present application.
  • Fig. 8 is another set of GUI provided by an embodiment of the present application.
  • Figure 9 is another set of GUIs provided by an embodiment of the present application.
  • Figure 10 is another set of GUIs provided by an embodiment of the present application.
  • Fig. 11 is another set of GUI provided by an embodiment of the present application.
  • FIG. 12 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 13 is another schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 14 is a schematic block diagram of a server provided by an embodiment of the present application.
  • FIG. 15 is a schematic block diagram of a communication system provided by an embodiment of the present application.
  • references described in this specification to "one embodiment” or “some embodiments”, etc. mean that one or more embodiments of the present application include a specific feature, structure, or characteristic described in combination with the embodiment. Therefore, the phrases “in one embodiment”, “in some embodiments”, “in some other embodiments”, “in some other embodiments”, etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless it is specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variations all mean “including but not limited to” unless otherwise specifically emphasized.
  • the electronic device may also include other functions such as portable electronic devices, such as mobile phones, tablet computers, wearable electronic devices with wireless communication functions (such as smart watches), and so on. Exemplary embodiments of portable electronic devices include but are not limited to carrying Or portable electronic devices with other operating systems.
  • the aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above electronic device may not be a portable electronic device, but a desktop computer.
  • the electronic device may be a smart home appliance, such as a smart speaker, a smart home device, and so on.
  • Blacklist anti-harassment mechanism If the first user sets a blacklist, then the users set on the blacklist will not be able to communicate with the first user. Users who are not in the blacklist can communicate with the first user. Exemplarily, in the contacts application, the called user may add callers who do not want to answer to the blacklist, and the called user may restrict incoming calls of callers who do not want to answer.
  • Whitelist anti-harassment mechanism If the first user sets a whitelist, then only the users set in the whitelist can communicate with the first user. Users who are not in the whitelist cannot communicate with the first user. Exemplarily, in a WeChat chat, only after two users are added as friends to each other, the two users can communicate normally. If user A adds user B, but user B does not add user A, user A will be rejected by user B when he initiates a communication (for example, sending a message, voice call, or video call).
  • a communication for example, sending a message, voice call, or video call.
  • the method of adding friends and notification is relatively simple, and users need to be added to open the application for confirmation, which makes it more difficult to add friends, especially in communication systems where applications are not frequently used;
  • Fig. 1 is a set of graphical user interfaces (GUI) provided by an embodiment of the present application.
  • GUI graphical user interfaces
  • FIG. 1 is the mobile phone desktop of the user Li Ming.
  • the mobile phone detects that the user has clicked on the icon 101 of a social application (application, APP) on the desktop, it can start the social application and display the GUI as shown in (b) in FIG. 1.
  • a social application application, APP
  • the interface of the social application includes a control 102 for adding friends.
  • the mobile phone detects that the user has clicked the control 102, it can add friends.
  • the user can find the friend to be added in the social application through the account of the friend's social application or the nickname of the friend to be added.
  • FIG. 1 is another interface of the social application.
  • the mobile phone detects that the user clicks on the control 103, a window 104 can be displayed, which can remind the user "please enter your real name”.
  • the user Li Ming can enter "Li Ming”; the window 104 can also remind the user "please enter your description information", and the user Li Ming can enter "I am your classmate”.
  • the mobile phone detects that the user clicks on the control 105, it can send the friend addition request information to the device of the user Ma Yuan.
  • the user Li Ming may send messages and photos to the user Ma Yuan through the chat interface with the user Ma Yuan, conduct a call (for example, a voice call or a video call), and so on.
  • a call for example, a voice call or a video call
  • the mobile phone detects that the user clicks on the control 106, it can initiate a call to the user Ma Yuan.
  • the user Li Ming may send a message to the user Ma Yuan or initiate a call (audio call or video call), etc.
  • the electronic device logged in to the social application of the user Ma Yuan can automatically reject the call request of the user Li Ming, thereby preventing harassment.
  • Fig. 1 is the lock screen interface of the mobile phone of the user Ma Yuan.
  • the lock screen includes a short message, the content of the short message is "Stranger Li Ming tried to talk to you through social apps at 08:09 in the morning.”
  • the content of the short message may also be "The stranger Li Ming tried to call you through the social application at 08:09 in the morning. Li Ming is not your friend. Do you want to add Li Ming as a friend?".
  • the content of the short message may also be "Li Ming requested to add you as a friend, do you approve?".
  • FIG. 1 is the interface of the smart watch of the user Ma Yuan.
  • the interface includes the prompt message "Stranger Li Ming tried to talk to you through social apps at 08:09 in the morning.”
  • the prompt information included in the interface may also be "Stranger Li Ming tried to talk to you through a social application at 08:09 in the morning, Li Ming is not your friend, do you want to add Li Ming as a friend".
  • the prompt information included in the interface may also be "Li Ming requested to add you as a friend, do you approve?".
  • FIG. 1 is the interface of the laptop computer of the user Ma Yuan.
  • the interface includes a reminder email that reads "Stranger Li Ming tried to talk to you through social apps at 08:09 in the morning.”
  • the content of the email may also be "Stranger Li Ming tried to talk to you through the social application at 08:09 in the morning, Li Ming is not your friend yet, do you want to add Li Ming as a friend".
  • the content of the email may also be "Li Ming's request to add you as a friend, is it approved?".
  • the smart speaker may also remind the user by voice, "Stranger Li Ming tried to talk to you through a social application at 08:09 in the morning, Li Ming is not your friend, whether to add Li Ming as a friend".
  • the smart speaker may also remind the user by voice "Li Ming asked to add you as a friend, do you pass?".
  • the user Ma Yuan can log in to his social application to set the mobile phone number for receiving the reminder SMS, and/or the email address for receiving the reminder email.
  • the electronic device of the user Ma Yuan may remind the user Ma Yuan through short messages, prompt messages, emails or voices.
  • the mobile phone of the user Ma Yuan may receive a short message, and the content of the short message is "Stranger Li Ming tried to add you as a friend through a social application at 08:08 in the morning.”
  • the smart watch of the user Ma Yuan can remind the "Stranger Li Ming to try to add you as a friend through a social application at 08:08 in the morning" through the display screen.
  • the laptop of user Ma Yuan may receive a reminder email with the content of "Stranger Li Ming tried to add you as a friend through a social application at 08:08 in the morning.”
  • the smart speaker of the user Ma Yuan can remind the user by voice "Stranger Li Ming tries to add you as a friend through a social application at 08:08 in the morning.”
  • the whitelist anti-harassment mechanism can effectively intercept the harassment in the early stage, so that the user is prevented from being harassed.
  • it also provides a variety of stranger add friend request or a variety of stranger call reminder methods, which can let the called user know the stranger’s friend request or stranger’s call at the first time, helping users to add strangers in time Friendly requests reduce the difficulty of adding friends and improve communication efficiency.
  • FIG. 2 shows a schematic flow chart of a method 200 for adding a friendship according to an embodiment of the present application.
  • the method 200 is applied to a system including a call server 200 and a device that receives reminders.
  • the devices that receive reminders include, but are not limited to, one or more of screen devices, smart voice devices, devices that receive short messages, and devices that receive mail; for example, they can be TVs, watches, bracelets, speakers, mobile phones, Computer etc.
  • the call server 200 may be in the cloud or included in a terminal, for example, it may be included in a terminal such as a TV, a speaker, a mobile phone, and a computer.
  • the call server 200 may include a call management module 210, a contact management module 220, a reminder notification module 230, a content extraction module 240, an automatic speech recognition (ASR) module 250, and a natural language processing (NLP) call.
  • Module 260 and intention processing module 270 are introduced as follows:
  • the call management module 210 is used to receive the incoming call event of the user A, and determine the social application account and identification information of the user A in the social application through the incoming call event of the user A.
  • the identification information can be used to indicate which device user A uses to send an incoming call event to user B.
  • the call management module 210 may directly determine the social application account and identification information of the user A through the incoming call event of the user A.
  • user A logs in to user A's social application account on his mobile phone (identification information is ID1), tablet computer (identification information is ID2), and laptop (identification information is ID3), and sends an incoming call event to user B through the mobile phone ,
  • the incoming call event includes user A’s social application account and user A’s mobile phone identification information ID1.
  • the incoming call event may include information indicating the account of the calling party and information indicating the account of the called party. In an implementation manner, the incoming call event may directly include the account information of the calling party and the account information of the called party.
  • the call management module 210 may determine the identification information through the incoming call event of the user A, and then determine the social application account of the user A through the identification information.
  • user A logs in to the social application account of user A on a mobile phone (identification information is ID1), a tablet computer (identification information is ID2), and a laptop computer (identification information is ID3).
  • the call management module 210 can determine that the incoming call event includes identification information ID1; the call management module 210 can send a query request to the system equipment, the query request includes identification information ID1, the query request Used to query the social application account corresponding to the ID1; the system device can determine the social application account corresponding to the ID1 as the social application account of user A according to the identification information ID1; the system device can send the social application account of user A corresponding to the ID1 to the call management module Application account. Therefore, the call management module 210 can determine that the incoming call event is an incoming call event sent by user A.
  • the incoming call event may include information used to indicate the account of the calling party and information used to indicate the account of the called party.
  • the incoming call event may include information associated with the account of the calling party (or called party). For example, with IP-based voice transmission (voice over internet protocol, VoIP), one user account can log in to multiple devices to log in, and each device can have unique identification information, namely VoIP.
  • the call management module can determine the account of the calling party through the VoIP of the electronic device of the calling party, and can also determine the account of the called party through the VoIP of the electronic device of the called party.
  • the system equipment may include the equipment identification information of all users in the social application.
  • user A is on a mobile phone (identification information is ID1), a tablet computer (identification information is ID2), and a laptop computer (identification information is ID3)
  • ID1 information is on a mobile phone
  • ID2 information is on a tablet computer
  • ID3 information is on a laptop computer
  • ID3 information is on a mobile phone
  • ID4 information is on a smart speaker
  • ID5 a smart watch
  • the system equipment can save the correspondence between ID4 and ID5 and user B's social application account.
  • the call management module 210 determines that user A’s After the social application account, the user A's nickname in the social application, the previously sent verification information and other information can also be determined.
  • the call management module 210 may also save a list of strangers.
  • user A and user C have previously added user B as a friend, and the verification information of user A is "I am Li Ming", and user C The verification information is "I am Zhang Liang”. If user B has not passed the friend addition request of user A and user C, then the call management module 210 may first save the information of user A and user C.
  • the information of the stranger list saved by the call management module 210 may be As shown in Table 1.
  • the call management module 210 can send user A’s information in the stranger list to the contact management module 220 and delete user A’s information from the stranger list, by The contact management module 220 adds the social application account of the user A to the contact list of the user B.
  • the incoming call event of user A includes but is not limited to sending messages, pictures, voices, location information, video call requests, voice call requests, etc. to user B in a social application.
  • the incoming call event of user A may be sent to the call routing service by the electronic device logged in to the social application account of user A, and then forwarded by the call routing service to the electronic device logged in to the social application account of user B.
  • Contact management module 220 used to receive query information sent by the call management module 210, where the query information can carry user A’s social application account. Through user A’s social application account, the contact management module can determine whether user A is in User B’s social application contact list; the contact management module is also used to receive instructions for adding a contact sent by the intent processing module, and the instruction information can carry user A’s name (for example, user A in the social application The contact management module can add user A to user B’s contact list, or user A’s name information carried in the verification information), social application account and other information.
  • the contact list may also be called a friend list.
  • the contacts in the contact list may be friends added by user B, or other users may add user B and user B has passed other users’ Friends add the requested friend.
  • the reminder notification module 230 includes a notification blacklist 231, a screen device notification module 232, a voice message module 233, an email notification module 234, and a short message notification module 235.
  • the notification blacklist 231 stores user information added by user B that he does not want to communicate with.
  • the screen device management module 232 is used to manage user B's screen device.
  • the screened device management module may send a reminder message to all screened devices of the user B.
  • the reminder message is used to instruct the screened device to remind user B to try to communicate with a stranger.
  • the voice message module 233 is used to manage user B's intelligent voice equipment.
  • the intelligent voice device of user B may have a voice broadcast function.
  • the voice message module can send reminder messages to all smart voice devices of user B.
  • the reminder message is used to instruct the smart voice device to perform voice broadcast, thereby reminding user B to try to communicate with a stranger.
  • the email notification module 234 is configured to send a reminder email to the mailbox server when the call management module determines that it is a stranger trying to communicate with user B.
  • the recipient address of the reminder email is the email address set by user B to receive the reminder email.
  • the email server After receiving the email, the email server forwards the reminder email to the email address set by user B to receive the reminder email.
  • the sender address of the reminder email sent by the email notification module may be an address registered with the email service provider in advance by the social application.
  • the short message notification module 235 is used to send a reminder short message to the operator when the call management module determines that it is a stranger trying to communicate with the user B.
  • the mobile phone number that receives the reminder short message is set by user B in advance. After receiving the reminder short message, the operator can send the reminder short message to the mobile phone number set by user B to receive the reminder short message.
  • the sender of the reminder short message may be a social application registered with the operator in advance.
  • the content extraction module 240 includes a mail processing module 241 and a short message processing module 242.
  • the mail processing module 241 is configured to receive the reply mail sent by the user B through the mailbox server, extract the content of the reply mail, and forward the content to the call NLP module for semantic analysis.
  • the short message processing module 242 is configured to receive the reply short message sent by the user B through the operator, extract the content of the reply short message, and forward the content to the call NLP module for semantic analysis.
  • the ASR module 250 is used to receive the voice information of the user B, convert the voice information of the user B into text information, and send the text information to the call NLP module.
  • the main function of the ASR module is to recognize the user's voice as text content.
  • the ASR module can turn a segment of the user's voice into the corresponding text. Due to the development of machine learning capabilities in recent years, the recognition accuracy of the ASR speech recognition module has been greatly improved, which makes it possible for people to interact with the machine. Therefore, ASR is the true starting point for voice interaction. Although the ASR module can learn what the user is saying, it cannot understand the user's meaning, and the understanding of the semantics will be handled by the call NLP module.
  • the call NLP module 260 is configured to receive the text information sent by the ASR module, and parse the text information, where the text information can be parsed into user B's intention and slot information related to user B's intention.
  • Exemplary, user expression Help me book a ticket from Beijing to Shanghai tomorrow morning at 10 o'clock.
  • the call NLP module can analyze the content shown in Table 2.
  • Exemplary, user expression add user A as a friend.
  • the call NLP module can parse the content shown in Table 3.
  • Intent can be understood as a classifier that determines which type of sentence the user expresses, and then the program corresponding to this type will do a special analysis.
  • the "program corresponding to this type” can be a bot.
  • the user says: "Put me a happy song”.
  • the call NLP module judges that the user's intention classification is music, so it calls A music bot (bot) recommends a song to the user to play. When the user feels that it’s not right, he says: “Change another song.” This music bot will continue to serve the user until the user expresses other questions and the intention is no longer music. When, switch to another robot to serve the user.
  • the call NLP module needs to further understand the content of the conversation. For simplicity, the most core part can be selected for understanding, and the others can be ignored. Those most important parts can be called slots. .
  • the intention processing module 270 is used to receive the user's intention analyzed by the call NLP module and the slot information related to the intention.
  • the intention processing module can determine that the user's intention is to "add friend", and the slot information related to the intention is " User A”.
  • the intent processing module can request the social application account information of user A from the call management module, and send the social application account information of user A to the contact management module, so that the contact management module can add to the contact list of user B User A.
  • the call server may be located on the cloud side, or may be located in the electronic device of user B.
  • the data of user B saved in the electronic device of user B may be a mirror file (or a copy) of the data of user B saved on the cloud side.
  • FIG. 3 shows a schematic flowchart of a method 300 for adding a friend according to an embodiment of the present application. As shown in FIG. 3, the method 300 includes:
  • the short message notification module determines the mobile phone number of the user B to receive the reminder short message.
  • user B may set a mobile phone number for receiving reminder short messages through a social application
  • the short message notification module may associate the social application account of user B with the mobile phone number set by user B.
  • the email notification module determines the email address for user B to receive the reminder email.
  • user B may set an email address for receiving the inbox mail through a social application
  • the mail notification module may associate the social application account of user B with the email address set by user B.
  • S301 and S302 are optional steps. If user B sets a mobile phone number and email address to receive reminders in the social application, when a stranger calls, the SMS notification module can send a message to the mobile phone number set by user B To remind the short message, the email notification module can send a reminder email to the email address set by the user B, thereby reminding the user to add user A as a friend by means of SMS or email reply.
  • S303 The call management module receives the communication request sent by user A.
  • the call management module may receive the request to add a friend sent by user A before receiving the communication request sent by user A.
  • User A can first add user B as a friend. After receiving the request of user A to add a friend, the call management module can determine the social application account of user A and the verification information sent by user A. For example, the call management module can determine that the social application account of user A is user A's mobile phone number 187 ⁇ , the nickname of user A corresponding to the social application account is "Xiao Ming", and user A adds user B as a friend. The message is "I am Li Ming". The call management module can send the information to the contact management module after determining the user A's social application account, nickname, and verification information. In addition to saving the current contact list of the user B, the contact management module can also save the list of strangers who have added the user B as a friend but the user B has not passed the verification of the friend.
  • the call management module can determine the social application account of the user A and its communication mode.
  • the call management module may determine that the social application account of user A is user A's mobile phone number 187 ⁇ , and the communication mode is a video call request, a voice call request, or a message sent by user A to user B.
  • the call management module may receive the request to add a friend sent by user A before receiving the call request sent by user A. And user B also passed user A's request to add friends, but then user B deleted user A from user B's contact list. After user B deletes user A from the contact list, user A's information can be saved in user B's stranger list.
  • user A after user A sends a request to add a friend to user B, the user can be reminded through the device of user B.
  • user Ma Yuan’s mobile phone reminds "Stranger Li Ming to try to add you as a friend through social apps at 08:08 in the morning”; or, user Ma Yuan Smartwatch can remind “Stranger Li Ming to try to add you as a friend through social apps at 08:08 in the morning” through the display; or user Ma Yuan’s laptop can remind “Stranger Li Ming to try to pass at 08:08 in the morning”
  • Social apps add you as a friend”; or, user Ma Yuan’s smart speaker can remind you by voice, “Stranger Li Ming tries to add you as a friend through social apps at 08:08 in the morning”.
  • the user Ma Yuan’s device can remind the user again that a stranger is calling; for example, the user Ma Yuan’s mobile phone sends a short message Remind “Stranger Li Ming tries to call you through social apps at 08:09 in the morning”; or user Ma Yuan’s smart watch can remind “Stranger Li Ming tries to call you through social apps at 08:09 in the morning” "; Or, user Ma Yuan’s laptop can remind “Stranger Li Ming to try to talk to you through social apps at 08:09 in the morning” via email; or, user Ma Yuan’s smart speaker can remind “Stranger Li Ming" by voice At 08:09 in the morning, try to talk to you via social apps.”
  • user A when user A sends a request to add a friend to user B, he can make a reminder in the social application on the device logged into user B’s social application account (you can note user A when reminding in the social application User information, such as user name, nickname or name, etc.). Instead, after user A sends a message or call request to user B, user B's device is then used to remind user B.
  • user A after user A wants user B to send a friend addition request, he can remind the user through one or more devices of user B (for example, SMS reminder, email reminder, window reminder or voice reminder). After user A sends a message or call request to user B, user B's device may no longer be used to remind user B.
  • devices of user B for example, SMS reminder, email reminder, window reminder or voice reminder.
  • the call management module sends a first verification request to the contact management module, where the first verification request is used to request the contact management module to verify whether the social application account of the user A is in the contact list of the user B.
  • S305 The contact management module verifies whether user A is in the contact list.
  • Table 4 shows a contact list
  • the contact management module may traverse the contact list. If the social application account of the user A is not in the contact list, the contact management module may determine that the user A is a stranger.
  • the contact management module may continue to determine whether the social application account of user A is in the list of strangers to which user B has been added as a friend but user B has not yet passed the verification of the friend.
  • the contact management module sends a first verification response to the call management module, where the first verification response is used to indicate that the user A is not in the contact list, or is used to indicate that the user A is a stranger.
  • the call management module may first reject user A's call request.
  • the call management module hangs up the video call request or the voice call request of the user A, or the call management module refuses to receive the message sent by the user A.
  • the call management module may receive the call request of user A, and display the call request to user B through the device of user B.
  • the call management module sends a second verification request to the notification blacklist, where the second verification request is used to request the notification blacklist to verify whether user A is in the blacklist of user B.
  • S308 Notify the blacklist to verify whether the user A is in the blacklist.
  • the notification blacklist determines that user A is not in the blacklist of user B.
  • S309 Notify the blacklist to send a second verification response to the call management module, where the second verification response is used to indicate that user A is not in user B's blacklist.
  • S307-S309 are optional steps, that is, before sending the reminder notification to the user, the verification of whether the user A is in the blacklist may be performed, or the verification may not be performed.
  • the call management module can prevent frequent notification harassment by verifying whether user A is in the blacklist. Exemplarily, for a user who has been added to the blacklist by user B before, if he makes a call to user B again, the call management module can prevent him from frequently harassing user B.
  • the call management module sends a first reminder message to the notification module of the screen device, where the first reminder message is used to instruct the screen device to perform a reminder notification.
  • the reminder notification in S310 may be a reminder notification sent by a social application.
  • the screen message notification module may query all screen devices of user B.
  • the screen message notification module may determine that all screen devices of user B include mobile phones, smart watches, and laptop computers.
  • the on-screen message notification module sends user A's incoming call reminder notification to the queried on-screen device of user B.
  • the screen device of the user B displays the call reminder notification of the user A on the display screen.
  • the smart watch of user Ma Yuan reminds the user through the display screen that "stranger Li Ming tries to talk to you through social applications at 08:09 in the morning".
  • S310-S313 are processes of reminding user B through the screen device of user B.
  • S310-S313 can be replaced with S321-S324, or with S341-S343, or with S351-S353.
  • the method may further include any one or more of the four processes of S310-S313, S321-S324, S341-S343, and S351-S353.
  • the following S321-S324 are the process of reminding user B through the smart voice device of user B.
  • the call management module sends a second reminder message to the voice message notification module, where the second reminder message is used to instruct the device supporting the voice function to perform a voice reminder notification.
  • the voice message notification module may query all intelligent voice devices of user B.
  • the device supporting the voice function may specifically be an intelligent voice device.
  • Smart voice devices can refer to devices that support voice broadcast and voice recognition, such as smart speakers, smart TVs, smart alarms, smart desk lamps, and other products that are used in smart home devices. It also includes smart phones, pads and wearable products with voice assistants. The application embodiment does not make any limitation on this.
  • the voice message notification module pushes the voice reminder to the smart voice device of user B.
  • S324 The intelligent voice device of user B performs voice broadcast.
  • the smart voice device of user B is not awakened for a period of time. During this period, the smart voice device of user B may receive multiple calls from strangers. After the smart voice device of user B is awakened , User B’s intelligent voice device can broadcast the call information of multiple strangers to User B one by one.
  • user B’s smart voice device may be awakened to the user B announces "Stranger User A tries to talk to you 3 times from 10:00 to 10:30 in the morning".
  • the voice message notification module can send the text information corresponding to the reminder notification to the smart voice device of user B.
  • the smart voice device of user B can use text to speech (TTS)
  • TTS text to speech
  • the module converts the corresponding text information into voice information and then broadcasts it to the user.
  • the voice message notification module may directly send the voice information to the intelligent voice device of user B for voice broadcast.
  • S331-S334 are the process of user B actively inquiring incoming calls from strangers through user B's intelligent voice device.
  • S331-S334 are optional steps.
  • User B's voice device can broadcast a stranger's call reminder to user B after receiving a voice query request from the user to query a strange call; or the smart voice device can actively send a call User B broadcasts a call reminder of a stranger.
  • S331 The intelligent voice device of user B receives the voice query information sent by user B.
  • the intelligent voice device of user B receives the voice "please help me check the call from strangers" from user B.
  • the ASR module of the smart voice device can convert the voice information into text information and send it to the call NLP module.
  • the call NLP module can determine that user B’s intention is to "check incoming call” and the slot corresponding to the intention is "stranger", and call NLP
  • the module can send user B's intention to the intention processing module, and the intention processing module determines that the user's intention is "inquiry for incoming calls”.
  • S332 The intelligent voice device of user B requests the call management module for the incoming call information of the stranger.
  • the call management module sends broadcast information to the intelligent voice device of user B.
  • the call management module can send the text information corresponding to the voice information that needs to be voiced to the smart voice device of user B, "Stranger User A tries to talk to you through social applications at 08:09 in the morning", user B’s smart voice
  • the device converts the text information into corresponding voice information through the TTS module and broadcasts it to the user.
  • S334 The intelligent voice device of user B performs voice broadcast.
  • S341-S343 is a process of reminding user B through short messages.
  • the call management module sends a third reminder message to the short message notification module, where the third reminder message is used to remind user B to send a reminder short message to the mobile phone number set by user B.
  • the short message notification module sends the reminder short message to the operator.
  • the mobile phone number that receives the reminder short message is the mobile phone number set by user B in S301.
  • S343 The operator sends the reminder short message to the mobile phone number.
  • the user Ma Yuan receives a reminder short message "Stranger Li Ming tries to talk to you through a social application at 08:09 in the morning" via a mobile phone.
  • some devices such as mobile phones or tablet computers, are not only screened devices, but also devices equipped with a phone card corresponding to the mobile phone number of user B receiving the reminder short message, then these devices will have reminders sent by social applications , There will also be SMS reminders.
  • the call management module sends a fourth reminder message to the email notification module, where the fourth reminder message is used to send a reminder email to the email address set by user B.
  • the email notification module sends a reminder email to the mailbox server, where the recipient of the reminder email is the email address set by the user in S302.
  • S353 The email service provider sends the reminder email to the email address.
  • the user Ma Yuan receives a reminder email through a laptop, and the content of the reminder email is "Stranger Li Ming tries to talk to you through a social application at 08:09 in the morning.”
  • some devices such as mobile phones or laptops, are not only screened devices, but also devices that are logged in to the email address of user B to receive reminder emails. Then these devices will have both reminder notifications sent by social applications and Email reminder notification.
  • Method 300 mainly involves reminding strangers of incoming calls in a variety of ways, including voice reminders and stranger incoming call inquiries through smart voice devices, incoming call reminders on screen devices, email reminders, and SMS reminders. At the same time, it also supports multiple methods.
  • the device receives call reminders from strangers, which helps users know the calls from strangers the first time, thereby improving communication efficiency.
  • Methods 400 to 700 mainly introduce how users can quickly add friends in a variety of ways, including screen devices that jump to social applications to add friends after detecting that the user clicks on the incoming call reminder, smart voice device voice addition, and reply to short messages to add And reply to the email to add.
  • Steps S401-S410 in FIG. 4 may be performed after S324 in FIG. 3.
  • user B receives the voice information through the smart voice device
  • user A can be added as a friend by voice addition.
  • FIG. 4 is a schematic flowchart of a method 400 for adding a friend according to an embodiment of the present application. As shown in FIG. 4, the method 400 includes:
  • the ASR module receives user B's voice information.
  • the voice message received by the ASR module is "add user A as a friend”.
  • the ASR module converts the voice information of user B into text information.
  • the ASR module sends the text information to the call NLP module.
  • S404 The call NLP module performs semantic analysis on the text information.
  • the call NLP can determine that the intention of user B in the text message is "add friend” and the slot related to the intention is "user A”.
  • S405 The call NLP module sends the parsed intention of user B to the intention processing module.
  • the intention processing module determines the intention of the user.
  • the intention processing module sends a first query request to the call management module, where the first query request is used to request user A's related information.
  • the first query request is used to request user A's social application account, user A's nickname in the social application, user A's name carried in the verification information, and other information.
  • the call management module sends a first query response to the intention processing module, where the first query response carries related information of the user A.
  • the first query response carries information such as user A's social application account, user A's nickname in the social application, and user A's name carried in the verification information.
  • S409 The intention processing module requests the contact management module to add user A.
  • the intention processing module may send the relevant information of the user A obtained from the call management module in S408 to the contact management module.
  • the contact management module adds the social application account of user A to the contact list.
  • the contact management module can pass the request for adding a friend.
  • the contact management module adds the social application account of user A to the contact list, and the remarks of user A set by user B can be displayed in the contact list.
  • user B sets user A’s remarks as "colleague Li Ming"; if user B does not set user A’s remarks, then the contact list can display the name that user A filled in when adding a friend request; if user A When adding a friend without filling in the name, then the nickname of user A in the social application can be displayed in the contact list.
  • user B adds user A as a friend through the voice of the smart voice device, which avoids the cumbersome action of the user who needs to manually open the social application to add friends, changes the method of adding friends, and improves the efficiency of both parties becoming friends. , Which reduces the difficulty for users to establish friendships and helps improve communication efficiency.
  • Steps S501-S512 in FIG. 5 may be performed after S343 in FIG. 3.
  • user B's device the device equipped with the phone card corresponding to the mobile phone number set by user B in S301
  • receives the reminder short message in S343 when user B sees the reminder short message, he can pass the user B's device Reply to the short message to add user A as a friend.
  • FIG. 5 shows a schematic flowchart of a method 500 for adding a friend according to an embodiment of the present application. As shown in FIG. 5, the method 500 includes:
  • S501 The device installed with the phone card corresponding to the mobile phone number set by user B in S301 can send a short message reply by user B to the operator.
  • the content of the short message replied by user B may be "add user A as a friend”.
  • S502 The operator sends the reply short message to the short message processing module.
  • the short message processing module determines user B who replies to the short message.
  • the short message processing module extracts the content of the reply short message.
  • the short message processing module sends the content of the short message to the call NLP module.
  • the call NLP module performs semantic analysis on the content in the short message, and determines the user's intention and slot information related to the intention.
  • the intention processing module determines the intention of the user.
  • the intention processing module sends a second query request to the call management module, where the second query request is used to request user A's related information.
  • the call management module sends a second query response to the intention processing module, where the second query response carries related information of the user A.
  • S511 The intention processing module requests to add user A to the contact management module.
  • the contact management module adds the social application account of user A to the contact list.
  • user B adds user A as a friend by replying to a short message, which avoids the cumbersome action of users who need to manually open social applications to add friends, changes the way of adding friends, and improves the efficiency of both parties becoming friends. It reduces the difficulty for users to establish friendships and helps improve communication efficiency.
  • Steps S601-S611 in FIG. 6 may be performed after S353 in FIG. 3.
  • User B’s device the device logged in to the mailbox set by user B in S302 receives the reminder email in S353.
  • user B sees the reminder email, he can reply to the email through the device of user B to add user A as Buddy.
  • FIG. 6 shows a schematic flowchart of a method 600 for adding friends according to an embodiment of the present application. As shown in FIG. 6, the method 600 includes:
  • S601 The device that has logged in to the mailbox set by user B in S302 can send a reply mail of user B to the mailbox server.
  • the content of the reply mail may be "add user A as a friend”.
  • the mailbox server sends the reply mail to the mail processing module.
  • the mail processing module determines user B who replied to the mail.
  • the mail processing module extracts the content of the reply mail.
  • the mail processing module sends the content of the mail to the call NLP module.
  • the call NLP module performs semantic analysis on the content in the email, and determines the user's intention and slot information related to the intention.
  • the call NLP module sends the parsed intention of user B to the intention processing module.
  • the intention processing module determines the intention of the user.
  • the intention processing module sends a third query request to the call management module, where the third query request is used to request user A's related information.
  • the call management module sends a third query response to the intention processing module, where the third query response carries related information of user A.
  • the intention processing module requests the contact management module to add user A.
  • the contact management module adds the social application account of user A to the contact list.
  • user B adds user A as a friend by replying to the email, which avoids the cumbersome action of users who need to manually open social applications to add friends, changes the way of adding friends, improves the efficiency of both parties becoming friends, and reduces This improves the difficulty for users to establish friendships and helps improve communication efficiency.
  • Steps S701-S709 in FIG. 7 may be performed after S313 in FIG. 3.
  • the screen device of user B displays a reminder window in S313. After seeing the information in the reminder window, user B can click the reminder window to enter the add friend interface, thereby adding user A as a friend.
  • FIG. 7 shows a schematic flowchart of a method 700 for adding a friend according to an embodiment of the present application. As shown in FIG. 7, the method 700 includes:
  • S701 The screen device of user B detects that the user clicks on the reminder window.
  • the screened device of the called B sends the user's intention to the intention processing module, and the user's intention is to add the user A as a friend.
  • the intention processing module determines the intention of the user.
  • the intention processing module sends a fourth query request to the call management module, where the fourth query request is used to request user A's related information.
  • the call management module sends a fourth query response to the intention processing module, where the fourth query response carries related information of the user A.
  • S708 The intention processing module requests the contact management module to add user A.
  • the contact management module adds the social application account of user A to the contact list.
  • user B can jump to the interface for adding user A as a friend by clicking on the reminder window, avoiding the cumbersome action of the user needing to manually open social applications to add friends, changing the way of adding friends, and improving This improves the efficiency of both parties becoming friends, reduces the difficulty for users to establish friendships, and helps improve communication efficiency.
  • Fig. 8 shows a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • the user Ma Yuan can reply to the short message on the short message sending interface, where the content of the short message is: add Li Ming as a friend.
  • Fig. 9 shows a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • the GUI is the display interface of the smart watch.
  • the user Ma Yuan can click on the reminder window 901.
  • the interface of the social application includes a list of strangers’ friend addition requests.
  • the user Ma Yuan can request the friend addition of the user Li Ming, When the smart watch detects that the user clicks on the control 902, it can add Li Ming to the friend list of the user Ma Yuan.
  • Fig. 10 shows a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • Fig. 11 shows a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • the user Ma Yuan can reply to the voice "Add Li Ming as a friend” through the smart speaker, and the smart speaker receives the user's voice information.
  • the embodiments of the present application provide a communication method, which can be implemented in a server or an electronic device (a server is taken as an example for description). As shown in FIG. 12, the method 1200 may include the following steps:
  • the server receives a communication request sent by a first electronic device through a social application, where the communication request includes first information and second information, and the first information is used to indicate the first information that is logged in the social application on the first electronic device.
  • the account information of a contact, and the second information is used to indicate the account information of the second contact requesting communication.
  • the first information is account information of the first contact, or the first information is information associated with the account of the first contact (for example, VoIP).
  • the second information is account information of the second contact, or the second information is information associated with the account of the second contact (for example, VoIP).
  • the communication request may be a request to add a friend, a call request, etc.
  • the mobile phone when the mobile phone detects that the user clicks on the control 105, the mobile phone can send the communication request to the server.
  • the communication request includes the information used to indicate the account of the user Li Ming and Indicates the information of the user Ma Yuan’s account.
  • the mobile phone when the mobile phone detects that the user clicks on the control 106, the mobile phone can send a training stop request to the server.
  • the treasury in the communication request is used to indicate the information and usage of the user Li Ming’s account. To indicate the information of the user Ma Yuan’s account.
  • the server responds to the communication request, and if the account of the first contact is not in the friend list of the second contact in the social application, send a notification to at least one second contact associated with the account of the second contact.
  • the device sends a first reminder message, where the first reminder message includes first user information associated with the first contact, and the first reminder message is used to indicate that the first contact requests to add the second contact as a friend, or Used to indicate that the second contact is requested to add the first contact as a friend.
  • the at least one second electronic device may be a mobile phone, a smart watch, a notebook computer, and a smart speaker of the user Ma Yuan.
  • the second electronic device associated with the account of the second contact may be an electronic device that is logged in to the account of the social application of the second contact, or a device that is logged in to the email of the second contact.
  • the first reminder message can be used to indicate that the first contact requests to add the second contact as a friend, or to indicate that the second contact The first contact is added as a friend.
  • the first reminder message may be used to remind the communication request; or, the first reminder message may also be used to indicate that the first contact requests to add the second contact The person is a friend; or, the first reminder message may also be used to indicate that the second contact person is requested to add the first contact person as a friend.
  • the short message can remind “Stranger Li Ming is trying to talk to you at 08:09 in the morning”; the short message can also be used to remind "Stranger Li Ming in 08:09 :09Try to call you through social apps, Li Ming is not your friend yet, do you want to add Li Ming as a friend?".
  • the method further includes:
  • the server determines that the account of the first contact is not in the blacklist of the second contact in the social application.
  • the server may first determine whether the account of the first contact is in the blacklist of the second contact, This can effectively prevent harassment.
  • the communication request is an audio call request or a video call request; the method further includes:
  • the server In response to the communication request, the server does not establish a call connection with the electronic device logging in to the account of the second contact.
  • the method 1200 before the server receives the communication request sent by the first electronic device through the social application, the method 1200 further includes:
  • the server receives a friend addition request sent by the first electronic device through the social application, and the friend addition request information is used to request to add the second contact as a friend, or to request the second contact to contact the first contact People are added as friends.
  • the friend adding request includes third information and fourth information, the third information is used to indicate the account of the first contact, and the fourth information is used to indicate the account of the second contact.
  • the third information is account information of the first contact, or the third information is information associated with the account of the first contact (for example, VoIP).
  • the fourth information is account information of the second contact, or the fourth information is information associated with the account of the second contact (for example, VoIP).
  • user Li Ming before user Li Ming initiates a call request, user Li Ming first adds user Ma Yuan as a friend through his mobile phone.
  • user Li Ming When user Li Ming’s mobile phone detects that the user has clicked on the control 105 , The mobile phone can send the friend adding request to the server.
  • the server sends a second reminder message to the at least one second electronic device associated with the account of the second contact, where the second reminder message includes the second contact of the first contact.
  • the second reminder message is used to indicate that the first contact requests to add the second contact as a friend, or to indicate that the second contact is requested to add the first contact as a friend.
  • the server may send the second reminder message to multiple electronic devices of the user Ma Yuan.
  • the user Ma Yuan is reminded through a short message that "Stranger Li Ming tries to add you as a friend through social apps at 08:08 in the morning”; another example is to remind the user Ma Yuan through an email "Stranger Li Ming tries to use social apps at 08:08 in the morning.
  • the method before the server receives the communication request sent by the first electronic device through the social application, the method further includes:
  • a third reminder message is sent to a third electronic device logging in to the account of the second contact through the social application, and the third reminder message includes third user information of the first contact, and The third reminder message is used to indicate that the first contact requests to add the second contact as a friend, or to indicate that the second contact is requested to add the first contact as a friend.
  • the user Li Ming before the user Li Ming initiates a call request, the user Li Ming first adds the user Ma Yuan as a friend through the mobile phone.
  • the mobile phone can send the friend adding request to the server.
  • the server may not remind all the electronic devices associated with the user Ma Yuan’s account, but on the electronic device logged in to the user Ma Yuan’s account, in the social application remind.
  • the mobile phone of the user Li Ming detects that the user clicks on the control 106
  • the mobile phone can initiate a call request to the server.
  • the server can remind all electronic devices associated with the account of the user Ma Yuan, as shown in (e) to (h) in FIG. 1.
  • the method further includes:
  • the server After receiving the communication request, the server obtains the first user information associated with the first contact's account according to the first account information of the first contact; the first user information includes the user name of the first contact One or more of, nickname or name.
  • the server may obtain the first user information, and the first user information includes the user name of user Li Ming (eg , The user name can be user Li Ming’s mobile phone number, etc.), user Li Ming’s nickname (for example, user Li Ming’s nickname is Huaweing), user Li Ming’s name (for example, user Li Ming entered in window 104 Name) and so on.
  • the user name can be user Li Ming’s mobile phone number, etc.
  • user Li Ming’s nickname for example, user Li Ming’s nickname is Huaweing
  • user Li Ming’s name for example, user Li Ming entered in window 104 Name
  • the friend addition request further includes one or more of the user name, nickname, or name of the first contact, and the second user information or the third user information includes the user name of the first contact , One or more of the nickname or name; before the sending the first reminder message to at least one second electronic device associated with the account of the second contact, the method further includes:
  • the server obtains one or more of the user name, nickname, or name of the first contact in the friend adding request;
  • the server adds one or more of the user name, nickname, or name of the first contact to the first user information.
  • the server may obtain the user name of user Li Ming (for example, the user name may be the mobile phone number of user Li Ming Etc.), the nickname of the user Li Ming (for example, the nickname of the user Li Ming is Xiao Ming), the name of the user Li Ming (for example, the name entered by the user Li Ming in the window 104), and so on.
  • the user server receives the call request of the user Li Ming, the information can be added to the first user information.
  • the reminder short message received by the user Ma Yuan includes the name information of the user Li Ming.
  • the at least one second electronic device associated with the account of the second contact includes:
  • the second electronic device that logs in the account of the second contact person and the second electronic device that is installed with the phone card corresponding to the second contact person; or
  • the second electronic device that logs in to the account of the second contact the second electronic device that has the phone card corresponding to the second electronic device installed with the phone card corresponding to the second contact, and the second electronic device that logs in to the mailbox of the second contact Electronic equipment; or
  • a second electronic device installed with a phone card corresponding to the second contact, and a second electronic device logging in to the mailbox of the second contact;
  • the phone card corresponding to the second contact is a phone card having a phone number associated with the account of the second contact
  • the mailbox of the second contact is a mailbox associated with the account of the second contact.
  • the at least one second electronic device may be a mobile phone, a smart watch, a notebook computer, and a smart speaker.
  • the first reminder message is used to instruct the second device to issue a voice reminder message
  • the first reminder message is used to instruct the second device to send a text reminder message
  • the first reminder message is used to instruct the second device to send an email reminder.
  • the smart watch receives a reminder message sent by the server, it can remind the user Ma Yuan through the window.
  • the smart watch receives a reminder message sent by the server, it can remind the user Ma Yuan by voice.
  • the server may first send the reminder short message to the operator, and the operator sends the reminder to the second electronic device.
  • the server may first send the reminder email to the email service provider, and the email service provider sends it to the second electronic device.
  • the server may send reminder information to a push server, and the push server pushes the reminder information to the second electronic device.
  • Server and push server can be integrated in the same server.
  • the method further includes:
  • the account of the first contact is added to the buddy list of the second contact.
  • the server can analyze the content of the short message first.
  • the server can send the user Li Ming is added to the friend list of user Ma Yuan.
  • an electronic device in order to implement the above-mentioned functions, includes hardware and/or software modules corresponding to each function.
  • this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
  • the electronic device can be divided into functional modules according to the foregoing method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 14 shows a schematic diagram of a possible composition of the server 1400 involved in the foregoing embodiment.
  • the server 1400 may include: a receiving unit 1401 and Sending unit 1402.
  • the receiving unit 1401 may perform the above steps 1201 and S1203, etc., by the user support server, and/or other processes used in the technology described herein.
  • the sending unit 1402 may perform the above steps 1202 and S1204, etc., by the user support server, and/or other processes used in the technology described herein.
  • the electronic device provided in this embodiment is used to execute the aforementioned communication method, and therefore can achieve the same effect as the aforementioned implementation method.
  • the electronic device may include a processing module, a storage module, and a communication module.
  • the processing module can be used to control and manage the actions of the electronic device, for example, can be used to support the electronic device to execute the steps performed by the receiving unit 1401 and the sending unit 1402.
  • the storage module can be used to support the electronic device to execute the storage program code and data.
  • the communication module can be used to support communication between electronic devices and other devices.
  • the processing module may be a processor or a controller. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on.
  • the storage module may be a memory.
  • the communication module may specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other electronic devices.
  • FIG. 15 shows a schematic road condition diagram of a communication system provided by an embodiment of the present application.
  • the communication system may include a server 1501 and one or more electronic devices 1502 (two electronic devices 1502 are exemplarily drawn in the figure);
  • the server 1501 may be the server in the foregoing method embodiment, and the electronic device 1502 may be at least one second electronic device in the foregoing method embodiment.
  • This embodiment also provides a computer storage medium in which computer instructions are stored.
  • the computer instructions run on an electronic device, the electronic device executes the above-mentioned related method steps to implement the communication method in the above-mentioned embodiment.
  • This embodiment also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps to implement the communication method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute computer-executable instructions stored in the memory, so that the chip executes the communication methods in the foregoing method embodiments.
  • the electronic equipment, computer storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above. The beneficial effects of the method will not be repeated here.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another device, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请提供了一种通信方法、服务器和通信***。该通信方法包括:服务器接收第一电子设备通过社交应用发送的通讯请求,该通讯请求包括用于指示第一联系人和第二联系人的账号的信息,第一联系人在第一电子设备上登录了其账号;该服务器响应于该通讯请求,若第一联系人的账号不在该社交应用中第二联系人的好友列表中,则向与第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息,该第一提醒消息包括与第一联系人相关联的第一用户信息,该第一提醒消息用于表示第一联系人请求添加第二联系人为好友,或者用于表示请求该第二联系人将该第一联系人添加为好友。本申请实施例有助于降低用户之间添加好友的难度,提升沟通效率。

Description

一种通信方法、服务器和通信***
本申请要求在2019年5月30日提交中国国家知识产权局、申请号为201910465323.0的中国专利申请的优先权,发明名称为“一种通信方法、服务器和通信***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备领域,并且更具体地,涉及一种添加好友的方法和电子设备。
背景技术
现有的某些社交应用(例如,微信)中提供白名单机制,只有双方添加好友后才能进行通讯,这样可以有效在前期拦截骚扰。
但是,在这些社交应用中添加好友的方式比较单一,需要被添加用户打开软件进行确认。在一些社交应用使用频率不高的情况下,这可能导致用户成为好友的难度比较大,双方的沟通效率比较低。
发明内容
本申请提供一种通信方法、服务器和通信***,有助于降低用户之间添加好友的难度,提升沟通效率。
第一方面,提供了一种通信方法,该方法包括:服务器接收第一电子设备通过社交应用发送的通讯请求,该通讯请求包括第一信息和第二信息,该第一信息用于指示在该第一电子设备上的该社交应用中登录的第一联系人的账号的信息,该第二信息用于指示请求通讯的第二联系人的账号的信息;响应于该通讯请求,若该第一联系人的账号不在该社交应用中该第二联系人的好友列表中,则向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息,该第一提醒消息包括与该第一联系人相关联的第一用户信息,该第一提醒消息用于表示该第一联系人请求添加该第二联系人为好友、或者用于表示请求该第二联系人将该第一联系人添加为好友。
本申请实施例的通信方法,在服务器收到第一联系人通过第一电子设备发送的通讯请求后,如果第一联系人的账号不在第二联系人的好友列表中,则可以通过与第二联系人相关联的第二电子设备向第二联系人提醒将该第一联系人添加为好友,有助于用户及时通过陌生人的添加好友请求,降低了添加好友的难度,提升了沟通效率。
在一些可能的实现方式中,该通讯请求可以为添加好友的请求,也可以为音频通话或者视频通话请求,还可以为通过该社交应用发送的消息(例如,图片、位置信息、文字等等)。
在一些可能的实现方式中,如果该通讯请求为音频通话请求或者视频通话请求,那么该第一提醒消息还可以用于提醒该通讯请求。
结合第一方面,在第一方面的某些可能的实现方式中,该向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,该方法还包括:确定该第一联系人 的账号不在该社交应用中该第二联系人的黑名单列表。
本申请实施例的通信方法,服务器在向第二电子设备发送第一提醒消息之前,可以确定第一联系人的账号不在该社交应用中该第二联系人的黑名单列表中,有助于防止第一联系人对第二联系人进行频繁的骚扰。
结合第一方面,在第一方面的某些可能的实现方式中,该通讯请求为音频通话请求或视频通话请求;该方法还包括:响应于该通讯请求,不与登录该第二联系人的账号的电子设备建立通话连接。可以理解的,服务器在接收到第一电子设备通过社交应用发送的音频或视频通话请求后,先确认第一联系人是否为第二联系人的好友,若第一联系人不在第二联系人的好友列表中,则服务器不建立第一电子设备请求的通话连接,而是向第二联系人的相关设备发送提醒,使得第二联系人将第一联系人添加为好友。在第二联系人将第一联系人添加为好友之后,第一联系人才能通过社交应用与第二联系人进行音视频通话或者发送及时消息。
本申请实施例的通信方法,通过白名单防骚扰机制,可以有效在双方成为好友之前拦截骚扰,使用户免被骚扰。
结合第一方面,在第一方面的某些可能的实现方式中,该接收第一电子设备通过社交应用发送的通讯请求之前,该方法还包括:接收该第一电子设备通过该社交应用发送的好友添加请求,该好友添加请求信息用于请求添加该第二联系人为好友,或者用于请求该第二联系人将该第一联系人添加为好友;响应于该好友添加请求,向与该第二联系人的账号相关联的至少一个第二电子设备发送第二提醒消息,该第二提醒消息包括该第一联系人的第二用户信息,该第二提醒消息用于表示该第一联系人请求添加该第二联系人为好友、或者用于表示请求该第二联系人将该第一联系人添加为好友。
本申请实施例的通信方法,服务器在接收到第一电子设备发送的好友添加请求时,可以向与第二联系人相关联的至少一个电子设备发送第二提醒消息;并且服务器在接收到第一电子设备发送的通讯请求时,也可以向至少一个电子设备发送第一提醒消息;通过多次提醒用户,有助于用户及时通过陌生人的添加好友请求,降低了添加好友的难度,提升了沟通效率。
结合第一方面,在第一方面的某些可能的实现方式中,该接收第一电子设备通过社交应用发送的通讯请求之前,该方法还包括:接收该第一电子设备通过该社交应用发送的好友添加请求,该好友添加请求信息用于请求添加该第二联系人为好友,或者用于请求该第二联系人将该第一联系人添加为好友;响应于该好友添加请求,通过该社交应用向登录该第二联系人的账号的第三电子设备发送第三提醒消息,该第三提醒消息包括该第一联系人的第三用户信息,该第三提醒消息用于表示该第一联系人请求添加该第二联系人为好友、或者用于表示请求该第二联系人将该第一联系人添加为好友。
在一些可能的实现方式中,该通讯请求可以为音频通话请求或者视频通话请求,或者,也可以是其他通讯请求,例如,第一联系人在第一电子设备上通过社交应用向第二联系人发送文字、图片、位置信息或者语音片段等等。
在一些可能的实现方式中,该第三提醒消息为该第三电子设备在该社交应用中内部提醒消息。
结合第一方面,在第一方面的某些可能的实现方式中,该方法还包括:接收该通讯请 求之后,根据该第一联系人的第一账号信息获取与该第一联系人的账号相关联的该第一用户信息;该第一用户信息包括该第一联系人的用户名、昵称或姓名中的一个或者多个信息。
本申请实施例中,通过在第一用户信息中添加第一联系人的用户名、昵称或者姓名中的与一个或者多个信息,有助于第二联系人及时确定第一联系人是否为自己希望添加的联系人,有助于用户及时通过陌生人的添加好友请求,降低了添加好友的难度,提升了沟通效率。
结合第一方面,在第一方面的某些可能的实现方式中,该好友添加请求还包括该第一联系人的用户名、昵称或姓名中的一个或者多个信息,该第二用户信息或该第三用户信息包括该第一联系人的用户名、昵称或姓名中的一个或者多个信息;该向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,该方法还包括:获取该好友添加请求中的该第一联系人的用户名、昵称或姓名中的一个或者多个信息;将该第一联系人的用户名、昵称或姓名中的一个或者多个信息添加到该第一用户信息中。
本申请实施例中的通信方法,通过从好友添加请求中解析出第一联系人的用户名、昵称或者姓名等信息,并将这些信息添加到第一用户信息、第二用户信息或者第三用户信息中,有助于第二联系人及时确定第一联系人是否为自己希望添加的联系人,有助于用户及时通过陌生人的添加好友请求,降低了添加好友的难度,提升了沟通效率。
结合第一方面,在第一方面的某些可能的实现方式中,该通讯请求为好友添加请求。
结合第一方面,在第一方面的某些可能的实现方式中,与该第二联系人的账号相关联的至少一个第二电子设备包括:登录该第二联系人的账号的第二电子设备、和安装有该第二联系人对应的电话卡的第二电子设备;或者登录该第二联系人的账号的第二电子设备、和登录该第二联系人的邮箱的第二电子设备;或者登录该第二联系人的账号的第二电子设备、安装有该第二联系人对应的电话卡的第二电子设备对应的电话卡的第二电子设备、和登录该第二联系人的邮箱的第二电子设备;或者安装有该第二联系人对应的电话卡的第二电子设备、和登录该第二联系人的邮箱的第二电子设备;其中,该第二联系人对应的电话卡为具有与该第二联系人的账号相关联的电话号码的电话卡,该第二联系人的邮箱为与该第二联系人的账号相关联的邮箱。
结合第一方面,在第一方面的某些可能的实现方式中,该第一提醒消息用于指示该第二设备发出语音提醒消息;或者该第一提醒消息用于指示该第二设备发出文本提醒消息;或者该第一提醒消息用于指示该第二设备发出邮件提醒。
本申请实施例的通信方法,提供了多种陌生人添加好友请求或者多种陌生人来电提醒方式,可以让被叫用户第一时间获知陌生人的好友请求或者陌生人来电,有助于用户及时通过陌生人的添加好友请求,降低了添加好友的难度,提升了沟通效率。
在一些可能的实现方式中,该文本提醒消息可以为短消息提醒,也可以为窗口提醒;其中,该窗口提醒可以为该社交应用的窗口提醒,也可以为***窗口提醒。
结合第一方面,在第一方面的某些可能的实现方式中,该方法还包括:接收至少一个该第二电子设备发送的回复信息,该回复信息用于指示将该第一联系人添加到该第二联系人的好友列表中;响应该回复信息,将该第一联系人的账号添加到该第二联系人的好友列表中。
本申请实施例的通信方法,第二电子设备可以通过多种方式向服务器发送回复信息, 有助于提升双方成为好友的效率,降低了用户之间建立好友关系的难度。
在一些可能的实现方式中,该第二电子设备为安装有所述第二联系人的手机号码对应的电话卡的设备,所述第二电子设备接收的第一提醒消息和第二电子设备发送的回复信息为文本消息,向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息,所述方法包括:确定所述第二联系人的手机号码。
在一些可能的实现方式中,该第二电子设备为登录了所述第二联系人的邮箱地址的设备,所述第二电子设备接收的第一提醒消息和所述第二电子设备发送的回复信息为邮件,向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息,所述方法包括:确定所述第二联系人的邮箱地址。
在一些可能的实现方式中,该第二电子设备为登录了第二联系人的账号的语音设备。
第二方面,提供了一种通信方法,该通信方法应用于电子设备,该方法包括:电子设备接收服务器发送的第一提醒消息,该第一提醒消息包括与第一联系人相关联的第一用户信息,该第一提醒消息用于表示该第一联系人请求添加第二联系人为好友、或者用于表示请求该第二联系人将该第一联系人添加为好友;该电子设备根据所述第一提醒消息,输出提醒。
结合第二方面,在第二方面的某些可能的实现方式中,该电子设备输出提醒,包括:该电子设备采用多种提醒方式输出提醒;其中,所述多种提醒包括语音提醒、短消息提醒、窗口提醒和邮件提醒中的一种或者多种。
本申请实施例的通信方法,电子设备可以通过多种方式提醒第二联系人将该第一联系人添加为好友,可以让被叫用户第一时间获知陌生人的好友请求或者陌生人来电,有助于用户及时通过陌生人的添加好友请求,降低了添加好友的难度,提升了沟通效率。
结合第二方面,在第二方面的某些可能的实现方式中,该方法还包括:该电子设备检测到用户的输入;该电子设备响应于用户的输入,向该服务器发送回复信息,该回复信息用于指示将该第一联系人添加到该第二联系人的好友列表中。
结合第二方面,在第二方面的某些可能的实现方式中,该第一提醒消息用于指示该电子设备发出语音提醒消息;或者该第一提醒消息用于指示该电子设备发出文本提醒消息;或者该第一提醒消息用于指示该电子设备发出邮件提醒。
结合第二方面,在第二方面的某些可能的实现方式中,该电子设备为登录了该第二联系人的账号的电子设备;或者,该电子设备为登录该第二联系人的邮箱的电子设备;或者,该电子设备为安装有该第二联系人对应的电话卡的电子设备。
第三方面,本技术方案提供了一种通信装置,该装置包含在服务器中,该装置具有实现上述第一方面及上述第一方面的可能实现方式中服务器行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,接收模块或单元、发送模块或单元等。
应理解,第三方面所提供的通信装置可以位于服务器中,也可以位于电子设备中。
第四方面,本技术方案提供了一种通信装置,该装置包含在电子设备中,该装置具有实现上述第二方面及上述第二方面的可能实现方式中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,接收模块或单元、输出模块或单元等。
第五方面,本技术方案提供了一种服务器,包括:一个或多个处理器;存储器;多个应用程序;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被执行时,使得服务器执行上述第一方面任一项可能的实现中的通信方法。
第六方面,本技术方案提供了一种电子设备,包括:一个或多个处理器;存储器;多个应用程序;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被执行时,使得电子设备执行上述第二方面任一项可能的实现中的通信方法。
第七方面,本技术方案提供了一种服务器,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得服务器执行上述第一方面任一项可能的实现中的通信方法。
第八方面,本技术方案提供了一种电子设备,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述第二方面任一项可能的实现中的通信方法。
第九方面,提供了一种通信***,该通信***包括上述第三方面提供的服务器和上述第四方面提供的电子设备;或者,该通信***包括上述第五方面提供的服务器和上述第六方面提供的电子设备;或者,该通信***包括上述第七方面提供的服务器和上述第八方面提供的电子设备。
第十方面,本技术方案提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第一方面或第二方面任一项可能的实现中的通信方法。
第十一方面,本技术方案提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第一方面或第二方面任一项可能的设计中的通信方法。
附图说明
图1是本申请实施例提供的一组GUI。
图2是本申请实施例的添加友好的方法的示意性流程图。
图3是本申请实施例提供的添加好友的方法的另一示意性流程图。
图4是本申请实施例提供的添加好友的方法的另一示意性流程图。
图5是本申请实施例提供的添加好友的方法的另一示意性流程图。
图6是本申请实施例提供的添加好友的方法的另一示意性流程图。
图7是本申请实施例提供的添加好友的方法的另一示意性流程图。
图8是本申请实施例提供的另一组GUI。
图9是本申请实施例提供的另一组GUI。
图10是本申请实施例提供的另一组GUI。
图11是本申请实施例提供的另一组GUI。
图12是本申请实施例提供的通信方法的示意性流程图。
图13是本申请实施例提供的通信方法的另一示意性流程图。
图14是本申请实施例提供的服务器的示意性框图。
图15是本申请实施例提供的通信***的示意性框图。
具体实施方式
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
以下介绍了本申请实施例提供设计的电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其它功能诸如便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2020092202-appb-000001
或者其它操作***的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。在一些实施例中,电子设备可以是智能家电,诸如智能音箱、智能家居设备等等。
在介绍本申请实施例的技术方案之前,先介绍本申请实施例中一些相关概念。
黑名单防骚扰机制:如果第一用户设置了黑名单,那么被设置在黑名单中的用户将无法与第一用户进行通讯。不在黑名单中的用户可以与第一用户进行通讯。示例性的,在联系人应用中,被叫用户可以将不想接听的主叫用户添加到黑名单中,被叫用户可以限制不想接听的主叫用户的呼入。
白名单防骚扰机制:如果第一用户设置了白名单,那么只有被设置在白名单中的用户可以与第一用户进行通讯。不在白名单中的用户不可以与第一用户进行通讯。示例性的,在微信聊天中,只有当两个用户之间互相添加为好友后,两个用户才可以正常进行通讯。而如果用户A添加了用户B,而用户B没有添加用户A,那么用户A在发起通讯(例如,发送消息、语音通话或者视频通话)时,都会被用户B拒绝接收。
现有技术中,对于黑名单机制,被叫用户只能抵御已知的骚扰,但是不能抵御新的骚扰。
对于白名单机制,添加好友和通知方式比较单一,需要被添加用户打开应用进行确认,导致添加成为好友的难度比较大,特别是在一些应用使用频率不高的通讯***中非常明显;同时,现有技术的白名单机制,也不支持在多设备上通知,仅支持在用户登录的应用上查看和确认。
图1是本申请实施例提供的一组图形用户界面(graphical user interface,GUI)。
参见图1中的(a)所示的GUI,该GUI为用户李明的手机桌面。当手机检测到用户点击桌面上的社交应用(application,APP)的图标101的操作后,可以启动社交应用,显示如图1中的(b)所示的GUI。
参见图1中的(b)所示的GUI,该GUI为社交应用的界面。该社交应用的界面上包括添加好友的控件102。当手机检测到用户点击控件102的操作后,可以进行好友的添加。
示例性的,用户可以在该社交应用中,通过需要添加的好友社交应用的账号或者好友的昵称等等,来查找需要添加的好友。
参见图1中的(c)所示的GUI,该GUI为社交应用的另一界面。用户李明通过手机号码搜索到想要添加的好友马媛后,当手机检测到用户点击控件103的操作后,可以显示窗口104,该窗口104中可以提醒用户“请输入您的真实姓名”,用户李明可以输入“李明”;该窗口104中还可以提醒用户“请输入您的描述信息”,用户李明可以输入“我是你的同学”。当手机检测到用户点击控件105的操作后,可以将该添加好友请求信息发送给用户马媛的设备。
参见图1中的(d)所示的GUI,该GUI为社交应用的另一界面。用户李明可以可通过与用户马媛的聊天界面,向用户马媛发送消息、照片,进行通话(例如,语音通话或者视频通话)等等。当手机检测到用户点击控件106的操作后,可以向用户马媛发起通话。
应理解,本申请实施例中,用户马媛在没有接受用户李明添加好友请求之前,用户李明可以向用户马媛发送消息或者发起通话(音频通话或视频通话)等等。
本申请实施例中,可以假设用户马媛没有登录社交应用查看到用户李明请求添加有好友的请求,即用户马媛没有通过用户李明的添加好友的请求。那么在用户李明发起通话时,登录了用户马媛的社交应用的电子设备可以自动拒绝用户李明的通话请求,从而可以防止骚扰。
下面结合图1中的(e)至(h)所示的GUI介绍登录了用户马媛的社交应用账号的电子设备在接收到用户李明发来的通话请求时,用户马媛的电子设备通过短消息、提示信息、邮件、语音等等方式提醒用户。
参见图1中的(e)所示的GUI,该GUI为用户马媛的手机的锁屏界面。该锁屏界面上包括一条短消息,该短消息的内容为“陌生人李明早上08:09尝试通过社交应用与您通话”。
一个实施例中,该短消息的内容也可以为“陌生人李明早上08:09尝试通过社交应用与您通话,李明还不是您的好友,是否添加李明为好友?”。
一个实施例中,该短消息的内容还可以为“李明请求添加你为好友,是否通过?”。
参见图1中的(f)所示的GUI,该GUI为用户马媛的智能手表的界面。该界面包括提示信息“陌生人李明早上08:09尝试通过社交应用与您通话”。
一个实施例中,该界面包括的提示信息也可以为“陌生人李明早上08:09尝试通过社 交应用与您通话,李明还不是您的好友,是否添加李明为好友”。
一个实施例中,该界面包括的提示信息还可以为“李明请求添加你为好友,是否通过?”。
参见图1中的(g)所示的GUI,该GUI为用户马媛的笔记本电脑的界面。该界面包括一封提醒邮件,邮件内容为“陌生人李明早上08:09分尝试通过社交应用与您通话”。
一个实施例中,该邮件内容也可以为“陌生人李明早上08:09尝试通过社交应用与您通话,李明还不是您的好友,是否添加李明为好友”。
一个实施例中,该邮件内容还可以为“李明请求添加你为好友,是否通过?”。
参见图1中的(h)所示的GUI,该GUI为用户马媛的智能音箱。该智能音箱通过语音提醒用户“陌生人李明早上08:09分尝试通过社交应用与您通话”。
一个实施例中,该智能音箱还可以通过语音提醒用户“陌生人李明早上08:09尝试通过社交应用与您通话,李明还不是您的好友,是否添加李明为好友”。
一个实施例中,该智能音箱还可以通过语音提醒用户“李明请求添加你为好友,是否通过?”。
应理解,手机通过短消息提醒用户或者笔记本电脑通过邮件提醒用户之前,用户马媛可以通过登录其社交应用来设置接收提醒短信的手机号码,和/或,接收提醒邮件的邮箱地址。
还应理解,以上仅仅示出了通过短消息、提示信息、邮件和语音提醒用户,还有可能是其他方式。
另一个实施例中,当用户李明向用户马媛发送添加好友请求后,用户马媛的电子设备可以通过短消息、提示信息、邮件或者语音等等方式提醒用户马媛。
示例性的,用户马媛的手机可以接收到一条短消息,该短消息的内容为“陌生人李明早上08:08尝试通过社交应用添加您为好友”。
示例性的,用户马媛的智能手表可以通过显示屏提醒“陌生人李明早上08:08尝试通过社交应用添加您为好友”。
示例性的,用户马媛的笔记本电脑可以接收到一封提醒邮件,该邮件的内容为“陌生人李明早上08:08尝试通过社交应用添加您为好友”。
示例性的,用户马媛的智能音箱可以通过语音提醒用户“陌生人李明早上08:08尝试通过社交应用添加您为好友”。
本申请实施例中,通过白名单防骚扰机制,可以有效的在前期拦截骚扰,使用户免被骚扰。同时,还提供了多种陌生人添加好友请求或者多种陌生人来电提醒方式,可以让被叫用户第一时间获知陌生人的好友请求或者陌生人来电,有助于用户及时通过陌生人的添加友好请求,降低了添加好友的难度,提升了沟通效率。
图2示出了本申请实施例的添加友好的方法200的示意性流程图。参见图2所示,该方法200应用于包括通话服务端200和接收提醒的设备的***中。其中,接收提醒的设备包括但不限于有屏设备、智能语音设备、接收短消息的设备以及接收邮件的设备中的一种或者多种;例如可以为电视、手表、手环、音箱、手机、电脑等。其中,通话服务端200可以在云端,也可以包含在终端中,例如可以包含在电视、音箱、手机、电脑等终端中。通话服务端200可以包括通话管理模块210、联系人管理模块220、提醒通知模块230、 内容提取模块240、语音识别(automatic speech recognition,ASR)模块250、通话自然语言处理(natural language processing,NLP)模块260以及意图处理模块270。其中,各个模块的功能介绍如下:
通话管理模块210:用于接收用户A的来电事件,并通过用户A的来电事件确定社交应用中用户A的社交应用账号和标识信息。该标识信息可以用于指示用户A采用哪台设备给用户B发送了来电事件。
一种可能的实现方式中,通话管理模块210可以通过用户A的来电事件直接确定用户A的社交应用账号以及标识信息。示例性的,用户A在手机(标识信息为ID1)、平板电脑(标识信息为ID2)和笔记本电脑(标识信息为ID3)登录了用户A的社交应用账号,并通过手机向用户B发送来电事件,该来电事件中包括用户A的社交应用账号以及用户A手机的标识信息ID1。
应理解,该来电事件可以包括用于指示主叫方的账号的信息和用于指示被叫方的账号的信息。一种实现方式中,该来电事件可以直接包括主叫方的账号信息和被叫方的账号信息。
一个可能的实现方式中,通话管理模块210可以通过用户A的来电事件确定标识信息,再通过标识信息来确定用户A的社交应用账号。示例性的,用户A在手机(标识信息为ID1)、平板电脑(标识信息为ID2)和笔记本电脑(标识信息为ID3)登录了用户A的社交应用账号。当用户A通过手机向用户B去电时,通话管理模块210可以确定来电事件中包括标识信息ID1;通话管理模块210可以向***设备发送查询请求,该查询请求中包括标识信息ID1,该查询请求用于查询该ID1对应的社交应用账号;***设备可以根据标识信息ID1确定该ID1对应的社交应用账号为用户A的社交应用账号;***设备可以向通话管理模块发送该ID1对应的用户A的社交应用账号。从而通话管理模块210可以确定该来电事件为用户A发来的来电事件。
应理解,该来电事件可以包括用于指示主叫方的账号的信息和用于指示被叫方的账号的信息。一种实现方式中,该来电事件可以包括与主叫方(或被叫方)的账号相关联的信息。例如,基于IP的语音传输(voice over internet protocol,VoIP),用户的一个账号可以登录在多个设备上进行登录,每个设备可以有唯一的标识信息,即VoIP。通话管理模块可以通过主叫方的电子设备的VoIP确定主叫方的账号,也可以通过被叫方的电子设备的VoIP确定被叫方的账号。
应理解,***设备可以包括该社交应用中所有用户的设备标识信息,示例性的,用户A在手机(标识信息为ID1)、平板电脑(标识信息为ID2)和笔记本电脑(标识信息为ID3)登录了用户A的社交应用账号,则***设备可以将ID1、ID2和ID3与用户A的社交应用账号的对应关系保存下来;用户B通过智能音箱(标识信息为ID4)和智能手表(标识信息为ID5)登录了用户B的社交应用账号,那么***设备可以将ID4和ID5与用户B的社交应用账号的对应关系保存下来。
一个实施例中,如果之前用户A通过社交应用添加了用户B为好友,且添加过程中携带了验证信息(例如,包括用户A描述的姓名信息),那么通话管理模块210在确定了用户A的社交应用账号后,还可以确定用户A在社交应用中的昵称、之前发送的验证信息等等信息。
一个实施例中,通话管理模块210还可以保存陌生人列表,示例性的,用户A和用户C之前都添加了用户B为好友,且用户A的验证信息为“我是李明”,用户C的验证信息为“我是张亮”。如果用户B还没有通过用户A和用户C的好友添加请求,那么通话管理模块210可以先将用户A和用户C的信息保存下来,示例性的,通话管理模块210保存的陌生人列表的信息可以如表1所示。
表1陌生人列表
Figure PCTCN2020092202-appb-000002
应理解,当用户B通过用户A的好友添加请求后,通话管理模块210可以将陌生人列表中用户A的信息发送给联系人管理模块220并将用户A的信息从陌生人列表中删除,由联系人管理模块220将该用户A的社交应用账号添加到用户B的联系人列表中。
应理解,本申请实施例中,用户A的来电事件包括但不限于在社交应用中向用户B发送消息、图片、语音、位置信息、视频通话请求和语音通话请求等等。
一个实施例中,用户A的来电事件可以由登录了用户A的社交应用账号的电子设备发送给通话路由服务,再由通话路由服务转发给登录了用户B的社交应用账号的电子设备。
联系人管理模块220:用于接收通话管理模块210发送的查询信息,其中,查询信息中可以携带用户A的社交应用账号,通过用户A的社交应用账号,联系人管理模块可以确定用户A是否在用户B的社交应用联系人列表中;该联系人管理模块还用于接收意图处理模块发送的添加联系人的指示信息,该指示信息中可以携带用户A的称呼(例如,用户A在社交应用中的昵称,或者,用户A在验证信息中携带的姓名信息)、社交应用账号等信息,该联系人管理模块可以将用户A添加到用户B的联系人列表中。
本申请实施例中,该联系人列表也可以称为好友列表,联系人列表中的联系人可以是用户B添加的好友,或者也可以是其他用户添加了用户B且用户B通过了其他用户的好友添加请求的好友。
提醒通知模块230包括通知黑名单231、有屏设备通知模块232、语音消息模块233、邮件通知模块234和短息通知模块235。
通知黑名单231中保存用户B添加的不想与其进行通讯的用户信息。
有屏设备设备管理模块232,用于管理用户B的有屏设备。当通话管理模块210确定是陌生人尝试与用户B进行通讯时,有屏设备管理模块可以向用户B的所有有屏设备发送提醒消息。该提醒消息用于指示有屏设备提醒用户B陌生人尝试与其进行通讯。
语音消息模块233,用于管理用户B的智能语音设备。用户B的智能语音设备可以具有语音播报功能。当通话管理模块确定是陌生人尝试与用户B进行通讯时,语音消息模块可以向用户B的所有智能语音设备发送提醒消息。该提醒消息用于指示智能语音设备进行语音播报,从而提醒用户B陌生人尝试与其进行通讯。
邮件通知模块234,用于在通话管理模块确定是陌生人尝试与用户B进行通讯时,向邮箱服务器发送提醒邮件。其中,该提醒邮件的收件地址为用户B设置的接收提醒邮件的 邮箱地址的。邮箱服务器在接收到该邮件后,将该提醒邮件转发给用户B设置的接收提醒邮件的邮箱地址。应理解,该邮件通知模块发送的提醒邮件的发件地址可以是社交应用提前向邮件服务商注册的地址。
短信通知模块235,用于在通话管理模块确定是陌生人尝试与用户B进行通讯时,向运营商发送提醒短消息。其中,接收该提醒短消息的手机号码为用户B提前设置的。运营商在接收到该提醒短消息后,可以将该提醒短消息发送给用户B设置的接收提醒短消息的手机号码。应理解,该提醒短消息的发送方可以是社交应用提前向运营商注册的。
内容提取模块240,包括邮件处理模块241和短信处理模块242。
其中,邮件处理模块241,用于接收用户B通过邮箱服务器发送的回复邮件,提取回复邮件的内容并将该内容转发给通话NLP模块进行语义解析。
短信处理模块242,用于接收用户B通过运营商发送的回复短消息,提取回复短信的内容并将该内容转发给通话NLP模块进行语义解析。
ASR模块250,用于接收用户B的语音信息,将用户B的语音信息转化为文字信息,并将该文字信息发送给通话NLP模块。
ASR模块的主要作用是将用户的语音识别为文字内容。ASR模块可以将用户的一段语音变成对应的文字。由于近年来机器学习能力的发展,大幅提升了ASR语音识别模块的识别准确率,这才让人与机器的语音交互成为可能,因此ASR是语音交互真正意义上的起点。虽然ASR模块可以获知用户在说什么,但其无法理解用户的意思,对语义的理解会交由通话NLP模块来处理。
通话NLP模块260,用于接收ASR模块发送的文字信息,并解析该文字信息,其中,可以将该文字信息解析为用户B的意图以及与用户B的意图相关的槽位信息。
示例性的,用户表达:帮我订一张明天上午10点从北京去上海的机票。
从这句话中,通话NLP模块可以解析得出表2所示的内容。
表2
Figure PCTCN2020092202-appb-000003
示例性的,用户表达:添加用户A为好友。
从这句话中,通话NLP模块可以解析得出表3所示的内容。
表3
意图(intent) “添加好友”
槽位(slot) 好友=“用户A”
上述示例中提到了2个概念,分别是意图和槽位,下面对这两个概念进行详细解释。
意图
意图可以理解成是一个分类器,确定用户表达的这句话是哪个类型,进而由这个类型对应的程序做专门的解析。在一种实现方式中,“这个类型对应的程序”可以是机器人(Bot),比如用户说:“给我放一首快乐的歌吧”,通话NLP模块判断用户的意图分类是音乐,因此召唤出音乐机器人(Bot)给用户推荐一首歌播放,用户听着觉得不对的时候, 说:“换一首”,还是这个音乐机器人继续为用户服务,直到用户表达别的问题,意图已经不是音乐的时候,再切换成别的机器人为用户服务。
槽位
当用户意图被确定之后,通话NLP模块就需要进一步理解对话中的内容,为简便起见,可以选择最核心的部分进行理解,其他可以忽略,那些最重要的部分可以称之为槽位(Slot)。
在“订机票”这个例子中定义了三个核心槽位,分别是“起飞时间”,“起始地”和“目的地”。如果要全面考虑用户订机票需要输入的内容,我们肯定能想到更多,比如旅客人数、航空公司、起飞机场、降落机场等,对于语音交互的设计者来说,设计的起点就是定义槽位。
意图处理模块270,用于接收通话NLP模块分析出的用户意图以及和该意图相关的槽位信息,意图处理模块可以确定用户的意图是“添加好友”,与该意图相关的槽位信息为“用户A”。意图处理模块可以向通话管理模块去请求用户A的社交应用账号信息,并将该用户A的社交应用账号信息发送给联系人管理模块,从而使得联系人管理模块在用户B的联系人列表中添加用户A。
本申请实施例中,该通话服务端可以位于云侧,也可以位于用户B的电子设备中。用户B的电子设备中保存的用户B的数据可以为云侧保存的用户B的数据的镜像文件(或者,复本)。
图3示出了本申请实施例提供的添加好友的方法300的示意性流程图,如图3所示,该方法300包括:
S301,短信通知模块确定用户B接收提醒短消息的手机号码。
示例性的,用户B可以通过社交应用设置接收提醒短消息的手机号码,短信通知模块可以将用户B的社交应用账号与用户B设置的手机号码关联。
S302,邮件通知模块确定用户B接收提醒邮件的邮箱地址。
示例性的,用户B可以通过社交应用设置接收提箱邮件的邮箱地址,邮件通知模块可以将用户B的社交应用账号与用户B设置的邮箱地址关联。
应理解,S301和S302之间并没有实际的先后顺序。
还应理解,S301和S302为可选的步骤,如果用户B在社交应用中设置了接收提醒的手机号码和邮箱地址,则在陌生人来电时,短信通知模块可以向用户B设置的手机号码发送提醒短消息,邮件通知模块可以向用户B设置的邮箱地址发送提醒邮件,从而提醒用户通过短信或者邮件回复的方式添加用户A为好友。
S303,通话管理模块接收用户A发送的通讯请求。
一个实施例中,通话管理模块可以在接收用户A发送的通讯请求之前,接收到用户A发送的添加好友的请求。
用户A可以先添加用户B为好友,通话管理模块在接收到用户A添加好友的请求后,可以确定用户A的社交应用账号,以及用户A发送的验证信息。例如,通话管理模块可以确定用户A的社交应用账号为用户A的手机号187××××,该社交应用账号对应的用户A的昵称是“小明”,用户A添加用户B为好友时的验证信息为“我是李明”。通话管理模块可以在确定用户A的社交应用账号、昵称以及验证信息后,将这些信息发送给联系人 管理模块。联系人管理模块除了保存用户B当前的联系人列表外,还可以保存这些添加了用户B为好友但是用户B还没有通过其好友验证的陌生人列表。
应理解,虽然用户A向用户B发送了添加好友的请求,而且通话管理模块也接收到了用户A发送的添加好友的请求,但是如果用户B没有及时查看并通过用户A的添加好友的请求,那么用户A相对于用户B而言还是属于陌生人。
在接收到用户A的呼叫请求后,通话管理模块可以确定用户A的社交应用账号以及其通讯的方式。
示例性的,通话管理模块可以确定用户A的社交应用账号为用户A的手机号码187××××,通讯的方式为视频通话请求、语音通话请求或者用户A向用户B发送的消息。
一个实施例中,通话管理模块可以在接收用户A发送的呼叫请求之前,接收到用户A发送的添加好友的请求。并且用户B也通过了用户A的添加好友的请求,但是之后用户B又将用户A从用户B的联系人列表中删除了。在用户B将用户A从联系人列表中删除后,用户A的信息可以保存在用户B的陌生人列表中。
一个实施例中,用户A在向用户B发送添加好友的请求后,就可以通过用户B的设备提醒用户。例如,用户李明的手机在检测到点击控件105的操作后,用户马媛的手机通过短消息提醒“陌生人李明早上08:08尝试通过社交应用添加您为好友”;或者,用户马媛的智能手表可以通过显示屏提醒“陌生人李明早上08:08尝试通过社交应用添加您为好友”;或者,用户马媛的笔记本电脑可以通过邮件提醒“陌生人李明早上08:08尝试通过社交应用添加您为好友”;或者,用户马媛的智能音箱可以通过语音提醒“陌生人李明早上08:08尝试通过社交应用添加您为好友”。如果在用户马媛添加用户李明为好友之前,用户李明的手机检测到点击控件106的操作,则用户马媛的设备可以再次提醒用户有陌生人来电;例如用户马媛的手机通过短消息提醒“陌生人李明早上08:09尝试通过社交应用与您进行通话”;或者,用户马媛的智能手表可以通过显示屏提醒“陌生人李明早上08:09尝试通过社交应用与您进行通话”;或者,用户马媛的笔记本电脑可以通过邮件提醒“陌生人李明早上08:09尝试通过社交应用与您进行通话”;或者,用户马媛的智能音箱可以通过语音提醒“陌生人李明早上08:09尝试通过社交应用与您进行通话”。
或者,也可以是用户A在向用户B发送添加好友请求时,可以在登录了用户B的社交应用账号的设备上,在该社交应用中进行提醒(在社交应用中进行提醒时可以备注用户A的用户信息,例如,用户名、昵称或者姓名等等信息)。而是在用户A向用户B发送消息或者通话请求后,再通过用户B的设备对用户B进行提醒。
一个实施例中,用户A在想用户B发送添加好友请求后,就可以通过用户B的一个或者多个设备提醒用户(例如,短信提醒、邮件提醒、窗口提醒或者语音提醒)。而在用户A向用户B发送消息或者通话请求后,可以不再通过用户B的设备对用户B进行提醒。
S304,通话管理模块向联系人管理模块发送第一校验请求,该第一校验请求用于请求联系人管理模块验证用户A的社交应用账号是否在用户B的联系人列表中。
S305,联系人管理模块校验用户A是否在联系人列表中。
示例性的,表4示出了一种联系人列表。
表4
社交应用账号 昵称 备注名
182×××× lily 妻子
186×××× Frank 父亲
135×××× Flora 母亲
183×××× Tracy 弟弟
示例性的,联系人管理模块可以在遍历联系人列表,如果用户A的社交应用账号不在其联系人列表中,则联系人管理模块可以确定用户A为陌生人。
一个实施例中,联系人管理模块在确定用户A为陌生人后,可以继续确定用户A的社交应用账号是否在添加了用户B为好友但是用户B还没有通过其好友验证的陌生人列表中。
S306,联系人管理模块向通话管理模块发送第一校验响应,该第一校验响应用于指示用户A不在联系人列表中,或者,用于指示用户A为陌生人。
应理解,通话管理模块在确定用户A不在联系人列表中后,可以先拒绝用户A的呼叫请求。示例性的,通话管理模块挂断用户A的视频来电请求或者语音来电请求,或者,通话管理模块拒绝接收用户A发送的消息。
一个实施例中,如果第一校验响应指示用户A在联系人列表中,则通话管理模块可以接收用户A的呼叫请求,并通过用户B的设备向用户B展示呼叫请求。
S307,通话管理模块向通知黑名单发送第二校验请求,该第二校验请求用于请求通知黑名单校验用户A是否在用户B的黑名单中。
S308,通知黑名单校验用户A是否在黑名单列表中。
示例性的,通知黑名单确定用户A不在用户B的黑名单列表中。
S309,通知黑名单向通话管理模块发送第二校验响应,该第二校验响应用于指示用户A不在用户B的黑名单列表中。
应理解,S307-S309为可选的步骤,即在向用户发送提醒通知之前,可以进行用户A是否在黑名单中的验证,也可以不进行此验证。通话管理模块在验证用户A是否在黑名单列表中,可以防止频繁的通知骚扰。示例性的,对于用户B之前就加入黑名单的用户,如果其再一次对用户B进行呼叫,通话管理模块可以防止其频繁对用户B进行骚扰。
S310,通话管理模块向有屏设备通知模块发送第一提醒消息,该第一提醒消息用于指示有屏设备进行提醒通知。
应理解,S310中的提醒通知可以是社交应用发出的提醒通知。
S311,有屏消息通知模块在接收到该第一提醒消息后,可以查询用户B的所有有屏设备。
示例性的,有屏消息通知模块可以确定用户B的所有有屏设备包括手机、智能手表和笔记本电脑。
S312,有屏消息通知模块向查询到的用户B的有屏设备发送用户A的来电提醒通知。
S313,用户B的有屏设备在显示屏上显示用户A的来电提醒通知。
示例性的,参见图1中的(f),用户马媛的智能手表通过显示屏提醒用户“陌生人李明早上08:09尝试通过社交应用与您通话”。
应理解,S310-S313为通过用户B的有屏设备提醒用户B的过程。
可选的,S310-S313可以被替换为S321-S324,或者被替换为S341-S343,或者被替换为S351-S353。或者,S306或者S309之后,该方法还可以包括S310-S313、S321-S324、S341-S343和S351-S353这四个过程中的任意一个或多个。
以下的S321-S324为通过用户B的智能语音设备提醒用户B的过程。
S321,通话管理模块向语音消息通知模块发送第二提醒消息,该第二提醒消息用于指示支持语音功能的设备进行语音提醒通知。
S322,语音消息通知模块在接收到该第二提醒消息后,可以查询用户B的所有智能语音设备。
本申请实施例中,支持语音功能的设备可以具体为智能语音设备。智能语音设备可以指支持语音播报和语音识别的设备,如智能音箱、智能电视、智能闹钟、智能台灯等应用在智能家居设备的产品,也包括带语音助手的智能手机、Pad和穿戴产品,本申请实施例对此并不作任何限定。
S323,语音消息通知模块将语音提醒推送到用户B的智能语音设备。
S324,用户B的智能语音设备进行语音播报。
一个实施例中,用户B的智能语音设备一段时间内处于未唤醒状态,在这段时间内,用户B的智能语音设备可能接收到了多个陌生人来电,在用户B的智能语音设备被唤醒后,用户B的智能语音设备可以将该多个陌生人来电信息逐一向用户B进行语音播报。
一个实施例中,如果某一个陌生人在智能语音设备处于未唤醒状态的这段时间内多次(例如3次)尝试与用户B进行通话,用户B的智能语音设备被唤醒后,可以向用户B播报“陌生人用户A在早上10:00至10:30内3次尝试与您进行通话”。
应理解,语音消息通知模块可以将提醒通知对应的文字信息发送给用户B的智能语音设备,用户B的智能语音设备在接收到对应的文字信息后,可以通过语音播报(text to speech,TTS)模块将对应的文字信息转化为语音信息,从而播报给用户。
或者,语音消息通知模块可以直接将语音信息发送给用户B的智能语音设备进行语音播报。
应理解,以下S331-S334为用户B通过用户B的智能语音设备主动查询陌生人来电的过程。
还应理解,S331-S334为可选的步骤,用户B的语音设备可以在接收到用户查询陌生来电的语音查询请求后,向用户B播报陌生人的来电提醒;也可以是智能语音设备主动向用户B播报陌生人的来电提醒。
S331,用户B的智能语音设备接收用户B发送的语音查询信息。
示例性的,用户B的智能语音设备接收到用户B的发出的语音“请帮我查一下陌生人来电”。智能语音设备的ASR模块可以将该语音信息转化为文字信息发送给通话NLP模块,通话NLP模块可以确定用户B的意图是“查询来电”以及该意图对应的槽位为“陌生人”,通话NLP模块可以将用户B的意图发送给意图处理模块,意图处理模块在确定用户的意图为“查询来电”。
S332,用户B的智能语音设备向通话管理模块请求陌生人的来电信息。
S333,通话管理模块向用户B的智能语音设备发送播报信息。
示例性的,通话管理模块可以向用户B的智能语音设备发送需要语音播报的语音信息 对应的文字信息“陌生人用户A在早上08:09尝试通过社交应用与您通话”,用户B的智能语音设备通过TTS模块将该文字信息转化为对应的语音信息播报给用户。
S334,用户B的智能语音设备进行语音播报。
应理解,以下的S341-S343为通过短消息提醒用户B的过程。
S341,通话管理模块向短信通知模块发送第三提醒消息,该第三提醒消息用于提醒向用户B设置的手机号码发送提醒短消息。
S342,短信通知模块向运营商发送该提醒短消息。其中,接收该提醒短消息的手机号码为用户B在S301中设置的手机号码。
S343,运营商向该手机号码发送该提醒短信。
示例性的,参见图1中的(e)所示,用户马媛通过手机接收提醒短消息“陌生人李明早上08:09尝试通过社交应用与您通话”。
还应理解,有些设备例如手机或者平板电脑,既属于有屏设备,也属于安装有用户B接收提醒短消息的手机号码对应的电话卡的设备,那么这些设备上既会有社交应用发出的提醒通知,也会有短信提醒通知。
应理解,以下的S351-S353为通过邮件提箱用户B的过程。
S351,通话管理模块向邮件通知模块发送第四提醒消息,该第四提醒消息用于提箱向用户B设置的邮箱地址发送提醒邮件。
S352,邮件通知模块向邮箱服务器发送提醒邮件,其中,该提醒邮件的收件方为用户在S302中设置的邮箱地址。
S353,邮件服务商向该邮箱地址发送该提醒邮件。
示例性的,参见图1中的(g)所示,用户马媛通过笔记本电脑接收提醒邮件,该提醒邮件的内容为“陌生人李明早上08:09尝试通过社交应用与您通话”。
还应理解,有些设备例如手机或者笔记本电脑,既属于有屏设备,也属于登录了用户B接收提醒邮件的邮箱地址的设备,那么这些设备上既会有社交应用发出的提醒通知,也会有邮件提醒通知。
还应理解,本申请实施例中,S310-S313、S321-S324、S341-S343以及S351-S353之间并没有实际的先后顺序。
以上介绍了本申请实施例的添加好友的方法300。方法300中主要涉及的是通过多种方式提醒陌生人来电,包括智能语音设备通过语音提醒和陌生人来电查询、有屏设备来电提醒、邮件提醒和短信提醒等等方式,同时,也支持多种设备接收陌生人来电提醒,有助于让用户第一时间知道陌生人来电,从而可以提升沟通效率。
下面介绍本申请实施例的添加好友的方法400至方法700。方法400至方法700中主要介绍用户如何通过多种方式快速添加好友,包括有屏设备在检测到用户点击来电提醒后跳转至社交应用进行好友添加、智能语音设备语音添加、回复短消息进行添加以及回复邮件进行添加。
图4中的步骤S401-S410可以在图3中的S324之后进行。在用户B通过智能语音设备接收到语音信息后,可以通过语音添加的方式添加用户A为好友。
图4是本申请实施例提供的添加好友的方法400的示意性流程图。如图4所示,该方法400包括:
S401,ASR模块接收用户B的语音信息。
示例性的,ASR模块接收到的语音信息为“添加用户A为好友”。
S402,ASR模块将用户B的语音信息转化为文字信息。
S403,ASR模块将该文字信息发送给通话NLP模块。
S404,通话NLP模块对文字信息进行语义解析。
示例性的,通话NLP在接收到该文字信息后,可以确定文字信息中用户B的意图为“添加好友”以及与该意图相关的槽位为“用户A”。
S405,通话NLP模块将解析出的用户B的意图发送给意图处理模块。
S406,意图处理模块在接收到该意图后,确定用户的意图。
S407,意图处理模块向通话管理模块发送第一查询请求,该第一查询请求用于请求用户A的相关信息。
示例性的,该第一查询请求用于请求用户A的社交应用账号、用户A在社交应用中的昵称、用户A在验证信息中携带的姓名等信息。
S408,通话管理模块向意图处理模块发送第一查询响应,该第一查询响应中携带用户A的相关信息。
示例性的,该第一查询响应中携带用户A的社交应用账号、用户A在社交应用中的昵称、用户A在验证信息中携带的姓名等信息。
S409,意图处理模块向联系人管理模块请求添加用户A。
意图处理模块可以向联系人管理模块发送S408中从通话管理模块得到的用户A的相关信息。
S410,联系人管理模块添加用户A的社交应用账号到联系人列表中。
示例性的,如果之前用户A向用户B发送了添加好友的请求,那么联系人管理模块可以通过该添加好友的请求。
应理解,联系人管理模块添加用户A的社交应用账号到联系人列表中,该联系人列表中可以显示用户B设置的用户A的备注。示例性的,用户B设置了用户A的备注为“同事李明”;如果用户B没有设置用户A的备注,那么联系人列表中可以显示用户A在添加好友请求时填写的姓名;如果用户A在添加好友时没有填写姓名,那么联系人列表中可以显示用户A在社交应用中的昵称。
本申请实施例中,用户B通过智能语音设备语音添加用户A为好友,避免了用户需要通过手动点开社交应用进行好友添加的繁琐动作,改变了添加好友的方式,提升了双方成为好友的效率,降低了用户建立起好友关系的难度,有助于提升沟通的效率。
图5中的步骤S501-S512可以在图3中的S343之后进行。用户B的设备(安装有用户B在S301中设置的手机号码对应的电话卡的设备)在S343中接收到提醒短消息后,当用户B看到该提醒短消息时,可以通过该用户B的设备回复短消息来添加用户A为好友。
图5示出了本申请实施例的添加好友的方法500的示意性流程图。如图5所示,该方法500包括:
S501,安装有用户B在S301中设置的手机号码对应的电话卡的设备可以向运营商发送用户B回复的短消息。
示例性的,用户B回复的短消息的内容可以为“添加用户A为好友”。
S502,运营商将该回复的短消息发送给短信处理模块。
S503,短信处理模块确定回复短消息的用户B。
S504,短信处理模块提取回复的短消息中的内容。
S505,短信处理模块向通话NLP模块发送该短消息中的内容。
S506,通话NLP模块对短消息中的内容进行语义解析,确定用户的意图以及与该意图相关的槽位信息。
S507,通话NLP模块将解析出的用户B的意图发送给意图处理模块。
S508,意图处理模块在接收到该意图后,确定用户的意图。
S509,意图处理模块向通话管理模块发送第二查询请求,该第二查询请求用于请求用户A的相关信息。
S510,通话管理模块向意图处理模块发送第二查询响应,该第二查询响应中携带用户A的相关信息。
S511,意图处理模块向联系人管理模块请求添加用户A。
S512,联系人管理模块添加用户A的社交应用账号到联系人列表中。
应理解,S506-S512的过程可以参考上述S404-S410的过程,为了简洁,在此不再赘述。
本申请实施例中,用户B通过回复短消息添加用户A为好友,避免了用户需要通过手动点开社交应用进行好友添加的繁琐动作,改变了添加好友的方式,提升了双方成为好友的效率,降低了用户建立起好友关系的难度,有助于提升沟通的效率。
图6中的步骤S601-S611可以在图3中的S353之后进行。用户B的设备(登录了用户B在S302中设置的邮箱的设备)在S353中接收到提醒邮件,当用户B看到该提醒邮件时,可以通过该用户B的设备回复邮件来添加用户A为好友。
图6示出了本申请实施例的添加好友的方法600的示意性流程图,如图6所示,该方法600包括:
S601,登录了用户B在S302中设置的邮箱的设备可以向邮箱服务器发送用户B回复的邮件。
示例性的,该回复的邮件的内容可以为“添加用户A为好友”。
S602,邮箱服务器将该回复的邮件发送给邮件处理模块。
S603,邮件处理模块确定回复邮件的用户B。
S604,邮件处理模块提取回复的邮件中的内容。
S605,邮件处理模块向通话NLP模块发送该邮件中的内容。
S606,通话NLP模块对邮件中的内容进行语义解析,确定用户的意图以及与该意图相关的槽位信息。
S607,通话NLP模块将解析出的用户B的意图发送给意图处理模块。
S608,意图处理模块在接收到该意图后,确定用户的意图。
S609,意图处理模块向通话管理模块发送第三查询请求,该第三查询请求用于请求用户A的相关信息。
S610,通话管理模块向意图处理模块发送第三查询响应,该第三查询响应中携带用户 A的相关信息。
S611,意图处理模块向联系人管理模块请求添加用户A。
S612,联系人管理模块添加用户A的社交应用账号到联系人列表中。
应理解,S606-S612的过程可以参考上述S404-S410的过程,为了简洁,在此不再赘述。
本申请实施例中,用户B通过回复邮件添加用户A为好友,避免了用户需要通过手动点开社交应用进行好友添加的繁琐动作,改变了添加好友的方式,提升了双方成为好友的效率,降低了用户建立起好友关系的难度,有助于提升沟通的效率。
图7中的步骤S701-S709可以在图3中的S313之后进行。用户B的有屏设备在S313中显示提醒窗口,用户B可以在看到提醒窗口中的信息后,可以通过点击该提醒窗口进入添加好友界面,从而添加用户A为好友。
图7示出了本申请实施例的添加好友的方法700的示意性流程图,如图7所示,该方法700包括:
S701,用户B的有屏设备在检测到用户点击提醒窗口的操作。
S702,响应于该操作,用户B的有屏设备显示用户A添加好友请求。
S703,检测到用户点击添加用户A为好友的第一操作。
S704,响应于该第一操作,被叫B的有屏设备向意图处理模块发送用户的意图,用户的意图为添加用户A为好友。
S705,意图处理模块在接收到该意图后,确定用户的意图。
S706,意图处理模块向通话管理模块发送第四查询请求,该第四查询请求用于请求用户A的相关信息。
S707,通话管理模块向意图处理模块发送第四查询响应,该第四查询响应中携带用户A的相关信息。
S708,意图处理模块向联系人管理模块请求添加用户A。
S709,联系人管理模块添加用户A的社交应用账号到联系人列表中。
应理解,S705-S709的过程可以参考上述S406-S410的过程,为了简洁,在此不再赘述。
本申请实施例中,用户B通过点击提醒窗口从而可以跳转至添加用户A为好友的界面,避免了用户需要通过手动点开社交应用进行好友添加的繁琐动作,改变了添加好友的方式,提升了双方成为好友的效率,降低了用户建立起好友关系的难度,有助于提升沟通的效率。
图8示出了本申请实施例提供的另一组GUI的示意图。
参见图8中的(a)所示的GUI,该GUI为短消息应用的界面,用户马媛可以在该短消息发送界面回复短消息,其中,短消息的内容为:添加李明为好友。
参见图8中的(b)所示的GUI,该GUI为社交应用中用户马媛的好友列表的界面,该好友列表中可以自动添加李明为好友。
图9示出了本申请实施例提供的另一组GUI的示意图。
参见图9中的(a)所示的GUI,该GUI为智能手表的显示界面,用户马媛可以点击该提醒窗口901,智能手表在检测到用户点击提醒窗口901的操作后,可以显示如图9中 的(b)所示的GUI。
参见图9中的(b)所示的GUI,该GUI为社交应用的另一界面,该社交应用的界面包括陌生人的好友添加请求列表,用户马媛可以通过用户李明的好友添加请求,当智能手表检测到用户点击控件902的操作后,可以将李明添加到用户马媛的好友列表中。
图10示出了本申请实施例提供的另一组GUI的示意图。
参见图10中的(a)所示的GUI,该GUI为邮件应用的界面,用户马媛可以在该邮件应用中回复邮件,其中,邮件的内容可以为:添加李明为好友。
参见图10中的(b)所示的GUI,该GUI为社交应用中用户马媛的好友列表的界面,该好友列表中可以自动添加李明为好友。
图11示出了本申请实施例提供的另一组GUI的示意图。
参见图11中的(a)所示,用户马媛可以通过智能音箱回复语音“添加李明为好友”,智能音箱接收用户的语音信息。
参见图11中的(b)所示的GUI,该GUI为社交应用中用户马媛的好友列表的界面,该好友列表中可以自动添加李明为好友。
结合上述实施例及相关附图,本申请实施例提供了一种通信方法,该方法可以在服务器或者电子设备中实现(以服务器为例进行说明)。如图12所示,该方法1200可以包括以下步骤:
S1201,服务器接收第一电子设备通过社交应用发送的通讯请求,该通讯请求包括第一信息和第二信息,该第一信息用于指示在该第一电子设备上的该社交应用中登录的第一联系人的账号的信息,该第二信息用于指示请求通讯的第二联系人的账号的信息。
可选地,该第一信息为该第一联系人的账号信息,或者,该第一信息为与该第一联系人的账号相关联的信息(例如,VoIP)。
可选地,该第二信息为该第二联系人的账号信息,或者,该第二信息为与该第二联系人的账号相关联的信息(例如,VoIP)。
一些可能的实现方式中,该通讯请求可以为添加好友请求、通话请求等等。
参见图1中的(c)所示,当手机检测到用户点击控件105的操作时,手机可以向服务器发送该通讯请求,该通讯请求中包括用于指示用户李明的账号的信息和用于指示用户马媛的账号的信息。
参见图1中的(d)所示,当手机检测到用户点击控件106的操作时,手机可以向服务器发送停训请求,该通讯请求中宝库哟用于指示用户李明的账号的信息和用于指示用户马媛的账号的信息。
S1202,服务器响应于该通讯请求,若该第一联系人的账号不在该社交应用中该第二联系人的好友列表中,则向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息,该第一提醒消息包括与该第一联系人相关联的第一用户信息,该第一提醒消息用于表示该第一联系人请求添加该第二联系人为好友、或者用于表示请求该第二联系人将该第一联系人添加为好友。
参见图1中的(e)到(h),该至少一个第二电子设备可以为用户马媛的手机、智能手表、笔记本电脑和智能音箱。
应理解,本申请实施例中,与第二联系人的账号相关联的第二电子设备可以为登录了 第二联系人的社交应用的账号的电子设备、登录了第二联系人的电子邮箱的电子设备以及安装有第二联系人的电话卡的电子设备中的一个或者多个设备。
一个实施例中,若该通讯请求为添加好友请求,那么该第一提醒消息可以用于表示该第一联系人请求添加该第二联系人为好友、或者用于表示请求该第二联系人将该第一联系人添加为好友。
一个实施例中,若该通讯请求为通话请求,那么该第一提醒消息可以用于提醒该通讯请求;或者,该第一提醒消息也可以用于表示该第一联系人请求添加该第二联系人为好友;或者,该第一提醒消息还可以用于表示请求该第二联系人将该第一联系人添加为好友。
示例性的,如图1中的(e)所示,该短信息可以提醒“陌生人李明早上08:09尝试与您通话”;该短信息还可以用于提醒“陌生人李明早上08:09尝试通过社交应用与您通话,李明还不是您的好友,是否添加李明为好友?”。
可选地,该服务器向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,该方法还包括:
该服务器确定该第一联系人的账号不在该社交应用中该第二联系人的黑名单列表。
在服务器向与第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,该服务器可以先确定该第一联系人的账号是否在第二联系人的黑名单列表中,这样可以有效的防止骚扰。
可选地,该通讯请求为音频通话请求或视频通话请求;该方法还包括:
该服务器响应于该通讯请求,不与登录该第二联系人的账号的电子设备建立通话连接。
示例性的,如图1中的(h)所示,若用户马媛还没有通过用户李明的好友添加请求,那么服务器不会与登录用户马媛的账号的智能音箱建立通话连接,而是通过智能音箱提醒用户马媛“陌生人李明早上08:09尝试与您通话”。
可选地,如图13所示,该服务器接收第一电子设备通过社交应用发送的通讯请求之前,该方法1200还包括:
S1203,该服务器接收该第一电子设备通过该社交应用发送的好友添加请求,该好友添加请求信息用于请求添加该第二联系人为好友,或者用于请求该第二联系人将该第一联系人添加为好友。
可选地,该好友添加请求中包括第三信息和第四信息,该第三信息用于指示该第一联系人的账号,该第四信息用于指示该第二联系人的账号。
可选地,该第三信息为该第一联系人的账号信息,或者,该第三信息为与该第一联系人的账号相关联的信息(例如,VoIP)。
可选地,该第四信息为该第二联系人的账号信息,或者,该第四信息为与该第二联系人的账号相关联的信息(例如,VoIP)。
示例性的,参考图1中的(c)所示,在用户李明发起通话请求之前,用户李明先通过手机添加用户马媛为好友,当用户李明的手机检测到用户点击控件105的操作时,手机可以向服务器发送该好友添加请求。
S1204,该服务器响应于该好友添加请求,向与该第二联系人的账号相关联的该至少一个第二电子设备发送第二提醒消息,该第二提醒消息包括该第一联系人的第二用户信息,该第二提醒消息用于表示该第一联系人请求添加该第二联系人为好友、或者用于表示请求 该第二联系人将该第一联系人添加为好友。
示例性的,在手机检测到用户李明点击控件105之后,服务器可以向用户马媛的多个电子设备发送该第二提醒消息。例如,通过短信息提醒用户马媛“陌生人李明早上08:08尝试通过社交应用添加您为好友”;又例如,通过邮件提醒用户马媛“陌生人李明早上08:08尝试通过社交应用添加您为好友”;又例如,通过窗口提醒用户马媛“陌生人李明早上08:08尝试通过社交应用添加您为好友”;又例如,通过语音提醒用户马媛“陌生人李明早上08:08尝试通过社交应用添加您为好友”。
可选地,该服务器接收第一电子设备通过社交应用发送的通讯请求之前,该方法还包括:
接收该第一电子设备通过该社交应用发送的好友添加请求,该好友添加请求信息用于请求添加该第二联系人为好友,或者用于请求该第二联系人将该第一联系人添加为好友;
响应于该好友添加请求,通过该社交应用向登录该第二联系人的账号的第三电子设备发送第三提醒消息,该第三提醒消息包括该第一联系人的第三用户信息,该第三提醒消息用于表示该第一联系人请求添加该第二联系人为好友、或者用于表示请求该第二联系人将该第一联系人添加为好友。
示例性的,如图1中的(c)所示,在用户李明发起通话请求之前,用户李明先通过手机添加用户马媛为好友,当用户李明的手机检测到用户点击控件105的操作时,手机可以向服务器发送该好友添加请求。服务器在接收到该好友添加请求后,可以不对用户马媛的账号相关联的所有电子设备进行提醒,而是在登录了用户马媛的账号的电子设备上,在社交应用中对用户马媛进行提醒。当用户李明的手机检测到用户点击控件106的操作时,手机可以向服务器发起通话请求。服务器在接收到该通话请求后,可以对用户马媛的账号相关联的所有电子设备进行提醒,如图1中的(e)至(h)所示。
可选地,该方法还包括:
服务器接收该通讯请求之后,根据该第一联系人的第一账号信息获取与该第一联系人的账号相关联的该第一用户信息;该第一用户信息包括该第一联系人的用户名、昵称或姓名中的一个或者多个信息。
示例性的,如图1中的(c)所示,服务器在接收到用户李明的好友添加请求后,可以获取该第一用户信息,该第一用户信息包括用户李明的用户名(例如,该用户名可以为用户李明的手机号码等等),用户李明的昵称(例如,用户李明的昵称为小明),用户李明的姓名(例如,用户李明在窗口104中输入的姓名)等等。
可选地,该好友添加请求还包括该第一联系人的用户名、昵称或姓名中的一个或者多个信息,该第二用户信息或该第三用户信息包括该第一联系人的用户名、昵称或姓名中的一个或者多个信息;该向与该第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,该方法还包括:
该服务器获取该好友添加请求中的该第一联系人的用户名、昵称或姓名中的一个或者多个信息;
该服务器将该第一联系人的用户名、昵称或姓名中的一个或者多个信息添加到该第一用户信息中。
示例性的,如图1中的(c)所示,服务器在接收到用户李明的好友添加请求后,可 以获取用户李明的用户名(例如,该用户名可以为用户李明的手机号码等等),用户李明的昵称(例如,用户李明的昵称为小明),用户李明的姓名(例如,用户李明在窗口104中输入的姓名)等等。当用户服务器接收到用户李明的通话请求后,可以将这些信息添加到该第一用户信息中。如图1中的(e)所示,用户马媛接收到的提醒短信息中包括用户李明的姓名信息。
可选地,该与该第二联系人的账号相关联的至少一个第二电子设备包括:
登录该第二联系人的账号的第二电子设备、和安装有该第二联系人对应的电话卡的第二电子设备;或者
登录该第二联系人的账号的第二电子设备、和登录该第二联系人的邮箱的第二电子设备;或者
登录该第二联系人的账号的第二电子设备、安装有该第二联系人对应的电话卡的第二电子设备对应的电话卡的第二电子设备、和登录该第二联系人的邮箱的第二电子设备;或者
安装有该第二联系人对应的电话卡的第二电子设备、和登录该第二联系人的邮箱的第二电子设备;
其中,该第二联系人对应的电话卡为具有与该第二联系人的账号相关联的电话号码的电话卡,该第二联系人的邮箱为与该第二联系人的账号相关联的邮箱。
示例性的,如图1中的(e)至(h)所示,该至少一个第二电子设备可以为手机、智能手表、笔记本电脑和智能音箱。
可选地,该第一提醒消息用于指示该第二设备发出语音提醒消息;或者
该第一提醒消息用于指示该第二设备发出文本提醒消息;或者
该第一提醒消息用于指示该第二设备发出邮件提醒。
如图1中的(e)所示,若手机收到运营商发送的短信息,则可以确定通过短信息提醒用户马媛。
如图1中的(f)所示,若智能手表接收到服务器发送的提醒消息,则可以通过窗口提醒用户马媛。
如图1中的(g)所示,若笔记本电脑接收到邮箱服务商发送的提醒邮件,则可以通过邮件提醒用户马媛。
如图1中的(h)所示,若智能手表接收到服务器发送的提醒消息,则可以通过语音提醒用户马媛。
本申请实施例中,如果是短信息提醒,则服务器可以先将提醒短信息发送给运营商,由运营商发送给第二电子设备。
如果是邮件提醒,则服务器可以先将提醒邮件发送给邮箱服务商,由邮箱服务商发送给第二电子设备。
如果是窗口提醒或者语音提醒,则可以服务器可以给推送(push)服务器发送提醒信息,由push服务器将该提醒信息推送给第二电子设备。服务器和push服务器可以集成在同一个服务器中。
可选地,该方法还包括:
接收至少一个该第二电子设备发送的回复信息,该回复信息用于指示将该第一联系人 添加到该第二联系人的好友列表中;
响应该回复信息,将该第一联系人的账号添加到该第二联系人的好友列表中。
示例性的,如图8所示,服务器接收到用户马媛通过手机回复的短信息后,可以先解析短信息的内容,当确定用户马媛希望添加用户李明为好友时,服务器可以将用户李明添加到用户马媛的好友列表中。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图14示出了上述实施例中涉及的服务器1400的一种可能的组成示意图,如图14所示,该服务器1400可以包括:接收单元1401和发送单元1402。
其中,接收单元1401可以用户支持服务器执行上述步骤1201和S1203等,和/或用于本文所描述的技术的其他过程。
发送单元1402可以用户支持服务器执行上述步骤1202和S1204等,和/或用于本文所描述的技术的其他过程。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
本实施例提供的电子设备,用于执行上述通信方法,因此可以达到与上述实现方法相同的效果。
在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执行上述接收单元1401和发送单元1402执行的步骤。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。
图15示出了本申请实施例提供的通信***的示意性路况图,该通信***可以包括服务器1501和一个或多个电子设备1502(图中示例性的画出了两个电子设备1502);其中,该服务器1501可以为上述方法实施例中服务器,该电子设备1502可以为上述方法实施例中的至少一个第二电子设备。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的通信方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的通信的方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的通信方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (27)

  1. 一种通信方法,其特征在于,包括:
    接收第一电子设备通过社交应用发送的通讯请求,所述通讯请求包括第一信息和第二信息,所述第一信息用于指示在所述第一电子设备上的所述社交应用中登录的第一联系人的账号的信息,所述第二信息用于指示请求通讯的第二联系人的账号的信息;
    响应于所述通讯请求,若所述第一联系人的账号不在所述社交应用中所述第二联系人的好友列表中,则向与所述第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息,所述第一提醒消息包括与所述第一联系人相关联的第一用户信息,所述第一提醒消息用于表示所述第一联系人请求添加所述第二联系人为好友、或者用于表示请求所述第二联系人将所述第一联系人添加为好友。
  2. 根据权利要求1所述的方法,其特征在于,所述向与所述第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,所述方法还包括:
    确定所述第一联系人的账号不在所述社交应用中所述第二联系人的黑名单列表。
  3. 根据权利要求1或2所述的方法,其特征在于,所述通讯请求为音频通话请求或视频通话请求;所述方法还包括:
    响应于所述通讯请求,不与登录所述第二联系人的账号的电子设备建立通话连接。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述接收第一电子设备通过社交应用发送的通讯请求之前,所述方法还包括:
    接收所述第一电子设备通过所述社交应用发送的好友添加请求,所述好友添加请求信息用于请求添加所述第二联系人为好友,或者用于请求所述第二联系人将所述第一联系人添加为好友;
    响应于所述好友添加请求,向与所述第二联系人的账号相关联的所述至少一个第二电子设备发送第二提醒消息,所述第二提醒消息包括所述第一联系人的第二用户信息,所述第二提醒消息用于表示所述第一联系人请求添加所述第二联系人为好友、或者用于表示请求所述第二联系人将所述第一联系人添加为好友。
  5. 根据权利要求1至3中任一项所述的方法,其特征在于,所述接收第一电子设备通过社交应用发送的通讯请求之前,所述方法还包括:
    接收所述第一电子设备通过所述社交应用发送的好友添加请求,所述好友添加请求信息用于请求添加所述第二联系人为好友,或者用于请求所述第二联系人将所述第一联系人添加为好友;
    响应于所述好友添加请求,通过所述社交应用向登录所述第二联系人的账号的第三电子设备发送第三提醒消息,所述第三提醒消息包括所述第一联系人的第三用户信息,所述第三提醒消息用于表示所述第一联系人请求添加所述第二联系人为好友、或者用于表示请求所述第二联系人将所述第一联系人添加为好友。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:
    接收所述通讯请求之后,根据所述第一信息获取与所述第一联系人的账号相关联的所述第一用户信息;所述第一用户信息包括所述第一联系人的用户名、昵称或姓名中的一个 或者多个信息。
  7. 根据权利要求4或5所述的方法,其特征在于,所述好友添加请求还包括所述第一联系人的用户名、昵称或姓名中的一个或者多个信息,所述第二用户信息或所述第三用户信息包括所述第一联系人的用户名、昵称或姓名中的一个或者多个信息;所述向与所述第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,所述方法还包括:
    获取所述好友添加请求中的所述第一联系人的用户名、昵称或姓名中的一个或者多个信息;
    将所述第一联系人的用户名、昵称或姓名中的一个或者多个信息添加到所述第一用户信息中。
  8. 根据权利要求1或2所述的方法,其特征在于,所述通讯请求为好友添加请求。
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述与所述第二联系人的账号相关联的至少一个第二电子设备包括:
    登录所述第二联系人的账号的第二电子设备、和安装有所述第二联系人对应的电话卡的第二电子设备;或者
    登录所述第二联系人的账号的第二电子设备、和登录所述第二联系人的邮箱的第二电子设备;或者
    登录所述第二联系人的账号的第二电子设备、安装有所述第二联系人对应的电话卡的第二电子设备对应的电话卡的第二电子设备、和登录所述第二联系人的邮箱的第二电子设备;或者
    安装有所述第二联系人对应的电话卡的第二电子设备、和登录所述第二联系人的邮箱的第二电子设备;
    其中,所述第二联系人对应的电话卡为具有与所述第二联系人的账号相关联的电话号码的电话卡,所述第二联系人的邮箱为与所述第二联系人的账号相关联的邮箱。
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,
    所述第一提醒消息用于指示所述第二设备发出语音提醒消息;或者
    所述第一提醒消息用于指示所述第二设备发出文本提醒消息;或者
    所述第一提醒消息用于指示所述第二设备发出邮件提醒。
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述方法还包括:
    接收至少一个所述第二电子设备发送的回复信息,所述回复信息用于指示将所述第一联系人添加到所述第二联系人的好友列表中;
    响应所述回复信息,将所述第一联系人的账号添加到所述第二联系人的好友列表中。
  12. 一种服务器,其特征在于,包括:
    一个或多个处理器;
    一个或多个存储器;
    所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述服务器执行以下步骤:
    接收第一电子设备通过社交应用发送的通讯请求,所述通讯请求包括第一信息和第二信息,所述第一信息用于指示在所述第一电子设备上的所述社交应用中登录的第一联系人 的账号的信息,所述第二信息用于指示请求通讯的第二联系人的账号的信息;
    响应于所述通讯请求,若所述第一联系人的账号不在所述社交应用中所述第二联系人的好友列表中,则向与所述第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息,所述第一提醒消息包括与所述第一联系人相关联的第一用户信息,所述第一提醒消息用于表示所述第一联系人请求添加所述第二联系人为好友、或者用于表示请求所述第二联系人将所述第一联系人添加为好友。
  13. 根据权利要求12所述的服务器,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述服务器还执行以下步骤:
    在向与所述第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,确定所述第一联系人的账号不在所述社交应用中所述第二联系人的黑名单列表。
  14. 根据权利要求12或13所述的服务器,其特征在于,所述通讯请求为音频通话请求或视频通话请求,当所述指令被所述一个或多个处理器执行时,使得所述服务器还执行以下步骤:
    响应于所述通讯请求,不与登录所述第二联系人的账号的电子设备建立通话连接。
  15. 根据权利要求12至14中任一项所述的服务器,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述服务器还执行以下步骤:
    在接收所述第一电子设备通过所述社交应用发送的通讯请求之前,接收所述第一电子设备通过所述社交应用发送的好友添加请求,所述好友添加请求信息用于请求添加所述第二联系人为好友,或者用于请求所述第二联系人将所述第一联系人添加为好友;
    响应于所述好友添加请求,向与所述第二联系人的账号相关联的所述至少一个第二电子设备发送第二提醒消息,所述第二提醒消息包括所述第一联系人的第二用户信息,所述第二提醒消息用于表示所述第一联系人请求添加所述第二联系人为好友、或者用于表示请求所述第二联系人将所述第一联系人添加为好友。
  16. 根据权利要求12至14中任一项所述的服务器,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述服务器还执行以下步骤:
    在接收所述第一电子设备通过所述社交应用发送的通讯请求之前,接收所述第一电子设备通过所述社交应用发送的好友添加请求,所述好友添加请求信息用于请求添加所述第二联系人为好友,或者用于请求所述第二联系人将所述第一联系人添加为好友;
    响应于所述好友添加请求,通过所述社交应用向登录所述第二联系人的账号的第三电子设备发送第三提醒消息,所述第三提醒消息包括所述第一联系人的第三用户信息,所述第三提醒消息用于表示所述第一联系人请求添加所述第二联系人为好友、或者用于表示请求所述第二联系人将所述第一联系人添加为好友。
  17. 根据权利要求12至16中任一项所述的服务器,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述服务器还执行以下步骤:
    接收所述通讯请求之后,根据所述第一信息获取与所述第一联系人的账号相关联的所述第一用户信息;所述第一用户信息包括所述第一联系人的用户名、昵称或姓名中的一个或者多个信息。
  18. 根据权利要求15或16所述的服务器,其特征在于,所述好友添加请求还包括所述第一联系人的用户名、昵称或姓名中的一个或者多个信息,所述第二用户信息或所述第 三用户信息包括所述第一联系人的用户名、昵称或姓名中的一个或者多个信息;
    当所述指令被所述一个或多个处理器执行时,使得所述服务器还执行以下步骤:
    在向与所述第二联系人的账号相关联的至少一个第二电子设备发送第一提醒消息之前,获取所述好友添加请求中的所述第一联系人的用户名、昵称或姓名中的一个或者多个信息;
    将所述第一联系人的用户名、昵称或姓名中的一个或者多个信息添加到所述第一用户信息中。
  19. 根据权利要求12或者13所述的服务器,其特征在于,所述通讯请求为好友添加请求。
  20. 根据权利要求12至19中任一项所述的服务器,其特征在于,所述与所述第二联系人的账号相关联的至少一个第二电子设备包括:
    登录所述第二联系人的账号的第二电子设备、和安装有所述第二联系人对应的电话卡的第二电子设备;或者
    登录所述第二联系人的账号的第二电子设备、和登录所述第二联系人的邮箱的第二电子设备;或者
    登录所述第二联系人的账号的第二电子设备、安装有所述第二联系人对应的电话卡的第二电子设备对应的电话卡的第二电子设备、和登录所述第二联系人的邮箱的第二电子设备;或者
    安装有所述第二联系人对应的电话卡的第二电子设备、和登录所述第二联系人的邮箱的第二电子设备;
    其中,所述第二联系人对应的电话卡为具有与所述第二联系人的账号相关联的电话号码的电话卡,所述第二联系人的邮箱为与所述第二联系人的账号相关联的邮箱。
  21. 根据权利要求12至20中任一项所述的服务器,其特征在于,
    所述第一提醒消息用于指示所述第二设备发出语音提醒消息;或者
    所述第一提醒消息用于指示所述第二设备发出文本提醒消息;或者
    所述第一提醒消息用于指示所述第二设备发出邮件提醒。
  22. 根据权利要求12至21中任一项所述的服务器,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述服务器还执行以下步骤:
    接收至少一个所述第二电子设备发送的回复信息,所述回复信息用于指示将所述第一联系人添加到所述第二联系人的好友列表中;
    响应所述回复信息,将所述第一联系人的账号添加到所述第二联系人的好友列表中。
  23. 一种通信***,其特征在于,所述通讯***包括服务器、一个或者多个提醒设备,其中,
    所述服务器,用于接收第一电子设备通过社交应用发送的通讯请求,所述通讯请求包括第一信息和第二信息,所述第一信息用于指示在所述第一电子设备上的所述社交应用中登录的第一联系人的账号的信息,所述第二信息用于指示请求通讯的第二联系人的账号的信息;
    所述服务器,还用于响应于所述通讯请求,若所述第一联系人的账号不在所述社交应用中所述第二联系人的好友列表中,则向与所述第二联系人的账号相关联的所述一个或者 多个提醒设备发送第一提醒消息,所述第一提醒消息包括与所述第一联系人的第一用户信息,所述第一提醒消息用于表示所述第一联系人请求添加所述第二联系人为好友、或者用于表示请求所述第二联系人将所述第一联系人添加为好友;
    所述一个或者多个提醒设备,用于响应于所述第一提醒消息,输出提醒;其中,所述一个或者多个提醒设备与所述第二联系人的账号相关联。
  24. 根据权利要求23所述的通信***,其特征在于,所述一个或者多个提醒设备具体用于,采用多种提醒方式输出提醒;
    其中,所述多种提醒方式包括语音提醒、文本提醒或者邮件提醒中的至少两种。
  25. 根据权利要求23或24所述的通信***,其特征在于,所述一个或者多个提醒设备包括第一提醒设备,其中,
    所述第一提醒设备,用于接收用户的输入;
    所述第一提醒设备,还用于响应于所述用户的输入,向所述服务器发送回复信息,所述回复信息用于指示将所述第一联系人添加到所述第二联系人的好友列表中;
    所述服务器,还用于响应于所述回复信息,将所述第一联系人的账号添加到所述第二联系人的好友列表中。
  26. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在服务器上运行时,使得所述服务器执行如权利要求1至11中任一项所述的通信方法。
  27. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1至11中任一项所述的通信方法。
PCT/CN2020/092202 2019-05-30 2020-05-26 一种通信方法、服务器和通信*** WO2020238873A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910465323.0 2019-05-30
CN201910465323.0A CN110149269A (zh) 2019-05-30 2019-05-30 一种通信方法、服务器和通信***

Publications (1)

Publication Number Publication Date
WO2020238873A1 true WO2020238873A1 (zh) 2020-12-03

Family

ID=67590031

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/092202 WO2020238873A1 (zh) 2019-05-30 2020-05-26 一种通信方法、服务器和通信***

Country Status (2)

Country Link
CN (1) CN110149269A (zh)
WO (1) WO2020238873A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149269A (zh) * 2019-05-30 2019-08-20 华为技术有限公司 一种通信方法、服务器和通信***
CN110557699B (zh) * 2019-09-11 2021-09-07 百度在线网络技术(北京)有限公司 一种智能音箱交互方法、装置、设备及存储介质
CN112822089B (zh) * 2019-11-15 2023-06-30 上海连尚网络科技有限公司 用于添加好友的方法和设备
CN111818170B (zh) * 2020-07-20 2023-10-31 百度在线网络技术(北京)有限公司 网络通信方法和***、及智能音箱
CN111865768A (zh) * 2020-07-24 2020-10-30 上海云鱼智能科技有限公司 即时通讯工具拨打电话添加好友的方法及其客户端、终端、装置和服务器
CN114827059B (zh) * 2021-01-29 2023-06-27 华为技术有限公司 一种群组成员或好友的添加方法、电子设备和***
CN112988001B (zh) * 2021-04-25 2022-05-31 维沃移动通信(杭州)有限公司 信息处理方法、信息处理装置、电子设备和可读存储介质
CN113766166A (zh) * 2021-09-02 2021-12-07 深圳市万佳安物联科技股份有限公司 云端视频的通信方法及***
CN113949686B (zh) * 2021-10-13 2023-05-23 深圳市一诺成电子有限公司 进度同步控制方法及平板电脑设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2458538A1 (en) * 2004-09-03 2012-05-30 Open Text S.A. Systems and methods for collaboration
US20140092424A1 (en) * 2012-09-28 2014-04-03 Interactive Memories, Inc. Methods for Real Time Discovery, Selection, and Engagement of Most Economically Feasible Printing Service Vendors among Multiple Known Vendors
US20140187240A1 (en) * 2011-05-18 2014-07-03 Shanzhen Chen System and Method for Automatically Switching Based on Cellular Mobile Communication Network and Internet Protocol (IP) Network
CN104954414A (zh) * 2014-03-31 2015-09-30 腾讯科技(深圳)有限公司 信息交互的方法、终端、服务器及***
CN105791232A (zh) * 2014-12-23 2016-07-20 深圳市腾讯计算机***有限公司 社交网络非公开权限交互方法、装置和***
CN108295478A (zh) * 2018-02-28 2018-07-20 上海掌门科技有限公司 一种建立社交关系的方法、设备以及可读介质
CN110149269A (zh) * 2019-05-30 2019-08-20 华为技术有限公司 一种通信方法、服务器和通信***

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2488109A (en) * 2011-02-11 2012-08-22 Michael Davis Message delivery via a television display from a remote personal communication device
CN103259825A (zh) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 消息推送方法和装置
CN103561114B (zh) * 2013-11-18 2017-06-30 广东利为网络科技有限公司 一种利用声音编码解码的进行添加好友的方法及装置
CN105094510A (zh) * 2014-05-19 2015-11-25 小米科技有限责任公司 文本处理的方法、装置及***
CN106559461A (zh) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 好友通信方法及装置
CN105704214A (zh) * 2016-01-08 2016-06-22 北京小米移动软件有限公司 信息发送方法及装置
CN106027377B (zh) * 2016-06-30 2019-04-12 珠海市魅族科技有限公司 建立社交关系的方法及装置
CN106506678B (zh) * 2016-11-25 2020-01-03 广东小天才科技有限公司 一种信息交互方法、装置和一种虚拟现实设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2458538A1 (en) * 2004-09-03 2012-05-30 Open Text S.A. Systems and methods for collaboration
US20140187240A1 (en) * 2011-05-18 2014-07-03 Shanzhen Chen System and Method for Automatically Switching Based on Cellular Mobile Communication Network and Internet Protocol (IP) Network
US20140092424A1 (en) * 2012-09-28 2014-04-03 Interactive Memories, Inc. Methods for Real Time Discovery, Selection, and Engagement of Most Economically Feasible Printing Service Vendors among Multiple Known Vendors
CN104954414A (zh) * 2014-03-31 2015-09-30 腾讯科技(深圳)有限公司 信息交互的方法、终端、服务器及***
CN105791232A (zh) * 2014-12-23 2016-07-20 深圳市腾讯计算机***有限公司 社交网络非公开权限交互方法、装置和***
CN108295478A (zh) * 2018-02-28 2018-07-20 上海掌门科技有限公司 一种建立社交关系的方法、设备以及可读介质
CN110149269A (zh) * 2019-05-30 2019-08-20 华为技术有限公司 一种通信方法、服务器和通信***

Also Published As

Publication number Publication date
CN110149269A (zh) 2019-08-20

Similar Documents

Publication Publication Date Title
WO2020238873A1 (zh) 一种通信方法、服务器和通信***
JP6828204B2 (ja) サーバ、プログラム及び情報処理方法
US9674121B2 (en) Dynamic invites with automatically adjusting displays
AU2015280093B2 (en) Location-based audio messaging
KR101626474B1 (ko) 메신저 기반 문서 공유 서비스 제공 장치 및 이를 이용한 방법
US20140164312A1 (en) Systems and methods for informing virtual agent recommendation
US20140324997A1 (en) Enhanced Message Handling
US20050170856A1 (en) Command based group SMS with mobile message receiver and server
US20100070577A1 (en) Selectable mode based social networking interaction systems and methods
CN107005615B (zh) 通信网络的通知方法与***
CN112311841B (zh) 信息推送方法、装置、电子设备和计算机可读介质
US9224134B2 (en) Arranging a conversation among a plurality of participants
EP3437253A1 (en) Cross-mode communication
KR20140121417A (ko) 이동 통신 통합을 위한 방법들 및 시스템들
CN112838976B (zh) 消息处理方法及装置
US20200111059A1 (en) Method for event reminding, and method and apparatus for generating event reminding message
US20140324994A1 (en) Method and device for transmitting and forwarding a message
CN112346806A (zh) 显示信息的方法、装置、终端和存储介质
CN106604244B (zh) 一种对通知消息进行提示的方法和装置
US20060154599A1 (en) Systems, methods, and media for providing wireless electronic messaging
KR102282376B1 (ko) 메신저 서비스에서의 연관 메시지를 통합하기 위한 장치 및 방법
US9129025B2 (en) Automatically granting access to content in a microblog
KR101471171B1 (ko) 게시판과 연계된 인스턴트 메시징 서비스 제공 시스템 및 방법
US20150288822A1 (en) Private Social Voice Messaging System
CN116471249A (zh) 信息处理方法、装置、电子设备及存储介质

Legal Events

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

Ref document number: 20815323

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: 20815323

Country of ref document: EP

Kind code of ref document: A1