CN114969396A - Manuscript demonstration method - Google Patents
Manuscript demonstration method Download PDFInfo
- Publication number
- CN114969396A CN114969396A CN202110207878.2A CN202110207878A CN114969396A CN 114969396 A CN114969396 A CN 114969396A CN 202110207878 A CN202110207878 A CN 202110207878A CN 114969396 A CN114969396 A CN 114969396A
- Authority
- CN
- China
- Prior art keywords
- terminal
- demonstration
- request
- presentation
- relative
- 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 50
- 230000004044 response Effects 0.000 claims description 5
- 238000010422 painting Methods 0.000 claims description 4
- 210000003813 thumb Anatomy 0.000 claims 4
- 230000005540 biological transmission Effects 0.000 abstract description 10
- 230000006854 communication Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000013475 authorization Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/438—Presentation of query results
- G06F16/4387—Presentation of query results by the use of playlists
- G06F16/4393—Multimedia presentations, e.g. slide shows, multimedia albums
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the disclosure discloses a manuscript demonstration method. One embodiment of the method comprises: establishing a first link with a first terminal; generating a demonstration identifier; sending the demonstration identifier back to the first terminal, wherein the first terminal generates a demonstration code according to the demonstration identifier; establishing a second link with a second terminal; receiving a demonstration request and a demonstration manuscript sent by a first terminal; sending the demonstration request and the demonstration manuscript to a second terminal; receiving a termination request sent by a first terminal; sending a termination request to the second terminal; receiving a file recording code sent by a first terminal; and pushing the file recording code to the target equipment, and controlling the target equipment to play the file recording code. The method only needs to send the manuscript and the operation instruction when the manuscript is presented across the terminals, has small transmission data volume and low requirement on network bandwidth, solves the problem of unsynchronized manuscript presentation and operation under the condition of multi-terminal same-screen presentation, and improves the user friendliness.
Description
Technical Field
The application relates to the technical field of computers, in particular to a manuscript demonstration method.
Background
With the continuous development of multimedia technology, when a speaker and an audience communicate with each other face to face, a good information synchronization effect can be achieved by synchronously demonstrating the contents on respective mobile phones. The scenes of the off-line speech are mostly explained by means of slides, and information is transmitted to audiences. However, this method requires a presentation device to play, and the required devices include a computer, a projector, a large screen, and the like. With the popularization of mobile devices and comparable computing capabilities to PC computers, it has become a common rigid requirement to complete the interpretation of face-to-face documents with mobile devices.
However, when performing document presentation in the above manner, there are often technical problems as follows:
first, the same terminal is used to demonstrate the manuscript, and the experience of watching by many people at the same time is very poor. The formal playing equipment has high requirements on hardware equipment such as a projector, a large screen and the like, and cannot meet the requirements of the ad hoc conference.
Secondly, when the same-screen manuscript demonstration is carried out across terminals, the network condition is limited, the total time delay of the acquisition, transmission and playing of the real-time video is 5-10 seconds, and the problem of unsynchronized manuscript and operation often occurs.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a manuscript presentation method to solve one or more of the technical problems mentioned in the above background section.
The embodiment of the disclosure provides a manuscript demonstration method, which comprises the following steps: establishing a first link with a first terminal; generating a demonstration identifier; sending the demonstration identification back to the first terminal, wherein the first terminal generates a demonstration code according to the demonstration identification; establishing a second link with a second terminal; receiving a demonstration request and a demonstration manuscript sent by a first terminal; sending the demonstration request and the demonstration manuscript to a second terminal; receiving a termination request sent by a first terminal; sending a termination request to the second terminal; receiving a file recording code sent by a first terminal, wherein the first terminal generates the file recording code; and pushing the file recording code to the target equipment, and controlling the target equipment to play the file recording code.
The above embodiments of the present disclosure have the following beneficial effects: through the manuscript demonstration method of some embodiments of the present disclosure, only the manuscript and the operation instruction need to be sent when the manuscript is demonstrated across terminals, the transmitted data volume is small, the requirement on the network bandwidth is low, the problem of unsynchronized manuscript and operation is solved, and the user friendliness is improved. Specifically, the inventors found that the main reasons for the poor user experience of the document presentation are: the user can hardly watch the same terminal presentation, and the problem of document and operation asynchronism occurs due to the transmission pressure that the network bandwidth can not bear videos and images when the terminal is crossed to present the same screen presentation, which finally influences the user experience. Based on this, first, some embodiments of the present disclosure generate a presentation identification for a first terminal after establishing a first link with the first terminal. Second, the presentation identification is sent back to the first terminal. And the first terminal generates a demonstration code according to the demonstration identifier, and the demonstration code is used as a basis for subsequent terminal-crossing on-screen demonstration of the manuscript. Third, a second link is established with the second terminal. The second terminal acquires the demonstration code. And fourthly, receiving a demonstration request and a demonstration manuscript sent by the first terminal. And the first terminal demonstrates the presentation according to the demonstration request. In the step, only the presentation is transmitted, and the operation instruction is generated according to the presentation request, but the video is not directly transmitted, so that the transmitted data volume is greatly reduced. And fifthly, sending the demonstration request and the demonstration manuscript to the second terminal. And the second terminal demonstrates the presentation according to the demonstration request. During this step of transmission, only the presentation is transmitted, and the operation instruction occurs according to the presentation request. And sixthly, receiving a termination request sent by the first terminal, sending the termination request to the second terminal, and ending the process of the current manuscript demonstration. And finally, receiving the file recording code sent by the first terminal. The first terminal generates a file recording code. In order to realize the same-screen presentation in the whole process of the processing mode, only the presentation and the operation instruction are transmitted through the network, and the cross-terminal presentation of the presentation is realized without transmitting videos. In the scenes of an ad hoc conference and a speech, the processing mode has very low requirements on hardware equipment and a network, and has very good experience on simultaneous watching of multiple people in the same manuscript.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
fig. 2 is a flow diagram of some embodiments of a document presentation method according to the present disclosure;
FIG. 3 is an exemplary authorization prompt box;
fig. 4 is a schematic diagram of an application scenario of a document presentation method according to some embodiments of the present disclosure;
figure 5 is a schematic block diagram of a terminal device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the manuscript presentation method of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as an information generation application, a document presentation application, a web page generation application, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various terminal devices having a display screen, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the above-listed terminal apparatuses. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as a server that stores target data input by the terminal apparatuses 101, 102, 103, and the like. The server may process the received document presentation request and feed back a processing result (e.g., a document or an operation instruction) to the terminal device.
It should be noted that the document presentation method provided by the embodiment of the present disclosure may be executed by the server 105 or by the terminal device.
It should be noted that the server 105 may also store the presentation locally and the server 105 may extract the local presentation directly for presentation, in which case the exemplary system architecture 100 may not include the terminal devices 101, 102, 103 and the network 104.
Note that, the terminal apparatuses 101, 102, and 103 may also have a document presentation method application installed therein, and in this case, the processing method may also be executed by the terminal apparatuses 101, 102, and 103. At this point, the exemplary system architecture 100 may also not include the server 105 and the network 104.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (for example, to provide a document presentation method service), or may be implemented as a single software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of electronic devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a document presentation method according to the present disclosure is shown. The manuscript demonstration method comprises the following steps:
In some embodiments, an executing agent (e.g., a terminal device shown in fig. 1) of the multi-document presentation method may establish a first link with the first terminal in response to receiving the target authorization signal. The target authorization signal may be a request for the on-screen presentation from the first terminal. The first terminal generates a signal as a target authorization signal when executing the target operation on the target control. The target control may be contained in an authorization prompt box. The authorization prompt box can be displayed on the target terminal equipment. The target terminal device may be a terminal device in which an account corresponding to the first terminal is registered. The terminal equipment can be a mobile phone or a computer. The target operation may be a "click operation" or a "slide operation". The target control may be a "confirm button".
As an example, the authorization prompt box described above may be as shown in fig. 3. The authorization prompt box may include: a prompt information display section 301 and a control 302. The prompt information display section 301 may be configured to display prompt information. The prompt message may be "whether to allow the link request of the first terminal to be acquired". The control 302 may be a "confirm button" or a "cancel button".
In some embodiments, the execution principal generates a presentation identification. Specifically, the presentation identifier may be an identifier composed of a presentation time and the device code of the execution subject. The presentation identification may be a numeric or alphabetic identification.
In some embodiments, the executing agent sends the presentation identification back to the first terminal. And the first terminal generates a demonstration code according to the demonstration identifier. Specifically, the demonstration code may be a two-dimensional code. The two-dimensional code is a coding mode widely adopted in mobile equipment, can store rich information and can also represent more data types. The two-dimensional code is a pattern which is distributed on a plane (in two-dimensional direction) according to a certain rule by using a certain specific geometric figure, is black and white and is alternated and records data symbol information. In coding, the concept of '0' and '1' bit stream forming the internal logic basis of computer is used, several geometric shapes corresponding to binary system are used to represent literal numerical information, and the information is automatically read by image input equipment or photoelectric scanning equipment so as to implement automatic information processing. The two-dimensional code can express information in both the horizontal and vertical directions, and thus can express a large amount of information in a small area.
In some embodiments, the executing entity establishes a second link with the second terminal. And the second terminal acquires the demonstration code. Specifically, the second terminal may be another terminal participating in the same-screen presentation. The second terminal can synchronously show the manuscript demonstrated by the first terminal and the operation instruction.
In some embodiments, the execution subject receives a presentation request and a presentation from the first terminal. And the first terminal demonstrates the demonstration manuscript according to the demonstration request.
Optionally, the first terminal generates a demonstration request. The presentation requests include an auto-play request, a page turn request, a graffiti request, and an end graffiti request.
And responding to the demonstration request as an automatic playing request, and demonstrating the demonstration manuscript by the first terminal. Wherein the presentation request includes a start link instruction. Specifically, the first terminal may perform a document conversion service. Each page of the presentation is converted into a picture, and the presentation can be presented in the form of the picture. Specifically, the first terminal may establish a communication connection with the execution body by using a long link (WebSocket) scheme. WebSocket is a protocol for full duplex communication over a single TCP connection. The WebSocket enables data exchange between the first terminal and the server to be simpler, and allows the server to actively push data to the first terminal. In the WebSocket, the first terminal and the server only need to complete one handshake, and persistent connection can be directly established between the first terminal and the server, and bidirectional data transmission is carried out. Specifically, the presentation request may be an operation instruction in Object Notation (JSON) format.
In response to the presentation request being a page turn request, the first terminal determines a latest page number. Wherein the presentation request includes the latest page number. And the first terminal plays the presentation according to the latest page number.
In response to the presentation request being a doodle request, the first terminal determines a set of drawing parameters. The drawing parameter set comprises the size of a painting brush, the color of the painting brush, a coordinate sequence and drawing time. And the first terminal plays the presentation according to the drawing parameter set.
Specifically, the first terminal may record the voice of the speaker during the playing of the presentation. And responding to the starting of the recording state of the first terminal, and recording the voice of the speaker in the playing process of the presentation by the first terminal to generate the recorded voice. And responding to the condition that the first terminal closes the recording state, and stopping recording the voice of the speaker in the playing process of the presentation by the first terminal. The first terminal saves the recorded voice.
And step 206, sending the demonstration request and the demonstration manuscript to the second terminal.
In some embodiments, the execution body transmits the presentation request and the presentation to the second terminal. And the second terminal demonstrates the demonstration manuscript according to the demonstration request.
Optionally, in response to the presentation request being an automatic play request, the second terminal presents the presentation according to the second link. Specifically, a WebSocket communication connection is established between the second terminal and the execution body. The second terminal waits for the server to send various operation instructions. Specifically, the server sends the presentation in the form of a picture to the second terminal.
And responding to the demonstration request as a page turning request, and starting demonstration of the demonstration manuscript from the latest page number position by the second terminal according to the second link. Specifically, the page turning request may be an operation instruction in Object Notation (JSON) format. The page flip request may be JSON formatted data representing the latest page number.
And responding to the demonstration request as a doodle request, and the second terminal acquires the drawing parameter set. Specifically, the drawing parameter may be in JSON format. The second terminal converts the coordinate sequence into a relative coordinate sequence. And the second terminal determines the relative brush size and the relative drawing time according to the drawing parameter set. And the second terminal plays the presentation according to the relative coordinate sequence, the relative brush size, the brush color, the relative coordinate sequence and the relative drawing time length.
Optionally, the second terminal converts the coordinate sequence into a relative coordinate sequence. The second terminal determines a coordinate sequence. Specifically, the coordinate sequence includes a width of a presentation picture of the first terminal and a length of the presentation picture of the first terminal.
The second terminal responds to satisfying the following equation:
DeviceWidth/DeviceHeight≤SlideWidth/SlideHeight,
wherein, slideWidth represents the demonstration picture width of the second terminal, slideHeight represents the demonstration picture length of the second terminal, DeviceWidth represents the demonstration picture width of the first terminal, and DeviceHeight represents the demonstration picture length of the first terminal. The second terminal determines the relative presentation picture width and the relative presentation picture length using the following equations:
ThumbnailWidth=DeviceWidth
wherein, the thumbnapwidth represents the relative demo picture width, and the thumbnapheight represents the relative demo picture length. The SlideWidth represents the width of the demonstration picture of the second terminal, the SlideHeight represents the length of the demonstration picture of the second terminal, the DeviceWidth represents the width of the demonstration picture of the first terminal, and the DeviceHeight represents the length of the demonstration picture of the first terminal. The second terminal determines a combination of the relative presentation picture width and the relative presentation picture length as a relative coordinate sequence.
Optionally, the second terminal responds to satisfying the following equation:
DeviceWidth/DeviceHeight>SlideWidth/SlideHeight,
wherein, slideWidth represents the demonstration picture width of the second terminal, slideHeight represents the demonstration picture length of the second terminal, DeviceWidth represents the demonstration picture width of the first terminal, and DeviceHeight represents the demonstration picture length of the first terminal. The second terminal determines the relative presentation picture width and the relative presentation picture length using:
ThumbnailHeight=DeviceHeight
wherein, the ThumbNailWidth represents the relative demonstration picture width, and the ThumbNailHeight represents the relative demonstration picture length. The SlideWidth represents the width of the demonstration picture of the second terminal, the SlideHeight represents the length of the demonstration picture of the second terminal, the DeviceWidth represents the width of the demonstration picture of the first terminal, and the DeviceHeight represents the length of the demonstration picture of the first terminal. The second terminal determines a combination of the relative presentation picture width and the relative presentation picture length as a relative coordinate sequence.
Specifically, the second terminal determines the relative brush size and the relative drawing time according to the relative demonstration picture width and the relative demonstration picture length. And the second terminal plays the presentation according to the relative coordinate sequence, the relative brush size, the brush color, the relative coordinate sequence and the relative drawing time length.
The optional contents in the above step 205 and 206 are: the technical contents that the first terminal and the second terminal respectively establish the first link and the second link of the WebSocket communication connection type with the server to perform the presentation and the transmission of the operation instruction are taken as an invention point of the embodiment of the disclosure, and the technical problems that the presentation of the same-screen document is limited by network conditions when the terminal is crossed and the total time delay of the acquisition, transmission and playing of the real-time video is 5 to 10 seconds, and the document and the operation are often asynchronous are solved. ". Factors causing poor presentation effect of the same-screen file across the terminals are as follows: the problem of time delay and the like can occur when videos or images and the like are transmitted through a network, so that the effect of on-screen display is influenced. If the above factors are solved, the result of improving the demonstration effect of the same-screen manuscript can be achieved. In order to achieve the effect, the WebSocket communication connection is introduced to achieve cross-terminal communication, and meanwhile only a presentation and an operation instruction are transmitted in the communication process. First, the first terminal and the second terminal respectively establish Websocket communication connection with a server. Second, a presentation request and a presentation transmitted from the first terminal are received. The first terminal demonstrates the presentation according to the demonstration request. And thirdly, the second terminal demonstrates the demonstration manuscript according to the demonstration request. The first terminal and the second terminal transmit the presentation and the operation instruction in the graphic format to the server without directly transmitting the video. When a doodle demonstration request is processed, a drawing parameter set is determined according to the display size of the second terminal, and the mode of on-screen display in the second terminal is adjusted. In the scenes of an ad hoc conference and a speech, the processing mode has very low requirements on hardware equipment and a network, and has very good experience on simultaneous watching of multiple people of the same manuscript, so that the technical problem two is solved.
In some embodiments, the execution body receives a termination request from the first terminal. Specifically, the termination request may be in JSON format. The termination request indicates that the presentation process of the presentation is finished. And the first terminal terminates the WebSocket communication connection according to the termination request.
In some embodiments, the executing entity sends the termination request to the second terminal. And the second terminal terminates the WebSocket communication connection according to the termination request.
Step 209, receiving the file recording code sent by the first terminal.
In some embodiments, the execution body receives a file recording code sent by the first terminal. The first terminal generates a file recording code. And the first terminal converts the recorded voice in the presentation process into a recorded text. Specifically, the first terminal may convert the recorded voice during the presentation into a recorded text using a voice recognition method. And the first terminal stores the recorded text, the presentation and the operation instruction as a file recording code.
In some embodiments, the execution body pushes the file recording code to the target device, and controls the target device to play the file recording code. The target device with the display function can be a device which is in communication connection with the execution main body and can display and play the file according to the received file recording code. For example, the execution body may display the presentation and the recorded text in the received file recording code, and may repeatedly play the recorded text and the operation instruction corresponding to the voice in the presentation displaying process. The display content can be played repeatedly as required, so that the requirement for checking by a user is met, and the convenience degree of the user is improved.
One embodiment presented in fig. 2 has the following beneficial effects: through the manuscript demonstration method of some embodiments of the present disclosure, only the manuscript and the operation instruction need to be sent when the manuscript is demonstrated across terminals, the transmitted data volume is small, the requirement on the network bandwidth is low, the problem of unsynchronized manuscript and operation is solved, and the user friendliness is improved. Specifically, the inventors found that the main reasons for the poor user experience of the document presentation are: the user can hardly watch the same terminal presentation, and the problem of document and operation asynchronism occurs due to the transmission pressure that the network bandwidth can not bear videos and images when the terminal is crossed to present the same screen presentation, which finally influences the user experience. Based on this, first, some embodiments of the present disclosure generate a presentation identification for a first terminal after establishing a first link with the first terminal. Second, the presentation identification is sent back to the first terminal. And the first terminal generates a demonstration code according to the demonstration identifier, and the demonstration code is used as a basis for subsequent terminal-crossing on-screen demonstration of the manuscript. Third, a second link is established with the second terminal. The second terminal acquires the demonstration code. And fourthly, receiving a demonstration request and a demonstration manuscript sent by the first terminal. And the first terminal demonstrates the presentation according to the demonstration request. In the step, only the presentation is transmitted, and the operation instruction is generated according to the presentation request, but the video is not directly transmitted, so that the transmitted data volume is greatly reduced. And fifthly, sending the demonstration request and the demonstration manuscript to the second terminal. And the second terminal demonstrates the presentation according to the demonstration request. During this step of transmission, only the presentation is transmitted, and the operation instruction occurs according to the presentation request. And sixthly, receiving a termination request sent by the first terminal, sending the termination request to the second terminal, and ending the process of the current manuscript demonstration. And finally, receiving the file recording code sent by the first terminal. The first terminal generates a file recording code. In order to realize the same-screen presentation in the whole process of the processing mode, only the presentation and the operation instruction are transmitted through the network, and the cross-terminal presentation of the presentation is realized without transmitting videos. In the scenes of an ad hoc conference and a speech, the processing mode has very low requirements on hardware equipment and a network, and has very good experience on simultaneous watching of multiple people in the same manuscript.
With continued reference to fig. 4, a schematic diagram of one application scenario of a document presentation method according to the present disclosure is shown.
In the application scenario of fig. 4, after the first terminal sends a request to the server, the server establishes a first link 401 with the first terminal. The server generates a presentation identification 402. The server sends the presentation identification back to the first terminal 403. The server establishes a second link 404 with the second terminal. The server receives a request 405 for a presentation from the first terminal. The server sends a demonstration request to the second terminal 406. The server receives a termination request 407 from the first terminal. The server sends a termination request to the second terminal 408. The server receives the file recording code 409 sent by the first terminal
The manuscript demonstration method provided by the embodiment of the application provides the same-screen manuscript demonstration of the first terminal and the second terminal. In the process of demonstration, the demonstration manuscript in a graphic structure and the operation instruction in the JSON format are transmitted among the first terminal, the second terminal and the server, the transmission data volume is small, and the requirement on network bandwidth is low. The first terminal converts the speaker recording in the demonstration process into a recording text, stores the recording text, the demonstration manuscript and the operation instruction as file recording codes and sends the file recording codes to the server. The server stores the file recording code to provide the service of repeated playing, thereby improving the user friendliness.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use in implementing a terminal device of an embodiment of the present disclosure. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM503 are connected to each other via a bus 504. An Input/Output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: a storage section 506 including a hard disk and the like; and a communication section 507 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 507 performs communication processing via a network such as the internet. The driver 508 is also connected to the I/O interface 505 as necessary. A removable medium 509 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 508 as necessary so that the computer program read out therefrom is mounted into the storage section 506 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 507 and/or installed from the removable medium 509. The above-described functions defined in the method of the present disclosure are performed when the computer program is executed by a Central Processing Unit (CPU) 501. It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Claims (10)
1. A method of document presentation, comprising:
establishing a first link with a first terminal;
generating a demonstration identifier;
sending the demonstration identification back to the first terminal, wherein the first terminal generates a demonstration code according to the demonstration identification;
establishing a second link with a second terminal, wherein the second terminal acquires the demonstration code;
receiving a demonstration request and a demonstration manuscript sent by the first terminal, wherein the first terminal demonstrates the demonstration manuscript according to the demonstration request;
sending the demonstration request and the demonstration manuscript to the second terminal, wherein the second terminal demonstrates the demonstration manuscript according to the demonstration request;
receiving a termination request sent by the first terminal;
sending the termination request to a second terminal;
receiving a file recording code sent by the first terminal, wherein the first terminal generates the file recording code;
and pushing the file recording code to target equipment, and controlling the target equipment to play the file recording code.
2. The method of claim 1, wherein the presentation request comprises an auto-play request, a page turn request, a graffiti request, and an end graffiti request.
3. The method of claim 2, wherein the first terminal presenting the presentation according to the presentation request comprises:
the first terminal generates the demonstration request;
and responding to the demonstration request as an automatic playing request, and demonstrating the demonstration manuscript by the first terminal, wherein the demonstration request comprises a starting link instruction.
4. The method of claim 3, wherein the second terminal presenting the presentation according to the presentation request comprises:
and responding to the demonstration request as an automatic playing request, and demonstrating the demonstration manuscript by the second terminal according to the second link.
5. The method of claim 4, wherein the first terminal presents the presentation according to the presentation request, further comprising:
in response to the demonstration request being a page turning request, the first terminal determines the latest page number, wherein the demonstration request comprises the latest page number;
and the first terminal plays the presentation according to the latest page number.
6. The method of claim 5, wherein the second terminal presents the presentation according to the presentation request, further comprising:
and responding to the demonstration request as a page turning request, and the second terminal begins to demonstrate the demonstration manuscript from the latest page position according to the second link.
7. The method of claim 6, wherein the first terminal presents the presentation according to the presentation request, further comprising:
responding to the demonstration request as a doodling request, and determining a drawing parameter set by the first terminal, wherein the drawing parameter set comprises the size of a painting brush, the color of the painting brush, a coordinate sequence and the drawing time length;
and the first terminal plays the presentation according to the drawing parameter set.
8. The method of claim 7, wherein the second terminal presents the presentation according to the presentation request, further comprising:
responding to the demonstration request as a doodle request, and the second terminal acquires the drawing parameter set;
the second terminal converts the coordinate sequence into a relative coordinate sequence;
the second terminal determines the relative brush size and the relative drawing time according to the drawing parameter set;
and the second terminal plays the presentation according to the relative coordinate sequence, the relative brush size, the brush color, the relative coordinate sequence and the relative drawing time length.
9. The method of claim 8, wherein the second terminal converting the coordinate sequence to a relative coordinate sequence comprises:
the second terminal determines the coordinate sequence, specifically, the coordinate sequence includes a demonstration picture width of the first terminal and a demonstration picture length of the first terminal;
the second terminal is responsive to satisfying the following equation:
DeviceWidth/DeviceHeight≤SlideWidth/SlideHeight,
wherein, SlideWidth represents the demonstration picture width of the second terminal, SlideHeight represents the demonstration picture length of the second terminal, DeviceWidth represents the demonstration picture width of the first terminal, DeviceHeight represents the demonstration picture length of the first terminal, and the relative demonstration picture width and the relative demonstration picture length are determined by the following formula:
ThumbnailWidth=DeviceWidth
wherein, the thumb indicates the relative demo picture width, the thumb indicates the relative demo picture length, the SlideWidth indicates the demo picture width of the second terminal, the SlideHeight indicates the demo picture length of the second terminal, the DeviceWidth indicates the demo picture width of the first terminal, and the DeviceHeight indicates the demo picture length of the first terminal;
and the second terminal determines the combination of the relative demonstration picture width and the relative demonstration picture length as the relative coordinate sequence.
10. The method of claim 9, wherein the second terminal converts the coordinate sequence to a relative coordinate sequence, further comprising:
the second terminal is responsive to satisfying the following equation:
DeviceWidth/DeviceHeight>SlideWidth/SlideHeight,
wherein, SlideWidth represents the demonstration picture width of the second terminal, SlideHeight represents the demonstration picture length of the second terminal, DeviceWidth represents the demonstration picture width of the first terminal, DeviceHeight represents the demonstration picture length of the first terminal, and the relative demonstration picture width and the relative demonstration picture length are determined by the following formula:
ThumbnailHeight=DeviceHeight
wherein, the thumb indicates the relative demo picture width, the thumb indicates the relative demo picture length, the SlideWidth indicates the demo picture width of the second terminal, the SlideHeight indicates the demo picture length of the second terminal, the DeviceWidth indicates the demo picture width of the first terminal, and the DeviceHeight indicates the demo picture length of the first terminal;
and the second terminal determines the combination of the relative demonstration picture width and the relative demonstration picture length as the relative coordinate sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110207878.2A CN114969396A (en) | 2021-02-25 | 2021-02-25 | Manuscript demonstration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110207878.2A CN114969396A (en) | 2021-02-25 | 2021-02-25 | Manuscript demonstration method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114969396A true CN114969396A (en) | 2022-08-30 |
Family
ID=82972938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110207878.2A Pending CN114969396A (en) | 2021-02-25 | 2021-02-25 | Manuscript demonstration method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114969396A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105450944A (en) * | 2015-11-13 | 2016-03-30 | 北京自由坊科技有限责任公司 | Method and device for synchronously recording and reproducing slides and live presentation speech |
CN107665139A (en) * | 2016-07-29 | 2018-02-06 | 北京新唐思创教育科技有限公司 | The implementation method and device drawn for the real time bidirectional in online teaching |
CN108093055A (en) * | 2017-12-25 | 2018-05-29 | 威创集团股份有限公司 | A kind of method and user terminal for controlling multi-screen presentation manuscript |
CN108241672A (en) * | 2016-12-26 | 2018-07-03 | 北京奇虎科技有限公司 | A kind of method and apparatus of online displaying PowerPoint |
CN111404977A (en) * | 2019-01-03 | 2020-07-10 | 腾讯科技(北京)有限公司 | Document remote demonstration and viewing method and terminal equipment |
CN112148398A (en) * | 2019-06-28 | 2020-12-29 | 杭州海康机器人技术有限公司 | Image processing method and device |
-
2021
- 2021-02-25 CN CN202110207878.2A patent/CN114969396A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105450944A (en) * | 2015-11-13 | 2016-03-30 | 北京自由坊科技有限责任公司 | Method and device for synchronously recording and reproducing slides and live presentation speech |
CN107665139A (en) * | 2016-07-29 | 2018-02-06 | 北京新唐思创教育科技有限公司 | The implementation method and device drawn for the real time bidirectional in online teaching |
CN108241672A (en) * | 2016-12-26 | 2018-07-03 | 北京奇虎科技有限公司 | A kind of method and apparatus of online displaying PowerPoint |
CN108093055A (en) * | 2017-12-25 | 2018-05-29 | 威创集团股份有限公司 | A kind of method and user terminal for controlling multi-screen presentation manuscript |
CN111404977A (en) * | 2019-01-03 | 2020-07-10 | 腾讯科技(北京)有限公司 | Document remote demonstration and viewing method and terminal equipment |
CN112148398A (en) * | 2019-06-28 | 2020-12-29 | 杭州海康机器人技术有限公司 | Image processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017041366A1 (en) | Method and device for image recognition | |
US20110131498A1 (en) | Presentation method and presentation system using identification label | |
CN112291502B (en) | Information interaction method, device and system and electronic equipment | |
CN114584736B (en) | Sharing method and device based on video conference, electronic equipment and computer medium | |
US11689749B1 (en) | Centralized streaming video composition | |
CN111818383B (en) | Video data generation method, system, device, electronic equipment and storage medium | |
CN112073307A (en) | Mail processing method and device, electronic equipment and computer readable medium | |
CN112055252A (en) | Multi-screen interaction method and device, computer readable medium and electronic equipment | |
CN114095671A (en) | Cloud conference live broadcast system, method, device, equipment and medium | |
CN112261349B (en) | Image processing method and device and electronic equipment | |
CN112770171A (en) | Content display method, device, system, equipment and storage medium | |
CN111404977B (en) | Document remote demonstration and viewing method and terminal equipment | |
CN111131853A (en) | Handwriting live broadcasting system and method | |
CN113055636B (en) | Data processing method and conference system | |
CN114969396A (en) | Manuscript demonstration method | |
CN111385590A (en) | Live broadcast data processing method and device and terminal | |
KR20200050774A (en) | HTML5-based web-responsive content interactive social learning system | |
CN112672089B (en) | Conference control and conference participation method, conference control and conference participation device, server, terminal and storage medium | |
CN115086753A (en) | Live video stream processing method and device, electronic equipment and storage medium | |
CN115150631A (en) | Subtitle processing method, subtitle processing device, electronic equipment and storage medium | |
CN113891108A (en) | Subtitle optimization method and device, electronic equipment and storage medium | |
CN113382311A (en) | Online teaching interaction method and device, storage medium and terminal | |
CN113727183B (en) | Live push method, apparatus, device, storage medium and computer program product | |
CN110635993A (en) | Method and apparatus for synthesizing multimedia information | |
CN117119216B (en) | Live broadcast explanation method and system and use method of live broadcast system |
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 |