CN114338891B - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN114338891B
CN114338891B CN202011052313.3A CN202011052313A CN114338891B CN 114338891 B CN114338891 B CN 114338891B CN 202011052313 A CN202011052313 A CN 202011052313A CN 114338891 B CN114338891 B CN 114338891B
Authority
CN
China
Prior art keywords
communication request
contact
telephone number
number corresponding
app
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011052313.3A
Other languages
Chinese (zh)
Other versions
CN114338891A (en
Inventor
韩笑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011052313.3A priority Critical patent/CN114338891B/en
Publication of CN114338891A publication Critical patent/CN114338891A/en
Application granted granted Critical
Publication of CN114338891B publication Critical patent/CN114338891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The application discloses a communication method and a device, wherein in the method, when a terminal device starts a communication request of a first contact person without disturbing and allows the communication request to be prompted, the terminal device can determine a matching result of a telephone number corresponding to the communication request and a white list, and the white list comprises at least one telephone number corresponding to the first contact person. And if the telephone number corresponding to the communication request is matched with the white list, indicating that the telephone number corresponding to the communication request is one of the telephone numbers corresponding to the first contact, wherein the communication request is from the first contact. Because the first contact is a contact person with a contact way collected, it is generally considered that a user of the terminal device wishes to communicate with the first contact person, and in this case, the method provided by the embodiment of the application prompts the communication request, so as to avoid the user from missing the communication request.

Description

Communication method and device
Technical Field
The present application relates to the field of terminal devices, and in particular, to a communication method and apparatus.
Background
In daily life and daily life, sometimes the user of the mobile phone needs a quieter environment, for example in a meeting, in which case the user will typically turn the mobile phone into a tamper-free mode. After the no-disturbance mode is started, the incoming call and the notification of the mobile phone are always subjected to mute processing by the mobile phone, so that the interference brought by the ringing of the mobile phone to the mobile phone and the surrounding environment can be reduced.
However, in the no-disturb mode, if all incoming calls are muted, the user may miss important incoming calls. Therefore, the mobile phone still supports to ring after receiving the incoming call of the contact person collected by the mobile phone in the no-disturbance mode at present. For example, after the user sets the mobile phone to the no-disturb mode through the setting interface shown in fig. 1 (a), the user may further select the option of "only allowing to collect contacts" in the setting interface shown in fig. 1 (b), so that the mobile phone can still ring after receiving the incoming call of the collected contacts in the no-disturb mode.
In this case, after receiving an incoming call, the mobile phone will match and compare the telephone number of the incoming call with the telephone number of the contact person collected in the address book, and if the telephone number of the incoming call is the same as a certain telephone number collected in the address book, the mobile phone will ring, so as to avoid the user missing the incoming call.
However, a contact may have a plurality of phone numbers, and only some of the phone numbers are stored in the address book, in this case, the instant user sets a function of allowing the incoming call of the contact to ring in the no-disturbance mode, and if the contact uses a phone number that is not stored in the address book to make an incoming call, the mobile phone of the user still does not ring, so that the user misses the incoming call of the contact.
Disclosure of Invention
In the prior art, when the mobile phone is set to be free from disturbing and the call of the collected contact is allowed to ring, if the contact is in the call through the telephone number which is not stored, the mobile phone cannot ring, so that the user can miss the call of the contact. To solve this problem, an embodiment of the present application provides a communication method.
In a first aspect, an embodiment of the present application discloses a communication method, which is applied to a terminal device, and includes:
when a communication request of a first contact person is started and prompt is allowed, determining a matching result of a telephone number corresponding to the received communication request and a white list, wherein the first contact person stores the contact person with a contact way for the terminal equipment, and the white list comprises at least one telephone number corresponding to the first contact person;
and prompting the communication request when the matching result indicates that the telephone number corresponding to the communication request is matched with the white list.
By the scheme, after the terminal equipment collects the contact information of a certain contact person, even if the telephone number corresponding to the communication request sent by the contact person is not collected by the terminal equipment, the terminal equipment can prompt the communication request, so that the phenomenon that a user misses the communication request is effectively reduced.
In an alternative design, the communication request is an incoming call request, and the phone number corresponding to the communication request is the phone number of the incoming call request;
or the communication request is a communication request of a first application program APP, and the telephone number corresponding to the communication request is a telephone number bound by an initiator of the communication request at the first APP.
In an alternative design, the at least one phone number corresponding to the first contact includes at least one phone number bound by the first contact in the second APP;
and/or the number of the groups of groups,
at least one telephone number corresponding to the first contact is included in a third APP, and other contacts in a group which belong to the same group as the first contact are the telephone numbers bound in the third APP.
In an alternative design, the determining the matching result of the phone number corresponding to the communication request and the white list includes:
comparing the telephone number corresponding to the communication request with at least one telephone number corresponding to the first contact included in the white list;
and if the telephone number corresponding to the communication request is the same as one telephone number corresponding to the first contact person, determining that the telephone number corresponding to the communication request is matched with the white list.
Through the scheme, the terminal device receiving the communication request can compare the telephone number corresponding to the communication request with at least one telephone number corresponding to the first contact included in the white list, and the matching result is obtained according to the telephone number.
In an alternative design, the determining the matching result of the phone number corresponding to the communication request and the white list includes:
transmitting a telephone number corresponding to the communication request to a target server, and acquiring a matching result transmitted by the target server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP.
Through the scheme, the target server can compare the telephone number corresponding to the communication request with at least one telephone number corresponding to the first contact included in the white list, the matching result is obtained according to the telephone number, and the target server transmits the matching result, so that the terminal device receiving the communication request obtains the matching result.
In an alternative design, the communication request is a communication request of the first APP, and further includes:
transmitting the white list to a first server of the first APP, or transmitting a first instruction, wherein the first instruction is used for instructing a target server to transmit the white list to the first server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP;
the determining the matching result of the telephone number corresponding to the communication request and the white list comprises the following steps:
and receiving a matching instruction transmitted by the first server, and determining the matching result according to the matching instruction, wherein the matching instruction is used for indicating the matching result of the telephone number corresponding to the communication request and the white list.
Through the scheme, the first server can compare the telephone number corresponding to the communication request with at least one telephone number corresponding to the first contact included in the white list and transmit a corresponding matching instruction, so that the terminal device receiving the communication request determines the matching result according to the matching instruction.
In an alternative design, the match indication is loaded in a communication request of the first APP.
In an alternative design, the communication request is a communication request of the first APP, and further includes:
determining whether to collect the telephone number corresponding to the communication request;
and if the telephone number corresponding to the communication request is not collected, transmitting the white list or transmitting the first instruction to a first server of the first APP.
In an alternative design, the communication request is an incoming call request, and further includes:
after receiving the communication request, determining the type of the telephone number of the incoming call request marked by the marking platform through feedback of the marking platform;
the type of the telephone number of the incoming call request is a target type, and the communication request is prompted.
By the scheme, whether the communication request is prompted can be determined according to the type of the telephone number of the incoming call request, so that the user of the terminal equipment is further prevented from missing the communication request.
In an alternative design, the prompting the communication request includes:
and simultaneously ringing and/or vibrating, displaying the contact way of the terminal equipment for collecting the first target contact, setting a name for the first target contact, and/or displaying the source of the communication request, wherein the first target contact is the first contact indicated by the telephone number corresponding to the communication request.
In a second aspect, an embodiment of the present application provides a communication method, including:
acquiring a white list, wherein the white list comprises at least one telephone number corresponding to a first contact, and the first contact is a contact with a contact way collected by terminal equipment;
if a communication request needs to be transmitted, generating a matching instruction according to a matching result of the telephone number corresponding to the communication request and the white list;
transmitting the communication request and the match indication.
In a third aspect, an embodiment of the present application provides a communication apparatus, applied to a terminal device, including:
a transceiver unit for receiving a communication request;
the processing unit is used for determining a matching result of a telephone number corresponding to a received communication request and a white list when the communication request of a first contact is started and the communication request of the first contact is allowed to be prompted, wherein the first contact is a contact in which a contact way is collected for the terminal equipment, and the white list comprises at least one telephone number corresponding to the first contact;
And when the matching result indicates that the telephone number corresponding to the communication request is matched with the white list, the processing unit is further used for prompting the communication request.
In an alternative design, the communication request is an incoming call request, and the phone number corresponding to the communication request is the phone number of the incoming call request;
or the communication request is a communication request of a first application program APP, and the telephone number corresponding to the communication request is a telephone number bound by an initiator of the communication request at the first APP.
In an alternative design, the at least one phone number corresponding to the first contact includes at least one phone number bound by the first contact in the second APP;
and/or the number of the groups of groups,
at least one telephone number corresponding to the first contact is included in a third APP, and other contacts in a group which belong to the same group as the first contact are the telephone numbers bound in the third APP.
In an alternative design, the processing unit is specifically configured to compare the phone number corresponding to the communication request with at least one phone number corresponding to the first contact included in the whitelist, and determine that the phone number corresponding to the communication request matches the whitelist if the phone number corresponding to the communication request is the same as one phone number corresponding to the first contact.
In an optional design, the transceiver unit is specifically configured to transmit a phone number corresponding to the communication request to a target server, and obtain a matching result transmitted by the target server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP.
In an optional design, the communication request is a communication request of a first APP, and the transceiver unit is further configured to transmit the whitelist to a first server of the first APP, or transmit a first instruction, where the first instruction is used to instruct a target server to transmit the whitelist to the first server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP;
The processing unit is specifically configured to determine, after the transceiver unit receives the matching instruction transmitted by the first server, the matching result according to the matching instruction, where the matching instruction is used to indicate a matching result of the phone number corresponding to the communication request and the white list.
In an optional design, the communication request is a communication request of the first APP, and the processing unit is further configured to determine whether to collect a phone number corresponding to the communication request;
and if the telephone number corresponding to the communication request is not collected, transmitting the white list or transmitting the first instruction to a first server of the first APP by the receiving-transmitting unit.
In an optional design, the communication request is an incoming call request, and the processing unit is further configured to determine, after the transceiver unit receives the communication request, a type of a phone number of the incoming call request marked by the marking platform through feedback of the marking platform;
the type of the telephone number of the incoming call request is a target type, and the communication request is prompted.
In an optional design, the processing unit is specifically configured to display, while ringing and/or vibrating, a contact way of a first target contact for collection of the terminal device, a name set for the first target contact, and/or display a source of the communication request, where the first target contact is a first contact indicated by a phone number corresponding to the communication request.
In a fourth aspect, an embodiment of the present application provides a communication apparatus, including:
a transceiver unit and a processing unit;
the receiving and transmitting unit is used for acquiring a white list, the white list comprises at least one telephone number corresponding to a first contact, and the first contact is a contact with a contact way collected by terminal equipment;
if the communication request needs to be transmitted, the processing unit is used for generating a matching instruction according to a matching result of the telephone number corresponding to the communication request and the white list;
the transceiver unit is further configured to transmit the communication request and the match indication.
In a fifth aspect, an embodiment of the present application provides a terminal apparatus, including:
at least one processor and a memory, the at least one processor,
the memory is used for storing program instructions;
the processor is configured to invoke and execute the program instructions stored in the memory, so that the terminal device executes the communication method according to the first aspect.
In a sixth aspect, an embodiment of the present application provides a terminal apparatus, including:
at least one processor and a memory, the at least one processor,
the memory is used for storing program instructions;
the processor is configured to invoke and execute the program instructions stored in the memory, so that the terminal device executes the communication method according to the second aspect.
In a seventh aspect, embodiments of the present application provide a computer-readable storage medium,
the computer readable storage medium has instructions stored therein which, when run on a computer, cause the computer to perform the method according to the first aspect.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium,
the computer readable storage medium has instructions stored therein which, when run on a computer, cause the computer to perform the method according to the second aspect.
In a ninth aspect, embodiments of the present application provide a computer program product comprising instructions which, when run on an electronic device, cause the electronic device to perform the method according to the first aspect.
In a tenth aspect, embodiments of the present application provide a computer program product comprising instructions which, when run on an electronic device, cause the electronic device to perform the method according to the second aspect.
The embodiment of the application provides a communication method and a communication device, wherein when a terminal device starts a communication request of a first contact person without disturbing and allows prompting, the terminal device can determine a matching result of a telephone number corresponding to the communication request and a white list, and the white list comprises at least one telephone number corresponding to the first contact person. And if the telephone number corresponding to the communication request is matched with the white list, indicating that the telephone number corresponding to the communication request is one of the telephone numbers corresponding to the first contact, wherein the communication request is from the first contact. Because the first contact is a contact person with a contact way collected, it is generally considered that a user of the terminal device wishes to communicate with the first contact person, and in this case, the method provided by the embodiment of the application prompts the communication request, so as to avoid the user from missing the communication request.
In the prior art, if the terminal device is in a mode of no disturbance and allowing the incoming call of the contact to ring, if a certain contact a has two or more telephone numbers, the terminal device only stores one telephone number of the contact a, and when the contact a dials the terminal device a through another telephone number, the terminal device a considers that the incoming call is an incoming call of a stranger, so that no prompt is performed, and the user on the side of the terminal device a misses the incoming call.
By the scheme provided by the embodiment of the application, at least one telephone number corresponding to the first contact is used as the white list, and when the telephone number corresponding to the communication request is matched with the white list, the communication request is prompted. In this case, even if the terminal device does not store the telephone number corresponding to the communication request, it can be determined whether or not the communication request needs to be presented based on the matching with the white list. Therefore, when the method provided by the embodiment of the application is used for communication, if the terminal equipment collects the contact information of a certain contact person, the terminal equipment prompts the communication request even if the telephone number corresponding to the communication request sent by the contact person is not collected by the terminal equipment.
Drawings
FIG. 1 (a) is a setup interface for a terminal device;
FIG. 1 (b) is a further setup interface for a terminal device;
fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
FIG. 3 is a schematic workflow diagram of a communication method according to an embodiment of the present application;
fig. 4 is a setup interface of a terminal device according to an embodiment of the present application;
FIG. 5 is a schematic workflow diagram of yet another communication method disclosed in an embodiment of the present application;
FIG. 6 is a schematic workflow diagram of yet another communication method disclosed in an embodiment of the present application;
FIG. 7 is a schematic workflow diagram of yet another communication method disclosed in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one, two or more than two. The term "and/or" is used to describe an association relationship of associated objects, meaning that there may be three relationships; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In the prior art, when the mobile phone is set to be free from disturbing and the call of the collected contact is allowed to ring, if the contact is in the call through the telephone number which is not stored, the mobile phone cannot ring, so that the user can miss the call of the contact. To solve this problem, an embodiment of the present application provides a communication method.
The method is applied to terminal equipment, wherein the terminal equipment can be terminal equipment with communication functions such as mobile phones, tablet computers, notebook computers, ultra-mobile personal computer (UMPC), handheld computers, netbooks, personal digital assistants (personal digital assistant, PDA), intelligent wearable equipment, virtual reality equipment and the like, and the embodiment of the application is not limited in any way.
Taking the mobile phone as an example of the terminal device, fig. 2 shows a schematic structural diagram of the mobile phone.
The handset may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a radio frequency module 150, a communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a screen 301, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It will be appreciated that the structure illustrated in the embodiments of the present application is not limited to a specific configuration of the mobile phone. In other embodiments of the application, the handset may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can be a neural center and a command center of the mobile phone. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to a touch sensor, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor through an I2C interface, so that the processor 110 and the touch sensor communicate through an I2C bus interface to implement a touch function of the mobile phone.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, UART interfaces are typically used to connect the processor 110 with the communication module 160. For example: the processor 110 communicates with a bluetooth module in the communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as the screen 301, the camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the camera function of the handset. The processor 110 and the screen 301 communicate through a DSI interface to implement a display function of the mobile phone.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the screen 301, the communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect to a charger to charge the phone, or may be used to transfer data between the phone and peripheral devices. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other terminal devices, such as AR devices, etc.
It will be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only illustrative, and is not limited to the structure of the mobile phone. In other embodiments of the present application, the mobile phone may also use different interfacing modes, or a combination of multiple interfacing modes in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the cell phone. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the external memory, the screen 301, the camera 193, the communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the radio frequency module 150, the communication module 160, a modem processor, a baseband processor and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The radio frequency module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to a cell phone. The radio frequency module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The radio frequency module 150 may receive electromagnetic waves from the antenna 1, filter, amplify, and the like the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The radio frequency module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves to radiate through the antenna 1. In some embodiments, at least some of the functional modules of the radio frequency module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the radio frequency module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the screen 301. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 110 and disposed in the same device as the radio frequency module 150 or other functional modules.
The communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. applied to a cell phone. The communication module 160 may be one or more devices integrating at least one communication processing module. The communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, the antenna 1 and the radio frequency module 150 of the handset are coupled, and the antenna 2 and the communication module 160 are coupled, so that the handset can communicate with a network and other devices through wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The cell phone implements display functions through the GPU, the screen 301, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the screen 301 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information. In an embodiment of the present application, the screen 301 may include a display and a touch device. The display is used to output display content to a user and the touch device is used to receive touch events entered by the user on the screen 301.
In a mobile phone, the sensor module 180 may include one or more of a gyroscope, an acceleration sensor, a pressure sensor, a barometric sensor, a magnetic sensor (e.g., hall sensor), a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, a pyroelectric infrared sensor, an ambient light sensor, or a bone conduction sensor, which is not limited in any way according to the embodiments of the present application.
The cell phone may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a flexible screen 301, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the handset may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the mobile phone selects a frequency point, the digital signal processor is used to perform fourier transform on the frequency point energy, etc.
Video codecs are used to compress or decompress digital video. The handset may support one or more video codecs. In this way, the mobile phone can play or record videos with various coding formats, for example: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of the mobile phone can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect to an external memory card, such as a Micro SD card, to extend the memory capabilities of the handset. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the cellular phone and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the handset (e.g., audio data, phonebook, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The handset may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The handset may listen to music through speaker 170A or to hands-free conversations.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the phone picks up a call or voice message, the phone can pick up voice by placing the receiver 170B close to the ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The handset may be provided with at least one microphone 170C. In other embodiments, the handset may be provided with two microphones 170C, which may also perform noise reduction in addition to collecting sound signals. In other embodiments, the handset may also be provided with three, four or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The handset may receive key inputs, generating key signal inputs related to user settings and function controls of the handset.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touch operations applied to different areas of the flexible screen 301. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 or removed from the SIM card interface 195 to enable contact and separation with the handset. The mobile phone can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The mobile phone realizes the functions of communication, data communication and the like through interaction between the SIM card and the network. In some embodiments, the handset employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the handset and cannot be separated from the handset.
In addition, an operating system is run on the components. Such as the iOS operating system developed by apple corporation, the Android open source operating system developed by google corporation, the Windows operating system developed by microsoft corporation, etc. An operating application may be installed on the operating system.
In order to clarify the scheme provided by the present application, the scheme provided by the present application will be described below by way of various embodiments with reference to the accompanying drawings.
The embodiment of the application provides a communication method which is applied to terminal equipment, wherein the terminal equipment can receive a communication request and establish communication connection with an initiator of the communication request to realize communication. Referring to a workflow diagram shown in fig. 3, a communication method provided by an embodiment of the present application includes the following steps:
and S11, when a communication request of a first contact is started and prompt is allowed, determining a matching result of a telephone number corresponding to the received communication request and a white list, wherein the first contact stores the contact with a contact way for the terminal equipment, and the white list comprises at least one telephone number corresponding to the first contact.
The communication request received by the terminal device may be of various types, for example, the communication request includes an incoming call request or an Application (APP) communication request. Wherein, the incoming call request refers to a request of a telephone dialed by an operator.
In addition, a plurality of APP can be installed in the terminal equipment to meet different demands of users, wherein part of APP can have a communication function, so that different terminal equipment can realize communication through the APP. When a communication APP installed in one terminal device needs to communicate with the communication APP installed in another terminal device, a corresponding communication request is sent through the communication APP, the communication request can be called as an APP communication request, and the communication request can be an audio call request or a video call request sent by the APP, and the like.
In the embodiment of the application, the first contact refers to a contact in which the terminal device collects a contact, that is, the terminal device collects a contact of the first contact. Wherein the contact means may comprise a telephone number. In order to facilitate contact with other users of the terminal device, the terminal device typically stores the telephone numbers of the individual contacts.
Alternatively, the contact means may comprise a mailbox address and/or an account number of the communication APP, etc. Wherein, communication APP refers to APP that can be used for communication, for example, the smooth connection APP that the Hua provided, etc. The smooth connection APP is a full-scene audio and video call product which is introduced by Hua-in corporation based on a distributed technology, is an APP capable of providing audio and video call service and message service of voice transmission (voice over internet protocol, voIP) of IP, and can realize audio and video call of mobile phones, large screens, sound boxes and other devices.
Through the mailbox address and the account number of the communication APP, communication connection can be established between different users, in this case, if the terminal device of the user a collects the mailbox address of the contact person of the user B and/or the account number of the communication APP, it is often considered that the user a wants to be able to communicate with the user B, so that the user B can be used as the first contact person.
In the embodiment of the application, the first contact is a contact with a collected contact way. When the terminal equipment collects the contact information of the first contact person, the contact information of the first contact person can be collected into a memory arranged in the terminal equipment. The contact information includes a telephone number, and the terminal device can collect the telephone number of the contact person through the built-in address book. In addition, the contact manner can be collected in a cloud server accessible to the terminal device, which is not limited in the embodiment of the application.
In other words, in the solution provided in the embodiment of the present application, the terminal device and/or the server accessed by the terminal device collect the contact way of the first contact, that is, at least one contact way of the first contact is collected by the terminal device or by the cloud server accessible by the terminal device.
In practice, the same contact may have multiple telephone numbers. In this case, one first contact corresponds to one or more phones, and in the white list in the embodiment of the present application, at least one phone number corresponding to the first contact is included.
Further, in the solution provided in the embodiment of the present application, if the terminal device receives the communication request under the condition that the terminal device is started to avoid interference and allow to prompt the communication request of the first contact person, the terminal device may determine whether the phone number corresponding to the communication request is collected, and if not, the terminal device determines a matching result of the phone number corresponding to the communication request and the white list.
Step S12, when the matching result indicates that the telephone number corresponding to the communication request is matched with the white list, prompting the communication request.
And if the matching result indicates that the telephone number corresponding to the communication request is matched with the white list, indicating that the telephone number corresponding to the communication request belongs to the first contact, namely the communication request is from the first contact. In this case, the communication request may be prompted to avoid missing the communication request of the first contact.
The embodiment of the application provides a communication method, in which when a terminal device starts a communication request of a first contact person without disturbing and allows prompting, the terminal device can determine a matching result of a telephone number corresponding to the communication request and a white list, wherein the white list comprises at least one telephone number corresponding to the first contact person. And if the telephone number corresponding to the communication request is matched with the white list, indicating that the telephone number corresponding to the communication request is one of the telephone numbers corresponding to the first contact, wherein the communication request is from the first contact. Because the first contact is a contact person with a contact way collected, it is generally considered that a user of the terminal device wishes to communicate with the first contact person, and in this case, the method provided by the embodiment of the application prompts the communication request, so as to avoid the user from missing the communication request.
In the prior art, if the terminal device is in a mode of no disturbance and allowing the incoming call of the contact to ring, if a certain contact A has two or more telephone numbers, the terminal device only stores one telephone number of the contact A, and if the contact A dials a call to the terminal device A through another telephone number, the terminal device A considers that the incoming call is an incoming call of a stranger, so that prompt is not performed, and a user on the side of the terminal device A misses the incoming call.
By the method provided by the embodiment of the application, at least one telephone number corresponding to the first contact is used as the white list, and when the telephone number corresponding to the communication request is matched with the white list, the communication request is prompted. In this case, even if the terminal device does not store the telephone number corresponding to the communication request, it can be determined whether or not the communication request needs to be presented based on the matching with the white list. Therefore, when the method provided by the embodiment of the application is used for communication, if the terminal equipment collects the contact information of a certain contact person, the terminal equipment prompts the communication request even if the telephone number corresponding to the communication request sent by the contact person is not collected by the terminal equipment.
In an embodiment of the present application, in order to meet the diversified communication requirements of the user, the communication request may include a plurality of types of communication requests, for example, the communication request may include an incoming call request and a communication request of an application program.
In some cases, the user wants the surrounding environment to be quite and wants to not miss the incoming call of the first contact, in which case, the user can start the no-disturb mode of the terminal device according to the setting interfaces of fig. 1 (a) and fig. 1 (b), and allow prompting of the incoming call request of the first contact. In this example, the first contact is the "favorite contact" shown in FIG. 1 (b).
In addition, in some cases, the user does not wish to miss the application request sent by the first contact through the first application. For example, the first application is a WeChat APP, through which the first contact may send a communication request for a video call or a voice call to the user, but the user does not wish to miss the communication request sent by the first contact through the WeChat APP.
In this case, the communication request of the first APP of the first contact may be allowed to be prompted after the no-disturb mode of the terminal device is started through the setting interface of the first APP shown in fig. 4. The control is set to be in an open state, namely, a communication request transmitted by the first contact person through the first APP can be allowed to be prompted in a non-disturbing mode.
In the scheme provided by the embodiment of the application, the communication request can comprise various types. In one possible implementation manner, the communication request is an incoming call request, and correspondingly, the phone number corresponding to the communication request is the phone number of the incoming call request.
Or in another possible implementation manner, the communication request is a communication request of a first APP, and accordingly, the phone number corresponding to the communication request is a phone number bound by an initiator of the communication request at the first APP.
Various types of APP can be installed in the terminal equipment, wherein before the APP is operated to enable the APP to execute corresponding functions, account numbers are often required to be registered on the APP, and part of the APP also needs to be bound with telephone numbers. In this case, the phone number corresponding to the communication request of the first APP may be a phone number bound by the initiator of the communication request at the first APP.
For example, the user a sends a voice call request to the user B through a certain communication APP, where the voice call request is a communication request of the communication APP. After receiving the voice call request sent by the user A, the user B can determine that the telephone number bound by the user A in the communication APP is the telephone number corresponding to the communication request of the communication APP.
In the embodiment of the application, a matching result of the telephone number corresponding to the communication request and a white list needs to be determined, wherein the white list comprises at least one telephone number corresponding to the first contact.
In one possible implementation, the at least one phone number corresponding to the first contact includes at least one phone number to which the first contact is bound in the second APP.
Often, multiple types of APP can be installed in the terminal device, wherein part of APP can bind one or more phone numbers, and the second APP is an APP that can bind multiple phone numbers under the same account.
For example, the second APP may include a smooth APP, when the smooth APP is applied, the user needs to set a mobile phone number bound by the own account number at the smooth APP, and if the user owns a plurality of phone numbers, the user will often bind a plurality of phone numbers owned by the user in the smooth APP, so that the plurality of phone numbers can all apply services provided by the smooth APP. In this case, the at least one phone number corresponding to the first contact may include at least one phone number that would be bound if the first contact was in the open connection APP.
Of course, the second APP may also be another APP capable of binding at least one phone number, which is not limited in the embodiment of the present application.
In another possible implementation, at least one phone number corresponding to the first contact is included in a third APP, and other contacts in a group with the first contact are the bound phone numbers in the third APP.
The third APP supports the creation of a group, often including multiple users, which are often acquainted with each other. For example, some APP capable of being used for communication may support creating a group through which multiple users within the group may talk, in which case the APP capable of being used for communication is the third APP. Or, with the development of the internet of things technology, the smart home system enters the life of people, in this case, in the APP related to the smart home, multiple family members of one family may be in one group, and each user in the group may control the electrical appliance in the home through the APP related to the smart home, in this case, the APP related to the smart home is the third APP.
Of course, the third APP may be another type of APP, which is not limited in the embodiment of the present application.
Since multiple users in the same group of the third APP are usually acquainted with each other, if the terminal device of the first contact itself is inconvenient to communicate (e.g., the terminal device of the first contact fails or has a poor signal), the first contact may borrow the terminal devices of other users in the group to send out a communication request. In order to avoid that the user at the terminal device side receiving the communication request misses the communication request, the phone number bound in the third APP by other contacts in a group which belongs to the same group as the first contact may be set as the phone number corresponding to the first contact.
In the above embodiment, two forms of telephone numbers corresponding to the first contact are provided, respectively. In another possible implementation, the at least one phone number corresponding to the first contact may include at least one phone number bound by the first contact in the second APP, and in the third APP, the phone numbers bound by other contacts in a group with the first contact in the third APP.
In the scheme provided by the embodiment of the application, whether the communication request needs to be prompted is determined according to the matching result of the telephone number corresponding to the communication request and the white list, and the operation can be realized in various modes.
In a possible implementation manner, the determining a matching result of the phone number corresponding to the communication request and the white list includes the following steps:
first, a phone number corresponding to the communication request is compared with at least one phone number corresponding to the first contact included in the whitelist.
Wherein the whitelist may be stored in the terminal device. For example, if the at least one phone number corresponding to the first contact includes at least one phone number bound by the first contact in a second APP, the server of the second APP may transmit the at least one phone number bound by the first contact in the second APP to the terminal device, and in addition, if the at least one phone number corresponding to the first contact is included in a third APP, other contacts in a group with the first contact are bound by phone numbers in the third APP, the server of the third APP may acquire phone numbers bound by other contacts in a group with the first contact in the third APP, and transmit the acquired phone numbers to the terminal device. In this case, the terminal device may determine at least one phone number corresponding to the first contact according to the transmission of the server of the second APP and/or the server of the third APP, and determine the white list according to the phone number, so that the white list may be stored in the terminal device.
If the white list is stored in the terminal device, the white list may compare the phone number corresponding to the communication request with at least one phone number corresponding to the first contact included in the white list through the operation of step S21.
Then, if the phone number corresponding to the communication request is the same as one phone number corresponding to the first contact, determining that the phone number corresponding to the communication request matches the white list.
If the telephone number corresponding to the communication request is the same as one telephone number corresponding to the first contact, the communication request is indicated to originate from the first contact, and in this case, the telephone number corresponding to the communication request is determined to be matched with the white list, so that the prompt of the communication request of the first contact can be realized.
Specifically, when the terminal device collects the contact information of the first contact, the contact information and the name set for the first contact are stored at the same time, and the name can be the name of the first contact or a nickname set for the first contact. In this case, the white list includes names of the first contacts, and telephone numbers to which the names of the respective first contacts correspond respectively. If the telephone number corresponding to the communication request is the same as one telephone number in the white list, the telephone number corresponding to the communication request can be determined to be matched with the white list.
Further, the telephone number corresponding to the communication request is set to be the same as the first telephone number in the white list, in which case it may be determined that the name of the first contact corresponding to the first telephone number indicates the initiator of the communication request in the white list.
Through the operation of the steps, the matching result can be determined by the terminal equipment by comparing the telephone number corresponding to the communication request with the white list under the condition that the white list is stored in the terminal equipment.
In another possible implementation manner, the determining a matching result of the phone number corresponding to the communication request and the white list includes:
and transmitting the telephone number corresponding to the communication request to a target server, and acquiring a matching result transmitted by the target server.
The target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP. Accordingly, the second server may include the whitelist.
In this case, after receiving the communication request, the terminal device may transmit a phone number corresponding to the communication request to the second server, determine the matching result by the second server, and transmit the determined matching result to the terminal device, so that the terminal device obtains the matching result.
In one possible design, when the terminal device collects the contact information of the first contact, the terminal device stores the contact information and the name set for the first contact at the same time, and transmits the name to the second server. After the names set for the first contacts are acquired, the second server determines that each telephone number bound by the names is the telephone number corresponding to the first contact, and accordingly determines a white list, the white list records the names of the first contacts and the telephone numbers corresponding to the names of the first contacts, and acquires a matching result of the telephone corresponding to the communication request and the white list. And if the telephone number corresponding to the communication request is the same as one telephone number in the white list, determining that the telephone number corresponding to the communication request is matched with the white list.
Or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP. In this case, after receiving the communication request, the terminal device may transmit a phone number corresponding to the communication request to the third server, determine the matching result by the third server, and transmit the determined matching result to the terminal device, so that the terminal device obtains the matching result.
In this implementation manner, the target server matches the telephone number corresponding to the communication request with the white list, and the target server transmits a matching result to the terminal device, so that the terminal device obtains the matching result.
In one possible design, when the terminal device collects the contact information of the first contact, the terminal device stores the contact information and the name set for the first contact at the same time, and transmits the name to the third server. After acquiring the name set for the first contact, the third server determines that each phone number bound by the name is the phone number corresponding to the first contact, determines a white list according to the phone number, and acquires a matching result of the phone corresponding to the communication request and the white list.
In some cases, the communication request is a communication request of a first APP, and accordingly, the phone number corresponding to the communication request is a phone number bound by an initiator of the communication request at the first APP, and in this case, the first server of the first APP may obtain the phone number corresponding to the communication request.
In this case, if the communication request is a communication request of the first APP, the method provided in the embodiment of the present application further includes the following steps:
Transmitting the white list to a first server of the first APP, or transmitting a first instruction, wherein the first instruction is used for instructing a target server to transmit the white list to the first server.
If the communication request is a communication request of a first APP, a first server of the first APP can acquire a telephone number corresponding to the communication request. In this case, if the terminal device stores the whitelist, the terminal device may transmit the whitelist to the first server after receiving the communication request so that the first server acquires the whitelist.
In addition, in the case that the target server obtains the white list, the terminal device may transmit a first instruction to the target server, so that the target server that receives the first instruction transmits the white list to the first server, thereby enabling the first server to obtain the white list.
The target server is a server storing the white list. The target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP.
After the first server obtains the whitelist transmitted by the terminal device and/or the target server, the matching may be performed on the whitelist and the phone number corresponding to the communication request to obtain a matching result, where the determining in step S12 the matching result of the phone number corresponding to the communication request and the whitelist includes:
and receiving a matching instruction transmitted by the first server, and determining the matching result according to the matching instruction, wherein the matching instruction is used for indicating the matching result of the telephone number corresponding to the communication request and the white list.
After the first server obtains the white list, the first server can match the telephone number corresponding to the communication request with the white list, generate a matching instruction according to a matching result, and transmit the matching instruction to the terminal equipment so that the terminal equipment can determine the matching result.
In addition, the first server is the transmitter of the communication request, in which case in one possible design the matching indication is loaded in the communication request of the first APP.
That is, the first server may acquire the whitelist in advance through the above steps, and when a communication request needs to be transmitted, determine a matching instruction according to the whitelist, load the matching instruction in the communication request, and then transmit the communication request loaded with the matching instruction to a terminal device, thereby enabling the terminal device to acquire the communication request, and determine the matching result according to the matching instruction.
To clarify this implementation, an embodiment of the present application provides fig. 5. Referring to the interaction diagram shown in fig. 5, an embodiment of the present application includes the following steps:
step S21, the terminal equipment transmits a first instruction to the target server.
Wherein the first instruction is configured to instruct a target server to transmit the whitelist to the first server. The target server stores the whitelist. The target server may be, for example, a second server and/or a third server.
Step S22, after the target server obtains the first instruction, the white list is transmitted to the first server.
In this example, the first server is a server of a first APP, the first APP may generate a communication request for the terminal device, and accordingly, the first server may determine a phone number corresponding to the communication request sent by the first APP.
Step S23, the first server obtains the white list according to the transmission of the target server, and if the first server needs to send out a communication request, the first server matches the phone number corresponding to the communication request with the white list.
The first server may regenerate the communication request after determining a matching result of the phone number corresponding to the communication request and the white list, or the first server may further match the phone number corresponding to the communication request with the white list after generating the communication request, so as to obtain a matching result.
Step S24, the first server determines a matching instruction according to the matching result and transmits the matching instruction and a communication request to the terminal equipment.
The matching instruction may be loaded in the communication request, or the matching instruction and the communication request may be two pieces of independent information, in which case the first server may transmit the matching instruction and the communication request to the terminal device respectively.
If the matching instruction is loaded in the communication request, in the embodiment of the present application, after the first server generates the communication request, the telephone number corresponding to the communication request and the whitelist may be matched, so as to generate a matching instruction according to a matching result, and then load the matching instruction in the communication request.
Or, after determining that the communication request needs to be generated, the first server may match the phone number corresponding to the communication request with the white list, generate a matching instruction according to a matching result, then generate the communication request, and load the matching instruction into the communication request.
Step S25, the terminal equipment receives the matching instruction and the communication request transmitted by the first server, and determines a matching result of the telephone number corresponding to the communication request and the white list according to the matching instruction.
Step S26, when the matching result indicates that the telephone number corresponding to the communication request is matched with the white list, the terminal equipment prompts the communication request.
In the above scheme, it is disclosed that the target server determines the white list, and if the communication request is a communication request of the first APP, based on interaction among the terminal device, the target server and the first server, whether the communication request needs to be prompted is determined, so that the user can be prevented from missing the communication request of the first contact.
In one example, the target server is a server of a free-connection APP, the first server is a server of other APPs available for communication, the first server may be referred to as a communication server, and may issue a video call request and/or a voice call request. In this case, when the first contact applies the open connection APP, at least one own telephone number is bound in the open connection APP, the open connection server of the open connection APP determines a corresponding white list according to the telephone number bound by the first contact, and after receiving a first instruction of the terminal device, the white list may be transmitted to a communication server (i.e., a first server) according to the instruction of the first instruction, so that the communication server obtains the white list.
When a first contact person hopes to send a video call request or a voice call request to a user of the terminal equipment through a communication APP, the communication server determines a telephone number bound by the first contact person at the communication APP, wherein the telephone number is the telephone number corresponding to the video call request or the voice call request. And then, the communication server matches the white list with the telephone number bound by the first contact person in the communication APP, generates a matching instruction according to a matching result, loads the matching instruction to the video call request or the voice call request, and transmits the video call request or the voice call request loaded with the matching instruction to the terminal equipment.
After receiving the video call request or the voice call request loaded with the matching instruction, the terminal equipment determines a corresponding matching result according to the matching instruction, and determines whether the received video call request or the received voice call request needs to be prompted according to the matching result. And if the matching result shows that the video call request or the voice call request is matched with the white list, the terminal equipment prompts the video call request or the voice call request.
In fig. 5 and the description of the above-described scheme, a communication method is provided in which a first server acquires a white list in advance before transmitting a communication request to a terminal device. In this case, after the first server determines that the communication request needs to be transmitted to the terminal device, the telephone number corresponding to the communication request is matched with the white list, and a corresponding matching instruction is determined according to a matching result. The first server may then load the matching indication into the communication request and retransmit the communication request loaded with the matching indication, or the first server may transmit the matching indication and the communication request, respectively, as two separate pieces of information.
Or, if the communication request is a communication request of the first APP, in another possible implementation manner, after receiving the communication request, the terminal device may determine whether a phone number corresponding to the communication request is collected. If the telephone number corresponding to the communication request is determined not to be collected, the terminal device can transmit the white list to the first server, or transmit a first instruction, where the first instruction is used to instruct a target server to transmit the white list to the first server, so that the first server obtains the white list, and matches the telephone number corresponding to the communication request with the white list.
To make this implementation clear, the embodiment of the present application further provides a communication method. Referring to fig. 6, the communication method includes the steps of:
step S31, a first server of the first APP transmits a communication request to the terminal equipment.
The communication request may include multiple types, such as a voice call request or a video call request, which is not limited by the embodiment of the present application.
Step S32, the terminal equipment receives a communication request transmitted by a first server of a first APP, and determines whether to collect a telephone number corresponding to the communication request.
Step S33, if the terminal equipment determines that the telephone number corresponding to the communication request is not collected, the terminal equipment transmits a first instruction.
Wherein the first instruction is configured to instruct a target server to transmit the whitelist to the first server.
In the embodiment of the application, the terminal equipment can transmit the first instruction to the target server so that the target server which receives the first instruction transmits the white list to the first server. The target server is a server storing a white list. For example, if the at least one phone number corresponding to the first contact includes at least one phone number to which the first contact is bound under a first registered account of a second APP, the target server includes a second server of the second APP; or if at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of the other contact in the same group as the first contact, and the target server includes a third server of the third APP.
In addition, if the white list is stored in the terminal device, the terminal device determines that the telephone number corresponding to the communication request is not collected, and the terminal device can also transmit the white list to the first server.
Step S34, after receiving the first instruction, the target server transmits a white list to the first server, so that the first server obtains the white list.
Step S35, after the first server obtains the white list, the first server matches the phone corresponding to the communication request with the white list, and determines a matching instruction according to a matching result.
Step S36, the first server transmits the matching instruction to the terminal equipment.
Step S37, after receiving the matching instruction transmitted by the first server, the terminal device determines a matching result of the phone number corresponding to the communication request and the white list according to the matching instruction.
Step S38, when the matching result indicates that the telephone number corresponding to the communication request is matched with the white list, the terminal equipment prompts the communication request.
In the solutions disclosed in steps S31 to S38, after receiving the communication request, if it is determined that the phone number corresponding to the communication request is not collected, the first server obtains a white list again, and generates a corresponding matching instruction according to the white list.
In the scheme provided by the embodiment of the application, the communication request received by the terminal equipment can be an incoming call request, and the incoming call request can be from an courier, a takeaway and the like. The terminal device typically does not collect the telephone numbers of the courier and taker, but the user on the terminal device side often does not want to miss the incoming calls of the courier and taker.
For this case, the embodiment of the present application further includes the following steps:
the communication request is an incoming call request, and after the communication request is received, the type of the telephone number of the incoming call request marked by the marking platform is determined through feedback of the marking platform;
the type of the telephone number of the incoming call request is a target type, and the communication request is prompted.
The marking platform may provide the functionality to mark the type of telephone number. After each user receives an incoming call and determines the type of the incoming call, the telephone number of the incoming call can be marked, and the mark is transmitted to a marking platform, wherein the marking platform counts the marks of each user, marks the type of each telephone number according to the marks, and transmits the type of the telephone number to a receiver of the incoming call request after a certain telephone number sends out an incoming call request, so that the receiver of the incoming call request determines the type of the telephone number of the incoming call request. The types of telephone numbers marked by the marking platform may include a plurality of types, for example: harassing calls, quick-delivery meal calls, etc.
In this case, in the solution provided in the embodiment of the present application, if the communication request received by the terminal device is an incoming call request, the terminal device may receive feedback from the marking platform, and determine the type of the telephone number of the incoming call request according to the feedback from the marking platform.
The terminal equipment can determine the target type according to the setting of the user, and prompt the incoming call request when receiving the incoming call request sent by the telephone number of the target type, so that the user is prevented from missing the incoming call request.
For example, the terminal device may determine that the fast food delivery phone is of the target type. In this case, if the terminal device receives an incoming call request of the fast food delivery phone, a prompt is made, so that the user is prevented from missing the fast food delivery phone.
In the embodiment of the application, the terminal equipment can prompt the communication request. The terminal device can select a ringing mode to prompt according to the received setting operation, can also prompt in a vibration mode, or prompt in a mode of ringing and vibrating simultaneously.
In addition, the prompting may be performed in other manners, and in a possible implementation manner, the prompting the communication request includes:
And simultaneously ringing and/or vibrating, displaying the contact way of the terminal equipment for collecting the first target contact, setting a name for the first target contact, and/or displaying the source of the communication request, wherein the first target contact is the first contact indicated by the telephone number corresponding to the communication request.
The terminal device stores the contact information of the first target contact through a built-in memory or a self-accessible server, and stores a name set for the first target contact when storing the contact information of the first target contact, wherein the name can be the name or nickname of the first target contact.
For example, if the terminal device collects the phone number of the first target contact through the built-in phone book, the name of the first target contact is often collected in the phone book at the same time.
In the prior art, if the terminal device does not collect the telephone number corresponding to the communication request, only the telephone number corresponding to the communication request is often displayed on the display screen of the terminal device, so that the user at the terminal device side cannot know who the sender of the communication request is.
In this case, the terminal device may display, through its own display screen, a name set for the first target contact when the terminal device is in the contact manner of the first target contact collected, where, even if the phone number corresponding to the communication request is not collected by the terminal device, the user at the terminal device side may also know the sender of the communication request through the display of the display screen.
Illustratively, the first target contact, small a, has two phone numbers, the terminal device has only one phone number "158xxxx xxxx" of small a, and when this one phone number is collected, the name "small a" is set. In this case, if the small a sends an incoming call request through the phone number "136 xxxxxxxxxx" which is not collected by the terminal device, in the prior art, when the terminal device receives the incoming call request, since the terminal device does not collect the phone number of the incoming call request, the display screen of the terminal device displays the phone number "136 xxxxxxxxxxxx" of the incoming call request, and a user at the terminal device side cannot determine that the incoming call request originates from the small a by looking up the display screen.
By the method provided by the embodiment of the application, if the small A sends out an incoming call request through the telephone number 136 xxxxxxxxxx which is not collected by the terminal equipment, the terminal equipment can determine that the telephone number corresponding to the incoming call request is the telephone number of the small A according to the matching result of the telephone number corresponding to the incoming call request and the white list, and when the telephone number 158 xxxxxxxxxxxx which is collected by the terminal equipment is determined, the set name is small A, and the small A is displayed on a display screen. In this case, the user at the terminal device side can determine that the sender of the incoming call request is the small a by looking at the display screen.
Furthermore, in the prompting method provided by the embodiment of the application, the source of the communication request can be displayed while ringing and/or vibrating. If the communication request is an incoming call request, the source of the communication request may be an operator to which the telephone number of the incoming call request belongs.
If the communication request is a communication request of a first APP, the source of the communication request may include a name of the first APP. If the communication request is a communication request of a first APP, and the communication request of the first APP may be classified into a plurality of types, the source of the communication request may include a type of the communication request received by the terminal device, or may include both a name of the first APP and a type of the communication request received by the terminal device.
For example, if the communication request of the first APP can be divided into a voice call request and a video call request, and the name set by the terminal device for the first target contact is "small a", when the communication request is the voice call request sent by the first APP, the "first APP request of small a" may be displayed in the display screen of the terminal device, or "small a invites you to make a voice call" may be displayed.
Of course, the terminal device may also display the source of the communication request in other forms, which is not limited by the embodiment of the present application.
Corresponding to the above embodiment, the embodiment of the present application further provides a communication method. The communication method is applied to a first server of a first APP. The first server may establish a communication connection with a terminal device and transmit a communication request to the terminal device.
Referring to the workflow diagram shown in fig. 7, the communication method includes the steps of:
step S41, acquiring a white list. The white list comprises at least one telephone number corresponding to the first contact.
The first contact may collect the contact of the first contact in a built-in memory of the terminal device, or the terminal device may collect the contact of the first contact in a server accessible by the terminal device.
If the white list is stored in the terminal equipment, the terminal equipment can transmit the white list to the first server so that the first server can acquire the white list.
In addition, if the whitelist is not stored in the terminal device, the terminal device may transmit a first instruction to a target server. The target server is a server storing the white list, and after receiving the first instruction, the target server transmits the white list to the first server so that the first server obtains the white list.
Step S42, if the communication request needs to be transmitted, a matching instruction is generated according to the matching result of the telephone number corresponding to the communication request and the white list.
The first server may regenerate the communication request after determining a matching result of the telephone number corresponding to the communication request and the white list, or the first server may further match the telephone number corresponding to the communication request with the white list after generating the communication request, so as to obtain a matching result, and generate a corresponding matching instruction according to the matching result.
Step S43, transmitting the communication request and the matching instruction.
Wherein the first server may load the matching instruction in the communication request and then retransmit the communication request loaded with the matching instruction. Alternatively, the first server may transmit the communication request and the match indication, respectively.
In addition, after receiving the communication request and the matching instruction, the terminal device may determine whether the phone number corresponding to the communication request matches the whitelist according to the matching instruction. And if the matching result indicates that the telephone number corresponding to the communication request is matched with the white list, the terminal equipment prompts the communication request so as to avoid that a user at the terminal equipment side misses the communication request.
Correspondingly, the embodiment of the application also discloses a communication device corresponding to the communication method, and the communication device is applied to the terminal equipment. Referring to the schematic structural diagram shown in fig. 8, the terminal device includes: a transceiver unit 200 and a processing unit 300.
Wherein, the transceiver unit 200 is configured to receive a communication request;
the processing unit 300 is configured to determine a matching result of a phone number corresponding to a received communication request and a white list when a communication request of a first contact is started and a communication request of the first contact is allowed to be prompted, where the first contact stores contacts with contact means for the terminal device, and the white list includes at least one phone number corresponding to the first contact;
The processing unit 300 is further configured to prompt the communication request when the matching result indicates that the phone number corresponding to the communication request matches the whitelist.
In the embodiment of the application, the terminal equipment stores the contact way of the first contact person. When the terminal equipment collects the contact information of the first contact person, the contact information of the first contact person can be collected into a memory arranged in the terminal equipment. The contact information includes a telephone number, and the terminal device can collect the telephone number of the contact person through the built-in address book. In addition, the contact manner can be collected in a cloud server accessible to the terminal device, which is not limited in the embodiment of the application.
When the communication device provided by the embodiment of the application is used for communication, if the terminal equipment collects the contact information of a certain contact person, the terminal equipment prompts the communication request even if the telephone number corresponding to the communication request sent by the contact person is not collected by the terminal equipment.
In the embodiment of the application, in order to meet diversified communication requirements of users, the communication request may include multiple types of communication requests. In one possible design, the communication request is an incoming call request, and the phone number corresponding to the communication request is the phone number of the incoming call request.
Or in another possible design, the communication request is a communication request of a first application program APP, and the phone number corresponding to the communication request is a phone number bound by an initiator of the communication request at the first APP.
In the embodiment of the application, the at least one telephone number corresponding to the first contact includes at least one telephone number bound by the first contact in the second APP;
and/or at least one telephone number corresponding to the first contact is included in a third APP, and other contacts in a group which belong to the same group as the first contact are bound telephone numbers in the third APP.
The communication device provided by the embodiment of the application can determine the matching result of the telephone number corresponding to the received communication request and the white list in various modes. In one manner, the processing unit is specifically configured to compare the phone number corresponding to the communication request with at least one phone number corresponding to the first contact included in the whitelist, and determine that the phone number corresponding to the communication request matches the whitelist if the phone number corresponding to the communication request is the same as one phone number corresponding to the first contact.
In this case, the matching result is acquired by the processing unit.
In another manner, the transceiver unit is specifically configured to transmit, to a target server, a phone number corresponding to the communication request, and obtain a matching result transmitted by the target server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP.
That is, in this mode, the transceiver unit transmits the telephone number corresponding to the communication request to a target server, acquires a matching result by the target server, and transmits the matching result to the transceiver unit.
Further, in the embodiment of the present application, the communication request is a communication request of a first APP, and the transceiver unit is further configured to transmit the whitelist to a first server of the first APP, or transmit a first instruction, where the first instruction is used to instruct a target server to transmit the whitelist to the first server;
The target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP;
the processing unit is specifically configured to determine, after the transceiver unit receives the matching instruction transmitted by the first server, the matching result according to the matching instruction, where the matching instruction is used to indicate a matching result of the phone number corresponding to the communication request and the white list.
In addition, in a feasible design of the present application, the communication request is a communication request of the first APP, and the processing unit is further configured to determine whether to collect a phone number corresponding to the communication request;
and if the telephone number corresponding to the communication request is not collected, transmitting the white list or transmitting the first instruction to a first server of the first APP by the receiving-transmitting unit.
In another possible design, the communication request is an incoming call request, and the processing unit is further configured to determine, after the transceiver unit receives the communication request, a type of a phone number of the incoming call request marked by the marking platform through feedback of the marking platform;
the type of the telephone number of the incoming call request is a target type, and the communication request is prompted.
Further, in the embodiment of the present application, the processing unit is specifically configured to display, while ringing and/or vibrating, a contact manner of the terminal device for collecting a first target contact, a name set for the first target contact, and/or display a source of the communication request, where the first target contact is a first contact indicated by a phone number corresponding to the communication request.
In this way, the processing unit implements a prompt for a communication request.
Accordingly, in another embodiment of the present application, there is also provided a communication apparatus including:
a transceiver unit and a processing unit;
the receiving and transmitting unit is used for acquiring a white list, the white list comprises at least one telephone number corresponding to a first contact, and the first contact is a contact with a contact way collected by terminal equipment;
If the communication request needs to be transmitted, the processing unit is used for generating a matching instruction according to a matching result of the telephone number corresponding to the communication request and the white list;
the transceiver unit is further configured to transmit the communication request and the match indication.
The communication device provided by the embodiment of the application can generate the communication request, acquire the white list, determine the matching result of the telephone number corresponding to the communication request and the white list, and transmit the communication request and the matching instruction to the terminal equipment, so that the terminal equipment can determine whether the telephone number corresponding to the communication request is matched with the white list or not according to the matching instruction, and further determine whether to prompt the communication request or not so as to prevent the user of the terminal equipment from missing the communication request.
Correspondingly, the embodiment of the application also discloses a terminal device corresponding to the communication method. Referring to the schematic structural diagram shown in fig. 9, the terminal device includes:
at least one processor 1101 and a memory,
wherein the memory is used for storing program instructions;
the processor is configured to invoke and execute the program instructions stored in the memory, so that the terminal device performs all or part of the steps in the embodiments corresponding to fig. 3, 5 and 6.
Further, the terminal device may further include: a transceiver 1102 and a bus 1103, the memories include a random access memory 1104 and a read-only memory 1105.
The processor is coupled to the receiver, the random access memory and the read-only memory through buses respectively. When the mobile terminal control device needs to be operated, the device is guided to enter a normal operation state by starting a basic input/output system solidified in a read-only memory or a bootloader guiding system in an embedded system. After the device enters a normal running state, running an application program and an operating system in a random access memory, so that the mobile terminal control device executes all or part of the steps in the embodiments corresponding to fig. 3, 5 and 6.
The device of the embodiment of the present application may correspond to the communication device of the embodiment corresponding to fig. 3, fig. 5 and fig. 6, and the processor in the device may implement the functions and/or the implemented various steps and methods of the communication method of the embodiment corresponding to fig. 3, fig. 5 and fig. 6, which are not repeated herein for brevity.
It should be noted that, the present embodiment may also be based on a network device implemented by a general physical server in combination with network function virtualization (english: network Function Virtualization, NFV) technology, where the network device is a virtual network device (e.g., a virtual host, a virtual router, or a virtual switch). The Virtual network device may be a Virtual Machine (VM) running a program for transmitting an announcement message function, which is deployed on a hardware device (e.g., a physical server). Virtual machines refer to complete computer systems that run in a completely isolated environment with complete hardware system functionality through software emulation. Those skilled in the art can virtually develop a plurality of network devices having the above functions on a general physical server by reading the present application. And will not be described in detail herein.
Correspondingly, the embodiment of the application also discloses a terminal device corresponding to the communication method. Referring to the schematic structural diagram shown in fig. 9, the terminal device includes:
at least one processor 1101 and a memory,
wherein the memory is used for storing program instructions;
the processor is configured to call and execute the program instructions stored in the memory, so that the terminal device executes all or part of the steps in the embodiment corresponding to fig. 7.
Further, the terminal device may further include: a transceiver 1102 and a bus 1103, the memories include a random access memory 1104 and a read-only memory 1105.
The processor is coupled to the receiver, the random access memory and the read-only memory through buses respectively. When the mobile terminal control device needs to be operated, the device is guided to enter a normal operation state by starting a basic input/output system solidified in a read-only memory or a bootloader guiding system in an embedded system. After the device enters a normal running state, running an application program and an operating system in a random access memory, so that the mobile terminal control device executes all or part of the steps in the embodiment corresponding to fig. 7.
The device of the embodiment of the present application may correspond to the communication device of the embodiment corresponding to fig. 7, and the processor and the like in the device may implement the functions and/or the implemented various steps and methods of the communication method of the embodiment corresponding to fig. 7, which are not described herein for brevity.
It should be noted that, the present embodiment may also be based on a network device implemented by a general physical server in combination with network function virtualization (english: network Function Virtualization, NFV) technology, where the network device is a virtual network device (e.g., a virtual host, a virtual router, or a virtual switch). The Virtual network device may be a Virtual Machine (VM) running a program for transmitting an announcement message function, which is deployed on a hardware device (e.g., a physical server). Virtual machines refer to complete computer systems that run in a completely isolated environment with complete hardware system functionality through software emulation. Those skilled in the art can virtually develop a plurality of network devices having the above functions on a general physical server by reading the present application. And will not be described in detail herein.
In a specific implementation, the embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes instructions. Wherein all or part of the steps in the embodiments comprising fig. 3, 5 and 6 may be implemented when the computer readable medium is disposed in any device and when it is run on a computer. The storage medium of the computer readable medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (random access memory, RAM), or the like.
In addition, embodiments of the present application also provide a computer-readable storage medium including instructions. Wherein all or part of the steps in the corresponding embodiment including fig. 7 may be implemented in a computer readable medium disposed in any device that when run on a computer. The storage medium of the computer readable medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (random access memory, RAM), or the like.
Further, another embodiment of the present application also discloses a computer program product containing instructions, which when run on an electronic device, cause the electronic device to implement all or part of the steps of the embodiments including the corresponding fig. 3, 5 and 6.
In addition, another embodiment of the present application also discloses a computer program product containing instructions, which when run on an electronic device, cause the electronic device to implement all or part of the steps included in the corresponding embodiment of fig. 7.
The various illustrative logical blocks and circuits described in connection with the embodiments of the present application may be implemented or performed with a general purpose processor, a digital information processor, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the general purpose processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital information processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital information processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software unit executed by a processor, or in a combination of the two. The software elements may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. In an example, a storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may reside in a UE. In the alternative, the processor and the storage medium may reside in different components in a UE.
It should be understood that, in various embodiments of the present application, the sequence number of each process does not mean that the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
The same and similar parts of the embodiments of this specification are all mutually referred to, and each embodiment is mainly described in the differences from the other embodiments. In particular, for apparatus and system embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the description of the method embodiments section.
It will be apparent to those skilled in the art that the techniques of embodiments of the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present application may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the embodiments of the road constraint determining apparatus disclosed in the present application, since it is substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description in the method embodiments for the matters.
The embodiments of the present invention described above do not limit the scope of the present invention.

Claims (23)

1. A communication method, applied to a terminal device, comprising:
when a communication request of a first contact person is started and is allowed to be prompted, if the terminal equipment does not collect a telephone number corresponding to the received communication request, determining a matching result of the telephone number corresponding to the communication request and a white list, wherein the first contact person is the contact person of which the terminal equipment collects contact information, the white list comprises at least one telephone number corresponding to the first contact person, and the at least one telephone number corresponding to the first contact person comprises at least one telephone number bound by the first contact person in a second APP; and/or at least one telephone number corresponding to the first contact is included in a third APP, and the telephone numbers bound in the third APP by other contacts in a group which belong to the same group as the first contact;
and prompting the communication request when the matching result indicates that the telephone number corresponding to the communication request is matched with the white list.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The communication request is an incoming call request, and the telephone number corresponding to the communication request is the telephone number of the incoming call request;
or the communication request is a communication request of a first application program APP, and the telephone number corresponding to the communication request is a telephone number bound by an initiator of the communication request at the first APP.
3. The method according to claim 1 or 2, wherein the determining a matching result of the phone number corresponding to the communication request and the white list includes:
comparing the telephone number corresponding to the communication request with at least one telephone number corresponding to the first contact included in the white list;
and if the telephone number corresponding to the communication request is the same as one telephone number corresponding to the first contact person, determining that the telephone number corresponding to the communication request is matched with the white list.
4. The method according to claim 1 or 2, wherein the determining a matching result of the phone number corresponding to the communication request and the white list includes:
transmitting a telephone number corresponding to the communication request to a target server, and acquiring a matching result transmitted by the target server;
The target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in the third APP, the bound phone number is the phone number of the other contact in the same group as the first contact, and the target server includes a third server of the third APP.
5. The method of claim 1, wherein the communication request is a communication request of a first APP, further comprising:
transmitting the white list to a first server of the first APP, or transmitting a first instruction, wherein the first instruction is used for instructing a target server to transmit the white list to the first server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP;
The determining the matching result of the telephone number corresponding to the communication request and the white list comprises the following steps:
and receiving a matching instruction transmitted by the first server, and determining the matching result according to the matching instruction, wherein the matching instruction is used for indicating the matching result of the telephone number corresponding to the communication request and the white list.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
the match indication is loaded in a communication request of the first APP.
7. The method of claim 5, wherein the communication request is a communication request of a first APP, further comprising:
determining whether to collect the telephone number corresponding to the communication request;
and if the telephone number corresponding to the communication request is not collected, transmitting the white list or transmitting the first instruction to a first server of the first APP.
8. The method of claim 1, wherein the communication request is an incoming call request, further comprising:
after receiving the communication request, determining the type of the telephone number of the incoming call request marked by the marking platform through feedback of the marking platform;
the type of the telephone number of the incoming call request is a target type, and the communication request is prompted.
9. The method of claim 1, wherein prompting the communication request comprises:
and simultaneously ringing and/or vibrating, displaying the contact way of the terminal equipment for collecting the first target contact, setting a name for the first target contact, and/or displaying the source of the communication request, wherein the first target contact is the first contact indicated by the telephone number corresponding to the communication request.
10. A method of communication, comprising:
acquiring a white list, wherein the white list comprises at least one telephone number corresponding to a first contact, and the first contact is a contact with a contact way collected by terminal equipment, and the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact in a second APP; and/or at least one telephone number corresponding to the first contact is included in a third APP, and the telephone numbers bound in the third APP by other contacts in a group which belong to the same group as the first contact;
if a communication request needs to be transmitted, generating a matching instruction according to a matching result of the telephone number corresponding to the communication request and the white list;
Transmitting the communication request and the match indication.
11. A communication apparatus, characterized by being applied to a terminal device, comprising:
a transceiver unit for receiving a communication request;
the processing unit is used for determining a matching result of a telephone number corresponding to the communication request and a white list if the terminal equipment does not collect the telephone number corresponding to the received communication request when the communication request of the first contact is started and the first contact is allowed to be prompted, wherein the first contact is a contact with a contact way collected by the terminal equipment, the white list comprises at least one telephone number corresponding to the first contact, and the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact in a second APP; and/or at least one telephone number corresponding to the first contact is included in a third APP, and the telephone numbers bound in the third APP by other contacts in a group which belong to the same group as the first contact;
and when the matching result indicates that the telephone number corresponding to the communication request is matched with the white list, the processing unit is further used for prompting the communication request.
12. The apparatus of claim 11, wherein the device comprises a plurality of sensors,
the communication request is an incoming call request, and the telephone number corresponding to the communication request is the telephone number of the incoming call request;
or the communication request is a communication request of a first application program APP, and the telephone number corresponding to the communication request is a telephone number bound by an initiator of the communication request at the first APP.
13. The device according to claim 11 or 12, wherein,
the processing unit is specifically configured to compare the phone number corresponding to the communication request with at least one phone number corresponding to the first contact included in the whitelist, and determine that the phone number corresponding to the communication request matches the whitelist if the phone number corresponding to the communication request is the same as one phone number corresponding to the first contact.
14. The device according to claim 11 or 12, wherein,
the receiving and transmitting unit is specifically configured to transmit a phone number corresponding to the communication request to a target server, and obtain a matching result transmitted by the target server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP.
15. The apparatus of claim 11, wherein the device comprises a plurality of sensors,
the communication request is a communication request of a first APP, and the transceiver unit is further configured to transmit the whitelist to a first server of the first APP, or transmit a first instruction, where the first instruction is used to instruct a target server to transmit the whitelist to the first server;
the target server comprises a second server of the second APP, wherein the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact under a first registration account of the second APP; or at least one phone number corresponding to the first contact is included in a third APP, the bound phone number is the phone number of other contacts in a group with the first contact, and the target server includes a third server of the third APP;
the processing unit is specifically configured to determine, after the transceiver unit receives the matching instruction transmitted by the first server, the matching result according to the matching instruction, where the matching instruction is used to indicate a matching result of the phone number corresponding to the communication request and the white list.
16. The apparatus of claim 15, wherein the device comprises a plurality of sensors,
the communication request is a communication request of a first APP, and the processing unit is further used for determining whether to collect a telephone number corresponding to the communication request;
and if the telephone number corresponding to the communication request is not collected, transmitting the white list or transmitting the first instruction to a first server of the first APP by the receiving-transmitting unit.
17. The apparatus of claim 11, wherein the device comprises a plurality of sensors,
the processing unit is further configured to determine, after the transceiver unit receives the communication request, a type of a phone number of the incoming call request marked by the marking platform through feedback of the marking platform;
the type of the telephone number of the incoming call request is a target type, and the communication request is prompted.
18. The apparatus of claim 11, wherein the device comprises a plurality of sensors,
the processing unit is specifically configured to display, while ringing and/or vibrating, a contact way of a first target contact person, set for the first target contact person, for the terminal device, and/or display a source of the communication request, where the first target contact person is a first contact person indicated by a phone number corresponding to the communication request.
19. A communication device, comprising:
a transceiver unit and a processing unit;
the receiving and transmitting unit is used for acquiring a white list, wherein the white list comprises at least one telephone number corresponding to a first contact, and the first contact is a contact in which a contact way is collected for terminal equipment, and the at least one telephone number corresponding to the first contact comprises at least one telephone number bound by the first contact in a second APP; and/or at least one telephone number corresponding to the first contact is included in a third APP, and the telephone numbers bound in the third APP by other contacts in a group which belong to the same group as the first contact;
if the communication request needs to be transmitted, the processing unit is used for generating a matching instruction according to a matching result of the telephone number corresponding to the communication request and the white list;
the transceiver unit is further configured to transmit the communication request and the match indication.
20. A terminal apparatus, comprising:
at least one processor and a memory, the at least one processor,
the memory is used for storing program instructions;
the processor being configured to invoke and execute program instructions stored in the memory to cause the terminal device to perform the communication method of any of claims 1-9.
21. A terminal apparatus, comprising:
at least one processor and a memory, the at least one processor,
the memory is used for storing program instructions;
the processor is configured to invoke and execute program instructions stored in the memory, so as to cause the terminal device to execute the communication method according to claim 10.
22. A computer-readable storage medium comprising,
the computer readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method of any of claims 1-9.
23. A computer-readable storage medium comprising,
the computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of claim 10.
CN202011052313.3A 2020-09-29 2020-09-29 Communication method and device Active CN114338891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011052313.3A CN114338891B (en) 2020-09-29 2020-09-29 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011052313.3A CN114338891B (en) 2020-09-29 2020-09-29 Communication method and device

Publications (2)

Publication Number Publication Date
CN114338891A CN114338891A (en) 2022-04-12
CN114338891B true CN114338891B (en) 2023-09-29

Family

ID=81011514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011052313.3A Active CN114338891B (en) 2020-09-29 2020-09-29 Communication method and device

Country Status (1)

Country Link
CN (1) CN114338891B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055404A (en) * 2017-12-25 2018-05-18 广东欧珀移动通信有限公司 Reminder announced method, apparatus, terminal and storage medium
CN108900703A (en) * 2018-06-14 2018-11-27 佛山长意云信息技术有限公司 A kind of call management method, device, computer equipment and storage medium
CN109451186A (en) * 2018-11-06 2019-03-08 中国联合网络通信集团有限公司 A kind of voice hold-up interception method and system
CN110365831A (en) * 2019-07-09 2019-10-22 浙江口碑网络技术有限公司 Incoming call response method and device, system, storage medium, electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055404A (en) * 2017-12-25 2018-05-18 广东欧珀移动通信有限公司 Reminder announced method, apparatus, terminal and storage medium
CN108900703A (en) * 2018-06-14 2018-11-27 佛山长意云信息技术有限公司 A kind of call management method, device, computer equipment and storage medium
CN109451186A (en) * 2018-11-06 2019-03-08 中国联合网络通信集团有限公司 A kind of voice hold-up interception method and system
CN110365831A (en) * 2019-07-09 2019-10-22 浙江口碑网络技术有限公司 Incoming call response method and device, system, storage medium, electronic device

Also Published As

Publication number Publication date
CN114338891A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN110381485B (en) Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal
US11703960B2 (en) Air mouse mode implementation method and related device
CN111132234B (en) Data transmission method and corresponding terminal
CN111030990B (en) Method for establishing communication connection, client and server
WO2022100610A1 (en) Screen projection method and apparatus, and electronic device and computer-readable storage medium
CN109327613B (en) Negotiation method based on voice call translation capability and electronic equipment
CN110198362B (en) Method and system for adding intelligent household equipment into contact
US20220179827A1 (en) File Sharing Method of Mobile Terminal and Device
CN112335294B (en) Emergency call method and user terminal
CN112543447A (en) Device discovery method based on address list, audio and video communication method and electronic device
CN111010693A (en) Method for providing wireless fidelity WiFi network access service and electronic equipment
CN113126948B (en) Audio playing method and related equipment
CN112887926A (en) Calling method and device
CN113973398A (en) Wireless network connection method, electronic equipment and chip system
CN113473013A (en) Display method and device for beautifying effect of image and terminal equipment
WO2022022319A1 (en) Image processing method, electronic device, image processing system and chip system
CN115103304B (en) Position information calling method and device
CN114338891B (en) Communication method and device
EP4203391A1 (en) Interaction method and apparatus for terminal device
CN114449492B (en) Data transmission method and terminal equipment
CN115022849B (en) Data transmission method based on Wi-Fi P2P and electronic equipment
CN114845297B (en) Application program access method, electronic device and storage medium
EP4203409A1 (en) Method and devices for configuring device
WO2024022154A1 (en) Method for determining device user, and related apparatus
CN115734169A (en) Communication system and communication method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant