CN112738505A - Video communication method, device, medium and electronic equipment - Google Patents

Video communication method, device, medium and electronic equipment Download PDF

Info

Publication number
CN112738505A
CN112738505A CN202110364570.9A CN202110364570A CN112738505A CN 112738505 A CN112738505 A CN 112738505A CN 202110364570 A CN202110364570 A CN 202110364570A CN 112738505 A CN112738505 A CN 112738505A
Authority
CN
China
Prior art keywords
video
communication
video stream
terminal
target image
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.)
Granted
Application number
CN202110364570.9A
Other languages
Chinese (zh)
Other versions
CN112738505B (en
Inventor
任鹏冲
王文龙
童友连
杨国全
曹亚曦
王克彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Huachuang Video Signal Technology Co Ltd
Original Assignee
Zhejiang Huachuang Video Signal Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Huachuang Video Signal Technology Co Ltd filed Critical Zhejiang Huachuang Video Signal Technology Co Ltd
Priority to CN202110364570.9A priority Critical patent/CN112738505B/en
Publication of CN112738505A publication Critical patent/CN112738505A/en
Application granted granted Critical
Publication of CN112738505B publication Critical patent/CN112738505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/02Diagnosis, testing or measuring for television systems or their details for colour television signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to a video communication method, a video communication device, a video communication medium and an electronic apparatus. The method is applied to a processor of a terminal and comprises the following steps: when the terminal carries out video communication, detecting whether a video stream transmitted by a target image acquisition device through a communication bus is interrupted or not in real time; if the video stream is determined to be abnormal according to the detection result, detecting whether the communication bus is normal in real time; and if the communication bus is normal, controlling the target image acquisition device to reset. Like this, target image acquisition device resets the back, can gather the video picture again automatically, realizes that the video stream is unusual from resumeing, and need not the user and manually restart the video communication application, or even the outage restarts the video communication terminal, and is succinct high-efficient, and the flexibility and the intelligence that increase video communication are exchanged for user's long-range video and are brought convenient and practical. In addition, when the communication bus is normal, the target image acquisition device is controlled to reset, so that the situation that the target image acquisition device cannot acquire video pictures again after being reset can be avoided.

Description

Video communication method, device, medium and electronic equipment
Technical Field
The present disclosure relates to the field of video technologies, and in particular, to a video communication method, apparatus, medium, and electronic device.
Background
With the continuous acceleration of social rhythm and the continuous development of network electronic technology, video communication is more and more widely applied to the social life of people, and brings great convenience to the remote communication of people. The video communication terminal can smoothly acquire local figure image pictures through an image acquisition device such as a camera and the like, and can also quickly transmit the image pictures to a communication opposite terminal through a popular network channel. However, in the process of video communication, the problem of video stream interruption often occurs due to various reasons, such as static electricity, surge, software adaptation of video communication application, and the like, at this time, a user needs to manually restart the video communication application, even power-off restart the video communication terminal, and then the local image can be normally acquired again, which causes a great obstacle to remote real-time communication and communication of people, and the requirements of people on intelligent video are increasingly not met.
Disclosure of Invention
In order to overcome the problems in the related art, it is an object of the present disclosure to provide a video communication method, apparatus, medium, and electronic device.
In order to achieve the above object, in a first aspect, the present disclosure provides a video communication method applied to a processor of a terminal, including:
when the terminal carries out video communication, detecting whether a video stream transmitted by a target image acquisition device through a communication bus is interrupted or not in real time, wherein the target image acquisition device is equipment which is arranged in the terminal and is used for acquiring a video picture of the video communication;
determining whether the video stream is abnormal or not according to the detection result of whether the video stream is interrupted or not;
if the video stream is determined to be abnormal, detecting whether the communication bus is normal in real time;
and if the communication bus is detected to be normal, controlling the target image acquisition device to reset.
Optionally, the determining whether the video stream is abnormal according to a detection result of whether the video stream is interrupted includes:
and if the number of times of continuously detecting the interruption of the video stream reaches a first preset number threshold, determining that the video stream is abnormal.
Optionally, the detecting, in real time, whether a video stream transmitted by the target image capturing device via the communication bus is interrupted includes:
detecting whether a zone bit stored by a preset register in the terminal is changed within a preset time before the current moment in real time, wherein the zone bit is changed along with the change of a video frame in a video stream transmitted by the target image acquisition device through a communication bus;
and if the flag bit is not detected to be changed within the preset time before the current moment, determining that the video stream is interrupted.
Optionally, the method further comprises:
and if the detection result of whether the communication bus is normal meets a preset condition, controlling the video communication application in the terminal for realizing the video communication to restart.
Optionally, the preset condition is that the number of times of continuously detecting the communication bus abnormality reaches a second preset number threshold.
Optionally, the video communication is one of a video conference, a video call, and a live video.
Optionally, a conductive reinforcement is arranged between the metal shell of the terminal and the HDMI interface of the display module of the terminal, and the conductive reinforcement is in contact with the metal shell and the HDMI interface respectively.
In a second aspect, the present disclosure provides a video communication apparatus, applied to a processor of a terminal, including:
the terminal comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is used for detecting whether a video stream transmitted by a target image acquisition device through a communication bus is interrupted or not in real time when the terminal performs video communication, and the target image acquisition device is equipment which is arranged in the terminal and is used for acquiring a video picture of the video communication;
a determining module, configured to determine whether the video stream is abnormal according to a detection result of whether the video stream is interrupted detected by the first detecting module;
the second detection module is used for detecting whether the communication bus is normal or not in real time if the determining module determines that the video stream is abnormal;
and the control module is used for controlling the target image acquisition device to reset if the second detection module detects that the communication bus is normal.
In a third aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method provided by the first aspect of the present disclosure.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method provided by the first aspect of the present disclosure.
In the above technical solution, when a terminal performs video communication (for example, a video conference), whether a video stream transmitted by a target image acquisition device for acquiring a video picture of the video communication via a communication bus in the terminal is interrupted or not is detected in real time; if the video stream is determined to be abnormal according to the detection result of whether the video stream is interrupted, detecting whether the communication bus is normal in real time; and if the communication bus is detected to be normal, controlling the target image acquisition device to reset. Therefore, after the target image acquisition device for acquiring the video image of the current video communication is reset, the video image can be automatically acquired again, the abnormal self-recovery of the video stream is realized, the user does not need to manually restart the video communication application, even the video communication terminal is restarted in power failure, the time cost for restarting the video communication application or restarting the terminal in power failure is saved, the actions of video communication reconnection, communication configuration and the like do not need to be carried out after the restart, the device is simple and efficient, great convenience and practicability are brought to the remote video communication of the user, and the flexibility and the intelligence of the video communication are improved. In addition, the target image acquisition device transmits the video stream to the processor of the terminal through a communication bus, wherein the video stream abnormality may be caused by the communication bus abnormality. When the video stream abnormity is caused by the communication bus abnormity, the problem of the video stream abnormity cannot be solved by resetting the target image acquisition device, therefore, when the communication bus abnormity is detected, the target image acquisition device is controlled to reset, the condition that the video stream abnormity is caused by the communication bus abnormity can be eliminated, and the situation that the target image acquisition device cannot acquire video pictures again after being reset is avoided.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flow chart illustrating a method of video communication according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of video communication according to another exemplary embodiment.
Fig. 3 is a schematic diagram illustrating a configuration of a location where a conductive reinforcement is disposed according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a video communication device according to an example embodiment.
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flow chart illustrating a video communication method, which may be applied to a processor of a terminal, according to an example embodiment. As shown in FIG. 1, the method includes S101-S104.
In S101, when the terminal performs video communication, whether a video stream transmitted by the target image capturing device via the communication bus is interrupted is detected in real time.
In the present disclosure, the video communication may be a video conference, a video call, a live video, and the like. The terminal includes a processor and at least one image acquisition device (e.g., a camera). During video communication, at least one image acquisition device on the terminal acquires a video picture of the current video communication, and equipment used for acquiring the video picture of the video communication in the terminal is target image acquisition equipment. The target image acquisition device continuously transmits the video pictures to a processor of the terminal through a communication bus after acquiring the video pictures to form a video stream, the processor of the terminal receives the video stream, encodes the video stream, transmits the encoded video stream to a communication opposite terminal, and simultaneously can display the video stream on a display module of the current terminal.
In S102, it is determined whether the video stream is abnormal according to the detection result of whether the video stream is interrupted.
In S103, if it is determined that the video stream is abnormal, whether the communication bus is normal is detected in real time.
In S104, if it is detected that the communication bus is normal, the target image capturing device is controlled to be reset.
In the present disclosure, if it is determined that the video stream is normal according to the detection result of whether the video stream is interrupted, continuing to detect whether the video stream is interrupted, that is, continuing to execute S101; and if the video stream is determined to be abnormal according to the detection result of whether the video stream is interrupted, detecting whether the communication bus is normal in real time, and controlling the target image acquisition device to reset when the communication bus is normal, namely initializing the configuration parameters of the target image acquisition device so as to automatically acquire the video image of the current video communication again after the target image acquisition device is reset.
Specifically, during video communication, if a video stream is abnormal, the video stream may be caused by an abnormal operation of the target image acquisition device or an abnormal operation of the communication bus, and therefore, when the video stream is determined to be abnormal, it is necessary to exclude whether the abnormal operation is caused by the abnormal operation of the communication bus. If the communication bus is normal, the video stream abnormity is not caused by the communication bus abnormity, but caused by the target image acquisition device working abnormity, and at the moment, the target image acquisition device can be controlled to reset.
In the above technical solution, when a terminal performs video communication (for example, a video conference), whether a video stream transmitted by a target image acquisition device for acquiring a video picture of the video communication via a communication bus in the terminal is interrupted or not is detected in real time; if the video stream is determined to be abnormal according to the detection result of whether the video stream is interrupted, detecting whether the communication bus is normal in real time; and if the communication bus is detected to be normal, controlling the target image acquisition device to reset. Therefore, after the target image acquisition device for acquiring the video image of the current video communication is reset, the video image can be automatically acquired again, the abnormal self-recovery of the video stream is realized, the user does not need to manually restart the video communication application, even the video communication terminal is restarted in power failure, the time cost for restarting the video communication application or restarting the terminal in power failure is saved, the actions of video communication reconnection, communication configuration and the like do not need to be carried out after the restart, the device is simple and efficient, great convenience and practicability are brought to the remote video communication of the user, and the flexibility and the intelligence of the video communication are improved. In addition, the target image acquisition device transmits the video stream to the processor of the terminal through a communication bus, wherein the video stream abnormality may be caused by the communication bus abnormality. When the video stream abnormity is caused by the communication bus abnormity, the problem of the video stream abnormity cannot be solved by resetting the target image acquisition device, therefore, when the communication bus abnormity is detected, the target image acquisition device is controlled to reset, the condition that the video stream abnormity is caused by the communication bus abnormity can be eliminated, and the situation that the target image acquisition device cannot acquire video pictures again after being reset is avoided.
The following describes in detail a specific embodiment of detecting in real time whether the video stream transmitted by the target image capturing device via the communication bus is interrupted in S101.
In one embodiment, it may be detected in real time whether the latest two video frames in the video stream are the same, and if the latest two video frames are detected to be the same for a plurality of consecutive times (e.g., three times), it is determined that the video stream is interrupted; otherwise, it is determined that the video stream is not interrupted.
In another embodiment, a flag bit is stored in a predetermined register in the terminal, wherein the flag bit changes with a change of a video frame in a video stream transmitted by the target image capturing device via the communication bus. In this way, whether the video stream is interrupted or not can be determined by detecting whether the flag bit changes within a preset time period before the current time. Specifically, if the flag bit is not changed within a preset time before the current time, determining that the video stream is interrupted; and if the flag bit is changed within a preset time before the current moment, determining that the video stream is not interrupted. Therefore, whether the video stream is interrupted or not can be determined in a hardware detection mode, and convenience and rapidness are achieved.
The following describes in detail a specific embodiment of determining whether the video stream is abnormal according to the detection result of whether the video stream is interrupted in S102.
In one embodiment, a video stream anomaly is determined upon detection of a video stream interruption.
However, when the video stream is interrupted due to the occasional working abnormality of the target image acquisition device or the communication bus, the subsequent video stream interruption can be automatically recovered, and at this time, the video stream is not considered to be abnormal and the video stream abnormality does not need to be processed. Therefore, in order to eliminate the problem of video stream interruption caused by occasional abnormality of the target image acquisition device or the communication bus, the video stream abnormality may be determined only when the number of times of continuously detecting the video stream interruption reaches a certain number of times, and at this time, the video stream abnormality needs to be processed. Specifically, in another embodiment, if the number of times of continuously detecting the interruption of the video stream reaches a first preset number threshold, it is determined that the video stream is abnormal; otherwise, determining that the video stream is normal. Wherein the first preset number threshold is greater than 1, exemplarily equal to 3.
In addition, if the communication bus is abnormal, it indicates that the video stream abnormality may be caused by the communication bus abnormality, or may be caused by the reset image acquisition device, and at this time, the problem of the video stream abnormality cannot be solved by resetting the target image acquisition device, and a video communication application (for example, a video conference application program) for realizing the video communication is required to be restarted to solve the problem. Specifically, as shown in fig. 2, the method further includes S105.
In S105, if the detection result of whether the communication bus is normal satisfies the preset condition, the video communication application in the control terminal for implementing video communication is restarted.
In one embodiment, the preset condition is a communication bus abnormality, that is, once the communication bus abnormality is detected, the video communication application in the control terminal for implementing video communication is restarted.
In addition, when the video stream is interrupted due to the occasional work abnormality of the communication bus, the subsequent video stream interruption can be automatically recovered, and at the moment, the video communication application does not need to be restarted. Therefore, in order to eliminate the problem of video stream interruption caused by the occasional abnormality of the communication bus, the video communication application can be controlled to restart when the number of times of continuously detecting the abnormality of the communication bus reaches a certain number. Specifically, in another embodiment, the preset condition is that the number of times of continuously detecting the communication bus abnormality reaches a second preset number threshold. Namely, when the number of times of continuously detecting the communication bus abnormality reaches a second preset number threshold, the video communication application in the terminal for realizing the video communication is controlled to restart. Wherein the second preset number threshold is greater than 1, exemplarily equal to 3.
In addition, in the video communication process, besides the video stream interruption caused by the abnormal operation of the corresponding target image acquisition device and the abnormal communication bus, the video stream interruption may be caused by the static electricity of the terminal. Therefore, the HDMI of the display module of the terminal can be subjected to anti-static processing. Specifically, as shown in fig. 3, a conductive reinforcement 13 may be disposed between the metal shell 11 of the terminal and the HDMI interface 12 of the display module of the terminal, and the conductive reinforcement 13 is in contact with the metal shell 11 and the HDMI interface 12, respectively. The conductive reinforcing member 13 may be, for example, a conductive cloth, a conductive foam, or the like.
Fig. 4 is a block diagram illustrating a video communication apparatus according to an exemplary embodiment, wherein the apparatus 400 is applied to a processor of a terminal. As shown in fig. 4, the apparatus 400 includes: a first detection module 401, configured to detect whether a video stream transmitted by a target image acquisition device via a communication bus is interrupted in real time when the terminal performs video communication, where the target image acquisition device is a device in the terminal and configured to acquire a video image of the video communication; a determining module 402, configured to determine whether the video stream is abnormal according to a detection result of whether the video stream is interrupted detected by the first detecting module 401; a second detecting module 403, configured to detect whether the communication bus is normal in real time if the determining module 402 determines that the video stream is abnormal; a control module 404, configured to control the target image capturing device to reset if the second detecting module 403 detects that the communication bus is normal.
In the above technical solution, when a terminal performs video communication (for example, a video conference), whether a video stream transmitted by a target image acquisition device for acquiring a video picture of the video communication via a communication bus in the terminal is interrupted or not is detected in real time; if the video stream is determined to be abnormal according to the detection result of whether the video stream is interrupted, detecting whether the communication bus is normal in real time; and if the communication bus is detected to be normal, controlling the target image acquisition device to reset. Therefore, after the target image acquisition device for acquiring the video image of the current video communication is reset, the video image can be automatically acquired again, the abnormal self-recovery of the video stream is realized, the user does not need to manually restart the video communication application, even the video communication terminal is restarted in power failure, the time cost for restarting the video communication application or restarting the terminal in power failure is saved, the actions of video communication reconnection, communication configuration and the like do not need to be carried out after the restart, the device is simple and efficient, great convenience and practicability are brought to the remote video communication of the user, and the flexibility and the intelligence of the video communication are improved. In addition, the target image acquisition device transmits the video stream to the processor of the terminal through a communication bus, wherein the video stream abnormality may be caused by the communication bus abnormality. When the video stream abnormity is caused by the communication bus abnormity, the problem of the video stream abnormity cannot be solved by resetting the target image acquisition device, therefore, when the communication bus abnormity is detected, the target image acquisition device is controlled to reset, the condition that the video stream abnormity is caused by the communication bus abnormity can be eliminated, and the situation that the target image acquisition device cannot acquire video pictures again after being reset is avoided.
Optionally, the determining module 402 is configured to determine that the video stream is abnormal if the number of times that the video stream is continuously detected to be interrupted reaches a first preset number threshold.
Optionally, the first detection module 401 includes: the detection submodule is used for detecting whether a zone bit stored by a preset register in the terminal is changed within a preset time before the current moment in real time, wherein the zone bit is changed along with the change of a video frame in a video stream transmitted by the target image acquisition device through a communication bus; and the determining submodule is used for determining that the video stream is interrupted if the flag bit is not detected to be changed within the preset time before the current moment.
Optionally, the control module 404 is further configured to control a video communication application in the terminal for implementing the video communication to restart if a detection result of whether the communication bus is normal meets a preset condition.
Optionally, the preset condition is that the number of times of continuously detecting the communication bus abnormality reaches a second preset number threshold.
Optionally, the video communication is one of a video conference, a video call, and a live video.
Optionally, a conductive reinforcement is arranged between the metal shell of the terminal and the HDMI interface of the display module of the terminal, and the conductive reinforcement is in contact with the metal shell and the HDMI interface respectively.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-mentioned video communication method provided by the present disclosure.
Fig. 5 is a block diagram illustrating an electronic device 500 in accordance with an example embodiment. As shown in fig. 5, the electronic device 500 may include: a processor 501 and a memory 502. The electronic device 500 may also include one or more of a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
The processor 501 is configured to control the overall operation of the electronic device 500, so as to complete all or part of the steps in the video communication method. The memory 502 is used to store various types of data to support operation at the electronic device 500, such as instructions for any application or method operating on the electronic device 500 and application-related data, such as contact data, messaging, pictures, audio, video, and so forth. The Memory 502 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 502 or transmitted through the communication component 505. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 504 provides an interface between the processor 501 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 505 may thus comprise: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the video communication method described above.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the video communication method described above. For example, the computer readable storage medium may be the memory 502 described above that includes program instructions executable by the processor 501 of the electronic device 500 to perform the video communication method described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A video communication method applied to a processor of a terminal is characterized by comprising the following steps:
when the terminal carries out video communication, detecting whether a video stream transmitted by a target image acquisition device through a communication bus is interrupted or not in real time, wherein the target image acquisition device is equipment which is arranged in the terminal and is used for acquiring a video picture of the video communication;
determining whether the video stream is abnormal or not according to the detection result of whether the video stream is interrupted or not;
if the video stream is determined to be abnormal, detecting whether the communication bus is normal in real time;
and if the communication bus is detected to be normal, controlling the target image acquisition device to reset.
2. The method according to claim 1, wherein the determining whether the video stream is abnormal according to the detection result of whether the video stream is interrupted comprises:
and if the number of times of continuously detecting the interruption of the video stream reaches a first preset number threshold, determining that the video stream is abnormal.
3. The method of claim 1, wherein the detecting in real time whether the video stream transmitted by the target image capturing device via the communication bus is interrupted comprises:
detecting whether a zone bit stored by a preset register in the terminal is changed within a preset time before the current moment in real time, wherein the zone bit is changed along with the change of a video frame in a video stream transmitted by the target image acquisition device through a communication bus;
and if the flag bit is not detected to be changed within the preset time before the current moment, determining that the video stream is interrupted.
4. The method of claim 1, further comprising:
and if the detection result of whether the communication bus is normal meets a preset condition, controlling the video communication application in the terminal for realizing the video communication to restart.
5. The method according to claim 4, wherein the predetermined condition is that the number of times of continuous detection of the communication bus abnormality reaches a second predetermined number threshold.
6. The method of claim 1, wherein the video communication is one of a video conference, a video call, and a live video.
7. The method according to any one of claims 1 to 6, wherein a conductive reinforcement is arranged between a metal shell of the terminal and an HDMI interface of a display module of the terminal, and the conductive reinforcement is in contact with the metal shell and the HDMI interface respectively.
8. A video communication apparatus applied to a processor of a terminal, comprising:
the terminal comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is used for detecting whether a video stream transmitted by a target image acquisition device through a communication bus is interrupted or not in real time when the terminal performs video communication, and the target image acquisition device is equipment which is arranged in the terminal and is used for acquiring a video picture of the video communication;
a determining module, configured to determine whether the video stream is abnormal according to a detection result of whether the video stream is interrupted detected by the first detecting module;
the second detection module is used for detecting whether the communication bus is normal or not in real time if the determining module determines that the video stream is abnormal;
and the control module is used for controlling the target image acquisition device to reset if the second detection module detects that the communication bus is normal.
9. 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 according to any one of claims 1 to 7.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 7.
CN202110364570.9A 2021-04-06 2021-04-06 Video communication method, device, medium and electronic equipment Active CN112738505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110364570.9A CN112738505B (en) 2021-04-06 2021-04-06 Video communication method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110364570.9A CN112738505B (en) 2021-04-06 2021-04-06 Video communication method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112738505A true CN112738505A (en) 2021-04-30
CN112738505B CN112738505B (en) 2021-06-08

Family

ID=75596397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110364570.9A Active CN112738505B (en) 2021-04-06 2021-04-06 Video communication method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112738505B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163561A1 (en) * 2013-12-11 2015-06-11 Cisco Technology, Inc. Context Aware Geo-Targeted Advertisement in a Communication Session
CN105306925A (en) * 2015-10-09 2016-02-03 福州市超智电子科技有限公司 Monitoring system and monitoring method for video monitoring front-end equipment
CN105872568A (en) * 2015-11-19 2016-08-17 乐视云计算有限公司 Method and device for transmitting video data based on cloud live broadcast platform
CN110248181A (en) * 2019-05-27 2019-09-17 北京旷视科技有限公司 External equipment self-resetting method, device, system and computer-readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163561A1 (en) * 2013-12-11 2015-06-11 Cisco Technology, Inc. Context Aware Geo-Targeted Advertisement in a Communication Session
CN105306925A (en) * 2015-10-09 2016-02-03 福州市超智电子科技有限公司 Monitoring system and monitoring method for video monitoring front-end equipment
CN105872568A (en) * 2015-11-19 2016-08-17 乐视云计算有限公司 Method and device for transmitting video data based on cloud live broadcast platform
CN110248181A (en) * 2019-05-27 2019-09-17 北京旷视科技有限公司 External equipment self-resetting method, device, system and computer-readable medium

Also Published As

Publication number Publication date
CN112738505B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN110121084B (en) Method, device and system for switching ports
CN105096230A (en) Flight notification method and device and flight setting method and device
CN111459428A (en) Display interface synchronization method and device, computer equipment and storage medium
CN105163290B (en) roaming prompting method and device
EP3905651A1 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
WO2021143533A1 (en) Method for reconnecting cloud server, and electronic device
CN113067769B (en) Router restarting method, device, equipment and storage medium
CN112738505B (en) Video communication method, device, medium and electronic equipment
CN111953980B (en) Video processing method and device
CN105468706A (en) Page display method and device
CN115469816B (en) Method, device, equipment and storage medium for switching reading and writing of memory
CN111478817A (en) Network fault processing method and device, storage medium and mobile device
CN111190761A (en) Log output method and device, storage medium and electronic equipment
WO2022222968A1 (en) Conference call recovery method, apparatus and system, electronic device, and readable storage medium
CN110865823A (en) Pre-installed application control method, pre-installed application control device and storage medium
CN110879756A (en) Method and device for processing abnormal cooperation process, computer equipment and storage medium
CN111290843A (en) Process management method and device
CN105467870A (en) Synchronous operation method and system thereof
CN113342150A (en) Static electricity recovery method, device, electronic equipment and storage medium
CN114567518B (en) Device state prompting method and device, electronic device and storage medium
CN110867962B (en) Method and device for verifying power distribution network wrong topological relation based on feeder line contact group
CN114766096B (en) Beam configuration request method and device, beam configuration method and device
CN113596380B (en) Video conference server and communication method
CN112738833B (en) Network information updating method and device
CN115460573A (en) Bluetooth device fault detection method, storage medium and terminal 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
GR01 Patent grant
GR01 Patent grant