CN107426313A - Data publication method and device - Google Patents

Data publication method and device Download PDF

Info

Publication number
CN107426313A
CN107426313A CN201710605019.2A CN201710605019A CN107426313A CN 107426313 A CN107426313 A CN 107426313A CN 201710605019 A CN201710605019 A CN 201710605019A CN 107426313 A CN107426313 A CN 107426313A
Authority
CN
China
Prior art keywords
data
downloading request
configuration information
user
downloaded
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
CN201710605019.2A
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.)
Beijing Kingsoft Security Management System Technology Co Ltd
Original Assignee
Beijing Kingsoft Security Management System 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 Beijing Kingsoft Security Management System Technology Co Ltd filed Critical Beijing Kingsoft Security Management System Technology Co Ltd
Priority to CN201710605019.2A priority Critical patent/CN107426313A/en
Publication of CN107426313A publication Critical patent/CN107426313A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a kind of data publication method and device.Wherein, this method includes:Data are obtained, wherein, data are the data downloaded for user;Downloading request corresponding to data is obtained, wherein, downloading request is used to indicate the condition for providing a user download service;Matched according to downloading request in the rule being pre-configured with as the configuration information required for reaching downloading request;Data are issued according to configuration information to be downloaded for user.The present invention solves the not high technical problem of file distributing automaticity in correlation technique.

Description

Data publication method and device
Technical field
The present invention relates to the communications field, in particular to a kind of data publication method and device.
Background technology
File distributing depends on file server in correlation technique, and management end is notified that terminal goes to obtain corresponding number According to, and terminal can uniformly be connected to the file server that management end has configured, and to downloading required for file server requests File, thus the above method automaticity in correlation technique is relatively low, it is impossible to meet the needs of user, and this mode pair The requirement of file server is also higher, if file server is erected at outer net, the request of same file can be wasted much from text The identical flow of part server outlet.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
The embodiments of the invention provide a kind of data publication method and device, at least to solve the file in correlation technique point Send out the not high technical problem of automaticity.
One side according to embodiments of the present invention, there is provided a kind of data publication method, including:Data are obtained, wherein, Data are the data downloaded for user;Downloading request corresponding to data is obtained, wherein, downloading request provides a user for instruction The condition of download service;Matched according to downloading request in the rule being pre-configured with to match somebody with somebody confidence required for reaching downloading request Breath;Data are issued according to configuration information to be downloaded for user.
Alternatively, downloading request includes at least one of:It is capable of under the numbers of users of parallel downloading data, each user Carry the minimum bandwidth of data, the maximum bandwidth of each user's downloading data, summation, the different priority users of all download bandwidths The bandwidth range of corresponding downloading data.
Alternatively, issuing data according to configuration information includes:Script corresponding with configuration information is searched according to configuration information; Run Script to issue data, wherein, the script operationally extracting parameter information from configuration information.
Alternatively, in the case where being not matched to configuration information in the rule being pre-configured with according to downloading request, repair Change downloading request.
One side according to embodiments of the present invention, there is provided a kind of data publication device, including:First acquisition module, For obtaining data, wherein, data are the data downloaded for user;Second acquisition module, for obtaining download corresponding to data It is required that wherein, downloading request is used to indicate the condition for providing a user download service;Matching module, for according to downloading request Matching is to reach the configuration information required for downloading request in the rule being pre-configured with;Release module, match somebody with somebody confidence for basis Breath issue data are downloaded for user.
Alternatively, downloading request includes at least one of:It is capable of under the numbers of users of parallel downloading data, each user Carry the minimum bandwidth of data, the maximum bandwidth of each user's downloading data, summation, the different priority users of all download bandwidths The bandwidth range of corresponding downloading data.
Alternatively, release module includes:Searching unit, for searching pin corresponding with configuration information according to configuration information This;Running unit, for Run Script to issue data, wherein, the script operationally extracting parameter information from configuration information.
Alternatively, device also includes:Modified module, for according to downloading request in the rule being pre-configured with without In the case of being fitted on configuration information, downloading request is changed.
One side according to embodiments of the present invention, there is provided a kind of storage medium, storage medium include the program of storage, Wherein, the method for performing any of the above-described when program is run.
One side according to embodiments of the present invention, there is provided a kind of processor, processor are used for operation program, wherein, The method that any of the above-described is performed when program is run.
In embodiments of the present invention, downloading request corresponding to the data downloaded using obtaining for user, according to downloading request Matching is reaches configuration information required for downloading request in the rule being pre-configured with, according to configuration information issue data for The mode that family is downloaded, by based on downloading request matched in the rule being pre-configured with to reach downloading request required for Configuration information issue data mode, reached the purpose of automatic issue data, and then solve the file in correlation technique Distribute the not high technical problem of automaticity.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of data publication method according to embodiments of the present invention;
Fig. 2 is the structured flowchart of data publication device according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
According to embodiments of the present invention, there is provided a kind of embodiment of the method for data publication method is, it is necessary to illustrate, attached The step of flow of figure illustrates can perform in the computer system of such as one group computer executable instructions, though also, So logical order is shown in flow charts, but in some cases, can be with different from shown by order execution herein Or the step of description.
Fig. 1 is the schematic flow sheet of data publication method according to embodiments of the present invention, as shown in figure 1, this method includes Following steps:
Step S102, data are obtained, wherein, data are the data downloaded for user;
Step S104, downloading request corresponding to data is obtained, wherein, downloading request provides a user download clothes for instruction The condition of business;
Step S106, matched according to downloading request in the rule being pre-configured with as the configuration required for reaching downloading request Information;
Step S108, data are issued according to configuration information and are downloaded for user.
Pass through above-mentioned steps, downloading request corresponding to the data downloaded using acquisition for user, according to downloading request pre- Matching is issued data according to configuration information and entered for user to reach the configuration information required for downloading request in the rule first configured The mode that row is downloaded, by based on downloading request matched in the rule being pre-configured with to reach matching somebody with somebody required for downloading request The mode of confidence breath issue data, has reached the purpose of automatic issue data, and then solve the file distributing in correlation technique The not high technical problem of automaticity.
It should be noted that above-mentioned downloading request can include at least one of, but it is not limited to this:Can and it give Carry the number of users of data, the minimum bandwidth of each user's downloading data, each user's downloading data maximum bandwidth, it is all under Carry wide summation, the bandwidth range of downloading data corresponding to different priority users.
In one embodiment of the invention, above-mentioned steps S108 can be shown as:Packet is issued according to configuration information Include:Script corresponding with configuration information is searched according to configuration information;Run Script to issue data, wherein, script is operationally The extracting parameter information from configuration information.This mode can realize the automatic issue of data by script.
Such as be capable of parallel downloading data total number of users be 100, the summation of download bandwidth is 100M bandwidth, then each The maximum bandwidth of user's downloading data is 1M, and above-mentioned downloading request is that the maximum bandwidth of each user's downloading data is 1M, pre- The maximum belt that can be each user's downloading data for the configuration information required for downloading request matched in the rule first configured Width is less than or equal to 1M, then the parameter information extracted from configuration information is 1M, and number is issued by the form of Run Script According to.
In one embodiment of the invention, configuration is being not matched in the rule being pre-configured with according to downloading request In the case of information, downloading request is changed.Such as can by downloading request from the maximum bandwidth of each user's downloading data be 1M The maximum bandwidth for being revised as each user's downloading data is 0.5M, but is not limited to this.
It should be noted that modification downloading request can show as at least one of:Sent out to the source side of downloading request Send the prompt message for prompting the source side to change the downloading request;The downloading request is voluntarily changed, and sends use In indicating the downloading request modified prompt message.
In one embodiment of the invention, before above-mentioned steps S108, the above method can also include:Described in inspection Whether data are correct, in the case of inspection result is correctly, issue data;In the case of inspection result is incorrect, weight It is new to obtain data.
In one embodiment of the invention, after above-mentioned steps S104, the source side of downloading request can also be verified Authority, can specifically show as:Determine whether the downloading request exceedes the authority of the source side of the downloading request, super In the case of crossing, change the claim of the source side to meet the downloading request, or do not perform above-mentioned steps S106 and S108。
It should be noted that the executive agent of above-mentioned steps can be issue machine, wherein, distributed deployment in the issue machine Multiple above-mentioned scripts.
According to embodiments of the present invention, a kind of device embodiment of data publication device is additionally provided, Fig. 2 is according to the present invention The structured flowchart of the data publication device of embodiment, as shown in Fig. 2 the device includes:
First acquisition module 22, for obtaining data, wherein, data are the data downloaded for user;
Second acquisition module 24, it is connected with above-mentioned first acquisition module 22, for obtaining downloading request corresponding to data, its In, downloading request is used to indicate the condition for providing a user download service;
Matching module 26, be connected with above-mentioned second acquisition module 24, for according to downloading request in the rule being pre-configured with Middle matching is to reach the configuration information required for downloading request;
Release module 28, it is connected with above-mentioned matching module 26, is carried out down for issuing data according to configuration information for user Carry.
Pass through said apparatus, downloading request corresponding to the data downloaded using acquisition for user, according to downloading request pre- Matching is issued data according to configuration information and entered for user to reach the configuration information required for downloading request in the rule first configured The mode that row is downloaded, by based on downloading request matched in the rule being pre-configured with to reach matching somebody with somebody required for downloading request The mode of confidence breath issue data, has reached the purpose of automatic issue data, and then solve the file distributing in correlation technique The not high technical problem of automaticity.
It should be noted that above-mentioned downloading request can include at least one of, but it is not limited to this:Can and it give Carry the number of users of data, the minimum bandwidth of each user's downloading data, each user's downloading data maximum bandwidth, it is all under Carry wide summation, the bandwidth range of downloading data corresponding to different priority users.
In one embodiment of the invention, above-mentioned release module 28 can include:Searching unit, match somebody with somebody confidence for basis Breath searches script corresponding with configuration information;Running unit, it is connected with above-mentioned searching unit, for Run Script to issue number According to, wherein, the script operationally extracting parameter information from configuration information.
Such as be capable of parallel downloading data total number of users be 100, the summation of download bandwidth is 100M bandwidth, then each The maximum bandwidth of user's downloading data is 1M, and above-mentioned downloading request is that the maximum bandwidth of each user's downloading data is 1M, pre- The maximum belt that can be each user's downloading data for the configuration information required for downloading request matched in the rule first configured Width is less than or equal to 1M, then the parameter information extracted from configuration information is 1M, and number is issued by the form of Run Script According to.
In one embodiment of the invention, said apparatus can also include:Modified module, connect with above-mentioned matching module 26 Connect, in the case where being not matched to configuration information in the rule being pre-configured with according to downloading request, modification is downloaded will Ask.For example downloading request can be revised as each user's downloading data from the maximum bandwidth of each user's downloading data for 1M Maximum bandwidth is 0.5M, but is not limited to this.
It should be noted that above-mentioned modified module can show as at least one of:Sent out to the source side of downloading request Send the prompt message for prompting the source side to change the downloading request;The downloading request is voluntarily changed, and sends use In indicating the downloading request modified prompt message.
In one embodiment of the invention, said apparatus can also include:Detection module, connect with above-mentioned release module 28 Connect, for checking whether the data are correct, in the case of inspection result is correctly, the release module 28 issues data; In the case of inspection result is incorrect, first acquisition module 22 reacquires data.
In one embodiment of the invention, said apparatus can also be verified after downloading request corresponding to data is obtained The authority of the source side of downloading request, it can specifically show as, said apparatus can also include:Determining module, with above-mentioned second Acquisition module 24 connects, for determine the downloading request whether exceed the downloading request source side authority, more than In the case of, above-mentioned modified module changes the claim of the source side to meet the downloading request, or above-mentioned matching module 26 and above-mentioned release module 28 do not perform corresponding function.
It should be noted that said apparatus can be located at issue machine in, wherein, in the issue machine distributed deployment it is multiple on State script.
Embodiments of the invention additionally provide a kind of storage medium, and the storage medium includes the program of storage, wherein, it is above-mentioned The method described in any of the above-described is performed when program is run.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard Disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
Embodiments of the invention additionally provide a kind of processor, and the processor is used for operation program, wherein, program operation Step in Shi Zhihang any of the above-described methods.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, Ke Yiwei A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

  1. A kind of 1. data publication method, it is characterised in that including:
    Data are obtained, wherein, the data are the data downloaded for user;
    Downloading request corresponding to the data is obtained, wherein, the downloading request is used to indicate to provide a user download service Condition;
    Matched according to the downloading request in the rule being pre-configured with as the configuration information required for reaching the downloading request;
    The data are issued according to the configuration information to be downloaded for user.
  2. 2. according to the method for claim 1, it is characterised in that the downloading request includes at least one of:Can be simultaneously Give the number of users for carrying the data, each user downloads the minimum bandwidth of the data, each user downloads the data Maximum bandwidth, the summation of all download bandwidths, the bandwidth range that the data are downloaded corresponding to different priority users.
  3. 3. according to the method for claim 1, it is characterised in that issuing the data according to the configuration information includes:
    Script corresponding with the configuration information is searched according to the configuration information;
    The script is run to issue the data, wherein, the script operationally extracting parameter from the configuration information Information.
  4. 4. according to the method in any one of claims 1 to 3, it is characterised in that according to the downloading request advance In the case of the configuration information is not matched in the rule of configuration, the downloading request is changed.
  5. A kind of 5. data publication device, it is characterised in that including:
    First acquisition module, for obtaining data, wherein, the data are the data downloaded for user;
    Second acquisition module, for obtaining downloading request corresponding to the data, wherein, the downloading request be used for indicate to Family provides the condition of download service;
    Matching module, for matched according to the downloading request in the rule being pre-configured be reach the downloading request needed for The configuration information wanted;
    Release module, it is downloaded for issuing the data according to the configuration information for user.
  6. 6. device according to claim 5, it is characterised in that the downloading request includes at least one of:Can be simultaneously Give the number of users for carrying the data, each user downloads the minimum bandwidth of the data, each user downloads the data Maximum bandwidth, the summation of all download bandwidths, the bandwidth range that the data are downloaded corresponding to different priority users.
  7. 7. device according to claim 5, it is characterised in that the release module includes:
    Searching unit, for searching script corresponding with the configuration information according to the configuration information;
    Running unit, for running the script to issue the data, wherein, the script operationally matches somebody with somebody confidence from described Extracting parameter information in breath.
  8. 8. the device according to any one of claim 5 to 7, it is characterised in that described device also includes:Modified module, For in the case where being not matched to the configuration information in the rule being pre-configured with according to the downloading request, changing institute State downloading request.
  9. A kind of 9. storage medium, it is characterised in that the storage medium includes the program of storage, wherein, when described program is run Method any one of perform claim requirement 1 to 4.
  10. A kind of 10. processor, it is characterised in that the processor is used for operation program, wherein, right of execution when described program is run Profit requires the method any one of 1 to 4.
CN201710605019.2A 2017-07-21 2017-07-21 Data publication method and device Pending CN107426313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710605019.2A CN107426313A (en) 2017-07-21 2017-07-21 Data publication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710605019.2A CN107426313A (en) 2017-07-21 2017-07-21 Data publication method and device

Publications (1)

Publication Number Publication Date
CN107426313A true CN107426313A (en) 2017-12-01

Family

ID=60429990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710605019.2A Pending CN107426313A (en) 2017-07-21 2017-07-21 Data publication method and device

Country Status (1)

Country Link
CN (1) CN107426313A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854745A (en) * 2009-04-02 2010-10-06 中兴通讯股份有限公司 Transmission method of software version and device thereof
CN101997891A (en) * 2009-08-28 2011-03-30 华为技术有限公司 Method, device and system for allocating P2P media stream
CN103457960A (en) * 2012-05-15 2013-12-18 腾讯科技(深圳)有限公司 Method and system for loading file in webpage game
CN103686346A (en) * 2013-12-26 2014-03-26 乐视网信息技术(北京)股份有限公司 Video playing unsmoothness switching method and system
CN103686448A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Video transcoding download speed limiting method and system
US20150254056A1 (en) * 2014-03-10 2015-09-10 JamKazam, Inc. Track based music management server and related methods for interactive music systems
CN105430065A (en) * 2015-11-05 2016-03-23 清华大学 Downloading optimization method and system
CN106161570A (en) * 2015-04-24 2016-11-23 阿里巴巴集团控股有限公司 Document down loading method based on page script, device, server group and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854745A (en) * 2009-04-02 2010-10-06 中兴通讯股份有限公司 Transmission method of software version and device thereof
CN101997891A (en) * 2009-08-28 2011-03-30 华为技术有限公司 Method, device and system for allocating P2P media stream
CN103457960A (en) * 2012-05-15 2013-12-18 腾讯科技(深圳)有限公司 Method and system for loading file in webpage game
CN103686448A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Video transcoding download speed limiting method and system
CN103686346A (en) * 2013-12-26 2014-03-26 乐视网信息技术(北京)股份有限公司 Video playing unsmoothness switching method and system
US20150254056A1 (en) * 2014-03-10 2015-09-10 JamKazam, Inc. Track based music management server and related methods for interactive music systems
CN106161570A (en) * 2015-04-24 2016-11-23 阿里巴巴集团控股有限公司 Document down loading method based on page script, device, server group and system
CN105430065A (en) * 2015-11-05 2016-03-23 清华大学 Downloading optimization method and system

Similar Documents

Publication Publication Date Title
CN106155742B (en) Component updates processing method and processing device
CN110347501A (en) A kind of service testing method, device, storage medium and electronic equipment
CN108600300A (en) Daily record data processing method and processing device
CN106407002B (en) Data processing task executes method and apparatus
CN110276060A (en) The method and device of data processing
CN108090091A (en) Web page crawl method and apparatus
CN108304426A (en) The acquisition methods and device of mark
CN107369055A (en) The picking distribution method and device of order messages
CN106326339A (en) Task allocating method and device
CN109246178B (en) Online title distribution method and device, server and storage medium
CN111273995A (en) Safety scheduling method and system for virtual micro-isolation network
CN111444077A (en) Method and device for generating flow node test data
CN105872082B (en) Fine granularity resource response system based on container cluster load-balancing algorithm
CN110162959A (en) Data processing method and device based on device-fingerprint
CN109067645B (en) Network element equipment connected with NFV virtual security gateway
CN106681760A (en) Transaction processing method and device based on client engineering project management system
CN109087139A (en) Advertisement placement method and device for feed stream
CN108228355A (en) Task processing method and device, method for scheduling task and device
CN107979683B (en) Terminal applies control method, apparatus and system
CN107426313A (en) Data publication method and device
CN106445683B (en) A kind of server resource distribution method and device
CN108279970A (en) The switching method and apparatus of browser kernel
CN105959361A (en) Task distribution method, task distribution device, and task distribution system
CN107045452A (en) Dispatching method of virtual machine and device
CN109446030A (en) A kind of behavior monitoring method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171201

RJ01 Rejection of invention patent application after publication