CN100583834C - Network experimental method based on online cooperation - Google Patents

Network experimental method based on online cooperation Download PDF

Info

Publication number
CN100583834C
CN100583834C CN200710099962A CN200710099962A CN100583834C CN 100583834 C CN100583834 C CN 100583834C CN 200710099962 A CN200710099962 A CN 200710099962A CN 200710099962 A CN200710099962 A CN 200710099962A CN 100583834 C CN100583834 C CN 100583834C
Authority
CN
China
Prior art keywords
experiment
client
message
server
test
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.)
Expired - Fee Related
Application number
CN200710099962A
Other languages
Chinese (zh)
Other versions
CN101094174A (en
Inventor
徐明伟
徐恪
崔勇
王宇亮
陈文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN200710099962A priority Critical patent/CN100583834C/en
Publication of CN101094174A publication Critical patent/CN101094174A/en
Application granted granted Critical
Publication of CN100583834C publication Critical patent/CN100583834C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The method comprises: after the network experiment client side sends a experiment request message to the network experiment server side according to the users' inputted information, the server side searches the experiment description, and according to the experiment description, selects the client side capable of making the experiment from current network experiment client sides, and forms a topological graph; the topology graph and the experiment description of the client side are added into the experiment starting message which is sent to the experiment client side; after the network experiment client side receives the experiment starting message, it starts the network experiment according to the network experiment description.

Description

Network experimental method based on online cooperation
Technical field
Network experimental method based on online cooperation belongs to network experiment design studies field.
Background technology
Computer network is that the computer technology and the communication technology are combined closely and the new technical field that forms, the computer network basis course is institution of higher learning's computer-related speciality emphasis courses, the talent who turns out is the Chinese society development and the basic talent of era of knowledge-driven economy, society is the trend of remarkable growth especially for the network talent's demand, is even more important so the setting of Web-based instruction course seems.
Network experiment Course Exercise at present, most of schools all are based on books teaching method and multimedia courseware mode, the comparatively abstract network knowledge of reception that the student is passive causes the learner all the time network technology to be rested on abstract aspect, and manipulative ability is poor in actual in the future work.Condition school's funds that can drop into a great deal of is preferably bought the network equipment, as router, switch etc., make teachers and students in real network environment, carry out the Web-based instruction, the learner can be taken action on one's own, comprehensively awareness network technology directly perceived can be understood more deeply with concrete to network technology.Current major part designs based on the hardware platform network experiment; the school that need offer Web-based instruction course spends a large amount of funds on the input of the network hardware; cause the relatively weaker school in some fund basis not have ability to build the Web-based instruction environment of a hardware device platform Network Based, this has just seriously restricted the development of the Web-based instruction level of school at all levels.So carrying out the network experiment class, the existing resource of utilization how just seems particularly important.
The major function of network experiment design is built a network platform alternately for procotol exactly, makes procotol be able to and can move on this platform.At first needing in this network platform has different role playing persons according to concrete requirement of experiment, as in carrying out " IP transmits experiment ", needing three role playing persons, be respectively the sender of IP datagram literary composition, the forwarding person of IP datagram literary composition and the recipient of IP datagram literary composition, and each role playing person clearly knows the thing that oneself should be done; Secondly in this network platform, have different network topology structures according to concrete requirement of experiment, promptly in different experiments between the different role playing person interconnected situation be special, be connected as the sender of IP datagram literary composition among three role playing persons in carrying out " IP transmits experiment " and the forwarding person of IP datagram literary composition, the forwarding person of IP datagram literary composition and the recipient of IP datagram literary composition also are interconnective simultaneously, yet directly do not link together between the recipient of the sender of IP datagram literary composition and IP datagram literary composition.Key element has just constituted the factor that needs emphasis to consider in the network experiment design in comprehensive above two networks.
So how taking into account various factors in the design of network experiment environment hardware platform input and network experiment becomes and needs the key issue studied in the network experiment.
Summary of the invention
Based on the network experimental method of online cooperation, it is characterized in that this method mutual according to the following steps successively realization between network experiment client and network experiment server end:
Step (1.): initialization;
Set up in client:
Server keep-alive table and network user's test chart comprise separately: the IP address of server and the situation of connection field, connection situation field are preserved client and are begun the back every the number of times of 10s to server transmission keep-alive message in experiment, and the permissible value during initialization is 3;
Set up at server end:
The experiment test repertory, comprise: the experiment title, experiment master project Test No., experiment sub-project Test No., the experiment description field, the experiment topological matrix, wherein, the experiment title is deposited the title of this experimental project, experiment master project Test No. is deposited the unique identification that is used for this experiment master project of mark, be 10 decimal numbers, experiment sub-project Test No. is deposited the test sub-project of this experiment master project of mark, it is numbered two decimal numbers, the experiment description field is deposited the description at this experiment behavior, and the experiment topological matrix is one and is used for describing the adjacency matrix that the needed participant of current experimental situation connects situation;
User's assistant experiment table comprises: client real IP address field, the real IP address of client in the record current network experimental situation; Participating in the experiment number field, is the extra load that client is brought to be used for the online experiment of mean allocation; Whether connection situation identification field is used to identify this client and can reaches;
Network experiment participant table comprises: participate in the client ip address field of experiment, select to do the real IP address of the client of experiment for current serviced device; Connection situation field, in order to the number of times of record to client transmission message alive, initialized permissible value is 3;
Step (2.): after client is received the network test request that the user imports, send test request message (TRM) to server end, comprising: test name, master project Test No., sub-project Test No., and initialization timing device 10 seconds, after receiving the message that unit that server end sends begins to test;
Step (3.): client is just carried out following steps successively:
Step (3.1.): client is inserted corresponding position in the server keep-alive table to the IP address of the server end that participates in network experiment, and the connection situation field of corresponding client is changed to 3;
Step (3.2.): the experiment description field that begins to test in the message according to the unit described in the step (2.) experimentizes, simultaneously every 10 seconds run-down server keep-alive tables, if find to connect in the record of server the situation field and be 0 or, then stop experiment and inform that server that the user connects is unreachable less than 0; Otherwise this connection situation field is subtracted 1, send the keep-alive message to server simultaneously, proceed experiment;
Step (3.3.): client finishes the back in experiment and sends the experiment end message to server, comprising: experiment title, experiment master project Test No. and experiment sub-project Test No.;
Step (4.): receive the multimachine online cooperation network experiment Topology Discovery message of server when client after, then send confirmation message to server end immediately, simultaneously the experiment description field content record in this message in client, the multimachine of waiting for server end transmission simultaneously online cooperation network experiment begins message, after receiving that multimachine online cooperation network experiment begins message;
Step (5.): client is carried out following steps successively:
Step (5.1.): the multimachine online cooperation network experiment that sends from server begins to take out the message network adjacency matrix field, the described server keep-alive of input step (1.) table, server keep-alive table is inserted in the IP address of server, and correspondence is connected the situation field be changed to 3;
Step (5.2.): begin to carry out experiment according to the experiment description field, simultaneously every the time interval of 10s run-down server keep-alive table, find to connect in the record of server the situation field and be 0 or less than 0, then stop experiment, otherwise then deduct 1 with connecting the situation field in the record of server, send the keep-alive message to server simultaneously, continue to carry out experiment according to the experiment description field;
Step (5.3.): if experiment is finished, then send the experiment end message, comprise the experiment title in the message, test main Test No., test sub-Test No. to server end according to the experiment description field;
Step (6.):, then the server in network user's test chart is connected the situation field and be changed to 3 if client is received the keep-alive message of server;
Step (7.): if client is received server end network experiment end message, then stop experiment, empty writing down in the server keep-alive table simultaneously, waiting for server sends experiment beginning message;
Step (8.): begin the test request message (TRM) of network experiment if server end has been received client, then search the experiment test repertory with the experiment master project Test No. field in this message, if do not exist in the experiment test repertory with this message in experiment master project Test No. identical experimental project, then send the notice message to client, inform not have this experimental project, and finish server side operation; If instead exist in the experiment test repertory with this message in test the identical experimental project of master project Test No., then scan user's assistant experiment table, the connection situation field identification of all clients for reaching, is continued experiment topological matrix in the scanning experiment test repertory according to following steps again;
Step (8.1.): scanning experiment topological matrix is got this matrix, and the row length that the representative of obtaining this matrix need be participated in the client number of this experiment is N, the client number that participates in this experiment if desired is less than or equal to 2, then the experiment description field in the experiment test repertory is sent to client, notice client unit begins experiment, network experiment participant according to the client that participates in experiment shows simultaneously, the timer that time span of initialization is 10s, beginning sends the keep-alive message to client;
Step (8.2.): the client number that participates in this experiment is if desired then carried out following steps successively greater than 2:
Step (8.2.1.): the connection situation field of scanning user assistant experiment table, if alternative number of clients is less than N then to client transmission network experiment end message, finish the operation of server end simultaneously, otherwise, select N client one by one according to participating in the minimum principle of experiment number;
Step (8.2.2.): experiment description field in the experiment test repertory and experiment topological matrix are sent to all clients that participate in experiment respectively, and inform this client position at place in the experiment topological matrix with the form of numbering, in the matrix first row have just represented to be numbered the situation that is connected of all clients of client and other of 1, the span of this numbering is [1, N], the type of message is a multimachine online cooperation network experiment Topology Discovery message, comprises experiment description field and experiment topological matrix in the experiment test repertory;
Step (8.2.3.): after all messages send and finish, the timer that time span of initialization is 20s, and begin to wait for that all participate in the affirmation message of this time experiment client, to participate in the experiment client ip address inserts in the network experiment participant table, and the connection situation field of each client is changed to 3, the timer that time span of initialization is 10s, beginning sends the keep-alive message to client;
Step (9.): if server end has been received the affirmation message of the client that all participate in this time experiment in 20s, then send the message that the online cooperation network experiment begins, and in user's assistant experiment table, all experiment number of participating in the client of this time experiment are added 1 to all clients of participating in this experiment; Otherwise with the connection situation field identification of clients corresponding record in user's assistant experiment table is unreachable, gets back to step (8.) simultaneously;
Step (10.): to carry out each client in the time interval scan for networks experiment participant table once every 10s, if finding connection situation field is 0 or less than 0, then stop experiment, send the network experiment end message to all clients that participate in network experiment simultaneously, and get back to step (8.), otherwise then the connection situation field with described network experiment participant table deducts 1, sends the keep-alive message for simultaneously described each client, continues to do experiment according to the experiment description field;
Step (11.): if server is received the network experiment end message that client sends, then scan user's assistant experiment table, the participant's of experiment experiment number is subtracted 1.
Description of drawings
Fig. 1 is based on the network experiment structural topology schematic diagram of online cooperation;
Fig. 2 network experiment topological adjacency matrix schematic diagram;
Fig. 3 client schematic flow sheet;
Fig. 4 server end schematic flow sheet;
Fig. 5 is based on the network experiment general flow chart of online cooperation.
Embodiment
The network experiment that the higher network hardware input of finishing traditional higher input cost of network experiment design needs, the enough lower network hardware inputs of energy is realized is main contribution of the present invention.
Network experiment structural topology schematic diagram based on online cooperation is seen Fig. 1.
Network experiment topological adjacency matrix schematic diagram is seen Fig. 2: the network experiment of each online cooperation all must have an adjacency matrix, and this matrix is used to describe the syntople between each client that participates in this network experiment.Each element value of matrix is 0 or 1.It is non-conterminous in this experiment with client j to classify 0 expression client i as the capable j of i of matrix, represents that two clients are adjacent otherwise be 1.Before the network experiment of online cooperation began, server can be issued this adjacency matrix all clients that participate in experiment, guaranteed that client knows that whole experiment is topological.
The client schematic flow sheet is seen Fig. 3: the elaboration that this figure is more detailed should mechanism in the concrete behavior and the operation of network experiment client.Wherein client is after receiving the network experiment information that the user imports, the request of will sending begins to test message to the network experiment server end, will trigger network experiment client make the different time again at the response message that the network experiment server sends, (1) be illustrated in the flow process that the network experiment client should be carried out when having only two machines to do experiment in this experiment, (2) and (3) represent that this experiment needs many machines and does the flow process that the network experiment client should be carried out when testing.Wherein the direction of arrow is represented the direction of network experiment client executing.
The server end schematic flow sheet is seen Fig. 4: the elaboration that this figure is more detailed should mechanism in the concrete behavior and the operation of network experiment server end.Wherein by (4), (5) finish the network experiment server after start with initialization and set up two tables, be respectively experiment test repertory, user's assistant experiment table, the network experiment server is behind the experiment request message that has received the network experiment client, finish the issue of network experiment description and network experiment topological matrix and the foundation of network experiment participant table by (6), (7), (8), (9), finish experiment in client at last.
Network experiment general flow chart based on online cooperation is seen Fig. 5: the elaboration that this figure is more detailed should concrete behavior and the operation of mechanism in the network experiment total environment.Mainly indicated the concrete behavior and the step of client and server end in the experimentation, and important messages each other is mutual.

Claims (1)

1,, it is characterized in that this method mutual according to the following steps successively realization between the client and server end based on the network experimental method of online cooperation:
Step (1.): initialization;
Set up in client:
Server keep-alive table and network user's test chart comprise separately: the IP address of server and the situation of connection field, connection situation field are preserved client and are begun the back every the number of times of 10s to server transmission keep-alive message in experiment, and the permissible value during initialization is 3;
Set up at server end:
The experiment test repertory, comprise: the experiment title, experiment master project Test No., experiment sub-project Test No., the experiment description field, the experiment topological matrix, wherein, the experiment title is deposited the title of this experimental project, experiment master project Test No. is deposited the unique identification that is used for this experiment master project of mark, be 10 decimal numbers, experiment sub-project Test No. is deposited the test sub-project of this experiment master project of mark, it is numbered two decimal numbers, the experiment description field is deposited the description at this experiment behavior, and the experiment topological matrix is one and is used for describing the adjacency matrix that the needed participant of current experimental situation connects situation;
User's assistant experiment table comprises: client real IP address field, the real IP address of client in the record current network experimental situation; Participating in the experiment number field, is the extra load that client is brought to be used for the online experiment of mean allocation; Whether connection situation identification field is used to identify this client and can reaches;
Network experiment participant table comprises: participate in the client ip address field of experiment, select to do the real IP address of the client of experiment for current serviced device; Connection situation field, in order to the number of times of record to client transmission message alive, initialized permissible value is 3;
Step (2.): after client is received the network test request that the user imports, send test request message (TRM) to server end, comprising: test name, master project Test No., sub-project Test No., and initialization timing device 10 seconds, after receiving the message that unit that server end sends begins to test;
Step (3.): client is just carried out following steps successively:
Step (3.1.): client is inserted corresponding position in the server keep-alive table to the IP address of the server end that participates in network experiment, and the connection situation field of corresponding client is changed to 3;
Step (3.2.): the experiment description field that begins to test in the message according to the unit described in the step (2.) experimentizes, simultaneously every 10 seconds run-down server keep-alive tables, if find to connect in the record of server the situation field and be 0 or, then stop experiment and inform that server that the user connects is unreachable less than 0; Otherwise this connection situation field is subtracted 1, send the keep-alive message to server simultaneously, proceed experiment;
Step (3.3.): client finishes the back in experiment and sends the experiment end message to server, comprising: experiment title, experiment master project Test No. and experiment sub-project Test No.;
Step (4.): receive the multimachine online cooperation network experiment Topology Discovery message of server when client after, then send confirmation message to server end immediately, simultaneously the experiment description field content record in this message in client, the multimachine of waiting for server end transmission simultaneously online cooperation network experiment begins message, after receiving that multimachine online cooperation network experiment begins message;
Step (5.): client is carried out following steps successively:
Step (5.1.): the multimachine online cooperation network experiment that sends from server begins to take out the message network adjacency matrix field, the described server keep-alive of input step (1.) table, server keep-alive table is inserted in the IP address of server, and correspondence is connected the situation field be changed to 3;
Step (5.2.): begin to carry out experiment according to the experiment description field, simultaneously every the time interval of 10s run-down server keep-alive table, find to connect in the record of server the situation field and be 0 or less than 0, then stop experiment, otherwise then deduct 1 with connecting the situation field in the record of server, send the keep-alive message to server simultaneously, continue to carry out experiment according to the experiment description field;
Step (5.3.): if experiment is finished, then send the experiment end message, comprise the experiment title in the message, test main Test No., test sub-Test No. to server end according to the experiment description field;
Step (6.):, then the server in network user's test chart is connected the situation field and be changed to 3 if client is received the keep-alive message of server;
Step (7.): if client is received server end network experiment end message, then stop experiment, empty writing down in the server keep-alive table simultaneously, waiting for server sends experiment beginning message;
Step (8.): begin the test request message (TRM) of network experiment if server end has been received client, then search the experiment test repertory with the experiment master project Test No. field in this message, if do not exist in the experiment test repertory with this message in experiment master project Test No. identical experimental project, then send the notice message to client, inform not have this experimental project, and finish server side operation; If instead exist in the experiment test repertory with this message in test the identical experimental project of master project Test No., then scan user's assistant experiment table, the connection situation field identification of all clients for reaching, is continued experiment topological matrix in the scanning experiment test repertory according to following steps again;
Step (8.1.): scanning experiment topological matrix is got this matrix, and the row length that the representative of obtaining this matrix need be participated in the client number of this experiment is N, the client number that participates in this experiment if desired is less than or equal to 2, then the experiment description field in the experiment test repertory is sent to client, notice client unit begins experiment, network experiment participant according to the client that participates in experiment shows simultaneously, the timer that time span of initialization is 10s, beginning sends the keep-alive message to client;
Step (8.2.): the client number that participates in this experiment is if desired then carried out following steps successively greater than 2:
Step (8.2.1.): the connection situation field of scanning user assistant experiment table, if alternative number of clients is less than N then to client transmission network experiment end message, finish the operation of server end simultaneously, otherwise, select N client one by one according to participating in the minimum principle of experiment number;
Step (8.2.2.): experiment description field in the experiment test repertory and experiment topological matrix are sent to all clients that participate in experiment respectively, and inform this client position at place in the experiment topological matrix with the form of numbering, in the matrix first row have just represented to be numbered the situation that is connected of all clients of client and other of 1, the span of this numbering is [1, N], the type of message is a multimachine online cooperation network experiment Topology Discovery message, comprises experiment description field and experiment topological matrix in the experiment test repertory;
Step (8.2.3.): after all messages send and finish, the timer that time span of initialization is 20s, and begin to wait for that all participate in the affirmation message of this time experiment client, to participate in the experiment client ip address inserts in the network experiment participant table, and the connection situation field of each client is changed to 3, the timer that time span of initialization is 10s, beginning sends the keep-alive message to client;
Step (9.): if server end has been received the affirmation message of the client that all participate in this time experiment in 20s, then send the message that the online cooperation network experiment begins, and in user's assistant experiment table, all experiment number of participating in the client of this time experiment are added 1 to all clients of participating in this experiment; Otherwise with the connection situation field identification of clients corresponding record in user's assistant experiment table is unreachable, gets back to step (8.) simultaneously;
Step (10.): to carry out each client in the time interval scan for networks experiment participant table once every 10s, if finding connection situation field is 0 or less than 0, then stop experiment, send the network experiment end message to all clients that participate in network experiment simultaneously, and get back to step (8), otherwise then the connection situation field with described network experiment participant table deducts 1, sends the keep-alive message for simultaneously described each client, continues to do experiment according to the experiment description field;
Step (11.): if server is received the network experiment end message that client sends, then scan user's assistant experiment table, the participant's of experiment experiment number is subtracted 1.
CN200710099962A 2007-06-01 2007-06-01 Network experimental method based on online cooperation Expired - Fee Related CN100583834C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710099962A CN100583834C (en) 2007-06-01 2007-06-01 Network experimental method based on online cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710099962A CN100583834C (en) 2007-06-01 2007-06-01 Network experimental method based on online cooperation

Publications (2)

Publication Number Publication Date
CN101094174A CN101094174A (en) 2007-12-26
CN100583834C true CN100583834C (en) 2010-01-20

Family

ID=38992208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710099962A Expired - Fee Related CN100583834C (en) 2007-06-01 2007-06-01 Network experimental method based on online cooperation

Country Status (1)

Country Link
CN (1) CN100583834C (en)

Also Published As

Publication number Publication date
CN101094174A (en) 2007-12-26

Similar Documents

Publication Publication Date Title
Vuorikari et al. ICT-based school collaboration, teachers’ networks and their opportunities for teachers’ professional development-a case study on eTwinning
CN102332216A (en) Remote teaching method and system for assisting in school education
CN104394215A (en) Multi-user interactive learning method based on cloud network and system thereof
CN101079823B (en) A method and system for originating and creating virtual discussion group
Dayana et al. Design of the Discord application as an E-learning tool at the University of Sciences and Humanities
CN100583834C (en) Network experimental method based on online cooperation
CN103347006A (en) Control system and control method for networking cooperation virtual experiment
Pozzo et al. Sharing educational experiences from in-person classroom to collaborative lab environments
Anderson et al. Best practices in synchronous conferencing moderation
De Lucia et al. Supporting jigsaw-based collaborative learning in second life
McArdle et al. 3D collaborative virtual environments for e-learning and mLearning
Das et al. Leveraging virtual classroom for effective learning
Op de Beeck et al. Extending and supporting physical student mobility through virtual mobility
Nilsson et al. DESIGN FOR TEACHER TRAINING–TO FACILITATE STUDENT TEAMS WORKING WITH REAL-LIFE SUSTAINABILITY CHALLENGES
Lennertz High-touch/high-tech charrettes
Hendley Orientation leader training: An appreciative advising approach
Ridder et al. Launching students into enterprise: experiences with technology as a launching platform
Davishahl et al. Development of Social Engagement Activities to Increase Student Participation in a Makerspace
Yamaguchi et al. SUPPORTING PROCESS GUIDANCE FOR COLLABORATIVE DESIGN LEARNING ON THE WEB; Development of “Plan-Do-See cycle” based Design Pinup Board
Barbas et al. Online Social Networks and Computer Skills of University Students.
Winkler et al. Investigating student coworking as a catalyst for entrepreneurial success
Ferreira et al. Application of Design Sprint for Educational Purposes: a Case Study at Federal Institute of Goiás
Feng Notice of Retraction: Research on Teaching Reform of Computer Networks Course
Ayere et al. ELearning A Peace Building Initiative
Biedenkopf Partnership for Market Readiness (PMR)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100120

Termination date: 20210601

CF01 Termination of patent right due to non-payment of annual fee