CN113961155A - Airborne printing interface protocol extension and printing job automatic scheduling method and device - Google Patents

Airborne printing interface protocol extension and printing job automatic scheduling method and device Download PDF

Info

Publication number
CN113961155A
CN113961155A CN202111198577.4A CN202111198577A CN113961155A CN 113961155 A CN113961155 A CN 113961155A CN 202111198577 A CN202111198577 A CN 202111198577A CN 113961155 A CN113961155 A CN 113961155A
Authority
CN
China
Prior art keywords
printing
job
print
airborne
protocol
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
CN202111198577.4A
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.)
CETC Avionics Co Ltd
Original Assignee
CETC Avionics 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 CETC Avionics Co Ltd filed Critical CETC Avionics Co Ltd
Priority to CN202111198577.4A priority Critical patent/CN113961155A/en
Publication of CN113961155A publication Critical patent/CN113961155A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1209Improving or facilitating administration, e.g. print management resulting in adapted or bridged legacy communication protocols, e.g. emulation, protocol extension
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1259Print job monitoring, e.g. job status
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1296Printer job scheduling or printer resource handling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Abstract

The invention discloses an airborne printing interface protocol extension and printing operation automatic scheduling method and a device, wherein the method comprises the steps of receiving printing operations sent by a plurality of airborne member systems accessed through different buses; converting the received printing operation into an airborne printing protocol and storing the airborne printing protocol in an operation queue; and automatically selecting the available onboard printer according to the load balancing strategy, taking out the printing job from the job queue and sending the printing job. The invention can be compatible with a plurality of machine-mounted printers, and can dynamically and automatically select the target printer according to the printing interface, the printing protocol and the printer state.

Description

Airborne printing interface protocol extension and printing job automatic scheduling method and device
Technical Field
The invention belongs to the technical field of airborne printing, and particularly relates to an airborne printing interface protocol extension and automatic printing job scheduling method and device.
Background
The traditional onboard printer supports ARINC429 interfaces or Ethernet interfaces, the interfaces are single and limited in number, and the expansion is not convenient; while on-board printers support only one or two printing protocols. The connection relation of the airborne member system is complex, an AFDX bus, an ARINC429 bus or an Ethernet bus is adopted, and the data transmission bus of part of the member system is not matched with the interface of the airborne printer. There are also differences in the protocols, with some member systems supporting ARINC744 protocol, while the system of the new point implements ARINC744A, file transfer protocol or block transfer printing protocol, etc. The traditional solution will not support the printing requirements of multiple member systems on a machine.
If a plurality of printers are installed on the printer, the printer needs to be selected according to the bus of the member system and the supported protocol type every time of printing, and the printer is inconvenient to use.
In addition, the traditional scheme can not store the printing tasks, can not automatically recover when the printing tasks are abnormally interrupted, and can not check, backtrack and audit the historical printing tasks.
Disclosure of Invention
In order to meet different airborne printing scenes and solve the problems of the type and the number of airborne printer interfaces and the limitation of a printing protocol, the invention provides an airborne printing interface protocol extension and an automatic printing job scheduling method, which realizes the extension of the type and the number of airborne printer interfaces and the extension of the airborne printer printing protocol.
The invention is realized by the following technical scheme:
an airborne printing interface protocol extension and printing job automatic scheduling method comprises the following steps:
receiving printing jobs sent by a plurality of airborne member systems accessed through different buses;
converting the received printing operation into an airborne printing protocol and storing the airborne printing protocol in an operation queue;
and automatically selecting the available onboard printer according to the load balancing strategy, taking out the printing job from the job queue and sending the printing job.
Preferably, the method further comprises, after the step of converting the received print job into an onboard printing protocol:
the received print job is stored in the job queue after being subjected to priority processing.
Preferably, the step of automatically selecting an available onboard printer according to a load balancing policy, taking out a print job from a job queue and sending the print job according to the load balancing policy specifically comprises the following steps:
acquiring state information of a plurality of airborne printers in real time;
and automatically selecting the available onboard printer for printing according to the job priority and the real-time state information of the onboard printer.
Preferably, the method of the present invention further comprises:
the printing operation, the operation state information and the printer state information in the operation queue are stored persistently;
and displaying according to the operation state and the state information of the onboard printer.
Preferably, the job status of the present invention includes printing failure, non-printing, and printing success.
Preferably, the method of the present invention supports a plurality of printing protocols including:
ARINC744, ARINC744A, LPR, SJTP file schema, and DBMT block schema print protocols.
Preferably, the method of the invention can also add library files meeting the interface specification by configuring/registering the printing protocol, thereby realizing the support of the new printing protocol.
Preferably, the multiple onboard member systems of the present invention send print jobs over ARINC429, ethernet or AFDX buses.
In a second aspect, the invention provides an onboard printing interface protocol extension and automatic printing job scheduling device, which comprises a job receiving module, a protocol processing module and a task scheduling module;
the operation receiving module is used for receiving printing operations sent by a plurality of onboard member systems accessed through different buses;
the protocol processing module converts the received printing operation into an airborne printing protocol and stores the airborne printing protocol in an operation queue;
and the task scheduling module automatically selects an available onboard printer according to a load balancing strategy and takes out a printing job from the job queue to send and print.
In a third aspect, the present invention provides an onboard electronic device, including the automatic scheduling apparatus of the present invention.
The invention has the following advantages and beneficial effects:
1. the invention can be compatible with a plurality of machine-mounted printers, and can dynamically and automatically select the target printer according to the printing interface, the printing protocol and the printer state.
2. The invention supports job storage, and checks and audits the content of the printing job in real time.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a schematic flow chart of the method of the present invention.
Fig. 2 is a schematic block diagram of the apparatus of the present invention.
Fig. 3 is a schematic block diagram of a protocol processing module of the present invention.
FIG. 4 is a functional block diagram of a task scheduling module according to the present invention.
FIG. 5 is a functional block diagram of a queue manager according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
The embodiment proposes a method for extending an onboard printing interface protocol and automatically scheduling a print job, and as shown in fig. 1, the method of the embodiment specifically includes:
s1, receiving the printing operation sent by the onboard member system accessed through different buses;
s2, converting the received print job into an onboard print protocol and storing the onboard print protocol in a job queue;
and S3, automatically selecting the available on-board printer according to the load balancing strategy, taking the print job out of the job queue and sending the print job for printing.
The traditional airborne printer only supports 1-4 paths of ARINC429 or Ethernet input, the number of member systems is gradually increased along with the development of an airborne avionics system, the types of interfaces are diversified, and the type and the number of the current airborne printing interfaces cannot meet the printing requirements of subsequent member systems. The embodiment can receive the print jobs of the ARINC429, the Ethernet, the AFDX and other buses, convert the print jobs into the standard print protocols through protocol conversion and matching, store the standard print protocols into the job queue, and finally send the print jobs to the printer according to the job scheduling policy to finish printing.
The traditional airborne printer only supports ARINC744, ARINC744A and LPR protocols, the embodiment expands the printing protocols of the airborne printer, and increases the support of printing protocols such as SJTP file printing protocol and DBMT block mode.
The embodiment also supports other protocol expansion, can add library files meeting interface specifications through configuring/registering the printing protocol, realizes the support of a newly added printing protocol, and improves the compatibility of the recording printer and the job transmission efficiency.
Traditional on-board printers have only simple static priority scheduling (in interface order); meanwhile, when a plurality of printers are installed on the printer, an operator needs to manually select a target printer. In this embodiment, task scheduling is performed by using a load balancing policy, which specifically includes:
carrying out priority processing on the print jobs after protocol conversion, and then storing the print jobs in a job queue;
acquiring state information of a plurality of airborne printers in real time;
and automatically selecting available printer equipment and taking out the job from the queue to send and print according to the priority of the job and the real-time status information of the onboard printer.
The conventional on-board printer has no functions of job storage, print log, paper information display, trouble display, etc., the on-board printer loses the jobs being printed and the jobs not being printed after power-off or trouble, and the conventional on-board printer has no print job audit function. In the embodiment, the print job failure or unprinted job is persistently stored, and after the device is powered off and then powered on again, the jobs in the queue are recovered from the persistent storage. In addition, the embodiment also carries out persistent storage on the successful printing jobs, and the historical printing jobs can be exported and audited.
The method of the embodiment further comprises information display, and the embodiment can display the job information, the paper information, the fault information and the like, so that an operator can conveniently check the information.
Example 2
The embodiment provides an onboard printing interface protocol extension and automatic printing job scheduling device, which comprises a job receiving module, a protocol processing module, a task scheduling module and a job sending module, as shown in fig. 2.
The operation receiving module is used for receiving printing operations sent by a plurality of onboard member systems accessed through different buses.
The multiple member systems of the embodiment are accessed through different buses, such as the ARINC429, AFDX, ethernet and other buses, and support multiple types of bus data, so that compared with a traditional onboard printer which only supports 1-4 paths of ARINC429 or ethernet input, the number and types of the multiple member systems are expanded.
The protocol processing module analyzes the printing operation transmitted by the operation receiving module to obtain different printing protocols and converts the different printing protocols into airborne printing protocols.
As shown in fig. 3, the protocol processing module of this embodiment supports multiple printing protocols, such as ARINC744, ARINC744A, LPR, SJTP, DBMT block mode, etc., and the protocol processing module of this embodiment also supports other protocol extensions, and by configuring/registering a printing protocol, adds a library file conforming to an interface specification, and realizes support of a new printing protocol.
And the task scheduling module automatically selects an available onboard printer according to the load balancing strategy and takes out the printing job from the job queue to send and print.
As shown in fig. 4, the task scheduling module processes and stores the onboard printing protocols transmitted by the protocol processing module in the queue manager according to the priority, and meanwhile, obtains the real-time states of the plurality of onboard printers from the state monitoring module, and automatically selects the available printer devices and takes out the jobs from the queue manager to send and print according to the real-time states of the onboard printers, so as to realize load balancing among the devices. Compared with the traditional machine-mounted printer which can only be simply scheduled according to the static priority (according to the interface sequence), when a plurality of printers are installed on the machine, the target printer needs to be manually selected, so that the problems of low printing operation efficiency and the like are caused.
Meanwhile, the state monitoring module also stores the state information of the onboard printer for monitoring in the queue manager.
And the job sending module sends the printing job sent by the task scheduling module to the airborne printer for printing.
As shown in fig. 5, the queue manager of the present embodiment further includes a job queue unit, a persistent storage unit, and a job display unit.
The job queue unit is used for storing the print jobs received from the protocol processing module;
the persistent storage unit is used for storing the jobs which are printed or not printed after the onboard printer is powered off or fails, and the jobs in the queue can be recovered from the persistent storage unit after the equipment is powered off and powered on again. In addition, the successfully printed job can be stored in the persistent storage unit.
Meanwhile, the job display unit takes out the printing job information from the persistent storage unit and sends the printing job information to the display to be displayed in combination with the state of the printer. Compared with the conventional machine-mounted printer which has no problems of job storage, fault display, easy job loss and the like, the embodiment can realize the display of job information, paper information, fault information and the like.
The embodiment also provides an onboard electronic device which comprises the automatic scheduling device of the embodiment.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. The airborne printing interface protocol extension and printing operation automatic scheduling method is characterized by comprising the following steps:
receiving printing jobs sent by a plurality of airborne member systems accessed through different buses;
converting the received printing operation into an airborne printing protocol and storing the airborne printing protocol in an operation queue;
and automatically selecting the available onboard printer according to the load balancing strategy, taking out the printing job from the job queue and sending the printing job.
2. The on-board print interface protocol extension and print job auto-scheduling method of claim 1, further comprising after the step of converting the received print job to an on-board print protocol:
the received print job is stored in the job queue after being subjected to priority processing.
3. The method for extending the onboard printing interface protocol and automatically scheduling the print job according to claim 2, wherein the steps of automatically selecting an available onboard printer according to the load balancing policy, taking out the print job from the job queue, and sending and printing the print job are specifically as follows:
acquiring state information of a plurality of airborne printers in real time;
and automatically selecting the available onboard printer for printing according to the job priority and the real-time state information of the onboard printer.
4. The on-board print interface protocol extension and print job automatic scheduling method of claim 1, further comprising:
the printing operation, the operation state information and the printer state information in the operation queue are stored persistently;
and displaying according to the operation state and the state information of the onboard printer.
5. The on-board print interface protocol extension and print job auto-scheduling method of claim 4, wherein job status includes print failed, unprinted and print successful.
6. The on-board print interface protocol extension and print job auto-scheduling method of claim 1, wherein the method supports multiple print protocols including:
ARINC744, ARINC744A, LPR, SJTP file schema, and DBMT block schema print protocols.
7. The method of claim 6, further comprising adding a library file meeting the interface specification by configuring/registering the printing protocol, so as to support the new printing protocol.
8. The on-board print interface protocol extension and print job auto-scheduling method of claim 1, wherein the plurality of on-board member systems send print jobs over ARINC429, ethernet or AFDX buses.
9. The airborne printing interface protocol extension and printing operation automatic scheduling device is characterized by comprising an operation receiving module, a protocol processing module and a task scheduling module;
the operation receiving module is used for receiving printing operations sent by a plurality of onboard member systems accessed through different buses;
the protocol processing module converts the received printing operation into an airborne printing protocol and stores the airborne printing protocol in an operation queue;
and the task scheduling module automatically selects an available onboard printer according to a load balancing strategy and takes out a printing job from the job queue to send and print.
10. An onboard electronic device, characterized by comprising an automatic scheduling apparatus according to claim 9.
CN202111198577.4A 2021-10-14 2021-10-14 Airborne printing interface protocol extension and printing job automatic scheduling method and device Pending CN113961155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111198577.4A CN113961155A (en) 2021-10-14 2021-10-14 Airborne printing interface protocol extension and printing job automatic scheduling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111198577.4A CN113961155A (en) 2021-10-14 2021-10-14 Airborne printing interface protocol extension and printing job automatic scheduling method and device

Publications (1)

Publication Number Publication Date
CN113961155A true CN113961155A (en) 2022-01-21

Family

ID=79464582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111198577.4A Pending CN113961155A (en) 2021-10-14 2021-10-14 Airborne printing interface protocol extension and printing job automatic scheduling method and device

Country Status (1)

Country Link
CN (1) CN113961155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117573050A (en) * 2024-01-17 2024-02-20 北京普云特科技有限公司 Printer-based job priority control method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204565A (en) * 1992-01-24 1993-08-13 Fuji Xerox Co Ltd Network print control system
JPH07141132A (en) * 1993-11-16 1995-06-02 Fujitsu Ltd Network printer and lan network system
US5636333A (en) * 1994-12-20 1997-06-03 Lexmark International, Inc. Multi-protocol network interface
KR20060119228A (en) * 2005-05-19 2006-11-24 삼성전자주식회사 Multi function printer and method of performing jobs using the same
JP2006344080A (en) * 2005-06-10 2006-12-21 Canon Inc Information processor, output device, data processing method, storage medium stored computer-readable program, and program
US20100103453A1 (en) * 2008-10-28 2010-04-29 Canon Kabushiki Kaisha Printing system and control method of the printing system
JP2015176590A (en) * 2014-03-18 2015-10-05 富士ゼロックス株式会社 Print control apparatus and program
US20150301770A1 (en) * 2014-04-16 2015-10-22 Canon Kabushiki Kaisha Print server, control method of print server, and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204565A (en) * 1992-01-24 1993-08-13 Fuji Xerox Co Ltd Network print control system
JPH07141132A (en) * 1993-11-16 1995-06-02 Fujitsu Ltd Network printer and lan network system
US5636333A (en) * 1994-12-20 1997-06-03 Lexmark International, Inc. Multi-protocol network interface
KR20060119228A (en) * 2005-05-19 2006-11-24 삼성전자주식회사 Multi function printer and method of performing jobs using the same
JP2006344080A (en) * 2005-06-10 2006-12-21 Canon Inc Information processor, output device, data processing method, storage medium stored computer-readable program, and program
US20100103453A1 (en) * 2008-10-28 2010-04-29 Canon Kabushiki Kaisha Printing system and control method of the printing system
JP2015176590A (en) * 2014-03-18 2015-10-05 富士ゼロックス株式会社 Print control apparatus and program
US20150301770A1 (en) * 2014-04-16 2015-10-22 Canon Kabushiki Kaisha Print server, control method of print server, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117573050A (en) * 2024-01-17 2024-02-20 北京普云特科技有限公司 Printer-based job priority control method and system
CN117573050B (en) * 2024-01-17 2024-04-12 北京普云特科技有限公司 Printer-based job priority control method and system

Similar Documents

Publication Publication Date Title
EP0896454B1 (en) Network system, network managing method, interface device and terminal device
JP3068650B2 (en) Virtual printer
US7827277B2 (en) Network system including device managing apparatus that manages network devices through a network
US7027169B1 (en) System for efficiently distributing print jobs
CN101102305A (en) Method and system for managing network information processing
JPH0916492A (en) Computer system, peripheral equipment characteristic supply method and computer usable medium
JP2003108448A (en) Device, method, and program for controlling network device
US20040133553A1 (en) Method for setting parameter via network and host computer
CN103312921A (en) Event notification system
CN113961155A (en) Airborne printing interface protocol extension and printing job automatic scheduling method and device
US20140207973A1 (en) Systems and methods for auto-configuring installable device options in a windows print queue
US7924447B2 (en) Method and system for workload balancing
CN109120680A (en) A kind of control system, method and relevant device
US10091380B1 (en) Systems and methods of implementing universal print drivers in a windows print architecture
US11468382B2 (en) Multinode distributed integrity of producing files
US7233417B2 (en) Print job management apparatus
JP5332488B2 (en) Map-based communication of multiple functional entities
CN106170758A (en) Monitor printer
JPH0981494A (en) Print server system
US20090257089A1 (en) Method and System for Managing Print Jobs for a Shared Printer
JP2007172493A (en) Power supply management program, information processing system, and power supply management method
JP4164935B2 (en) Network interface and printer device
JP2000293337A (en) Printing system
JP3146719B2 (en) Printing system
CN117891413B (en) Printer virtualization method and device based on extended spice protocol

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