CN112925494A - Method and device for realizing same-screen demonstration, computer equipment and storage medium - Google Patents
Method and device for realizing same-screen demonstration, computer equipment and storage medium Download PDFInfo
- Publication number
- CN112925494A CN112925494A CN202110289619.9A CN202110289619A CN112925494A CN 112925494 A CN112925494 A CN 112925494A CN 202110289619 A CN202110289619 A CN 202110289619A CN 112925494 A CN112925494 A CN 112925494A
- Authority
- CN
- China
- Prior art keywords
- screen
- terminal
- same
- content
- demonstration
- 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 65
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 22
- 238000005304 joining Methods 0.000 claims description 16
- 230000001960 triggered effect Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a device for realizing same-screen demonstration, computer equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a same-screen demonstration starting instruction is received through a first terminal, a preset plug-in is obtained according to the same-screen demonstration starting instruction, the first terminal comprises a terminal which needs to record content to be demonstrated on the same screen, a resource address of the content to be demonstrated on the same screen is generated through the preset plug-in, the resource address is sent to a second terminal, the second terminal comprises a terminal which needs to play the content to be demonstrated on the same screen, and the second terminal obtains the content to be demonstrated on the same screen, recorded in real time by the first terminal, through the resource address. The invention ensures that the same-screen demonstration is not limited to the demonstration in the same-style terminal or the same-style application program any more, and increases the application scenes of the same-screen demonstration.
Description
Technical Field
The invention relates to the technical field of on-screen display, in particular to a method and a device for realizing on-screen demonstration, computer equipment and a storage medium.
Background
As more and more services are transferred to online operation, the demand for online communication is larger and larger, and the problems of inconvenience, inaccuracy, low efficiency and the like of online communication can be fundamentally solved through on-screen demonstration, so that the services are greatly improved.
With the development of the technology, the research on the multi-screen on-screen playing technology is more and more intensive, and the implementation methods of on-screen playing are also various. Although a plurality of products with the same screen exist in the market at present, most of the products can only achieve synchronization in the same platform and the same software, and application scenes are very limited. For example, in the process of using the APP, a user has a question about product contents, and a salesperson can perform remote synchronization only through the same APP, so that the application scene of the same-screen demonstration is greatly limited.
Therefore, it is necessary to provide a new method for implementing the on-screen presentation to solve the above problems.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for implementing on-screen presentation, a computer device, and a storage medium, so as to overcome the problems that the on-screen presentation in the prior art can only implement synchronization in the same platform and the same software, and an application scenario is limited.
In order to solve one or more technical problems, the invention adopts the technical scheme that:
in a first aspect, a method for implementing a same-screen presentation is provided, which includes the following steps:
receiving a same-screen demonstration starting instruction through a first terminal, and acquiring a preset plug-in according to the same-screen demonstration starting instruction, wherein the first terminal comprises a terminal which needs to record the content to be demonstrated on the same screen;
generating a resource address of the content to be demonstrated on the same screen through the preset plug-in, and sending the resource address to a second terminal, wherein the second terminal comprises a terminal needing to play the content to be demonstrated on the same screen;
and the second terminal acquires the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
Further, the generating, by the preset plug-in, a resource address of the content to be demonstrated on the same screen, and sending the resource address to the second terminal includes:
and sending a co-screen demonstration request to the rear end of the first terminal through the preset plug-in, generating a resource address of the content to be demonstrated on the same screen by the rear end according to the co-screen demonstration request, and sending the resource address to a second terminal.
Further, the step of acquiring, by the second terminal, the content to be presented on the same screen, which is recorded by the first terminal in real time through the resource address includes:
and the second terminal opens the resource address through at least one of a browser or a preset application program to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time.
Further, the content to be presented on the same screen includes an operation triggered by the user on a preset page of the first terminal.
Further, the method further comprises:
and receiving a same-screen demonstration ending instruction through the first terminal, and stopping the recording operation of the first terminal by using the preset plug-in.
Further, after the recording operation of the first terminal is stopped by using the preset plug-in, the method further includes:
and generating the same-screen demonstration record of the current same-screen demonstration so as to start the same-screen demonstration again through the same-screen demonstration record.
Further, the method further comprises:
and receiving a request sent by the second terminal for joining a preset same-screen group, authenticating the second terminal, and joining the second terminal to the preset same-screen group if the request is passed, wherein the preset same-screen group comprises a group established for performing same-screen demonstration with the first terminal.
In a second aspect, an apparatus for implementing a same-screen presentation is provided, the apparatus including:
the system comprises a plug-in acquisition module, a display module and a display module, wherein the plug-in acquisition module is used for receiving a co-screen demonstration starting instruction through a first terminal and acquiring a preset plug-in according to the co-screen demonstration starting instruction, and the first terminal comprises a terminal which needs to record the content to be co-screen demonstrated;
the address generation module is used for generating a resource address of the content to be demonstrated on the same screen through the preset plug-in and sending the resource address to a second terminal, and the second terminal comprises a terminal which needs to play the content to be demonstrated on the same screen;
and the content acquisition module is used for the second terminal to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
In a third aspect, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the following steps are implemented:
receiving a same-screen demonstration starting instruction through a first terminal, and acquiring a preset plug-in according to the same-screen demonstration starting instruction, wherein the first terminal comprises a terminal which needs to record the content to be demonstrated on the same screen;
generating a resource address of the content to be demonstrated on the same screen through the preset plug-in, and sending the resource address to a second terminal, wherein the second terminal comprises a terminal needing to play the content to be demonstrated on the same screen;
and the second terminal acquires the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
In a fourth aspect, there is provided a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a same-screen demonstration starting instruction through a first terminal, and acquiring a preset plug-in according to the same-screen demonstration starting instruction, wherein the first terminal comprises a terminal which needs to record the content to be demonstrated on the same screen;
generating a resource address of the content to be demonstrated on the same screen through the preset plug-in, and sending the resource address to a second terminal, wherein the second terminal comprises a terminal needing to play the content to be demonstrated on the same screen;
and the second terminal acquires the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
according to the method, the device, the computer equipment and the storage medium for realizing the on-screen demonstration provided by the embodiment of the invention, a first terminal is used for receiving an on-screen demonstration starting instruction, a preset plug-in is obtained according to the on-screen demonstration starting instruction, the first terminal comprises a terminal which needs to record the content to be demonstrated on the same screen, a resource address of the content to be demonstrated on the same screen is generated through the preset plug-in, the resource address is sent to a second terminal, the second terminal comprises a terminal which needs to play the content to be demonstrated on the same screen, and the second terminal obtains the content to be demonstrated on the same screen which is recorded by the first terminal in real time through the resource address, so that the on-screen demonstration is not limited to the same terminal or the same application program any more, and the application scene of the on-screen demonstration is increased;
according to the method, the device, the computer equipment and the storage medium for realizing the on-screen demonstration provided by the embodiment of the invention, the on-screen demonstration record of the current on-screen demonstration is generated after the recording operation of the first terminal is stopped by utilizing the preset plug-in, so that the on-screen demonstration is started again through the on-screen demonstration record, and the on-screen demonstration efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is an interactive schematic diagram of an on-screen presentation shown in accordance with an exemplary embodiment;
FIG. 2 is an interaction flow diagram illustrating an on-screen presentation in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a method for implementing a same screen presentation in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating joining a preset on-screen group in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating a structure of an apparatus for implementing a same screen presentation in accordance with an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating an internal architecture of a computer device, according to an example embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As described in the background art, the same-screen products in the prior art can only be synchronized on the same platform or in the same software, so that the application scenes of the same-screen demonstration are limited, and the like.
In order to solve the above problems, the method for implementing the on-screen presentation is creatively provided in the embodiment of the present application, and the method embeds a page to be collected and recorded (such as a page developed based on H5) in a form of a preset plug-in, including but not limited to a form of a packaged JavaScript SDK, creates a resource address of a playing end by calling a method of the preset plug-in, provides the resource address to a receiver, and enables the real-time operation of the recording end to wait for the content of the on-screen presentation to be synchronously displayed on the resource address of the playing end. As a preferred example, the preset plug-in may be implemented in the form of a packaged JavaScript SDK, and the page that needs to be recorded includes, but is not limited to, a page developed based on H5. When a user has the requirement of synchronous demonstration, a playing end resource address in a format such as URL is created by calling an SDK method and provided for a receiver, and the content to be demonstrated on the same screen at the recording end can be synchronously demonstrated on the resource address of the playing end.
The method can be suitable for different application scenes, for example, in the scene of selling products, a salesman can synchronize a product interface to demonstrate and introduce product details for customers; or in the scene of consulting products by the user, the client can initiate a synchronous page, and the client can directly position to the line which wants to ask questions and is guided and answered by customer service staff. Referring to fig. 1, by the method, the same-screen shared demonstration is not limited to the demonstration in the same terminal, and the page operation can be collected, recorded and synchronously transmitted to the playing terminal in real time by calling the preset plug-in among any terminals. That is to say, by the above method, the same-screen demonstration can be implemented not only between the same terminals, but also between different terminals, such as between APP end and PC end, between APP end and applet end, between PC end and applet end, and the like, which is not described herein any more. In addition, the method can integrate the voice communication technology, thereby realizing the problems of real-time voice communication and the like.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Example one
In order to implement the method, an implementation system for on-screen demonstration is provided in the embodiment of the present invention, and the system includes, but is not limited to, a recording end, a playing end, and a preset plug-in. As a better example, the page that the recording end needs to collect and record adopts a page developed based on H5, and the page played by the playing end is also a page developed based on H5. Fig. 2 is an interaction flow diagram of an on-screen presentation according to an exemplary embodiment, and referring to fig. 2, the interaction process of the on-screen presentation is as follows:
firstly, a recording end acquires a preset plug-in and initializes the preset plug-in;
specifically, when a user has a requirement for on-screen presentation, a preset plug-in is first introduced on a page of a recording end where content to be captured for on-screen presentation needs to be captured, where the recording end may be any terminal, and the page of the content to be captured for on-screen presentation includes, but is not limited to, a page developed based on H5. As a better example, the preset plug-in can be implemented in the form of a packaged JavaScript SDK, and basic implementation methods such as starting to perform the same screen, ending the same screen, and performing the synchronous operation can be integrated in the JavaScript SDK, so that the same screen presentation can be performed on different terminals only by calling the SDK method.
Specifically, the imported JavaScript SDK file is initialized in the JavaScript SDK module of the page. The JavaScript SDK file is initialized, the environments of data transmission of a recording end, a playing end and a back end can be integrated, and the same-screen data operation instruction can be uploaded and suspended at any time after the initialization. It should be noted that, when the recording is started, the recording function integrated in the JavaScript SDK module is responsible for uploading the page operation to the server for playback, and after the player takes the page operation data, the playing function integrated in the JavaScript SDK module can display the page operation content in sequence.
Step two, starting the same-screen demonstration;
specifically, a preset method for starting the same screen in the JavaScript SDK is called, including but not limited to ibear. In the embodiment of the present invention, the resource address includes but is not limited to a URL, and preferably, the validity period of the URL may be set to 12 hours, so as to control the validity period of the URL. And after receiving the URL returned by the back end on the same screen, the JavaScript SDK returns the URL to the playing end, and the playing end can acquire the content to be demonstrated on the same screen, which is acquired by the recording end, through the URL. And the back end of the same screen mainly performs operations such as authentication verification and the like on the sent application of the same screen. As a preferred embodiment, the recording end and the playing end may have the same back end, and the content on the same screen is transmitted through the back end.
It should be noted that, in the embodiment of the present invention, the playing end may directly open the URL through a browser, an embedded app, an applet webview, and the like, and obtain the content to be presented on the same screen, which is recorded in real time by the recording end. The content to be presented on the same screen includes, but is not limited to, user operations on the page, such as events like scrolling, text box, selection box, jumping, etc.
Step three, ending the same-screen demonstration;
specifically, when the user needs to end the current on-screen presentation, after the recording end receives the end instruction, the on-screen presentation can be ended by calling a preset on-screen ending method in the JavaScript SDK, including but not limited to ibear.
Example two
Corresponding to the first embodiment, the present application provides a method for implementing the same-screen demonstration, where in this embodiment, the same or similar contents as those in the first embodiment may be referred to the above description, and are not repeated in the following. As shown in fig. 3, the method comprises the steps of:
s1: the method comprises the steps that a same-screen demonstration starting instruction is received through a first terminal, a preset plug-in is obtained according to the same-screen demonstration starting instruction, and the first terminal comprises a terminal which needs to record content to be demonstrated on the same screen.
Specifically, the first terminal includes a recording end, that is, any terminal that needs to record the content to be presented on the same screen. The received on-screen presentation start instruction includes, but is not limited to, an instruction issued by the user through the first terminal. As a preferred implementation manner, in the embodiment of the present invention, a start on-screen button may be preconfigured on a preset page, and when the on-screen demonstration is required, a user may issue an on-screen demonstration start instruction by clicking the start on-screen button. The preset page may be any page developed based on H5, for example, in a scenario of selling a product, the preset page may be a detailed page of the product, in a scenario of consulting the product by the user, the preset page may be a page that the client wants to ask a question, and so on, which will not be described in detail herein.
S2: and generating a resource address of the content to be demonstrated on the same screen through the preset plug-in, and sending the resource address to a second terminal, wherein the second terminal comprises a terminal which needs to play the content to be demonstrated on the same screen.
Specifically, the second terminal includes a playing end, that is, any terminal that needs to play the content to be presented on the same screen, and the second terminal and the first terminal may be the same terminal or different terminals. In the embodiment of the invention, the preset plug-in can be realized in the form of a packaged JavaScript SDK. After the preset plug-in is acquired, the preset plug-in is initialized, then a resource address, such as a URL, of the content to be demonstrated on the same screen is generated through the initialized preset plug-in, and the resource address is sent to the second terminal.
S3: and the second terminal acquires the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
Specifically, the second terminal obtains the content to be presented on the same screen through the resource address, so the method provided by the embodiment of the invention can realize the presentation on the same screen in different terminals and can also realize the presentation on the same screen in different APPs.
As a preferred implementation manner, in the embodiment of the present invention, the generating, by the preset plug-in, the resource address of the content to be demonstrated on the same screen, and sending the resource address to the second terminal includes:
and sending a co-screen demonstration request to the rear end of the first terminal through the preset plug-in, generating a resource address of the content to be demonstrated on the same screen by the rear end according to the co-screen demonstration request, and sending the resource address to a second terminal.
Specifically, in the embodiment of the present invention, the preset plug-in integrates basic implementation methods of starting the same screen, ending the same screen, synchronizing operations, and the like. When the same-screen demonstration is carried out, a method for starting the same screen in the preset plug-in is called, the preset plug-in can initiate the same-screen application to the rear end of the first terminal, the same-screen rear end can create the same-screen request after receiving the same-screen application, the resource address of the content to be demonstrated on the same screen is generated and returned to the preset plug-in, and therefore the resource address can be sent to the second terminal.
As a preferred implementation manner, in the embodiment of the present invention, the acquiring, by the second terminal, the content to be presented on the same screen, recorded by the first terminal in real time through the resource address includes:
and the second terminal opens the resource address through at least one of a browser or a preset application program to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time.
Specifically, the preset application includes, but is not limited to, APP, applet, and the like. Because the second terminal obtains the content to be presented on the same screen recorded by the first terminal in real time in a manner of opening the resource address, the presentation on the same screen in the embodiment of the invention can be performed in the terminal of the same type without being limited, even in the APP of the same type, thereby increasing the application scenes of the presentation on the same screen.
As a preferred implementation manner, in the embodiment of the present invention, the content to be presented on the same screen includes an operation triggered by a user on a preset page of the first terminal.
Specifically, the preset page includes a page on which content to be presented on the same screen needs to be recorded. The operation triggered by the user on the preset page of the first terminal includes but is not limited to events such as scrolling, text box, selection box, jumping and the like triggered by the user on the preset page.
As a preferred implementation manner, in an embodiment of the present invention, the method further includes:
and receiving a same-screen demonstration ending instruction through the first terminal, and stopping the recording operation of the first terminal by using the preset plug-in.
Specifically, the received on-screen presentation ending instruction includes, but is not limited to, an instruction sent by the user through the first terminal. As a preferred implementation manner, in the embodiment of the present invention, an end on-screen button may be preconfigured on a preset page, and when the on-screen presentation needs to be ended, a user may issue an end instruction of the on-screen presentation by clicking the end on-screen button. And after receiving the same-screen demonstration ending instruction, calling an ending same-screen method in the preset plug-in, enabling the preset plug-in to initiate ending same-screen application to the rear end of the first terminal, enabling the same-screen rear end to close the same screen after receiving the ending same-screen application, and stopping recording the content to be demonstrated on the same screen.
As a preferred implementation manner, in an embodiment of the present invention, after stopping the recording operation of the first terminal by using the preset plug-in, the method further includes:
and generating the same-screen demonstration record of the current same-screen demonstration so as to start the same-screen demonstration again through the same-screen demonstration record.
Specifically, in the embodiment of the present invention, it may also be configured that an effective time limit is not set for the resource address, that is, the effective time of the resource address is not limited. And after the on-screen demonstration is finished, generating a corresponding on-screen demonstration record aiming at the current on-screen demonstration. As a better implementation mode, all the previous same-screen demonstration records can be browsed through a small program developed in advance, and the same-screen demonstration can be started again after entering any one record.
As a preferred implementation manner, in an embodiment of the present invention, the method further includes:
and receiving a request sent by the second terminal for joining a preset same-screen group, authenticating the second terminal, and joining the second terminal to the preset same-screen group if the request is passed, wherein the preset same-screen group comprises a group established for performing same-screen demonstration with the first terminal.
Specifically, in the method provided by the embodiment of the present invention, the on-screen object is not limited to one bit, and may be one-to-many on-screen demonstration, that is, the on-screen demonstration may be played to a plurality of second terminals for on-screen demonstration. In specific implementation, for convenience of management and the like, a preset on-screen group can be established for the current on-screen demonstration, and a terminal needing to participate in the on-screen demonstration can enter the group first. Referring to fig. 4, the process of joining the preset same-screen group is as follows:
the second terminal sends a request for joining a preset same-screen Group to the system, and the request can carry information such as an identifier of the second terminal. And the system authenticates the second terminal according to the received request, if the authentication fails, the process is directly ended, and the second terminal fails to join the preset same-screen group. If the authentication is successful, judging whether the number of the members in the preset same-screen group exceeds the limit, if so, directly ending the process, and failing to join the second terminal into the preset same-screen group. And if the number of the second terminals exceeds the limit, adding the second terminals into the preset group on the same screen, updating the personnel information in the preset group on the same screen, and informing other members in the preset group on the same screen of the updated information.
Specifically, when a member in the preset on-screen group initiates an on-screen demonstration request on a preset page, the system acquires the information of the person in the preset on-screen group after receiving the on-screen demonstration request, and sends the on-screen demonstration request to all members in the preset on-screen group.
As a preferred implementation manner, in the embodiment of the present invention, the first terminal (i.e., the recording end) and the second terminal (i.e., the playing end) are not limited to the role at the time of initiating the event, and an intermediate platform, such as an applet, may also be configured to implement control reversal and switch the roles of the recording end and the playing end.
EXAMPLE III
Corresponding to the first embodiment and the second embodiment, the present application further provides a device for implementing the same-screen demonstration, where in the present embodiment, the same or similar contents as those in the first embodiment or the second embodiment may be referred to the above description, and the details are not repeated hereinafter. As shown in fig. 5, the apparatus includes:
the system comprises a plug-in acquisition module, a display module and a display module, wherein the plug-in acquisition module is used for receiving a co-screen demonstration starting instruction through a first terminal and acquiring a preset plug-in according to the co-screen demonstration starting instruction, and the first terminal comprises a terminal which needs to record the content to be co-screen demonstrated;
the address generation module is used for generating a resource address of the content to be demonstrated on the same screen through the preset plug-in and sending the resource address to a second terminal, and the second terminal comprises a terminal which needs to play the content to be demonstrated on the same screen;
and the content acquisition module is used for the second terminal to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
As a preferred implementation manner, in an embodiment of the present invention, the address generating module is specifically configured to:
and sending a co-screen demonstration request to the rear end of the first terminal through the preset plug-in, generating a resource address of the content to be demonstrated on the same screen by the rear end according to the co-screen demonstration request, and sending the resource address to a second terminal.
As a preferred implementation manner, in the embodiment of the present invention, the content obtaining module is specifically configured to:
and the second terminal opens the resource address through at least one of a browser or a preset application program to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time.
As a preferred implementation manner, in the embodiment of the present invention, the content to be presented on the same screen includes an operation triggered by a user on a preset page of the first terminal.
As a preferred implementation manner, in an embodiment of the present invention, the apparatus further includes:
and the on-screen ending module is used for receiving an on-screen demonstration ending instruction through the first terminal and stopping the recording operation of the first terminal by using the preset plug-in.
As a preferred implementation manner, in an embodiment of the present invention, the apparatus further includes:
and the record generation module is used for generating the same-screen demonstration record of the current same-screen demonstration so as to start the same-screen demonstration again through the same-screen demonstration record.
As a preferred implementation manner, in an embodiment of the present invention, the method further includes:
and the group joining module is used for receiving a request sent by the second terminal for joining a preset same-screen group, authenticating the second terminal, and joining the second terminal to the preset same-screen group if the request is passed, wherein the preset same-screen group comprises a group established for performing same-screen demonstration with the first terminal.
Example four
Corresponding to the first to third embodiments, the present application further provides a computer device, wherein in the present embodiment, the same or similar contents as those in the first to third embodiments may be referred to the above description, and are not repeated herein. As shown in fig. 6, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of optimization of an execution plan.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
As a preferred implementation manner, in an embodiment of the present invention, the computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when executing the computer program:
receiving a same-screen demonstration starting instruction through a first terminal, and acquiring a preset plug-in according to the same-screen demonstration starting instruction, wherein the first terminal comprises a terminal which needs to record the content to be demonstrated on the same screen;
generating a resource address of the content to be demonstrated on the same screen through the preset plug-in, and sending the resource address to a second terminal, wherein the second terminal comprises a terminal needing to play the content to be demonstrated on the same screen;
and the second terminal acquires the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and sending a co-screen demonstration request to the rear end of the first terminal through the preset plug-in, generating a resource address of the content to be demonstrated on the same screen by the rear end according to the co-screen demonstration request, and sending the resource address to a second terminal.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and the second terminal opens the resource address through at least one of a browser or a preset application program to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time.
As a preferred implementation manner, in the embodiment of the present invention, the content to be presented on the same screen includes an operation triggered by a user on a preset page of the first terminal.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and receiving a same-screen demonstration ending instruction through the first terminal, and stopping the recording operation of the first terminal by using the preset plug-in.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and generating the same-screen demonstration record of the current same-screen demonstration so as to start the same-screen demonstration again through the same-screen demonstration record.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and receiving a request sent by the second terminal for joining a preset same-screen group, authenticating the second terminal, and joining the second terminal to the preset same-screen group if the request is passed, wherein the preset same-screen group comprises a group established for performing same-screen demonstration with the first terminal.
EXAMPLE five
Corresponding to the first to fourth embodiments, a computer-readable storage medium is further provided, wherein in this embodiment, the same or similar contents as those in the first to fourth embodiments may be referred to the above description, and details are not repeated. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of:
and sending a co-screen demonstration request to the rear end of the first terminal through the preset plug-in, generating a resource address of the content to be demonstrated on the same screen by the rear end according to the co-screen demonstration request, and sending the resource address to a second terminal.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and sending a co-screen demonstration request to the rear end of the first terminal through the preset plug-in, generating a resource address of the content to be demonstrated on the same screen by the rear end according to the co-screen demonstration request, and sending the resource address to a second terminal.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and the second terminal opens the resource address through at least one of a browser or a preset application program to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time.
As a preferred implementation manner, in the embodiment of the present invention, the first terminal receives an instruction to end the on-screen presentation, and the preset plug-in is used to stop the recording operation of the first terminal.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and receiving a same-screen demonstration ending instruction through the first terminal, and stopping the recording operation of the first terminal by using the preset plug-in.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and generating the same-screen demonstration record of the current same-screen demonstration so as to start the same-screen demonstration again through the same-screen demonstration record.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and receiving a request sent by the second terminal for joining a preset same-screen group, authenticating the second terminal, and joining the second terminal to the preset same-screen group if the request is passed, wherein the preset same-screen group comprises a group established for performing same-screen demonstration with the first terminal.
In summary, the technical solution provided by the embodiment of the present invention has the following beneficial effects:
according to the method, the device, the computer equipment and the storage medium for realizing the on-screen demonstration provided by the embodiment of the invention, a first terminal is used for receiving an on-screen demonstration starting instruction, a preset plug-in is obtained according to the on-screen demonstration starting instruction, the first terminal comprises a terminal which needs to record the content to be demonstrated on the same screen, a resource address of the content to be demonstrated on the same screen is generated through the preset plug-in, the resource address is sent to a second terminal, the second terminal comprises a terminal which needs to play the content to be demonstrated on the same screen, and the second terminal obtains the content to be demonstrated on the same screen which is recorded by the first terminal in real time through the resource address, so that the on-screen demonstration is not limited to the same terminal or the same application program any more, and the application scene of the on-screen demonstration is increased;
according to the method, the device, the computer equipment and the storage medium for realizing the on-screen demonstration provided by the embodiment of the invention, the on-screen demonstration record of the current on-screen demonstration is generated after the recording operation of the first terminal is stopped by utilizing the preset plug-in, so that the on-screen demonstration is started again through the on-screen demonstration record, and the on-screen demonstration efficiency is improved.
It should be noted that: the device for implementing the on-screen presentation provided in the foregoing embodiment is only illustrated by dividing the functional modules when the on-screen presentation service is triggered, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the device for implementing the on-screen presentation and the method for implementing the on-screen presentation provided by the above embodiment belong to the same concept, that is, the device is based on the method for implementing the on-screen presentation, and the specific implementation process thereof is detailed in the method embodiment and is not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A method for realizing on-screen demonstration is characterized by comprising the following steps:
receiving a same-screen demonstration starting instruction through a first terminal, and acquiring a preset plug-in according to the same-screen demonstration starting instruction, wherein the first terminal comprises a terminal which needs to record the content to be demonstrated on the same screen;
generating a resource address of the content to be demonstrated on the same screen through the preset plug-in, and sending the resource address to a second terminal, wherein the second terminal comprises a terminal needing to play the content to be demonstrated on the same screen;
and the second terminal acquires the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
2. The method for implementing the on-screen presentation according to claim 1, wherein the generating the resource address of the content to be presented on the same screen through the preset plug-in and sending the resource address to the second terminal comprises:
and sending a co-screen demonstration request to the rear end of the first terminal through the preset plug-in, generating a resource address of the content to be demonstrated on the same screen by the rear end according to the co-screen demonstration request, and sending the resource address to a second terminal.
3. The method for implementing the on-screen presentation according to claim 1 or 2, wherein the second terminal obtaining the content to be presented on the same screen, recorded by the first terminal in real time, through the resource address comprises:
and the second terminal opens the resource address through at least one of a browser or a preset application program to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time.
4. The method for implementing the on-screen presentation according to claim 1 or 2, wherein the content to be presented on the same screen includes an operation triggered by a user on a preset page of the first terminal.
5. The method for implementing the on-screen presentation according to claim 1 or 2, wherein the method further comprises:
and receiving a same-screen demonstration ending instruction through the first terminal, and stopping the recording operation of the first terminal by using the preset plug-in.
6. The method for implementing the on-screen presentation according to claim 5, wherein after the recording operation of the first terminal is stopped by using the preset plug-in, the method further comprises:
and generating the same-screen demonstration record of the current same-screen demonstration so as to start the same-screen demonstration again through the same-screen demonstration record.
7. The method for implementing the on-screen presentation according to claim 1 or 2, wherein the method further comprises:
and receiving a request sent by the second terminal for joining a preset same-screen group, authenticating the second terminal, and joining the second terminal to the preset same-screen group if the request is passed, wherein the preset same-screen group comprises a group established for performing same-screen demonstration with the first terminal.
8. An apparatus for implementing a same-screen demonstration, the apparatus comprising:
the system comprises a plug-in acquisition module, a display module and a display module, wherein the plug-in acquisition module is used for receiving a co-screen demonstration starting instruction through a first terminal and acquiring a preset plug-in according to the co-screen demonstration starting instruction, and the first terminal comprises a terminal which needs to record the content to be co-screen demonstrated;
the address generation module is used for generating a resource address of the content to be demonstrated on the same screen through the preset plug-in and sending the resource address to a second terminal, and the second terminal comprises a terminal which needs to play the content to be demonstrated on the same screen;
and the content acquisition module is used for the second terminal to acquire the content to be demonstrated on the same screen, which is recorded by the first terminal in real time, through the resource address.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110289619.9A CN112925494A (en) | 2021-03-17 | 2021-03-17 | Method and device for realizing same-screen demonstration, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110289619.9A CN112925494A (en) | 2021-03-17 | 2021-03-17 | Method and device for realizing same-screen demonstration, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112925494A true CN112925494A (en) | 2021-06-08 |
Family
ID=76174967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110289619.9A Pending CN112925494A (en) | 2021-03-17 | 2021-03-17 | Method and device for realizing same-screen demonstration, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112925494A (en) |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102272711A (en) * | 2009-01-08 | 2011-12-07 | 微软公司 | Synchronizing presentation states between multiple applications |
CN102930014A (en) * | 2011-11-01 | 2013-02-13 | 微软公司 | Real-time document demonstration data synchronization through a universal service |
CN105075274A (en) * | 2013-03-19 | 2015-11-18 | Lg电子株式会社 | Signal transmitting apparatus, signal transmitting method, and system for transmitting and receiving signal |
CN105306695A (en) * | 2015-09-28 | 2016-02-03 | 维沃移动通信有限公司 | Communication method of mobile terminal and mobile terminal |
CN106603667A (en) * | 2016-12-16 | 2017-04-26 | 北京小米移动软件有限公司 | Screen information sharing method and device |
CN107015997A (en) * | 2016-01-28 | 2017-08-04 | 北京联创众升科技有限公司 | The many demo systems of mobile terminal controlled in wireless |
CN108241672A (en) * | 2016-12-26 | 2018-07-03 | 北京奇虎科技有限公司 | A kind of method and apparatus of online displaying PowerPoint |
CN109542378A (en) * | 2018-11-19 | 2019-03-29 | 上海闻泰信息技术有限公司 | Screen sharing method, device, electronic equipment and readable storage medium storing program for executing |
CN109981711A (en) * | 2017-12-28 | 2019-07-05 | 腾讯科技(深圳)有限公司 | Document dynamic play method, apparatus, system and computer readable storage medium |
CN109976617A (en) * | 2019-04-03 | 2019-07-05 | 腾讯科技(深圳)有限公司 | Document display method and apparatus |
CN110177399A (en) * | 2019-04-30 | 2019-08-27 | 深圳市鹰硕技术有限公司 | One kind is the same as screen method for connecting network, device, smart machine and storage medium |
CN110471727A (en) * | 2019-07-10 | 2019-11-19 | 成都摹客科技有限公司 | Method, apparatus, system and the storage medium of interaction hot-zone are created based on web terminal |
CN110597774A (en) * | 2019-09-13 | 2019-12-20 | 腾讯科技(深圳)有限公司 | File sharing method, system, device, computing equipment and terminal equipment |
CN110691331A (en) * | 2019-08-30 | 2020-01-14 | 国家电网有限公司 | Conference demonstration method and device based on Bluetooth mesh technology and terminal equipment |
CN110888698A (en) * | 2018-09-10 | 2020-03-17 | 杭州海康威视数字技术股份有限公司 | Presentation control method, device and system |
CN111327589A (en) * | 2020-01-19 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Resource sharing method and device, computer readable storage medium and computer equipment |
CN111460351A (en) * | 2019-01-18 | 2020-07-28 | 北京京东尚科信息技术有限公司 | Demonstration method and device for network demonstrable information and storage medium thereof |
CN111626021A (en) * | 2020-04-20 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Presentation generation method and device |
CN111767109A (en) * | 2020-06-30 | 2020-10-13 | 深圳前海微众银行股份有限公司 | H5 page display method and device based on terminal application and readable storage medium |
-
2021
- 2021-03-17 CN CN202110289619.9A patent/CN112925494A/en active Pending
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107256138A (en) * | 2009-01-08 | 2017-10-17 | 微软技术许可有限责任公司 | The synchronous demonstrating state between multiple application programs |
CN102272711A (en) * | 2009-01-08 | 2011-12-07 | 微软公司 | Synchronizing presentation states between multiple applications |
CN102930014A (en) * | 2011-11-01 | 2013-02-13 | 微软公司 | Real-time document demonstration data synchronization through a universal service |
CN105075274A (en) * | 2013-03-19 | 2015-11-18 | Lg电子株式会社 | Signal transmitting apparatus, signal transmitting method, and system for transmitting and receiving signal |
CN105306695A (en) * | 2015-09-28 | 2016-02-03 | 维沃移动通信有限公司 | Communication method of mobile terminal and mobile terminal |
CN107015997A (en) * | 2016-01-28 | 2017-08-04 | 北京联创众升科技有限公司 | The many demo systems of mobile terminal controlled in wireless |
CN106603667A (en) * | 2016-12-16 | 2017-04-26 | 北京小米移动软件有限公司 | Screen information sharing method and device |
CN108241672A (en) * | 2016-12-26 | 2018-07-03 | 北京奇虎科技有限公司 | A kind of method and apparatus of online displaying PowerPoint |
CN109981711A (en) * | 2017-12-28 | 2019-07-05 | 腾讯科技(深圳)有限公司 | Document dynamic play method, apparatus, system and computer readable storage medium |
CN110888698A (en) * | 2018-09-10 | 2020-03-17 | 杭州海康威视数字技术股份有限公司 | Presentation control method, device and system |
CN109542378A (en) * | 2018-11-19 | 2019-03-29 | 上海闻泰信息技术有限公司 | Screen sharing method, device, electronic equipment and readable storage medium storing program for executing |
CN111460351A (en) * | 2019-01-18 | 2020-07-28 | 北京京东尚科信息技术有限公司 | Demonstration method and device for network demonstrable information and storage medium thereof |
CN109976617A (en) * | 2019-04-03 | 2019-07-05 | 腾讯科技(深圳)有限公司 | Document display method and apparatus |
CN110177399A (en) * | 2019-04-30 | 2019-08-27 | 深圳市鹰硕技术有限公司 | One kind is the same as screen method for connecting network, device, smart machine and storage medium |
CN110471727A (en) * | 2019-07-10 | 2019-11-19 | 成都摹客科技有限公司 | Method, apparatus, system and the storage medium of interaction hot-zone are created based on web terminal |
CN110691331A (en) * | 2019-08-30 | 2020-01-14 | 国家电网有限公司 | Conference demonstration method and device based on Bluetooth mesh technology and terminal equipment |
CN110597774A (en) * | 2019-09-13 | 2019-12-20 | 腾讯科技(深圳)有限公司 | File sharing method, system, device, computing equipment and terminal equipment |
CN111327589A (en) * | 2020-01-19 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Resource sharing method and device, computer readable storage medium and computer equipment |
CN111626021A (en) * | 2020-04-20 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Presentation generation method and device |
CN111767109A (en) * | 2020-06-30 | 2020-10-13 | 深圳前海微众银行股份有限公司 | H5 page display method and device based on terminal application and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110784752B (en) | Video interaction method and device, computer equipment and storage medium | |
WO2021196903A1 (en) | Video processing method and device, readable medium and electronic device | |
CN102421012B (en) | Method and system for acquiring screenshot picture of television program | |
JP2016527766A (en) | Content viewing confirmation apparatus and method | |
CN106095367B (en) | Multi-screen interaction method and system | |
CN105357562A (en) | Information processing method and terminal | |
CN111901695B (en) | Video content interception method, device and equipment and computer storage medium | |
CN110609970B (en) | User identity identification method and device, storage medium and electronic equipment | |
CN113868573A (en) | Method and system for quickly establishing one-screen interaction based on webpage | |
CN114422460B (en) | Method and system for establishing same-screen communication sharing in instant communication application | |
CN108880983A (en) | A kind of the voice real-time processing method and device of virtual three-dimensional space | |
CN112492329B (en) | Live broadcast method and device | |
CN105808231B (en) | System and method for recording and playing script | |
CN108574878B (en) | Data interaction method and device | |
JP2023506800A (en) | Liveroom interaction methods, devices, readable media and electronic devices | |
CN113676761B (en) | Multimedia resource playing method and device and main control equipment | |
CN102761453B (en) | Method for testing availability of client and client | |
CN113346973B (en) | Event prompting method and device, electronic equipment and computer readable storage medium | |
CN112925494A (en) | Method and device for realizing same-screen demonstration, computer equipment and storage medium | |
CN114222148B (en) | Countdown control method and device, storage medium and computer equipment | |
CN105577525A (en) | Converged communication interaction method, device and system | |
CN109086123A (en) | Moving method, device, terminal, server and the storage medium of utility cession | |
CN106101192B (en) | Information interaction method and device | |
CN113992619B (en) | Live information processing method, device, equipment and computer readable storage medium | |
CN113132808B (en) | Video generation method and device and computer readable storage medium |
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 |