CN102164143A - Method and system for realizing timing safety synchronization based on webpage - Google Patents

Method and system for realizing timing safety synchronization based on webpage Download PDF

Info

Publication number
CN102164143A
CN102164143A CN2011101054359A CN201110105435A CN102164143A CN 102164143 A CN102164143 A CN 102164143A CN 2011101054359 A CN2011101054359 A CN 2011101054359A CN 201110105435 A CN201110105435 A CN 201110105435A CN 102164143 A CN102164143 A CN 102164143A
Authority
CN
China
Prior art keywords
data information
source user
communication server
chronometric data
information command
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
CN2011101054359A
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 CN2011101054359A priority Critical patent/CN102164143A/en
Publication of CN102164143A publication Critical patent/CN102164143A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for realizing timing safety synchronization based on a webpage, and the method provided by the invention comprises the following steps: using a communication server to authenticate the authority of a received timing data information instruction sent by a source user; after the authentication is successful, authenticating the authority of a target user for receiving the timing data information instruction; and after the authentication is successful, sending the timing data information instruction to the target user. The invention also discloses a system for realizing timing safety synchronization based on the webpage. By using the method and system provided by the invention, the timing safety synchronization is realized without downloading any software.

Description

A kind of based on webpage realization timing secure synchronization method and system
Technical field
The invention belongs to networking technology area, relate in particular to a kind of based on webpage realization timing secure synchronization method and system.
Background technology
Along with further popularizing of the Internet, increasing user gets used to enjoying the rich content that high speed internet brings, the user is utilized bandwidth in a large number, carry out the transmission of network data for a long time, thing followed problem also comes out gradually with dispute, wherein, the computational problem of surf time timing and rate is particularly outstanding.
Existing internet, applications has three kinds of timing modes: download client carries out timing, force login and cancellation and embedded web page to carry out timing at webpage constantly refreshes.The shortcoming of download client software is the necessary download client software of user, and client engine can be more consuming time, and propagates for virus and made chance; When the mode that adopts webpage kick out and login is carried out timing, if the user forgets that system can't discern when closing webpage or machine catastrophic failure, can continue to carry out timing, this will cause the user to lose; Embedded web page carries out timing and constantly refreshes, and can consume server resource in a large number, because the process of a timing is arranged, can not accomplish the synchronously instant of timing, just mean that also putting timing sometime be nonsynchronous certainly, when subscriber set goes wrong, error will appear in timing.
The cost performance of networking speed and expense is the leading indicator that the user estimated and selected Virtual network operator always.Therefore, reasonable computation surf time how, increase user's satisfaction, be one of each big charge website competition focal point.
The problem that in the application of the Internet, also has a lot of timing, as in the network teleconference, in the comparatively serious system such as long-distance education, carry out accurate communication for the convenience of the user, all need timing, lecturer and audience as the network lecture need to arrange process according to the timing situation, especially for this class of online exam system very high to clocking requirement, the examinee arranges answer speed in strict accordance with time schedule, the invigilator personnel remind the examinee when to check paper according to time showing, when hand in an examination paper etc., if the examinee is different with invigilator personnel's timing demonstration, will cause a lot of problems.
The audio frequency and video of IM all need accurate timekeeping system, and existing some software such as the network teleconference, Web IM etc. possess the function of time synchronisation, install but all need download corresponding software, and software and hardware, expense etc. is all had certain requirement; In addition, clocking information synchronously passive often can not cause effective control, causes potential safety hazard easily.
Summary of the invention
The invention provides and a kind ofly realize timing secure synchronization method and system, realized need not to download any software, can realize the timing secure synchronization based on webpage.
The present invention has announced a kind of based on webpage realization timing secure synchronization method, may further comprise the steps:
The authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, the authority that the targeted customer is received described chronometric data information command authenticates and after authentication is passed through, described chronometric data information command is sent to described targeted customer.
The present invention has announced a kind of based on webpage realization timing secure synchronization system, comprise: source user, communication server, targeted customer: the authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, the authority that the targeted customer is received described chronometric data information command authenticates and after authentication is passed through, described chronometric data information command is sent to described targeted customer.
The invention provides and a kind ofly realize timing secure synchronization method and system, realized need not to download any software, can realize the timing secure synchronization based on webpage.
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;
Fig. 2 is a structure principle chart of the present invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is a detail flowchart of the present invention, may further comprise the steps:
Step 101: source user is opened webpage, loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up with communication server and forever is connected.
In the technique scheme, wherein step 101 comprises following process:
Source user is opened webpage, loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up by call XML Socket class and is connected with the permanent of communication server.
Step 102: when source user picks up counting or regularly, authenticate to communication server transmission chronometric data information command and by communication server by the Flash plug-in unit, after authentication is passed through, be broadcast to all and be connected to the targeted customer who needs time synchronisation above the communication server, with the strict guarantee clocking information synchronously.
In the technique scheme, wherein step 102 comprises following process:
When 2a) source user picks up counting or regularly, the method by Flash plug-in unit call XML Socket class sends the chronometric data information command and is authenticated by communication server to communication server:
After communication server is received the chronometric data information command that source user sends over, the chronometric data information command is authenticated, and authentication includes but not limited to: source user authentication, data command purview certification (whether source user has the authority that sends the chronometric data information command), source user instruct operated target purview certification (authority whether the chronometric data information command that source user sends can the access destination user), targeted customer that source user is instructed purview certification (whether the targeted customer has the authority of the chronometric data information command that the reception sources user sends).
After 2b) all authentications are passed through, be broadcast to all and be connected to the targeted customer who needs time synchronisation above the communication server, with the strict guarantee clocking information synchronously.
Step 103: when the targeted customer opens webpage, load the Flash plug-in unit automatically, the Flash plug-in unit is set up with communication server and forever is connected, and begins to receive the timing synchronizing information of communication server broadcasting.
In the technique scheme, wherein step 103 comprises following process:
When the targeted customer opens webpage, load the Flash plug-in unit automatically, the Flash plug-in unit is set up by call XML Socket class and forever is connected with communication server, and begins to receive the timing synchronizing information that communication server is broadcast to the targeted customer.
Step 104: when targeted customer Flash plug-in unit receives the chronometric data information that communication server broadcasting comes, the invoking web page function, the webpage function carries out logical process or demonstration to the clocking information that passes over, and realizes that promptly the webpage timing is synchronous.
In the technique scheme, wherein step 104 comprises following process:
When targeted customer Flash plug-in unit receives the chronometric data information that communication server broadcasting comes, call method call webpage JavaScript function by the ExternalInterface class, import the chronometric data information that receives into, the JavaScript function carries out logical process or demonstration to the clocking information that passes over, and realizes that promptly the webpage timing is synchronous.
Fig. 2 is a structure principle chart of the present invention, is described in detail as follows:
Source user A opens webpage, loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up with communication server and forever is connected;
When source user A picks up counting or regularly, authenticate to communication server transmission chronometric data information command and by communication server by the Flash plug-in unit, after authentication is passed through, be broadcast to all and be connected to and need the targeted customer of time synchronisation B, C above the communication server, with the strict guarantee clocking information synchronously.
In the technique scheme, comprise following process:
When 2a) source user A picks up counting or regularly, the method by Flash plug-in unit call XML Socket class sends the chronometric data information command and is authenticated by communication server to communication server:
After communication server is received the chronometric data information command that source user A sends over, the chronometric data information command is authenticated, and authentication includes but not limited to: the source user authentication, data command purview certification (whether source user A has the authority that sends the chronometric data information command), source user instructs operated target purview certification, and (whether the chronometric data information command that source user A sends can access destination user B, the authority of C), the targeted customer instructs purview certification (targeted customer B to source user, whether C has the authority of the chronometric data information command of reception sources user A transmission).
After 2b) all authentications are passed through, be broadcast to all and be connected to and need the targeted customer of time synchronisation B, C above the communication server, with the strict guarantee clocking information synchronously
Targeted customer B, when C opens webpage, load the Flash plug-in unit automatically, the Flash plug-in unit is set up with communication server and forever is connected, and begins to receive the timing synchronizing information that communication server is broadcasted
When the Flash plug-in unit of targeted customer B, C receives the chronometric data information that communication server broadcasting comes, the invoking web page function, the webpage function carries out logical process or demonstration to the clocking information that passes over, and realizes that promptly the webpage timing is synchronous.
Annotate: user B, C, and user A, B, any two or three of C sends the chronometric data information command simultaneously, and the process of authentication is all the same synchronously.
The present invention has announced a kind of based on webpage realization timing synchro system, comprise: source user, communication server, targeted customer: the authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, the authority that the targeted customer is received described chronometric data information command authenticates and after authentication is passed through, described chronometric data information command is sent to described targeted customer.
Wherein, before the authority of the chronometric data information command that communication server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates.
Wherein, the authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, and also instructs the operated target purview certification to be that the authority whether described chronometric data information command that described source user sends can visit described targeted customer authenticates to described source user.
Wherein, before the authority of the chronometric data information command that communication server sends the source user that receives authenticated, also comprise: described source user was opened webpage, loads the Flash plug-in unit automatically, and the Flash plug-in unit forever is connected with communication server foundation.
The present invention compared with prior art has following advantage: do not need to download any control, can carry out secure synchronization to timing on webpage, and regularly carry out the secure synchronization of time, determine that clocking information is accurate; Source user and targeted customer's timing striking resemblances, thus the consistency of content on showing guaranteed, and synchronously in time, efficiently; To soft, hardware requirement is lower, can easily embed in other system to use; Technology realizes simple, clear thinking, and the utilization threshold is low, and technical being easy to popularized and be accepted.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. realize timing secure synchronization method based on webpage for one kind, it is characterized in that: the authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, the authority that the targeted customer is received described chronometric data information command authenticates and after authentication is passed through, described chronometric data information command is sent to described targeted customer.
2. method according to claim 1 is characterized in that: before the authority of the chronometric data information command that communication server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates.
3. method according to claim 1 and 2, it is characterized in that: the authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, and also instructs the operated target purview certification to be that the authority whether described chronometric data information command that described source user sends can visit described targeted customer authenticates to described source user.
4. method according to claim 1, it is characterized in that: before the authority of the chronometric data information command that communication server sends the source user that receives authenticates, also comprise: described source user is opened webpage, automatically load the Flash plug-in unit, the Flash plug-in unit is set up with communication server and forever is connected.
5. method according to claim 4 is characterized in that: when source user picks up counting or regularly, send the chronometric data information command by described Flash plug-in unit to described communication server.
6. method according to claim 1, it is characterized in that: when targeted customer's described Flash plug-in unit receives the chronometric data information that the broadcasting of described communication server comes, the invoking web page function, the webpage function carries out logical process or demonstration to the chronometric data information that passes over.
7. realize timing secure synchronization system based on webpage for one kind, it is characterized in that, comprise: source user, communication server, targeted customer: the authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, the authority that the targeted customer is received described chronometric data information command authenticates and after authentication is passed through, described chronometric data information command is sent to described targeted customer.
8. method according to claim 7 is characterized in that: before the authority of the chronometric data information command that communication server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates.
9. according to claim 7 or 8 described methods, it is characterized in that: the authority of the chronometric data information command that communication server sends the source user that receives authenticates and after authentication is passed through, and also instructs the operated target purview certification to be that the authority whether described chronometric data information command that described source user sends can visit described targeted customer authenticates to described source user.
10. method according to claim 7, it is characterized in that: before the authority of the chronometric data information command that communication server sends the source user that receives authenticates, also comprise: described source user is opened webpage, automatically load the Flash plug-in unit, the Flash plug-in unit is set up with communication server and forever is connected.
CN2011101054359A 2011-04-26 2011-04-26 Method and system for realizing timing safety synchronization based on webpage Pending CN102164143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101054359A CN102164143A (en) 2011-04-26 2011-04-26 Method and system for realizing timing safety synchronization based on webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101054359A CN102164143A (en) 2011-04-26 2011-04-26 Method and system for realizing timing safety synchronization based on webpage

Publications (1)

Publication Number Publication Date
CN102164143A true CN102164143A (en) 2011-08-24

Family

ID=44465117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101054359A Pending CN102164143A (en) 2011-04-26 2011-04-26 Method and system for realizing timing safety synchronization based on webpage

Country Status (1)

Country Link
CN (1) CN102164143A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050234883A1 (en) * 2004-04-19 2005-10-20 Yahoo!, Inc. Techniques for inline searching in an instant messenger environment
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant messages in instant messaging system
CN101867621A (en) * 2010-07-02 2010-10-20 苏州阔地网络科技有限公司 Method for realizing p2p communication on webpage
CN102006203A (en) * 2010-12-07 2011-04-06 苏州阔地网络科技有限公司 Method for monitoring Flash network flow on webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050234883A1 (en) * 2004-04-19 2005-10-20 Yahoo!, Inc. Techniques for inline searching in an instant messenger environment
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant messages in instant messaging system
CN101867621A (en) * 2010-07-02 2010-10-20 苏州阔地网络科技有限公司 Method for realizing p2p communication on webpage
CN102006203A (en) * 2010-12-07 2011-04-06 苏州阔地网络科技有限公司 Method for monitoring Flash network flow on webpage

Similar Documents

Publication Publication Date Title
RU2724181C1 (en) Simplification of consensus in blockchain based on principle of practical fail-safety based on byzantine agreement and synchronization of nodes
CN106899570B (en) The processing method of two dimensional code, apparatus and system
WO2017107732A1 (en) Login status synchronization method and system
CN105681154A (en) Method and device for sending message in instant messaging software
SG11201807767UA (en) Message anti-forgery implementation method and device
CN104580380B (en) The synchronous method and system of logging state
CN106911714A (en) Android device is based on the Mobile solution single-point logging method of interprocess communication
CN105225328A (en) Based on mobile terminal electronic voting method and the system of face characteristic identification
CN102170442A (en) Safe synchronization method and system for electronic whiteboard based on community platform
CN106790138A (en) A kind of method of government affairs cloud application User logs in double factor checking
MX2009004703A (en) Method of real-time interactive sharing of multimedia data real-time interactive server and communication network.
CN102130969A (en) Method and system for realizing timing synchronization based on webpage
CN102811369A (en) Security authentication method during video sharing and handheld equipment
CN104038468B (en) A kind of document transmission method, system and device
PH12020000002A1 (en) Authentication by transmitting information through a human body
CN102164142A (en) Webpage-based timing security synchronization realization method and system
US9716707B2 (en) Mutual authentication with anonymity
CN106161563B (en) Information push method and device
Morgner et al. Securing transactions with the eIDAS protocols
CN102164143A (en) Method and system for realizing timing safety synchronization based on webpage
CN102316144A (en) Method for realizing timing synchronization
CN102195980A (en) Webpage-based electronic whiteboard secure synchronization method and system
CN107465510A (en) A kind of processing method and processing system of service security multiplexing
CN102281277A (en) Method and system for realizing safety synchronization of scroll bar information on webpage
CN102281265A (en) Method and system for realizing list authentication synchronization

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

Application publication date: 20110824

WD01 Invention patent application deemed withdrawn after publication