CN102307214A - Method for realizing list synchronization - Google Patents
Method for realizing list synchronization Download PDFInfo
- Publication number
- CN102307214A CN102307214A CN2011100590791A CN201110059079A CN102307214A CN 102307214 A CN102307214 A CN 102307214A CN 2011100590791 A CN2011100590791 A CN 2011100590791A CN 201110059079 A CN201110059079 A CN 201110059079A CN 102307214 A CN102307214 A CN 102307214A
- Authority
- CN
- China
- Prior art keywords
- data
- flash
- webpage
- socket server
- tabulation
- 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 list 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 contents in a webpage list, the user records changes of the list, calls a Flash interface and loads recorded data, and the Flash calls an application programming interface (API) to transmit the 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 function and loads the data when the Flash receives the data from the Socket server, and the webpage resolves the data and modifies the list to realize the list synchronization. By the method, the completely-webpage-based instant list synchronization can be realized, and the method is convenient, fast and high-efficiency.
Description
Technical field
The invention belongs to networking technology area, relate in particular to a kind of synchronous method of tabulating that realizes.
Background technology
The development of Internet technology can be stayed indoors us and has just been realized instant messaging, with good friend's chat, with affiliate's negotiation or the like.At present, the immediate communication tool that downloads and installs based on needs is like MSN; QQ; POPO has received 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 let 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 realm informationizations such as commerce, education speed up; Simple text chat function can not satisfy the demand that people's commercial affairs exchange; As exchange paper the problem of writing, discussing the enterprise plan book, resolve various difficult problems etc.; These all need use the illustrative communication function, such as electronic whiteboard, document demonstration etc.Its demo content can be synchronized to other and demonstrated end; But demonstrator uploads, deletes, just relates to when revising document the variation of lists of documents according to the demonstration needs; If these variations can not be synchronized to other and demonstrated end and will cause information inconsistency, thereby cause unnecessary misunderstanding.Especially in the occasion of some high seriousness, all should be synchronized to other such as modification and demonstrated end, otherwise other tabulations of being demonstrated end show and inconsistently will cause error in data, have a strong impact on effect, quality and the result of the demonstration or the process of discussion tabulation.
Internet application system fails to realize tabulation synchronously at present, even if can realize, also need download and install control, and hardware, expense are all had certain requirement, can not popularize popular well.
Summary of the invention
The invention provides a kind of synchronous method of tabulating that realizes, realized need not downloading any control and just can realize that tabulation synchronously.
In order to achieve the above object, technical scheme of the present invention is:
A kind of synchronous method of tabulating that realizes 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) when the content in the tabulation of source user operation web page; Content changing to tabulation carries out record; And call the Flash interface and import data recorded into; Call the Flash interface and import data recorded into, Flash calls API data is 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 sets up to be connected and to begin to monitor the Socket server data with Socket server permanent to transmit, when the table data of Socket server forwards source user; Targeted customer's Flash plug-in unit can be received these data; Flash invoking web page function returns to webpage with these data, and the webpage function carries out dissection process to data; List content is made amendment, promptly realize the synchronous of tabulation.
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) when the content in the tabulation of source user operation web page, webpage calls the JavaScript function content that changes is carried out record, calls the Flash interactive interface through JavaScript simultaneously, imports data recorded into;
2b) the method for Flash call XML Socket class will be imported the tabulation operation note of coming in into and send to the Socket server;
After 2c) the Socket server received the 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 table data of Socket server forwards source user; Targeted customer's Flash plug-in unit can be received these data through the monitor method of XMLSocket; Flash uses ExternalInterface.call method call webpage JavaScript function, imports the data that receive into;
When 3c) the webpage function receives the data of importing into, through JavaScript data are carried out dissection process, and according to result list content is handled, targeted customer's the tabulation and the tabulation of source user at this moment is consistent, and promptly realizes the synchronous of tabulation.
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 tabulating that realizes provided by the invention; Be intended to solve the variety of issue that exists in the tabulation synchronously on the webpage; Provide complete and need not download any control based on the synchronous solution of web page listings, simple, efficient, synchronously instant; Can embed easily in the application systems 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 a detail flowchart of the present invention.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.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 synchronous method of tabulating that realizes 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) when the content in the tabulation of source user operation web page; Content changing to tabulation carries out record; And call the Flash interface and import data recorded into; Call the Flash interface and import data recorded into, Flash calls API data is 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 sets up to be connected and to begin to monitor the Socket server data with Socket server permanent to transmit, when the table data of Socket server forwards source user; Targeted customer's Flash plug-in unit can be received these data; Flash invoking web page function returns to webpage with these data, and the webpage function carries out dissection process to data; List content is made amendment, promptly realize the synchronous of tabulation.
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; When the content in the tabulation of source user operation web page, webpage calls the JavaScript function content that changes is carried out record, calls the Flash interactive interface through JavaScript simultaneously, imports data recorded into; The method of Flash call XML Socket class will be imported the tabulation operation note of coming in into and send to the Socket server; After the Socket server received the 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 table data of Socket server forwards source user; Targeted customer's Flash plug-in unit can be received these data through the monitor method of XMLSocket; Flash uses ExternalInterface.call method call webpage JavaScript function, imports the data that receive into; When the webpage function receives the data of importing into, through JavaScript data are carried out dissection process, and according to result list content is handled, targeted customer's the tabulation and the tabulation of source user at this moment is consistent, and promptly realizes the synchronous of tabulation.
Fig. 1 is a detail flowchart 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 the content in the tabulation of user's operation web page, record is carried out in the tabulation change;
Step 104: call the Flash interface and import record data into, Flash calls API and sends data to the Socket server;
Step 105: the targeted customer opens webpage and loads Flash, sets up to be connected with Socket server permanent and to begin monitoring;
When step 106:Flash received the data that the Socket server sends over, the invoking web page function also imported data into, and webpage is resolved the back to data tabulation is made amendment;
Step 107: 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. realize the synchronous method of tabulating for one kind, 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) when the content in the tabulation of source user operation web page; Content changing to tabulation carries out record; And call the Flash interface and import data recorded into, Flash calls API data is 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 sets up to be connected and to begin to monitor the Socket server data with Socket server permanent to transmit, when the table data of Socket server forwards source user; Targeted customer's Flash plug-in unit can be received these data; Flash invoking web page function returns to webpage with these data, and the webpage function carries out dissection process to data; List content is made amendment, promptly realize the synchronous of tabulation.
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) when the content in the tabulation of source user operation web page, webpage calls the JavaScript function content that changes is carried out record, calls the Flash interactive interface through JavaScript simultaneously, imports data recorded into;
2b) the method for Flash call XML Socket class will be imported the tabulation operation note of coming in into and send to the Socket server;
After 2c) the Socket server received the data that source user sends over, data forwarding is connected to all needed synchronous targeted customer at once 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 table data of Socket server forwards source user; Targeted customer's Flash plug-in unit can be received these data through the monitor method of XMLSocket; Flash uses ExternalInterface.call method call webpage JavaScript function, imports the data that receive into;
When 3c) the webpage function receives the data of importing into, through JavaScript data are carried out dissection process, and according to result list content is handled, targeted customer's the tabulation and the tabulation of source user at this moment is consistent, and promptly realizes the synchronous of tabulation.
5. plant the method that realizes that tabulation is synchronous, it is characterized in that: source user is also set up permanent the connection through the web page access server; Content alteration information during said source user will be tabulated sends to the targeted customer through said server; Said targeted customer's invoking web page function carries out dissection process to said information, realizes that tabulation synchronously.
6. method according to claim 5 is characterized in that: said source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and said Flash plug-in unit is set up with the Socket server and forever is connected, and begins to monitor said Socket server data transmission.
7. method according to claim 6; It is characterized in that: said source user is opened webpage; Webpage loads the Flash plug-in unit automatically; Said Flash plug-in unit is set up through the XMLSocket class and is connected with the permanent of said Socket server, and begins to monitor said Socket data in server transmission.
8. method according to claim 5; It is characterized in that: during content in the tabulation of said source user operation web page; Content changing to tabulation carries out record; And call the Flash interface and import data recorded 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 8; It is characterized in that: during content in the tabulation of said source user operation web page; Webpage calls the JavaScript function content that changes is carried out record, calls the Flash interactive interface through JavaScript simultaneously, imports data recorded into; The method of Flash call XML Socket class will be imported the tabulation operation note of coming in into and send to said Socket server; After said Socket server received the data that said source user sends over, said data forwarding is connected to all needed synchronous said targeted customer on the said Socket server.
10. method according to claim 5; 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 with said Socket server permanent and transmit, when the table data of said Socket server forwards source user, said targeted customer's said Flash plug-in unit receives said data; Said Flash plug-in unit invoking web page function; Said data are returned to webpage, and said webpage function carries out dissection process to said data, realizes that tabulation synchronously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100590791A CN102307214A (en) | 2010-09-28 | 2011-03-14 | Method for realizing list synchronization |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102947084A CN101944130A (en) | 2010-09-28 | 2010-09-28 | Method for implementing list synchronization on webpage |
CN201010294708.4 | 2010-09-28 | ||
CN2011100590791A CN102307214A (en) | 2010-09-28 | 2011-03-14 | Method for realizing list synchronization |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102307214A true CN102307214A (en) | 2012-01-04 |
Family
ID=43436120
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102947084A Pending CN101944130A (en) | 2010-09-28 | 2010-09-28 | Method for implementing list synchronization on webpage |
CN2011100590791A Pending CN102307214A (en) | 2010-09-28 | 2011-03-14 | Method for realizing list synchronization |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102947084A Pending CN101944130A (en) | 2010-09-28 | 2010-09-28 | Method for implementing list synchronization on webpage |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN101944130A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111374A (en) * | 2017-11-16 | 2018-06-01 | 百度在线网络技术(北京)有限公司 | Method, apparatus, equipment and the computer storage media of synchronizer list |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101944130A (en) * | 2010-09-28 | 2011-01-12 | 苏州阔地网络科技有限公司 | Method for implementing list synchronization on webpage |
CN102279859A (en) * | 2011-04-06 | 2011-12-14 | 苏州阔地网络科技有限公司 | Method and system for synchronizing scroll bar on webpage |
CN102281266A (en) * | 2011-04-06 | 2011-12-14 | 苏州阔地网络科技有限公司 | Method and system for realizing list authentication synchronization on webpage |
CN102281319A (en) * | 2011-04-06 | 2011-12-14 | 苏州阔地网络科技有限公司 | Method and system for realizing list synchronization on webpage |
CN102164142A (en) * | 2011-04-26 | 2011-08-24 | 苏州阔地网络科技有限公司 | Webpage-based timing security synchronization realization method and system |
CN102185849A (en) * | 2011-04-27 | 2011-09-14 | 苏州阔地网络科技有限公司 | Method and system for realizing audio recording on webpage |
CN102164147A (en) * | 2011-04-27 | 2011-08-24 | 苏州阔地网络科技有限公司 | Method and system for converting document into picture in on-line manner |
CN102143189A (en) * | 2011-04-29 | 2011-08-03 | 苏州阔地网络科技有限公司 | Method and system for realizing video recording on webpage |
CN104519095B (en) * | 2013-09-29 | 2019-01-25 | 重庆新媒农信科技有限公司 | A kind of dynamic message method for pushing and its system, server-side, client |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150537A (en) * | 2007-10-10 | 2008-03-26 | 中国联合通信有限公司 | A file sharing and control method and system for instant messaging conference |
CN101217554A (en) * | 2008-01-14 | 2008-07-09 | 张尧森 | An instant communication method realized on website |
CN101563909A (en) * | 2006-12-22 | 2009-10-21 | 索尼爱立信移动通讯有限公司 | Communication systems and methods for providing a group play list for multimedia content records |
WO2010100354A1 (en) * | 2009-03-03 | 2010-09-10 | Alcatel Lucent | Method and system for the multi-criteria management of presence notifications |
CN101944130A (en) * | 2010-09-28 | 2011-01-12 | 苏州阔地网络科技有限公司 | Method for implementing list synchronization on webpage |
-
2010
- 2010-09-28 CN CN2010102947084A patent/CN101944130A/en active Pending
-
2011
- 2011-03-14 CN CN2011100590791A patent/CN102307214A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101563909A (en) * | 2006-12-22 | 2009-10-21 | 索尼爱立信移动通讯有限公司 | Communication systems and methods for providing a group play list for multimedia content records |
CN101150537A (en) * | 2007-10-10 | 2008-03-26 | 中国联合通信有限公司 | A file sharing and control method and system for instant messaging conference |
CN101217554A (en) * | 2008-01-14 | 2008-07-09 | 张尧森 | An instant communication method realized on website |
WO2010100354A1 (en) * | 2009-03-03 | 2010-09-10 | Alcatel Lucent | Method and system for the multi-criteria management of presence notifications |
CN101944130A (en) * | 2010-09-28 | 2011-01-12 | 苏州阔地网络科技有限公司 | Method for implementing list synchronization on webpage |
Non-Patent Citations (1)
Title |
---|
董杨: "网络会议中文件共享系统的设计与实现", 《西安电子科技大学工程硕士学位论文》, 6 September 2010 (2010-09-06) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111374A (en) * | 2017-11-16 | 2018-06-01 | 百度在线网络技术(北京)有限公司 | Method, apparatus, equipment and the computer storage media of synchronizer list |
Also Published As
Publication number | Publication date |
---|---|
CN101944130A (en) | 2011-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102307214A (en) | Method for realizing list synchronization | |
CN101102211B (en) | A method for sharing the document in data conference and its system | |
CN102307212A (en) | Method for realizing page-turning synchronization | |
CN101080056B (en) | A management method and system of network browser collection folder of mobile terminal | |
CN102307211A (en) | Method for realizing full-screen synchronization of whiteboard | |
CN102307155A (en) | Method for realizing group communication | |
CN101150537A (en) | A file sharing and control method and system for instant messaging conference | |
CN102316049A (en) | Method for automatically receiving group message | |
CN101969461A (en) | Method for implementing white board clear screen synchronization on webpage | |
CN102316149A (en) | P2p (peer-to-peer) video communication method | |
CN102185701A (en) | Method and system for realizing group information interaction | |
CN105306695A (en) | Communication method of mobile terminal and mobile terminal | |
CN102195980A (en) | Webpage-based electronic whiteboard secure synchronization method and system | |
CN102281265A (en) | Method and system for realizing list authentication synchronization | |
CN102314471A (en) | Method for synchronizing scroll bars | |
CN104283762A (en) | Method, system, client-side and server for transmitting instant messaging conversation content | |
CN102158429A (en) | Community platform based group communication method and system | |
CN102314235B (en) | Method for realizing synchronization of electronic whiteboards | |
CN102316142A (en) | Method for realizing p2p-based remote video education | |
CN102185852A (en) | Electronic whiteboard synchronization method and system based on webpage | |
CN102137120A (en) | Method and system for group communication | |
CN1852376B (en) | User information storage method and system and terminal device | |
CN102130921A (en) | Method and system for realizing two paths of voice communication based on webpage | |
CN102185795A (en) | Method and system for realizing group communication on community platform | |
CN102137039A (en) | Electric white board synchronous method and system based on community platform |
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 |
Application publication date: 20120104 |