The printer management method of remote printing e-commerce platform
Technical field
The present invention relates to a remote printing e-commerce platform to the implementation method of printer management, mainly utilize remote printing e-commerce platform, manage the operation of printer side printer, achieved registration printer, upgrade printer, delete printer, printer browsing authority is set, check printer, received print out task, obtain print out task and list storage printer function interface.Belong to the crossing domain of ecommerce and mobile Internet.
Background technology
Traditional printer management monitors printer in local printer or LAN (Local Area Network) by installing specific software, mainly comprises the supervision of printer, control and examination & verification.Comprise printing event recording function particularly, print audit function, Print Control, inquiry and form, print the functions such as charging.Event recording function can record the user name of printing, computing machine, number of print pages, time-write interval, paper size, document title, Doctype, document content and printing expense etc.; Print audit function to use primarily of keeper, could print through the document checked and approved; Print Control is mainly used in as different users specifies different printing strategies; Inquiry and form realize print log, task analysis form, load Analysis form etc.; Print charging to comprise according to paper charging, according to by functions such as black gauge expenses.
In recent years, domestic print service is only presented on traditional printer, and type service only has simple printing, and namely electronic document is directly printed by printer, therefore printing user needs in person to present printed document goes print shop, then bookbinding and be in person sent to destination in person.Thus expand print service kind and form Services Composition on e-commerce platform, and reasonably calculate printing expense automatically on the platform, i.e. remote printing E-business service is combined into the eager demand in order to market; User can find suitable print shop on the platform in time, becomes a difficult point on remote printing e-commerce platform.
For remote printing platform, abroad, Google provides cloud and prints, mainly be applied to the platform of personal user's print processing, Google cloud prints needs user on the computer connecting printer, install Chrome browser and register the printer connected, after registration is good, as long as user installs Chrome browser in other computers, and log in the account registered, just can have printed by this printer of long-range use.But, in the print management of this platform not to the number of pages printed and whether the details operation such as duplex printing manage, i.e. type service simplification, and need to coordinate Chrome OS platform to use.
PrinterOn is that first exploitation cloud prints solution and use cloud, enable user from any smart mobile phone, notebook computer or panel computer to any printer print file enabling PrinterOn technology, in order to ensure its security, user can receive the safe release code that PrinterOn sends, user must examine afterwards, thus ensures that user oneself can see oneself typescripts.But use PrinterOn when desktop end is served, user needs file to be sent to a specific address or to install to drive.
Recently, Berlin venture company Ezeep also provides a kind of cloud print service, achieve the service that high in the clouds prints, and also Shi Yijiawei hotel user provides the print service business of desktop end and mobile terminal.By the ordering system of Ezeep, hotel provides online entrance for guest, comprises the mechanism of paying by number of pages.The printer that can be connected by hotel after guest's upload file is printed, and then goes to get print file.But Ezeep service-user colony is confined to the client in hotel.
In addition, the weak point of above several remote printing service is also, type service is few, and printing user has limitation, and does not all relate to management method and the functional interface realization of printer side printer.But, people to the demand printed throughout to an even whole network in community, also no longer only printing is confined to the type service printed, this is just in the urgent need to a print platform throughout whole network, also in the urgent need on platform, provide and print relevant all type services.For these print service, the operation of managing printing machine and the functional interface realizing printer are also crucial steps, so also in the urgent need to the implementation method of a remote printing e-commerce platform managing printing machine.
Summary of the invention
technical matters:the object of this invention is to provide a kind of printer management method of remote printing e-commerce platform.By remote printing e-commerce platform, the operation of managing printing machine end printer, realize the correlation function interface of printer, comprise registration printer, upgrade printer, delete printer, printer browsing authority is set, check printer, receive print out task, obtain print out task, list storage printer function.It is mutually mutual that the present invention also describes in detail between remote printing platform and printer management, and tacit agreement coordinates, and complements each other.Save the time of printing user, energy and expense.
technical scheme:the step that the printer management method of remote printing e-commerce platform of the present invention comprises is:
Step 1) printer side transmission registration printer request, remote printing platform realizes the registration of printer:
Step 1.1) remote printing platform obtains the address of enrollment page of user's input;
Step 1.2) remote printing platform display enrollment page;
Step 1.3) remote printing platform obtains the relevant all information of the printer of user's input, comprises printer name, agency, function, default setting, state, description;
Step 1.4) remote printing platform obtain user to the confirmation of printer log-on message;
Step 1.5) remote printing platform processes user input printer log-on message, and give this printer distribution marker, wherein identifier is unique, immutable;
Step 1.6) display of remote printing platform succeeds in registration the page;
Step 1.7) remote printing platform returns printer identifier and accords with to user.
Step 2) request of printer side transmission renewal Printer Information, remote printing platform realizes the information updating of printer:
Step 2.1) remote printing platform obtain printer side have information updating;
Step 2.2) remote printing platform send check Printer Information request, check printer current information:
Step 2.2.1) remote printing platform obtain check Printer Information request;
Step 2.2.2) remote printing platform acquisition printer identifier symbol;
Step 2.2.3) remote printing platform accords with according to printer identifier, judges whether this printer identifier symbol exists, if existed, goes to step 2.2.5), otherwise, go to step 2.2.4);
Step 2.2.4) remote printing platform returns the information of " there is not this printer, please re-enter printer identifier symbol ", goes to step 2.2.2);
Step 2.2.5) remote printing platform obtains this printer current information;
Step 2.3) remote printing platform extraction printer current information, override printer original information;
Step 2.4) remote printing platform shows and successfully upgrades Printer Information.
Step 3) printer side transmission deletion printer request, remote printing platform realizes the deletion of printer:
Step 3.1) remote printing platform obtain user input printer identifier symbol;
Step 3.2) printer identifier symbol that remote printing platform inputs according to user, find this printer;
Step 3.3) remote printing platform deletes all information of this printer;
Step 3.4) remote printing platform shows and successfully deletes Printer Information.
Step 4) remote printing platform realizes the identical Printer Information of list storage printer proxy number:
Step 4.1) remote printing platform obtains and is about to the printer proxy number P that is stored in list;
Step 4.2) the already present all different printer proxy number of remote printing platform acquisition remote printing platform, queue arranges;
Step 4.3) remote printing platform obtains the length of queue;
Step 4.4) judge whether queue length is greater than 0, if queue length is greater than 0, go to step 4.5), otherwise, go to step 4.9);
Step 4.5) get the printer i proxy number of queue head, and it is deleted from queue;
Step 4.6) remote printing platform acquisition current printer proxy number Pi;
Step 4.7) remote printing platform is according to the current printer proxy number Pi obtained, whether the printer proxy number P that judgement is about to be stored in list is equal with Pi, if equal, goes to step 4.8), otherwise, go to step 4.3);
Step 4.8) printer to be added proxy number be in the list of Pi to remote printing platform, goes to step 4.11);
Step 4.9) remote printing platform is according to the newly-built list of proxy number P;
Step 4.10) printer to be added proxy number be in the list of P to remote printing platform;
Step 4.11) remote printing platform shows and successfully adds list information.
Step 5) printer side send printer permissions request is set, remote printing platform realize printer access privilege arrange:
Step 5.1) remote printing platform obtains the access privilege request of printer of arranging;
Step 5.2) remote printing platform obtains the identifier of printer;
Step 5.3) remote printing platform obtains the identifier of user;
Step 5.4) remote printing platform obtain this user access this printer authority confirm;
Step 5.5) remote printing platform add user in printer permissions;
Step 5.6) remote printing platform shows and successfully arranges printer permissions.
Step 6) printer receive through remote printing platform forward printing user submit to task:
Step 6.1) remote printing platform obtains the identifier of printer;
Step 6.2) remote printing platform matches this printer;
Step 6.3) remote printing platform obtain printing user submit to mission bit stream and be transmitted to printer side;
Step 6.4) printer side obtains the identifier of task;
Step 6.5) printer side obtains task from print platform and sends into the task queue of printer;
Step 6.6) remote printing platform modifying task status is in queue.
Step 7) printer completes current task, by remote printing platform, obtains next task:
Step 7.1) remote printing platform obtains the identifier of printer;
Step 7.2) according to step 2.2), remote port sends and checks Printer Information request, checks printer current information;
Step 7.3) remote printing platform display printer details;
Step 7.4) remote printing platform obtains the task queue of printer;
Step 7.5) remote printing platform extracts the task of queue head;
Step 7.6) remote printing platform returns the task of queue head to printer.
Step 8) request of printer side transmission renewal print job information, remote printing platform realizes the information updating of print out task:
Step 8.1) remote printing platform obtain print out task have information updating;
Step 8.2) remote printing platform checks print out task current information;
Step 8.3) remote printing platform extraction print out task current information, cover print out task original information;
Step 8.4) remote printing platform shows and successfully upgrades print job information.
beneficial effect:the present invention contrasts prior art and has following innovative point:
1) remote printing e-commerce platform and printer management are worked in coordination, and have managed the operation of printer side printer, achieve the functional interface of printer management part;
2) remote printing e-commerce platform is not only all services of the relevant printing that printing user provides, and provides concentrated print service for printing user, helps printing user to save the time.
In a word, accomplish to raise the efficiency, saved time, cost-saving.
The present invention contrasts prior art and has following remarkable advantage:
1) practical function of printer has been enriched;
2) the perfect type service printed;
3) the various printing demands of various users are in larger scope met;
4) not only service commodity, and can automatic charging.
Accompanying drawing explanation
Fig. 1: remote printing platform registration printer process flow diagram;
Fig. 2: remote printing platform upgrades Printer Information process flow diagram;
Fig. 3: registered printer process flow diagram deleted by remote printing platform;
Fig. 4: remote printing platform lists stores the identical Printer Information process flow diagram of printer proxy number;
Fig. 5: remote printing platform arranges printer permissions process flow diagram;
Fig. 6: Printer Information process flow diagram checked by remote printing platform;
Fig. 7: printer receives the mission flow diagram that printing user submits to;
Fig. 8: printer completes current task, obtains next task process flow diagram at remote printing platform;
Fig. 9: remote printing platform upgrades printer mission flow diagram.
Embodiment
The printer management method of remote printing e-commerce platform of the present invention, by remote printing e-commerce platform, achieve all functions interface that printer management is relevant, comprise registration printer/Register interface, upgrade printer/UpdatePrinter interface, delete printer/DeletePrinter interface, printer browsing authority/AuthSetting interface is set, check printer/CheckPrinter interface, receive print out task/Receive interface, obtain print out task/Fetch interface, list storage printer List interface, upgrade print out task/UpdateJob interface.Concrete performing step is as follows:
Step 1) printer side send registration printer request, remote printing platform realizes the registration of printer, namely achieves registration printer interface/Register, detailed process as shown in Figure 1:
Step 1.1) user inputs the address URL of enrollment page, enters enrollment page;
Step 1.2) user inputs the relevant all information of printer, and comprise printer name, agency, function, default setting, state, description, carry out the registration of printer;
Step 1.3) the printer log-on message of remote printing platform processes user input, and give this printer distribution marker, wherein identifier is unique and immutable;
Step 1.4) remote printing platform processes user input printer log-on message terminate after, return the information of succeeding in registration to user;
Step 1.5) final, remote printing platform also can return printer identifier and accord with to user.
Step 2) printer side sends and upgrades Printer Information request, remote printing platform realizes the information updating of printer, namely achieves renewal printer/UpdatePrinter interface, detailed process as shown in Figure 2:
Step 2.1) after printer side has information updating, printer can recalls information interface, sends lastest imformation to remote printing platform;
Step 2.2) after remote printing platform receives lastest imformation, can send and check Printer Information request, check printer current information, namely achieve and check printer/CheckPrinter interface, detailed process as shown in Figure 6:
Step 2.2.1) remote printing platform send check Printer Information request while, obtain printer identifier symbol;
Step 2.2.2) remote printing platform accords with according to printer identifier, judges whether this printer identifier symbol exists, if existed, goes to step 2.2.4), otherwise, go to step 2.2.3);
Step 2.2.3) remote printing platform returns the information of " there is not this printer, please re-enter printer identifier symbol ", goes to step 2.2.2);
Step 2.2.4) remote printing platform obtains this printer current information;
Step 2.3) remote printing platform extraction printer current information, override printer original information, carries out the renewal of information;
Step 2.4) remote printing platform return successfully upgrade Printer Information to user.
Step 3) printer side send delete printer request, remote printing platform realizes the deletion of printer, namely achieves deletion printer/DeletePrinter interface, detailed process as shown in Figure 3:
Step 3.1) user input need delete printer identifier symbol;
Step 3.2) printer identifier symbol that remote printing platform inputs according to user, find this printer;
Step 3.3) remote printing platform deletes all information of this printer;
Step 3.4) remote printing platform return successfully delete Printer Information to user.
Step 4) remote printing platform realizes the identical Printer Information of list storage printer proxy number, namely achieve list storage printer List interface, detailed process as shown in Figure 4:
Step 4.1) input the printer proxy number P being about to be stored in list;
Step 4.2) obtain the already present all different printer proxy number of remote printing platform, queue arranges, and calculates the length of queue;
Step 4.3) remote printing platform according to obtain queue length, judge whether queue length is greater than 0, if queue length is greater than 0, go to step 4.4), otherwise, go to step 4.7);
Step 4.4) get the printer i proxy number Pi of queue head, and queue length is subtracted 1;
Step 4.5) remote printing platform is according to the current printer proxy number Pi obtained, whether the printer proxy number P that judgement is about to be stored in list is equal with Pi, if equal, goes to step 4.6), otherwise, go to step 4.3);
Step 4.6) printer to be added proxy number be in the list of Pi to remote printing platform, goes to step 4.8);
Step 4.7) remote printing platform is according to the newly-built list of proxy number P, and this printer to be joined proxy number be in the list of P;
Step 4.8) remote printing platform returns and successfully adds list information to user.
Step 5) printer side send printer permissions request is set, remote printing platform realize printer access privilege arrange, namely achieve and printer browsing authority/AuthSetting interface be set, detailed process as shown in Figure 5:
Step 5.1) while remote printing platform obtains and arrange the access privilege request of printer, obtain the identifier of printer, and the identifier of user;
Step 5.2) after user confirms that this user accesses the authority of this printer, remote printing platform adds user in printer permissions;
Step 5.3) remote printing platform return printer permissions is successfully set information to user.
Step 6) printer receive through remote printing platform forward printing user submit to task, namely achieve reception print out task/Receive interface, detailed process as shown in Figure 7:
Step 6.1) input the identifier being about to the printer accepting this task;
Step 6.2) remote printing platform according to input printer identifier symbol match this printer;
Step 6.3) remote printing platform obtains the mission bit stream that printing user submits to, and the unique identifier of the task of acquisition;
Step 6.4) after task sent into the task queue of the printer mating out by remote printing platform, task status is revised as in queue (Queued);
Step 6.5) remote printing platform return successfully receive mission bit stream to user.
Step 7) printer completes current task, by remote printing platform, obtain next task, namely achieve acquisition print out task/Fetch interface, detailed process as shown in Figure 8:
Step 7.1) user inputs the identifier of printer;
Step 7.2) according to step 2.2), remote port sends and checks Printer Information request, checks printer current information;
Step 7.3) check printer current information after, and show the details of printer;
Step 7.4) according to the details of printer, remote printing platform obtains the task queue of printer, and extracts the task of queue head;
Step 7.5) remote printing platform returns the task of queue head to printer.
Step 8) printer side sends and upgrades print job information request, remote printing platform realizes the information updating of print out task, namely achieves renewal print out task/UpdateJob interface, detailed process as shown in Figure 9:
Step 8.1) when print out task has information updating, recalls information interface, send lastest imformation to remote printing platform;
Step 8.2) after remote printing platform receives lastest imformation, use immediately and check print out task current information function, check the print job information after renewal;
Step 8.3) remote printing platform extracts print out task current information, covers print out task original information, this evening print out task information updating;
Step 8.4) remote printing platform return successfully upgrade print job information to user.