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 be to utilize the remote printing e-commerce platform, managed the operation of printer side printer, realized the registration printer, upgrade printer, delete printer, the printer browsing authority is set, checks printer, receives print out task, has obtained print out task and list storage printer function interface.The crossing domain that belongs to ecommerce and mobile Internet.
Background technology
Traditional printer management is monitored printer in local printer or the LAN (Local Area Network) by specific software is installed, and mainly comprises supervision, control and the audit of printer.Comprise particularly functions such as printing event recording function, printing audit function, printing control, inquiry and form, printing charging.Event recording function can record user name, computing machine, number of print pages, time-write interval, paper size, document title, Doctype, document content and the printing expense etc. of printing; Print audit function and mainly used by the keeper, could print through the document of checking and approving; Printing control is mainly used in specifying different printing strategies for different users; Inquiry realizes print log, task analysis form, load Analysis form etc. with form; Printing charging comprises according to the paper charging, according to using China ink to measure the functions such as charging.
In recent years, domestic print service only is presented on traditional printer, and type service only has simple printing, and namely electronic document directly prints by printer, so the printing user need in person present printed document and go print shop, then in person bind and in person be sent to the destination.Thereby, expanding the print service kind at e-commerce platform and form Services Composition, and on this platform, reasonably calculate automatically the printing expense, i.e. remote printing E-business service is combined into the eager demand for market; The user can in time find suitable print shop on this platform, become a difficult point on the remote printing e-commerce platform.
For the remote printing platform, abroad, Google provides the cloud printing, it mainly is the platform that is applied to personal user's print processing, the Google cloud is printed needs the user at the computer that connects printer the printer that Chrome browser and registration connect to be installed, and after registration was good, the user was as long as install the Chrome browser in other computers, and the account that login is registered just can print 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 cooperate Chrome OS platform to use.
PrinterOn is that first exploitation cloud is printed solution and used cloud, make the user can be from any smart mobile phone, notebook computer or panel computer to any printer print file of enabling the PrinterOn technology, in order to ensure its security, the user can receive the safe release code that PrinterOn sends, the user must examine afterwards, thereby guarantees that user oneself can see own typescripts.But, use PrinterOn when desktop end is served, the user need to send to file a specific address or install and drive.
Recently, the Ezeep of Berlin venture company also provides a kind of cloud print service, has realized the service that print in high in the clouds, and also has been a print service merchant that desktop end and mobile terminal are provided for the user of hotel.By the ordering system of Ezeep, the hotel comprises the mechanism of paying by number of pages for the guest provides online entrance.Can print by the printer that the hotel connects after guest's upload file, and then remove to get print file.But Ezeep service-user colony is confined to the client in hotel.
In addition, more than the weak point of several remote printings service be that also type service is few, print the user and have limitation, and the management method and the functional interface that all do not relate to the printer side printer are realized.Yet, people have spreaded all over a community even whole network to the demand of printing, the type service of printing also no longer only is confined to printing, this is just in the urgent need to a print platform that spreads all over whole network, also in the urgent need on platform, provide and print all relevant type services.For these print service, so managing printing machine operation and realize that the functional interface of printer also is crucial step is 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 printer management method that the purpose of this invention is to provide a kind of remote printing e-commerce platform.By the remote printing e-commerce platform, the operation of managing printing machine end printer, realize the correlation function interface of printer, comprise the registration printer, upgrade printer, delete printer, the printer browsing authority is set, checks printer, receives print out task, obtains print out task, the list storage printer function.The present invention also describes mutually mutual between remote printing platform and the printer management in detail, and tacit agreement cooperates, and complements each other.Time, energy and the expense of printing the user have been saved.
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 sends the registration printer request, and the remote printing platform is realized the registration of printer:
Step 1.1) the remote printing platform obtains the address of the enrollment page of user's input;
Step 1.2) the remote printing platform shows enrollment page;
Step 1.3) the remote printing platform obtains all relevant information of printer of user's input, comprises printer name, agency, function, default setting, state, description;
Step 1.4) the remote printing platform obtains the user to the affirmation of printer log-on message;
The printer log-on message of step 1.5) remote printing platform processes user input, and give this printer distribution marker, wherein identifier is unique, immutable;
Step 1.6) the remote printing platform shows the page that succeeds in registration;
Step 1.7) the remote printing platform returns printer identifier and accords with to the user.
Step 2) printer side sends the Printer Information request of upgrading, and the remote printing platform is realized the information updating of printer:
Step 2.1) the remote printing platform obtains printer side information updating;
Step 2.2) the remote printing platform sends and checks the Printer Information request, checks the printer current information:
Step 2.2.1) the remote printing platform obtains the Printer Information request of checking;
Step 2.2.2) the remote printing platform obtains the printer identifier symbol;
Step 2.2.3) the remote printing platform accords with according to printer identifier, judges that whether this printer identifier symbol exists, if exist, turns step 2.2.5), otherwise, turn step 2.2.4);
Step 2.2.4) the remote printing platform returns the information of " do not have this printer, please re-enter the printer identifier symbol ", turns step 2.2.2);
Step 2.2.5) the remote printing platform obtains this printer current information;
Step 2.3) the remote printing platform extracts printer current information, override printer original information;
Step 2.4) the remote printing platform shows and successfully upgrades Printer Information.
Step 3) printer side sends the deletion printer request, and the remote printing platform is realized the deletion of printer:
Step 3.1) the remote printing platform obtains the printer identifier symbol of user's input;
Step 3.2) the remote printing platform finds this printer according to the printer identifier symbol of user's input;
Step 3.3) the remote printing platform is deleted all information of this printer;
Step 3.4) the remote printing platform shows and successfully deletes Printer Information.
Step 4) the remote printing platform is realized the identical Printer Information of list storage printer proxy number:
Step 4.1) the remote printing platform obtains the printer proxy number P that is about to store in the tabulation;
Step 4.2) the remote printing platform obtains already present all the different printer proxy number of remote printing platform, and formation is arranged;
Step 4.3) the remote printing platform obtains the length of formation;
Step 4.4) whether judge queue length greater than 0, if queue length greater than 0, turns step 4.5), otherwise, turn step 4.9);
Step 4.5) gets the printer i proxy number of formation head, and it is deleted from formation;
Step 4.6) the remote printing platform obtains current printer proxy number Pi;
Step 4.7) the remote printing platform judges that according to the current printer proxy number Pi that obtains whether the printer proxy number P that is about to store in the tabulation equates with Pi, if equate, turns step 4.8), otherwise, turn step 4.3);
Step 4.8) the remote printing platform adds printer in the tabulation that proxy number is Pi, turns step 4.11);
Step 4.9) the remote printing platform is according to the newly-built tabulation of proxy number P;
Step 4.10) the remote printing platform adds printer in the tabulation that proxy number is P;
Step 4.11) the remote printing platform shows and successfully adds list information.
Step 5) printer side sends the printer permissions request that arranges, and the remote printing platform is realized the access privilege setting of printer:
Step 5.1) the remote printing platform obtains the access privilege request that printer is set;
Step 5.2) the remote printing platform obtains the identifier of printer;
Step 5.3) the remote printing platform obtains user's identifier;
Step 5.4) the remote printing platform obtains the authority affirmation that this user accesses this printer;
Step 5.5) the remote printing platform adds the user in printer permissions;
Step 5.6) the remote printing platform shows printer permissions successfully is set.
Step 6) printer receives the task of the printing user submission of transmitting through the remote printing platform:
Step 6.1) the remote printing platform obtains the identifier of printer;
Step 6.2) the remote printing platform matches this printer;
Step 6.3) the remote printing platform obtains the mission bit stream of printing user's submission and is transmitted to printer side;
Step 6.4) printer side is obtained the identifier of task;
Step 6.5) printer side is obtained task and is sent into the task queue of printer from print platform;
Step 6.6) remote printing platform modifying task status is in formation.
Step 7) printer is finished current task, by the remote printing platform, obtains next task:
Step 7.1) the remote printing platform obtains the identifier of printer;
Step 7.2) according to step 2.2), remote port sends and checks the Printer Information request, checks the printer current information;
Step 7.3) details of remote printing platform Display and Print machine;
Step 7.4) the remote printing platform obtains the task queue of printer;
Step 7.5) the remote printing platform extracts the task of formation head;
Step 7.6) the remote printing platform returns the task of formation head to printer.
Step 8) printer side sends the print job information request of upgrading, and the remote printing platform is realized the information updating of print out task:
Step 8.1) the remote printing platform obtains print out task information updating;
Step 8.2) the remote printing platform is checked the print out task current information;
Step 8.3) the remote printing platform extracts the print out task current information, covers the print out task original information;
Step 8.4) the 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, have realized the functional interface of printer management part;
2) the remote printing e-commerce platform is not only for printing all services of the relevant printing that the user provides, and provides concentrated print service for printing the user, helps to print the user and saved the time.
In a word, accomplished to raise the efficiency, saved time, saved cost.
The present invention contrasts prior art and has following remarkable advantage:
1) enriched the practical function of printer;
2) the perfect type service of printing;
3) various users' in larger scope various printing demands have been satisfied;
4) service commodity not only, and can automatic charging.
Description of drawings
Fig. 1: remote printing platform registration printer process flow diagram;
Fig. 2: the remote printing platform upgrades the Printer Information process flow diagram;
Fig. 3: the remote printing platform is deleted registered printer process flow diagram;
Fig. 4: the identical Printer Information process flow diagram of remote printing platform list storage printer proxy number;
Fig. 5: the remote printing platform arranges the printer permissions process flow diagram;
Fig. 6: the remote printing platform is checked the Printer Information process flow diagram;
Fig. 7: printer receives prints the mission flow diagram that the user submits to;
Fig. 8: printer is finished current task, obtains the next task process flow diagram at the remote printing platform;
Fig. 9: the remote printing platform upgrades the printer mission flow diagram.
Embodiment
The printer management method of remote printing e-commerce platform of the present invention, by the remote printing e-commerce platform, realize the relevant all functions interface of printer management, comprised registration printer/Register interface, upgrade printer/UpdatePrinter interface, deletion 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, the list storage printer the List interface, upgrade print out task/UpdateJob interface.Concrete performing step is as follows:
Step 1) printer side sends the registration printer request, and the registration that the remote printing platform is realized printer has namely realized 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 all relevant information of printer, comprises printer name, agency, function, default setting, state, description, prints the registration of machine;
The printer log-on message of step 1.3) remote printing platform processes user input, and give this printer distribution marker, wherein identifier is unique and immutable;
After the printer log-on message of step 1.4) remote printing platform processes user input finishes, return the information of succeeding in registration to the user;
Step 1.5) final, the remote printing platform also can return printer identifier and accord with to the user.
Step 2) printer side send to be upgraded the Printer Information request, and the information updating that the remote printing platform is realized printer has namely realized renewal printer/UpdatePrinter interface, detailed process as shown in Figure 2:
Step 2.1) after printer side had information updating, printer meeting recalls information interface sent lastest imformation to the remote printing platform;
Step 2.2) after the remote printing platform receives lastest imformation, can send and check the Printer Information request, check the printer current information, namely realize checking printer/CheckPrinter interface, detailed process as shown in Figure 6:
Step 2.2.1) the remote printing platform sends when checking the Printer Information request, obtains the printer identifier symbol;
Step 2.2.2) the remote printing platform accords with according to printer identifier, judges that whether this printer identifier symbol exists, if exist, turns step 2.2.4), otherwise, turn step 2.2.3);
Step 2.2.3) the remote printing platform returns the information of " do not have this printer, please re-enter the printer identifier symbol ", turns step 2.2.2);
Step 2.2.4) the remote printing platform obtains this printer current information;
Step 2.3) the remote printing platform extracts the printer current information, and the override printer original information carries out the renewal of information;
Step 2.4) the remote printing platform returns and successfully upgrades Printer Information to the user.
Step 3) printer side sends the deletion printer request, and the deletion that the remote printing platform is realized printer has namely realized deletion printer/DeletePrinter interface, detailed process as shown in Figure 3:
Step 3.1) user inputs the printer identifier symbol that needs deletion;
Step 3.2) the remote printing platform finds this printer according to the printer identifier symbol of user's input;
Step 3.3) the remote printing platform is deleted all information of this printer;
Step 3.4) the remote printing platform returns and successfully deletes Printer Information to the user.
Step 4) the remote printing platform is realized the identical Printer Information of list storage printer proxy number, namely realized the list storage printer the List interface, detailed process as shown in Figure 4:
Step 4.1) input is about to store into the printer proxy number P in the tabulation;
Step 4.2) obtain already present all the different printer proxy number of remote printing platform, formation is arranged, and calculates the length of formation;
Step 4.3) whether the remote printing platform judges queue length greater than 0, if queue length greater than 0, turns step 4.4 according to the queue length of obtaining), otherwise, turn step 4.7);
Step 4.4) gets the printer i proxy number Pi of formation head, and queue length is subtracted 1;
Step 4.5) the remote printing platform judges that according to the current printer proxy number Pi that obtains whether the printer proxy number P that is about to store in the tabulation equates with Pi, if equate, turns step 4.6), otherwise, turn step 4.3);
Step 4.6) the remote printing platform adds printer in the tabulation that proxy number is Pi, turns step 4.8);
Step 4.7) the remote printing platform is according to the newly-built tabulation of proxy number P, and this printer is joined in the tabulation that proxy number is P;
Step 4.8) the remote printing platform returns and successfully adds list information to the user.
Step 5) printer side sends the printer permissions request that arranges, and the access privilege setting that the remote printing platform is realized printer has namely realized arranging printer browsing authority/AuthSetting interface, detailed process as shown in Figure 5:
When step 5.1) the remote printing platform obtains the access privilege request that printer is set, obtain the identifier of printer, and user's identifier;
Step 5.2) after the user confirmed that this user accesses the authority of this printer, the remote printing platform added the user in printer permissions;
Step 5.3) the remote printing platform return printer permissions successfully is set information to the user.
Step 6) printer receives the task that the printing user that transmits through the remote printing platform submits to, has namely realized reception print out task/Receive interface, detailed process as shown in Figure 7:
Step 6.1) input is about to accept the identifier of the printer of this task;
Step 6.2) the remote printing platform matches this printer according to the printer identifier symbol of input;
Step 6.3) the remote printing platform obtains and prints the mission bit stream that the user submits to, and the unique identifier that obtains task;
Step 6.4) after the remote printing platform is sent task into the task queue of coupling printer out, task status is revised as in formation (Queued);
Step 6.5) the remote printing platform returns and successfully receives mission bit stream to the user.
Step 7) printer is finished current task, by the remote printing platform, obtains next task, has namely realized obtaining 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 the Printer Information request, checks the printer current information;
Step 7.3) check the printer current information after, and the details of Display and Print machine;
Step 7.4) according to the details of printer, the remote printing platform obtains the task queue of printer, and extracts the task of formation head;
Step 7.5) the remote printing platform returns the task of formation head to printer.
Step 8) printer side send to be upgraded the print job information request, and the information updating that the remote printing platform is realized print out task has namely realized renewal print out task/UpdateJob interface, detailed process as shown in Figure 9:
Step 8.1) information updating is arranged when print out task, the recalls information interface sends lastest imformation to the remote printing platform;
Step 8.2) after the remote printing platform receives lastest imformation, uses immediately and check print out task current information function, check the print job information after the renewal;
Step 8.3) the remote printing platform extracts the print out task current information, covers the print out task original information, this evening print out task information updating;
Step 8.4) the remote printing platform returns and successfully upgrades print job information to the user.