CN103179150A - Waterfall type data issuing method and system - Google Patents

Waterfall type data issuing method and system Download PDF

Info

Publication number
CN103179150A
CN103179150A CN2011104322496A CN201110432249A CN103179150A CN 103179150 A CN103179150 A CN 103179150A CN 2011104322496 A CN2011104322496 A CN 2011104322496A CN 201110432249 A CN201110432249 A CN 201110432249A CN 103179150 A CN103179150 A CN 103179150A
Authority
CN
China
Prior art keywords
server
task
data
download
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.)
Granted
Application number
CN2011104322496A
Other languages
Chinese (zh)
Other versions
CN103179150B (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
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 MAINBO EDUCATION TECHNOLOGY Co Ltd filed Critical MAINBO EDUCATION 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

Images

Abstract

The invention discloses a waterfall type data issuing method and system and relates to the technical field of information digitization processing, wherein data are placed in a center server, and the waterfall type data issuing method and system are applied to a star-shaped distribution system. The waterfall type data issuing method includes that the data are placed in the center server, synchronized to each lower layer mechanism server step by step and finally issued to tail end servers which client sides are directly subordinated to. According to the waterfall type data issuing method and system, the client sides can download data from the servers which the client sides are directly subordinated to in a local area network generally, and accordingly downloading speed can be improved and downloading pressure of the center server can be greatly reduced.

Description

A kind of method and system of data distributing of waterfall type
Technical field
The present invention relates to the information digitalization processing technology field, relate in particular to the method and system of the data distributing of the waterfall type that a kind of data placement uses in distributed system central server, star-like.
Background technology
In distributed system, hub-and-spoke configuration is a kind of structure commonly used, and typically, being on root is central server, and being on 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 with data placement on central server, each client need to be used these data.For example in a multimedia education system, the electronic teaching material file is placed on central server, and the end users such as teacher use client, client directly under higher level's server be called school level server.Generally, client machine and school level server all are positioned at same local area network (LAN).
In above-mentioned multimedia education system, the client user, waiting such as teacher need to be in client downloads, use these books.In the field research application process, very high to opening the interactivity requirement of real-time that electronic teaching material operates etc., therefore before continuing field research, teaching material need to be downloaded on client machine, is ready to be used in this locality.If the mode that adopts client directly to download from central server, in the not good situation of network condition, downloading needs for a long time, and central server pressure server stress can be very large.
Summary of the invention
For existing defective in prior art, the object of the present invention is to provide a kind of method and system of data distributing of waterfall type that can improve speed of download and reduce simultaneously the pressure of central server.
For achieving the above object, the technical solution used in the present invention is:
A kind of method of data distributing of waterfall type comprises the following steps:
(1) central server issues task for each authority server generated data;
(2) authority server is got the data distributing task and controls according to tasks carrying and download from central server;
(3) authority server is completed to its parent body's server and the download of central server report task;
(4) will download the data distributing task of completing destroys.
Further, the data distributing task described in step (1) generates in the following manner:
1) background management system with certain data grant to authority server;
2) after data upload is completed, issue task for all authority server generated datas that are authorized to.
Further, if after the authority server that is authorized to migration, regenerate the data distributing task of this authority server and all mandates of clamp mechanism server thereof; Described server migration refers to that the server code changes.
Further, the tasks carrying described in step (2) is controlled by carrying out with method:
1) set up the download formation at central server, and download limit is set;
2) after each startup of server downloading task, downloading the formation linking number increases by 1;
3) report central server after authority server is downloaded and completed is downloaded the formation linking number and is reduced 1;
4) after the download formation reached the upper limit, follow-up each server no longer connected download.
Further, the download described in step (2) is carried out in the steps below:
1) client is initiated the request of data download address to central server;
2) central server inquiry downloading task:
If the authority server at this client place does not inquire the downloading task of current required downloading data in task list, 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, download this data to central server.
Further, in step (2), each authority server is got the data distributing task of this mechanism server and all clamp mechanism servers thereof to its higher level's server according to tree-like level.
Further, in step (2), downloading process is to initiate download request by the direct clamp mechanism server of central server to central server, and other authority server are all initiated download request to its immediate superior server.
Further, in step (4), the method that described task is destroyed is:
1) central server destroy current authority server and with other authority server of the same station server of current authority server carry all downloading task for these data;
2) parent body's server destroy current authority server and with other authority server of the same station server of current authority 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 issues task for each authority server generated data by the task generation module, authority server is got the data downloading task by the tasks carrying control module, and download by the client downloads module, report central server after download is completed, central server is destroyed module by task and will be downloaded completing of task and destroy.
effect of the present invention is: adopt the method for the invention and system, due to books before finally being downloaded to client, the mode that issues by waterfall type, book file is downloaded on higher level's server (school level server) under this client in advance, and, due to client thereon a level school level server almost always be in same local area network (LAN), therefore client is downloaded in local area network (LAN) and can be obtained higher speed of download, and can very significantly alleviate the download pressure of central server to satisfy the demand of user and system applies itself.Therefore, the present invention can improve client downloads speed, alleviate central server download pressure.
Description of drawings
Fig. 1 is the main flow chart 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 that issues to client is:
(1) license to the teaching material file of authority server;
(2) the teaching material file after the teaching material that licenses to authority server is updated again.
In the present embodiment, a kind of system that realizes the data distributing of waterfall type, comprise central server and authority server, central server issues task for each authority server generated data by the task generation module, authority server is got the data downloading task by the tasks carrying control module, and download by the client downloads module, download complete after the report central server, central server is destroyed module by task and will be downloaded completing of task and destroy.
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 for each authority server and issues task, each authority server is got the data distributing task of this mechanism server and all clamp mechanism servers (comprising direct, indirect clamp mechanism) thereof to its higher level's server according to tree-like level, see step S11;
In this implementation column, the method that the 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 the central server code, generates teaching material and issue task;
If after the authority server that is authorized to migration, regenerate the data distributing task of this authority server and all mandates of clamp mechanism server thereof; Described server migration refers to that the server code changes;
2) after the teaching material File Upload is completed, generate teaching material for all authority server that are authorized to and issue task;
(2) authority server is got teaching material from central server and is issued task and control according to tasks carrying and download, and sees step S12;
In the present embodiment, downloading process is to initiate download request by the direct clamp mechanism server of central server to central server, and other authority server are all initiated download request to its immediate superior server;
The concrete grammar of client downloads is:
1) client is initiated the request of teaching material download address to central server;
2) central server is inquired about downloading task and is handled as follows:
If this client user institution where he works server does not inquire the downloading task of current required download teaching material in task list, 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 downloading task of current required download teaching material in task list, download this teaching material to central server.
In the present embodiment, the method that control is downloaded according to tasks carrying is:
1) set up the download formation at central server, and download limit is set;
2) each authority server is downloaded central server formation linking number increase 1 after starting the downloading task request;
3) after the download formation reached the upper limit, follow-up each authority server did not connect download;
4) after authority server is downloaded and completed, the report central server will be downloaded formation linking number minimizing 1.
(3) download and to complete backward parent body server and central server report task and download and complete, see step S13;
(4) will download the data distributing task of completing and destroy, see step S14;
Central server has been downloaded with the authority server of carry under it data distributing task of completing and has been destroyed, and parent body's server has been downloaded with the authority server of carry under it data distributing task of completing and destroyed.
In the present embodiment, the method that described task is destroyed is:
1) central server destroy current authority server and with other authority server of the same station server of current authority server carry all downloading task for these data;
2) parent body's server destroy current authority server and with other authority server of the same station server of current authority server carry all downloading task for these data.
Obviously, the present invention is fit to the 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 guarantee that the server that can not take other institution systems in this organization and system issues ability with the absolute file of maintenance customer.And issue by waterfall type, actually realize issuing of network segmentation, based on realizing more efficiently between the server of user in same metropolitan area network that file issues.And decomposed greatly the concurrent stress problems of certain local server that exists in star-like mode of issuing the documents.
The detailed process of the above-mentioned execution mode of the present invention as shown in Figure 2, can find out by above execution mode, the present invention is issued to each Lower Establishment server with data step by step from central server, finally be issued to higher level's server that client machine belongs to, because client machine and its higher level's server are usually located in same local area network (LAN), therefore the present invention can improve the speed of downloading before the user uses, reduced simultaneously the pressure of central server, be specially adapted to that data volume is large, the not good occasion of network environment.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of claim of the present invention and equivalent technology thereof, these improvement or be out of shape and all drop in protection scope of the present invention.

Claims (9)

1. the method for the data distributing of a waterfall type comprises the following steps:
(1) central server issues task for each authority server generated data;
(2) authority server is got the data distributing task and controls according to tasks carrying and download from central server;
(3) authority server is completed to its parent body's server and the download of central server report task;
(4) will download the data distributing task of completing destroys.
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 with certain data grant to authority server;
2) after data upload is completed, issue task for all authority server generated datas that are authorized to.
3. the method for the data distributing of a kind of waterfall type as claimed in claim 2, is characterized in that: if after the authority server that is authorized to migration, regenerate the data distributing task of this authority server and all mandates of clamp mechanism server thereof; Described server migration refers to that the server code changes.
4. the method for the data distributing of a kind of waterfall type as claimed in claim 1 is characterized in that: the tasks carrying described in step (2) is controlled by carrying out with method:
A) set up the download formation at central server, and download limit is set;
B) after each authority server started downloading task, downloading the formation linking number increased by 1;
C) report central server after authority server is downloaded and completed is downloaded the formation linking number and is reduced 1;
D) after the download formation reached the upper limit, follow-up each authority server no longer connected download.
5. as the method for the data distributing of the arbitrary described a kind of waterfall type of claim 1 to 4, it is characterized in that: the download described in step (2) is carried out in the steps below:
1) client is initiated the request of data download address to central server;
2) central server is inquired about downloading task and is 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, 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, download this data to central server.
6. as the method for the data distributing of the arbitrary described a kind of waterfall type of claim 1 to 4, it is characterized in that: in step (2), each authority server is got the data distributing task of this mechanism server and all clamp mechanism servers thereof to its higher level's server according to tree-like level.
7. as the method for the data distributing of the arbitrary described a kind of waterfall type of claim 1 to 4, it is characterized in that: in step (2), downloading process is to initiate download request by the direct clamp mechanism server of central server to central server, and other authority server are all initiated download request to its immediate superior server.
8. as the method for the data distributing of the arbitrary described a kind of waterfall type of claim 1 to 4, it is characterized in that: in step (4), the method that described task is destroyed is:
1) central server destroy current authority server and with other authority server of the same station server of current authority server carry all downloading task for these data;
2) parent body's server destroy current authority server and with other authority server of the same station server of current authority server carry all downloading task for these data.
9. the system of the data distributing of a waterfall type, comprise central server and authority server, it is characterized in that: central server issues task by the task generation module to each authority server generated data, authority server is got the data downloading task by the tasks carrying control module, and download by the client downloads module, report central server after download is completed, central server is destroyed module by task and will be downloaded completing of task and destroy.
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 true CN103179150A (en) 2013-06-26
CN103179150B 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
CN103179150B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
US8612393B2 (en) Application server provisioning system and method based on disk image profile
CN105893115B (en) The method and system of differentiation deployment virtual machine
CN105553741A (en) Automatic deployment method for application system based on cloud computing
DE69702708D1 (en) METHOD AND DEVICE FOR CLIENT-MANAGED FLOW CONTROL IN A COMPUTER SYSTEM WITH LIMITED STORAGE
CN102710814A (en) Method and device for controlling Internet protocol (IP) address of virtual machine
CN1668010A (en) Tag-based schema for distributing update metadata in an update distribution system
WO2005119494A3 (en) Transaction based virtual file system optimized for high-latency network connections
CN103078965B (en) The IP address management method of virtual machine
CN103984573A (en) Installation method and device of application program
CN103019791A (en) Software deploying method and system
CN103716188B (en) The management of Linux server cluster management and maintaining method
CN102760084B (en) Management method of application data, method for partitioning application storage space, on-line application system and application device
CN104601367A (en) AD domain based virtual desktop management method
CN103916374A (en) Service gated launch method and device
CN111158752A (en) SAAS multi-version control system and use method thereof
CN106708573A (en) System and method used for automatic installation of Hadoop cluster
CN112235371A (en) System and method for mounting network disk on cloud desktop based on distributed storage
CN105159974A (en) Method for automatically generating cross-data-source web service
CN101146111B (en) A file download method and device
CN103179150A (en) Waterfall type data issuing method and system
US9690913B2 (en) License management in a networked software application solution
CN102546837A (en) Virtual host input-output redirection system and implementation method thereof
US20180357230A1 (en) Implementation method of interlinked document
CN104301366A (en) Mobile police service application management and control system
CN102650942B (en) A kind of method of install driver and electronic equipment

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