Disclosure of Invention
In order to solve the above problems, an embodiment of the present invention discloses a method and an apparatus for synchronously switching a slide manuscript and a text manuscript. The technical scheme is as follows:
the invention provides a method for synchronously switching slide manuscripts and character manuscripts, which is applied to slave equipment of a document synchronous playing system, wherein the document synchronous playing system is provided with a master device and at least one slave device, and a target slide manuscript and a target character manuscript corresponding to the target slide manuscript are stored in the slave device; the method may include:
receiving, by the slave device, title information of a first slide in a target slide document currently being played by the master device;
synchronously displaying a first slide with the main equipment on a screen of the auxiliary equipment according to the title information of the first slide;
receiving a text manuscript display instruction of a slave equipment user;
searching first title information of the text manuscript corresponding to the first slide title information in a target text manuscript according to the text manuscript display instruction;
after the first title information of the text manuscript is found, displaying the target text manuscript on a screen, wherein the displayed content of the target text manuscript at least comprises: the first title information of the text manuscript and the text content corresponding to the first title information of the text manuscript.
In a preferred embodiment of the present invention, the method further comprises: in displaying the target text document on the screen,
receiving, by the slave device, title information of a second slide in the target slide document currently being played by the master device;
searching second title information of the text manuscript corresponding to the second slide title information in the target text manuscript according to the second slide title information;
and after the second title information of the text manuscript is found, displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript on a screen.
In a preferred embodiment of the present invention, after finding the second title information of the text manuscript, displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript on a screen, specifically:
and after the second title information of the text manuscript is found, displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript in a specified area of a text manuscript display interface on a screen.
In a preferred embodiment of the present invention, the method further comprises: in displaying the target text document on the screen,
receiving a text manuscript control instruction of a slave device user from a slave device;
after receiving the title information of a third slide in a target slide document currently played by the main device, the slave device stops searching for the third title information of the text manuscript corresponding to the title information of the third slide in the target text manuscript according to the title information of the third slide;
and executing corresponding control operation on the target text manuscript according to the text manuscript control instruction.
In a preferred embodiment of the present invention, the method further comprises: after executing corresponding operation and control operation on the target text manuscript according to the text manuscript operation and control instruction,
receiving a text manuscript return instruction of a slave device user from the slave device;
according to the received title information of a fourth slide in a target slide document currently played by the main equipment, searching fourth title information of a text manuscript corresponding to the fourth slide title information in the target text manuscript;
and after finding the fourth title information of the text manuscript, displaying the fourth title information of the text manuscript and the text content corresponding to the fourth title information of the text manuscript on a screen.
In a preferred embodiment of the present invention, the displaying the target text document on the screen specifically includes:
displaying the target text manuscript on the same screen with the slide manuscript on the screen;
or
And independently displaying the target text manuscript on a screen.
The invention also provides a synchronous switching device of the slide manuscript and the character manuscript, which is applied to the slave equipment of a document synchronous playing system, wherein the document synchronous playing system is provided with a master equipment and at least one slave equipment, and the slave equipment is stored with a target slide manuscript and a target character manuscript corresponding to the target slide manuscript; the apparatus may include:
a slide information receiving module for receiving title information of a first slide in a target slide document currently being played by a host device from the device;
the slide display module is used for synchronously displaying a first slide on a screen of the slave equipment with the master equipment according to the title information of the first slide;
the display instruction receiving module is used for receiving a text manuscript display instruction of a slave equipment user;
the text manuscript information searching module is used for searching first title information of the text manuscript corresponding to the first slide title information in a target text manuscript according to the text manuscript display instruction;
a text document display module, configured to display the target text document on a screen after the first title information of the text document is found, where the content of the displayed target text document at least includes: the first title information of the text manuscript and the text content corresponding to the first title information of the text manuscript.
In a preferred embodiment of the present invention, in displaying the target text document on the screen,
the slide information receiving module is also used for receiving the title information of a second slide in the target slide document which is currently played by the main equipment;
the text manuscript information searching module is also used for searching second title information of the text manuscript corresponding to the second slide title information in a target text manuscript according to the second slide title information;
the text manuscript display module is further used for displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript on a screen after the second title information of the text manuscript is found.
In a preferred embodiment of the present invention, the text document display module is specifically configured to:
and after the second title information of the text manuscript is found, displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript in a specified area of a text manuscript display interface on a screen.
In a preferred embodiment of the present invention, the method further comprises: the system comprises a control instruction receiving module, an information searching stopping module and a manuscript control module; wherein the content of the first and second substances,
the control instruction receiving module is used for receiving a text manuscript control instruction of a slave device user in the process of displaying the target text manuscript on a screen and triggering the information search stopping module and the manuscript control module;
the information search stopping module is used for stopping searching the third title information of the text manuscript corresponding to the third slide title information in the target text manuscript according to the third slide title information after the slave equipment receives the title information of the third slide in the target slide document currently played by the master equipment;
and the manuscript control module is used for executing corresponding control operation on the target text manuscript according to the text manuscript control instruction.
In a preferred embodiment of the present invention, the method further comprises: the manuscript return instruction receiving module is used for receiving a text manuscript return instruction of a slave device user after the manuscript control module executes corresponding control operation on the target text manuscript according to the text manuscript control instruction;
the text manuscript information searching module is further used for searching fourth title information of the text manuscript corresponding to the fourth slide title information in the target text manuscript according to the received title information of a fourth slide in the target slide document currently played by the main equipment after the text manuscript returning instruction receiving module receives a text manuscript returning instruction of a slave equipment user;
the text manuscript display module is further used for displaying the fourth title information of the text manuscript and the text content corresponding to the fourth title information of the text manuscript on a screen after the fourth title information of the text manuscript is found.
In a preferred embodiment of the present invention, the text document display module is specifically configured to:
displaying the target text manuscript on the same screen with the slide manuscript on the screen;
or
And independently displaying the target text manuscript on a screen.
According to the technical scheme, when a user of the slave equipment wants to check the text manuscript corresponding to the slide synchronously displayed with the master equipment, the slave equipment can search the title information of the text manuscript corresponding to the slide title information in the target text manuscript according to the text manuscript display instruction as long as the text manuscript display instruction is input; after the title information of the text manuscript is found, displaying the target text manuscript on a screen, wherein the displayed content of the target text manuscript at least comprises: the title information of the text manuscript and the text content corresponding to the title information of the text manuscript. Compared with the prior art, the method and the device have the advantages that the device user does not need to search the title information of the text manuscript, especially under the condition that the number of pages of the text manuscript is large, the searching time is saved, and the searching efficiency is improved. Therefore, when the slave device user views the text manuscript, the slave device user can not influence the slave device user to know other contents of the slide manuscript.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
Fig. 1 is a synchronous switching method of a slide manuscript and a text manuscript, which is applied to a slave device of a document synchronous playing system, where the document synchronous playing system has a master device and at least one slave device, and a target slide manuscript and a target text manuscript corresponding to the target slide manuscript are stored in the slave device; the method can comprise the following steps:
s101, the slave device receives the title information of the first slide in the target slide document currently played by the master device.
First, it should be noted that the document synchronous playing system according to the present invention can implement a function of synchronously playing a document on a master device and a slave device, and a specific implementation scheme can be implemented by using a related technical scheme in the prior art, which is not described herein again.
For example, the following technical solution may be adopted to implement synchronous playing of documents, where the master device receives an operation instruction of a master device user initiating synchronous playing, determines a target document to be synchronously played, generates shared information corresponding to the target document, and sends the shared information to a network side; the shared information includes the identification of the target document and the link address of the target document. When the slave equipment user wants to share the target document, an operation instruction for accessing synchronous playing is input into the slave equipment, after the slave equipment receives the operation instruction, a search request for searching sharable information is sent to the network side, and the sharable information returned by the network side is received. The slave device user selects the sharing information corresponding to the target document according to the identification of the target document obtained from the master device user, and after receiving the selection operation instruction of the slave device user, the slave device finds the target document according to the link address of the target document in the sharing information and synchronously plays the target document with the master device in the slave device.
In the technical scheme of the invention, a target slide manuscript and a target character manuscript corresponding to the target slide manuscript are stored in a slave device; the target slide show document and the target text document may be transmitted by a master device user to a slave device user through the master device. After receiving the target slide manuscript and the target character manuscript, the slave device stores the target slide manuscript and the target character manuscript in a designated position, so that the slave device can conveniently find the target character manuscript according to the target slide manuscript. Preferably, the target slide manuscript and the target text manuscript may be stored in a folder of the same hierarchy. More preferably, the target slide manuscript and the target text manuscript have corresponding identification information; most preferably, the target slide manuscript and the target text manuscript have the same identification information; for example, the names of the target slide manuscript and the target text manuscript are consistent.
It is to be understood that the target text document corresponds to the target slide document, which means that the content of the target text document corresponds to the content of the target slide document, that is, the content of the target text document is mainly used to describe the content of the target slide document. In general, the slide manuscript will not have too many literal descriptions, but these literal descriptions can be recorded in the corresponding target literal manuscripts. Thus, when the audience has an ambiguous place for the content in the slide manuscript, the corresponding text manuscript can be viewed. In order to implement the technical solution of the present invention, the title information corresponding to the slide in the target slide manuscript should correspond to the title information in the target text manuscript, preferably, the title information and the title information are consistent. For example, if the title of one slide in the target slide document is "a", there is also one title "a" in the target slide document, and the content of the "a" slide may be described below the title "a", or may be remarked.
After the master device and the slave device achieve synchronized playback, the slave device may receive title information of the first slide in the target slide document currently being played by the master device.
S102, according to the title information of the first slide, the first slide is synchronously displayed with the main device on the screen of the auxiliary device.
When the title information of the first slide is received from the device, the first slide in the target slide document stored in the slave device can be found based on the title information of the first slide and displayed.
And S103, receiving a text manuscript display instruction of the slave equipment user.
In step S102, when the first slide is displayed on the screen of the slave device in synchronization with the master device, if the slave device user wants to view the content of the text corresponding to the first slide, a text display instruction may be input to the slave device, and the slave device may perform the subsequent steps after receiving the text display instruction of the slave device user. In the actual use process, the user may input the text display instruction by clicking a preset icon in the slide, or may input the text display instruction by using other pre-specified triggering methods, and the specific form of inputting the text display instruction is not specifically limited herein.
And S104, searching first title information of the text manuscript corresponding to the first slide title information in the target text manuscript according to the text manuscript display instruction.
After receiving the text manuscript display instruction, the slave device can search first title information of the text manuscript corresponding to the first slide title information in the target text manuscript according to the received title information of the first slide in the target slide document. The specific implementation of this step can be implemented by using the related technical solutions of the prior art, and the present invention is not specifically described herein.
S105, after the first title information of the text manuscript is found, displaying the target text manuscript on a screen, wherein the displayed content of the target text manuscript at least comprises: the first title information of the text manuscript and the text content corresponding to the first title information of the text manuscript.
In the actual application process, when the target text manuscript is displayed on the screen, the target text manuscript can be displayed on the same screen with the slide manuscript on the screen; for example, a slide manuscript is displayed on the upper half of the screen, and a text manuscript is displayed below the screen. Of course, other on-screen display modes may be adopted, and how to display the images is specific, and those skilled in the art may select the modes according to actual situations, and the invention is not limited in detail herein.
When the target text document is displayed on the screen, the target text document may be displayed on the screen separately. That is, after the slave device receives the text document display instruction, the target slide document currently displayed on the screen is switched to the target text document.
Furthermore, when the target text document is displayed on the screen, the first title information of the text document and the text content corresponding to the first title information of the text document may be displayed in a designated area of the target text document display interface. For example, in the case of displaying the target text document on the screen separately, the text document first title information may be displayed in the upper left corner of the text document display interface, and the text content corresponding to the text document first title information may be displayed below the text document first title information.
The first title information of the text manuscript can be highlighted when the first title information of the text manuscript and the text content corresponding to the first title information of the text manuscript are displayed, so that the first title information of the text manuscript can be conveniently viewed by a user of the equipment.
As can be seen from the above embodiments, according to the technical solution of the present invention, when a slave device user wants to view a text document corresponding to a slide displayed synchronously with a master device, the slave device can search for title information of the text document corresponding to the slide title information in a target text document according to a text document display instruction as long as the text document display instruction is input; after the title information of the text manuscript is found, displaying the target text manuscript on a screen, wherein the displayed content of the target text manuscript at least comprises: the title information of the text manuscript and the text content corresponding to the title information of the text manuscript. Compared with the prior art, the method and the device have the advantages that the device user does not need to search the title information of the text manuscript, especially under the condition that the number of pages of the text manuscript is large, the searching time is saved, and the searching efficiency is improved. Therefore, when the slave device user views the text manuscript, the slave device user can not influence the slave device user to know other contents of the slide manuscript.
In the method, during the process of displaying the target text manuscript on the screen, the slave device can also continue to receive the title information of the second slide in the target slide document currently played by the main device;
searching second title information of the text manuscript corresponding to the second slide title information in the target text manuscript according to the second slide title information;
and after the second title information of the text manuscript is found, displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript on a screen.
In this way, the displayed target text document can refresh the display content of the target text document on the screen according to the progress of the target slide document played by the host device. The slave device user can know the text content corresponding to the slide manuscript which is played at present without any searching work, and the method is very convenient.
In practical application, after the second title information of the text manuscript is found, the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript are displayed on a screen, preferably:
and after the second title information of the text manuscript is found, displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript in a specified area of a text manuscript display interface on a screen.
The second title information of the text manuscript can be highlighted when the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript are displayed, so that the second title information of the text manuscript can be conveniently viewed by a user of the equipment.
In displaying the target text document on the screen, sometimes the slave device user needs to freely view other contents in the target text document instead of displaying the contents of the text document according to the slide played by the master device.
In order to be able to meet this need of the slave device user, in a preferred embodiment of the present invention, during the display of the target text document on the screen,
the slave equipment can receive a text manuscript control instruction of a slave equipment user;
after receiving the title information of a third slide in a target slide document currently played by the main device, the slave device stops searching for the third title information of the text manuscript corresponding to the title information of the third slide in the target text manuscript according to the title information of the third slide;
and executing corresponding control operation on the target text manuscript according to the text manuscript control instruction.
The text manuscript control instruction can be a text manuscript control instruction preset by application software corresponding to a text manuscript in the prior art; for example, the text document manipulation instruction may be an instruction for controlling a display page of the text document by using a mouse, or an instruction for editing the content of the text document by using a preset tool on a text document display interface, for example, an instruction for displaying key characters of the text document in a bold manner, or the like.
When the text manuscript control instruction input from the equipment user is to press a text bold display icon, corresponding control operation is carried out on the target text manuscript, and the text bold display can be carried out on the pre-selected text manuscript.
When the user wants to display the target text document by following the slide document playing progress of the main device again, the following method can be adopted:
after executing corresponding operation and control operation on the target text manuscript according to the text manuscript operation and control instruction,
receiving a text manuscript return instruction of a slave device user from the slave device;
according to the received title information of a fourth slide in a target slide document currently played by the main equipment, searching fourth title information of a text manuscript corresponding to the fourth slide title information in the target text manuscript;
and after finding the fourth title information of the text manuscript, displaying the fourth title information of the text manuscript and the text content corresponding to the fourth title information of the text manuscript on a screen.
The text return command mentioned here can be set by those skilled in the art, and the present invention is not limited to this.
The above description is made on the method for synchronously switching the slide manuscript and the text manuscript provided by the present invention, and it should be noted that, for the above various embodiments of the technical solution of the present invention, it is reasonable that a person skilled in the art can select some or all of them to be combined and implemented according to the actual situation.
Corresponding to the above method embodiment, as shown in fig. 2, the present invention further provides a device for synchronously switching between slide manuscripts and text manuscripts, which is applied to a slave device of a document synchronous playing system, where the document synchronous playing system has a master device and at least one slave device, and the slave device stores a target slide manuscript and a target text manuscript corresponding to the target slide manuscript; the apparatus may include:
a slide information receiving module 101, configured to receive, from a device, title information of a first slide in a target slide document currently being played by a host device;
a slide display module 102, configured to synchronously display a first slide with a master device on a slave device screen according to the title information of the first slide;
a display instruction receiving module 103, configured to receive a text document display instruction of a slave device user;
a text document information search module 104, configured to search, according to the text document display instruction, first title information of a text document corresponding to the first slide title information in a target text document;
a text document display module 105, configured to display the target text document on a screen after the first title information of the text document is found, where the content of the displayed target text document at least includes: the first title information of the text manuscript and the text content corresponding to the first title information of the text manuscript.
According to the technical scheme, when a user of the slave equipment wants to check the text manuscript corresponding to the slide synchronously displayed with the master equipment, the slave equipment can search the title information of the text manuscript corresponding to the slide title information in the target text manuscript according to the text manuscript display instruction as long as the text manuscript display instruction is input; after the title information of the text manuscript is found, displaying the target text manuscript on a screen, wherein the displayed content of the target text manuscript at least comprises: the title information of the text manuscript and the text content corresponding to the title information of the text manuscript. Compared with the prior art, the method and the device have the advantages that the device user does not need to search the title information of the text manuscript, especially under the condition that the number of pages of the text manuscript is large, the searching time is saved, and the searching efficiency is improved. Therefore, when the slave device user views the text manuscript, the slave device user can not influence the slave device user to know other contents of the slide manuscript.
In the above apparatus embodiment, in the process of displaying the target text manuscript on the screen, the slide information receiving module 101 is further configured to receive, from the device, title information of a second slide in the target slide document currently being played by the host device;
the text manuscript information searching module 104 is further configured to search, according to the second slide title information, second title information of a text manuscript corresponding to the second slide title information in a target text manuscript;
the text document display module 105 is further configured to display the second title information of the text document and the text content corresponding to the second title information of the text document on the screen after the second title information of the text document is found.
In this way, the displayed target text document can refresh the display content of the target text document on the screen according to the progress of the target slide document played by the host device. The slave device user can know the text content corresponding to the slide manuscript which is played at present without any searching work, and the method is very convenient.
In a preferred embodiment of the present invention, the text document display module is specifically configured to:
and after the second title information of the text manuscript is found, displaying the second title information of the text manuscript and the text content corresponding to the second title information of the text manuscript in a specified area of a text manuscript display interface on a screen.
In displaying the target text document on the screen, sometimes the slave device user needs to freely view other contents in the target text document instead of displaying the contents of the text document according to the slide played by the master device.
In order to be able to meet this need of the user of the slave device, in a preferred embodiment of the invention, the apparatus further comprises: the system comprises a control instruction receiving module, an information searching stopping module and a manuscript control module; wherein the content of the first and second substances,
the control instruction receiving module is used for receiving a text manuscript control instruction of a slave equipment user in the process of displaying the target text manuscript on a screen and triggering the information search stopping module and the text manuscript control module;
the information search stopping module is used for stopping searching the third title information of the text manuscript corresponding to the third slide title information in the target text manuscript according to the third slide title information after the slave equipment receives the title information of the third slide in the target slide document currently played by the master equipment;
and the manuscript control module is used for executing corresponding control operation on the target text manuscript according to the text manuscript control instruction.
In the above embodiment including the manipulation instruction receiving module, the information search stopping module, and the document manipulation module, when the user wants to display the target text document again following the play progress of the main device, the following method may be adopted:
the above apparatus may further include: the manuscript return instruction receiving module is used for receiving a text manuscript return instruction of a slave device user after the manuscript control module executes corresponding control operation on the target text manuscript according to the text manuscript control instruction;
the text manuscript information searching module 104 is further configured to search, after the text manuscript return instruction receiving module receives a text manuscript return instruction of a slave device user, fourth text manuscript title information corresponding to fourth slide title information in a target slide document currently being played by a host device according to received fourth slide title information in the target text manuscript;
the text-document display module 105 is further configured to display the fourth title information of the text document and the text content corresponding to the fourth title information of the text document on the screen after the fourth title information of the text document is found.
In each embodiment of the above apparatus for synchronously switching between a light sheet document and a text document, the text document display module 104 is specifically configured to:
displaying the target text manuscript on the same screen with the slide manuscript on the screen;
or
And independently displaying the target text manuscript on a screen.
It is 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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, which is referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.