CN101977209A - Method for realizing page-turning synchronization on web page - Google Patents
Method for realizing page-turning synchronization on web page Download PDFInfo
- Publication number
- CN101977209A CN101977209A CN201010502488XA CN201010502488A CN101977209A CN 101977209 A CN101977209 A CN 101977209A CN 201010502488X A CN201010502488X A CN 201010502488XA CN 201010502488 A CN201010502488 A CN 201010502488A CN 101977209 A CN101977209 A CN 101977209A
- Authority
- CN
- China
- Prior art keywords
- page
- page turning
- webpage
- data
- flash
- 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
Images
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 on a web page, which comprises the following steps that: a user opens the web page and loads a flash plug-in, and the flash plug-in establishes permanent connection with a Socket server and starts monitoring; when operating the web page to perform content page-turning operation, the user calls a Flash interface and transmits page-turning data information in, and then the flash plug-in calls an application program interface (API) to transmit the data to the Socket server; and a target user opens the web page and loads the flash plug-in, and the flash plug-in establishes the permanent connection with the Socket server, starts the monitoring, and when receiving the page-turning data from the Socket server, calls a web page turning processing function to perform page-turning operation processing on contents requiring page-turning and updates the page-turning state of the processed contents to realize the page-turning synchronization. In the method, the page-turning synchronization can be conveniently, fast and efficiently realized completely based on the web page.
Description
Technical field
The invention belongs to networking technology area, be specifically related to realize on a kind of webpage the synchronous method of page turning.
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 as 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 remained content before the page turning by the demo end content displayed, do not caused the two ends information inconsistency if page turn over operation is synchronized to other by demo end, 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.Substantially can not realize that page turning is synchronous in the application of the Internet at present,, also need to download and control is installed, and software and hardware, expense etc. is all had certain requirement even can realize, can not fine universal masses.
Realize on a kind of webpage that the synchronous method of page turning 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, do not need to 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.
Summary of the invention
The objective of the invention is: provide and realize the synchronous method of page turning on a kind of webpage.
In order to achieve the above object, technical scheme of the present invention is: realize on a kind of webpage may further comprise the steps the synchronous method of page turning:
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 by 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 by 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 by 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 by 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 be used for the class of communication for XMLSocket, socket or other.
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.
Description of drawings
Figure of description is a detail flowchart of the present invention.
Embodiment
Realize the synchronous method of page turning on a kind of webpage, 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.
Further describe method of the present invention below:
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 by 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 by 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 by 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 by 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.
Claims (5)
1. realize the synchronous method of page turning on a webpage, it 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. realize the synchronous method of page turning on a kind of webpage as claimed in claim 1, it 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 by the XMLSocket class and is connected with the permanent of Socket server, and begins to monitor the transmission of Socket data in server.
3. realize the synchronous method of page turning on a kind of webpage as claimed in claim 1, it 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 by 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.
4. realize the synchronous method of page turning on a kind of webpage as claimed in claim 1, it 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 by 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 by 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.
5. XMLSocket can be used for the class of communication for XMLSocket, socket or other described in claim 2.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
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 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010502488XA CN101977209A (en) | 2010-10-11 | 2010-10-11 | Method for realizing page-turning synchronization on web page |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101977209A true CN101977209A (en) | 2011-02-16 |
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 After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100590768A Pending CN102307212A (en) | 2010-10-11 | 2011-03-14 | Method for realizing page-turning synchronization |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN101977209A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
CN102137118A (en) * | 2011-04-26 | 2011-07-27 | 苏州阔地网络科技有限公司 | Method and system for web security synchronous browse based on webpage |
CN102143236A (en) * | 2011-04-28 | 2011-08-03 | 苏州阔地网络科技有限公司 | Method and system for realizing page-turning synchronization after authentication on webpage |
CN102999491A (en) * | 2011-09-08 | 2013-03-27 | 百度在线网络技术(北京)有限公司 | Method and device for achieving synchronization of browser operation between user equipment |
CN103207895A (en) * | 2013-03-14 | 2013-07-17 | 北京京东世纪贸易有限公司 | Method and system for achieving page irrelevant synchronizing function |
CN108093058A (en) * | 2017-12-26 | 2018-05-29 | 泰康保险集团股份有限公司 | Presentation state synchronous method, device and system |
CN109446457A (en) * | 2018-09-25 | 2019-03-08 | 平安普惠企业管理有限公司 | Update method, terminal device and the medium of page data |
CN110738971A (en) * | 2018-01-22 | 2020-01-31 | 青岛海信移动通信技术股份有限公司 | Page refreshing method and device for ink screen |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111768666B (en) * | 2019-04-01 | 2022-04-08 | 小船出海教育科技(北京)有限公司 | Method and terminal for interacting online classroom |
Family Cites Families (2)
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 |
-
2010
- 2010-10-11 CN CN201010502488XA patent/CN101977209A/en active Pending
-
2011
- 2011-03-14 CN CN2011100590768A patent/CN102307212A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN102137118A (en) * | 2011-04-26 | 2011-07-27 | 苏州阔地网络科技有限公司 | Method and system for web security synchronous browse 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 |
CN102999491A (en) * | 2011-09-08 | 2013-03-27 | 百度在线网络技术(北京)有限公司 | Method and device for achieving synchronization of browser operation between user equipment |
CN103207895A (en) * | 2013-03-14 | 2013-07-17 | 北京京东世纪贸易有限公司 | Method and system for achieving page irrelevant synchronizing function |
CN103207895B (en) * | 2013-03-14 | 2016-12-28 | 北京京东世纪贸易有限公司 | For realizing the method and system of the unrelated synchronizing function of the page |
CN108093058A (en) * | 2017-12-26 | 2018-05-29 | 泰康保险集团股份有限公司 | Presentation state synchronous method, device and system |
CN108093058B (en) * | 2017-12-26 | 2022-01-07 | 泰康保险集团股份有限公司 | Demonstration state synchronization method, device and system |
CN110738971A (en) * | 2018-01-22 | 2020-01-31 | 青岛海信移动通信技术股份有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN102307212A (en) | 2012-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977209A (en) | Method for realizing page-turning synchronization on web page | |
CN101969463A (en) | Method for realizing whiteboard full-screen synchronization on web page | |
CN101944130A (en) | Method for implementing list synchronization on webpage | |
CN102238284B (en) | Instant messaging method for mobile phone | |
CN101969461A (en) | Method for implementing white board clear screen synchronization on webpage | |
CN102739561A (en) | Method for transmitting session message in instant messaging and instant messaging client | |
CN102137126B (en) | System and method for updating web data | |
EP1571791A3 (en) | Mobile communication system and method for providing a real time messenger service among mobile communication terminals | |
CN101883059A (en) | Method for automatically receiving group messages on web page | |
CN103491156A (en) | Method and system for enabling circles and groups to be synchronous based on converged communication | |
CN101867622A (en) | Method for realizing p2p video communication on webpage | |
CN102752230A (en) | Method and system for sharing subscriber relationship chain | |
CN102185701A (en) | Method and system for realizing group information interaction | |
CN102255897A (en) | IM (Instant Message) system and instant communication method based on WAP (Wireless Application Protocol) technology | |
CN101557354A (en) | Method for sending picture by client service personnel on line | |
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 | |
CN102185870B (en) | Method and system for realizing mode switch between instant messaging and network conference | |
CN102314471A (en) | Method for synchronizing scroll bars | |
CN102281265A (en) | Method and system for realizing list authentication synchronization | |
CN101581984A (en) | Equipment and method with virtual mouse guide based on remote cross-network | |
CN102185852A (en) | Electronic whiteboard synchronization method and system based on webpage | |
CN103023746A (en) | IM (Instant Messaging) system and drawing board implementation method based on same | |
CN102314235A (en) | Method for realizing synchronization of electronic whiteboards |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20110216 |