CN113473064A - Video call image processing method and device, computer equipment and storage medium - Google Patents
Video call image processing method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113473064A CN113473064A CN202110970148.8A CN202110970148A CN113473064A CN 113473064 A CN113473064 A CN 113473064A CN 202110970148 A CN202110970148 A CN 202110970148A CN 113473064 A CN113473064 A CN 113473064A
- Authority
- CN
- China
- Prior art keywords
- instant messaging
- messaging application
- video call
- video
- video file
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 25
- 238000004590 computer program Methods 0.000 claims description 24
- 238000012544 monitoring process Methods 0.000 claims description 21
- 230000006870 function Effects 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 abstract description 17
- 238000010586 diagram Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
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
-
- 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/142—Constructional details of the terminal equipment, e.g. arrangements of the camera and the display
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a video call image processing method, a device, computer equipment and a storage medium, wherein the method comprises the steps of detecting whether an instant messaging application is in a video call; when the instant messaging application is in a video call, acquiring a pre-stored video file; replacing the image shot by the camera called by the instant messaging application with the video file; and sending the video file to a communication party of the video call. The pre-stored video file is used for replacing the image shot by the camera in real time in the video call of the instant messaging application, so that the other party can only watch the video file in the call process, the privacy of the current user is effectively protected, and the video call of the user is more flexible.
Description
Technical Field
The present invention relates to the field of instant messaging technologies, and in particular, to a method and an apparatus for processing video call images, a computer device, and a storage medium.
Background
With the rapid development of networks and intelligent electronic devices, scenes of video calls are endless, and great convenience is brought to life. Meanwhile, the video call also brings about a plurality of privacy problems, when the user is connected under the condition that the privacy is not convenient to reveal, the user can only carry out privacy protection by closing or shielding the camera after connection, and the protection of the party under the known connection condition can only be carried out no matter whether the camera is closed or shielded, so that the privacy protection under the condition that the party is accidentally answered cannot be covered.
Disclosure of Invention
Therefore, it is necessary to provide a video call image processing method, an apparatus, a computer device, and a storage medium for solving a technical problem that a user cannot protect privacy when intending to connect a video call.
A video call image processing method comprises the following steps:
detecting whether the instant messaging application is in a video call;
when the instant messaging application is in a video call, acquiring a pre-stored video file;
replacing the image shot by the camera called by the instant messaging application with the video file;
and sending the video file to a communication party of the video call.
In one embodiment, the step of detecting whether the instant messaging application is in a video call comprises:
detecting whether the instant messaging application calls the camera or not;
when the instant messaging application is in a video call, the step of acquiring the pre-stored video file comprises the following steps:
and when the instant messaging application calls the camera, acquiring the pre-stored video file.
In one embodiment, the step of detecting whether the instant messaging application is in a video call comprises:
detecting whether the instant messaging application receives a call request of a video call;
when the instant messaging application is in a video call, the step of acquiring the pre-stored video file comprises the following steps:
and when the instant messaging application receives the call request of the video call, acquiring a pre-stored video file.
In one embodiment, the step of acquiring a pre-stored video file when the instant messaging application is in a video call includes:
when the instant messaging application is in a video call, detecting whether a switching instruction is received;
and when the switching instruction is received, acquiring the pre-stored video file.
In one embodiment, the step of replacing the image shot by the camera called by the instant messaging application with the video file comprises:
acquiring an image shot by the camera, and storing the image shot by the camera in a cache region;
and replacing the image in the cache region with the video file.
In one embodiment, the step of detecting whether the instant messaging application is in a video call comprises:
detecting whether a preset monitoring function is started or not;
and when the preset monitoring function is started, detecting whether the instant messaging application is in a video call.
A video call image processing apparatus comprising:
the video call detection module is used for detecting whether the instant messaging application is in a video call;
the video file acquisition module is used for acquiring a pre-stored video file when the instant messaging application is in a video call;
the replacing module is used for replacing the image shot by the camera called by the instant messaging application with the video file;
and the video file sending module is used for sending the video file to a communication party of the video call.
In one embodiment, the video call detection module is further configured to detect whether the instant messaging application calls the camera;
the video file acquisition module is further used for acquiring the pre-stored video file when the instant messaging application calls the camera.
A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of:
detecting whether the instant messaging application is in a video call;
when the instant messaging application is in a video call, acquiring a pre-stored video file;
replacing the image shot by the camera called by the instant messaging application with the video file;
and sending the video file to a communication party of the video call.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
detecting whether the instant messaging application is in a video call;
when the instant messaging application is in a video call, acquiring a pre-stored video file;
replacing the image shot by the camera called by the instant messaging application with the video file;
and sending the video file to a communication party of the video call.
According to the video call image processing method, the video call image processing device, the computer equipment and the storage medium, the pre-stored video file replaces the image shot by the camera in real time in the video call of the instant communication application, so that the other party can only watch the video file in the call process, the privacy of the current user is effectively protected, and the video call of the user is more flexible.
Drawings
Fig. 1 is a schematic view of an application scenario of a video call image processing method in an embodiment;
FIG. 2 is a flow diagram illustrating a method for processing video call images in one embodiment;
FIG. 3 is a block diagram of an embodiment of a video call image processing apparatus;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 5 is a flowchart illustrating an implementation process of the video call image processing method in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Example one
The video call image processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the first terminal 102 communicates with the second terminal 104 via a network. The first terminal 102 and the second terminal 104 may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The first terminal 102 and the second terminal 104 are respectively deployed with instant messaging applications, which may also be called instant messaging software, the instant messaging application on the first terminal 102 communicates with the instant messaging application of the second terminal 104 and can perform voice call or video call, and the first terminal 102 detects whether the instant messaging application is in the video call; when the instant messaging application is in a video call, acquiring a pre-stored video file; replacing the image shot by the camera called by the instant messaging application with the video file; the video file is sent to the second terminal 104.
Example two
In this embodiment, as shown in fig. 2, a method for processing an image in a video call is provided, which includes:
In this embodiment, whether the instant messaging application is in a video call is detected in real time.
The instant messaging application, which may also be referred to as instant messaging software, may establish a video call with an instant messaging application on another terminal, in which the instant messaging application will call a camera, a microphone and a speaker on the current terminal for implementing the video call.
In this embodiment, detecting whether the instant messaging application is in a video call may be detecting whether the instant messaging application is in a video call process, or detecting whether the instant messaging application is in a video call process, for example, when the instant messaging application receives a call request of the video call, the instant messaging application is in a ring stage, and the instant messaging application is also regarded as being in the video call process. That is, the case where the instant communication application is in a video call includes an ongoing video call and a call request for the video call is received.
Specifically, the video file is a video file pre-stored in a memory of the current terminal or pre-stored on the cloud server. In this embodiment, when the instant messaging application is in a video call, a pre-stored video file is read.
And step 230, replacing the image shot by the camera called by the instant messaging application with the video file.
Specifically, the image shot by the camera may be a single-frame image or a multi-frame image, and when the image shot by the camera is a continuous multi-frame image, the continuous multi-frame image is a video, so in this embodiment, the video image shot in real time by the instant messaging application calling the camera is replaced by the video file. For example, replacing an image shot by a camera in the cache with a video file; for example, an image captured by a camera is replaced with a video file during the transmission of a video call.
And 240, sending the video file to a communication party of the video call.
In this embodiment, the instant messaging software sends the video file to a communication party of the video call, where the communication party is a party communicating with the instant messaging software of the current terminal through the instant messaging software. Therefore, the video file is displayed on the display screen of the terminal of the other party of communication, the image shot by the camera of the current user cannot be seen in real time, the privacy of the current user is effectively protected, and the video call of the user is more flexible.
In the embodiment, the pre-stored video file is used for replacing the image shot by the camera in real time in the video call of the instant messaging application, so that the other party can only watch the video file in the call process, the privacy of the current user is effectively protected, and the video call of the user is more flexible.
To detect whether the instant messaging application is in a video call, in one embodiment, the step of detecting whether the instant messaging application is in a video call comprises: detecting whether the instant messaging application calls the camera or not; when the instant messaging application is in a video call, the step of acquiring the pre-stored video file comprises the following steps: and when the instant messaging application calls the camera, acquiring the pre-stored video file.
In this embodiment, whether the instant messaging application is in a video call is detected by detecting the calling of the camera. When the instant messaging application is in a video call or is about to carry out the video call, the camera of the current terminal needs to be called, so that whether the instant messaging application carries out the video call or not can be known by detecting whether the camera is called by the instant messaging application or not, a prestored video file is triggered and acquired, and an image shot by the camera is replaced by the video file.
In this embodiment, taking a terminal of an android system as an example, a Native app is a process for monitoring a camera, a service of the camera is CameraService, and the Native app registers a monitor to the CameraService for monitoring operation of the camera of the system, so that which application of the system calls to turn on the camera can be monitored. When the camera is opened by the application, the Camera service sends a message to the Native app, so that the camera is known to be called. After receiving the message sent by the Camera service, the Native app starts a data service program, reads a pre-stored video file, decodes the video file, and transmits the data to the Camera HAL in a memory sharing mode.
It should be understood that whether the instant messaging software is in the video through hole may also be detected in other manners, in an embodiment, whether the instant messaging application reads an image in a preset cache is detected, where the image in the preset cache is an image taken by the camera, and the image is temporarily stored in the preset cache, so that when it is detected that the instant messaging application reads the image in the preset cache, it may be considered that the instant messaging application performs a video call, and therefore, the video file is replaced.
In one embodiment, the step of detecting whether the instant messaging application is in a video call comprises: detecting whether the instant messaging application receives a call request of a video call; when the instant messaging application is in a video call, the step of acquiring the pre-stored video file comprises the following steps: and when the instant messaging application receives the call request of the video call, acquiring a pre-stored video file.
In this embodiment, when the instant messaging application receives a call request of a video call initiated by the instant messaging application of another terminal, reading of a pre-stored video file is triggered, so that an image shot by a camera can be replaced with the video file when the video call is connected.
In one embodiment, when the instant messaging application receives a call request of the video call, a connection instruction is acquired, and a pre-stored video file is acquired in response to the connection instruction.
In this embodiment, the connection instruction is used to connect the video call in the called ringing process, for example, the connection instruction is obtained through a connection control displayed on the display screen. Therefore, the video call is carried out through the call-in instruction, the prestored video file is triggered and read at the same time, the image shot by the camera is replaced by the video file, so that the video switching is carried out in time when the video call is put in, the privacy of a user is effectively protected, and the response timeliness is higher.
In one embodiment, in the video call process of the instant messaging application, replacing the image shot by the camera called by the instant messaging application with the video file; and sending the video file to a communication party of the video call.
In this embodiment, video replacement is implemented in the video call process.
In order to implement video replacement during a video call, in an embodiment, the step of acquiring a pre-stored video file when the instant messaging application is in a video call includes: when the instant messaging application is in a video call, detecting whether a switching instruction is received; and when the switching instruction is received, acquiring the pre-stored video file.
In this embodiment, the switching instruction is used to trigger replacement of the video file. Specifically, in the process that the instant messaging application is in a video call, a preset switching control is displayed, whether the switching control receives a touch instruction is detected, when the switching control receives the touch instruction of a user, the switching instruction is received, a prestored video file is obtained in response to the switching instruction, and an image shot by a camera called by the instant messaging application at present is replaced by the video file. And when the instant messaging application is in the video call and a switching instruction is not detected, the video file is not replaced. Therefore, the user can carry out normal video call without replacing the video file under the condition of not protecting privacy. In the embodiment, the video file is replaced by receiving the switching instruction input by the user, so that the flexibility of replacing the video file can be effectively improved, the user can switch at any time as required in the video call process, and the exposure of privacy is avoided.
In one embodiment, when the instant messaging application is in a video call, a selection instruction is obtained, and a pre-stored video file is obtained in response to the selection instruction.
In the embodiment, a plurality of video files are pre-stored and serve as videos to be selected, and the video files are determined by the user through the selection instruction, so that the determined video files are read from the memory, therefore, the user can flexibly select the video files for replacement, and the flexibility is improved.
In one embodiment, the step of replacing the image shot by the camera called by the instant messaging application currently comprises: acquiring an image shot by the camera, and storing the image shot by the camera in a cache region; and replacing the image in the cache region with the video file.
Specifically, the buffer is used for temporarily storing images shot by the camera, in a general video call process, the instant messaging application reads the images shot by the camera from the buffer, and sends the images read by the camera from the buffer to another communication party.
In one embodiment, the step of detecting whether the instant messaging application is in a video call comprises: detecting whether a preset monitoring function is started or not; and when the preset monitoring function is started, detecting whether the instant messaging application is in a video call.
In this embodiment, after the preset monitoring function is turned on, real-time monitoring of a video call of an instant messaging application is triggered, and when the preset monitoring function is turned off, whether the instant messaging application is in the video call is not detected. In this embodiment, the preset monitoring function may be turned on or off by setting in the Native app. Therefore, the user can open the switching of the video files or close the switching function of the video files according to the requirement, and the use is more flexible.
In one embodiment, the step of sending the video file to the communication party of the video call further comprises: and detecting the call duration of the current video call, and sending the video file to the communication party of the video call again when the call duration of the video call is greater than the playing duration of the video file. In this embodiment, when the call duration is longer than the play duration of the video file, the video file is sent in a loop, so that another communication party continuously watches the video file.
In one embodiment, the step of sending the video file to the communication party of the video call further comprises: detecting the call duration of the current video call, and acquiring another pre-stored video file when the call duration of the video call is greater than the playing duration of the video file; replacing the image shot by the camera called by the instant messaging application with the other video file; and sending the other video file to a communication party of the video call. In this embodiment, when the call duration is longer than the play duration of the video file, the other video file is sent to the other communication party, so that the communication party is prevented from continuously watching the same video file.
EXAMPLE III
In this embodiment, please refer to fig. 5, where a user sets automatic call answering, when a video call comes, the call is automatically answered, and then a video picture is transmitted to the other party, but at this time, the user does not want the other party to see the picture, how to solve the problem?
A video call image processing method comprises the following steps:
s1, a user sets a video privacy protection function to be started or wants to share a section of video to the opposite side in a call process, and a system starts Native app to run in a background;
s2, registering a monitor to the Camera service by the Native app, monitoring the operation of a system camera, knowing which application turns on/off the camera by monitoring the Native app, and then running the subsequent operation according to the state;
s3, the WeChat receives a video call request, a user connects a video, the system opens a camera, and at the moment, the Camera service sends a message to a Native app;
and S4, after receiving the notification, the native app starts a data service program, reads the specified video file, decodes the video file, and transmits the data to the Camera HAL in a memory sharing mode.
And S2, after receiving the data returned by the hardware camera, the Camera HAL replaces the image in the original data buf by using the image transmitted by the Native app through cutting, interpolation and format conversion, and then returns the image to the app to complete the image replacement so as to achieve the specified effect.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
Example four
In this embodiment, as shown in fig. 3, an image processing apparatus for video call is provided, which includes:
a video call detection module 310, configured to detect whether the instant messaging application is in a video call;
a video file obtaining module 320, configured to obtain a pre-stored video file when the instant messaging application is in a video call;
a replacing module 330, configured to replace an image captured by a camera called by the instant messaging application with the video file;
a video file sending module 340, configured to send the video file to a communication party of the video call.
In one embodiment, the video call detection module is further configured to detect whether the instant messaging application calls the camera;
the video file acquisition module is further used for acquiring the pre-stored video file when the instant messaging application calls the camera.
In one embodiment, the video call detection module is further configured to detect whether a call request for a video call is received by an instant messaging application;
the video file acquisition module is further used for acquiring a pre-stored video file when the instant messaging application receives the call request of the video call.
In one embodiment, the video file acquisition module comprises:
the switching instruction detection unit is used for detecting whether a switching instruction is received or not when the instant messaging application is in a video call;
and the video file acquisition unit is used for acquiring the pre-stored video file when the switching instruction is received.
In one embodiment, the replacement module comprises:
the image temporary storage unit is used for acquiring the image shot by the camera and storing the image shot by the camera in a cache region;
and the video replacing unit is used for replacing the image in the cache region with the video file.
In one embodiment, the video call detection module comprises:
the monitoring starting unit is used for detecting whether a preset monitoring function is started or not;
and the video call detection unit is used for detecting whether the instant messaging application is in a video call or not when the preset monitoring function is started.
For specific limitations of the video call image processing apparatus, reference may be made to the above limitations of the video call image processing method, which are not described herein again. Each unit in the video call image processing apparatus may be wholly or partially implemented by software, hardware, or a combination thereof. The units can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the units.
EXAMPLE five
In this embodiment, a computer device is provided. The internal structure thereof may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program, and the non-volatile storage medium stores a video file. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with other computer devices that deploy application software. The computer program is executed by a processor to implement a video call image processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program:
detecting whether the instant messaging application is in a video call;
when the instant messaging application is in a video call, acquiring a pre-stored video file;
replacing the image shot by the camera called by the instant messaging application with the video file;
and sending the video file to a communication party of the video call.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether the instant messaging application calls the camera or not;
and when the instant messaging application calls the camera, acquiring the pre-stored video file.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether the instant messaging application receives a call request of a video call;
and when the instant messaging application receives the call request of the video call, acquiring a pre-stored video file.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the instant messaging application is in a video call, detecting whether a switching instruction is received;
and when the switching instruction is received, acquiring the pre-stored video file.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an image shot by the camera, and storing the image shot by the camera in a cache region;
and replacing the image in the cache region with the video file.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether a preset monitoring function is started or not;
and when the preset monitoring function is started, detecting whether the instant messaging application is in a video call.
EXAMPLE six
In this embodiment, a computer-readable storage medium is provided, on which a computer program is stored, the computer program realizing the following steps when executed by a processor:
detecting whether the instant messaging application is in a video call;
when the instant messaging application is in a video call, acquiring a pre-stored video file;
replacing the image shot by the camera called by the instant messaging application with the video file;
and sending the video file to a communication party of the video call.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether the instant messaging application calls the camera or not;
and when the instant messaging application calls the camera, acquiring the pre-stored video file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether the instant messaging application receives a call request of a video call;
and when the instant messaging application receives the call request of the video call, acquiring a pre-stored video file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the instant messaging application is in a video call, detecting whether a switching instruction is received;
and when the switching instruction is received, acquiring the pre-stored video file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an image shot by the camera, and storing the image shot by the camera in a cache region;
and replacing the image in the cache region with the video file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether a preset monitoring function is started or not;
and when the preset monitoring function is started, detecting whether the instant messaging application is in a video call.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A video call image processing method is characterized by comprising the following steps:
detecting whether the instant messaging application is in a video call;
when the instant messaging application is in a video call, acquiring a pre-stored video file;
replacing the image shot by the camera called by the instant messaging application with the video file;
and sending the video file to a communication party of the video call.
2. The method of claim 1, wherein the step of detecting whether the instant messaging application is in a video call comprises:
detecting whether the instant messaging application calls the camera or not;
when the instant messaging application is in a video call, the step of acquiring the pre-stored video file comprises the following steps:
and when the instant messaging application calls the camera, acquiring the pre-stored video file.
3. The method of claim 1, wherein the step of detecting whether the instant messaging application is in a video call comprises:
detecting whether the instant messaging application receives a call request of a video call;
when the instant messaging application is in a video call, the step of acquiring the pre-stored video file comprises the following steps:
and when the instant messaging application receives the call request of the video call, acquiring a pre-stored video file.
4. The method according to claim 1, wherein the step of retrieving the pre-stored video file when the instant messaging application is in a video call comprises:
when the instant messaging application is in a video call, detecting whether a switching instruction is received;
and when the switching instruction is received, acquiring the pre-stored video file.
5. The method of claim 1, wherein the step of replacing the image captured by the camera called by the instant messaging application with the video file comprises:
acquiring an image shot by the camera, and storing the image shot by the camera in a cache region;
and replacing the image in the cache region with the video file.
6. The method of any one of claims 1-5, wherein the step of detecting whether the instant messaging application is in a video call comprises:
detecting whether a preset monitoring function is started or not;
and when the preset monitoring function is started, detecting whether the instant messaging application is in a video call.
7. A video call image processing apparatus, comprising:
the video call detection module is used for detecting whether the instant messaging application is in a video call;
the video file acquisition module is used for acquiring a pre-stored video file when the instant messaging application is in a video call;
the replacing module is used for replacing the image shot by the camera called by the instant messaging application with the video file;
and the video file sending module is used for sending the video file to a communication party of the video call.
8. The apparatus of claim 7, wherein the video call detection module is further configured to detect whether the camera is invoked by the instant messaging application;
the video file acquisition module is further used for acquiring the pre-stored video file when the instant messaging application calls the camera.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970148.8A CN113473064A (en) | 2021-08-23 | 2021-08-23 | Video call image processing method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970148.8A CN113473064A (en) | 2021-08-23 | 2021-08-23 | Video call image processing method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113473064A true CN113473064A (en) | 2021-10-01 |
Family
ID=77867024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110970148.8A Pending CN113473064A (en) | 2021-08-23 | 2021-08-23 | Video call image processing method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113473064A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339118A (en) * | 2022-03-11 | 2022-04-12 | 深圳市迈科思腾科技有限公司 | Video transmission method and system based on full duplex network |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000078546A (en) * | 1998-08-27 | 2000-03-14 | Kyocera Corp | Video telephone set |
JP2001069473A (en) * | 1999-08-24 | 2001-03-16 | Matsushita Electric Ind Co Ltd | Video telephone system |
CN1744704A (en) * | 2004-08-30 | 2006-03-08 | 日本电气株式会社 | communication terminal device, television telephone control method and television telephone control program |
WO2010148679A1 (en) * | 2009-11-27 | 2010-12-29 | 中兴通讯股份有限公司 | Method, device and system for video call establishment and video switch |
CN101998104A (en) * | 2009-08-31 | 2011-03-30 | 中国移动通信集团公司 | Generating method for video telephone and substitute video thereof |
CN102104766A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Privacy protecting system and method in video call |
US20120182379A1 (en) * | 2009-09-24 | 2012-07-19 | Zte Corporation | Method, Application Server and System for Privacy Protection in Video Call |
CN105227891A (en) * | 2015-10-23 | 2016-01-06 | 小米科技有限责任公司 | A kind of video call method and device |
CN108600679A (en) * | 2018-01-25 | 2018-09-28 | 维沃移动通信有限公司 | A kind of video call method and terminal |
CN110087012A (en) * | 2019-04-17 | 2019-08-02 | 华为技术有限公司 | A kind of control method and electronic equipment of camera |
-
2021
- 2021-08-23 CN CN202110970148.8A patent/CN113473064A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000078546A (en) * | 1998-08-27 | 2000-03-14 | Kyocera Corp | Video telephone set |
JP2001069473A (en) * | 1999-08-24 | 2001-03-16 | Matsushita Electric Ind Co Ltd | Video telephone system |
CN1744704A (en) * | 2004-08-30 | 2006-03-08 | 日本电气株式会社 | communication terminal device, television telephone control method and television telephone control program |
CN101998104A (en) * | 2009-08-31 | 2011-03-30 | 中国移动通信集团公司 | Generating method for video telephone and substitute video thereof |
US20120182379A1 (en) * | 2009-09-24 | 2012-07-19 | Zte Corporation | Method, Application Server and System for Privacy Protection in Video Call |
WO2010148679A1 (en) * | 2009-11-27 | 2010-12-29 | 中兴通讯股份有限公司 | Method, device and system for video call establishment and video switch |
CN102104766A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Privacy protecting system and method in video call |
CN105227891A (en) * | 2015-10-23 | 2016-01-06 | 小米科技有限责任公司 | A kind of video call method and device |
CN108600679A (en) * | 2018-01-25 | 2018-09-28 | 维沃移动通信有限公司 | A kind of video call method and terminal |
CN110087012A (en) * | 2019-04-17 | 2019-08-02 | 华为技术有限公司 | A kind of control method and electronic equipment of camera |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339118A (en) * | 2022-03-11 | 2022-04-12 | 深圳市迈科思腾科技有限公司 | Video transmission method and system based on full duplex network |
CN114339118B (en) * | 2022-03-11 | 2022-06-24 | 深圳市迈科思腾科技有限公司 | Video transmission method and system based on full duplex network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11500744B2 (en) | Method for primary-backup server switching, and control server | |
KR20190050198A (en) | Electronic apparatus and communication method thereof | |
CN108702763B (en) | Method and device for sending lead code and scheduling request | |
CN108616979A (en) | Double card network formats control method, device, computer equipment and storage medium | |
US20130342633A1 (en) | Information processing device including an image transmission control function | |
CN111818469B (en) | Calling method, calling device, electronic equipment and network equipment | |
CN105979062B (en) | Communication event processing method and device | |
CN110781080A (en) | Program debugging method and device and storage medium | |
CN113473064A (en) | Video call image processing method and device, computer equipment and storage medium | |
CN112632184A (en) | Data processing method and device, electronic equipment and storage medium | |
CN114547631B (en) | Terminal control method and device and terminal | |
CN113778687B (en) | Memory allocation information processing method and device, electronic equipment and storage medium | |
CN106528197B (en) | Shooting method and device | |
CN115695388A (en) | Control method and device for multimedia conference | |
CN112651012A (en) | Information processing method and device | |
CN113810675A (en) | Image processing method, device, equipment and storage medium | |
CN112887799B (en) | Image resource sharing method, device and medium | |
CN113472952B (en) | Method, device, computer equipment and storage medium for making telephone call | |
US20220053077A1 (en) | Method for detecting the completion of a telephone call initiated from a web browser of a mobile communication device | |
CN108551768A (en) | Terminal is established to the methods, devices and systems of connection with core net to be accessed | |
CN116841814A (en) | Log management method and device, electronic equipment and storage medium | |
CN114390143A (en) | Call management method and device, electronic equipment and readable storage medium | |
CN118210651A (en) | Stream data backup method and device, electronic equipment and storage medium | |
CN114297631A (en) | Image privacy protection method and device | |
CN111402110A (en) | Download resource processing method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211001 |
|
RJ01 | Rejection of invention patent application after publication |