CN101655778A - Intelligent space moving printing method based on mobile software agent - Google Patents

Intelligent space moving printing method based on mobile software agent Download PDF

Info

Publication number
CN101655778A
CN101655778A CN200910183445A CN200910183445A CN101655778A CN 101655778 A CN101655778 A CN 101655778A CN 200910183445 A CN200910183445 A CN 200910183445A CN 200910183445 A CN200910183445 A CN 200910183445A CN 101655778 A CN101655778 A CN 101655778A
Authority
CN
China
Prior art keywords
service
printer
print
agency
services
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910183445A
Other languages
Chinese (zh)
Inventor
吕建
汪亮
陶先平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN200910183445A priority Critical patent/CN101655778A/en
Publication of CN101655778A publication Critical patent/CN101655778A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses an intelligent space moving printing method based on a mobile software agent, comprising the following steps: firstly, a printer installation service, a printing service and aprinter dispatch service providers register service attribute information to a search service and upload a service agent; then a client downloads a printer dispatch service agent; finally, the clientsearches proximal printer service attribute through the printer dispatch service agent according to an own current position and acquires a corresponding printer installation service agent or a printing service agent to complete a moving printing task. The invention has the advantages that a dispatching algorithm can select a proximal printer for a user to print; a background automatically realizesthe management and the dispatch of printer resources with little user participation; a software agent technique is used so as to be adapted to a dynamic network structure and effectively reduce network load; and in addition, a renting mechanism is used so as to detect the invalidation of the services in time and ensure the effectiveness of the service information.

Description

Intelligent space mobile print method based on mobile software agent
Technical field
The present invention relates to the method that a kind of intelligent space roaming is printed, belong to computer application field, particularly used the mobile software agent technology, when not increasing offered load, realized the automatic management of printer resource and distribution according to qualifications.
Background technology
Universal day by day along with removable computing equipment, people are also more and more higher for the requirement of mobile office.File printout has then become indispensable function in the modern office environment.The manual printing type of traditional " printer driver-selective printing machine-printings is installed " because the loaded down with trivial details artificial participation of needs, force people to be primarily focused on and the irrelevant content of working on, hindered the raising of people's work efficiencies.In addition, because the movability of office is printed in the place that the distance self-position is nearest, also become a urgent demand, yet the existing printer administrative skill can't satisfy this demand of people.
Therefore in modern office environment, need a kind of mode, can finish steps such as printer configuration automatically, and the managing printing machine resource of intelligence, when the user need print, for it provides the print service of optimization.
Summary of the invention
The present invention is directed to existing network printer management difficulty, the deficiency that user's print procedure is loaded down with trivial details provides a kind of intelligent space mobile print method based on the mobile software agent technology.This method is utilized mobile software agent to be user's configuration-system automatically, and is selected optimized printer scheduling scheme by surveying user's current position information.This system can realize stablizing, printer resource is managed and scheduling efficiently.
Native system provides a kind of intelligent space mobile print scheme based on ageng, and it comprises following entity:
Location-based service: the service of client query self current location is provided;
Search service: provide all kinds of services issue, obtain, effectively safeguard the information list of current service by leasing mechanism;
Printer dispatch service and agency thereof: the function according to the nearest printer of place information inquiry is provided; Printer dispatch service agent is a kind of mobile software agent that encapsulates dispatching algorithm;
Printer build-in services and agency thereof: the driver installation function that particular printer is provided; Printer build-in services agency is a kind of mobile software agent that has encapsulated printer driver installation process and configuration information;
Print service and agency thereof: provide to send data to function that particular printer prints; The print service agency is a kind of mobile software agent that transmits data and implement to print to particular printer that encapsulated;
The notebook computer client: refresh user's current location and inquire about printer dispatch service and search service, the printer build-in services agency who obtains nearest printer prints driver and installs, and is nearest printer with the system default printer setup;
Smart machine client: printed driver can not be installed, updating system current location and inquire about the printer dispatch service and search service after receiving user's print request, obtain the print service agency of nearest printer, and by the print service agency print data is sent to nearest printer and print;
Based on the intelligent space mobile print scheme of mobile software agent, its step comprises:
1) supplier of printer build-in services and print service is to searching service registry and upload service agency;
2) the printer dispatch service is to searching service registry and upload service agency;
3) client is to searching services request printer dispatch service and downloading its agency;
4) client is obtained corresponding printer build-in services (notebook computer client) or print service (smart machine client) according to current location information.
Step 4) may further comprise the steps:
41) obtain self current location information by location-based service;
42) according to step 41) self current location of obtaining calls the printer dispatch service agent corresponding function, inquires about nearest printer attribute information;
43) according to step 42) the nearest printer attribute information that obtains obtains printer build-in services agency or print service agency to the service of searching;
44) calling the printer build-in services acts on behalf of corresponding function and obtains printer build-in services or print service and act on behalf of corresponding function and obtain print service.
In addition, for the reasonable management service, the service of searching utilizes leasing mechanism to guarantee all kinds of serv-fails or can " expired " when disappearing, thereby can upgrade information on services in time, the validity of guarantee information.
The present invention compared with prior art, advantage is: dispatching algorithm can print for the user selects immediate printer; The management and the scheduling of printer resource realized on the backstage automatically, and the user participates in few; Use the ageng technology, can adapt to dynamic network structure, and effectively alleviate network burden; Use leasing mechanism, can in time detect the inefficacy of service, guarantee the validity of information on services.
Description of drawings
Fig. 1: mobile print system model;
Fig. 2: service issuing process;
Fig. 3: service acquisition procedure;
Fig. 4: notebook computer client executing flow process;
Fig. 5: smart machine client executing flow process.
Embodiment
1, environmental requirement
1) several printers that can connect by network;
2) can provide the server of all kinds of services;
3) can connect network and the notebook computer and the smart machine of mobile print service client software are installed.
2, application scenarios
The user carries notebook computer or smart machine that mobile print service client software is installed and roams in environment, when the demand of printing, promptly utilizes default printer to print, and print out task will be assigned on the printer of the most close user's current location.The user is according to screen prompt, and the place obtains print result to corresponding printer, finishes printing.
3, technical description
1) printer dispatch service
As Fig. 1, the main task of printer dispatch service is the current location according to the user, prints for the user seeks nearest printer.Certainly the strategy of scheduling also can design according to other principle, such as add the judgement of whether just doing for printer, if nearest printer is being carried out print out task, and the inferior near printer free time, then print out task is dispatched to inferior near printer, to avoid wait.The printer dispatch service provides service by issue printer scheduling broker, adopts agency's advantage to be, scheduling strategy can be encapsulated in and move to the user side operation among the agency, avoids unnecessary network service, reduces offered load.The renewal that the while client can be obtained dispatching algorithm easily by the mode of update agent.
2) search service
Search the service in the service management system, its function comprise service issue, obtain the maintenance with information on services, a good service of searching should be able to be supported the adding of new service fast, support the client to obtain service fast, and the discovery service of having lost efficacy and it is removed from service list automatically.It mainly comprises the requirement of three aspects:
The issue of new service: a new service, comprise that dispatch service, printer build-in services or print service will add in the existing systems, no matter how dispatching algorithm realizes or the model of new printer, what the network address is, all should be able to be accepted by system rapidly and come into operation, and do not need other parts of system are made adjustment.
Obtaining of service: client can be obtained corresponding service easily and fast, and realizes calling service function automatically.
The validity of the service that provides is provided: because network or equipment failure, some service may be temporary transient or permanent unavailable, and the while, the inefficacy of the service of searching oneself can't be initiatively informed in corresponding apparatus and service probably owing to fault is sudden.If can not be in time the service of these inefficacies be removed from service list, then system may offer the user with an invalid service, thereby causes trouble for user's normal use.
The present invention issues, obtains and leasing mechanism by service, satisfies above-mentioned requirements.
● the service issue
Whenever a new service request adds fashionablely, its first-selection is searched service by the broadcast mode search, after finding the service of searching, obtains from server and to search the service broker, calls corresponding method issue oneself.At first, it need search the register method among the service broker, provides required attribute information to system, printer name, printer place, printer model etc.Secondly, it need provide an one's own service broker to management service.The service broker has encapsulated the method that the user calls service function, provides service by unified interface to the user.Fig. 2 has shown the process of service issue.
● service is obtained
When the client need use the function of certain service, at first provide the attribute of required service to the service of searching.The service of searching is searched in service list according to Service Properties, and satisfactory service broker is sent to the client.The client searches the method for serving in the service broker's object that returns by calling, and obtains the function of respective service.Fig. 3 has shown that the client obtains the process of service.
● leasing mechanism
In order in time to detect the inefficacy of service, we have used leasing mechanism.After service issue, to come into force in order to make service, the ISP need file an application by the method for searching the service broker and providing is provided.If application goes through, then the service of searching will be returned one " lease ".A lease has been represented a period of time, and it is effective that this service is considered in the term of validity of lease.Work as lease expires, if continue to provide service, then must be to searching the new lease of service request, as the not application that exceeds the time limit, then this service will be deleted from the service list of the service of searching.
In this way, hinder for some reason and behind the catastrophic failure, even any related announcement is not received in the service of searching, this service also can be eliminated from service list automatically because of lease expires when a certain equipment that service is provided.
3) notebook computer client
The notebook computer client is passed through to bring in constant renewal in self-position, and calls the function of printer dispatch service and printer build-in services, guarantees that the default printer of system is the nearest printer of current distance, thereby realizes the function that the user prints nearby.Client is by refreshing the printer configuration that self-position comes update system, and its concrete steps are described below as shown in Figure 4:
1.1 client is obtained current location;
1.2 compare with original position,, then finish refresh process if the position does not change; If the position changes, then start the printer configuration process;
The printer configuration process prescription is as follows:
1.1 inquire about nearest printer attribute to the printer dispatch service by the client current location;
1.2 if this printer is current system default printer, then finish layoutprocedure; Otherwise execution in step 3
If 1.3 this printer has been equipped with driver in system, then execution in step 6; Otherwise execution in step 4;
1.4 search service by the printer attribute query, obtain printer build-in services agency; As obtain failure, and then report the printer build-in services and do not exist to the printer scheduler program, finish layoutprocedure; Otherwise execution in step 5;
1.5 call the installation method of installation agent;
1.6 be the system default printer with printer setup and finish layoutprocedure;
4) smart machine client
The smart machine client be because of can't installing printed driver, therefore need realize printing function by the Method of printing that calls the print service agency and provided.Different with the notebook computer client, the smart machine client does not need constantly to refresh self-position, but the service broker who just obtains nearest print service when receiving user's print request realizes the function that the user prints nearby.Its concrete steps are described below as shown in Figure 5:
1.1 the user calls the client printing function;
1.2 client is obtained current self-position information by location-based service; If current location is identical with original position, then execution in step 6; Otherwise execution in step 3;
1.3 obtain nearest printer attribute by the printer dispatch service;
1.4 act on behalf of to searching the services request print service according to printer name; As ask success, execution in step 6; Otherwise execution in step 5;
1.5 do not exist to the printer service of the calling service of reporting,, then return step 3 if still have operable print service in the system; Otherwise return error message and finish print procedure;
1.6 call print service agency's printing function and finish print procedure.

Claims (3)

1, a kind of intelligent space mobile print method based on mobile software agent is characterized in that, comprises following entity:
Location-based service: the service of client query self current location is provided;
Search service: provide all kinds of services issue, obtain, effectively safeguard the information list of current service by leasing mechanism;
Printer dispatch service and agency thereof: the function according to the nearest printer of place information inquiry is provided; Printer dispatch service agent is a kind of mobile software agent that encapsulates dispatching algorithm;
Printer build-in services and agency thereof: the driver installation function that particular printer is provided; Printer build-in services agency is a kind of mobile software agent that has encapsulated printer driver installation process and configuration information;
Print service and agency thereof: provide to send data to function that particular printer prints; The print service agency is a kind of mobile software agent that transmits data and implement to print to particular printer that encapsulated;
The notebook computer client: refresh user's current location and inquire about printer dispatch service and search service, the printer build-in services agency who obtains nearest printer prints driver and installs, and is nearest printer with the system default printer setup;
Smart machine client: printed driver can not be installed, updating system current location and inquire about the printer dispatch service and search service after receiving user's print request, obtain the print service agency of nearest printer, and by the print service agency print data is sent to nearest printer and print;
This Method of printing may further comprise the steps:
1) supplier of printer build-in services and print service is to searching service registry and upload service agency;
2) the printer dispatch service is to searching service registry and upload service agency;
3) client is to searching services request printer dispatch service and downloading its agency;
4) client is obtained corresponding printer build-in services or print service according to current location information.
2, the intelligent space mobile print method based on mobile software agent according to claim 1 is characterised in that step 2) search to serve and used leasing mechanism to guarantee the validity of current service information.
3, the intelligent space mobile print method based on mobile software agent according to claim 1 is characterised in that step 4) may further comprise the steps:
41) obtain self current location information by location-based service;
42) according to step 41) self current location of obtaining calls the printer dispatch service agent corresponding function, inquires about nearest printer attribute information;
43) according to step 42) the nearest printer attribute information that obtains obtains printer build-in services agency or print service agency to the service of searching;
44) calling the printer build-in services acts on behalf of corresponding function and obtains printer build-in services or print service and act on behalf of corresponding function and obtain print service.
CN200910183445A 2009-09-22 2009-09-22 Intelligent space moving printing method based on mobile software agent Pending CN101655778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910183445A CN101655778A (en) 2009-09-22 2009-09-22 Intelligent space moving printing method based on mobile software agent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910183445A CN101655778A (en) 2009-09-22 2009-09-22 Intelligent space moving printing method based on mobile software agent

Publications (1)

Publication Number Publication Date
CN101655778A true CN101655778A (en) 2010-02-24

Family

ID=41710077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910183445A Pending CN101655778A (en) 2009-09-22 2009-09-22 Intelligent space moving printing method based on mobile software agent

Country Status (1)

Country Link
CN (1) CN101655778A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508624A (en) * 2011-10-26 2012-06-20 苏州工业园区鑫海胜电子有限公司 Transparent proxy printing method for local area network
CN103890748A (en) * 2011-10-17 2014-06-25 谷歌公司 Roving printing in a cloud-based print service
CN108701009A (en) * 2016-02-23 2018-10-23 沃尔玛阿波罗有限责任公司 Peripheral unit realizes system and correlation technique
CN111158614A (en) * 2018-11-07 2020-05-15 北京京东尚科信息技术有限公司 Printing method, device and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103890748A (en) * 2011-10-17 2014-06-25 谷歌公司 Roving printing in a cloud-based print service
CN102508624A (en) * 2011-10-26 2012-06-20 苏州工业园区鑫海胜电子有限公司 Transparent proxy printing method for local area network
CN108701009A (en) * 2016-02-23 2018-10-23 沃尔玛阿波罗有限责任公司 Peripheral unit realizes system and correlation technique
CN108701009B (en) * 2016-02-23 2022-02-01 沃尔玛阿波罗有限责任公司 Peripheral device implementation system and related method
CN111158614A (en) * 2018-11-07 2020-05-15 北京京东尚科信息技术有限公司 Printing method, device and system

Similar Documents

Publication Publication Date Title
JP5306523B2 (en) Method for managing communication terminal device, communication terminal, and communication system
CN102609277B (en) Application software upgrading method of mobile terminal
JP6444405B2 (en) Software update method, system and device
CN111797414B (en) Hybrid cloud management method, system and cloud service platform
CN101026850A (en) Mobileterminal software autmatic upgrading method and system, mobile terminal and software management server
CN101160563A (en) Method and system for hosting and executing a component application
CN104254844A (en) Exposing network printers to wi-fi clients
CN102523278B (en) Cloud-computing based service providing method and network operator server
US8665473B2 (en) Printing system, control method, storage client apparatus, and web application server
US20120062944A1 (en) Image forming apparatus, network system, control method, and storage medium
CN101008901A (en) Method and system for implementing dynamic upgrade of application system
CN103905574A (en) DNS service access method and DNS data synchronization method and device
CN101895873A (en) Method for updating Java application of mobile terminal, server and mobile terminal
US20130218920A1 (en) Report creating system, report creating apparatus, and report creating method
CN101888620A (en) Mobile terminal application service sharing system and sharing method
CN112423382A (en) Model management method based on 5G network and registration and updating method using NRF
CN101655778A (en) Intelligent space moving printing method based on mobile software agent
CN103955347A (en) Network printing equipment, server, system and method
JP2008015799A (en) Communication device and device remote management system
JP2010182260A (en) Thin client system, management server, thin client terminal, and thin client server
CN103685576A (en) Interaction method for CDN (Content Delivery Network) nodes and CDN management system
CN110162280A (en) A kind of printer material consumption management system and method
CN101699814B (en) Assembly management system and method
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service
JP6195352B2 (en) Delivery control apparatus, delivery control method, program, delivery control system, and control method therefor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100224