CN113965809A - Method and device for simultaneous interactive live broadcast based on single terminal and multiple platforms - Google Patents
Method and device for simultaneous interactive live broadcast based on single terminal and multiple platforms Download PDFInfo
- Publication number
- CN113965809A CN113965809A CN202011377089.5A CN202011377089A CN113965809A CN 113965809 A CN113965809 A CN 113965809A CN 202011377089 A CN202011377089 A CN 202011377089A CN 113965809 A CN113965809 A CN 113965809A
- Authority
- CN
- China
- Prior art keywords
- display area
- target application
- application program
- main display
- user
- 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
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 23
- 230000004044 response Effects 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 16
- 230000002194 synthesizing effect Effects 0.000 claims description 6
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 238000003786 synthesis reaction Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 4
- 230000003993 interaction Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Studio Devices (AREA)
Abstract
The invention relates to the field of camera application, in particular to a method and a device for simultaneous interactive live broadcast based on a single terminal and multiple platforms, wherein the method comprises the steps of responding to the touch operation of a user on a terminal screen, and dividing the screen into a main display area and at least one auxiliary display area switched with the main display area; responding to touch operation of a user on a target application program in a main display area, and displaying a starting interface of the target application program on the main display area; acquiring a camera calling request, sending a virtual camera object through a preset audio and video control center, and acquiring image preview data through the virtual camera object by a target application program; the method has the advantages that the touch operation of a user on the auxiliary display area is responded, the image preview interface of the target application program is displayed in the auxiliary display area, the multiple applications can simultaneously send camera calling requests, the simultaneous live broadcast of multiple parties is realized, various live broadcast effects are added, live broadcast contents are enriched, and better human-computer interaction is shown.
Description
Technical Field
The invention relates to the field of camera application, in particular to a method and a device for simultaneous interactive live broadcast based on a single terminal and multiple platforms.
Background
In the prior art, an image data source of electronic equipment can only be provided by a hardware camera, so that the problem of single image data source exists, and only one-to-one image data source exists, one camera hardware can only provide image data for one target APP for obtaining the camera currently, and various newly-added requirements of a user cannot be met;
even in the mobile terminal field with the prevailing split screen technology, the operation of opening the cameras by multiple applications simultaneously cannot be achieved, and especially in the live broadcast field, the anchor multi-party live broadcast still needs to use more camera devices, which is very troublesome and non-humanized.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a method and an apparatus for simultaneous interactive live broadcast based on a single terminal and multiple platforms, which overcome or at least partially solve the above problems.
In order to solve the above problems, the embodiment of the present invention discloses a method for simultaneous interactive live broadcast based on a single terminal and multiple platforms, comprising:
responding to touch operation of a user on a terminal screen, wherein the screen is divided into a main display area and at least one auxiliary display area switched with the main display area;
responding to touch operation of a user on a target application program in a main display area, and displaying a starting interface of the target application program on the main display area;
acquiring a camera calling request sent by the target application program, sending a virtual camera object to the target application program through a preset audio and video control center, and acquiring image preview data by the target application program through the virtual camera object;
and responding to the touch operation of the user on the auxiliary display area, and displaying an image preview interface of the target application program in the auxiliary display area.
Furthermore, the number of the auxiliary display areas is three, and the sum of the heights of the three auxiliary display areas is equal to the height of the main display area.
Further, the displaying, in response to the touch operation of the user on the secondary display area, an image preview interface of the target application program in the secondary display area includes:
acquiring position information of a main display area and an auxiliary display area in response to a user touch operation,
and according to the position information, the target application program is transferred from the main display area to the auxiliary display area to be displayed.
Further, the displaying, on the main display area, a launch interface of the target application in response to the touch operation of the user on the target application in the main display area includes:
responding to touch operation of a user on the idle auxiliary display area;
responding to touch operation of a user on a target application program in the main display area;
and displaying the opening interface of the target application program in the idle auxiliary display area.
Further, the acquiring a camera call request sent by the target application program, and sending a virtual camera object to the target application program through a preset audio/video control center, where the target application program acquires image preview data through the virtual camera object, includes:
connecting a real camera calling interface according to the camera calling request to generate a virtual camera object;
simultaneously calling external image data and audio data, and synthesizing the external image data and the image data source acquired by the real camera into image preview data;
and sending the virtual camera object to the target application program, and configuring the image preview data in the virtual camera object.
Still provide a device based on single-terminal multi-platform is interactive live simultaneously, include:
the terminal comprises a first response module, a second response module and a display module, wherein the first response module is used for responding to touch operation of a user on a terminal screen, and the screen is divided into a main display area and at least one auxiliary display area switched with the main display area;
the second response module is used for responding to touch operation of a user on a target application program in a main display area, and a starting interface of the target application program is displayed on the main display area;
the acquisition module is used for acquiring a camera calling request sent by the target application program, sending a virtual camera object to the target application program through a preset audio and video control center, and acquiring image preview data by the target application program through the virtual camera object;
and the third response module is used for responding to the touch operation of the user on the auxiliary display area, and the image preview interface of the target application program is displayed in the auxiliary display area.
Further, the first response module comprises:
a position information acquisition module for acquiring position information of the main display area and the auxiliary display area in response to a user touch operation,
and the position exchanging module is used for exchanging the target application program from the main display area to the auxiliary display area for display according to the position information.
Further, the obtaining module includes:
the generating module is used for connecting a real camera calling interface according to the camera calling request to generate a virtual camera object;
the synthesis module is used for simultaneously calling external image data and audio data and synthesizing the external image data and the image data source acquired by the real camera into image preview data;
and the configuration module is used for sending the virtual camera object to the target application program and configuring the image preview data into the virtual camera object.
The electronic equipment comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the method for realizing the simultaneous interactive live broadcast based on the single-terminal multi-platform is realized.
A computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, implements the method for single-terminal-based multi-platform simultaneous interactive live broadcasting.
The embodiment of the invention has the following advantages:
the application can realize the function of simultaneous interactive live broadcast based on single-terminal multi-platform application, start a plurality of applications through user touch instructions and display based on the same display screen, intercept the call request of application to real camera through the preset audio and video pivot, synthesize and configure outside audio, video or image and image data source in virtual camera, the image preview data that makes the third party application receive is the audio and video data after handling, the camera call request can be sent simultaneously to many applications, realize many parties live broadcast simultaneously, and diversified live broadcast effect has been added, the live broadcast content has been enriched, show except better human-computer interaction.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for simultaneous interactive live broadcast based on a single terminal and multiple platforms according to the present invention;
FIG. 2 is a block diagram of an embodiment of a device for simultaneous interactive live broadcast based on a single terminal and multiple platforms according to the present invention;
fig. 3 is a block diagram of a single-terminal multi-platform simultaneous interactive live broadcast-based computer device according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The embodiment of the application aims to provide a method for simultaneously calling the camera under the condition that a plurality of application programs are displayed on the same screen.
Particularly, especially in the field of live broadcasting, the method in the embodiment of the application can realize the effect of simultaneously live broadcasting on a plurality of live broadcasting platforms only through one device terminal.
As shown in fig. 1, a flowchart of steps of an embodiment of a method for simultaneous interactive live broadcast based on a single terminal and multiple platforms is shown, and the specific method steps are as follows:
s100, responding to touch operation of a user on a terminal screen, wherein the screen is divided into a main display area and at least one auxiliary display area switched with the main display area;
s200, responding to touch operation of a user on a target application program in a main display area, and displaying a starting interface of the target application program on the main display area;
s300, acquiring a camera calling request sent by the target application program, sending a virtual camera object to the target application program through a preset audio and video control center, and acquiring image preview data by the target application program through the virtual camera object;
s400, responding to the touch operation of the user on the auxiliary display area, and displaying an image preview interface of the target application program in the auxiliary display area.
Through the technical scheme, the original display area is subjected to screen splitting processing based on the user operation instruction, and generally, the triggering operation of the preset screen splitting instruction can be screen tilting sliding, multi-finger touch and the like, and can also be button starting, and the screen splitting function is started based on the acquired screen splitting instruction.
In the embodiment of the application, after the split-screen instruction is started, the original display area can be divided into a main display area and at least one auxiliary display area surrounding the side edge of the main display area, and the specification of the auxiliary display area is in direct proportion to that of the main display area; the main display area is used as a main operation area, the auxiliary display area is used as an auxiliary operation area, and generally, the auxiliary display area is only used for displaying and switching.
In step S100, three auxiliary display areas are provided, and the sum of the heights of the three auxiliary display areas is equal to the height of the main display area.
In step S400, the method includes:
acquiring position information of a main display area and an auxiliary display area in response to a user touch operation,
and according to the position information, the target application program is transferred from the main display area to the auxiliary display area to be displayed.
Based on the interaction operation, the display interface in the main display area is adjusted to the appointed auxiliary display area, the main display area displays the application selection interface of the original display area, other application programs on the main display area can be continuously touched, and the auxiliary display area in the idle touch state is touched, so that the display interface of the application program is adjusted to the other appointed auxiliary display area.
In step S200, it is also possible,
responding to touch operation of a user on the idle auxiliary display area;
responding to touch operation of a user on a target application program in the main display area;
and displaying the opening interface of the target application program in the idle auxiliary display area.
That is, the idle auxiliary display area may be touched first, the display interface of the auxiliary display area is activated, and the target application program is touched again, so that the target application program is directly started in the designated auxiliary display area.
In the step S300, in the step S,
the preset audio and video control center is used for uniformly configuring audio and video requests sent by third-party applications, processing and calling real-time collected audio and video data, and particularly,
connecting a real camera calling interface according to the camera calling request to generate a virtual camera object;
simultaneously calling external image data and audio data, and synthesizing the external image data and the image data source acquired by the real camera into image preview data;
and sending the virtual camera object to the target application program, and configuring the image preview data in the virtual camera object.
In the embodiment, the image data and the audio data which are used as materials can be transmitted to the audio control center through external transmission, and are actively connected with the interface of the real camera after the camera calling request sent by the third-party application program is obtained, so that the only channel of physical hardware connection is occupied; meanwhile, the called real camera acquires an image data source, input image data, audio data and the image data source are synthesized in real time through a built-in preset synthesis algorithm, a virtual camera object generated according to the real camera is sent to a target application program, and synthesized image preview data are configured. When a target application program of a third party receives the virtual camera object and the configured image preview data, a display interface of the third party is a video picture obtained by decoding the real-time image preview data, and the displayed video picture can be completely virtual or a picture combined with reality and virtualization, so that various live broadcast effects are added, live broadcast contents are enriched, and better human-computer interaction is shown.
As shown in fig. 2, an embodiment of the present application further provides a device for simultaneous interactive live broadcast based on a single terminal and multiple platforms, including:
a first response module 100, configured to respond to a touch operation of a terminal screen by a user, where the screen is divided into a main display area and at least one auxiliary display area switched with the main display area;
a second response module 200, configured to respond to a touch operation of a user on a target application program in a main display area, where a start interface of the target application program is displayed on the main display area;
an obtaining module 300, configured to obtain a camera call request sent by the target application program, send a virtual camera object to the target application program through a preset audio/video control hub, where the target application program obtains image preview data through the virtual camera object;
a third response module 400, configured to respond to a touch operation performed by the user on the secondary display area, where an image preview interface of the target application program is displayed in the secondary display area.
In one embodiment, the first response module 100 includes:
a position information acquisition module for acquiring position information of the main display area and the auxiliary display area in response to a user touch operation,
and the position exchanging module is used for exchanging the target application program from the main display area to the auxiliary display area for display according to the position information.
In one embodiment, the obtaining module 300 includes:
the generating module is used for connecting a real camera calling interface according to the camera calling request to generate a virtual camera object;
the synthesis module is used for simultaneously calling external image data and audio data and synthesizing the external image data and the image data source acquired by the real camera into image preview data;
a configuration module for sending the virtual camera object to the target application program and configuring the image preview data in the virtual camera object
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Referring to fig. 3, a method and device for simultaneous interactive live broadcast based on a single terminal and multiple platforms of the present invention are shown, which may specifically include the following steps:
in an embodiment of the present invention, the present invention further provides a computer device, where the computer device 12 is represented in a general computing device, and the components of the computer device 12 may include but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)31 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (commonly referred to as "hard drives"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 42, with the program modules 42 configured to carry out the functions of embodiments of the invention.
A program/utility 41 having a set (at least one) of program modules 42 may be stored, for example, in memory, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules 42, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a method for simultaneous interactive live broadcast based on a single terminal and multiple platforms according to an embodiment of the present invention.
That is, the processing unit 16 implements, when executing the program: responding to touch operation of a user on a terminal screen, wherein the screen is divided into a main display area and at least one auxiliary display area switched with the main display area; responding to touch operation of a user on a target application program in a main display area, and displaying a starting interface of the target application program on the main display area; acquiring a camera calling request sent by the target application program, sending a virtual camera object to the target application program through a preset audio and video control center, and acquiring image preview data by the target application program through the virtual camera object; and responding to the touch operation of the user on the auxiliary display area, and displaying an image preview interface of the target application program in the auxiliary display area.
In the embodiments of the present invention, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for simultaneous interactive live broadcast based on multiple platforms and single terminals as provided in all embodiments of the present application.
That is, the program when executed by the processor implements: responding to touch operation of a user on a terminal screen, wherein the screen is divided into a main display area and at least one auxiliary display area switched with the main display area; responding to touch operation of a user on a target application program in a main display area, and displaying a starting interface of the target application program on the main display area; acquiring a camera calling request sent by the target application program, sending a virtual camera object to the target application program through a preset audio and video control center, and acquiring image preview data by the target application program through the virtual camera object; and responding to the touch operation of the user on the auxiliary display area, and displaying an image preview interface of the target application program in the auxiliary display area.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer-readable storage medium or a computer-readable signal medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPOM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the device for simultaneous interactive live broadcasting based on single terminal and multiple platforms provided by the invention are introduced in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method for simultaneous interactive live broadcast based on a single terminal and multiple platforms is characterized by comprising the following steps:
responding to touch operation of a user on a terminal screen, wherein the screen is divided into a main display area and at least one auxiliary display area switched with the main display area;
responding to touch operation of a user on a target application program in a main display area, and displaying a starting interface of the target application program on the main display area;
acquiring a camera calling request sent by the target application program, sending a virtual camera object to the target application program through a preset audio and video control center, and acquiring image preview data by the target application program through the virtual camera object;
and responding to the touch operation of the user on the auxiliary display area, and displaying an image preview interface of the target application program in the auxiliary display area.
2. The method of claim 1, wherein the number of the auxiliary display areas is three, and the sum of the heights of the three auxiliary display areas is equal to the height of the main display area.
3. The method of claim 1, wherein the displaying, in response to the user's touch operation on the secondary display area, the image preview interface of the target application in the secondary display area comprises:
acquiring position information of a main display area and an auxiliary display area in response to a user touch operation,
and according to the position information, the target application program is transferred from the main display area to the auxiliary display area to be displayed.
4. The method according to claim 1, wherein the displaying, on the main display area, a launch interface of the target application in response to a touch operation of a user on the target application in the main display area comprises:
responding to touch operation of a user on the idle auxiliary display area;
responding to touch operation of a user on a target application program in the main display area;
and displaying the opening interface of the target application program in the idle auxiliary display area.
5. The method according to claim 1, wherein the obtaining of the camera call request sent by the target application program sends a virtual camera object to the target application program through a preset audio/video control hub, and the target application program obtains image preview data through the virtual camera object, and the method includes:
connecting a real camera calling interface according to the camera calling request to generate a virtual camera object;
simultaneously calling external image data and audio data, and synthesizing the external image data and the image data source acquired by the real camera into image preview data;
and sending the virtual camera object to the target application program, and configuring the image preview data in the virtual camera object.
6. Device based on single-terminal multi-platform simultaneous interactive live broadcast, its characterized in that includes:
the terminal comprises a first response module, a second response module and a display module, wherein the first response module is used for responding to touch operation of a user on a terminal screen, and the screen is divided into a main display area and at least one auxiliary display area switched with the main display area;
the second response module is used for responding to touch operation of a user on a target application program in a main display area, and a starting interface of the target application program is displayed on the main display area;
the acquisition module is used for acquiring a camera calling request sent by the target application program, sending a virtual camera object to the target application program through a preset audio and video control center, and acquiring image preview data by the target application program through the virtual camera object;
and the third response module is used for responding to the touch operation of the user on the auxiliary display area, and the image preview interface of the target application program is displayed in the auxiliary display area.
7. The apparatus of claim 6, wherein the first response module comprises:
a position information acquisition module for acquiring position information of the main display area and the auxiliary display area in response to a user touch operation,
and the position exchanging module is used for exchanging the target application program from the main display area to the auxiliary display area for display according to the position information.
8. The apparatus of claim 6, wherein the obtaining module comprises:
the generating module is used for connecting a real camera calling interface according to the camera calling request to generate a virtual camera object;
the synthesis module is used for simultaneously calling external image data and audio data and synthesizing the external image data and the image data source acquired by the real camera into image preview data;
and the configuration module is used for sending the virtual camera object to the target application program and configuring the image preview data into the virtual camera object.
9. Electronic device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing a method of simultaneous interactive live broadcast based on single terminal and multiple platforms according to any of claims 1 to 5.
10. Computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method for single-terminal multi-platform simultaneous interactive live broadcasting according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011377089.5A CN113965809A (en) | 2020-11-30 | 2020-11-30 | Method and device for simultaneous interactive live broadcast based on single terminal and multiple platforms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011377089.5A CN113965809A (en) | 2020-11-30 | 2020-11-30 | Method and device for simultaneous interactive live broadcast based on single terminal and multiple platforms |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113965809A true CN113965809A (en) | 2022-01-21 |
Family
ID=79460191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011377089.5A Pending CN113965809A (en) | 2020-11-30 | 2020-11-30 | Method and device for simultaneous interactive live broadcast based on single terminal and multiple platforms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113965809A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449171A (en) * | 2022-01-28 | 2022-05-06 | 青岛海信移动通信技术股份有限公司 | Method for controlling camera, terminal device, storage medium and program product |
CN114885203A (en) * | 2022-07-05 | 2022-08-09 | 杭州星犀科技有限公司 | Bullet screen reverse grabbing method and device, storage medium and terminal |
CN115113797A (en) * | 2022-08-29 | 2022-09-27 | 深圳市优奕视界有限公司 | Intelligent partition display method of control panel and related product |
CN115242972A (en) * | 2022-06-23 | 2022-10-25 | 深圳康佳电子科技有限公司 | Method and device for calling camera by application, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833520A (en) * | 2009-03-11 | 2010-09-15 | 凹凸电子(武汉)有限公司 | Method for simultaneously utilizing one camera by computer system and a plurality of application programs |
CN107659768A (en) * | 2017-08-08 | 2018-02-02 | 珠海全志科技股份有限公司 | A kind of system and method based on the more Application share cameras of Android |
CN108471498A (en) * | 2018-03-16 | 2018-08-31 | 维沃移动通信有限公司 | A kind of shooting preview method and terminal |
CN110602321A (en) * | 2019-09-11 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Application program switching method and device, electronic device and storage medium |
CN111371949A (en) * | 2020-02-28 | 2020-07-03 | Oppo广东移动通信有限公司 | Application program switching method and device, storage medium and touch terminal |
CN111405343A (en) * | 2020-03-18 | 2020-07-10 | 广州华多网络科技有限公司 | Live broadcast interaction method and device, electronic equipment and storage medium |
CN111444540A (en) * | 2020-03-26 | 2020-07-24 | 维沃移动通信有限公司 | Display method, electronic device, and medium |
-
2020
- 2020-11-30 CN CN202011377089.5A patent/CN113965809A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833520A (en) * | 2009-03-11 | 2010-09-15 | 凹凸电子(武汉)有限公司 | Method for simultaneously utilizing one camera by computer system and a plurality of application programs |
CN107659768A (en) * | 2017-08-08 | 2018-02-02 | 珠海全志科技股份有限公司 | A kind of system and method based on the more Application share cameras of Android |
CN108471498A (en) * | 2018-03-16 | 2018-08-31 | 维沃移动通信有限公司 | A kind of shooting preview method and terminal |
CN110602321A (en) * | 2019-09-11 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Application program switching method and device, electronic device and storage medium |
CN111371949A (en) * | 2020-02-28 | 2020-07-03 | Oppo广东移动通信有限公司 | Application program switching method and device, storage medium and touch terminal |
CN111405343A (en) * | 2020-03-18 | 2020-07-10 | 广州华多网络科技有限公司 | Live broadcast interaction method and device, electronic equipment and storage medium |
CN111444540A (en) * | 2020-03-26 | 2020-07-24 | 维沃移动通信有限公司 | Display method, electronic device, and medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449171A (en) * | 2022-01-28 | 2022-05-06 | 青岛海信移动通信技术股份有限公司 | Method for controlling camera, terminal device, storage medium and program product |
CN114449171B (en) * | 2022-01-28 | 2023-10-27 | 青岛海信移动通信技术有限公司 | Method for controlling camera, terminal device, storage medium and program product |
CN115242972A (en) * | 2022-06-23 | 2022-10-25 | 深圳康佳电子科技有限公司 | Method and device for calling camera by application, electronic equipment and storage medium |
CN114885203A (en) * | 2022-07-05 | 2022-08-09 | 杭州星犀科技有限公司 | Bullet screen reverse grabbing method and device, storage medium and terminal |
CN115113797A (en) * | 2022-08-29 | 2022-09-27 | 深圳市优奕视界有限公司 | Intelligent partition display method of control panel and related product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618177B (en) | Video processing method and device, electronic equipment and computer readable storage medium | |
CN109640188B (en) | Video preview method and device, electronic equipment and computer readable storage medium | |
CN113965809A (en) | Method and device for simultaneous interactive live broadcast based on single terminal and multiple platforms | |
CN110580125B (en) | Partial refreshing method, device, equipment and medium for display interface | |
CN110908625A (en) | Multi-screen display method, device, equipment, system, cabin and storage medium | |
CN111625214B (en) | Audio control method, device, equipment and storage medium | |
CN109600656B (en) | Video list display method and device, terminal equipment and storage medium | |
CN107341016B (en) | Focus state implementation method and device under split screen mechanism, terminal and storage medium | |
CN109753332B (en) | Method and device for displaying information | |
US12019669B2 (en) | Method, apparatus, device, readable storage medium and product for media content processing | |
CN112035195A (en) | Application interface display method and device, electronic equipment and storage medium | |
CN112799622A (en) | Application control method and device and electronic equipment | |
CN113301157A (en) | Cloud mobile phone group control method, equipment and storage medium based on android system | |
US20230328205A1 (en) | Video conference presentation method and apparatus, and terminal device and storage medium | |
CN112492399B (en) | Information display method and device and electronic equipment | |
CN109947528B (en) | Information processing method and device | |
US20220394326A1 (en) | Method and apparatus for determining object adding mode, electronic device and medium | |
CN107680038B (en) | Picture processing method, medium and related device | |
US12022149B2 (en) | Method for processing sound information, and non-transitory computer storage medium and electronic device | |
CN111135557B (en) | Interaction method and device for multiple screens | |
CN110366002B (en) | Video file synthesis method, system, medium and electronic device | |
CN113342243B (en) | Input method and input device, computer readable storage medium, and electronic apparatus | |
US20240176566A1 (en) | Processing method and apparatus thereof | |
CN112988276B (en) | Resource package generation method and device, electronic equipment and storage medium | |
CN110311945B (en) | Method and equipment for presenting resource pushing information in real-time video stream |
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 |