WO2021185325A1 - Call processing method and electronic device - Google Patents

Call processing method and electronic device Download PDF

Info

Publication number
WO2021185325A1
WO2021185325A1 PCT/CN2021/081611 CN2021081611W WO2021185325A1 WO 2021185325 A1 WO2021185325 A1 WO 2021185325A1 CN 2021081611 W CN2021081611 W CN 2021081611W WO 2021185325 A1 WO2021185325 A1 WO 2021185325A1
Authority
WO
WIPO (PCT)
Prior art keywords
nickname
electronic device
phone number
call connection
call
Prior art date
Application number
PCT/CN2021/081611
Other languages
French (fr)
Chinese (zh)
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 WO2021185325A1 publication Critical patent/WO2021185325A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42025Calling or Called party identification service
    • H04M3/42034Calling party identification service
    • H04M3/42042Notifying the called party of information on the calling party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42136Administration or customisation of services

Definitions

  • the present invention relates to the field of communication technology, in particular to a communication processing method and electronic equipment.
  • the embodiments of the present invention provide a call processing method and an electronic device to solve the problem of single display mode of incoming call information and lack of interest in the prior art.
  • an embodiment of the present invention provides a call processing method, which is applied to a first electronic device, and the method includes: before establishing a call connection with a second electronic device, determining whether the first phone number bound to the local end is There is a preset first nickname, wherein the second electronic device is bound with a second phone number; in the case that the first phone number has a first nickname, generate the first nickname, including the first nickname, A phone number and a call connection request for the second phone number; sending the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
  • an embodiment of the present invention provides a call processing method, which is applied to a second electronic device, wherein the method includes: receiving a call connection request forwarded by a server, wherein the call connection request carries the sending data The first phone number of the call connection request and the first nickname corresponding to the first phone number; in response to the call connection request, establish a call connection with the first electronic device; preset in the local terminal In the case of the fourth nickname corresponding to the first phone number, the first nickname and the fourth nickname are correspondingly displayed in the call interface; determine whether the second phone number bound to the local end has a preset second nickname ; In the case that the second phone number has a preset second nickname, generate call connection response information including the second nickname and the first phone number; send the call connection response information to the server , So that the server forwards the call connection response information to the first electronic device bound to the first telephone number.
  • an embodiment of the present invention provides an electronic device that serves as a first electronic device, wherein the first electronic device includes: a first determining module, configured to establish a call with a second electronic device Before connecting, determine whether there is a preset first nickname for the first phone number bound to the local end, wherein the second electronic device is bound to the second phone number; If the number has a first nickname, generate a call connection request including the first nickname, the first phone number, and the second phone number; the first sending module is configured to send the call connection request to the server , So that the server forwards the call connection request to the second electronic device bound to the second phone number.
  • an embodiment of the present invention provides an electronic device that serves as a second electronic device, wherein the second electronic device includes: a second receiving module configured to receive a call connection request forwarded by a server, Wherein, the call connection request carries the first phone number that sends the call connection request and the first nickname corresponding to the first phone number; the connection establishment module is configured to respond to the call connection request, and The first electronic device establishes a call connection; the fifth display module is configured to display the first nickname in the call interface when the fourth nickname corresponding to the first phone number is preset in the local terminal And the fourth nickname; the second determination module is used to determine whether there is a preset second nickname in the second phone number bound to the local end; the second generation module is used to determine whether there is a preset second nickname in the second phone number In the case of the second nickname, the call connection response information including the second nickname and the first phone number is generated; the second sending module is configured to send the call connection response information to the server so that all The server forwards the call connection response information to the
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of any of the above-mentioned call processing methods.
  • an embodiment of the present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements any of the aforementioned call processing methods. step.
  • the first phone number bound to the local end has a preset first nickname; in the case that the first phone number has a nickname, it is generated
  • the call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server so that the server forwards the call connection request to the second electronic device bound to the second phone number, so that Second, the first nickname is displayed on the electronic device, which makes the incoming call information displayed on the second electronic device more diversified and more interesting.
  • Figure 1 is a flow chart of the steps of a call processing method provided by an embodiment of the present invention
  • FIG. 2 is a flowchart of the steps of yet another call processing method provided by an embodiment of the present invention.
  • FIG. 3 is a flowchart of the steps of yet another call processing method provided by an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of another electronic device according to an embodiment of the present invention.
  • Fig. 6 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention.
  • one embodiment or “an embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, the appearances of "in one embodiment” or “in an embodiment” in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
  • Step 101 Before establishing a call connection with the second electronic device, the first electronic device determines whether the first phone number bound to the local end has a preset first nickname.
  • the first nickname is a nickname set by the user of the first electronic device for the first phone number.
  • the first nickname can be any combination of text, numbers or letters.
  • the second electronic device is bound to the second phone number.
  • Step 102 In the case where the first nickname exists in the first phone number, generate a call connection request including the first nickname, the first phone number, and the second phone number.
  • the first electronic device When the first electronic device initiates a call connection to the second electronic device, the first electronic device forwards the call connection request to the second electronic device through the server, and the second electronic device responds to the request to establish a call connection with the first electronic device.
  • the call connection request carries Has the nickname XX.
  • Step 103 Send a call connection request to the server.
  • the server After receiving the call connection request, the server parses out the second phone number and the first nickname from the call connection request, and forwards the call connection request carrying the first nickname and the first phone number to the second phone number bound to the second phone number.
  • the electronic device after receiving the call connection request, the second electronic device establishes a call connection with the first electronic device, and displays the first nickname in the call interface. Not only that, if other nicknames are set for the first phone number in the second electronic device, other nicknames may also be displayed in the call interface. That is, after receiving the call connection of the first electronic device, the second electronic device can not only display the nickname set for the first phone number in the local terminal, but also display the user of the first electronic device as the first phone number in the call interface. The first nickname set can increase the fun of the call.
  • the call processing method determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; when there is a nickname in the first phone number Next, generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, Therefore, the first nickname is displayed on the second electronic device, so that the incoming call information displayed on the second electronic device is more diversified and more interesting.
  • FIG. 2 there is shown a flow chart of the steps of a call processing method according to the second embodiment of the present invention.
  • Step 201 Before establishing a call connection with the second electronic device, the first electronic device determines whether the first phone number bound to the local end has a preset first nickname.
  • the first nickname may be preset by the user of the first electronic device, or may be automatically set by the first electronic device for the first phone number.
  • An optional way of setting the first nickname is: the first electronic device receives the operation of editing the first nickname on the first phone number to obtain the first nickname; and stores the first phone number and the first nickname.
  • the user of the first electronic device can find the local number, that is, the first phone number, in the contact details of the first electronic device, edit the first nickname in the name-related item, and save it.
  • the first nickname can not only be displayed in the local contact details, but also can be displayed on the call interface of the second electronic device during the call between the first electronic device and the second electronic device.
  • Step 202 In a case where the first nickname exists for the first phone number, the first electronic device generates a call connection request including the first nickname, the first phone number, and the second phone number.
  • the generated call connection request does not include the first nickname.
  • Step 203 The first electronic device sends a call connection request to the server.
  • the server After receiving the call connection request, the server parses out the second phone number from the call connection request, and forwards the call connection request to the second electronic device bound to the second phone number.
  • the second electronic device After receiving the call connection request, the second electronic device establishes a call connection with the first electronic device, and displays the first nickname in the call interface.
  • a third nickname is preset for the first phone number in the second electronic device, that is, the first phone number is a known number for the second phone, and the first phone number is displayed on the call interface of the second electronic device.
  • Nickname and third nickname If the third nickname is not preset for the first phone number in the second electronic device, that is, the first phone number is an unfamiliar number for the second phone, the first nickname and the first nickname are displayed on the call interface of the second electronic device. The first phone number.
  • Step 204 In the case that the second phone number has a preset second nickname, the first electronic device receives the call connection response information sent by the server.
  • the call connection response message carries the second nickname.
  • the second phone number is a phone number bound to the second electronic device.
  • the second nickname can be set for the second phone number in advance by the user of the second electronic device, or can be automatically set for the second phone number by the second electronic device.
  • the call connection response message does not carry the second nickname.
  • Step 205 The first electronic device determines whether the third nickname corresponding to the second phone number is preset in the first electronic device; if yes, execute step 206; if not, execute step 207.
  • the third nickname corresponding to the second phone number is preset in the first electronic device, it means that the second phone number is a known number to the first phone number; on the contrary, if the second phone number is not preset in the first electronic device
  • the third nickname corresponding to the phone number indicates that the second phone number is unknown to the first phone number.
  • Step 206 The first electronic device displays the second nickname and the third nickname on the call interface.
  • Displaying the second nickname and the third nickname in the call interface of the first electronic device not only allows the first user to determine the identity of the callee based on his own nickname settings, but also can further understand the interesting nicknames set by the callee for himself. Enhance the fun of the call.
  • the user of the first electronic device is user A
  • the user of the second electronic device is user B.
  • Both user A and user B have edited their nicknames. If user B sets the nickname of the local phone number and user A does not Set the nickname of the local phone number.
  • the nickname edited by user A for user B and the nickname edited by user B for the local phone number of the second electronic device are displayed in the call interface of user A's first electronic device;
  • the nickname edited by user B to user A is displayed on the call interface of the second electronic device of user B.
  • the user of the first electronic device is user A and the user of the second electronic device is user B. Both user A and user B have edited their nicknames for each other's numbers. At the same time, user B sets the nickname of the local phone number and user A also Set the nickname of the local phone number.
  • the nickname edited by user A for user B and the nickname edited by user B for the local phone number of the second electronic device are displayed in the call interface of user A's first electronic device; In the call interface of the second electronic device of the user B, the nickname edited by the user B for the user A and the nickname edited by the user A for the local phone number of the first electronic device are displayed.
  • Step 207 The first electronic device displays the second nickname on the call interface.
  • the first electronic device user is user A
  • the second electronic device user is user B
  • user A has not edited the nickname of user B's phone number
  • user B has edited the nickname of user A's phone number. If user A has set it at the same time The nickname of the local phone number and user B has also set the nickname of the local phone number.
  • the call interface of user A's first electronic device displays the nickname edited by user B as the local end of the second electronic device
  • the call interface of user B's second electronic device displays the user The nickname edited by B for user A, and the nickname edited by user A for the local phone number of the first electronic device.
  • Steps 204 to 207 are described on the premise that the second phone number has a preset second nickname.
  • the first electronic device receives the information sent by the server Call connection response information; determine whether the third nickname corresponding to the second phone number is preset in the first electronic device; if yes, display the third nickname in the call interface; if not, display the second phone number in the call interface.
  • the user of the first electronic device is user A
  • the user of the second electronic device is user B.
  • Both user A and user B have edited their nicknames for each other's numbers.
  • user A sets the nickname of the local phone number
  • user B does not Set the nickname of the local phone number.
  • the nickname edited by user A to user B is displayed in the call interface of user A's first electronic device
  • user B is displayed in the call interface of user B's second electronic device.
  • the first electronic device user is user A
  • the second electronic device user is user B
  • user A has not edited the nickname of user B's phone number
  • user B has edited the nickname of user A's phone number
  • user A has set the local terminal
  • the nickname of the phone number and user B has not set the nickname of the local phone number.
  • the call processing method determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; when there is a nickname in the first phone number Next, generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, Therefore, the first nickname is displayed on the second electronic device, so that the incoming call information displayed on the second electronic device is more diversified and more interesting.
  • the call connection response message sent by the second electronic device to the first electronic device carries the second nickname bound to the second phone number, and the first electronic device parses out the second nickname after receiving the call connection response information.
  • the interaction between the user of the first electronic device and the user of the second electronic device can be improved, and the fun of the call can be further enhanced.
  • FIG. 3 there is shown a flow chart of the steps of a call processing method according to the third embodiment of the present invention.
  • Step 301 The second electronic device receives the call connection request forwarded by the server.
  • the call connection request carries the first phone number that sends the call connection request and the first nickname corresponding to the first phone number.
  • the first electronic device When the first electronic device wants to make a call connection with the second electronic device, the first electronic device sends a call connection request to the second electronic device through the server, and after receiving the call connection request forwarded by the server, the second electronic device executes the implementation of the present invention
  • the call processing flow shown in the example The call processing flow shown in the example.
  • Step 302 In response to the call connection request, the second electronic device establishes a call connection with the first electronic device.
  • Step 303 In the case where a fourth nickname corresponding to the first phone number is preset in the local terminal, the second electronic device correspondingly displays the first nickname and the fourth nickname in the call interface.
  • the fourth nickname corresponding to the first phone number is preset in the second electronic device, it means that the first phone number is a known number for the second phone number bound to the second electronic device; otherwise, if the second electronic device There is no preset fourth nickname corresponding to the first phone number, which indicates that the first phone number is an unknown number for the second phone number bound to the second electronic device.
  • Step 304 The second electronic device determines whether the second phone number bound to the local end has a preset second nickname.
  • the second nickname may be set for the second phone number in advance by the user of the second electronic device, or may be automatically set for the second phone number by the second electronic device.
  • the second nickname is an interesting nickname set for the user of the second electronic device.
  • Step 305 In the case that the second phone number has a preset second nickname, the second electronic device generates call connection response information including the second nickname and the first phone number.
  • the call connection response message does not carry the second nickname.
  • Step 306 The second electronic device sends call connection response information to the server.
  • the server After receiving the call connection response information sent by the second electronic device, the server forwards the call connection response information to the first electronic device bound to the first phone number.
  • the first electronic device After receiving the call connection response information, the first electronic device determines whether the third nickname corresponding to the second phone number is preset in the first electronic device; if so, the first electronic device correspondingly displays the second nickname and the third nickname on the call interface. Nickname; if not, the first electronic device displays the second nickname in the call interface.
  • the call connection request forwarded by the server is received by the second electronic device; the second electronic device establishes a call connection with the first electronic device in response to the call connection request; In the case of a fourth nickname corresponding to a phone number, the second electronic device correspondingly displays the first nickname and the fourth nickname in the call interface; the second electronic device determines whether the second phone number bound to the local terminal has a preset first nickname. Second nickname; in the case that the second phone number has a preset second nickname, the second electronic device generates call connection response information including the second nickname and the first phone number; the second electronic device sends the call connection response information to the server . After receiving the call connection response information, the first electronic device parses out the second nickname and displays it on the call interface, which can improve the interaction between the user of the first electronic device and the user of the second electronic device, and further enhance the fun of the call.
  • FIG. 4 a structural block diagram of an electronic device according to the fourth embodiment of the present invention is shown.
  • the electronic device 400 in the embodiment of the present invention serves as the first electronic device, where the electronic device 400 includes:
  • the first determining module 401 is configured to determine whether there is a preset first nickname in the first phone number bound to the local end before establishing a call connection with the second electronic device, wherein the second electronic device is bound to the second phone number;
  • the first generating module 402 is configured to generate a call connection request that includes the first nickname, the first phone number, and the second phone number when a first nickname exists for the first phone number;
  • the first sending module 403 is configured to send the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
  • the electronic device further includes: a first receiving module, configured to: after the first sending module sends the call connection request to the server, when the second phone number has a preset second nickname In this case, the call connection response information sent by the server is received, wherein the call connection response information carries the second nickname; the first nickname determination module is used to determine whether the first electronic device is preset There is a third nickname corresponding to the second phone number; the first display module is used to display the second nickname and the third nickname in the call interface if it is; the second display module is used to display the second nickname and the third nickname in the call interface; The second nickname is displayed on the call interface.
  • a first receiving module configured to: after the first sending module sends the call connection request to the server, when the second phone number has a preset second nickname
  • the call connection response information sent by the server is received, wherein the call connection response information carries the second nickname
  • the first nickname determination module is used to determine whether the first electronic device is preset There is a third nickname corresponding to the second phone number
  • the electronic device further includes: an operation receiving module, configured to determine whether there is a preset first phone number bound to the local end before the first determining module establishes a call connection with the second electronic device Before the first nickname, receiving an operation of editing the first nickname on the first phone number to obtain the first nickname; the storage module is configured to store the first phone number and the first nickname.
  • an operation receiving module configured to determine whether there is a preset first phone number bound to the local end before the first determining module establishes a call connection with the second electronic device Before the first nickname, receiving an operation of editing the first nickname on the first phone number to obtain the first nickname
  • the storage module is configured to store the first phone number and the first nickname.
  • the electronic device further includes: a response information receiving module, configured to: after the first sending module sends the call connection request to the server, the second phone number does not have a preset second nickname In the case of receiving the call connection response information sent by the server; a second nickname determining module, configured to determine whether a third nickname corresponding to the second phone number is preset in the first electronic device; and a third display The module is used to display the third nickname in the call interface if yes; the fourth display module is used to display the second phone number in the call interface if not.
  • a response information receiving module configured to: after the first sending module sends the call connection request to the server, the second phone number does not have a preset second nickname In the case of receiving the call connection response information sent by the server
  • a second nickname determining module configured to determine whether a third nickname corresponding to the second phone number is preset in the first electronic device
  • a third display The module is used to display the third nickname in the call interface if yes; the fourth display module is used to display the second phone number in
  • the electronic device provided by the embodiment of the present invention can implement each process of the call processing method in the method embodiment shown in FIG. 1 to FIG. 2. To avoid repetition, details are not described herein again.
  • the electronic device determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; in the case that the first phone number has a nickname , Generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, thereby Displaying the first nickname on the second electronic device makes the incoming call information displayed on the second electronic device more diversified and more interesting.
  • FIG. 5 there is shown a structural block diagram of an electronic device according to the fifth embodiment of the present invention.
  • the electronic device 500 in the embodiment of the present invention serves as the second electronic device, where the electronic device 500 includes:
  • the second receiving module 501 is configured to receive a call connection request forwarded by a server, wherein the call connection request carries the first phone number that sends the call connection request and the first nickname corresponding to the first phone number ;
  • the connection establishment module 502 is configured to establish a call connection with the first electronic device in response to the call connection request;
  • the fifth display module 503 is configured to display the first nickname and the fourth nickname in the call interface when the fourth nickname corresponding to the first phone number is preset in the local terminal;
  • the second determining module 504 is configured to determine whether the second phone number bound to the local end has a preset second nickname
  • the second generating module 505 is configured to generate call connection response information including the second nickname and the first phone number when the preset second nickname exists for the second phone number;
  • the second sending module 506 is configured to send the call connection response information to the server, so that the server forwards the call connection response information to the first electronic device bound to the first phone number.
  • the electronic device provided in the embodiment of the present invention can implement each process of the call processing method in the method embodiment shown in FIG.
  • the electronic device receives the call connection request forwarded by the server through the second electronic device; the second electronic device establishes a call connection with the first electronic device in response to the call connection request; the first electronic device is preset in the local end In the case of the fourth nickname corresponding to the phone number, the second electronic device correspondingly displays the first nickname and the fourth nickname in the call interface; the second electronic device determines whether the second phone number bound to the local terminal has a preset second nickname.
  • Nickname in the case that the second phone number has a preset second nickname, the second electronic device generates call connection response information including the second nickname and the first phone number; the second electronic device sends the call connection response information to the server.
  • the first electronic device parses out the second nickname and displays it on the call interface, which can improve the interaction between the user of the first electronic device and the user of the second electronic device, and further enhance the fun of the call.
  • FIG. 6 a structural block diagram of an electronic device according to the sixth embodiment of the present invention is shown.
  • the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, and a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, a power supply 611 and other components.
  • a radio frequency unit 601 for example, a radio frequency unit 601
  • a network module 602 for example, a Wi-Fi Protected Access (WMA) unit, or a Wi-Fi Protected Access (WPA), a Wi-Fi Protected Access (WPA)
  • a sensor 605 a sensor
  • a display unit 606 a user input unit 607
  • an interface unit 608 a memory 609
  • a processor 610 a power supply 611 and other components.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the electronic device provided by the embodiment of the present invention is used as a first electronic device to interact with each second electronic device to process images.
  • the processor 610 may be configured to determine whether there is a preset first nickname in the first phone number bound to the second electronic device before establishing a call connection with the second electronic device; where the first nickname exists in the first phone number In a case, generating a call connection request including the first nickname, the first phone number, and the second phone number; wherein the second electronic device is bound to the second phone number;
  • the radio frequency unit 601 may be used to send the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
  • the radio frequency unit 601 can be used to receive a call connection request forwarded by a server, where the call connection request carries a first phone number that sends the call connection request and a first nickname corresponding to the first phone number;
  • the processor 610 may be configured to establish a call connection with the first electronic device in response to the call connection request; when a fourth nickname corresponding to the first phone number is preset in the local terminal, in the call interface Correspondingly display the first nickname and the fourth nickname; determine whether the second phone number bound to the local end has a preset second nickname; when the second phone number has a preset second nickname Next, generate call connection response information including the second nickname and the first phone number;
  • the radio frequency unit 601 may also be used to send the call connection response information to the server, so that the server forwards the call connection response information to the first electronic device bound to the first phone number.
  • the electronic device determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; in the case that the first phone number has a nickname , Generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, thereby Displaying the first nickname on the second electronic device makes the incoming call information displayed on the second electronic device more diversified and more interesting.
  • the call connection response message sent by the second electronic device to the first electronic device carries the second nickname bound to the second phone number, and the first electronic device parses out the second nickname after receiving the call connection response information.
  • the interaction between the user of the first electronic device and the user of the second electronic device can be improved, and the fun of the call can be further enhanced.
  • the radio frequency unit 601 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and sent to the processor 610 for processing; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 603 can convert the audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sounds. Moreover, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic device 600 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 604 is used to receive audio or video signals.
  • the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042.
  • the graphics processor 6041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 606.
  • the image frame processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602.
  • the microphone 6042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 601 for output in the case of a telephone call mode.
  • the electronic device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 6061 and the display panel 6061 when the electronic device 600 is moved to the ear. / Or backlight.
  • the display panel 601 is a flexible display screen, and the flexible display screen includes a screen base, a liftable module array, and a flexible screen that are sequentially superimposed.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 606 is used to display information input by the user or information provided to the user.
  • the display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 607 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072.
  • the touch panel 6071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 6071 or near the touch panel 6071. operate).
  • the touch panel 6071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 610, the command sent by the processor 610 is received and executed.
  • the touch panel 6071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 607 may also include other input devices 6072.
  • other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 6071 can cover the display panel 6061.
  • the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 6061.
  • the touch panel 6071 and the display panel 6061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 608 is an interface for connecting an external device and the electronic device 600.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 608 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 600 or can be used to connect the electronic device 600 to an external device. Transfer data between devices.
  • the memory 609 can be used to store software programs and various data.
  • the memory 609 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 610 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 609, and calls the data stored in the memory 609. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
  • the electronic device 600 may also include a power source 611 (such as a battery) for supplying power to various components.
  • a power source 611 such as a battery
  • the power source 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 600 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 610, a memory 609, and a computer program stored on the memory 609 and running on the processor 610.
  • an electronic device including a processor 610, a memory 609, and a computer program stored on the memory 609 and running on the processor 610.
  • the computer program is executed by the processor 610,
  • Each process of the foregoing call processing method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned call processing method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

The embodiments of the present invention provide a call processing method and an electronic device. The call processing method is applied to a first electronic device, and comprises: before establishing a call connection with a second electronic device, determining whether a preset first nickname exists in a first telephone number bound to a local terminal; if the first nickname exists in the first telephone number, generating a call connection request containing the first nickname, the first telephone number, and a second telephone number; and sending the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second telephone number.

Description

一种通话处理方法及电子设备Call processing method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年03月20日在中国提交的中国专利申请号202010203161.6的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010203161.6 filed in China on March 20, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种通信处理方法及电子设备。The present invention relates to the field of communication technology, in particular to a communication processing method and electronic equipment.
背景技术Background technique
虽然电子设备功能越来越强大,但是电子设备最基础的通话功能依然无法被取代。在无法连接网络的情况下,还是需要依赖通话功能与他人进行联系。Although the functions of electronic devices are becoming more and more powerful, the most basic call function of electronic devices still cannot be replaced. In the case of unable to connect to the network, you still need to rely on the call function to communicate with others.
目前在双方进行通话时,无论任何一方若对方的电话号码对于本端电话号码而言为陌生号码,则在本机通话界面中仅显示对方电话号码;若对方的电话号码对于本端电话号码而言为已知号码,则在本端通话界面中仅显示本端中为对方电话号码编辑的昵称,来电信息显示方式单一、缺乏趣味性。At present, when both parties are in a call, if either party’s phone number is unfamiliar to the local phone number, only the other party’s phone number will be displayed on the local phone call interface; if the other party’s phone number is different from the local phone number. If it is a known number, only the nickname edited for the other party's phone number will be displayed in the local call interface, and the caller ID information is displayed in a single way and lacks interest.
发明内容Summary of the invention
本发明实施例提供一种通话处理方法及电子设备,以解决现有技术中存在的来电信息显示方式单一、缺乏趣味性的问题。The embodiments of the present invention provide a call processing method and an electronic device to solve the problem of single display mode of incoming call information and lack of interest in the prior art.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供了一种通话处理方法,应用于第一电子设备,所述方法包括:在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称,其中,所述第二电子设备绑定第二电话号码;在所述第一电话号码存在第一昵称的情况下,生成包含所述第一昵称、所述第一电话号码以及所述第二电话号码的通话连接请求;发送所述通话连接请求至服务器,以使所述服务器将所述通话连接请求转发至所述第二电话号码绑定的第二电子设备。In the first aspect, an embodiment of the present invention provides a call processing method, which is applied to a first electronic device, and the method includes: before establishing a call connection with a second electronic device, determining whether the first phone number bound to the local end is There is a preset first nickname, wherein the second electronic device is bound with a second phone number; in the case that the first phone number has a first nickname, generate the first nickname, including the first nickname, A phone number and a call connection request for the second phone number; sending the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
第二方面,本发明实施例提供了一种通话处理方法,应用于第二电子设备,其中,所述方法包括:接收服务器转发的通话连接请求,其中,所述通话连接请求中携带有发送所述通话连接请求的第一电话号码、以及所述第一电话号码对应的第一昵称;响应于所述通话连接请求,与所述第一电子设备建立通话连接;在本端中预设有所述第一电话号码对应的第四昵称的情况下,在通话界面中对应显示所述第一昵称以及所述第四昵称;确定本端绑定的第二电话号码是否存在预设的第二昵称;在所述第二电话号码存在预设的第二昵称的情况下,生成包含所述第二昵称以及所述第一电话号码的通话连接响应信息;发送所述通话连接响应信息至所述服务器,以使所述服务器将所述通话连接响应信息转发至所述第一电话号码绑定的所述第一电子设备。In a second aspect, an embodiment of the present invention provides a call processing method, which is applied to a second electronic device, wherein the method includes: receiving a call connection request forwarded by a server, wherein the call connection request carries the sending data The first phone number of the call connection request and the first nickname corresponding to the first phone number; in response to the call connection request, establish a call connection with the first electronic device; preset in the local terminal In the case of the fourth nickname corresponding to the first phone number, the first nickname and the fourth nickname are correspondingly displayed in the call interface; determine whether the second phone number bound to the local end has a preset second nickname ; In the case that the second phone number has a preset second nickname, generate call connection response information including the second nickname and the first phone number; send the call connection response information to the server , So that the server forwards the call connection response information to the first electronic device bound to the first telephone number.
第三方面,本发明实施例提供了一种电子设备,所述电子设备作为第一电子设备,其中,所述第一电子设备包括:第一确定模块,用于在与第二电子设备建立通话连接前,确 定本端绑定的第一电话号码是否存在预设的第一昵称,其中,所述第二电子设备绑定第二电话号码;第一生成模块,用于在所述第一电话号码存在第一昵称的情况下,生成包含所述第一昵称、所述第一电话号码以及所述第二电话号码的通话连接请求;第一发送模块,用于发送所述通话连接请求至服务器,以使所述服务器将所述通话连接请求转发至所述第二电话号码绑定的第二电子设备。In a third aspect, an embodiment of the present invention provides an electronic device that serves as a first electronic device, wherein the first electronic device includes: a first determining module, configured to establish a call with a second electronic device Before connecting, determine whether there is a preset first nickname for the first phone number bound to the local end, wherein the second electronic device is bound to the second phone number; If the number has a first nickname, generate a call connection request including the first nickname, the first phone number, and the second phone number; the first sending module is configured to send the call connection request to the server , So that the server forwards the call connection request to the second electronic device bound to the second phone number.
第四方面,本发明实施例提供了一种电子设备,所述电子设备作为第二电子设备,其中,所述第二电子设备包括:第二接收模块,用于接收服务器转发的通话连接请求,其中,所述通话连接请求中携带有发送所述通话连接请求的第一电话号码、以及所述第一电话号码对应的第一昵称;连接建立模块,用于响应于所述通话连接请求,与所述第一电子设备建立通话连接;第五显示模块,用于在本端中预设有所述第一电话号码对应的第四昵称的情况下,在通话界面中对应显示所述第一昵称以及所述第四昵称;第二确定模块,用于确定本端绑定的第二电话号码是否存在预设的第二昵称;第二生成模块,用于在所述第二电话号码存在预设的第二昵称的情况下,生成包含所述第二昵称以及所述第一电话号码的通话连接响应信息;第二发送模块,用于发送所述通话连接响应信息至所述服务器,以使所述服务器将所述通话连接响应信息转发至所述第一电话号码绑定的所述第一电子设备。In a fourth aspect, an embodiment of the present invention provides an electronic device that serves as a second electronic device, wherein the second electronic device includes: a second receiving module configured to receive a call connection request forwarded by a server, Wherein, the call connection request carries the first phone number that sends the call connection request and the first nickname corresponding to the first phone number; the connection establishment module is configured to respond to the call connection request, and The first electronic device establishes a call connection; the fifth display module is configured to display the first nickname in the call interface when the fourth nickname corresponding to the first phone number is preset in the local terminal And the fourth nickname; the second determination module is used to determine whether there is a preset second nickname in the second phone number bound to the local end; the second generation module is used to determine whether there is a preset second nickname in the second phone number In the case of the second nickname, the call connection response information including the second nickname and the first phone number is generated; the second sending module is configured to send the call connection response information to the server so that all The server forwards the call connection response information to the first electronic device bound to the first telephone number.
第五方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述任意一种通话处理方法的步骤。In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of any of the above-mentioned call processing methods.
第六方面,本发明实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述任意一种通话处理方法的步骤。In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements any of the aforementioned call processing methods. step.
在本发明实施例中,通过在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称;在第一电话号码存在昵称的情况下,生成包含第一昵称、第一电话号码以及第二电话号码的通话连接请求;发送通话连接请求至服务器,以使服务器将通话连接请求转发至第二电话号码绑定的第二电子设备,从而在第二电子设备上显示第一昵称,使得第二电子设备上显示的来电信息更加多样化、趣味性强。In the embodiment of the present invention, before establishing a call connection with the second electronic device, it is determined whether the first phone number bound to the local end has a preset first nickname; in the case that the first phone number has a nickname, it is generated The call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server so that the server forwards the call connection request to the second electronic device bound to the second phone number, so that Second, the first nickname is displayed on the electronic device, which makes the incoming call information displayed on the second electronic device more diversified and more interesting.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本发明实施例提供的一种通话处理方法的步骤流程图;Figure 1 is a flow chart of the steps of a call processing method provided by an embodiment of the present invention;
图2是本发明实施例提供的又一种通话处理方法的步骤流程图;Figure 2 is a flowchart of the steps of yet another call processing method provided by an embodiment of the present invention;
图3是本发明实施例提供的再一种通话处理方法的步骤流程图;FIG. 3 is a flowchart of the steps of yet another call processing method provided by an embodiment of the present invention;
图4是本发明实施例提供的一种电子设备的结构框图;4 is a structural block diagram of an electronic device provided by an embodiment of the present invention;
图5是本发明实施例提供的又一种电子设备的结构框图;FIG. 5 is a structural block diagram of another electronic device according to an embodiment of the present invention;
图6是本发明实施例提供的一种电子设备的硬件结构示意图。Fig. 6 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It should be understood that “one embodiment” or “an embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, the appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
在本发明的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In various embodiments of the present invention, it should be understood that the size of the sequence number of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not be implemented in the present invention. The implementation process of the example constitutes any limitation.
实施例一Example one
参照图1,示出了本发明实施例一的一种通话处理方法的步骤流程图。1, it shows a flowchart of the steps of a call processing method according to the first embodiment of the present invention.
本发明实施例的通话处理方法应用于第一电子设备,包括以下步骤:The call processing method of the embodiment of the present invention is applied to the first electronic device and includes the following steps:
步骤101:第一电子设备在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称。Step 101: Before establishing a call connection with the second electronic device, the first electronic device determines whether the first phone number bound to the local end has a preset first nickname.
第一昵称为第一电子设备用户为第一电话号码设置的昵称。第一昵称可以为文字、数字或者字母的任意组合。第二电子设备绑定第二电话号码。The first nickname is a nickname set by the user of the first electronic device for the first phone number. The first nickname can be any combination of text, numbers or letters. The second electronic device is bound to the second phone number.
步骤102:在第一电话号码存在第一昵称的情况下,生成包含第一昵称、第一电话号码以及第二电话号码的通话连接请求。Step 102: In the case where the first nickname exists in the first phone number, generate a call connection request including the first nickname, the first phone number, and the second phone number.
第一电子设备向第二电子设备发起通话连接时,第一电子设备通过服务器向第二电子设备转发通话连接请求,第二电子设备响应该请求与第一电子设备之间建立通话连接。When the first electronic device initiates a call connection to the second electronic device, the first electronic device forwards the call connection request to the second electronic device through the server, and the second electronic device responds to the request to establish a call connection with the first electronic device.
假设:第一电子设备中安装有电话号码为A的电话卡,则第一电子设备与电话号码A绑定,第一电子设备用户预先为电话号码A设置第一昵称XX,则通话连接请求中携带有昵称XX。Assuming: a phone card with a phone number of A is installed in the first electronic device, the first electronic device is bound to the phone number A, and the user of the first electronic device sets the first nickname XX for the phone number A in advance, then the call connection request carries Has the nickname XX.
步骤103:发送通话连接请求至服务器。Step 103: Send a call connection request to the server.
服务器接收到通话连接请求后,从通话连接请求中解析出第二电话号码以及第一昵称,将携带有第一昵称、第一电话号码的通话连接请求转发至第二电话号码绑定的第二电子设备,第二电子设备接收到通话连接请求后,与第一电子设备建立通话连接,并在通话界面中显示第一昵称。不仅如此,若第二电子设备中为第一电话号码设置有其他昵称的情况下,在通话界面中还可以显示其他昵称。也即,第二电子设备在接收到第一电子设备的通话连接后,在通话界面中不仅可显示本端中为第一电话号码设置的昵称,还显示第一电子设备用户为第一电话号码设置的第一昵称,能增加通话的趣味性。After receiving the call connection request, the server parses out the second phone number and the first nickname from the call connection request, and forwards the call connection request carrying the first nickname and the first phone number to the second phone number bound to the second phone number. The electronic device, after receiving the call connection request, the second electronic device establishes a call connection with the first electronic device, and displays the first nickname in the call interface. Not only that, if other nicknames are set for the first phone number in the second electronic device, other nicknames may also be displayed in the call interface. That is, after receiving the call connection of the first electronic device, the second electronic device can not only display the nickname set for the first phone number in the local terminal, but also display the user of the first electronic device as the first phone number in the call interface. The first nickname set can increase the fun of the call.
本发明实施例提供的通话处理方法,通过在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称;在第一电话号码存在昵称的情况下,生成包含第一昵称、第一电话号码以及第二电话号码的通话连接请求;发送通话连接请求至服务器,以使服务器将通话连接请求转发至第二电话号码绑定的第二电子设备,从而在第二电子设备上显示第一昵称,使得第二电子设备上显示的来电信息更加多样化、趣味性强。The call processing method provided by the embodiment of the present invention determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; when there is a nickname in the first phone number Next, generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, Therefore, the first nickname is displayed on the second electronic device, so that the incoming call information displayed on the second electronic device is more diversified and more interesting.
实施例二Example two
参照图2,示出了本发明实施例二的一种通话处理方法的步骤流程图。Referring to FIG. 2, there is shown a flow chart of the steps of a call processing method according to the second embodiment of the present invention.
本发明实施例的通话处理方法应用于第一电子设备,包括以下步骤:The call processing method of the embodiment of the present invention is applied to the first electronic device and includes the following steps:
步骤201:第一电子设备在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称。Step 201: Before establishing a call connection with the second electronic device, the first electronic device determines whether the first phone number bound to the local end has a preset first nickname.
第一昵称可由第一电子设备用户预先设置,也可以由第一电子设备自动为第一电话号码进行设置。一种可选的设置第一昵称的方式为:第一电子设备接收对第一电话号码进行编辑第一昵称的操作,得到第一昵称;存储第一电话号码与第一昵称。在具体实现过程中,第一电子设备用户可在第一电子设备的联系人详情中找到本端号码即第一电话号码,在姓名相关项中编辑第一昵称并保存。The first nickname may be preset by the user of the first electronic device, or may be automatically set by the first electronic device for the first phone number. An optional way of setting the first nickname is: the first electronic device receives the operation of editing the first nickname on the first phone number to obtain the first nickname; and stores the first phone number and the first nickname. In a specific implementation process, the user of the first electronic device can find the local number, that is, the first phone number, in the contact details of the first electronic device, edit the first nickname in the name-related item, and save it.
第一昵称不仅可在本端联系人详情中进行显示,还可以在第一电子设备与第二电子设备通话过程中,在第二电子设备的通话界面中显示。The first nickname can not only be displayed in the local contact details, but also can be displayed on the call interface of the second electronic device during the call between the first electronic device and the second electronic device.
步骤202:在第一电话号码存在第一昵称的情况下,第一电子设备生成包含第一昵称、第一电话号码以及第二电话号码的通话连接请求。Step 202: In a case where the first nickname exists for the first phone number, the first electronic device generates a call connection request including the first nickname, the first phone number, and the second phone number.
在第一电话号码不存在第一昵称的情况下,所生成的通话连接请求中则不包含第一昵称。In the case that the first nickname does not exist in the first phone number, the generated call connection request does not include the first nickname.
步骤203:第一电子设备发送通话连接请求至服务器。Step 203: The first electronic device sends a call connection request to the server.
服务器接收到通话连接请求后,从通话连接请求中解析出第二电话号码,将通话连接请求转发至第二电话号码绑定的第二电子设备。After receiving the call connection request, the server parses out the second phone number from the call connection request, and forwards the call connection request to the second electronic device bound to the second phone number.
第二电子设备接收到通话连接请求后,与第一电子设备建立通话连接,并在通话界面中显示第一昵称。After receiving the call connection request, the second electronic device establishes a call connection with the first electronic device, and displays the first nickname in the call interface.
例如:第二电子设备中为第一电话号码预设有第三昵称,也即第一电话号码对第二电话而言为已知号码,则在第二电子设备的通话界面中对应显示第一昵称与第三昵称。若第二电子设备中未为第一电话号码预设第三昵称,也即第一电话号码对第二电话而言为陌生号码,则在第二电子设备的通话界面中对应显示第一昵称与第一电话号码。For example: a third nickname is preset for the first phone number in the second electronic device, that is, the first phone number is a known number for the second phone, and the first phone number is displayed on the call interface of the second electronic device. Nickname and third nickname. If the third nickname is not preset for the first phone number in the second electronic device, that is, the first phone number is an unfamiliar number for the second phone, the first nickname and the first nickname are displayed on the call interface of the second electronic device. The first phone number.
步骤204:在第二电话号码存在预设的第二昵称的情况下,第一电子设备接收服务器发送的通话连接响应信息。Step 204: In the case that the second phone number has a preset second nickname, the first electronic device receives the call connection response information sent by the server.
其中,通话连接响应信息中携带有第二昵称。Wherein, the call connection response message carries the second nickname.
第二电话号码为第二电子设备绑定的电话号码,第二昵称可由第二电子设备用户预先为第二电话号码进行设置,也可以由第二电子设备自动为第二电话号码进行设置。The second phone number is a phone number bound to the second electronic device. The second nickname can be set for the second phone number in advance by the user of the second electronic device, or can be automatically set for the second phone number by the second electronic device.
需要说明的是,在第二电话号码不存在预设的第二昵称的情况下,通话连接响应信息中不携带第二昵称。It should be noted that, in the case that there is no preset second nickname for the second phone number, the call connection response message does not carry the second nickname.
步骤205:第一电子设备确定第一电子设备中是否预设有第二电话号码对应的第三昵称;若是,执行步骤206;若否,执行步骤207。Step 205: The first electronic device determines whether the third nickname corresponding to the second phone number is preset in the first electronic device; if yes, execute step 206; if not, execute step 207.
若第一电子设备中预设有第二电话号码对应的第三昵称,说明第二电话号码对第一电话号码而言为已知号码;反之,若第一电子设备中未预设有第二电话号码对应的第三昵称,说明第二电话号码对第一电话号码而言为未知号码。If the third nickname corresponding to the second phone number is preset in the first electronic device, it means that the second phone number is a known number to the first phone number; on the contrary, if the second phone number is not preset in the first electronic device The third nickname corresponding to the phone number indicates that the second phone number is unknown to the first phone number.
步骤206:第一电子设备在通话界面中显示第二昵称以及第三昵称。Step 206: The first electronic device displays the second nickname and the third nickname on the call interface.
在第一电子设备的通话界面中显示第二昵称以及第三昵称,不仅可供第一用户依据自 身昵称设置确定通话对象的身份,还可以进一步了解到通话对象为其自身设置的趣味昵称,能够提升通话的趣味性。Displaying the second nickname and the third nickname in the call interface of the first electronic device not only allows the first user to determine the identity of the callee based on his own nickname settings, but also can further understand the interesting nicknames set by the callee for himself. Enhance the fun of the call.
例如:第一电子设备用户为用户A,第二电子设备用户为用户B,用户A与用户B都对彼此的号码编辑了昵称,若同时用户B设置了本端电话号码的昵称而用户A未设置本端电话号码的昵称。在用户A与用户B成功建立通话连接后,在用户A的第一电子设备通话界面中显示用户A对用户B编辑的昵称,以及用户B为第二电子设备的本端电话号码编辑的昵称;在用户B的第二电子设备通话界面中显示用户B对用户A编辑的昵称。For example: the user of the first electronic device is user A, and the user of the second electronic device is user B. Both user A and user B have edited their nicknames. If user B sets the nickname of the local phone number and user A does not Set the nickname of the local phone number. After user A and user B have successfully established a call connection, the nickname edited by user A for user B and the nickname edited by user B for the local phone number of the second electronic device are displayed in the call interface of user A's first electronic device; The nickname edited by user B to user A is displayed on the call interface of the second electronic device of user B.
例如:第一电子设备用户为用户A,第二电子设备用户为用户B,用户A与用户B都对彼此的号码编辑了昵称,若同时用户B设置了本端电话号码的昵称且用户A也设置本端电话号码的昵称。在用户A与用户B成功建立通话连接后,在用户A的第一电子设备通话界面中显示用户A对用户B编辑的昵称,以及用户B为第二电子设备的本端电话号码编辑的昵称;在用户B的第二电子设备通话界面中显示用户B对用户A编辑的昵称,以及用户A为第一电子设备本端电话号码编辑的昵称。For example: the user of the first electronic device is user A and the user of the second electronic device is user B. Both user A and user B have edited their nicknames for each other's numbers. At the same time, user B sets the nickname of the local phone number and user A also Set the nickname of the local phone number. After user A and user B have successfully established a call connection, the nickname edited by user A for user B and the nickname edited by user B for the local phone number of the second electronic device are displayed in the call interface of user A's first electronic device; In the call interface of the second electronic device of the user B, the nickname edited by the user B for the user A and the nickname edited by the user A for the local phone number of the first electronic device are displayed.
步骤207:第一电子设备在通话界面中显示第二昵称。Step 207: The first electronic device displays the second nickname on the call interface.
例如:第一电子设备用户为用户A,第二电子设备用户为用户B,用户A未对用户B的电话号码编辑昵称,用户B对用户A的电话号码编辑了昵称,若同时用户A设置了本端电话号码的昵称且用户B也设置了本端电话号码的昵称。在用户A与用户B成功建立通话连接后,在用户A的第一电子设备通话界面中显示用户B为第二电子设备本端编辑的昵称,在用户B的第二电子设备通话界面中显示用户B对用户A编辑的昵称,以及用户A为第一电子设备的本端电话号码编辑的昵称。For example: the first electronic device user is user A, the second electronic device user is user B, user A has not edited the nickname of user B's phone number, and user B has edited the nickname of user A's phone number. If user A has set it at the same time The nickname of the local phone number and user B has also set the nickname of the local phone number. After user A and user B have successfully established a call connection, the call interface of user A's first electronic device displays the nickname edited by user B as the local end of the second electronic device, and the call interface of user B's second electronic device displays the user The nickname edited by B for user A, and the nickname edited by user A for the local phone number of the first electronic device.
步骤204至步骤207以在第二电话号码存在预设的第二昵称的前提下进行的说明,在第二电话号码不存在预设的第二昵称的情况下,第一电子设备接收服务器发送的通话连接响应信息;确定第一电子设备中是否预设有第二电话号码对应的第三昵称;若是,在通话界面中显示第三昵称;若否,在通话界面中显示第二电话号码。 Steps 204 to 207 are described on the premise that the second phone number has a preset second nickname. In the case that the second phone number does not have a preset second nickname, the first electronic device receives the information sent by the server Call connection response information; determine whether the third nickname corresponding to the second phone number is preset in the first electronic device; if yes, display the third nickname in the call interface; if not, display the second phone number in the call interface.
例如:第一电子设备用户为用户A,第二电子设备用户为用户B,用户A与用户B都对彼此的号码编辑了昵称,若同时用户A设置了本端电话号码的昵称而用户B未设置本端电话号码的昵称。在用户A与用户B成功建立通话连接后,在用户A的第一电子设备通话界面中显示用户A对用户B编辑的昵称,在用户B的第二电子设备通话界面中显示用户B对用户A编辑的昵称,以及用户A为第一电子设备的本端电话号码编辑的昵称。For example: the user of the first electronic device is user A, and the user of the second electronic device is user B. Both user A and user B have edited their nicknames for each other's numbers. At the same time, user A sets the nickname of the local phone number and user B does not Set the nickname of the local phone number. After user A and user B have successfully established a call connection, the nickname edited by user A to user B is displayed in the call interface of user A's first electronic device, and user B is displayed in the call interface of user B's second electronic device. The edited nickname, and the nickname edited by user A for the local phone number of the first electronic device.
例如:第一电子设备用户为用户A,第二电子设备用户为用户B,用户A未对用户B的电话号码编辑昵称,用户B对用户A的电话号码编辑了昵称,用户A设置了本端电话号码的昵称而用户B未设置本端电话号码的昵称。在用户A与用户B成功建立通话连接后,在用户A的第一电子设备通话界面中显示用户B的电话号码,在用户B的第二电子设备通话界面中显示用户B对用户A编辑的昵称,以及用户A为第一电子设备的本端电话号码编辑的昵称。本发明实施例提供的通话处理方法,通过在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称;在第一电话号码存在昵称的情况下,生成包含第一昵称、第一电话号码以及第二电话号码的通话连接请求;发送通话连接请求至服务器,以使服务器将通话连接请求转发至第二电话号码绑定的第二电子设备,从而在第二电子设备上显示第一昵称,使得第二电子设备上显示的来电信息更加多 样化、趣味性强。不仅如此,第二电子设备发送至第一电子设备的通话连接响应信息中携带有第二电话号码绑定的第二昵称,第一电子设备接收到通话连接响应信息后从中解析出第二昵称显示在通话界面中,能够提升第一电子设备用户与第二电子设备用户二者的互动性,进一步提升通话趣味性。For example: the first electronic device user is user A, the second electronic device user is user B, user A has not edited the nickname of user B's phone number, user B has edited the nickname of user A's phone number, and user A has set the local terminal The nickname of the phone number and user B has not set the nickname of the local phone number. After user A and user B have successfully established a call connection, the phone number of user B is displayed in the call interface of user A's first electronic device, and the nickname edited by user B to user A is displayed in the call interface of user B's second electronic device , And the nickname edited by user A as the local phone number of the first electronic device. The call processing method provided by the embodiment of the present invention determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; when there is a nickname in the first phone number Next, generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, Therefore, the first nickname is displayed on the second electronic device, so that the incoming call information displayed on the second electronic device is more diversified and more interesting. Not only that, the call connection response message sent by the second electronic device to the first electronic device carries the second nickname bound to the second phone number, and the first electronic device parses out the second nickname after receiving the call connection response information. In the call interface, the interaction between the user of the first electronic device and the user of the second electronic device can be improved, and the fun of the call can be further enhanced.
实施例三Example three
参照图3,示出了本发明实施例三的一种通话处理方法的步骤流程图。Referring to FIG. 3, there is shown a flow chart of the steps of a call processing method according to the third embodiment of the present invention.
本发明实施例的通话处理方法应用于第二电子设备,包括以下步骤:The call processing method of the embodiment of the present invention is applied to a second electronic device and includes the following steps:
步骤301:第二电子设备接收服务器转发的通话连接请求。Step 301: The second electronic device receives the call connection request forwarded by the server.
其中,通话连接请求中携带有发送通话连接请求的第一电话号码、以及第一电话号码对应的第一昵称。Wherein, the call connection request carries the first phone number that sends the call connection request and the first nickname corresponding to the first phone number.
第一电子设备欲与第二电子设备进行通话连接时,第一电子设备通过该服务器向第二电子设备发送通话连接请求,第二电子设备接收到服务器转发的通话连接请求后,执行本发明实施例中所示的通话处理流程。When the first electronic device wants to make a call connection with the second electronic device, the first electronic device sends a call connection request to the second electronic device through the server, and after receiving the call connection request forwarded by the server, the second electronic device executes the implementation of the present invention The call processing flow shown in the example.
步骤302:第二电子设备响应于通话连接请求,与第一电子设备建立通话连接。Step 302: In response to the call connection request, the second electronic device establishes a call connection with the first electronic device.
第二电子设备与第一电子设备建立通话连接后,二者对应的用户可基于该通话连接进行通信。After the second electronic device and the first electronic device establish a call connection, users corresponding to the two can communicate based on the call connection.
步骤303:在本端中预设有第一电话号码对应的第四昵称的情况下,第二电子设备在通话界面中对应显示第一昵称以及第四昵称。Step 303: In the case where a fourth nickname corresponding to the first phone number is preset in the local terminal, the second electronic device correspondingly displays the first nickname and the fourth nickname in the call interface.
若第二电子设备中预设有第一电话号码对应的第四昵称,说明第一电话号码对于第二电子设备绑定的第二电话号码而言为已知号码;反之,若第二电子设备中未预设有第一电话号码对应的第四昵称,说明第一电话号码对于第二电子设备绑定的第二电话号码而言为未知号码。If the fourth nickname corresponding to the first phone number is preset in the second electronic device, it means that the first phone number is a known number for the second phone number bound to the second electronic device; otherwise, if the second electronic device There is no preset fourth nickname corresponding to the first phone number, which indicates that the first phone number is an unknown number for the second phone number bound to the second electronic device.
步骤304:第二电子设备确定本端绑定的第二电话号码是否存在预设的第二昵称。Step 304: The second electronic device determines whether the second phone number bound to the local end has a preset second nickname.
第二昵称可由第二电子设备用户预先为第二电话号码进行设置,也可以由第二电子设备自动为第二电话号码进行设置。第二昵称为第二电子设备用户为自身设置的趣味昵称。The second nickname may be set for the second phone number in advance by the user of the second electronic device, or may be automatically set for the second phone number by the second electronic device. The second nickname is an interesting nickname set for the user of the second electronic device.
步骤305:在第二电话号码存在预设的第二昵称的情况下,第二电子设备生成包含第二昵称以及第一电话号码的通话连接响应信息。Step 305: In the case that the second phone number has a preset second nickname, the second electronic device generates call connection response information including the second nickname and the first phone number.
需要说明的是,在第二电话号码不存在预设的第二昵称的情况下,通话连接响应信息中不携带第二昵称。It should be noted that, in the case that there is no preset second nickname for the second phone number, the call connection response message does not carry the second nickname.
步骤306:第二电子设备发送通话连接响应信息至服务器。Step 306: The second electronic device sends call connection response information to the server.
服务器接收到第二电子设备发送的通话连接响应信息后,将通话连接响应信息转发至第一电话号码绑定的第一电子设备。After receiving the call connection response information sent by the second electronic device, the server forwards the call connection response information to the first electronic device bound to the first phone number.
第一电子设备接收到通话连接响应信息后,判断第一电子设备中是否预设有第二电话号码对应的第三昵称;若是,第一电子设备在通话界面中对应显示第二昵称以及第三昵称;若否,第一电子设备在通话界面中显示第二昵称。After receiving the call connection response information, the first electronic device determines whether the third nickname corresponding to the second phone number is preset in the first electronic device; if so, the first electronic device correspondingly displays the second nickname and the third nickname on the call interface. Nickname; if not, the first electronic device displays the second nickname in the call interface.
本发明实施例提供的通话处理方法,通过第二电子设备接收服务器转发的通话连接请求;第二电子设备响应于通话连接请求,与第一电子设备建立通话连接;在本端中预设有第一电话号码对应的第四昵称的情况下,第二电子设备在通话界面中对应显示第一昵称以及第四昵称;第二电子设备确定本端绑定的第二电话号码是否存在预设的第二昵称;在第 二电话号码存在预设的第二昵称的情况下,第二电子设备生成包含第二昵称以及第一电话号码的通话连接响应信息;第二电子设备发送通话连接响应信息至服务器。第一电子设备接收到通话连接响应信息后从中解析出第二昵称显示在通话界面中,能够提升第一电子设备用户与第二电子设备用户二者的互动性,进一步提升通话趣味性。In the call processing method provided by the embodiment of the present invention, the call connection request forwarded by the server is received by the second electronic device; the second electronic device establishes a call connection with the first electronic device in response to the call connection request; In the case of a fourth nickname corresponding to a phone number, the second electronic device correspondingly displays the first nickname and the fourth nickname in the call interface; the second electronic device determines whether the second phone number bound to the local terminal has a preset first nickname. Second nickname; in the case that the second phone number has a preset second nickname, the second electronic device generates call connection response information including the second nickname and the first phone number; the second electronic device sends the call connection response information to the server . After receiving the call connection response information, the first electronic device parses out the second nickname and displays it on the call interface, which can improve the interaction between the user of the first electronic device and the user of the second electronic device, and further enhance the fun of the call.
实施例四Example four
参照图4,示出了本发明实施例四的一种电子设备的结构框图。Referring to FIG. 4, a structural block diagram of an electronic device according to the fourth embodiment of the present invention is shown.
本发明实施例的电子设备400作为第一电子设备,其中,电子设备400包括:The electronic device 400 in the embodiment of the present invention serves as the first electronic device, where the electronic device 400 includes:
第一确定模块401,用于在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称,其中,所述第二电子设备绑定第二电话号码;The first determining module 401 is configured to determine whether there is a preset first nickname in the first phone number bound to the local end before establishing a call connection with the second electronic device, wherein the second electronic device is bound to the second phone number;
第一生成模块402,用于在所述第一电话号码存在第一昵称的情况下,生成包含所述第一昵称、所述第一电话号码以及所述第二电话号码的通话连接请求;The first generating module 402 is configured to generate a call connection request that includes the first nickname, the first phone number, and the second phone number when a first nickname exists for the first phone number;
第一发送模块403,用于发送所述通话连接请求至服务器,以使所述服务器将所述通话连接请求转发至所述第二电话号码绑定的第二电子设备。The first sending module 403 is configured to send the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
可选的,所述电子设备还包括:第一接收模块,用于在所述第一发送模块发送所述通话连接请求至服务器之后,在所述第二电话号码存在预设的第二昵称的情况下,接收所述服务器发送的通话连接响应信息,其中,所述通话连接响应信息中携带有所述第二昵称;第一昵称确定模块,用于确定所述第一电子设备中是否预设有所述第二电话号码对应的第三昵称;第一显示模块,用于若是,在通话界面中显示所述第二昵称以及所述第三昵称;第二显示模块,用于若否,在通话界面中显示所述第二昵称。Optionally, the electronic device further includes: a first receiving module, configured to: after the first sending module sends the call connection request to the server, when the second phone number has a preset second nickname In this case, the call connection response information sent by the server is received, wherein the call connection response information carries the second nickname; the first nickname determination module is used to determine whether the first electronic device is preset There is a third nickname corresponding to the second phone number; the first display module is used to display the second nickname and the third nickname in the call interface if it is; the second display module is used to display the second nickname and the third nickname in the call interface; The second nickname is displayed on the call interface.
可选的,所述电子设备还包括:操作接收模块,用于在所述第一确定模块在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称之前,接收对所述第一电话号码进行编辑第一昵称的操作,得到所述第一昵称;存储模块,用于存储所述第一电话号码与所述第一昵称。Optionally, the electronic device further includes: an operation receiving module, configured to determine whether there is a preset first phone number bound to the local end before the first determining module establishes a call connection with the second electronic device Before the first nickname, receiving an operation of editing the first nickname on the first phone number to obtain the first nickname; the storage module is configured to store the first phone number and the first nickname.
可选的,所述电子设备还包括:响应信息接收模块,用于在所述第一发送模块发送所述通话连接请求至服务器之后,在所述第二电话号码不存在预设的第二昵称的情况下,接收所述服务器发送的通话连接响应信息;第二昵称确定模块,用于确定所述第一电子设备中是否预设有所述第二电话号码对应的第三昵称;第三显示模块,用于若是,在通话界面中显示所述第三昵称;第四显示模块,用于若否,在通话界面中显示所述第二电话号码。Optionally, the electronic device further includes: a response information receiving module, configured to: after the first sending module sends the call connection request to the server, the second phone number does not have a preset second nickname In the case of receiving the call connection response information sent by the server; a second nickname determining module, configured to determine whether a third nickname corresponding to the second phone number is preset in the first electronic device; and a third display The module is used to display the third nickname in the call interface if yes; the fourth display module is used to display the second phone number in the call interface if not.
本发明实施例提供的电子设备能够实现上述图1至图2中所示的方法实施例中的通话处理方法的各个过程,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present invention can implement each process of the call processing method in the method embodiment shown in FIG. 1 to FIG. 2. To avoid repetition, details are not described herein again.
本发明实施例提供的电子设备,通过在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称;在第一电话号码存在昵称的情况下,生成包含第一昵称、第一电话号码以及第二电话号码的通话连接请求;发送通话连接请求至服务器,以使服务器将通话连接请求转发至第二电话号码绑定的第二电子设备,从而在第二电子设备上显示第一昵称,使得第二电子设备上显示的来电信息更加多样化、趣味性强。The electronic device provided by the embodiment of the present invention determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; in the case that the first phone number has a nickname , Generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, thereby Displaying the first nickname on the second electronic device makes the incoming call information displayed on the second electronic device more diversified and more interesting.
实施例五Example five
参照图5,示出了本发明实施例五的一种电子设备的结构框图。Referring to FIG. 5, there is shown a structural block diagram of an electronic device according to the fifth embodiment of the present invention.
本发明实施例的电子设备500作为第二电子设备,其中,电子设备500包括:The electronic device 500 in the embodiment of the present invention serves as the second electronic device, where the electronic device 500 includes:
第二接收模块501,用于接收服务器转发的通话连接请求,其中,所述通话连接请求 中携带有发送所述通话连接请求的第一电话号码、以及所述第一电话号码对应的第一昵称;The second receiving module 501 is configured to receive a call connection request forwarded by a server, wherein the call connection request carries the first phone number that sends the call connection request and the first nickname corresponding to the first phone number ;
连接建立模块502,用于响应于所述通话连接请求,与所述第一电子设备建立通话连接;The connection establishment module 502 is configured to establish a call connection with the first electronic device in response to the call connection request;
第五显示模块503,用于在本端中预设有所述第一电话号码对应的第四昵称的情况下,在通话界面中对应显示所述第一昵称以及所述第四昵称;The fifth display module 503 is configured to display the first nickname and the fourth nickname in the call interface when the fourth nickname corresponding to the first phone number is preset in the local terminal;
第二确定模块504,用于确定本端绑定的第二电话号码是否存在预设的第二昵称;The second determining module 504 is configured to determine whether the second phone number bound to the local end has a preset second nickname;
第二生成模块505,用于在所述第二电话号码存在预设的第二昵称的情况下,生成包含所述第二昵称以及所述第一电话号码的通话连接响应信息;The second generating module 505 is configured to generate call connection response information including the second nickname and the first phone number when the preset second nickname exists for the second phone number;
第二发送模块506,用于发送所述通话连接响应信息至所述服务器,以使所述服务器将所述通话连接响应信息转发至所述第一电话号码绑定的所述第一电子设备。The second sending module 506 is configured to send the call connection response information to the server, so that the server forwards the call connection response information to the first electronic device bound to the first phone number.
本发明实施例提供的电子设备能够实现上述图3中所示的方法实施例中的通话处理方法的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present invention can implement each process of the call processing method in the method embodiment shown in FIG.
本发明实施例提供的电子设备,通过第二电子设备接收服务器转发的通话连接请求;第二电子设备响应于通话连接请求,与第一电子设备建立通话连接;在本端中预设有第一电话号码对应的第四昵称的情况下,第二电子设备在通话界面中对应显示第一昵称以及第四昵称;第二电子设备确定本端绑定的第二电话号码是否存在预设的第二昵称;在第二电话号码存在预设的第二昵称的情况下,第二电子设备生成包含第二昵称以及第一电话号码的通话连接响应信息;第二电子设备发送通话连接响应信息至服务器。第一电子设备接收到通话连接响应信息后从中解析出第二昵称显示在通话界面中,能够提升第一电子设备用户与第二电子设备用户二者的互动性,进一步提升通话趣味性。The electronic device provided by the embodiment of the present invention receives the call connection request forwarded by the server through the second electronic device; the second electronic device establishes a call connection with the first electronic device in response to the call connection request; the first electronic device is preset in the local end In the case of the fourth nickname corresponding to the phone number, the second electronic device correspondingly displays the first nickname and the fourth nickname in the call interface; the second electronic device determines whether the second phone number bound to the local terminal has a preset second nickname. Nickname; in the case that the second phone number has a preset second nickname, the second electronic device generates call connection response information including the second nickname and the first phone number; the second electronic device sends the call connection response information to the server. After receiving the call connection response information, the first electronic device parses out the second nickname and displays it on the call interface, which can improve the interaction between the user of the first electronic device and the user of the second electronic device, and further enhance the fun of the call.
实施例六Example Six
参照图6,示出了本发明实施例六的一种电子设备的结构框图。Referring to FIG. 6, a structural block diagram of an electronic device according to the sixth embodiment of the present invention is shown.
图6为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。本发明实施例提供的电子设备作为第一电子设备与各第二电子设备之间进行交互,对图像进行处理。6 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, and a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, a power supply 611 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers. The electronic device provided by the embodiment of the present invention is used as a first electronic device to interact with each second electronic device to process images.
其中,处理器610,可用于在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称;在所述第一电话号码存在第一昵称的情况下,生成包含所述第一昵称、所述第一电话号码以及第二电话号码的通话连接请求;其中,所述第二电子设备绑定所述第二电话号码;The processor 610 may be configured to determine whether there is a preset first nickname in the first phone number bound to the second electronic device before establishing a call connection with the second electronic device; where the first nickname exists in the first phone number In a case, generating a call connection request including the first nickname, the first phone number, and the second phone number; wherein the second electronic device is bound to the second phone number;
射频单元601,可用于发送所述通话连接请求至服务器,以使所述服务器将所述通话连接请求转发至所述第二电话号码绑定的第二电子设备。The radio frequency unit 601 may be used to send the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
或者,or,
射频单元601,可用于接收服务器转发的通话连接请求,其中,所述通话连接请求中携带有发送所述通话连接请求的第一电话号码、以及所述第一电话号码对应的第一昵称;The radio frequency unit 601 can be used to receive a call connection request forwarded by a server, where the call connection request carries a first phone number that sends the call connection request and a first nickname corresponding to the first phone number;
处理器610,可用于响应于所述通话连接请求,与所述第一电子设备建立通话连接;在本端中预设有所述第一电话号码对应的第四昵称的情况下,在通话界面中对应显示所述第一昵称以及所述第四昵称;确定本端绑定的第二电话号码是否存在预设的第二昵称;在所述第二电话号码存在预设的第二昵称的情况下,生成包含所述第二昵称以及所述第一电话号码的通话连接响应信息;The processor 610 may be configured to establish a call connection with the first electronic device in response to the call connection request; when a fourth nickname corresponding to the first phone number is preset in the local terminal, in the call interface Correspondingly display the first nickname and the fourth nickname; determine whether the second phone number bound to the local end has a preset second nickname; when the second phone number has a preset second nickname Next, generate call connection response information including the second nickname and the first phone number;
射频单元601,还可用于发送所述通话连接响应信息至所述服务器,以使所述服务器将所述通话连接响应信息转发至所述第一电话号码绑定的所述第一电子设备。The radio frequency unit 601 may also be used to send the call connection response information to the server, so that the server forwards the call connection response information to the first electronic device bound to the first phone number.
本发明实施例提供的电子设备,通过在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称;在第一电话号码存在昵称的情况下,生成包含第一昵称、第一电话号码以及第二电话号码的通话连接请求;发送通话连接请求至服务器,以使服务器将通话连接请求转发至第二电话号码绑定的第二电子设备,从而在第二电子设备上显示第一昵称,使得第二电子设备上显示的来电信息更加多样化、趣味性强。不仅如此,第二电子设备发送至第一电子设备的通话连接响应信息中携带有第二电话号码绑定的第二昵称,第一电子设备接收到通话连接响应信息后从中解析出第二昵称显示在通话界面中,能够提升第一电子设备用户与第二电子设备用户二者的互动性,进一步提升通话趣味性。The electronic device provided by the embodiment of the present invention determines whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device; in the case that the first phone number has a nickname , Generate a call connection request including the first nickname, the first phone number, and the second phone number; send the call connection request to the server, so that the server forwards the call connection request to the second electronic device bound to the second phone number, thereby Displaying the first nickname on the second electronic device makes the incoming call information displayed on the second electronic device more diversified and more interesting. Not only that, the call connection response message sent by the second electronic device to the first electronic device carries the second nickname bound to the second phone number, and the first electronic device parses out the second nickname after receiving the call connection response information. In the call interface, the interaction between the user of the first electronic device and the user of the second electronic device can be improved, and the fun of the call can be further enhanced.
应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and sent to the processor 610 for processing; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与电子设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The audio output unit 603 can convert the audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sounds. Moreover, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic device 600 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The input unit 604 is used to receive audio or video signals. The input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. The graphics processor 6041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame may be displayed on the display unit 606. The image frame processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 601 for output in the case of a telephone call mode.
电子设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在电子设备600移动到耳边时,关闭显示面板6061和/或背光。显示面板601为柔性显示屏,柔性显示屏包括依次叠加设置的屏幕底座、可升降模块阵列以及柔性屏幕。作为运动传感器的一种,加速计传感器可 检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light. The proximity sensor can close the display panel 6061 and the display panel 6061 when the electronic device 600 is moved to the ear. / Or backlight. The display panel 601 is a flexible display screen, and the flexible display screen includes a screen base, a liftable module array, and a flexible screen that are sequentially superimposed. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元607可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 607 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 6071 or near the touch panel 6071. operate). The touch panel 6071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 610, the command sent by the processor 610 is received and executed. In addition, the touch panel 6071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 6071, the user input unit 607 may also include other input devices 6072. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 6071 can cover the display panel 6061. When the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 6061. Although in FIG. 6, the touch panel 6071 and the display panel 6061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元608为外部装置与电子设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备600内的一个或多个元件或者可以用于在电子设备600和外部装置之间传输数据。The interface unit 608 is an interface for connecting an external device and the electronic device 600. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 608 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 600 or can be used to connect the electronic device 600 to an external device. Transfer data between devices.
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器610是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调 处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 609, and calls the data stored in the memory 609. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
电子设备600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 600 may also include a power source 611 (such as a battery) for supplying power to various components. Preferably, the power source 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备600包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 600 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述通话处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 610, a memory 609, and a computer program stored on the memory 609 and running on the processor 610. When the computer program is executed by the processor 610, Each process of the foregoing call processing method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述通话处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned call processing method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (12)

  1. 一种通话处理方法,应用于第一电子设备,所述方法包括:A call processing method applied to a first electronic device, the method including:
    在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称,其中,所述第二电子设备绑定第二电话号码;Before establishing a call connection with the second electronic device, determine whether the first phone number bound to the local end has a preset first nickname, wherein the second electronic device is bound to the second phone number;
    在所述第一电话号码存在第一昵称的情况下,生成包含所述第一昵称、所述第一电话号码以及所述第二电话号码的通话连接请求;In the case where a first nickname exists for the first phone number, generating a call connection request including the first nickname, the first phone number, and the second phone number;
    发送所述通话连接请求至服务器,以使所述服务器将所述通话连接请求转发至所述第二电话号码绑定的第二电子设备。Sending the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
  2. 根据权利要求1所述的方法,其中,在所述发送所述通话连接请求至服务器的步骤之后,所述方法还包括:The method according to claim 1, wherein, after the step of sending the call connection request to the server, the method further comprises:
    在所述第二电话号码存在预设的第二昵称的情况下,接收所述服务器发送的通话连接响应信息,其中,所述通话连接响应信息中携带有所述第二昵称;In the case that the second phone number has a preset second nickname, receiving call connection response information sent by the server, wherein the call connection response information carries the second nickname;
    确定所述第一电子设备中是否预设有所述第二电话号码对应的第三昵称;Determining whether a third nickname corresponding to the second phone number is preset in the first electronic device;
    若是,在通话界面中显示所述第二昵称以及所述第三昵称;If yes, display the second nickname and the third nickname in the call interface;
    若否,在通话界面中显示所述第二昵称。If not, display the second nickname in the call interface.
  3. 根据权利要求1所述的方法,其中,在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称的步骤之前,所述方法还包括:The method according to claim 1, wherein before establishing a call connection with the second electronic device, before the step of determining whether there is a preset first nickname in the first phone number bound to the local end, the method further comprises:
    接收对所述第一电话号码进行编辑第一昵称的操作,得到所述第一昵称;Receiving an operation of editing a first nickname on the first phone number to obtain the first nickname;
    存储所述第一电话号码与所述第一昵称。Store the first telephone number and the first nickname.
  4. 根据权利要求1所述的方法,在所述发送所述通话连接请求至服务器的步骤之后,所述方法还包括:The method according to claim 1, after the step of sending the call connection request to the server, the method further comprises:
    在所述第二电话号码不存在预设的第二昵称的情况下,接收所述服务器发送的通话连接响应信息;In the case that the second phone number does not have a preset second nickname, receiving call connection response information sent by the server;
    确定所述第一电子设备中是否预设有所述第二电话号码对应的第三昵称;Determining whether a third nickname corresponding to the second phone number is preset in the first electronic device;
    若是,在通话界面中显示所述第三昵称;If yes, display the third nickname in the call interface;
    若否,在通话界面中显示所述第二电话号码。If not, display the second phone number in the call interface.
  5. 一种通话处理方法,应用于第二电子设备,所述方法包括:A call processing method applied to a second electronic device, the method including:
    接收服务器转发的通话连接请求,其中,所述通话连接请求中携带有发送所述通话连接请求的第一电话号码、以及所述第一电话号码对应的第一昵称;Receiving a call connection request forwarded by a server, wherein the call connection request carries a first phone number that sends the call connection request and a first nickname corresponding to the first phone number;
    响应于所述通话连接请求,与第一电子设备建立通话连接;In response to the call connection request, establishing a call connection with the first electronic device;
    在本端中预设有所述第一电话号码对应的第四昵称的情况下,在通话界面中对应显示所述第一昵称以及所述第四昵称;In the case that a fourth nickname corresponding to the first phone number is preset in the local terminal, the first nickname and the fourth nickname are correspondingly displayed in the call interface;
    确定本端绑定的第二电话号码是否存在预设的第二昵称;Determine whether the second phone number bound to the local end has a preset second nickname;
    在所述第二电话号码存在预设的第二昵称的情况下,生成包含所述第二昵称以及所述第一电话号码的通话连接响应信息;In the case that there is a preset second nickname for the second phone number, generating call connection response information including the second nickname and the first phone number;
    发送所述通话连接响应信息至所述服务器,以使所述服务器将所述通话连接响应信息转发至所述第一电话号码绑定的所述第一电子设备。Sending the call connection response information to the server, so that the server forwards the call connection response information to the first electronic device bound to the first phone number.
  6. 一种电子设备,所述电子设备作为第一电子设备,所述第一电子设备包括:An electronic device, which serves as a first electronic device, and the first electronic device includes:
    第一确定模块,用于在与第二电子设备建立通话连接前,确定本端绑定的第一电 话号码是否存在预设的第一昵称,其中,所述第二电子设备绑定第二电话号码;The first determining module is configured to determine whether the first phone number bound to the local end has a preset first nickname before establishing a call connection with the second electronic device, wherein the second electronic device is bound to the second phone Number;
    第一生成模块,用于在所述第一电话号码存在第一昵称的情况下,生成包含所述第一昵称、所述第一电话号码以及所述第二电话号码的通话连接请求;A first generating module, configured to generate a call connection request including the first nickname, the first phone number, and the second phone number when a first nickname exists for the first phone number;
    第一发送模块,用于发送所述通话连接请求至服务器,以使所述服务器将所述通话连接请求转发至所述第二电话号码绑定的第二电子设备。The first sending module is configured to send the call connection request to a server, so that the server forwards the call connection request to the second electronic device bound to the second phone number.
  7. 根据权利要求6所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 6, wherein the electronic device further comprises:
    第一接收模块,用于在所述第一发送模块发送所述通话连接请求至服务器之后,在所述第二电话号码存在预设的第二昵称的情况下,接收所述服务器发送的通话连接响应信息,其中,所述通话连接响应信息中携带有所述第二昵称;The first receiving module is configured to receive the call connection sent by the server when the second phone number has a preset second nickname after the first sending module sends the call connection request to the server Response information, wherein the call connection response information carries the second nickname;
    第一昵称确定模块,用于确定所述第一电子设备中是否预设有所述第二电话号码对应的第三昵称;A first nickname determining module, configured to determine whether a third nickname corresponding to the second phone number is preset in the first electronic device;
    第一显示模块,用于若是,在通话界面中显示所述第二昵称以及所述第三昵称;The first display module is configured to, if yes, display the second nickname and the third nickname in the call interface;
    第二显示模块,用于若否,在通话界面中显示所述第二昵称。The second display module is used for displaying the second nickname on the call interface if not.
  8. 根据权利要求6所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 6, wherein the electronic device further comprises:
    操作接收模块,用于在所述第一确定模块在与第二电子设备建立通话连接前,确定本端绑定的第一电话号码是否存在预设的第一昵称之前,接收对所述第一电话号码进行编辑第一昵称的操作,得到所述第一昵称;The operation receiving module is configured to receive a response to the first nickname before the first determining module establishes a call connection with the second electronic device and determines whether the first phone number bound to the local end has a preset first nickname. Edit the first nickname with the phone number to obtain the first nickname;
    存储模块,用于存储所述第一电话号码与所述第一昵称。The storage module is used to store the first telephone number and the first nickname.
  9. 根据权利要求6所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 6, wherein the electronic device further comprises:
    响应信息接收模块,用于在所述第一发送模块发送所述通话连接请求至服务器之后,在所述第二电话号码不存在预设的第二昵称的情况下,接收所述服务器发送的通话连接响应信息;The response information receiving module is configured to receive the call sent by the server when the second phone number does not have a preset second nickname after the first sending module sends the call connection request to the server Connection response information;
    第二昵称确定模块,用于确定所述第一电子设备中是否预设有所述第二电话号码对应的第三昵称;A second nickname determining module, configured to determine whether a third nickname corresponding to the second phone number is preset in the first electronic device;
    第三显示模块,用于若是,在通话界面中显示所述第三昵称;The third display module is configured to, if yes, display the third nickname in the call interface;
    第四显示模块,用于若否,在通话界面中显示所述第二电话号码。The fourth display module is used for displaying the second phone number in the call interface if not.
  10. 一种电子设备,所述电子设备作为第二电子设备,所述第二电子设备包括:An electronic device that serves as a second electronic device, and the second electronic device includes:
    第二接收模块,用于接收服务器转发的通话连接请求,其中,所述通话连接请求中携带有发送所述通话连接请求的第一电话号码、以及所述第一电话号码对应的第一昵称;The second receiving module is configured to receive the call connection request forwarded by the server, wherein the call connection request carries the first phone number that sends the call connection request and the first nickname corresponding to the first phone number;
    连接建立模块,用于响应于所述通话连接请求,与第一电子设备建立通话连接;The connection establishment module is configured to establish a call connection with the first electronic device in response to the call connection request;
    第五显示模块,用于在本端中预设有所述第一电话号码对应的第四昵称的情况下,在通话界面中对应显示所述第一昵称以及所述第四昵称;The fifth display module is configured to display the first nickname and the fourth nickname in the call interface when the fourth nickname corresponding to the first phone number is preset in the local terminal;
    第二确定模块,用于确定本端绑定的第二电话号码是否存在预设的第二昵称;The second determining module is used to determine whether there is a preset second nickname in the second phone number bound to the local end;
    第二生成模块,用于在所述第二电话号码存在预设的第二昵称的情况下,生成包含所述第二昵称以及所述第一电话号码的通话连接响应信息;A second generating module, configured to generate call connection response information including the second nickname and the first phone number in the case that a preset second nickname exists for the second phone number;
    第二发送模块,用于发送所述通话连接响应信息至所述服务器,以使所述服务器将所述通话连接响应信息转发至所述第一电话号码绑定的所述第一电子设备。The second sending module is configured to send the call connection response information to the server, so that the server forwards the call connection response information to the first electronic device bound to the first phone number.
  11. 一种电子设备,包括处理器,存储器,存储在所述存储器上并可在所述处理 器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至4中任一项所述的通话处理方法的步骤,或者,实现如权利要求5所述的通话处理方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 4 One of the steps of the call processing method, or the steps of implementing the call processing method of claim 5.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的通话处理方法的步骤,或者,实现如权利要求5所述的通话处理方法的步骤。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the call processing method according to any one of claims 1 to 4 are implemented, Or, implement the steps of the call processing method according to claim 5.
PCT/CN2021/081611 2020-03-20 2021-03-18 Call processing method and electronic device WO2021185325A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010203161.6A CN111416912A (en) 2020-03-20 2020-03-20 Call processing method and electronic equipment
CN202010203161.6 2020-03-20

Publications (1)

Publication Number Publication Date
WO2021185325A1 true WO2021185325A1 (en) 2021-09-23

Family

ID=71493207

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081611 WO2021185325A1 (en) 2020-03-20 2021-03-18 Call processing method and electronic device

Country Status (2)

Country Link
CN (1) CN111416912A (en)
WO (1) WO2021185325A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416912A (en) * 2020-03-20 2020-07-14 维沃移动通信有限公司 Call processing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882136A (en) * 2005-06-17 2006-12-20 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with nickname transmission function and working method thereof
US20090106383A1 (en) * 2006-06-28 2009-04-23 Huawei Technologies Co., Ltd. Method and apparatus for individualizing nicknames in message
CN101521865A (en) * 2008-11-28 2009-09-02 北京和信锐智科技有限公司 Method and system for multimedia individualized call
CN108694168A (en) * 2018-05-11 2018-10-23 深圳云之家网络有限公司 A kind of address processing method and processing device, computer installation and readable storage medium storing program for executing
CN111416912A (en) * 2020-03-20 2020-07-14 维沃移动通信有限公司 Call processing method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101135226B1 (en) * 2005-02-07 2012-04-12 에스케이 텔레콤주식회사 Apparatus And Method For Outputting Caller Information By Using Voice
CN100499890C (en) * 2006-03-29 2009-06-10 李爽 Calling greeting service apparatus and method based on customized ring back tone of called telephone
CN105100355A (en) * 2015-08-31 2015-11-25 小米科技有限责任公司 Method and device for identifying calling user

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882136A (en) * 2005-06-17 2006-12-20 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with nickname transmission function and working method thereof
US20090106383A1 (en) * 2006-06-28 2009-04-23 Huawei Technologies Co., Ltd. Method and apparatus for individualizing nicknames in message
CN101521865A (en) * 2008-11-28 2009-09-02 北京和信锐智科技有限公司 Method and system for multimedia individualized call
CN108694168A (en) * 2018-05-11 2018-10-23 深圳云之家网络有限公司 A kind of address processing method and processing device, computer installation and readable storage medium storing program for executing
CN111416912A (en) * 2020-03-20 2020-07-14 维沃移动通信有限公司 Call processing method and electronic equipment

Also Published As

Publication number Publication date
CN111416912A (en) 2020-07-14

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021109907A1 (en) Application sharing method, first electronic device and computer-readable storage medium
CN108540655B (en) Caller identification processing method and mobile terminal
WO2019223494A1 (en) Screenshot capturing method and mobile terminal
WO2021098633A1 (en) Information display and transmission methods, and electronic device
CN109408168B (en) Remote interaction method and terminal equipment
WO2021017763A1 (en) Transaction processing method, terminal device, and computer-readable storage medium
WO2021147779A1 (en) Configuration information sharing method, terminal device and computer-readable storage medium
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2021109925A1 (en) Method for sharing application, electronic apparatus, and computer readable storage medium
WO2021129529A1 (en) Device switching method and related device
WO2020238449A1 (en) Notification message processing method and terminal
WO2019062364A1 (en) Display method and mobile terminal
WO2021109959A1 (en) Application sharing method and electronic device
WO2020199986A1 (en) Video call method and terminal device
WO2020156123A1 (en) Information processing method and terminal device
WO2021136106A1 (en) Group creation method, electronic device and server
WO2020063107A1 (en) Screenshot method and terminal
WO2021104251A1 (en) Control method and first electronic device
WO2021129771A1 (en) Application sharing method, first electronic device, and computer-readable storage medium
WO2021238844A1 (en) Audio output method and electronic device
WO2021104232A1 (en) Display method and electronic device
WO2021129835A1 (en) Volume control method and device, and computer-readable storage medium
WO2021115220A1 (en) Information sharing method, electronic device and computer-readable storage medium
WO2021129818A1 (en) Video playback method and electronic device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 22/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21771268

Country of ref document: EP

Kind code of ref document: A1