CN102307212A - Method for realizing page-turning synchronization - Google Patents

Method for realizing page-turning synchronization Download PDF

Info

Publication number
CN102307212A
CN102307212A CN2011100590768A CN201110059076A CN102307212A CN 102307212 A CN102307212 A CN 102307212A CN 2011100590768 A CN2011100590768 A CN 2011100590768A CN 201110059076 A CN201110059076 A CN 201110059076A CN 102307212 A CN102307212 A CN 102307212A
Authority
CN
China
Prior art keywords
page
page turning
flash
webpage
data
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
Application number
CN2011100590768A
Other languages
Chinese (zh)
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network Technology Co 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2011100590768A priority Critical patent/CN102307212A/en
Publication of CN102307212A publication Critical patent/CN102307212A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention belongs to the technical field of networks, and particularly relates to a method for realizing page-turning synchronization. The method comprises the following steps that: a user opens a webpage and loads flash, and the flash establishes permanent connection with a Socket server and starts monitoring; when operating the webpage for a content page-turning operation, the user calls a Flash interface and loads page-turning data information, and the Flash calls an application programming interface (API) to transmit data to the Socket server; and a target user opens the webpage, loads the Flash, establishes the permanent connection with the Socket server, starts the monitoring, and calls a webpage page-turning processing function to perform page-turning processing on contents requiring page-turning and updates the page-turning state of the contents when the Flash receives the page-turning data from the Socket server. By the method, the completely-webpage-based page-turning synchronization can be realized, and the method is convenient, fast and high-efficiency.

Description

A kind of method that realizes that page turning is synchronous
Technical field
The invention belongs to networking technology area, relate in particular to a kind of method that realizes that page turning is synchronous.
Background technology
The development of Internet technology can be stayed indoors us and has just been realized instant messaging, with good friend chat, with affiliate's negotiation etc.At present, the immediate communication tool that downloads and installs based on needs is like MSN; QQ; POPO has been subjected to everybody liking deeply, and it provides new approach for people's communication, information interchange, is another the important information interchange mode except mobile phone, fixed line, Email.By these instruments, the user can realize single or many people video, can hold the network teleconference, can carry out network remote education, can also allow the interchange cost between people and the people reduce greatly, and improve efficient.
The text communication, voice communication, video communication is instant messaging most important three big functions, along with the abundance day by day of The development in society and economy and bandwidth resources, the application of voice communication is more and more universal.Along with the informationization in fields such as commerce, education speeds up, simple text exchanges and can not satisfy people as exchanging the demand that transactional such as the conferring of the writing of paper, enterprise plan book, difficult problem analysis exchange with illustrative.In presentation process; Area of display will update content after carrying out page turn over operation, and still, other are demonstrated the content before the end content displayed remains page turning; If page turn over operation be not synchronized to other demonstrated the end cause the two ends information inconsistency, thereby cause unnecessary discussion and misunderstanding.Especially in the occasion of some high seriousness,, must cause unnecessary discussion, have a strong impact on the quality and the effect of the demonstration or the process of discussion if page turning can not be synchronous.
Basically can not realize that page turning is synchronous in the application of the Internet at present, even can realize, also need download and install control, and software and hardware, expense etc. is all had certain requirement, can not fine universal masses.
Summary of the invention
The invention provides a kind of method that realizes that page turning is synchronous, realized need not downloading any control, it is synchronous just to accomplish page turning.
In order to achieve the above object, technical scheme of the present invention is:
A kind of method that realizes that page turning is synchronous may further comprise the steps:
1) source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and Flash sets up with the Socket server and forever is connected, and begins to monitor the transmission of Socket server data;
2) content in the source user operation web page when carrying out page turn over operation, is called the Flash interface and is imported the page turning data message into, and Flash calls API data are sent to the Socket server then, and the Socket server is given other targeted customer with the data forwarding that receives;
3) targeted customer opens webpage and loads the Flash plug-in unit; Automatically set up to be connected and to begin to monitor the Socket server data and transmit with Socket server permanent; When the page turning data of Socket server forwards source user; Targeted customer's Flash plug-in unit can receive these data; Flash invoking web page page processing function; The webpage function is handled according to the page turning content that the analysis result of page turning data message is handled needs; And the page turning state of the renewal content of handling, promptly realize the synchronous of page turning.
In the technique scheme, step 1) comprises following process:
Source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up through the XMLSocket class and is connected with the permanent of Socket server, and begins to monitor the transmission of Socket data in server.
In the technique scheme, step 2) comprise following process:
2a) the content in the source user operation web page; When carrying out page turn over operation; Webpage is through JavaScript object record page turning data message, and these information comprise total page number, current page, every page of show bar number, and webpage calls the Flash interface and imports the page turning data message that is write down into;
After 2b) Flash received the page turning data message, the method for call XML Socket class sent to the Socket server with the page turning data message;
After 2c) the Socket server received the page turning data that source user sends over, data forwarding is connected to all needed synchronous targeted customer at once on the Socket server.
In the technique scheme, step 3) comprises following process:
3a) targeted customer opens webpage, loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up through the XMLSocket class and forever is connected with the Socket server, and begins to monitor the transmission of Socket data in server;
3b) when the page turning data of Socket server forwards source user; Targeted customer's Flash plug-in unit can receive these data through the monitor method of XMLSocket, and Flash uses the page processing function of ExternalInterface.call method call webpage JavaScript;
3c) webpage JavaScript function is according to the page turning data that pass over; Parse total page number, current page, every page of show bar number; According to these information the content of needs page turning is carried out page processing; And the page turning state of renewal institute page turning content; Targeted customer's page turning content and page turn information and source user are consistent at this moment, promptly realize the synchronous of page turning.
Technical scheme steps 1) XMLSocket in the process can perhaps other can be used for the class of communication for XMLSocket, socket.
The present invention compared with prior art has the following advantages:
1), need not to download fully based on webpage.
2) employing has high instantaneity, high fluency based on the instant messaging technology of Socket.
3) realize that principle is simple, process is clear, can embed easily in the internet, applications such as each big video conference, long-distance education.
A kind of synchronous method of page turning that realizes is intended to solve the variety of issue that exists in the page turning synchronously in the webpage; Complete page turning synchronization solutions based on webpage is provided; Need not download any control; Simply, efficiently, synchronously instant; Can embed easily in the web application such as video conference, long-distance education, be a kind of really can popular universal emerging technology.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the realization flow figure of technical scheme of the present invention.
Embodiment
Hereinafter will with reference to the accompanying drawings and combine embodiment to describe the present invention in detail.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
The technical scheme of present embodiment is following:
A kind of method that realizes that page turning is synchronous may further comprise the steps:
1) source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and Flash sets up with the Socket server and forever is connected, and begins to monitor the transmission of Socket server data;
2) content in the source user operation web page when carrying out page turn over operation, is called the Flash interface and is imported the page turning data message into, and Flash calls API data are sent to the Socket server then, and the Socket server is given other targeted customer with the data forwarding that receives;
3) targeted customer opens webpage and loads the Flash plug-in unit; Automatically set up to be connected and to begin to monitor the Socket server data and transmit with Socket server permanent; When the page turning data of Socket server forwards source user; Targeted customer's Flash plug-in unit can receive these data; Flash invoking web page page processing function; The webpage function is handled according to the page turning content that the analysis result of page turning data message is handled needs; And the page turning state of the renewal content of handling, promptly realize the synchronous of page turning.
Following further explain method of the present invention:
Referring to Figure of description, source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up through the XMLSocket class and is connected with the permanent of Socket server, and begins to monitor the transmission of Socket data in server; Content in the source user operation web page; When carrying out page turn over operation; Webpage is through JavaScript object record page turning data message, and these information comprise total page number, current page, every page of show bar number, and webpage calls the Flash interface and imports the page turning data message that is write down into; After Flash received the page turning data message, the method for call XML Socket class sent to the Socket server with the page turning data message; After the Socket server received the page turning data that source user sends over, data forwarding is connected to all needed synchronous targeted customer at once on the Socket server; The targeted customer opens webpage, loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up through the XMLSocket class and forever is connected with the Socket server, and begins to monitor the transmission of Socket data in server; When the page turning data of Socket server forwards source user; Targeted customer's Flash plug-in unit can receive these data through the monitor method of XMLSocket, and Flash uses the page processing function of ExternalInterface.call method call webpage JavaScript; Webpage JavaScript function is according to the page turning data that pass over; Parse page turn information such as total page number, current page; According to these information the content of needs page turning is carried out page processing; And the page turning state of renewal institute page turning content; Targeted customer's page turning content and page turn information and source user are consistent at this moment, promptly realize the synchronous of page turning.
Fig. 1 is the realization flow figure of technical scheme of the present invention, and detailed step is following:
Step 101: beginning;
Step 102: the user opens webpage and loads Flash, and foundation forever is connected with the Socket server and begins monitors;
Step 103: when user's operation web page carries out the content page turn over operation, call the Flash interface and send the page turning data message to the Socket server;
Step 104: the targeted customer opens webpage and loads Flash, sets up to be connected with Socket server permanent and to begin monitoring;
When step 105:Flash received the page turning data message that the Socket server sends over, invoking web page page processing function carried out page processing to the content that needs page turning, and the page turning state of update processing content;
Step 106: finish.
Certainly; The present invention also can have other multiple combinations; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. a method that realizes that page turning is synchronous is characterized in that, may further comprise the steps:
1) source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and Flash sets up with the Socket server and forever is connected, and begins to monitor the transmission of Socket server data;
2) content in the source user operation web page when carrying out page turn over operation, is called the Flash interface and is imported the page turning data message into, and Flash calls API data are sent to the Socket server then, and the Socket server is given other targeted customer with the data forwarding that receives;
3) targeted customer opens webpage and loads the Flash plug-in unit; Automatically set up to be connected and to begin to monitor the Socket server data and transmit with Socket server permanent; When the page turning data of Socket server forwards source user; Targeted customer's Flash plug-in unit can receive these data; Flash invoking web page page processing function; The webpage function is handled according to the page turning content that the analysis result of page turning data message is handled needs; And the page turning state of the renewal content of handling, promptly realize the synchronous of page turning.
2. the method for claim 1 is characterized in that, wherein step 1) comprises following process:
Source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up through the XMLSocket class and is connected with the permanent of Socket server, and begins to monitor the transmission of Socket data in server.
3. the method for claim 1 is characterized in that, wherein step 2) comprise following process:
2a) the content in the source user operation web page; When carrying out page turn over operation; Webpage is through JavaScript object record page turning data message, and these information comprise total page number, current page, every page of show bar number, and webpage calls the Flash interface and imports the page turning data message that is write down into;
After 2b) Flash received the page turning data message, the method for call XML Socket class sent to the Socket server with the page turning data message;
After 2c) the Socket server received the page turning data that source user sends over, data forwarding is connected to all needed synchronous targeted customer on the Socket server.
4. the method for claim 1 is characterized in that, wherein step 3) comprises following process:
3a) targeted customer opens webpage, loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up through the XMLSocket class and forever is connected with the Socket server, and begins to monitor the transmission of Socket data in server;
3b) when the page turning data of Socket server forwards source user; Targeted customer's Flash plug-in unit can receive these data through the monitor method of XMLSocket, and Flash uses the page processing function of ExternalInterface.call method call webpage JavaScript;
3c) webpage JavaScript function is according to the page turning data that pass over; Parse total page number, current page, every page of show bar number; According to these information the content of needs page turning is carried out page processing; And the page turning state of renewal institute page turning content; Targeted customer's page turning content and page turn information and source user are consistent, and realize the synchronous of page turning.
5. method as claimed in claim 2 is characterized in that: the XMLSocket class includes but not limited to: the socket class.
6. method that realizes that page turning is synchronous is characterized in that: source user is asked server and is set up permanent the connection through webpage is anti-; Said source user through said server, sends to the targeted customer with the page turning data message; Said targeted customer's invoking web page function is resolved said information and according to the result who resolves, the page turning content that needs are handled is handled, and realizes that page turning is synchronous.
7. method according to claim 6 is characterized in that: said source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and Flash sets up with the Socket server and forever is connected, and begins to monitor said Socket server data transmission.
8. method according to claim 6; Tool is characterised in that: the content in the said source user operation web page; When carrying out page turn over operation; Call the Flash interface and import the page turning data message into; Flash calls API data is sent to said Socket server then, and said Socket server is given said targeted customer with the data forwarding that receives.
9. method according to claim 6; It is characterized in that: said targeted customer opens webpage and loads the Flash plug-in unit; Automatically set up to be connected and to begin to monitor said Socket server data and transmit with Socket server permanent; When the page turning data of said Socket server forwards source user; Targeted customer's Flash plug-in unit can receive these data; Flash invoking web page page processing function; The webpage function is handled according to the page turning content that the analysis result of page turning data message is handled needs; And the page turning state of the renewal content of handling, realize that page turning is synchronous.
10. method according to claim 8; It is characterized in that: the content in the said source user operation web page; When carrying out page turn over operation; Webpage is through JavaScript object record page turning data message; These information comprise total page number, current page, every page of show bar number, and webpage calls the Flash interface and imports the page turning data message that is write down into; After Flash received the page turning data message, the method for call XML Socket class sent to said Socket server with the page turning data message; After said Socket server received the page turning data that source user sends over, data forwarding is connected to all needed synchronous targeted customer on the said Socket server.
CN2011100590768A 2010-10-11 2011-03-14 Method for realizing page-turning synchronization Pending CN102307212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100590768A CN102307212A (en) 2010-10-11 2011-03-14 Method for realizing page-turning synchronization

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010502488.X 2010-10-11
CN201010502488XA CN101977209A (en) 2010-10-11 2010-10-11 Method for realizing page-turning synchronization on web page
CN2011100590768A CN102307212A (en) 2010-10-11 2011-03-14 Method for realizing page-turning synchronization

Publications (1)

Publication Number Publication Date
CN102307212A true CN102307212A (en) 2012-01-04

Family

ID=43577053

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201010502488XA Pending CN101977209A (en) 2010-10-11 2010-10-11 Method for realizing page-turning synchronization on web page
CN2011100590768A Pending CN102307212A (en) 2010-10-11 2011-03-14 Method for realizing page-turning synchronization

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201010502488XA Pending CN101977209A (en) 2010-10-11 2010-10-11 Method for realizing page-turning synchronization on web page

Country Status (1)

Country Link
CN (2) CN101977209A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768666A (en) * 2019-04-01 2020-10-13 小船出海教育科技(北京)有限公司 Method and terminal for interacting online classroom

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137118A (en) * 2011-04-26 2011-07-27 苏州阔地网络科技有限公司 Method and system for web security synchronous browse based on webpage
CN102137166A (en) * 2011-04-26 2011-07-27 苏州阔地网络科技有限公司 Webpage-based webpage synchronously browsing method and system
CN102137119A (en) * 2011-04-26 2011-07-27 苏州阔地网络科技有限公司 Method and system for synchronously browsing webpage based on webpage
CN102130925A (en) * 2011-04-28 2011-07-20 苏州阔地网络科技有限公司 Method and system for synchronizing page turning after implementation of authentication on webpage
CN102130924A (en) * 2011-04-28 2011-07-20 苏州阔地网络科技有限公司 Method and system for realizing post-authentication page-turning synchronization on webpage
CN102143236A (en) * 2011-04-28 2011-08-03 苏州阔地网络科技有限公司 Method and system for realizing page-turning synchronization after authentication on webpage
CN102999491B (en) * 2011-09-08 2018-02-23 百度在线网络技术(北京)有限公司 A kind of method and apparatus for being used to realize that browser operation is synchronous between user equipment
CN103207895B (en) * 2013-03-14 2016-12-28 北京京东世纪贸易有限公司 For realizing the method and system of the unrelated synchronizing function of the page
CN108093058B (en) * 2017-12-26 2022-01-07 泰康保险集团股份有限公司 Demonstration state synchronization method, device and system
CN108172176B (en) * 2018-01-22 2019-12-13 青岛海信移动通信技术股份有限公司 Page refreshing method and device for ink screen
CN109446457A (en) * 2018-09-25 2019-03-08 平安普惠企业管理有限公司 Update method, terminal device and the medium of page data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106670A1 (en) * 2007-10-20 2009-04-23 Philipp Christian Berndt Systems and methods for providing services in a virtual environment
CN101551821A (en) * 2009-05-19 2009-10-07 周佺喜 Method of real-time information broadcasting in web

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106670A1 (en) * 2007-10-20 2009-04-23 Philipp Christian Berndt Systems and methods for providing services in a virtual environment
CN101551821A (en) * 2009-05-19 2009-10-07 周佺喜 Method of real-time information broadcasting in web

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘华平: "利用共享对象实现基于Web的远程教学实时课件", 《农业网络信息》, no. 7, 31 July 2007 (2007-07-31) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768666A (en) * 2019-04-01 2020-10-13 小船出海教育科技(北京)有限公司 Method and terminal for interacting online classroom
CN111768666B (en) * 2019-04-01 2022-04-08 小船出海教育科技(北京)有限公司 Method and terminal for interacting online classroom

Also Published As

Publication number Publication date
CN101977209A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN102307212A (en) Method for realizing page-turning synchronization
CN102307211A (en) Method for realizing full-screen synchronization of whiteboard
CN101102211B (en) A method for sharing the document in data conference and its system
CN102307214A (en) Method for realizing list synchronization
CN102238284B (en) Instant messaging method for mobile phone
CN101834936A (en) System and method for implementing instant communication by using mobile phone address book
CN101969461A (en) Method for implementing white board clear screen synchronization on webpage
CN102316049A (en) Method for automatically receiving group message
US7392290B1 (en) System for providing transparent participation of third parties in instant messaging communication
CN101867622A (en) Method for realizing p2p video communication on webpage
CN102752230A (en) Method and system for sharing subscriber relationship chain
CN101963980A (en) Method for realizing whiteboard synchronization after picture centering under different resolutions on webpage
CN101557354A (en) Method for sending picture by client service personnel on line
CN103533054B (en) Method for realizing coordinated processing among multiple terminals and multi-terminal coordinated processing device
CN104283762A (en) Method, system, client-side and server for transmitting instant messaging conversation content
CN106488269A (en) System and method to television equipment control is realized based on third-party application platform
CN102195980A (en) Webpage-based electronic whiteboard secure synchronization method and system
CN102314471A (en) Method for synchronizing scroll bars
CN102281265A (en) Method and system for realizing list authentication synchronization
CN102314235A (en) Method for realizing synchronization of electronic whiteboards
CN102185870B (en) Method and system for realizing mode switch between instant messaging and network conference
CN101581984A (en) Equipment and method with virtual mouse guide based on remote cross-network
JP2012530304A (en) Method and device for controlling presence information of a user terminal
CN104580768A (en) Fragmentation asynchronous conference system and conference concluding method thereof
CN102185852A (en) Electronic whiteboard synchronization method and system based on webpage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120104