CN108833820B - Video call method and related product - Google Patents
Video call method and related product Download PDFInfo
- Publication number
- CN108833820B CN108833820B CN201810543408.1A CN201810543408A CN108833820B CN 108833820 B CN108833820 B CN 108833820B CN 201810543408 A CN201810543408 A CN 201810543408A CN 108833820 B CN108833820 B CN 108833820B
- Authority
- CN
- China
- Prior art keywords
- video call
- user
- electronic device
- preset
- identifier
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
- H04N7/147—Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a video call method and a related product, which are applied to electronic equipment, wherein the method comprises the following steps: receiving a video call request sent by an electronic device, wherein the video call request carries a first user identifier corresponding to the electronic device; if the first user identification is a preset identification, the preset identification has automatic answering authority, and network environment parameters of the electronic equipment are detected; and if the network environment parameter meets the preset requirement, carrying out video call with the electronic device. By the method and the device, the video call can be answered automatically, and convenience in operation and user experience are improved.
Description
Technical Field
The application relates to the technical field of communication, and mainly relates to a video call method and a related product.
Background
With the rapid popularization of electronic devices (such as mobile phones, tablet computers, and the like), video calls are a basic requirement for remote communication between people. Video calls are increasingly accepted and are commonly used in everyday life. In the prior art, intelligent electronic equipment is often adopted for video call, and for people who are not used to use the electronic equipment, when a video call request is received, the video call is easily missed due to slow operation.
Disclosure of Invention
The embodiment of the application provides a video call method and a related product, which can automatically answer a video call and improve the convenience of operation and user experience.
In a first aspect, an embodiment of the present application provides a video call method, applied to an electronic device, including:
receiving a video call request sent by an electronic device, wherein the video call request carries a first user identifier corresponding to the electronic device;
if the first user identification is a preset identification, the preset identification has automatic answering authority, and network environment parameters of the electronic equipment are detected;
and if the network environment parameter meets the preset requirement, carrying out video call with the electronic device.
In a second aspect, an embodiment of the present application provides a video call device, which is applied to an electronic device, and includes:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a video call request sent by an electronic device, and the video call request carries a first user identifier corresponding to the electronic device;
the detection unit is used for detecting the network environment parameters of the electronic equipment if the first user identification is a preset identification which has automatic answering authority;
and the communication unit is used for carrying out video call with the electronic device if the network environment parameters meet preset requirements.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for some or all of the steps described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program makes a computer perform some or all of the steps as described in the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
after the video call method and the related products are adopted, the electronic equipment receives a video call request sent by an electronic device, wherein the video call request carries a first user identifier corresponding to the electronic device, if the first user identifier is a preset identifier with automatic answering authority, network environment parameters of the electronic equipment are detected, and if the network environment parameters meet preset requirements, video call is carried out with the electronic device. That is to say, the first user identifier of the electronic device has the automatic answering authority, and the network environment parameter of the electronic device meets the preset requirement, the electronic device can directly perform the video call with the electronic device sending the video call request without the user answering the video call request, so that the convenience of operation and the user experience are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic structural diagram of a communication module according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a video call method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video call device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic devices and electronic apparatuses related to the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on. For convenience of description, the device that sends the video call request is collectively referred to as an electronic apparatus, and the device that receives the video call request is collectively referred to as an electronic device.
The embodiment of the application provides a video call method and a related product, which can automatically answer a video call and improve the convenience of operation and user experience. The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device provided in the present application. As shown in fig. 1A, the electronic device 100 includes: a communication module 110, a processor 120, a display 130, a memory 140, a voice pickup 150, a distance sensor 160, and a prompt module 170.
As shown in fig. 1B, the communication module 110 includes a receiver 112, a signal processing module 113 connected to the receiver 112, and a transmitter 111 connected to the signal processing module 113, wherein: the receiver 112 is used for receiving information sent by an external or processor 120, the signal processing module 113 is used for processing information received by the transmitter 111, and the transmitter 111 is used for sending information acquired by the signal processing module 113. In addition, the communication module 110 may also communicate with a network and other devices through wireless communication. The present application is not limited to wireless communication, and may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), email, Short Messaging Service (SMS), and the like.
The processor 120 is a control center of the electronic device, connects various parts of the entire electronic device 100 using various interfaces and lines, performs various functions of the electronic device 100 and processes data by running or executing software programs and/or modules stored in the memory 140 and calling data stored in the memory 140, thereby monitoring the electronic device 100 as a whole.
The memory 140 may be used to store software programs and functional modules, and the processor 120 executes various functional applications and data processing of the electronic device 100 by operating the software programs and functional modules stored in the memory 140.
The voice pickup 150 is used for collecting ambient sound, and may be a microphone on the electronic device 100, an earphone connected to a headset by wire, or a microphone of an earphone connected to the electronic device by wireless, and is not limited herein.
The distance sensor 160 is used to obtain the distance between the user and the electronic device, and the processor 120 may perform corresponding operations according to the distance, for example: automatically turning off the screen during conversation, and the like.
The prompting module 170 is used to prompt the user with various notification messages or prompt messages, and the prompting module 170 may be a sound playing module, for example: a speaker on the electronic device 100, an earphone wired to the earpiece or a speaker of an earphone wirelessly connected to the electronic device, or a sound playing module integrated below the display screen, i.e., a screen sounds; the prompting module 170 may also be a vibration module, such as: motors and the like; the prompting module 170 may also be a light or a display screen that can emit light, such as: the embodiment of the present application is not limited to the specific form of the prompting module 170.
The above electronic device is only an example, and the present application is not limited thereto, and the display screen may include a full-screen, a double-sided screen, or a foldable flexible display screen, a virtual display screen, etc.; the memory can also comprise a high-speed random access memory and can also comprise a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device or other volatile solid-state storage devices; the processor can be further refined into special purpose processors, such as: an Artificial Intelligence (AI) processor, an Application Processor (AP), a baseband processor, a brain wave processor, and the like; the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the electronic device 100 further includes sensors such as a light sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, input/output interfaces such as an audio input interface, a serial port, a keyboard, a speaker, and a charging interface, and a camera, a bluetooth module, and the like, which are not shown.
In this application, the communication module 110 is configured to receive a video call request sent by an electronic device, where the video call request carries a first user identifier corresponding to the electronic device; the memory 140 is configured to store a preset identifier and a preset requirement, where the preset identifier has an automatic answering authority; the processor 120 is configured to detect a network environment parameter of the electronic device if the first user identifier is the preset identifier; and if the network environment parameter meets the preset requirement, carrying out video call with the electronic device.
It can be understood that the communication module 110 receives a video call request sent by an electronic device, where the video call request carries a first user identifier corresponding to the electronic device, and if the first user identifier is a preset identifier having an automatic answering right, the processor 120 detects a network environment parameter of the electronic device 100, and if the network environment parameter meets a preset requirement, the electronic device 100 and the electronic device perform a video call. That is to say, when the first user identifier of the electronic device has the automatic answering authority, and the network environment parameter of the electronic device 100 meets the preset requirement, the electronic device 100 can directly perform the video call with the electronic device that sends the video call request without the user answering the video call request, thereby improving the convenience of operation and the user experience.
In one possible example, the video call request further carries a second user identifier corresponding to the electronic device, and the memory 140 is further configured to store an authority threshold; the processor 120 is further configured to obtain a video call frequency and a first video call average duration between a first user corresponding to the first user identifier and a second user corresponding to the second user identifier; acquiring an affinity value between the first user and the second user according to the video call frequency and the first video call average duration; and if the intimacy value is larger than the permission threshold, determining that the first user identifier is the preset identifier.
In one possible example, in terms that the processor 120 obtains the affinity value between the first user and the second user according to the video call frequency and the first video call average duration, the processor 120 is specifically configured to obtain a second video call average duration of the second user in the electronic device 100; acquiring the ratio of the average duration of the first video call to the average duration of the second video call; and acquiring the affinity value according to the ratio and the video call frequency.
In a possible example, the first user identifier is associated with a target application corresponding to the video call request, the network environment parameter includes a network type, a remaining traffic corresponding to the target application in the electronic device 100, and a network configuration parameter corresponding to the target application for the second user, and the processor 120 is further configured to determine that the network environment parameter satisfies the preset condition if the network type is a wireless local area network; and if the network type is a data network and the residual flow is greater than a flow threshold value, or the network configuration parameters allow the data network to be used for video call, determining that the network environment parameters meet the preset conditions.
In one possible example, before the processor 120 obtains the video call frequency and the first average video call duration between the first user corresponding to the first user identifier and the second user corresponding to the second user identifier, the voice picker 150 is configured to obtain the ambient sound; the processor 120 is further configured to determine a volume level corresponding to the ambient sound; the prompting module 170 is configured to prompt the video call request according to a prompting parameter corresponding to the volume; the distance sensor 160 is configured to obtain a distance between the second user and the electronic device; the memory 140 is also used to store a distance threshold; the processor 120 is further configured to execute the step of obtaining a first video call frequency and a first video call average duration between a first user corresponding to the first user identifier and a second user corresponding to the second user identifier when the distance is smaller than a distance threshold.
Referring to fig. 2, an embodiment of the present application provides a flow chart illustrating a video call method. Specifically, as shown in fig. 2, a video call method applied to an electronic device includes:
s201: the electronic equipment receives a video call request sent by the electronic device.
In the embodiment of the application, the video call request carries a first user identifier corresponding to the electronic device and also carries a second user identifier corresponding to the electronic equipment.
The user identifier is not limited in the embodiment of the application, and may be related to a target application corresponding to the video call request, for example, a first user identifier, where the first user identifier is an account registered in a video call request sent by an electronic device through the video chat application or another chat application; the user identifier may also be a phone number corresponding to a Subscriber Identity Module (SIM) installed in the electronic device, an electronic mailbox bound in the electronic device, or a business card stored in the electronic device.
S202: and if the first user identifier is a preset identifier, the electronic equipment detects the network environment parameters of the electronic equipment.
The preset identifier has an automatic answering authority, namely when the first user identifier is the preset identifier, the electronic equipment can carry out video call with the electronic device sending the video call request without answering the video call request by the user, so that the convenience of operation and the user experience are improved.
In this application embodiment, a user may open an automatic answering authority for an account or an electronic device corresponding to a user identifier in advance, and an electronic device stores a user identifier set as the automatic answering authority to a preset identifier set, that is, preset identifiers in the preset identifier set all have automatic answering authorities, for example: the preset identification set comprises the following identifications: pu12345, yu2546 and 305kmn, when the first user identifier is yu2546, the first user identifier is a preset identifier; the electronic device may further determine, according to an affinity value between a first user corresponding to the first user identifier and a second user corresponding to the second user identifier, whether the first user identifier is the preset identifier, and the like, which is not limited herein.
Optionally, the method further includes: the electronic equipment acquires video call frequency and first video call average duration between a first user corresponding to the first user identification and a second user corresponding to the second user identification; the electronic equipment acquires an affinity value between the first user and the second user according to the video call frequency and the first video call average duration; if the intimacy value is larger than the permission threshold, the electronic equipment determines that the first user identifier is the preset identifier.
The first user is a user using the first user identifier on an electronic device or other electronic devices, and the other electronic devices are electronic devices which pass login verification corresponding to the first user identifier; the second user is a user using the first user identifier on an electronic device or other electronic devices, and the other electronic devices are electronic devices authenticated by login corresponding to the second user identifier, which is not limited herein. It can be understood that when the video call frequency and the first video call average duration between the first user in all the electronic devices corresponding to the first user identifier and the second user in all the electronic devices corresponding to the second user identifier are counted, the accuracy of obtaining the video call frequency and the video call average duration can be further improved.
In an alternative embodiment, the video call frequency is the frequency of the video call between the first user and the second user, and is measured by week, month, year, or 10 days, and the like, which is not limited herein; the first video call average time length is the ratio of the total call time length of the video call between the first user and the second user to the video call times; the affinity value is the degree of affinity of the first user and the second user for video call; the permission threshold is used for judging whether the first user identifier is a preset identifier, namely when the intimacy value is greater than the permission threshold, the first user identifier is determined to be the preset identifier.
In an optional embodiment, the affinity value may be calculated by weighting according to a preset weight corresponding to the video call frequency and the first video call average duration, the preset weight is not limited, the affinity value may be determined according to the total video call times in the electronic device and the total call duration in the electronic device, the ratio of the video call times between the second user and the first user to the total video call times in the electronic device may also be determined according to the ratio of the first video call average duration to the total call duration in the electronic device, and then the preset weight corresponding to the video call frequency and the first video call average duration and the like may be determined according to the two ratios.
Optionally, the obtaining the affinity value between the first user and the second user according to the first video call frequency and the first video call average duration includes: the electronic equipment acquires the average time length of a second video call of the second user in the electronic equipment; the electronic equipment acquires the ratio of the average duration of the first video call to the average duration of the second video call; and the electronic equipment acquires the affinity value according to the ratio and the video call frequency.
And the second video call average time length is the ratio of the total call time length of the second user for carrying out the video call through the electronic equipment to the total video call times.
In an optional embodiment, the method for how to obtain the affinity value according to the ratio and the video call frequency is not limited, a product between the ratio and the video call frequency may be used as the affinity value, a threshold may also be preset, when the ratio is greater than the threshold, the affinity value is obtained according to the ratio, and when the ratio is less than or equal to the threshold, the affinity value is obtained according to the video call frequency; a first threshold and a second threshold may also be preset, where the first threshold is greater than the second threshold, the affinity value is obtained according to the ratio when the ratio is greater than the first threshold, a product between the ratio and the video call frequency is used as the affinity value when the ratio is less than or equal to the first threshold and greater than the second threshold, and the affinity value is obtained according to the video call frequency when the ratio is less than or equal to the second threshold.
It can be understood that, the electronic device first obtains the second video call average duration of the second user in the electronic device, then obtains the ratio between the first video call average duration and the second video call average duration, and then obtains the affinity value according to the ratio and the video call frequency, so that the accuracy of obtaining the affinity value can be improved.
In this embodiment, the network environment parameter is not limited, and the network environment parameter may include a network type, a network identifier, a network rate, and the like, and when the first user identifier is related to a target application corresponding to the video call request, the network environment parameter may further include a remaining traffic corresponding to the target application in the electronic device, a network configuration parameter corresponding to the target application by the second user, and the like.
The network type includes a wireless local area network, for example: wireless fidelity (WI-FI); network types also include data networks, such as: 2G, 3G, 4G, 5G, etc.; the network identifier includes a physical identifier or a network identifier corresponding to the wireless local area network, and also includes an operator identifier or a base station identifier corresponding to the data network, which is not limited herein.
The network configuration parameters are a network rate, a network access policy and the like corresponding to a network rate policy defined by the second user for the target application, wherein the network access policy is whether a data network is adopted when a large amount of traffic (such as video call, video browsing, video downloading or audio downloading) is detected, time information, location information and a data traffic using result during each video communication can be counted, and then analysis is performed according to the information to determine the network access policy of the second user.
For example: when the electronic equipment uses a data network, receiving 4 video call requests carrying a first user identifier, wherein: the time information of the first video call request is 6: 20, the place information is the home, and the data flow use result is refusal; the time information of the second video call request is 8: 00, the location information is the road from the house to the company, and the data traffic using result is the acceptance; the time information of the third video call request is 12: 20, the place information is a canteen, and the data flow use result is acceptance; the time information of the fourth video call request is 14: 20, the location information is company, and the data traffic usage result is rejection. And determining the non-sleeping time of the user outside (not at home and not at company) according to the 4 video call requests, wherein the data traffic usage result is acceptance, and the data traffic usage result is rejection at home, at company or at sleeping time.
The electronic device prompts the video call request after receiving the video call request, wherein the prompting method can be related to the setting of the user in the system or the target application, and the device content comprises permission notification, sound, application icon mark, display on a lock screen, display in an off screen display (AOD) state, temporary or continuous display, banner display and the like.
Optionally, before the obtaining of the video call frequency and the first video call average duration between the first user corresponding to the first user identifier and the second user corresponding to the second user identifier, the method further includes: acquiring the environmental sound through a voice pickup of the electronic equipment; the electronic equipment determines the volume corresponding to the environmental sound; the electronic equipment prompts the video call request according to the prompt parameter corresponding to the volume; acquiring a distance between the second user and the electronic equipment through a distance sensor of the electronic equipment; and when the distance is smaller than a distance threshold value, executing the step that the electronic equipment acquires a first video call frequency and a first video call average time length between a first user corresponding to the first user identification and a second user corresponding to the second user identification.
The voice pickup device can be a microphone on the electronic device, and can also be a microphone on an earphone externally connected with the electronic device or other devices. After receiving the video communication request, the voice pickup collects audio data in the environment where the electronic equipment is located to obtain the environment sound.
The prompting parameters comprise prompting volume of a loudspeaker or an earphone, vibration frequency or vibration amplitude of a motor, and flashing frequency or flashing brightness, color and the like of a flashing light or a breathing light.
The distance threshold is used for judging whether to execute the step of acquiring the video call frequency and the first video call average time length between the first user corresponding to the first user identification and the second user corresponding to the second user identification, namely, when the distance between the second user and the electronic equipment is smaller than the distance threshold, whether the first user identification is a preset identification is determined, otherwise, the step of acquiring the video call frequency and the first video call average time length between the first user corresponding to the first user identification and the second user corresponding to the second user identification is not executed, so that the accuracy of video communication is improved.
In an optional embodiment, the electronic device may pre-store a mapping relationship between the volume and the prompt parameter, determine the volume corresponding to the environmental sound, and determine the prompt parameter corresponding to the environmental sound according to the mapping relationship, so as to prompt the video call request according to the prompt parameter, thereby improving the accuracy and effectiveness of the prompt. Then, the distance between the second user and the electronic device is obtained through a distance sensor, whether the first user identification is a preset identification or not is determined when the distance between the second user and the electronic device is smaller than the distance threshold, and otherwise, the step of obtaining the video call frequency and the first video call average time length between the first user corresponding to the first user identification and the second user corresponding to the second user identification is not executed, so that the accuracy of video communication is improved.
S203: and if the network environment parameter meets the preset requirement, the electronic equipment and the electronic device carry out video call.
In this embodiment of the present application, the preset requirement is not limited, and when the network rate is greater than a rate threshold, the electronic device determines that the network environment parameter meets the preset requirement, so as to improve a video communication effect; and when the network type is a wireless local area network, the electronic equipment determines that the network environment parameter meets the preset requirement, so that the data flow in the electronic equipment is prevented from being used, the expense is saved, and the user experience is improved.
Optionally, if the network type is a wireless local area network, the electronic device determines that the network environment parameter meets the preset condition; if the network type is a data network and the residual flow is greater than a flow threshold value, or the network configuration parameter allows the data network to be used for video call, the electronic device determines that the network environment parameter meets the preset condition.
Now, besides the SIM card provided by the operator, there are some SIM cards associated with a specific application, so that the electronic device equipped with the SIM card can use unlimited traffic when using the specific application, that is, when the electronic device uses the SIM card, video communication can be performed in a data network.
In an alternative embodiment, the traffic threshold may be a traffic value or a traffic ratio preset by the user, that is, when the remaining traffic is greater than a product between the traffic and the traffic ratio in the traffic package, it is determined that the network environment parameter satisfies the preset condition.
It can be understood that, when the network type is a wireless local area network, the electronic device determines that the network environment parameter meets the preset condition, and when the network type is a data network and the residual flow is greater than a flow threshold, or the network configuration parameter allows the data network to be used for video call, and when the electronic device determines that the network environment parameter meets the preset condition, that is, the data network, the electronic device judges whether the network environment parameter meets the preset condition according to the residual flow and the network configuration parameter, if so, the electronic device can directly perform video call with an electronic device sending a video call request without a user answering the video call request, thereby improving convenience in operation and user experience.
For example, assume that the first user identifier is yu2546, the second user is a father of the first user, and the second user is not used to use the electronic device, the first user previously sets the first user identifier as a preset identifier in the electronic device, the network environment parameter is a network type, and the preset requirement is that the network type is a wireless local area network. When a first user sends a video call request to the electronic equipment through the electronic device, the first user identification is a preset identification, and the network type of the electronic equipment is detected to be a wireless local area network, so that the electronic equipment can carry out video call with the electronic device without a second user answering the video call request, and a second user who is not used to the electronic equipment can also quickly answer the video call initiated by the first user, thereby improving the convenience of operation and the user experience.
In the video call method shown in fig. 2, an electronic device receives a video call request sent by an electronic apparatus, where the video call request carries a first user identifier corresponding to the electronic apparatus, and if the first user identifier is a preset identifier having an automatic answering authority, a network environment parameter of the electronic device is detected, and if the network environment parameter meets a preset requirement, a video call is performed with the electronic apparatus. That is to say, the first user identifier of the electronic device has the automatic answering authority, and the network environment parameter of the electronic device meets the preset requirement, the electronic device can directly perform the video call with the electronic device sending the video call request without the user answering the video call request, so that the convenience of operation and the user experience are improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a video call device according to an embodiment of the present application, and as shown in fig. 3, the video call device 200 is applied to an electronic device, and includes:
a receiving unit 201, configured to receive a video call request sent by an electronic device, where the video call request carries a first user identifier corresponding to the electronic device;
a detecting unit 202, configured to detect a network environment parameter of the electronic device if the first user identifier is a preset identifier and the preset identifier has an automatic answering authority;
the communication unit 203 is configured to perform a video call with the electronic apparatus if the network environment parameter meets a preset requirement.
It can be understood that the receiving unit 201 receives a video call request sent by an electronic device, where the video call request carries a first user identifier corresponding to the electronic device, if the first user identifier is a preset identifier having an automatic answering authority, the detecting unit 202 detects a network environment parameter of the electronic device, and if the network environment parameter meets a preset requirement, the communication unit 203 performs a video call with the electronic device. That is to say, the first user identifier of the electronic device has the automatic answering authority, and the network environment parameter of the electronic device meets the preset requirement, the electronic device can directly perform the video call with the electronic device sending the video call request without the user answering the video call request, so that the convenience of operation and the user experience are improved.
In one possible example, the video call request further carries a second user identifier corresponding to the electronic device, and the apparatus 200 further includes:
an obtaining unit 204, configured to obtain a video call frequency and a first video call average duration between a first user corresponding to the first user identifier and a second user corresponding to the second user identifier; acquiring an affinity value between the first user and the second user according to the video call frequency and the first video call average duration;
a determining unit 205, configured to determine that the first user identifier is the preset identifier if the affinity value is greater than an authority threshold.
In a possible example, the obtaining unit 204 is specifically configured to obtain a second average duration of video calls of the second user in the electronic device; acquiring the ratio of the average duration of the first video call to the average duration of the second video call; and acquiring the affinity value according to the ratio and the video call frequency.
In one possible example, the first user identifier is associated with a target application corresponding to the video call request, the network environment parameter includes a network type, a remaining traffic corresponding to the target application in the electronic device, and a network configuration parameter corresponding to the target application for the second user, and the network environment parameter includes a network type, a remaining traffic corresponding to the target application in the electronic device, and the network configuration parameter corresponds to the target application for the second user
A determining unit 205, configured to determine that the network environment parameter meets the preset condition if the network type is a wireless local area network; and if the network type is a data network and the residual flow is greater than a flow threshold value, or the network configuration parameters allow the data network to be used for video call, determining that the network environment parameters meet the preset conditions.
In one possible example, the obtaining unit 204 is further configured to obtain the environmental sound through a voice pickup of the electronic device; acquiring a distance between the second user and the electronic equipment through a distance sensor of the electronic equipment;
the determining unit 205 is further configured to determine a volume level corresponding to the ambient sound;
the apparatus 200 further comprises:
a prompting unit 206, configured to prompt the video call request according to a prompting parameter corresponding to the volume; and when the distance is smaller than the distance threshold, calling the obtaining unit 204.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 4, the electronic device 400 includes a processor 410, a memory 420, a telephony interface 430, and one or more programs 440, wherein the one or more programs 440 are stored in the memory 420 and configured to be executed by the processor 410, and wherein the programs 440 include instructions for:
receiving a video call request sent by an electronic device, wherein the video call request carries a first user identifier corresponding to the electronic device;
if the first user identification is a preset identification, the preset identification has automatic answering authority, and network environment parameters of the electronic equipment are detected;
and if the network environment parameter meets the preset requirement, carrying out video call with the electronic device.
It can be understood that an electronic device receives a video call request sent by an electronic device, where the video call request carries a first user identifier corresponding to the electronic device, and if the first user identifier is a preset identifier with an automatic answering authority, a network environment parameter of the electronic device is detected, and if the network environment parameter meets a preset requirement, a video call is performed with the electronic device. That is to say, the first user identifier of the electronic device has the automatic answering authority, and the network environment parameter of the electronic device meets the preset requirement, the electronic device can directly perform the video call with the electronic device sending the video call request without the user answering the video call request, so that the convenience of operation and the user experience are improved.
In one possible example, the video call request further carries a second user identifier corresponding to the electronic device, and the instructions in the program 440 are further configured to:
acquiring video call frequency and first video call average duration between a first user corresponding to the first user identification and a second user corresponding to the second user identification;
acquiring an affinity value between the first user and the second user according to the video call frequency and the first video call average duration;
and if the intimacy value is greater than the permission threshold, determining that the first user identifier is the preset identifier.
In one possible example, in the determining the affinity value between the first user and the second user according to the video call frequency and the first video call average duration, the instructions in the program 440 are specifically configured to:
acquiring a second video call average time length of the second user in the electronic equipment;
acquiring the ratio of the average duration of the first video call to the average duration of the second video call;
and acquiring the affinity value according to the ratio and the video call frequency.
In one possible example, the first user identifier is associated with a target application corresponding to the video call request, the network environment parameters include a network type, a remaining traffic corresponding to the target application in the electronic device, and network configuration parameters corresponding to the target application for the second user, and the instructions in the program 440 are further configured to:
if the network type is a wireless local area network, determining that the network environment parameter meets the preset condition;
and if the network type is a data network and the residual flow is greater than a flow threshold value, or the network configuration parameters allow the data network to be used for video call, determining that the network environment parameters meet the preset conditions.
In one possible example, before the obtaining the video call frequency and the first average video call duration between the first user corresponding to the first subscriber identity and the second user corresponding to the second subscriber identity, the instructions in the program 440 are further configured to:
acquiring the environmental sound through a voice pickup of the electronic equipment;
determining the volume corresponding to the environment sound;
prompting the video call request according to a prompt parameter corresponding to the volume;
acquiring a distance between the second user and the electronic equipment through a distance sensor of the electronic equipment;
and when the distance is smaller than a distance threshold value, executing the step of acquiring a first video call frequency and a first video call average duration between a first user corresponding to the first user identification and a second user corresponding to the second user identification.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for causing a computer to execute a part or all of the steps of any one of the methods as described in the method embodiments, and the computer includes an electronic device.
Embodiments of the application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the method embodiments. The computer program product may be a software installation package and the computer comprises the electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will also appreciate that the embodiments described in this specification are presently preferred and that no particular act or mode of operation is required in the present application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or talking connection may be through some interfaces, indirect coupling or talking connection of devices or units, and may be electric or other forms.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a hardware mode or a software program mode.
The integrated unit, if implemented in the form of a software program module and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (11)
1. A video call method is applied to an electronic device, and the method comprises the following steps:
receiving a video call request sent by an electronic device, acquiring environmental sound through a voice pickup device of the electronic equipment, determining the volume corresponding to the environmental sound, prompting the video call request according to a prompt parameter corresponding to the volume, and acquiring the distance between a second user of the electronic equipment and the electronic equipment through a distance sensor of the electronic equipment, wherein the video call request carries a first user identifier corresponding to the electronic device, and the prompt parameter comprises the prompt volume of a loudspeaker or an earphone;
when the distance is smaller than a distance threshold value, judging whether the first user identification is a preset identification, if the first user identification is the preset identification, the preset identification has automatic answering authority, and detecting network environment parameters of the electronic equipment;
if the network environment parameter meets the preset requirement, carrying out video call with the electronic device;
and when the distance is greater than or equal to the distance threshold value, the step of judging whether the first user identifier is a preset identifier is not executed.
2. The method of claim 1, wherein the video call request further carries a second user identification corresponding to the electronic device, the method further comprising:
acquiring video call frequency and first video call average duration between a first user corresponding to the first user identification and a second user corresponding to the second user identification;
acquiring an affinity value between the first user and the second user according to the video call frequency and the first video call average duration;
and if the intimacy value is greater than the permission threshold, determining that the first user identifier is the preset identifier.
3. The method of claim 2, wherein determining the affinity value between the first user and the second user based on the video call frequency and the first video call average duration comprises:
acquiring a second video call average time length of the second user in the electronic equipment;
acquiring the ratio of the average duration of the first video call to the average duration of the second video call;
and acquiring the affinity value according to the ratio and the video call frequency.
4. The method of claim 2 or 3, wherein the first user identifier is associated with a target application corresponding to the video call request, and wherein the network environment parameters include a network type, a remaining traffic corresponding to the target application in the electronic device, and a network configuration parameter corresponding to the target application by the second user, and wherein the method further comprises:
if the network type is a wireless local area network, determining that the network environment parameter meets the preset requirement;
and if the network type is a data network and the residual flow is greater than a flow threshold value, or the network configuration parameters allow the data network to be used for video call, determining that the network environment parameters meet the preset requirements.
5. An electronic device comprising a processor, a communication module coupled to the processor, and a memory, wherein:
a voice pickup for acquiring an ambient sound;
the processor is further configured to determine a volume corresponding to the ambient sound;
the prompting module is used for prompting a video call request according to a prompting parameter corresponding to the volume, wherein the prompting parameter comprises the prompting volume of a loudspeaker or an earphone;
a distance sensor for acquiring a distance between a second user and the electronic device;
the memory is further used for storing a distance threshold value;
the communication module is used for receiving a video call request sent by an electronic device, wherein the video call request carries a first user identifier corresponding to the electronic device;
the memory is used for storing a preset identifier and a preset requirement, and the preset identifier has an automatic answering authority;
the processor is configured to detect a network environment parameter of the electronic device if the first user identifier is the preset identifier when the distance is smaller than a distance threshold; and if the network environment parameter meets the preset requirement, carrying out video call with the electronic device.
6. The electronic device of claim 5, wherein the video call request further carries a second user identifier corresponding to the electronic device, and wherein the memory is further configured to store an authorization threshold;
the processor is further configured to obtain a video call frequency and a first video call average duration between a first user corresponding to the first user identifier and a second user corresponding to the second user identifier; acquiring an affinity value between the first user and the second user according to the video call frequency and the first video call average duration; and if the intimacy value is larger than the permission threshold, determining that the first user identifier is the preset identifier.
7. The electronic device of claim 6, wherein, in terms of the processor obtaining the affinity value between the first user and the second user according to the video call frequency and the first video call average duration, the processor is specifically configured to obtain a second video call average duration of the second user in the electronic device; acquiring the ratio of the average duration of the first video call to the average duration of the second video call; and acquiring the affinity value according to the ratio and the video call frequency.
8. The electronic device according to claim 6 or 7, wherein the first user identifier is associated with a target application corresponding to the video call request, the network environment parameter includes a network type, a remaining traffic corresponding to the target application in the electronic device, and a network configuration parameter corresponding to the target application for the second user, and the processor is further configured to determine that the network environment parameter meets the preset requirement if the network type is a wireless local area network; and if the network type is a data network and the residual flow is greater than a flow threshold value, or the network configuration parameters allow the data network to be used for video call, determining that the network environment parameters meet the preset requirements.
9. A video call device applied to an electronic device includes:
the device comprises a receiving unit, a voice pickup unit and a processing unit, wherein the receiving unit is used for receiving a video call request sent by an electronic device, acquiring environmental sound through the voice pickup unit of the electronic equipment, determining the volume corresponding to the environmental sound, prompting the video call request according to a prompt parameter corresponding to the volume, and acquiring the distance between a second user of the electronic equipment and the electronic equipment through a distance sensor of the electronic equipment, the video call request carries a first user identifier corresponding to the electronic device, and the prompt parameter comprises the prompt volume of a loudspeaker or an earphone;
the detection unit is used for judging whether the first user identifier is a preset identifier or not when the distance is smaller than a distance threshold value, and if the first user identifier is the preset identifier, the preset identifier has automatic answering authority, and network environment parameters of the electronic equipment are detected;
the detection unit is further configured to, when the distance is greater than or equal to a distance threshold, not perform the step of determining whether the first user identifier is a preset identifier;
and the communication unit is used for carrying out video call with the electronic device if the network environment parameters meet preset requirements.
10. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-4.
11. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810543408.1A CN108833820B (en) | 2018-05-29 | 2018-05-29 | Video call method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810543408.1A CN108833820B (en) | 2018-05-29 | 2018-05-29 | Video call method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108833820A CN108833820A (en) | 2018-11-16 |
CN108833820B true CN108833820B (en) | 2021-03-12 |
Family
ID=64146822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810543408.1A Active CN108833820B (en) | 2018-05-29 | 2018-05-29 | Video call method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108833820B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110062189A (en) * | 2019-05-28 | 2019-07-26 | 维沃移动通信有限公司 | The method and mobile terminal that video calling is reminded |
CN111246059B (en) * | 2020-01-09 | 2021-09-21 | Oppo(重庆)智能科技有限公司 | Control method and device for lifting camera module, electronic equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104135641A (en) * | 2014-07-15 | 2014-11-05 | 北京小鱼儿科技有限公司 | Tool of mobile terminal and server for intelligently integrating audio and video |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7193644B2 (en) * | 2002-10-15 | 2007-03-20 | Revolutionary Concepts, Inc. | Automated audio video messaging and answering system |
CN201315622Y (en) * | 2008-11-21 | 2009-09-23 | 康佳集团股份有限公司 | Mobile phone capable of automatically adjusting sound volume |
CN101753679A (en) * | 2008-12-04 | 2010-06-23 | 深圳富泰宏精密工业有限公司 | Sound volume adjusting system and method |
CN101772213A (en) * | 2010-01-08 | 2010-07-07 | 王晋殊 | Method for realizing automatic adjustment of ringtones |
US9020476B2 (en) * | 2011-09-12 | 2015-04-28 | Leipzig Technology, Llc | System and method for remote care and monitoring using a mobile device |
CN103856613A (en) * | 2012-12-03 | 2014-06-11 | 联想(北京)有限公司 | State switching method and device and first communication terminal |
CN104219479B (en) * | 2013-05-30 | 2017-11-03 | 中国电信股份有限公司 | Video communication service processing method and system |
CN104092972B (en) * | 2014-07-15 | 2018-10-02 | 北京小鱼在家科技有限公司 | A kind of communication terminal and the tool for being installed on mobile terminal |
US9444942B2 (en) * | 2014-10-23 | 2016-09-13 | Vivint, Inc. | Managing telephonic communications |
CN105872203A (en) * | 2015-12-31 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Method for rapidly answering the phone and mobile phone terminal |
CN105554323B (en) * | 2016-02-23 | 2020-11-20 | 北京移数通电讯有限公司 | Call system, device and method |
CN105915724B (en) * | 2016-06-21 | 2019-10-25 | 依偎科技(南昌)有限公司 | A kind of method, apparatus and terminal of incoming call handling |
CN107749967A (en) * | 2017-10-31 | 2018-03-02 | 广州成达信息科技有限公司 | A kind of video communication optimization method and its system |
-
2018
- 2018-05-29 CN CN201810543408.1A patent/CN108833820B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104135641A (en) * | 2014-07-15 | 2014-11-05 | 北京小鱼儿科技有限公司 | Tool of mobile terminal and server for intelligently integrating audio and video |
Also Published As
Publication number | Publication date |
---|---|
CN108833820A (en) | 2018-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107708168B (en) | SIM card switching method, mobile terminal and computer readable storage medium | |
CN112004173B (en) | Bluetooth headset switching method, mobile terminal and computer readable storage medium | |
CN108965306B (en) | Call processing method and mobile terminal | |
JP6596173B1 (en) | Incoming call management method and apparatus | |
CN108574940B (en) | Incoming call processing method and device | |
CN109618316B (en) | Network sharing method, mobile terminal and storage medium | |
KR20190087206A (en) | An electronic device providing call continuity in a weak signal environment and control method thereof | |
US11507340B2 (en) | Audio output method, electronic device, and storage medium | |
CN108111986A (en) | A kind of conversion method of notification message, terminal and computer readable storage medium | |
CN107222629A (en) | Call processing method and related product | |
CN108833820B (en) | Video call method and related product | |
CN112612598A (en) | Anti-addiction method, mobile terminal and computer-readable storage medium | |
CN107046595A (en) | Announcement information processing method, device and mobile terminal | |
CN109474745B (en) | Method and related equipment for double-card dialing display | |
CN104113620A (en) | Contact list updating method, updating device and user terminal | |
CN108959960B (en) | Method, device and computer readable storage medium for preventing privacy disclosure | |
CN109561214B (en) | Call processing method and mobile terminal | |
CN108040178B (en) | Incoming call processing method and device, storage medium and electronic equipment | |
US10841422B2 (en) | Multi-SIM call management method and apparatus, managed device, and server | |
CN106255117B (en) | Pseudo-base station recognition methods and device | |
CN109257746A (en) | Communication establishing method, communication means, terminal and computer readable storage medium | |
CN115134462A (en) | Control method, intelligent terminal and storage medium | |
CN109348038B (en) | Incoming call processing method, mobile terminal and computer storage medium | |
WO2020237506A1 (en) | Information configuration method and apparatus, service processing method and apparatus, and base station | |
CN104158948A (en) | Method and device for adjusting ringtone of mobile terminal |
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 |