CN106210594B - Synchronous display method and system - Google Patents

Synchronous display method and system Download PDF

Info

Publication number
CN106210594B
CN106210594B CN201610565559.8A CN201610565559A CN106210594B CN 106210594 B CN106210594 B CN 106210594B CN 201610565559 A CN201610565559 A CN 201610565559A CN 106210594 B CN106210594 B CN 106210594B
Authority
CN
China
Prior art keywords
picture
client
page number
page
terminal
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.)
Active
Application number
CN201610565559.8A
Other languages
Chinese (zh)
Other versions
CN106210594A (en
Inventor
刘德建
蔡专锡
方振华
郭玉湖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN201610565559.8A priority Critical patent/CN106210594B/en
Publication of CN106210594A publication Critical patent/CN106210594A/en
Application granted granted Critical
Publication of CN106210594B publication Critical patent/CN106210594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/08Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • H04N7/52Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • H04N7/52Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
    • H04N7/54Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal the signals being synchronous

Abstract

The invention provides a method and a system for synchronous display, wherein the method comprises the following steps: the method comprises the steps that a client side obtains the total page number N of a file to be displayed from a PC side, wherein N is more than or equal to 2; the method comprises the steps that a client receives a request for switching to an nth page, wherein N is less than or equal to N; the client sends a request for acquiring m pages in total from the nth page of the file to the PC, wherein m is less than or equal to N; the client receives the pictures corresponding to the m pages in sequence and stores the pictures locally; and the client establishes a mapping relation between the storage address and the corresponding page number of the picture. The invention only transmits the required pictures, greatly reduces the data transmission between the client and the PC terminal, reduces the occupation of system resources and the consumption of flow to the maximum extent, and obviously improves the transmission speed; the synchronous display between the client and the PC terminal can be ensured, and the response speed of the control instruction sent by the PC terminal to the client can be improved, so that the user experience is optimized.

Description

Synchronous display method and system
Technical Field
The invention relates to the field of data transmission, in particular to a synchronous display method and a synchronous display system.
Background
Nowadays, more and more occasions need to apply the technology of file synchronization display between different ends. For example, in a conference, a presentation, a teaching and other occasions, there is a need to control the PC end to play the PPT through the client, and in order to better control the PPT played by the PC end, the client needs to be ensured to be able to synchronously display the content of the PC end. In the synchronous display mode in the prior art, when a client and a PC (personal computer) end are connected, PPT (Power Point) is converted into pictures one by the PC end, and then the pictures are sequentially transmitted to the client; this implementation has the following disadvantages: when the data volume of the PPT file is large, the PC end and the client end are easy to be blocked due to resource occupation and cannot respond in the process of transferring pictures and transmitting the pictures at the PC end; no matter what instruction is sent by the client, the PC end cannot respond in time, and the user experience is seriously influenced. Furthermore, the above method also has a problem of synchronous display between the client and the PC, for example, in the operation process, if the PC modifies a certain element or picture in the PPT and then stores the modified element or picture, the modification action will not be synchronously responded at the remote control end, so that the display contents of the client and the PC are inconsistent.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the system for synchronous display can solve the problem that synchronous display cannot be achieved due to the fact that file transmission between a client and a PC (personal computer) is blocked.
In order to solve the technical problems, the invention adopts the technical scheme that:
a method of synchronized display, comprising:
the method comprises the steps that a client side obtains the total page number N of a file to be displayed from a PC side, wherein N is more than or equal to 2;
the method comprises the steps that a client receives a request for switching to an nth page, wherein N is less than or equal to N;
the client sends a request for acquiring m pages in total from the nth page of the file to the PC, wherein m is less than or equal to N;
the client receives the pictures corresponding to the m pages in sequence and stores the pictures locally;
and the client establishes a mapping relation between the storage address and the corresponding page number of the picture.
The invention provides another technical scheme as follows:
a system for synchronized display, comprising:
the first acquisition module is used for the client to acquire the total page number N of the file to be displayed from the PC end, wherein N is more than or equal to 2;
a first receiving module, configured to receive, by a client, a request for switching to an nth page, where N is less than or equal to N;
the second acquisition module is used for sending a request for acquiring m pages in total from the nth page of the file to the PC terminal by the client, wherein m is less than or equal to N;
the second receiving module is used for receiving the pictures corresponding to the m pages in sequence by the client and storing the pictures locally;
and the establishing module is used for the client to establish the mapping relation between the storage address and the corresponding page number of the picture.
The invention has the beneficial effects that: the method is different from the prior art that the PC terminal is adopted to sequentially transmit each picture to the client terminal, and synchronous display of the PC terminal and the client terminal can be realized only after all pictures are transmitted; and because the transmission data volume is large, a large amount of resources are occupied, and the PC end can not respond to the control instruction sent by the client in time easily, so that the problem of synchronous display can not be realized. According to the synchronous display method provided by the invention, all pictures of the file to be displayed are not transmitted between the client and the PC terminal, but when the client receives a request sent by a user to switch to a certain page of the file, the client requests the PC terminal to acquire the picture with the preset page number from the page, and a mapping relation between the picture and the local storage address of the client and the corresponding page number is established. Only the required pictures are transmitted, so that data transmission between the client and the PC is greatly reduced, occupation of system resources and consumption of flow are reduced to the maximum extent, and the transmission speed is obviously improved; the synchronous display between the client and the PC terminal can be ensured, and the response speed of the control instruction sent by the PC terminal to the client can be improved, so that the user experience is optimized.
Drawings
FIG. 1 is a schematic flow chart of a method for synchronous display according to the present invention;
FIG. 2 is a schematic flow chart according to a first embodiment of the present invention;
FIG. 3 is a flow chart of a third embodiment of the present invention;
FIG. 4 is a schematic flow chart of a fourth embodiment of the present invention;
FIG. 5 is a schematic flow chart of a fifth embodiment of the present invention;
FIG. 6 is a schematic diagram of a system for synchronous display according to the present invention;
FIG. 7 is a schematic structural diagram of a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a sixth embodiment of the present invention.
Description of reference numerals:
1. a first acquisition module; 2. a first receiving module; 3. a second acquisition module;
4. a second receiving module; 5. establishing a module; 6. a third obtaining module; 7. a decision module;
8. an execution module; 9. a modification module; 10. a first sending module; 11. a first judgment module;
12. a second sending module; 13. a third receiving module; 14. a replacement module;
15. a first plug-in module; 16. a third sending module; 17. a fourth receiving module;
18. a fourth sending module; 19. a fifth receiving module; 20. a second plug-in module;
21. a deletion module; 22. a fifth sending module; 23. a sixth receiving module;
24. a second judgment module; 25. and a page number modification module.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
The most key concept of the invention is as follows: according to the switching request received by the client, the pictures with preset pages from the page number corresponding to the switching request are obtained from the PC terminal, and the mapping relation between the local storage address of the pictures and the corresponding page number is established.
Referring to fig. 1, the present invention provides a method for synchronous display, including:
the method comprises the steps that a client side obtains the total page number N of a file to be displayed from a PC side, wherein N is more than or equal to 2;
the method comprises the steps that a client receives a request for switching to an nth page, wherein N is less than or equal to N;
the client sends a request for acquiring m pages in total from the nth page of the file to the PC, wherein m is less than or equal to N;
the client receives the pictures corresponding to the m pages in sequence and stores the pictures locally;
and the client establishes a mapping relation between the storage address and the corresponding page number of the picture.
From the above description, the beneficial effects of the present invention are: before the client and the PC end need to synchronously display, all pictures of a file to be displayed are not transmitted, but after the client receives a switching control instruction triggered by a user, a request of a certain number of pictures of the page is acquired from the PC end according to the page number corresponding to the switching control instruction, and then the page is stored locally, and the mapping relation of each picture about the local storage address and the corresponding page number in the file is respectively established so as to facilitate the calling of the client. The invention saves the flow between the two ends to the maximum extent, thereby obviously improving the data transmission speed, rapidly acquiring and displaying the pictures of the corresponding page number after the client receives the switching control instruction, and realizing the synchronous display of the client and the PC end; furthermore, because the occupation of system resources is reduced, after the client sends a control instruction to the PC terminal, the response speed of the PC terminal can be increased, the effect of synchronous display is ensured, and the user experience is improved.
Further, the client acquires the total number of pages N of the file to be displayed from the PC, and then further includes:
the client sends a request for acquiring m pages in total from the x page of the file to the PC, wherein x is more than or equal to 1 and less than N;
the client receives the pictures corresponding to the m pages in sequence and stores the pictures locally;
and the client establishes a mapping relation between the storage address and the corresponding page number of the picture.
As can be seen from the above description, the client in the present invention can also acquire the pictures with the specified number of pages in advance, so as to establish the mapping relationship between the pictures, and realize the fast call at the client according to the switching control instruction.
Further, the client sends a request for obtaining m pages in total from the nth page of the file to the PC, and the method further includes:
judging whether the picture corresponding to the nth page is stored locally according to the mapping relation;
and if the page is not stored locally, executing the request of sending the m pages in total from the nth page to the PC side by the client.
As can be seen from the above description, after receiving the switching control instruction, first determining whether the page number corresponding to the switching control instruction is stored in the mapping relationship, and if so, quickly obtaining the picture corresponding to the page number; if not, the picture corresponding to the page number is obtained from the PC end, so that the picture calling speed of the client is further improved, and the synchronous display effect of the client and the PC end is ensured.
Further, the client establishes a mapping relationship between the picture and the storage address and the corresponding page number, and then further includes:
the PC terminal modifies a picture in the file;
the PC terminal sends information including the page number corresponding to the modified picture to the client terminal;
the client receives the information and judges whether the page number corresponding to the modified picture is stored in the mapping relation;
if yes, sending a request for acquiring the modified picture to a PC (personal computer) end;
the client receives the modified picture and stores the modified picture locally;
and the client replaces the storage address of the original page number picture corresponding to the modified picture by using the storage address of the modified picture in the mapping relation.
The above description shows that the client of the present invention can also synchronize the modification of the picture in the file by the PC, and ensure the consistency of the contents displayed by the client and the PC.
Further, the client establishes a mapping relationship between the picture and the storage address and the corresponding page number, and then further includes:
inserting a picture in the file by the PC terminal;
the PC terminal sends information including the inserted page number of the inserted picture to the client terminal;
the client receives the information and judges whether the inserted page number is stored in the mapping relation;
if yes, sending a request for acquiring the inserted picture to a PC (personal computer) end;
the client receives the inserted picture and stores the inserted picture locally;
and the client inserts the inserted picture in front of the picture corresponding to the inserted page number in the mapping relation, and modifies the page number corresponding to the picture corresponding to the inserted page number in the mapping relation and adds one to the page number corresponding to each picture after the inserted page number in the mapping relation respectively.
It can be known from the above description that the client of the present invention can also synchronize the modification of inserting a picture in a file by the PC, and correspondingly modify the number of the subsequent page in the mapping relationship, so as to ensure the consistency of the contents displayed by the client and the PC.
Further, the client establishes a mapping relationship between the picture and the storage address and the corresponding page number, and then further includes:
deleting a picture in the file by the PC terminal;
the PC terminal sends information including the page number corresponding to the deleted picture to the client terminal;
the client receives the information and judges whether the page number corresponding to the deleted picture is stored in the mapping relation; if yes, deleting the mapping relation of the deleted pictures in the mapping relation according to the corresponding page numbers of the deleted pictures;
judging whether the next page of the page corresponding to the deleted picture is stored in the mapping relation;
if so, modifying the picture corresponding to the next page and the page number corresponding to each picture after the next page in the mapping relation, and subtracting one from the page number corresponding to each picture after the next page.
The above description shows that the client of the present invention can also synchronize the modification of deleting pictures in the file by the PC, and correspondingly modify the number of the subsequent page in the mapping relationship, so as to ensure the consistency of the contents displayed by the client and the PC.
Further, the client requests the acquired thumbnail of the picture from the PC.
Therefore, the thumbnail of the picture to be displayed is sent to the client by the PC, so that the synchronization efficiency of the client and the PC is further improved.
Referring to fig. 6, another technical solution provided by the present invention is:
a system for synchronized display, comprising:
the first acquisition module is used for the client to acquire the total page number N of the file to be displayed from the PC end, wherein N is more than or equal to 2;
a first receiving module, configured to receive, by a client, a request for switching to an nth page, where N is less than or equal to N;
the second acquisition module is used for sending a request for acquiring m pages in total from the nth page of the file to the PC terminal by the client, wherein m is less than or equal to N;
the second receiving module is used for receiving the pictures corresponding to the m pages in sequence by the client and storing the pictures locally;
and the establishing module is used for the client to establish the mapping relation between the storage address and the corresponding page number of the picture.
Further, the method also comprises the following steps:
the modification module is used for modifying a picture in the file at the PC terminal;
the first sending module is used for sending information comprising the page number corresponding to the modified picture to the client by the PC terminal;
the first judging module is used for receiving the information by the client and judging whether the page number corresponding to the modified picture is stored in the mapping relation;
the second sending module is used for sending a request for acquiring the modified picture to the PC terminal by the client terminal;
the third receiving module is used for receiving the modified picture by the client and storing the modified picture locally;
and the replacing module is used for replacing the storage address of the original page number picture corresponding to the modified picture by using the storage address of the modified picture in the mapping relation by the client.
Further, the method also comprises the following steps:
the inserting module is used for inserting a picture into the file by the PC terminal;
the third sending module is used for sending information including the page number inserted by the inserted picture to the client by the PC terminal;
a fourth receiving module, configured to receive, by the client, the information and determine whether the inserted page number is stored in the mapping relationship;
the fourth sending module is used for sending a request for acquiring the inserted picture to the PC terminal by the client terminal;
the fifth receiving module is used for receiving the inserted picture by the client and storing the inserted picture locally;
and the inserting module is used for inserting the inserted picture in front of the picture corresponding to the inserted page number in the mapping relation by the client, and modifying the page number corresponding to the picture corresponding to the inserted page number in the mapping relation and the page number corresponding to each picture after the inserted page number in the mapping relation by one.
Example one
Referring to fig. 2, the present embodiment provides a method for synchronous display, which is applied to synchronous display of information between two different terminals and control of display of one terminal on the other terminal. The following is explained by using a process of synchronously displaying PPT files between a client (remote control end) and a PC end, and specific processes may include the following:
establishing a communication connection relation between the client and the PC terminal, wherein the connection relation can be established in a wired form or a wireless form;
the method comprises the steps that a client side obtains the total page number N of a PPT file to be displayed from a PC side, wherein N is more than or equal to 2;
a client sends a request for acquiring m pages in total from the x page of the PPT file to a PC (personal computer), wherein x is more than or equal to 1 and less than N; the PC terminal transmits the PPT file to the client terminal in an ordered single-page picture form, and one page of picture is correspondingly formed; preferably, m is 3-5 pages, and can be selected after comprehensive consideration is carried out according to factors such as PPT switching display speed, network bandwidth and the like; preferably, since the PPT is usually played by starting with the first page, x is preferably 1, such as a request from the client to the PC to obtain the total 3 pages from page 1 of the file;
the client receives m pictures corresponding to the m pages according to the page number sequence and stores the m pictures locally;
the client establishes the mapping relation of each picture about the storage address and the corresponding page number.
Through the steps, the contents of m pages of PPT pictures can be prestored in the client, and the client can be quickly called according to the switching control instruction; if the pre-stored m pages of pictures are previous, the effect that the client and the PC end keep synchronous display before the switching control instruction is not sent can be ensured.
When a client receives a switching control instruction triggered by a user, if the client receives a request for switching to a PPT nth page triggered by the user, wherein N is less than or equal to N;
the client sends a control switching instruction to the PC terminal according to the request; at the same time
Judging whether the picture corresponding to the nth page is stored locally according to the mapping relation, namely judging whether the nth page is stored in the mapping relation;
if the PPT file is not stored locally, the client sends a request for acquiring m pages in total from the nth page of the PPT file to the PC, wherein m is smaller than or equal to N;
the PC terminal sends m pictures corresponding to the nth page to the (n + m) th page of the PPT file to the client terminal according to the request;
the client receives the pictures corresponding to the m pages in sequence, namely, the m pictures corresponding to the nth page to the (n + m) th page are received in sequence and stored locally, so that each picture corresponds to a local storage address; at the same time
After the client successfully receives the nth page picture, the picture is directly displayed, and the synchronization of the display of the client and the display of the PC terminal is ensured; then the
The client sequentially establishes a mapping relation between a storage address and a corresponding page number for m pictures;
and if the image is judged to be stored locally, calling the nth page image for displaying directly according to the local storage address of the nth page image stored in the mapping relation.
Example two
This embodiment is a further extension of the above preferred embodiment, and the same points are not described again, and the differences are: the client side does not need to pre-store a certain number of pictures, but when the client side is based on a switching control instruction triggered by a user, the client side quickly obtains the pictures corresponding to the switching control instruction from the PC side and displays the pictures. Specifically, the method can be realized by the following steps:
after a client receives a request for switching to a PPT nth page triggered by a user, wherein N is less than or equal to N;
the client sends a control switching instruction to the PC terminal according to the request; at the same time
The client sends a request for acquiring m pages from the nth page of the PPT file to the PC, wherein m is less than or equal to N;
the PC terminal sends m pictures corresponding to the nth page to the (n + m) th page of the PPT file to the client terminal according to the request;
the client receives the pictures corresponding to the m pages in sequence and stores the pictures locally; at the same time
After the client successfully receives the nth page picture, the picture is directly displayed, and the synchronization of the display of the client and the display of the PC terminal is ensured; then the
The client establishes mapping relations of storage addresses and corresponding page numbers for m pictures in sequence.
Because the currently displayed page is the nth page, the possibility of directly calling the page number after the nth page is high, therefore, the pictures including the total m pages after the nth page are obtained once, and can be directly obtained from the local according to the mapping relation when called next time to the greatest extent, and the effect of synchronous display is further improved.
EXAMPLE III
Referring to fig. 3, this embodiment is a further extension of the above embodiment, and adds a step of modifying a picture in a PPT file by a client-side synchronization PC; specifically, the following may be included:
the PC terminal modifies the content of one page in the PPT file, namely, the picture corresponding to the page in the PPT file is changed;
the PC side sends information including page numbers corresponding to the modified pictures to the client side; preferably, the PC side sends a message of "newID: nmodID: 0' to the client, wherein the newID: n is the page number of the modified picture, oldID: 0 is the page number of the picture before the modification;
after receiving the information, the client judges whether the page number corresponding to the modified picture is stored in the mapping relation; if not, the client side does not receive the picture corresponding to the page number, so no action is executed;
if yes, sending a request for acquiring the modified picture to a PC (personal computer) end;
the client receives the modified picture, stores the modified picture locally and acquires a local storage address of the modified picture;
and the client uses the storage address of the modified picture to replace the storage address of the page number original picture corresponding to the modified picture in the mapping relation, namely, the storage address of the modified picture is found out in the mapping relation, and then the storage address is modified into the local storage address corresponding to the modified picture.
Example four
Referring to fig. 4, this embodiment is a further extension of the above embodiment, and adds a step of inserting a picture into the PPT file by the client synchronizing PC end; specifically, the following may be included:
inserting a page, namely inserting a picture into the PPT file by the PC terminal;
the PC terminal sends information including the inserted page number of the inserted picture to the client terminal; if a page is inserted before the nth page, the PC side sends a new ID, n oldID: 0' to the client, wherein the newID: n is the page number of the inserted picture, oldID: 0 is the page number inserted by the inserted picture;
the client receives the information and judges whether the inserted page number is stored in the mapping relation; if not, the client does not receive the picture corresponding to the page, and the client does not influence when requesting the picture of the page and the pictures thereafter, so that no action is executed;
if yes, sending a request for acquiring the inserted picture to a PC (personal computer) end;
the client receives the inserted picture, stores the inserted picture locally and acquires a local storage address of the inserted picture;
and the client inserts the inserted picture in front of the picture corresponding to the inserted page number in the mapping relation, and modifies the page number corresponding to the picture corresponding to the inserted page number in the mapping relation and adds one to the page number corresponding to each picture after the inserted page number in the mapping relation respectively. Inserting an obtained insertion picture in front of an nth page, wherein the insertion picture obtains the page number of the nth page, and a mapping relation between the storage address of the insertion picture and the page number is established; and simultaneously modifying the nth page and adding one to the page number corresponding to each page of the picture after the nth page.
EXAMPLE five
Referring to fig. 5, this embodiment is a further extension of the above embodiment, and adds a step of deleting a picture from the PPT file by the client synchronizing the PC end; specifically, the following may be included:
deleting one page in the PPT file by the PC terminal, namely deleting the picture corresponding to the page;
the PC terminal sends information including the page number corresponding to the deleted picture to the client terminal; if the PC end sends' newID: noldID: n +1 to the client, which indicates that the original n +1 th page is changed into the nth page;
the client receives the information and judges whether the page number corresponding to the deleted picture is stored in the mapping relation; if not, the client side does not receive the picture corresponding to the page number, and the content displayed by the client side cannot enter or exit from the PC side, so that no action is executed; if yes, deleting the mapping relation of the deleted pictures in the mapping relation according to the corresponding page numbers of the deleted pictures; then the
Judging whether the next page of the page corresponding to the deleted picture is stored in the mapping relation;
if so, modifying the picture corresponding to the next page and the page number corresponding to each picture after the next page in the mapping relation, and subtracting one from the page number corresponding to each picture after the next page.
In a preferred embodiment, in the first to fifth embodiments, the client requests the PC to acquire the thumbnail of the picture, so as to reduce the data transmission amount and improve the transmission efficiency.
EXAMPLE six
Referring to fig. 7, a system for providing synchronous display based on the synchronous display method of the first to fifth embodiments includes:
the first acquisition module 1 is used for the client to acquire the total page number N of the file to be displayed from the PC end, wherein N is more than or equal to 2;
a first receiving module 2, configured to receive, by a client, a request for switching to an nth page, where N is less than or equal to N;
the second obtaining module 3 is used for sending a request for obtaining m pages in total from the nth page of the file to the PC terminal by the client, wherein m is less than or equal to N;
the second receiving module 4 is used for the client to sequentially receive the pictures corresponding to the m pages and store the pictures locally;
and the establishing module 5 is used for the client to establish the mapping relation between the storage address and the corresponding page number of the picture.
Preferably, the method further comprises the following steps:
a third obtaining module 6, configured to send, by the client, a request for obtaining m pages in total from an x-th page of the file to the PC, where x is greater than or equal to 1 and less than N;
the judging module 7 is configured to judge whether the picture corresponding to the nth page is stored locally according to the mapping relationship, so as to obtain a first judgment result;
and the execution module 8 is configured to execute the client to send a request for obtaining m pages in total from the nth page to the PC if the first determination result of the determination module is that the m pages are not stored locally.
Referring to fig. 8, preferably, the system further includes the following modules to implement the synchronization modification function,
the modification module 9 is used for modifying a picture in the file at the PC end;
a first sending module 10, configured to send, by the PC, information including a page number corresponding to the modified picture to the client;
a first judging module 11, configured to receive the information by the client, and judge whether a page number corresponding to the modified picture is stored in the mapping relationship;
a second sending module 12, configured to send, by the client, a request for obtaining the modified picture to the PC;
a third receiving module 13, configured to receive, by the client, the modified picture, and store the modified picture locally;
and a replacing module 14, configured to replace, by the client, the storage address of the original page number picture corresponding to the modified picture with the storage address of the modified picture in the mapping relationship.
Preferably, the system further comprises the following modules to implement the function of synchronously inserting a picture:
a first inserting module 15, configured to insert a picture in a file by a PC;
a third sending module 16, configured to send, by the PC, information including a page number inserted in the inserted picture to the client;
a fourth receiving module 17, configured to receive the information by the client, and determine whether the inserted page number is stored in the mapping relationship;
a fourth sending module 18, configured to send, by the client, a request for obtaining the inserted picture to the PC;
a fifth receiving module 19, configured to receive the inserted picture by the client, and store the received inserted picture locally;
a second inserting module 20, configured to insert the inserted picture in front of the picture corresponding to the inserted page number in the mapping relationship by the client, and modify the page number corresponding to the picture corresponding to the inserted page number in the mapping relationship and add one to the page number corresponding to each picture after the inserted page number in the mapping relationship, respectively.
Preferably, the system may further include the following modules for implementing the function of deleting a picture synchronously:
the deleting module 21 is used for deleting a picture in the file by the PC terminal;
a fifth sending module 22, configured to send, by the PC, information including a page number corresponding to the deleted picture to the client;
a sixth receiving module 23, configured to receive the information by the client, and determine whether a page corresponding to the deleted picture is stored in the mapping relationship; if yes, deleting the mapping relation of the deleted pictures in the mapping relation according to the corresponding page numbers of the deleted pictures;
a second judging module 24, configured to judge whether a next page of the page corresponding to the deleted picture is stored in the mapping relationship, so as to obtain a second judgment result;
and a page number modification module 25, configured to modify, if the second result is yes, the picture corresponding to the next page number and the page number corresponding to each picture after the next page number in the mapping relationship are respectively reduced by one.
In summary, the method and the system for synchronous display provided by the present invention can achieve sharp reduction of data transmission amount between the client and the PC, improve data wiping transmission speed, accelerate response speed of the PC to a control instruction sent by the client, and further ensure synchronous display effect of pictures; meanwhile, the client can also synchronize the modification, deletion and insertion behaviors of the PC terminal on the file, so that the consistency of the display content between the client and the PC terminal is ensured, the synchronous display effect is further ensured, and the improvement of user experience is realized.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (8)

1. The method for synchronous display is characterized in that the process of controlling the file played by the PC terminal through the client terminal comprises the following steps:
the method comprises the steps that a client side obtains the total page number N of a file to be displayed from a PC side, wherein N is more than or equal to 2;
the method comprises the steps that a client receives a request for switching to an nth page, wherein N is less than or equal to N;
the client sends a request for acquiring m pages in total from the nth page of the file to the PC, wherein m is less than or equal to N;
the client receives the pictures corresponding to the m pages in sequence and stores the pictures locally;
the client establishes a mapping relation between the storage address of the picture and the corresponding page number;
the client establishes a mapping relation between the storage address and the corresponding page number of the picture, and then further comprises:
the PC terminal modifies a picture in the file;
the PC terminal sends information including the page number corresponding to the modified picture to the client terminal;
the client receives the information and judges whether the page number corresponding to the modified picture is stored in the mapping relation;
if yes, sending a request for acquiring the modified picture to a PC (personal computer) end;
the client receives the modified picture and stores the modified picture locally;
and the client replaces the storage address of the original page number picture corresponding to the modified picture by using the storage address of the modified picture in the mapping relation.
2. The method for synchronously displaying as claimed in claim 1, wherein the client obtains the total number of pages N of the file to be displayed from the PC, and thereafter further comprises:
the client sends a request for acquiring m pages in total from the x page of the file to the PC, wherein x is more than or equal to 1 and less than N;
the client receives the pictures corresponding to the m pages in sequence and stores the pictures locally;
and the client establishes a mapping relation between the storage address and the corresponding page number of the picture.
3. The method for synchronous display according to claim 2, wherein the client sends a request for obtaining m pages from the nth page of the file to the PC, and further comprising:
judging whether the picture corresponding to the nth page is stored locally according to the mapping relation;
and if the page is not stored locally, executing the request of sending the m pages in total from the nth page to the PC side by the client.
4. The method for synchronous display according to claim 1, wherein the client establishes a mapping relationship of the picture with respect to a storage address and a corresponding page number, and then further comprises:
inserting a picture in the file by the PC terminal;
the PC terminal sends information including the inserted page number of the inserted picture to the client terminal;
the client receives the information and judges whether the inserted page number is stored in the mapping relation;
if yes, sending a request for acquiring the inserted picture to a PC (personal computer) end;
the client receives the inserted picture and stores the inserted picture locally;
and the client inserts the inserted picture in front of the picture corresponding to the inserted page number in the mapping relation, and modifies the page number corresponding to the picture corresponding to the inserted page number in the mapping relation and adds one to the page number corresponding to each picture after the inserted page number in the mapping relation respectively.
5. The method for synchronous display according to claim 1, wherein the client establishes a mapping relationship of the picture with respect to a storage address and a corresponding page number, and then further comprises:
deleting a picture in the file by the PC terminal;
the PC terminal sends information including the page number corresponding to the deleted picture to the client terminal;
the client receives the information and judges whether the page number corresponding to the deleted picture is stored in the mapping relation; if yes, deleting the mapping relation of the deleted pictures in the mapping relation according to the corresponding page numbers of the deleted pictures;
judging whether the next page of the page corresponding to the deleted picture is stored in the mapping relation;
if so, modifying the picture corresponding to the next page and the page number corresponding to each picture after the next page in the mapping relation, and subtracting one from the page number corresponding to each picture after the next page.
6. The method for synchronous display according to any one of claims 1 to 5, wherein the client requests the acquired thumbnail of the picture from the PC.
7. The system of synchronous display is characterized in that the system is applied to the process of controlling the file played by the PC terminal through the client terminal, and comprises the following steps:
the first acquisition module is used for the client to acquire the total page number N of the file to be displayed from the PC end, wherein N is more than or equal to 2;
a first receiving module, configured to receive, by a client, a request for switching to an nth page, where N is less than or equal to N;
the second acquisition module is used for sending a request for acquiring m pages in total from the nth page of the file to the PC terminal by the client, wherein m is less than or equal to N;
the second receiving module is used for receiving the pictures corresponding to the m pages in sequence by the client and storing the pictures locally;
the establishing module is used for the client to establish the mapping relation between the storage address and the corresponding page number of the picture;
further comprising:
the modification module is used for modifying a picture in the file at the PC terminal;
the first sending module is used for sending information comprising the page number corresponding to the modified picture to the client by the PC terminal;
the first judging module is used for receiving the information by the client and judging whether the page number corresponding to the modified picture is stored in the mapping relation;
the second sending module is used for sending a request for acquiring the modified picture to the PC terminal by the client terminal;
the third receiving module is used for receiving the modified picture by the client and storing the modified picture locally;
and the replacing module is used for replacing the storage address of the original page number picture corresponding to the modified picture by using the storage address of the modified picture in the mapping relation by the client.
8. The system for synchronizing displays according to claim 7, further comprising:
the first inserting module is used for inserting a picture into the file by the PC terminal;
the third sending module is used for sending information including the page number inserted by the inserted picture to the client by the PC terminal;
a fourth receiving module, configured to receive, by the client, the information and determine whether the inserted page number is stored in the mapping relationship;
the fourth sending module is used for sending a request for acquiring the inserted picture to the PC terminal by the client terminal;
the fifth receiving module is used for receiving the inserted picture by the client and storing the inserted picture locally;
and the second inserting module is used for inserting the inserted picture in front of the picture corresponding to the inserted page number in the mapping relation by the client, and modifying the page number corresponding to the picture corresponding to the inserted page number in the mapping relation and the page number corresponding to each picture after the inserted page number in the mapping relation by one.
CN201610565559.8A 2016-07-18 2016-07-18 Synchronous display method and system Active CN106210594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610565559.8A CN106210594B (en) 2016-07-18 2016-07-18 Synchronous display method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610565559.8A CN106210594B (en) 2016-07-18 2016-07-18 Synchronous display method and system

Publications (2)

Publication Number Publication Date
CN106210594A CN106210594A (en) 2016-12-07
CN106210594B true CN106210594B (en) 2020-03-17

Family

ID=57492985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610565559.8A Active CN106210594B (en) 2016-07-18 2016-07-18 Synchronous display method and system

Country Status (1)

Country Link
CN (1) CN106210594B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589408B (en) * 2022-11-24 2023-03-17 南京伯索网络科技有限公司 System and synchronization method for multi-terminal online PPT playing, electronic device and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4904697B2 (en) * 2005-02-18 2012-03-28 富士ゼロックス株式会社 Information management system
JP2010151868A (en) * 2008-12-24 2010-07-08 Brother Ind Ltd Display control apparatus, display control method, and display control program
CN102779127A (en) * 2011-05-11 2012-11-14 宏碁股份有限公司 Terminal device and file synchronization method
CN102722336A (en) * 2012-06-12 2012-10-10 桂林电子科技大学 Office wireless speaking system and synchronous tracking method for synchronous tracking of editing and demonstration operation
CN102915114A (en) * 2012-09-05 2013-02-06 广东威创视讯科技股份有限公司 Remote control method of PPT (Power Point)
CN104064201B (en) * 2014-06-13 2017-04-12 广州视睿电子科技有限公司 Data synchronization method and system
CN105320119A (en) * 2014-06-24 2016-02-10 鸿合科技有限公司 Remote controlling method and system for large-size screen and personal computer based on mobile intelligent terminal
CN104182224A (en) * 2014-08-19 2014-12-03 南京富士通南大软件技术有限公司 Wireless PPT (power point) control system and control method implemented by same
CN104317423B (en) * 2014-10-22 2017-08-11 北京恒泰实达科技股份有限公司 A kind of combination PPT presentation control method and system
CN105389391B (en) * 2015-12-18 2019-07-26 天脉聚源(北京)教育科技有限公司 A kind of image processing method and device

Also Published As

Publication number Publication date
CN106210594A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN102761564B (en) Graphic sharing method, system and terminal
CN108173742B (en) Image data processing method and device
US20150091917A1 (en) Information processing methods and electronic devices
CN109085950B (en) Multi-screen interaction method and device based on electronic whiteboard and electronic whiteboard
EP2905945A1 (en) Inter-terminal image sharing method, terminal device and communication system
CN110620953A (en) Multi-screen interaction method, device and system
US11483681B2 (en) Special effect synchronization method, device, and storage medium
CN112055252A (en) Multi-screen interaction method and device, computer readable medium and electronic equipment
CN111381749A (en) Image display and processing method, device, equipment and storage medium
CN103796073A (en) Method, control terminal, display terminal and system for image browsing
US20160274855A1 (en) System, display position determination method, and computer-readable recording medium
CN113839998B (en) Image data transmission method, apparatus, device, storage medium, and program product
CN103873490A (en) Slideshow playing control method and client
CN106210594B (en) Synchronous display method and system
CN101141470A (en) Resource sharing method and system
CN110691331A (en) Conference demonstration method and device based on Bluetooth mesh technology and terminal equipment
CN108958868A (en) The method, apparatus and computer readable storage medium of display interface
CN101582890B (en) Method and system for realizing connection between X11 client and X11 server
US20230195403A1 (en) Information processing method and electronic device
CN107612881B (en) Method, device, terminal and storage medium for transmitting picture during file transmission
CN114840159A (en) Rendering and screen-loading method, device, equipment and medium
CN110324377B (en) Push interaction method and device, electronic equipment and medium
CN110035248B (en) Conference call-ordering method and device
CN113867667A (en) Method and system for multi-device cooperative remote synchronous erasing
CN112818635A (en) Multi-person synchronous document sharing and browsing method and processing terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant