Disclosure of Invention
The invention aims to solve the technical problem that the prior art is not enough, and provides a video method and a video system based on VR equipment so as to solve the problem that the prior mobile terminal cannot fully use both hands in video chat and bring invariance to the edge teaching and the learning of both video parties.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a VR device based video method, comprising:
when the mobile terminal receives a video request of opposite terminal equipment, detecting whether the mobile terminal is connected with VR equipment or not;
if the connection with the VR equipment is established, controlling the VR equipment to acquire a first video image and display a second video image sent by opposite-end equipment;
and the VR equipment transmits the first video image to opposite-end equipment through a mobile terminal, so that the mobile terminal is in video communication with the opposite-end equipment through the VR equipment.
The video method based on the VR device, wherein if the VR device is connected to the VR device, controlling the VR device to acquire the first video image and display the second video image sent by the peer device specifically includes:
if the connection with the VR equipment is established, judging whether the VR equipment is provided with a camera or not;
when the VR equipment is configured with a camera, calling the camera of the VR equipment to acquire a first video image; and
and transmitting the second video image sent by the opposite terminal device to the VR device so that the VR device displays the second video image.
The video method based on the VR device, wherein if the VR device is connected, the VR device is adopted to collect and transmit video images, so that the mobile terminal further comprises the following steps after performing video communication with the opposite terminal device through the VR device:
detecting whether an operation instruction input by a user is received, wherein the operation instruction is generated by triggering a control key by the user;
and if an operation instruction is received, performing blurring processing on the video content displayed on the video display interface.
The video method based on the VR device, wherein, if the operation instruction is received, blurring the video content displayed on the video display interface specifically includes:
if the operation instruction is received, acquiring the times of receiving the operation instruction;
and when the times are odd, blurring the video content displayed on the video display interface.
The video method based on the VR device, wherein, if the operation instruction is received, blurring the video content displayed on the video display interface further includes:
and when the times are even numbers, stopping blurring the video content displayed on the video display interface.
A VR device based video system, comprising: the mobile terminal is connected with the VR equipment and the opposite terminal equipment of the network terminal; the mobile terminal includes: the device comprises a first detection module and a control module;
the first detection module is used for detecting whether the mobile terminal establishes connection with VR equipment or not when the mobile terminal receives a video request of opposite terminal equipment;
the control module is used for controlling the VR equipment to acquire a first video image and display a second video image sent by opposite-end equipment when the mobile terminal is connected with the VR equipment;
the VR device includes a transmitting module;
and the sending module is used for transmitting the first video image to opposite-end equipment through a mobile terminal so that the mobile terminal can carry out video communication with the opposite-end equipment through VR equipment.
The video system based on the VR device, wherein the control module specifically includes:
the judging unit is used for judging whether the VR equipment is provided with a camera or not when the mobile terminal is connected with the VR equipment;
the calling unit is used for calling a camera of the VR equipment to acquire a first video image when the VR equipment is configured with the camera;
and the sending unit is used for transmitting the second video image sent by the opposite terminal equipment to the VR equipment so that the VR equipment displays the second video image.
The VR device based video system, wherein the VR device includes:
the second detection module is used for detecting whether an operation instruction input by a user is received, wherein the operation instruction is generated by triggering a control key by the user;
and the processing module is used for blurring the video content displayed on the video display interface if the operation instruction is received.
The VR device based video system, wherein the processing module specifically includes:
the acquisition unit is used for acquiring the times of receiving the operation instruction when the operation instruction is received;
and the first processing unit is used for blurring the video content displayed on the video display interface when the times are odd.
The system for video based on a VR device, wherein the processing module further comprises:
and the second processing unit is used for stopping blurring the video content displayed on the video display interface when the times are even numbers.
Has the advantages that: compared with the prior art, the invention provides a video method and a system based on VR equipment, wherein the method comprises the following steps: when the mobile terminal receives a video request of opposite terminal equipment, detecting whether the mobile terminal is connected with VR equipment or not; if the connection with the VR equipment is established, the VR equipment is adopted to collect and transmit video images, so that the mobile terminal can carry out video communication with opposite terminal equipment through the VR equipment. According to the invention, through the VR device image and the image transmitted by the opposite terminal device, the mobile terminal is not required to be held by hands, so that both hands are liberated, and the problem that the existing mobile terminal cannot fully use both hands in video chat, and the problem that the boundary teaching and the learning of both video parties are not changed is solved.
Detailed Description
The invention provides a video method and a video system based on VR equipment, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the present invention, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
The invention will be further explained by the description of the embodiments with reference to the drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a video method based on VR devices according to a preferred embodiment of the present invention. The method comprises the following steps:
s100, when the mobile terminal receives a video request of opposite terminal equipment, detecting whether the mobile terminal is connected with VR equipment;
s200, if the connection with the VR equipment is established, controlling the VR equipment to acquire a first video image and display a second image sent by an opposite terminal;
s300, the VR equipment transmits the first video image to opposite-end equipment through the mobile terminal, so that the mobile terminal is in video communication with the opposite-end equipment through the VR equipment.
The embodiment provides a video method based on VR equipment, which collects a first video image through the VR equipment and displays a second video image of opposite-end equipment, so that a user can well perform video with the opposite-end equipment without holding a mobile terminal. In this way, on the one hand, the hands of the user are freed, so that the user can do other things while the video is being played. And on the other hand, the problem that the user needs to adjust the position of the mobile terminal by himself to ensure the integrity of the video image collected by the mobile terminal is solved.
Specifically, in step S100, when the mobile terminal receives the video request of the peer device, the mobile terminal receives the request of the peer device through the video software. Such as qq, WeChat, faceTime, etc. That is, the mobile terminal and the peer device communicate with each other directly through social software, and the peer device sends a request for video communication to the mobile terminal.
The VR equipment can be equipment such as VR glasses that can realize virtual show. Whether the VR equipment is connected with the mobile terminal or not refers to whether the mobile terminal is connected with the VR equipment or not. That is, whether a video implementation received by the mobile terminal can be presented through the VR device. In practical application, an identification bit of VR equipment may be set in the mobile terminal, and whether connection with the VR equipment is established is detected through the identification bit. For example, the identification bits include true and false, where true identifies a connected VR device and false identifies an unconnected VR device. Therefore, when the mobile terminal detects whether the mobile terminal establishes connection with the VR equipment, the information of the VR identification bit set by the mobile terminal can be acquired, if true, the mobile terminal is connected with the VR equipment, and if false, the identification bit is connected with the VR equipment. In this embodiment, the VR device identification bit information may be automatically modified through connection between the VR device and the mobile terminal. Specifically, after the mobile terminal is connected with the VR equipment, the mobile terminal automatically modifies the VR identification bit into true, and when the mobile terminal is disconnected with the VR equipment, the mobile terminal automatically modifies the VR identification bit into false.
Illustratively, the step S100 may further include: and if the connection with the VR equipment is not established, searching the VR equipment within the preset range, and establishing connection with the VR equipment after the VR equipment is searched. That is to say, when mobile terminal equipment does not establish connection with VR equipment, can start the search function, search whether to have VR equipment in the scope of predetermineeing, after searching VR equipment, can send and establish connection request to make mobile terminal equipment and VR equipment establish connection, thereby can pass through VR equipment acquisition image, realize that mobile terminal carries out video communication with opposite terminal equipment based on VR equipment. The preset range is preset, and may be the maximum range that the mobile terminal can search, or may be a range in which a connection can be established, such as 1 meter, 2 meters, and the like. In the modified embodiment of this embodiment, when the mobile terminal is not connected to the VR device, the user may also be directly prompted that the image cannot be acquired by the VR device.
In the step S200, the controlling the VR device to acquire the first video image refers to acquiring a user image as a first video image by the VR device, and sending the first video image to the mobile terminal. The mobile terminal receives a second video image sent by the opposite terminal device, the second video image is sent to the VR device, and the VR device displays the second video image. That is to say, the mobile terminal adopts the image through VR equipment, the collection image is sent to opposite terminal equipment through the mobile terminal, and the image of opposite terminal equipment is shown through VR equipment. In practical application, the mobile terminal can place the video program in a background to play a role of switching, so that the dependency of the video on the mobile terminal is reduced. Of course, the mobile terminal may also display the second video image and the second video image on the display screen at the same time.
In step S300, the VR device transmits the first video image to the peer device through the mobile terminal, which means that the VR device transmits the acquired first video image to the mobile terminal, and the mobile terminal transmits the first video image to the peer device. That is to say, the mobile terminal adopts a first video image through the VR device, and the collected first video image is sent to the opposite terminal device through the mobile terminal. In practical application, the mobile terminal is a connection link between the opposite terminal device and the VR device, the opposite terminal device sends the image information to the VR device through the mobile terminal, and the VR device also feeds the image information back to the opposite terminal device through the mobile terminal. Therefore, the user does not need to hold the mobile terminal, and the video content does not need to be displayed on the mobile terminal, so that the user can realize frontier education through the video.
In another implementation of the present invention, the mobile terminal uses an image through a VR device, so that the VR device needs to have an image capturing device, that is, the VR device can capture an image of a user through the image capturing device carried by the VR device, and send the image to an opposite device through the mobile terminal. The collecting device can be a camera and the like. Therefore, if establish connection with VR equipment, then adopt VR equipment to gather video image and transmit to make mobile terminal carry out video communication through VR equipment and opposite terminal equipment and specifically include:
s201, if the connection with VR equipment is established, judging whether the VR equipment is provided with a camera or not;
s202, when the VR equipment is provided with a camera, calling the camera of the VR equipment to acquire a first video image; and transmitting the second video image sent by the opposite terminal device to the VR device so that the VR device displays the second video image.
Specifically, in step S201, the determining whether the VR device is configured with a camera may also be determined by an identification bit. That is to say, set up the camera identification bit that is used for the sign whether it has the camera in the VR equipment, the camera identification bit is true and false, wherein true represents to have the camera, and false represents not to have the camera. Therefore, whether the VR equipment has a camera or not can be determined through the information of the identification bits.
In the step S202, the capturing and transmitting a video image by using a camera of the VR device means capturing a video image by using a camera of the VR device, and transmitting the image to the mobile terminal and transmitting the image by using the mobile terminal. The reason is that the mobile terminal and the opposite terminal device perform video chat through social software, the VR device is only connected with the mobile terminal, and the VR device cannot be directly communicated with the opposite terminal device. In practical application, when the VR equipment is not provided with a camera, the user is prompted to be incapable of acquiring images through the VR equipment, and video images are acquired and sent through the mobile terminal.
Specifically, when the VR equipment is not provided with a camera, images are collected through the mobile terminal equipment and sent to the opposite terminal equipment. Of course, the video image may be displayed on the mobile terminal or may be displayed through the VR device.
In one embodiment of the present invention, the VR device based video method may further include:
s400, detecting whether an operation instruction input by a user is received, wherein the operation instruction is generated by triggering a control key by the user;
and S500, if the operation instruction is received, blurring the video content displayed on the video display interface.
Specifically, in the step S400, the detecting whether the operation instruction input by the user is received refers to detecting whether the operation instruction generated by the user triggering the control key is detected. The control key is an entity key which is arranged on the VR equipment and used for controlling the VR equipment to start virtualization processing.
In the step S500, after receiving the operation instruction, the video content displayed on the video display interface may be blurred according to the operation instruction. For example, the video content displayed on the video display interface is mosaiced, the camera is turned off, and a picture is called to replace the current video image.
In this example, only one control key is provided on the VR device, and the VR device is controlled by the control key to perform the opening and closing of the blurring processing function on the video content displayed on the video display interface. How to judge that the control instruction generated by the control key is the opening/closing operation of the blurring processing function can be determined according to the number of times that the user triggers the control key in the video process. Therefore, the step S500 may specifically include:
s501, if an operation instruction is received, acquiring the number of times of receiving the operation instruction;
s502, when the times are odd, blurring the video content displayed on the video display interface;
and S503, when the number of times is an even number, stopping blurring the video content displayed on the video display interface.
Specifically, when an operation instruction is received, the operation instruction is judged to be the first time of operation executed in the video process, and then the opening/closing operation is judged to be carried out. For example, when the operation instruction is received in the video process, the blurring process is started, and if the operation instruction is received for the second time, the blurring process is closed. In practical applications, a counter may be configured to record the number of times a preset gesture is detected during the video process. Therefore, the number of times of detecting the preset gesture in the video process can be obtained through the counter.
For example, the step S400 may specifically be:
when the mobile terminal is in video with opposite terminal equipment through VR equipment, starting a counter and detecting whether an operation instruction input by a user is received;
the step S501 may specifically be:
and if the operation instruction is received, the counter accumulates 1, and obtains the times of receiving the operation instruction.
The present invention also provides a video system based on VR device, as shown in fig. 2, including: the mobile terminal 100 is connected with the VR device 200 and the peer device 300 at a network end; the mobile terminal 100 includes: a first detection module 101 and a control module 102;
the first detection module 101 is configured to detect whether the mobile terminal establishes a connection with a VR device when receiving a video request of an opposite device;
the control module 102 is configured to control, if the mobile terminal establishes a connection with the VR device, the VR device to acquire a first video image and display a second video image sent by an opposite device;
the VR device 200 includes a transmitting module 201;
the sending module 201 is configured to transmit the first video image to an opposite-end device through a mobile terminal, so that the mobile terminal performs video communication with the opposite-end device through VR devices.
The video system based on the VR device, wherein the control module specifically includes:
the judging unit is used for judging whether the VR equipment is provided with a camera or not when the mobile terminal is connected with the VR equipment;
the calling unit is used for calling a camera of the VR equipment to acquire a first video image when the VR equipment is configured with the camera;
and the sending unit is used for transmitting the second video image sent by the opposite terminal equipment to the VR equipment so that the VR equipment displays the second video image.
The VR device based video system, wherein the VR device includes:
the second detection module is used for detecting whether an operation instruction input by a user is received, wherein the operation instruction is generated by triggering a control key by the user;
and the processing module is used for blurring the video content displayed on the video display interface if the operation instruction is received.
The VR device based video system, wherein the processing module specifically includes:
the acquisition unit is used for acquiring the times of receiving the operation instruction when the operation instruction is received;
and the first processing unit is used for blurring the video content displayed on the video display interface when the times are odd.
The system for video based on a VR device, wherein the processing module further comprises:
and the second processing unit is used for stopping blurring the video content displayed on the video display interface when the times are even numbers.
The various modules of the VR device based video system are described in detail in the method above and will not be described here.
In the embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.