CN103179150B - A kind of method and system of data distributing of waterfall type - Google Patents

A kind of method and system of data distributing of waterfall type Download PDF

Info

Publication number
CN103179150B
CN103179150B CN201110432249.6A CN201110432249A CN103179150B CN 103179150 B CN103179150 B CN 103179150B CN 201110432249 A CN201110432249 A CN 201110432249A CN 103179150 B CN103179150 B CN 103179150B
Authority
CN
China
Prior art keywords
server
task
download
data
authority
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.)
Active
Application number
CN201110432249.6A
Other languages
Chinese (zh)
Other versions
CN103179150A (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.)
Mainbo Education Technology Co., Ltd.
Sichuan Wenxuan Education Science & Technology Co., Ltd.
Original Assignee
Sichuan Wenxuan Education Science & Technology Co Ltd
MAINBO EDUCATION 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 Sichuan Wenxuan Education Science & Technology Co Ltd, MAINBO EDUCATION TECHNOLOGY Co Ltd filed Critical Sichuan Wenxuan Education Science & Technology Co Ltd
Priority to CN201110432249.6A priority Critical patent/CN103179150B/en
Publication of CN103179150A publication Critical patent/CN103179150A/en
Application granted granted Critical
Publication of CN103179150B publication Critical patent/CN103179150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses the method and system of a kind of data placement data distributing of waterfall type in central server, star-like distributed system, relate to information data processing technology field.Data placement in central server, then is synchronized to each lower floor authority server by the present invention step by step, be finally issued to each client directly under end service device on.In the present invention, client can from its directly under the enterprising row data of server download, this download is generally carried out in local area network (LAN), can improve speed of download, and significantly can alleviate the download pressure of central server.

Description

A kind of method and system of data distributing of waterfall type
Technical field
The present invention relates to information digitalization processing technology field, particularly relate to the method and system of the data distributing of the waterfall type that a kind of data placement is applied in central server, star-like distributed system.
Background technology
In a distributed system, hub-and-spoke configuration is a kind of comparatively conventional structure, and typically, being in, root is central server, and being in, leaf node is final client, and being positioned between central server and client is authority server at different levels.In hub-and-spoke configuration, usually by data placement on central server, each client needs to use these data.Such as in a multimedia education system, electronic teaching material file is placed on central server, and the end users such as teacher use client, client directly under parent server be called school level server.Under normal circumstances, client machine and school level server are all positioned at same local area network (LAN).
In above-mentioned multimedia education system, client user, such as teacher etc. need in client downloads, use these books.In field research application process, to opening, the interactivity requirement of real-time that electronic teaching material carries out operating etc. is very high, and therefore before continuation field research, teaching material needs to be downloaded on client machine, is ready to be used in this locality.According to client directly from the mode that central server is downloaded, then in the situation that network condition is not good, download and need for a long time, and central server pressure server stress can be very large.
Summary of the invention
For defect existing in prior art, the object of the present invention is to provide and a kind ofly can improve speed of download and reduce the method and system of the data distributing of the waterfall type of the pressure of central server simultaneously.
For achieving the above object, the technical solution used in the present invention is:
A method for the data distributing of waterfall type, comprises the following steps:
(1) central server generates data distributing task to each authority server;
(2) authority server is got data distributing task from central server and is controlled to download according to tasks carrying;
(3) authority server has been downloaded to its parent body's server and central server task of reporting;
(4) the data distributing task downloaded is destroyed.
Further, the data distributing task described in step (1) generates in the following manner:
1) background management system by certain data grant to authority server;
2) after data upload completes, then generate data distributing task to authorized all authority server.
Further, if after authorized authority server migration, then regenerate the data distributing task of this authority server and all mandates of all clamp mechanism servers thereof; Described server migration refers to that server code changes.
Further, the tasks carrying described in step (2) controls by carrying out in method:
1) set up download queue at central server, and download limit is set;
2), after each startup of server downloading task, downloading queue linking number increases by 1;
3) authority server has downloaded rear report central server, downloads queue linking number and reduces 1;
4) after download queue reaches the upper limit, follow-up each server then no longer carries out connection and downloads.
Further, the download described in step (2) is carried out in the steps below:
1) client initiates the request of data download address to central server;
2) central server queries downloading task:
If the authority server at this client place does not inquire the downloading task of current required downloading data in task list, then first download this data to its parent body's server, if failed download, download this data to central server; If this client institution where he works server inquires the downloading task of current required downloading data in task list, then download this data to central server.
Further, in step (2), each authority server gets the data distributing task of mechanism server and all clamp mechanism servers thereof to its parent server according to tree hierarchy.
Further, in step (2), downloading process initiates download request by the direct clamp mechanism server of central server to central server, and other authority server all initiate download request to its immediate superior server.
Further, in step (4), the method that described task is destroyed is:
1) central server destroy current facility server and with other authority server of the same station server of current facility server carry all downloading task for these data;
2) parent body's server destroy current facility server and with other authority server of the same station server of current facility server carry all downloading task for these data.
A kind of system of data distributing of waterfall type, comprise central server and authority server, central server generates data distributing task to each authority server by task generation module, authority server gets data downloading task by tasks carrying control module, and downloaded by client downloads module, report central server after download completes, central server is destroyed module by task and having downloaded of task is destroyed.
Effect of the present invention is: adopt the method for the invention and system, because books are before being finally downloaded to client, by the mode that waterfall type issues, book file is downloaded in advance on the parent server (school level server) belonging to this client, and, due to client thereon level school level server be almost always in same local area network (LAN), therefore client carry out in local area network (LAN) download can obtain higher speed of download, and very significantly can alleviate the download pressure of central server to meet the demand of user and system application itself.Therefore, the present invention can improve client downloads speed, alleviate central server download pressure.
Accompanying drawing explanation
Fig. 1 is the main flow figure of the method for the invention;
Fig. 2 is the detail flowchart of the embodiment of the invention.
Embodiment
Describe the present invention below in conjunction with the drawings and specific embodiments.
In the present embodiment, the data file scope issued to client is:
(1) the teaching material file of authority server is licensed to;
(2) the teaching material file after the teaching material licensing to authority server is updated again.
In the present embodiment, a kind of system realizing the data distributing of waterfall type, comprise central server and authority server, central server generates data distributing task to each authority server by task generation module, authority server gets data downloading task by tasks carrying control module, and downloaded by client downloads module, downloaded rear report central server, central server is destroyed module by task and having downloaded of task is destroyed.
As shown in Figure 1, a kind of method of data distributing of waterfall type, comprises the following steps:
(1) central server generates teaching material to each authority server and issues task, each authority server gets the data distributing task of mechanism server and all clamp mechanism servers (comprising direct, indirect clamp mechanism) thereof to its parent server according to tree hierarchy, see step S11;
In this implementation column, the method that generation teaching material issues task is:
1) authorize certain this teaching material to authority server in background management system, if the server code of the server of this authority server carry is not central server code, then generates teaching material and issue task;
If after authorized authority server migration, then regenerate the data distributing task of this authority server and all mandates of all clamp mechanism servers thereof; Described server migration refers to that server code changes;
2) after teaching material files passe completes, then generate teaching material to authorized all authority server and issue task;
(2) authority server from central server get teaching material issue task and according to tasks carrying control download, see step S12;
In the present embodiment, downloading process initiates download request by the direct clamp mechanism server of central server to central server, and other authority server all initiate download request to its immediate superior server;
The concrete grammar of client downloads is:
1) client initiates the request of teaching material download address to central server;
2) central server queries downloading task being handled as follows:
If this client user institution where he works server does not inquire the current required downloading task downloading teaching material in task list, then first download this teaching material to authority server, if failed download, download this teaching material to central server;
If this client user institution where he works server inquires the current required downloading task downloading teaching material in task list, then download this teaching material to central server.
In the present embodiment, according to the method that tasks carrying controls to carry out downloading be:
1) set up download queue at central server, and download limit is set;
2) queue linking number increase 1 then downloaded by central server by each authority server after starting downloading task request;
3) after download queue reaches the upper limit, follow-up each authority server is not then carried out connection and is downloaded;
4) authority server has been downloaded rear report central server and will have been downloaded queue linking number minimizing 1.
(3) backward parent body server and central server task of reporting of having downloaded has been downloaded, and sees step S13;
(4) the data distributing task downloaded is destroyed, see step S14;
The data distributing task that the authority server of carry under it has been downloaded by central server is destroyed, and the data distributing task that the authority server of carry under it has been downloaded by parent body's server is destroyed.
In the present embodiment, the method that described task is destroyed is:
1) central server destroy current facility server and with other authority server of the same station server of current facility server carry all downloading task for these data;
2) parent body's server destroy current facility server and with other authority server of the same station server of current facility server carry all downloading task for these data.
Obviously, the present invention is applicable to end user and has (higher level) server, and has set up the Star Network structure of local area network (LAN) between client and its server.
Under the prerequisite of hierarchy of users stable system, the mechanism that this cover teaching material file issues can ensure that the server that can not take other institution systems in this organization and system issues ability with the file that maintenance customer is absolute.And issued by waterfall type, actually realize issuing of network segmentation, issue based on file can be realized more efficiently between the server of user in same metropolitan area network.And decompose the concurrent stress problems of server of certain local existed in star-like mode of issuing the documents greatly.
The detailed process of the above-mentioned execution mode of the present invention as shown in Figure 2, can be found out by above execution mode, data are issued to each Lower Establishment server from central server by the present invention step by step, finally be issued to the parent server belonging to client machine, because client machine and its parent server are usually located in same local area network (LAN), therefore the present invention can improve the speed carrying out before user uses downloading, reduce the pressure of central server simultaneously, be specially adapted to the occasion that data volume is large, network environment is not good.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technology thereof, these improve or distortion all drops in protection scope of the present invention.

Claims (8)

1. a method for the data distributing of waterfall type, comprises the following steps:
(1) central server generates data distributing task to each authority server;
(2) authority server is got data distributing task from central server and is controlled to download according to tasks carrying; Described tasks carrying controls to carry out by the following method:
A) set up download queue at central server, and download limit is set;
B), after each authority server starts downloading task, downloading queue linking number increases by 1;
C) authority server has downloaded rear report central server, downloads queue linking number and reduces 1;
D) after download queue reaches the upper limit, follow-up each authority server is then no longer carried out connection and is downloaded;
(3) authority server has been downloaded to its parent body's server and central server task of reporting;
(4) the data distributing task downloaded is destroyed.
2. the method for the data distributing of a kind of waterfall type as claimed in claim 1, is characterized in that, the data distributing task described in step (1) generates in the following manner:
1) background management system by certain data grant to authority server;
2) after data upload completes, then generate data distributing task to authorized all authority server.
3. the method for the data distributing of a kind of waterfall type as claimed in claim 2, is characterized in that: if after authorized authority server migration, then regenerate the data distributing task of this authority server and all mandates of all clamp mechanism servers thereof; Described server migration refers to that server code changes.
4. the method for the data distributing of a kind of waterfall type as described in as arbitrary in claims 1 to 3, is characterized in that: the download described in step (2) is carried out in the steps below:
1) client initiates the request of data download address to central server;
2) central server queries downloading task being handled as follows:
If the authority server at this client place does not inquire the downloading task of current required downloading data in task list, then first download this data to its parent body's server, if failed download, download this data to central server; If this client institution where he works server inquires the downloading task of current required downloading data in task list, then download this data to central server.
5. the method for the data distributing of a kind of waterfall type as described in as arbitrary in claims 1 to 3, is characterized in that: in step (2), each authority server gets the data distributing task of mechanism server and all clamp mechanism servers thereof to its parent server according to tree hierarchy.
6. the method for the data distributing of a kind of waterfall type as described in as arbitrary in claims 1 to 3, it is characterized in that: in step (2), downloading process initiates download request by the direct clamp mechanism server of central server to central server, other authority server all initiate download request to its immediate superior server.
7. the method for the data distributing of a kind of waterfall type as described in as arbitrary in claims 1 to 3, is characterized in that: in step (4), and the method that described task is destroyed is:
1) central server destroy current facility server and with other authority server of the same station server of current facility server carry all downloading task for these data;
2) parent body's server destroy current facility server and with other authority server of the same station server of current facility server carry all downloading task for these data.
8. the system of the data distributing of a waterfall type, comprise central server and authority server, it is characterized in that: central server generates data distributing task by task generation module to each authority server, authority server gets data downloading task by tasks carrying control module, and downloaded by client downloads module, report central server after download completes, central server is destroyed module by task and having downloaded of task is destroyed; The mode that tasks carrying control module carries out downloading is:
A) set up download queue at central server, and download limit is set;
B), after each authority server starts downloading task, downloading queue linking number increases by 1;
C) authority server has downloaded rear report central server, downloads queue linking number and reduces 1;
D) after download queue reaches the upper limit, follow-up each authority server is then no longer carried out connection and is downloaded.
CN201110432249.6A 2011-12-21 2011-12-21 A kind of method and system of data distributing of waterfall type Active CN103179150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110432249.6A CN103179150B (en) 2011-12-21 2011-12-21 A kind of method and system of data distributing of waterfall type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110432249.6A CN103179150B (en) 2011-12-21 2011-12-21 A kind of method and system of data distributing of waterfall type

Publications (2)

Publication Number Publication Date
CN103179150A CN103179150A (en) 2013-06-26
CN103179150B true CN103179150B (en) 2016-04-06

Family

ID=48638773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110432249.6A Active CN103179150B (en) 2011-12-21 2011-12-21 A kind of method and system of data distributing of waterfall type

Country Status (1)

Country Link
CN (1) CN103179150B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801727A (en) * 2005-01-07 2006-07-12 腾讯科技(深圳)有限公司 Network service information processing system and method
CN101345690A (en) * 2007-07-12 2009-01-14 中国电信股份有限公司 Contents grading memory of telecommunication level P2P network and transmission method
CN101534204A (en) * 2008-03-10 2009-09-16 中国网通集团宽带业务应用国家工程实验室有限公司 Streaming media information distribution system and method thereof and user end
CN102158475A (en) * 2011-02-22 2011-08-17 山东大学 System architecture based on student dormitory passageway system and system data synchronization method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801727A (en) * 2005-01-07 2006-07-12 腾讯科技(深圳)有限公司 Network service information processing system and method
CN101345690A (en) * 2007-07-12 2009-01-14 中国电信股份有限公司 Contents grading memory of telecommunication level P2P network and transmission method
CN101534204A (en) * 2008-03-10 2009-09-16 中国网通集团宽带业务应用国家工程实验室有限公司 Streaming media information distribution system and method thereof and user end
CN102158475A (en) * 2011-02-22 2011-08-17 山东大学 System architecture based on student dormitory passageway system and system data synchronization method thereof

Also Published As

Publication number Publication date
CN103179150A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN102710814B (en) The control method of virtual machine IP address and device
CN100461097C (en) Side-by-side drivers
US11206316B2 (en) Multiple model injection for a deployment cluster
CN105553741A (en) Automatic deployment method for application system based on cloud computing
ES2148957T3 (en) METHOD AND APPARATUS FOR THE CONTROL OF FLOW MANAGED BY THE CUSTOMER IN A COMPUTER SYSTEM WITH LIMITED MEMORY.
CN103064703B (en) Use quick application flow transmission stage by stage as required
CN1668010A (en) Tag-based schema for distributing update metadata in an update distribution system
CN103984573A (en) Installation method and device of application program
US20090055817A1 (en) Software update syndication
US10671376B2 (en) Server program hot upgrading method and device
US9912747B2 (en) Browser and system for download and download method
US20080163199A1 (en) Multi-product package creation and editing
CN103716188B (en) The management of Linux server cluster management and maintaining method
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
CN106911729A (en) A kind of operating system remote installation method suitable for domestic processor
CN103019791A (en) Software deploying method and system
CN103327108A (en) Cross-platform software management platform based on cloud and construction method thereof
CN104268156A (en) Website management system and method
CN103631869A (en) Method and device for releasing access pressure of server-side database
CN109684028B (en) Method, device and equipment for separating operating system from user data
CN102231163A (en) System and method for synchronously and preferentially updating specified file
CN111158752A (en) SAAS multi-version control system and use method thereof
CN103179150B (en) A kind of method and system of data distributing of waterfall type
US9690913B2 (en) License management in a networked software application solution
CN101887612A (en) Terminal application implementing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SICHUAN WENXUAN EDUCATION TECHNOLOGY CO., LTD.

Effective date: 20131023

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131023

Address after: 100044 Beijing city Haidian District gaoliangqiao oblique Street No. 59 Kun building room 701-707

Applicant after: Mainbo Education Technology Co., Ltd.

Applicant after: Sichuan Wenxuan Education Science & Technology Co., Ltd.

Address before: 100044 Beijing city Haidian District gaoliangqiao oblique Street No. 59 Kun building room 701-707

Applicant before: Mainbo Education Technology Co., Ltd.

C14 Grant of patent or utility model
CB02 Change of applicant information

Address after: 100044 Beijing city Haidian District sorghum Bridge No. 59 Kun building room 701-707

Applicant after: MAINBO EDUCATION TECHNOLOGY CO., LTD.

Applicant after: Sichuan Wenxuan Education Science & Technology Co., Ltd.

Address before: 100044 Beijing city Haidian District sorghum Bridge No. 59 Kun building room 701-707

Applicant before: Mainbo Education Technology Co., Ltd.

Applicant before: Sichuan Wenxuan Education Science & Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant