CN106850707A - Method, apparatus and system that material batch is uploaded - Google Patents

Method, apparatus and system that material batch is uploaded Download PDF

Info

Publication number
CN106850707A
CN106850707A CN201510880756.4A CN201510880756A CN106850707A CN 106850707 A CN106850707 A CN 106850707A CN 201510880756 A CN201510880756 A CN 201510880756A CN 106850707 A CN106850707 A CN 106850707A
Authority
CN
China
Prior art keywords
batch
task
uploaded
biography
recipient
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
CN201510880756.4A
Other languages
Chinese (zh)
Other versions
CN106850707B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510880756.4A priority Critical patent/CN106850707B/en
Publication of CN106850707A publication Critical patent/CN106850707A/en
Application granted granted Critical
Publication of CN106850707B publication Critical patent/CN106850707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses method, apparatus and system that a kind of material batch is uploaded, it is related to Internet technical field, is invented to solve the problems, such as material batch upload cost of labor high.The method of the present invention includes:The material that receiving front-end is reported batch biography task, material batch biography task includes material data to be uploaded;When the uplink time that material batch biography task is indicated is reached, passed according to the material batch of material recipient and required, material data is divided into multiple material batches;Multiple material batches are uploaded to material recipient;Forward end returns to material batch and passes result.Journey is transmitted through present invention is mainly applied to the material batch towards advertisement launching platform.

Description

Method, apparatus and system that material batch is uploaded
Technical field
The present invention relates to Internet technical field, more particularly to method, the dress that a kind of material batch is uploaded Put and system.
Background technology
Material can refer to Internet advertising material, can be specifically the content represented in advertisement, substantially Material form be word, picture, the material of Flash types;Can also be media material, such as user Customed material that demand input HTML or javascript codes according to oneself are produced etc..
Search engine marketing (Search Engine Marketing, abbreviation SEM) is fluffy by recent years The exhibition of breaking out, has become the important channel that numerous enterprises obtain efficient output.Sought as third party's numeral Pin company or possess mass advertising deliver demand enterprise, they generally possess meet external client or The SEM off-line systems of own service scene.Although wherein each variant, the batch operation of material A function necessarily common basic sexual function.Material batch operation mainly repair by the batch including material Change and batch is newly-increased.
During batch operation needs user that material data pasted into designated area by batch, and upload manually To media platform, whole upload procedure needs user's whole process on duty.By media platform disposal ability system About, the time that a collection of material data is uploaded is generally more long, and user can only upload a batch materials Next group material data is uploaded after data again.Therefore when the data volume of material data reaches hundreds of thousands very During to millions of scales, uplink time can be reached as long as a few hours, and cost of labor is very high.
The content of the invention
Method, apparatus and system that the material batch that the present invention is provided is uploaded, can solve the problem that material batch is passed The problem of labor intensive cost.
To solve the above problems, on the one hand, the invention provides the method that a kind of material batch is uploaded, The method includes:
The material that receiving front-end is reported batch biography task, material batch biography task includes needs thing to be uploaded Material data;
When the uplink time that material batch biography task is indicated is reached, passed according to the material batch of material recipient It is required that, material data is divided into multiple material batches;
Multiple material batches are uploaded to material recipient;
Forward end returns to material batch and passes result.
On the other hand, present invention also offers the device that a kind of material batch is uploaded, the device includes:
Receiving unit, for the material batch biography task that receiving front-end is reported, material batch biography task includes Material data to be uploaded;
Material processing unit, for when the uplink time that material batch biography task is indicated is reached, according to thing Expect that the material batch of recipient is passed to require, material data is divided into multiple material batches;
Uploading unit, for multiple material batches to be uploaded into material recipient;
Returning unit, returns to material batch and passes result for forward end.
Another further aspect, present invention also offers the system that a kind of material batch is uploaded, the system includes:
Front end and service end;
Front end, for creating material batch biography task, is added to material data to be uploaded material batch and passes In task, the uplink time of material data is specified, and material batch biography task is reported to service end;
Service end, for when uplink time is reached, being passed according to the material batch of material recipient and being required, Material data is divided into multiple material batches, multiple material batches are uploaded to material recipient, and Forward end returns to material batch and passes result.
Method, apparatus and system that the material batch that the present invention is provided is uploaded, can be passed with material batch and appointed The form of business needs the material data for uploading to be uploaded automatically front end, and material data is uploaded Result returns to front end.User only needs to disposably provide material data to be uploaded in the present invention, and Material uplink time is set, and follow-up material batch is transmitted through journey and all gives service end to perform.With it is existing There is technology to compare, the present invention batch is transmitted through that Cheng Jinhang whole process is on duty without user to material, and it is right to reduce The occupancy of user time, reduces the cost of labor that material batch is passed.
Described above is only the general introduction of technical solution of the present invention, of the invention in order to better understand Technological means, and being practiced according to the content of specification, and in order to allow it is of the invention above-mentioned and Other objects, features and advantages can become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for Those of ordinary skill in the art will be clear understanding.Accompanying drawing is only used for showing the mesh of preferred embodiment , and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol Number represent identical part.In the accompanying drawings:
Fig. 1 shows the flow chart of the method that a kind of material batch provided in an embodiment of the present invention is uploaded;
Fig. 2 shows the flow chart of the method that another material batch provided in an embodiment of the present invention is uploaded;
Fig. 3 shows the structural representation of the device that a kind of material batch provided in an embodiment of the present invention is uploaded Figure;
Fig. 4 shows that the structure of the device that another material batch provided in an embodiment of the present invention is uploaded is shown It is intended to;
Fig. 5 shows the structural representation of the system that a kind of material batch provided in an embodiment of the present invention is uploaded Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure Without that should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure Personnel.
Present embodiments provide a kind of method that material batch is uploaded.Fig. 1 is refer to, it illustrates this reality A kind of flow chart of the method for material batch upload of example offer is provided.As shown in figure 1, on material batch The method of biography may comprise steps of:
101st, the material that receiving front-end is reported batch biography task, material batch biography task includes thing to be uploaded Material data.
Material data in the present embodiment is disposably to be supplied to service end in the form of material batch biography task Processed.Front end needs to create material batch biography task, by material data whole to be uploaded It is added in task.It is so-called whole material datas are added to material batch biography task to include, by material During data are added to task in the form of the data file, will data content be added in task in itself. Also include being added to the store path of data file in task, service end is performing material batch biography task When corresponding data file is searched by the store path.
In addition, when front end also needs to that according to the setting of operating personnel the upload that material batch is passed will be started Between be sent to service end, the uplink time can be added in the status attribute in material batch tasks, As single configuration parameter service end can also be uploaded to independently of material batch biography task.Uplink time Set according to actual needs by operating personnel, uplink time can be set as " immediately ", or “2015-9-324:00”.Or " 5 hours afterwards " the present embodiment form not to uplink time and interior Appearance carries out concrete restriction.
When front end creates material batch biography task, front end needs to be received by operation interface grasps operating personnel Make following several attribute informations of personnel's input:Task names, media platform type, entity type, Action type, plan execution time and advice method.
Wherein, task names are used to distinguish different materials batch biography task;Media platform refers to that material connects The Platform Type of debit, when to search for website as material recipient, media platform type can be " Baidu search ", " 360 search " etc.;Entity type refers to the type of material data, and the type includes But it is not limited to " keyword ", " intention " and " advertisement ";Action type refers to the task class of the establishment Type, the action type is " material batch is passed " in the present embodiment;The plan execution time is the upper of above-mentioned meaning The biography time, the uplink time is added to material as an attribute of material batch biography task in the present embodiment In batch biography task;Advice method refers to the mode that service end forward end returns to task action result, actual Can be realized using all communication modes for being capable of transfer data information in the prior art in.
For example illustrated to creating material batch biography task below.Assuming that needing to Baidu.com now 5,190,000 commodity prices in standing are updated, and operating personnel are firstly the need of by 5,190,000 new business Product price data is uploaded to www.baidu.com.The attribute information of the material batch biography task that front end creates includes: Task names " third season price updating in 2015 ", media platform type " Baidu search ", entity Type " commodity price ", action type " batch is uploaded ", plans the execution time " 2015-9-324:00 ", Advice method " FLASH pop-ups ".Then the material data of 5,900,000 commodity prices is stored in funny It is imported into the task in number separation value (Comma-Separated Values, abbreviation CSV) file, Complete the establishment of material batch biography task.
102nd, when the uplink time that material batch biography task is indicated is reached, according to the material of material recipient Criticize to pass and require, material data is divided into multiple material batches.
Service end checks the uplink time that front end is set, if reached after material batch biography task is obtained To uplink time, then the material batch biography task is performed, the material data in csv file is uploaded in batches.
Generally, different media platforms can limit what is uploaded per batch according to the data-handling capacity of itself Material data quantity, so if disposably uploading excessive material data, then at media platform side The time for managing this batch materials data can be long, under extreme case, it is also possible to cause network congestion or Media platform server crash.In the prior art, operating personnel need to be wanted according to the quantity of media platform Ask and decide in its sole discretion and carry out batch division, and in the present embodiment, operating personnel are only needed to whole Material data is disposably added in material batch biography task, be to the upload procedure in batches of material data by What service end was automatically performed, it is concerned about without operating personnel.
The material batch that service end pre-saves different media platforms passes requirement, at least specifies in the requirement The maximum quantity of each batches data, such as 5000;Other information can with but be not limited to Regulation uploads the time of material data, uploads per minimum interval between batch materials data etc..This A little materials batch pass requirement and can be obtained by exterior arrangement, when the material batch biography of media platform requires to become During change, the material batch that can be preserved with manual or automatic renewal service end is passed and required.
After whole material datas are obtained from csv file, service end is according to each batches data Maximum quantity, batch is divided to whole material datas, obtain multiple material batches, each of which batch Secondary material data quantity is not more than the maximum quantity.
103rd, multiple material batches are uploaded to material recipient.
After material batch is divided, service end can be according to certain upload sequentially by multiple material batches It is uploaded to material recipient, i.e. media platform.The upload order of material batch can be according to multiple rule It is determined that, relatively conventional ordering rule is that the sequencing divided according to material batch is uploaded.
104th, forward end returns to material batch and passes result.
After all materials batch has been uploaded, service end forward end returns to material batch and passes result, the result Can be " material batch is passed and completed ", when upload is interrupted because of network link or other reasonses, the result Can be " batch crossing stops " or " batch biography terminates ".
In the present embodiment, the service end communication mode forward end that mode is specified as per advice returns to batch biography knot Really, for example by webpage returning result or ejection FLASH animation window returning results.
When partial material data are uploaded to make a mistake, material batch passes result also includes uploading the thing of mistake Material Data Entry.The error entries are returned to front end by service end, by operating personnel's manual modification.
For amended material data, operating personnel can be carried out manually according to existing implementation Upload, it is also possible to create material batch biography task again and uploaded automatically.
In the present embodiment, service end can be serviced towards multiple front ends simultaneously, when in the presence of multiple things When charge passes task, service end executed in parallel each material batch biography task is separate between each task It does not interfere with each other.Additionally, during the present embodiment can apply to the front end of different operating system, including windows Operating system, (SuSE) Linux OS and IOS etc..
The method that the material batch that the present embodiment is provided is uploaded, can be in the form of material batch biography task pair Front end needs the material data for uploading to be uploaded automatically, and the result that material data is uploaded is returned to Front end.User only needs to disposably provide material data to be uploaded in the present embodiment, and sets material Uplink time, follow-up material batch is transmitted through journey and all gives service end to perform.With prior art phase Without user Cheng Jinhang whole process is transmitted through to material batch than, the present embodiment on duty, when can reduce to user Between occupancy, reduce the cost of labor that material batch is passed.
Further, since the uplink time of material data can be set, therefore the relatively existing skill of the present embodiment Operating personnel can also be made more flexibly to arrange the working time of oneself for art, without on duty to upper The biography time.For example having a collection of material data needs at 12 points in the evening same day to be uploaded, in the present embodiment, Operating personnel can in the afternoon 6 when create and upload material batch biography task to service end, during by uploading Between be set to the same day at 12 points in evening.Then operating personnel can be to come off duty or process other work, when arriving During up at 12 in evening, service end performs the material batch biography task automatically, carries out material upload, and forward End returns to material batch and passes result.Material directly can be checked by front end when operating personnel go to work within second day Criticize and pass result.
For method shown in above-mentioned Fig. 1, Fig. 2 is refer to, it illustrates the another kind that the present embodiment is provided The method that material batch is uploaded.As shown in Fig. 2 the step 101 shown in Fig. 1 " receiving front-end is reported Material batch biography task, material batch biography task includes material data to be uploaded ", following step can be included Suddenly:
201st, batch biography interface interchange request sent in response to front end, forward end offer batch passes interface.
Service end side is advance with the power function for creating, changing, delete, report task, and will Different power functions is encapsulated into different application programming interfaces (Application Programming Interface, abbreviation API) in.When front end carries out task creation, created to service end request call The API of material batch biography task;When front end creates needs upload task, front end is to service end request call Criticize and pass API.Service end responds the request of front end, is supplied to front end to use different API.
It should be noted that the embodiment of the present invention is the explanation carried out so that material batch passes on Gong energy as an example, it is real In the application of border, service end can provide any function of being related to material to process with forward end, including but not limit Then material is updated, material is downloaded, material is deleted, material is newly-increased etc..Correspondingly, service end The API that side can be configured with correspondence difference in functionality is called for front end.
202nd, the material batch biography task that interface front end reports is passed by batch.
Front end is called batch and to pass API, the protocol type specified with the API, field format, data type, Communication mode etc. requires to be reported to service end the material batch biography task for creating or changing.
The present embodiment provides various task functions by the form forward end of abstract API, to task function " modularization " management can reduce degree of coupling between code, make calling and safeguarding more for function Plus it is flexible.
For method shown in above-mentioned Fig. 1, Fig. 2 is refer to, it illustrates the another kind that the present embodiment is provided The method that material batch is uploaded.As shown in Fig. 2 the step 102 shown in Fig. 1 " is passed when material batch is reached During the uplink time that task is indicated, passed according to the material batch of material recipient and required, material data is drawn It is divided into multiple material batches ", may comprise steps of:
203rd, the single batch material quantity required according to material recipient, to what is sorted according to preset rules Material data carries out batch division, obtains multiple material batches.
The single batch material quantity is the maximum quantity of each batches data of foregoing meaning. Service end puts in order according to material data, is batch partitioning standards with single batch material quantity, according to Secondary division obtains each material batch, and the material quantity in each material batch is not more than single batch material Quantity.
In the present embodiment, material data can be ranked up according to certain rule.For example according to thing The material descending sequence of data volume, or according to the syllable order sequence of material content.In practical application, Material data can not also individually be sorted, elder generation of the direct spent material data in csv file Afterwards sequentially.
In an example of the present embodiment, it is assumed that carry out batch upload to 5,900,000 material datas, The single batch material quantity of media platform requirement is 200,000.Service end is when material batch biography task is performed 5,900,000 data is read from csv file.Service end is according to the reading material number from csv file According to sequencing, preceding 200,000 material datas are divided into first material batch, then from the 20th 10000 material datas start to divide second material batch.Criticized when the second nineteen material has been divided After secondary, 100,000 material datas are there remains, this 100,000 articles of material datas are divided into the 3rd by service end Ten batch materials data, are derived from totally three ten material batches.
For method shown in above-mentioned Fig. 1, Fig. 2 is refer to, it illustrates the another kind that the present embodiment is provided The method that material batch is uploaded.As shown in Fig. 2 the step 103 shown in Fig. 1 is " by multiple material batches It is uploaded to material recipient ", may comprise steps of:
204th, a material batch is uploaded to material recipient every time.
Service end passes the upload for requiring to carry out material data according to the material batch of media platform, can be once Upload at least one material batch, you can multiple material batches to be packed simultaneously, to form one Individual material batch is uploaded etc., and this present invention is not limited.
205th, after the upload for receiving material recipient return is successfully responded, on material recipient Pass next material batch.
Media platform returns to one and uploads response after a material batch is finished receiving, to service end. Service end continues to upload next material batch to media platform according to the response.
In practical application, service end can add a batch sequence number, matchmaker in the material batch for uploading The sequence number of the material batch is added to upload response by body platform after a material batch is finished receiving In.After service end receives upload response, the material batch of next upload is determined according to sequence number therein It is secondary.
The present embodiment provides the method that another material batch is uploaded, and the method is to the side shown in Fig. 1 Method is further expanded and optimized.
In the present embodiment, the task adjust request for being reported according to front end, is carried out to material batch biography task Modification, newly-increased, deletion and/or dispatch deal, dispatch deal include:Operation task, terminated task, Suspended task, disabling task and enable task.
Modification therein, it is newly-increased, delete and include to the modification of material batch biography task in itself, increase newly, delete Remove, also including the modification to the material data in material batch biography task, newly-increased, deletion.The scheduling Treatment is primarily referred to as the scheduling for material batch tasks.In practical application, front end can be operator Member provides operation task, terminated task, suspended task, disabling task and enables the function of task.When When operating personnel trigger the function, front end sends task adjust request to service end, by task status class Type (for example run, terminate, suspending etc.) service end is sent to, by service end according to the task status Type carries out state adjustment to the material batch biography task for being not carried out or being carrying out.
So-called operation task, is not manually booted task by uplink time constraint for operating personnel provide Function.Disabling task and enable task freeze for task to being not carried out family or being carrying out/ Thaw, frozen task has system hang-up temporarily no longer to perform, and the task after defrosting can continue to hold OK, or according to uplink time select a good opportunity execution.
Additionally, in the present embodiment, the state that service end can also will perform material batch biography task is returned to Front end, checks for operating personnel.The state that service end is returned includes operation, the end of material batch biography task Only, suspend, disable and enable state.Service end can timing forward end return task status, also may be used Task status is returned with according to the request of front end.Recorded in the running example of each material batch biography task There is the current state of task, service end obtains the task status by way of scanning system example.
For method shown in above-mentioned Fig. 1, Fig. 2 is refer to, it illustrates the another kind that the present embodiment is provided The method that material batch is uploaded.As shown in Fig. 2 step 104 " the forward end return material shown in Fig. 1 Criticize and pass result ", may comprise steps of:
206th, material batch is returned to by short breath and/or mail he forward end and passes result.
In this step, service end can return to material batch and pass by the form forward end of short message and/or mail Or forward end returns to the state of material batch biography task as a result,.Operating personnel are appointed using front end , it is necessary to log in personal account during business management.Service end obtains the phone number or mailbox that correspondence changes account Address, is then interacted by sending the form of short message or hair mail with operating personnel.By short message Or the information content that mail sends can be data of structuring, or according to operating personnel's demand The unstructured data of customization, the present embodiment is not restricted to this.
It should be noted that the present embodiment does not limit the receiving terminal of short message or mail necessarily and operating personnel The front end for using is consistent.In practical application, operating personnel can carry out material upload by computer, lead to Cross computer and receive service end mail, it is also possible to material upload is carried out by computer, but is connect by mobile phone Receive service end short message.
The present embodiment provides the method that another material batch is uploaded, and the method is to the side shown in Fig. 1 Method is further expanded and optimized.
In the present embodiment, service end is communicated by way of message subscribing with front end.Message is ordered The particular content read is the management to message issuer and message subscribing person, and message issuer is issued Message be sent to subscribe to this piece of news message subscribing person.In the present embodiment, front end and service end Between communication be it is two-way, when front end to service end send data when, message issuer is played the part of in front end Role, the role of service end plays the part of message subscribing person;And when service end forward end sends data, Both role exchanges.The concrete mode of message subscribing is in the present embodiment:Message issuer needs issue One theme is the message of A, if message subscribing person have subscribed the message, system can be by the message The ID of subscriber is added in the subscriber list of theme A.When message issuer's issuing subject A's During information, system according to the subscriber list of the theme A person that finds message subscribing, by the information of theme A It is pushed to message subscribing person.
It should be noted that in practical application, method can be related to multiple front ends shown in Fig. 1 and Fig. 2 And multiple service ends, these front ends and service end share a set of message subscribing system.Therefore need logical The ID of the person that crosses message subscribing makes a distinction to different message subscribing persons.
Task type (deletion, establishment, more new task/material) conduct can be used to disappear in the present embodiment The theme of breath, it is also possible to using the Status Type (operation, startup, pause etc.) of task as message Theme.Specifically used which kind of information as message subject, by both front end and service end role and It is specific to need the function of realizing to determine.It is explained in exemplary fashion below:
In one example, the current state for performing material batch biography task is checked in front end to service end request. Now service end is used as message issuer, will issue the message that theme is " task status ", The information of the Message Record " task X is currently at halted state ".Front end as message subscribing person, The current state of acquisition task X is wished, then by itself ID " 2 " and theme " task status " It is sent to system.It is " to appoint that ID " 2 " is added to theme by the theme that system is carried in being asked according to front end In the subscriber list of business state ".After service end has issued this message, system searching theme is The subscriber list of " task status ", is found that the ID " 2 " of the front end wherein.System is according to ID The information of " task X is currently at halted state " is returned to the front end by " 2 ".
In another example, service end is currently executing a material batch biography task 1, now front end Upload a priority level material higher batch biography task 2, it is desirable to which service end can interrupt preferential execution Material batch biography task 2.Then front end needs to send the request that a task is seized to service end, indicates clothes Business end preferentially performs material batch biography task 2.Now, service end seizes the message subscribing of message as task Person, the ID " 356 " and theme " task is seized " of itself are have sent to system.System is by ID " 356 " It is added in the subscriber list of theme " task is seized ".When front end initiates " preferential to perform material batch After the task of biography task 2 " seizes message, system is in the subscriber list that theme is " task is seized " Search whether there is subscriber.When ID " 356 " are found, system will " the preferential material batch that performs be passed The message of task 2 " is pushed to the service end that ID is " 356 ".As it was previously stated, may be deposited in system In multiple service ends, exist by ID to service in providing service, therefore this example for different front ends Necessity that end makes a distinction.
In order to realize above method embodiment, the present embodiment provides a kind of corresponding with above method embodiment Device embodiment.Fig. 3 is refer to, is uploaded it illustrates a kind of material batch that the present embodiment is provided The structural representation of device.The device is corresponding with the method shown in Fig. 1 and Fig. 2.As shown in figure 3, The device that material batch is uploaded can include:
Receiving unit 301, for the material batch biography task that receiving front-end is reported, wraps in material batch biography task Include material data to be uploaded;
Material processing unit 302, during for the uplink time that the instruction of biography task is criticized when arrival material, according to The material of material recipient batch is passed and required, material data is divided into multiple material batches;
Uploading unit 303, for multiple material batches to be uploaded into material recipient;
Returning unit 304, returns to material batch and passes result for forward end.
Further, the receiving unit 301 shown in Fig. 3, is used for:
In response to batch biography interface interchange request that front end sends, forward end offer batch passes interface;
The material batch biography task that interface front end reports is passed by batch.
Further, the material processing unit 302 shown in Fig. 3, for what is required according to material recipient Single batch material quantity, the material data to being sorted according to preset rules carries out batch division, obtains many Individual material batch, the material quantity in each material batch is not more than single batch material quantity;
Further, the uploading unit 303 shown in Fig. 3, is used for:
Every time a material batch is uploaded to material recipient;
The upload of material recipient return is being received successfully after response, to being descended on material recipient One material batch.
Further, Fig. 4 shows the device that another material batch that the present embodiment is provided is uploaded Structural representation.
Device shown in Fig. 4 is further included:
Task processing unit 401, for the task adjust request reported according to front end, passes to material batch and appoints Business is modified, increases newly, deleting and/or dispatch deal, and dispatch deal includes:Operation task, termination Task, suspended task, disabling task and enable task.
Further, the returning unit 34 shown in Fig. 3 is used for by short breath and/or mail he forward end Return to material batch and pass result.
Further, the device shown in Fig. 3 and Fig. 4 is used to enter with front end by way of message subscribing Row communication.
The device that the material batch that the present embodiment is provided is uploaded, can be in the form of material batch biography task pair Front end needs the material data for uploading to be uploaded automatically, and the result that material data is uploaded is returned to Front end.User only needs to disposably provide material data to be uploaded in the present embodiment, and sets material Uplink time, follow-up material batch is transmitted through journey and all gives service end to perform.With prior art phase Without user Cheng Jinhang whole process is transmitted through to material batch than, the present embodiment on duty, when can reduce to user Between occupancy, reduce the cost of labor that material batch is passed.
The device that the material batch that the present embodiment is provided is uploaded includes processor and memory, above-mentioned reception Unit, material processing unit, uploading unit, returning unit etc. are as program unit storage in storage In device, corresponding function is realized by computing device storage said procedure unit in memory.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can To set one or more, material batch biography task is performed automatically by adjusting kernel parameter.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM), memory includes at least one storage chip.
Present invention also provides a kind of computer program product, when being performed on data processing equipment, It is adapted for carrying out the program code of initialization there are as below methods step:The material that receiving front-end is reported batch is passed appoints Business, the material batch biography task includes material data to be uploaded;Appoint when reaching the material batch and passing During the uplink time that business is indicated, passed according to the material batch of material recipient and required, by the material data It is divided into multiple material batches;The multiple material batch is uploaded to the material recipient;To institute State front end and return to material batch biography result.
In order to realize above method embodiment, the present embodiment provides a kind of corresponding with above method embodiment System embodiment.Fig. 5 is refer to, is uploaded it illustrates a kind of material batch that the present embodiment is provided The structural representation of system.The system includes front end 501 and service end 502, wherein, service end 502 Comprising the device shown in earlier figures 3 or Fig. 4.
Front end 501, for creating material batch biography task, material is added to by material data to be uploaded Criticize in biography task, specify the uplink time of material data, and report material batch to pass to service end 502 and appoint Business;
Service end 502, for when uplink time is reached, being passed according to the material batch of material recipient and being required, Material data is divided into multiple material batches, multiple material batches are uploaded to material recipient, and Forward end 501 returns to material batch and passes result.
The system that the material batch that the present embodiment is provided is uploaded, can be in the form of material batch biography task pair Front end needs the material data for uploading to be uploaded automatically, and the result that material data is uploaded is returned to Front end.User only needs to disposably provide material data to be uploaded in the present embodiment, and sets material Uplink time, follow-up material batch is transmitted through journey and all gives service end to perform.With prior art phase Without user Cheng Jinhang whole process is transmitted through to material batch than, the present embodiment on duty, when can reduce to user Between occupancy, reduce the cost of labor that material batch is passed.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system, Or computer program product.Therefore, the application can be implemented using complete hardware embodiment, complete software The form of the embodiment in terms of example or combination software and hardware.And, the application can be used at one Or multiple wherein includes the computer-usable storage medium of computer usable program code (including but not Be limited to magnetic disk storage, CD-ROM, optical memory etc.) on the computer program product implemented Form.
The application is with reference to the method according to the embodiment of the present application, equipment (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that can be realized flowing by computer program instructions In each flow and/or square frame and flow chart and/or block diagram in journey figure and/or block diagram Flow and/or square frame combination.Can provide these computer program instructions to all-purpose computer, specially With the processor of computer, Embedded Processor or other programmable data processing devices producing one Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices It is raw to be used to realize in one flow of flow chart or multiple flow and/or block diagram one square frame or multiple side The device of the function of being specified in frame.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas to process In the computer-readable memory that equipment works in a specific way so that storage is deposited in the computer-readable Instruction in reservoir is produced and includes the manufacture of command device, and command device realization is in flow chart one The function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices On so that series of operation steps is performed on computer or other programmable devices to produce computer The treatment of realization, so as to the instruction performed on computer or other programmable devices is provided for realizing Specified in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames The step of function.
In a typical configuration, computing device include one or more processors (CPU), input/ Output interface, network interface and internal memory.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Memory is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electricity can Erasable programmable read-only memory (EPROM) (EEPROM), fast flash memory bank or other memory techniques, read-only light Disk read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic Cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, Can be used to store the information that can be accessed by a computing device.Defined according to herein, computer-readable Medium does not include temporary computer readable media (transitory media), such as data-signal and load of modulation Ripple.
Embodiments herein is these are only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it Interior made any modification, equivalent substitution and improvements etc., should be included in claims hereof model Within enclosing.

Claims (10)

1. a kind of method that material batch is uploaded, it is characterised in that methods described includes:
The material that receiving front-end is reported batch biography task, the material batch biography task includes thing to be uploaded Material data;
When the uplink time that the material batch biography task is indicated is reached, according to the material of material recipient Criticize to pass and require, the material data is divided into multiple material batches;
The multiple material batch is uploaded to the material recipient;
Material batch is returned to the front end pass result.
2. method according to claim 1, it is characterised in that the thing that the receiving front-end is reported Charge passes task, including:
In response to batch biography interface interchange request that the front end sends, interface is passed to front end offer batch;
The material batch biography task reported by front end described in described batch of biography interface.
3. method according to claim 1, it is characterised in that described according to material recipient's Material batch is passed and required, the material data is divided into multiple material batches, including:
According to the single batch material quantity that the material recipient requires, to what is sorted according to preset rules Material data carries out batch division, obtains multiple material batches, the material quantity in each material batch Not more than described single batch material quantity;
It is described that the multiple material batch is uploaded to the material recipient, including:
Every time a material batch is uploaded to the material recipient;
After the successful response of upload that the material recipient returns is received, received to the material The next material batches of Fang Shangchuan.
4. method according to claim 1, it is characterised in that methods described is further included:
According to the task adjust request that the front end reports, material batch biography task is modified, is increased newly, Delete and/or dispatch deal, the dispatch deal includes:Operation task, terminated task, suspended task, Disabling task and enable task.
5. method according to claim 1, it is characterised in that described to return to thing to the front end Charge passes result, including:
The material batch is returned to the front end by short breath and/or mail he and passes result.
6. method according to any one of claim 1 to 5, it is characterised in that by message The mode of subscription is communicated with the front end.
7. the device that a kind of material batch is uploaded, it is characterised in that described device includes:
Receiving unit, for the material batch biography task that receiving front-end is reported, in the material batch biography task Including material data to be uploaded;
Material processing unit, for when the uplink time that the material batch biography task is indicated is reached, pressing Material batch according to material recipient passes requirement, and the material data is divided into multiple material batches;
Uploading unit, for the multiple material batch to be uploaded into the material recipient;
Returning unit, result is passed for returning to material batch to the front end.
8. device according to claim 7, it is characterised in that the receiving unit is used for:
In response to batch biography interface interchange request that the front end sends, interface is passed to front end offer batch;
The material batch biography task reported by front end described in described batch of biography interface.
9. device according to claim 7, it is characterised in that the material processing unit, uses In the single batch material quantity required according to the material recipient, to the thing sorted according to preset rules Material data carry out batch division, obtain multiple material batches, and the material quantity in each material batch is not More than the single batch material quantity;
The uploading unit, is used for:
Every time a material batch is uploaded to the material recipient;
After the successful response of upload that the material recipient returns is received, received to the material The next material batches of Fang Shangchuan.
10. the system that a kind of material batch is uploaded, it is characterised in that the system includes:Front end and Service end;
The front end, for creating material batch biography task, material data to be uploaded is added to described In material batch biography task, the uplink time of material data is specified, and the thing is reported to the service end Charge passes task;
The service end, for when the uplink time is reached, according to the material batch of material recipient Pass and require, the material data is divided into multiple material batches, the multiple material batch is uploaded To the material recipient, and material batch biography result is returned to the front end.
CN201510880756.4A 2015-12-03 2015-12-03 Method, device and system for batch uploading materials Active CN106850707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510880756.4A CN106850707B (en) 2015-12-03 2015-12-03 Method, device and system for batch uploading materials

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510880756.4A CN106850707B (en) 2015-12-03 2015-12-03 Method, device and system for batch uploading materials

Publications (2)

Publication Number Publication Date
CN106850707A true CN106850707A (en) 2017-06-13
CN106850707B CN106850707B (en) 2020-08-21

Family

ID=59149807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510880756.4A Active CN106850707B (en) 2015-12-03 2015-12-03 Method, device and system for batch uploading materials

Country Status (1)

Country Link
CN (1) CN106850707B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566469A (en) * 2017-08-24 2018-01-09 平安科技(深圳)有限公司 User profile upload method, device and computer-readable recording medium
CN110968778A (en) * 2018-09-30 2020-04-07 北京国双科技有限公司 Media material processing method and device, storage medium and server
CN111598535A (en) * 2020-05-09 2020-08-28 西安精雕软件科技有限公司 Basic material importing method and system and computer equipment
CN115243318A (en) * 2022-07-01 2022-10-25 华迪计算机集团有限公司 Internet of things data transparent transmission method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447642A (en) * 2010-09-30 2012-05-09 腾讯科技(深圳)有限公司 Method and device for managing messages and pictures based on IM (Instant Messaging) client
CN103778556A (en) * 2014-01-09 2014-05-07 北京京东尚科信息技术有限公司 Reservation task processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447642A (en) * 2010-09-30 2012-05-09 腾讯科技(深圳)有限公司 Method and device for managing messages and pictures based on IM (Instant Messaging) client
CN103778556A (en) * 2014-01-09 2014-05-07 北京京东尚科信息技术有限公司 Reservation task processing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566469A (en) * 2017-08-24 2018-01-09 平安科技(深圳)有限公司 User profile upload method, device and computer-readable recording medium
CN107566469B (en) * 2017-08-24 2020-06-05 平安科技(深圳)有限公司 User information uploading method and device and computer readable storage medium
CN110968778A (en) * 2018-09-30 2020-04-07 北京国双科技有限公司 Media material processing method and device, storage medium and server
CN111598535A (en) * 2020-05-09 2020-08-28 西安精雕软件科技有限公司 Basic material importing method and system and computer equipment
CN111598535B (en) * 2020-05-09 2023-06-13 西安精雕软件科技有限公司 Basic material importing method, system and computer equipment
CN115243318A (en) * 2022-07-01 2022-10-25 华迪计算机集团有限公司 Internet of things data transparent transmission method and system
CN115243318B (en) * 2022-07-01 2024-07-05 华迪计算机集团有限公司 Internet of things data transparent transmission method and system

Also Published As

Publication number Publication date
CN106850707B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN106201661B (en) Method and apparatus for elastic telescopic cluster virtual machine
KR100509794B1 (en) Method of scheduling jobs using database management system for real-time processing
CN106484858A (en) Hot Contents method for pushing and device
US20150143377A1 (en) Dynamic scheduling of tasks for collecting and processing data using job configuration data
CN108182111A (en) Task scheduling system, method and apparatus
CN109992354A (en) Container-treatment, device, principal server, system and storage medium
CN110391993A (en) A kind of data processing method and system
CN109726941B (en) Automatic marketing system and automatic marketing method of intelligent terminal
CN106850707A (en) Method, apparatus and system that material batch is uploaded
CN111507674B (en) Task information processing method, device and system
CN105096122B (en) A kind of split blade type deals match method and apparatus
CN106407021A (en) Queue-based business request processing method
CN111935306B (en) Node scheduling method and device
CN103581111A (en) Communication method and system
CN109981719A (en) Information processing method and its system, computer system and computer readable medium
CN103067479A (en) Network disk synchronized method and system based on file coldness and hotness
CN106302780A (en) The method of cluster device bulk transfer data, Apparatus and system, server
CN109840815B (en) System and method for order processing
CN106254443A (en) Information push method and device
CN113205235B (en) Customer service scheduling method and device
CN109284324A (en) The dispatching device of flow tasks based on Apache Oozie frame processing big data
CN105224541B (en) Uniqueness control method, information storage means and the device of data
CN109213955A (en) Data processing method and relevant device
CN112396511A (en) Distributed wind control variable data processing method, device and system
CN112395337B (en) Data export method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant