US20040218208A1 - Image forming apparatus, information processing apparatus, program execution method and program producing method - Google Patents

Image forming apparatus, information processing apparatus, program execution method and program producing method Download PDF

Info

Publication number
US20040218208A1
US20040218208A1 US10/626,608 US62660803A US2004218208A1 US 20040218208 A1 US20040218208 A1 US 20040218208A1 US 62660803 A US62660803 A US 62660803A US 2004218208 A1 US2004218208 A1 US 2004218208A1
Authority
US
United States
Prior art keywords
program
image forming
forming apparatus
application
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US10/626,608
Other versions
US7554685B2 (en
Inventor
Kunihiro Akiyoshi
Tsutomu Ohishi
Yuuko Sugiura
Katsuhiko Nakagawa
Mitsuo Ando
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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
Priority claimed from JP2003199948A external-priority patent/JP4198551B2/en
Priority claimed from JP2003199950A external-priority patent/JP4246560B2/en
Priority claimed from JP2003199949A external-priority patent/JP2004185595A/en
Priority claimed from JP2003199947A external-priority patent/JP2004185593A/en
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Assigned to RICOH COMPANY, LTD. reassignment RICOH COMPANY, LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SUGIURA, YUUKO, AKIYOSHI, KUNIHIRO, ANDO, MITSUO, NAKAGAWA, KATSUHIKO, OHISHI, TSUTOMU
Publication of US20040218208A1 publication Critical patent/US20040218208A1/en
Application granted granted Critical
Publication of US7554685B2 publication Critical patent/US7554685B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • 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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4498Finite state machines
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00413Display of information to the user, e.g. menus using menus, i.e. presenting the user with a plurality of selectable options
    • H04N1/00416Multi-level menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00413Display of information to the user, e.g. menus using menus, i.e. presenting the user with a plurality of selectable options
    • H04N1/00416Multi-level menus
    • H04N1/00419Arrangements for navigating between pages or parts of the menu
    • H04N1/00424Arrangements for navigating between pages or parts of the menu using a list of graphical elements, e.g. icons or icon bar
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00413Display of information to the user, e.g. menus using menus, i.e. presenting the user with a plurality of selectable options
    • H04N1/00416Multi-level menus
    • H04N1/00419Arrangements for navigating between pages or parts of the menu
    • H04N1/00427Arrangements for navigating between pages or parts of the menu using a menu list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00413Display of information to the user, e.g. menus using menus, i.e. presenting the user with a plurality of selectable options
    • H04N1/00416Multi-level menus
    • H04N1/00419Arrangements for navigating between pages or parts of the menu
    • H04N1/00432Arrangements for navigating between pages or parts of the menu using tabs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00464Display of information to the user, e.g. menus using browsers, i.e. interfaces based on mark-up languages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00466Display of information to the user, e.g. menus displaying finishing information, e.g. position of punch holes or staple or orientation references
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00472Display of information to the user, e.g. menus using a pop-up window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00474Output means outputting a plurality of functional options, e.g. scan, copy or print
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00482Output means outputting a plurality of job set-up options, e.g. number of copies, paper size or resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00501Tailoring a user interface [UI] to specific requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00962Input arrangements for operating instructions or parameters, e.g. updating internal software
    • H04N1/00973Input arrangements for operating instructions or parameters, e.g. updating internal software from a remote device, e.g. receiving via the internet instructions input to a computer terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0094Multifunctional device, i.e. a device capable of all of reading, reproducing, copying, facsimile transception, file transception

Definitions

  • the present invention relates to an image forming apparatus and an information processing apparatus to improve efficiency of development of programs and efficiency of execution of programs.
  • an image forming apparatus (to be referred to as a compound machine hereinafter) that includes functions of a printer, a copier, a facsimile, a scanner and the like in a cabinet is generally known.
  • the compound machine includes a display part, a printing part and an image pickup part and the like in a cabinet.
  • three pieces of software corresponding to the printer, copier and facsimile respectively are provided, so that the compound machine functions as the printer, the copier, the scanner and the facsimile respectively by switching the software.
  • an operation panel is provided for the user to operate the compound machine.
  • the operation panel includes an operation display part (LCD panel) for displaying an operation screen and for performing touch operation.
  • LCD panel operation display part
  • the operation display part since capabilities that are provided to the user are predetermined, operations performed by the user for the compound machine are not largely changed. Thus, it is not necessary to customize the display screen and touch operations on the operation display part. Thus, customizing capability for the operation display part is not provided for the conventional compound machine.
  • an image forming apparatus including hardware resources, a plurality of applications, and a platform including various control services provided between the applications and the hardware resources.
  • the hardware resources such as a display part, a printing part and an image pickup part are used for image forming processing.
  • the applications perform processing for user services corresponding to printer, copier and facsimile and the like.
  • the platform includes various control services performing management and execution control of hardware resources necessary for at least two applications commonly, and performing image forming processing. The processing performed by the control services can be called system side processing.
  • the applications and the control services are provided separately.
  • users or third party venders can develop new applications to install in the compound machine. By doing so, various functions can be provided.
  • This problem is not limited to customizing of the operation display part. Generally, it is inefficient to produce a program by using a PC while verifying the program by using the compound machine. In addition, for executing an application, it is necessary to store the application in the compound machine from the PC in which the application is developed. Thus, in addition to developing an application efficiently, it is necessary to store and execute the application in the compound machine efficiently in order to improve the convenience of users.
  • An object of the present invention is provide an image forming apparatus and an information processing apparatus to improve efficiency for developing an application program and to improve efficiency for executing the application program.
  • an image forming apparatus including:
  • a program obtaining part for sending a screen data for inputting a program to a client terminal, and receiving the program from the client terminal;
  • a program execution part for executing the program received by the program obtaining part.
  • a program can be added or amended from an input screen of the client terminal, and the program can be executed without compiling.
  • the operation of the program can be easily tested. Therefore, the program can be easily developed.
  • an information processing apparatus used for developing a program to be executed on an image forming apparatus including:
  • an emulator for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the program.
  • the emulator since the emulator causes the information processing apparatus to emulate the image forming apparatus, the test of the program can be performed on the information processing apparatus, so that efficiency of development of the program improves.
  • an image forming apparatus that includes service modules for performing system side processing on image formation, wherein applications can be added to the image forming apparatus separately from the service modules, the image forming apparatus comprising:
  • an application management part for managing the application executed by the virtual machine.
  • an application executed on the virtual machine can be executed in the image forming apparatus.
  • the application can be easily executed on the image forming apparatus.
  • an information processing apparatus including a utility library that is implemented in a program is provided,
  • the program includes nested modules in which each module is based on a state transition model
  • operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed,
  • the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules.
  • the shared variable shared among the modules can be used safely, and failure due to values of the variables can be prevented, so that the information processing apparatus operates stably.
  • FIG. 1 is a block diagram showing a main configuration of the compound machine and the network configuration according to the first embodiment
  • FIG. 2 is a block diagram of the compound machine 100 according to the first embodiment
  • FIG. 3 shows an example the hardware configuration of the compound machine 100 according to the first embodiment
  • FIG. 4 shows a flowchart showing a process procedure in the compound machine that receives the request message
  • FIG. 5 is a flowchart showing the operation by debug.cgi;
  • FIG. 6 is a flowchart showing an operation of the programming service 132 when one of the storing button, execution setting button and test execution button is clicked in the programming screen 201 ;
  • FIG. 7 shows an example of the programming screen 201 ;
  • FIG. 8 shows an example of the customize program according to the first embodiment
  • FIG. 9 shows an example of the names of the customize programs stored in the customize directly
  • FIG. 10 shows an example of the key association table
  • FIG. 11 shows a flowchart showing a procedure from power on of the compound machine 100 to the execution of the customize program
  • FIG. 12 is an example of the launch setting file 211 ;
  • FIG. 13 is a block diagram showing the main configuration of the compound machine of the second embodiment
  • FIG. 14 shows an example of the programming screen 1101 of the second embodiment
  • FIG. 15 is a block diagram showing the functional configuration of the compound machine 1300 according to the third embodiment.
  • FIG. 16 is a flowchart showing a procedure from power on of the compound machine 1300 to the completion of assigning the button;
  • FIG. 17 shows an example of the launch setting file 211 used in the third embodiment
  • FIG. 18 shows an example of the button setting screen
  • FIG. 19 shows a network configuration including a compound machine 1700 of the fourth embodiment
  • FIG. 20 shows a block diagram showing a functional configuration of the compound machine 1700 ;
  • FIG. 21 shows an example of the launch setting file according to the fourth embodiment
  • FIG. 22 shows a block diagram of the functional configuration of the compound machine according to the fifth embodiment
  • FIG. 23 shows an example in which a VB application is developed by using the Visual Basis development environment on the PC 200 ;
  • FIG. 24 shows an example of a VB application
  • FIG. 25 shows an example of a VB application
  • FIG. 26 shows a block diagram of the compound machine 1900 of the sixth embodiment
  • FIG. 27 shows the configurations of the Java development environment in the PC and the Java execution environment in the compound machine 1900 ;
  • FIG. 28 shows the Java execution environment in the compound machine 1900 ;
  • FIG. 29 shows a network configuration including a Web server
  • FIG. 30 shows a flow of Java application development
  • FIG. 31 shows another example of Java development environment
  • FIG. 32 shows an operation panel screen displayed on the PC by the emulator
  • FIG. 33 shows a screen when the emulator executes loader capability
  • FIG. 34 shows a hierarchical structure of the operation panel classes
  • FIG. 35 is a figure for explaining classes for producing a window
  • FIG. 36 is a sample Java application
  • FIG. 37 shows execution result of the Java program shown in FIG. 36
  • FIG. 38 shows a conceptual illustration from upload to download of the Java application
  • FIG. 39 is a flowchart showing processing procedure of the loader
  • FIG. 40 shows a screen of the loader displayed on the compound machine
  • FIG. 41 shows a load application window
  • FIG. 42 shows a list of Java application displayed by the loader
  • FIG. 43 shows a window for changing update interval
  • FIG. 44 shows a window for unloading current application
  • FIG. 45 shows a procedure for connecting applications
  • FIG. 46 shows a configuration in the the process of the external application 117 according to the seventh embodiment
  • FIG. 47 shows the state transition when the external application has state 1 and state 2 ;
  • FIG. 48 shows an example of modules having a nest structure in the external application
  • FIG. 49 is an example of definition part of the source code of the external application.
  • FIG. 50 is an example of a function definition part in the source code of the external application
  • FIG. 51 is a flowchart showing the process procedure of the state transition model launch function StMachine( );
  • FIG. 52 shows the allocation state of the areas of the shared variables
  • FIG. 53 shows another flowchart showing a process procedure of the state transition model launch function StMachine( ).
  • FIG. 1 is a block diagram showing a main configuration of the image forming apparatus (to be referred to as “compound machine” hereinafter) and a network configuration.
  • the compound machine 100 of the first embodiment is connected to the Internet.
  • a customize program for the compound machine can be input from a client terminal such as a PC (personal computer) connected to the Internet, and debugging of the program can be performed from the PC.
  • the compound machine 100 and the PC 200 are connected by the Internet 220 , in which TCP/IP is used for the communication protocol.
  • the compound machine 100 includes a compound machine initializing part 129 , a program launching part 131 , a programming service 132 , an interpreter 134 , a NCS (network control service) 128 , httpd (http daemon) 106 , a shared memory 105 and a HDD 103 .
  • NCS network control service
  • the programming service 132 displays a programming screen 201 on a Web browser of the PC 200 and receives a customize program from the programming screen 201 , in which the programming screen 201 is a Web page formed by a http file.
  • the programming service 132 stores the customize program input from the PC in a customize directory 212 produced as a customize area of the HDD 103 .
  • the programming service 132 registers the customize program in the after-mentioned launch setting file 211 such that the customize program is executed on the compound machine 100 .
  • the http file is transferred between the programming service 132 and the Web browser of the PC 200 according to a http protocol. Therefore, the programming service 132 has a function of a Web server (http server).
  • the customize program is written by using a language that can be interpreted by an interpreter. More specifically, the customize program is a shell script of UNIX.
  • the interpreter 134 interprets and executes the customize program step by step.
  • the interpreter 134 is the shell (bsh, csh and the like) that executes a shell script.
  • the shell 134 is separated from the kernel 135 of the UNIX operating system.
  • the program launching part 131 launches the external application 117 installed in the HDD 103 if diagnosis result for the HDD 103 is normal.
  • the program launching part 131 launches the external application stored in a recording medium such as an IC card.
  • the compound machine initializing part 129 is a process initially launched on the general OS 121 .
  • the compound machine initializing part 129 launches control services, applications 130 (excluding the external application) and the program launching part 131 .
  • the NCS 128 controls communication via a network, and the NCS 128 notifies the programming service 132 that the NCS 128 has received a request message from the httpd 106 .
  • the httpd 106 is a process (daemon) included in the operating system.
  • the httpd 106 always monitors the port number 80 to receive a request message, and sends a response message.
  • the structure of the request message and the response message is the same as that of a message of a normal http protocol, in which each message includes a message body described in a html format.
  • the httpd 106 notifies the NCS 128 that the httpd 106 has received a request message from the Internet, and stores the request message in the shared memory 105 .
  • the shared memory 105 is used for performing interprocess communication between the httpd 106 and the programming service 132 .
  • the request message and the response massage are sent and received via the shared memory.
  • the HDD 103 stores the launch setting file 211 , and stores the customize program in the customize directory 212 .
  • the PC 200 is a client terminal of the programming service that is a server.
  • the Web browser is running.
  • the Web browser displays the programming screen 201 or other screens on a display of the PC 200 , in which the programming screen 201 is sent from the programming service 132 by using the http protocol.
  • a user can input data.
  • FIG. 2 is a block diagram of the compound machine 100 .
  • the compound machine 100 includes hardware resources and a software group 110 .
  • the hardware resources include a black and white line printer (B&W LP) 101 , a color laser printer 102 , a hard disk drive 103 , and other hardware resources 104 such as a scanner, a facsimile, a hard disk, memory (RAM, NV-RAM, ROM and the like) and a network interface.
  • the software group 110 includes a platform 120 , applications 130 , the compound machine initializing part 129 and the program launching part 131 and the programming service 132 .
  • the platform 120 includes control services for interpreting a process request from an application to issue acquiring requests to the hardware resources, a system resource manager (SRM) 123 for managing one or more hardware resources and arbitrating the acquiring requests from the control services, and a general-purpose OS 121 .
  • SRM system resource manager
  • the control services include a plurality of service modules, which are a system control service (SCS) 122 , an engine control service (ECS) 124 , a memory control service (MCS) 125 , an operation panel control service (OCS) 126 , a fax control service (FCS) 127 , and a network control service (NCS) 128 .
  • the programming service 132 is included in the control service layer.
  • the platform 120 has application program interfaces (API) that can receive process requests from the applications 130 by using predetermined functions.
  • API application program interfaces
  • the general purpose OS 121 is a general purpose operating system such as UNIX, and can execute each piece of software of the platform 120 and the applications 130 concurrently as a process.
  • the process of the SRM 123 is for performing control of the system and performing management of resources with the SCS 122 .
  • the process of the SRM 123 performs arbitration and execution control for requests from the upper layer that uses hardware resources including engines such as the scanner part and the printer part, the memory, the HDD file, the host I/Os (Centronics I/F, network I/F IEEE1394 I/F, RS232C I/F and the like).
  • the SRM 123 determines whether the requested hardware resource is available (whether it is not used by another request), and, when the requested hardware resource is available, notifies the upper layer that the requested hardware resource is available. In addition, the SRM 123 performs scheduling for using hardware resources for the requests from the upper layer, and directly performs processes corresponding to the requests (for example, paper transfer and image forming by a printer engine, allocating memory area, file generation and the like).
  • the process of the SCS 122 performs application management, control of the operation part, display of system screen, LED display, resource management, and interrupt control for applications.
  • the process of the ECS 124 controls engines of hardware resources including the white and black line printer (B&W LP) 101 , the color line printer (Color LP) 102 , the scanner, and the facsimile and the like.
  • the process of the MCS 125 obtains and releases an area of the image memory, uses the hard disk device (HDD), and compresses and expands image data.
  • HDD hard disk device
  • FCS 127 provides APIs for sending and receiving of facsimile from each application layer by using PSTN/ISDN network, registering/referring of various kinds of facsimile data managed by BKM (backup SRAM), facsimile reading, facsimile receiving and printing, and mixed sending and receiving.
  • BKM backup SRAM
  • the NCS 128 is a process for providing services commonly used for applications that need network I/O.
  • the NCS 128 distributes data received from the network by a protocol to a corresponding application, and acts as mediation between the application and the network when sending data to the network. More specifically, the process of the NCS 128 includes server daemon such as ftpd, httpd, lpd, snmpd, telnetd, smtpd, and client function of the protocols.
  • the process of the OCS 126 controls an operation panel that is a means for transferring information between the operator (user) and control parts of the machine.
  • the OCS 126 includes an OCS process part and an OCS function library part.
  • the OCS process part obtains an key event, which indicates that the key is pushed, from the operation panel, and sends a key event function corresponding to the key event to the SCS 122 .
  • the OCS function library registers drawing functions and other functions for controlling the operation panel, in which the drawing functions are used for outputting various images on the operation panel on the basis of a request from an application that has control right or from the control service.
  • OCS function library When the application is developed, functions in the OCS function library are linked to an object program that is generated by compiling a source code file of the application, so that an executable file of the application is generated. All of the OCS 126 can be configured as a process, or can be configured as an OCS library.
  • the application 130 includes a printer application 111 that is an application for a printer having page description language (PDL) and PCL and post script (PS), a copy application 112 , a fax application 113 that is an application for facsimile, a scanner application 114 that is an application for a scanner, a network file application 115 and a process check application 116 .
  • a printer application 111 that is an application for a printer having page description language (PDL) and PCL and post script (PS)
  • PDL page description language
  • PS PCL and post script
  • Interprocess communication is performed between a process of the application 130 and a process of the control service, in which a function is called, a returned value is sent, and a message is sent and received.
  • a process of the control service in which a function is called, a returned value is sent, and a message is sent and received.
  • the compound machine 100 of the first embodiment includes a plurality of applications 130 and a plurality of control services, and each of those operates as a process. In each process, one or more threads are generated and the threads are executed in parallel.
  • the control services provide common services to the applications 130 .
  • User services on image formation such as copying, printing, scanning and sending facsimile are provided while the processes are executed in parallel and the threads are executed in parallel, and interprocess communication is performed each other.
  • a third party vendor can develop an external application for the compound machine 100 , and can executes the application in an application layer on the control service layer in the compound machine 100 .
  • the application and the control service can be a single process.
  • each application in the applications 130 can be added or deleted one by one.
  • the compound machine 100 includes an installer.
  • the installer is used for installing the external application developed by the third party into the HDD 103 .
  • the program launching part 131 launches the external application from the HDD 103 .
  • the preinstalled applications such as the printer application, control services, HDD diagnosing part 132 , and the program launching part 131 are embedded in the flash memory.
  • the preinstalled programs are launched by the compound machine initializing part 129 when the compound machine is powered on.
  • FIG. 3 shows an example of the hardware configuration of the compound machine 100 .
  • the compound machine 100 includes a controller 160 , an operation panel 175 , a fax control unit (FCU) 176 , and an engine part 177 that is hardware resource such as a printer that is specific for image forming processing.
  • the controller 160 includes CPU 161 , a system memory 162 , a north bridge (NB) 163 , a south bridge (SB) 164 , ASIC 166 , a local memory 167 , HDD 168 , a network interface card (NIC) 169 , a SD card slot 170 , a USB device 171 , an IEEE1394 device 172 , and a Centronics 173 .
  • the memories 162 , 167 may includes RAMs and/or ROMs, for example.
  • the FCU 176 and the engine part 177 are connected to the ASIC 166 in the controller via a PCI bus 178 .
  • the CPU 161 executes programs of the application and control services and the like installed in the compound machine 100 by reading from a RAM
  • the method of producing a program for the compound machine 100 will be described.
  • the user launches the Web browser on the PC 200 .
  • the user specifies a URL (for example, http://www.xxx.yyy/zzz/debug.htm) of the programming screen in the compound machine 100 , so that the PC 200 accesses the programming service 132 of the compound machine 100 .
  • the programming service 132 accessed by the Web browser displays the programming screen 201 (debug.htm) on the Web browser of the PC 200 .
  • FIG. 7 shows an example of the programming screen 201 .
  • the programming screen 201 includes a program input field, a reference button, an upload button, a storing button, a delete button, a test execution button and an execution setting button.
  • the programming screen 201 is a file (debug.htm) written in a html format.
  • the Web browser reads the file so that the programming screen 201 is displayed on the PC 200 .
  • the programming service 132 executes a script of CGI to perform processing in response to operation input from the programming screen.
  • the programming service 132 reflects the result of the processing to the programming screen and returns the result to the Web browser of the PC 200 .
  • the programming service 132 executes debug.cgi script.
  • the programming service performs various processing by executing the CGI script in the present embodiment, the various processing can be also performed by using other programs called by the CGI script.
  • the programming screen can be written in a XML (extensible Markup Language ) format.
  • the reference button is a button for referring to the customize program stored in a memory area of the PC 200 .
  • directories of the PC 200 are displayed. If the user specifies a customize program in a directory, the file name of the customize program is displayed in the file name field.
  • the PC 200 may refer to a directory in a recording area of the compound machine such as the HDD 103 .
  • the program input field is a field for inputting the customize program.
  • the customize program can be input directly into the PC 200 by using an input device such as a keyboard of the PC 200 .
  • the customize program can be input.
  • a string “program_list:” is described.
  • the execution setting button is used for associating the customize program with a button, such that the customize program stored in the customize directory can be executed in the compound machine 100 by pushing the button. If the execution setting button is pushed, the programming service 132 searches buttons in a file in the customize directory for a button specified in the customize program by using a key code, so that the customize program is associated with the button. Then, a table in which the name of the customize program and the key code of the button are associated with each other is generated, and the table is stored in the HDD 103 or in the flash memory.
  • test execution button is used for executing the customize program experimentally.
  • FIG. 8 shows an example of the customize program.
  • the customize is a shell script of the UNIX according to the present embodiment.
  • the input shell script is executed step by step by the shell 134 that is a command interpreter of the UNIX.
  • the shell 134 that is a command interpreter of the UNIX.
  • commands specific for the compound machine can be used.
  • the commands are provided by a development library for the compound machine.
  • the script shown in FIG. 8 shows an example for reading a document by using a scanner (scanimage), decompressing image data that is compressed to TIFF format (decomp), and performing character recognition process for the decompressed image data (ocr). Then, the recognition result is sent by e-mail as text data (mail).
  • the commands “scanimage”, “decomp”, and “ocr” are provided by the development library.
  • a button (key) for executing the shell script can be specified in the customize program.
  • FIG. 4 shows a flowchart showing the procedure.
  • the httpd 106 always monitors port 80 , and receives the request message via the port 80 from the PC 200 in step S 301 . Then, the httpd 106 reads the received request message, and writes the request message in the shared memory 105 in step S 302 . Next, httpd 106 notifies the NCS 120 that the the httpd received the request massage in step S 303 .
  • the NCS 128 notifies the programming service 132 that the NCS 128 received the request message in step S 304 .
  • the notification triggers the programming service 132 to refer to the shard memory 105 and reads the request message in step S 305 .
  • the programming service 132 analyzes the information in the request message in step S 305 , and executes processing according to the information described in the message body of the request message in step S 307 . If the message body of the html description includes information instructing to execute a CGI program, the corresponding CGI is executed.
  • the programming service 132 returns the execution result to the PC 200 as a response message via httpd 106 in step S 308 .
  • FIG. 5 is a flowchart showing the operation of the debug.cgi.
  • the programming service 132 may include the program debug.cgi, or the debug.cgi may exist in the outside of the programming service 132 . In the following, the case where the programming service 132 includes the debug.cgi.
  • the programming service 132 reads debug.htm line by line from the top in step S 401 . Then, the programming service determines whether the line indicates the program input field by checking whether the line includes a string “program_list:” in step S 402 .
  • the programming service 132 determines that the line indicates the program input field, the programming service 132 writes the line in a program file in step S 403 , and sends the line to the PC 200 in step S 404 .
  • the programming service determines whether the line is the last line in step S 405 . If the line is the last line, the processing ends. If the line is not the last line, the above-mentioned processing is performed for the next line. Accordingly, the program file is generated and the program is displayed on the Web browser of the PC 200 .
  • the customize program input from the programming screen 201 is uploaded in the compound machine 100 , and the customize program that is uploaded is displayed. After that, the storing button, execution setting button, and the test execution button becomes operable. When a button in the buttons is clicked, the programming service 132 performs following processes.
  • FIG. 6 is a flowchart showing an operation of the programming service 132 when one of the storing button, execution setting button and test execution button is clicked in the programming screen 201 .
  • This processing is written by Java Script as a CGI script in the programming service 132 .
  • the PC 200 detects button operation on the programming screen 201 as an event, and the PC 200 sends the event to the programming service.
  • the programming service 132 executes a Java script according to the event. In the following, the case where the Java script is included in the programming service 132 .
  • the programming service 132 determines the type of the button that is clicked in step S 501 .
  • the programming service 132 stores the customize program in a customize directory of the HDD 103 of the compound machine 100 by using a name specified by the usr in step S 502 .
  • FIG. 9 shows an example of the name of the customize program stored in the customize directly.
  • the directory of the HDD 103 is hdd/xxx/opepane in which the customize programs shell 1 , shell 2 , and shell 3 are stored.
  • the programming service 132 associates the customize program with the button in step S 503 .
  • FIG. 10 shows an example of the key association table.
  • key codes of buttons are associated with customize program names.
  • the programming service 132 executes the customize program in step S 504 .
  • This test execution is realized by issuing a command for executing the customize program by the shell.
  • a screen same as that displayed on the operation panel 210 is displayed on the browser in the PC 200 .
  • the programming service 132 obtains drawing instructions issued by executing the customize program for the operation panel screen, and sends instructions to the PC 200 such that a screen same as the screen that appears on the operation panel by the drawing instructions is displayed on the PC 200 .
  • FIG. 11 shows a flowchart showing a procedure from power on of the compound machine 100 to the execution of the customize program.
  • the user turns on the power of the compound machine 100 .
  • the compound machine 100 diagnoses the hardware by using the ROM monitor in step S 1001 .
  • the general OS 121 is launched in step S 1002
  • the compound machine initialization part 129 is launched in step S 1003 .
  • the compound machine initialization part 129 launches the control services in step S 1004 , and launches existing applications such as the copy application 112 , printer application 111 and the like that are already included at the time of shipment of the compound machine in step S 1005 .
  • the program launch part 131 is launched for launching an external application developed after the shipment of the compound machine in step S 1006 .
  • the program launch part 131 refers to the launch setting file 211 of the HDD 103 in step S 1007 to obtain the name of the program to be executed.
  • FIG. 12 is an example of the launch setting file 211 .
  • a program to be launched by the program launch part 131 is registered as “program name, customize program name”.
  • the shell program of a shell script is registered first, and after that, xxx application is registered as an external application.
  • the customize program which is a shell script is executed by the shell. More specifically, the programming service 132 obtains pushed information of the button, and refers to the key association table, so that the programming service 132 obtains a file name of the customize program corresponding to the button. Then, the programming service 132 executes the customize program.
  • the customize program can be also executed by setting the name of the customize program in the launch setting file.
  • the programming service 132 causes the PC 200 to display the programming screen to input the customize program. Then, the shell 134 executes the customize program. Accordingly, in the development of the customize program, the customize program can be added or amended from the programming screen, and the customize program can be executed on the compound machine without compiling and linking. Therefore, the program can be produced easily.
  • the customize program can be produced efficiently compared with inputting the customize program from the compound machine 100 .
  • the Internet 220 is used for connecting PC 200 and the compound machine.
  • LAN can be used.
  • other protocols other than the TCP/IP can be used.
  • the PC 200 may have a program for displaying the programming screen and sending the customize program instead of receiving the debug.htm file from the compound machine.
  • the customize program is produced in the PC 200 and the program is stored in the compound machine 100 .
  • the customize program is input from the operation panel of the compound machine in the second embodiment.
  • FIG. 13 is a block diagram showing the main configuration of the compound machine of the second embodiment.
  • the other configuration of the compound machine is the same as that of the compound machine of the first embodiment shown in FIG. 2.
  • the compound machine 1100 of the present embodiment includes a programming service 1132 , an interpreter (shell) 134 and the HDD 103 .
  • the programming service 1132 displays a programming screen on the operation display part of the operation panel 210 .
  • the user can input a customize program from the programming screen.
  • the programming service 1132 stores the input customize program in a customize directory 212 , in which the customize directory 212 is a customize area of the HDD 103 .
  • the programming service 1132 registers the customize program in the launch setting file such that the customize program can be executed on the compound machine 1100 .
  • Capabilities of the compound machine initialization part 129 , the program launch part 131 , the launch setting file 211 and the customize directory are the same as those of the compound machine 100 .
  • FIG. 14 shows an example of the programming screen 1101 .
  • the programming screen is displayed from the system initialization setting screen by selecting a tag of “programming”.
  • the programming screen 110 shows the input field, the reference button, the storing button, the execution setting button and the test execution button.
  • a software keyboard is displayed on the operation display part. By using the software keyboard, the customize program can be input from the input field.
  • the programming service 1132 stores the customize program in the customize directory of the HDD 103 .
  • the programming service 1132 associates the customize program and a key code of a button (key) specified by the customize program, and stores a table indicating the association. Execution processing of the produced customize program is the same as that of the first embodiment.
  • the programming screen 1101 is displayed on the operation display part of the operation panel 210 , and the customize program can be input from the screen.
  • the customize program can be produced.
  • the customize program associates the customize program with a button (key) of the operation display part by using a description in the customize program.
  • correspondence between the customize program and the button (key) is dynamically established at the time when the compound machine is powered on.
  • FIG. 15 is a block diagram showing the functional configuration of the compound machine 1300 .
  • the customize program of a shell script is produced in the PC 200 , and the customize program is stored in the HDD 103 and executed by the compound machine 1300 .
  • the configuration of the compound machine of this embodiment is different from that of the first embodiment in that the compound machine 1300 has an operation panel registration part 133 .
  • the operation panel registration part 133 assigns a button (key) to the customize program for executing the customize program. That is, by pushing (touching) a button assigned by the operation panel registration part 133 , the customize program is executed.
  • the procedure for producing and storing the customize program of this embodiment is the same as that of the first embodiment.
  • the method for assigning the button to the customize program will be described.
  • the user turns on the power of the compound machine 100 again after the customize program is stored in the customize directory in order to assigning the customize program to a button (key).
  • FIG. 16 is a flowchart showing a procedure from power on of the compound machine 1300 to the completion of assigning the button.
  • the steps from power on to the launch of the program launch part 131 are the same as the corresponding steps of the compound machine of the first embodiment.
  • the launched program launch part 131 refers to the launch setting file 211 in the HDD 103 in step S 1507 , and obtains a name of a program to be launched.
  • FIG. 17 shows an example of the launch setting file 211 used in this embodiment.
  • a program of the operation panel registration part, the shell and an external application are set as programs to be launched.
  • the program launch part 131 launches the program of the operation panel registration part 133 first in step S 1508 .
  • the program of the operation panel registration part 133 is stored in the customize directory beforehand.
  • the interpreter (shell) 134 is launched in step S 1509 .
  • the external application is launched in step S 1510 .
  • the launched operation panel registration part 133 displays a setting screen for key assignment on the operation panel in step S 1511 .
  • FIG. 18 shows an example of the setting screen.
  • buttons that can be assigned are displayed for each customize program on the setting screen.
  • the operation panel registration part 133 associates the button with the customize program, and stores the association information in a recording medium such as the HDD 103 or a flash memory as a table in step S 1512 . Accordingly, the button is assigned to the customize program.
  • the programming service 132 displays the programming screen 201 , so that the user inputs the customize program. Then, the operation panel registration part 133 assigns a button (key) to the customize program. By launching the operation panel registration part 133 when the compound machine 1300 is powered on, a button for launching the customize program can be dynamically determined at the time when the compound machine 1300 is launched.
  • the operation panel registration part assigns the button to the customize program in this embodiment
  • a control service such as the SCS 122 also can assign a button to the customize program.
  • the customize program is executed by the shell 134 which is a command interpreter of UNIX.
  • the customize program is executed by using an interpreter other than the shell 134 .
  • FIG. 19 shows a network configuration including a compound machine 1700 of the fourth embodiment.
  • FIG. 20 shows a block diagram showing a functional configuration of the compound machine 1700 .
  • the compound machine 1700 is connected to the Internet in addition, the customize program can be input and can be debugged from the PC 200 that is a client terminal connected to the Internet.
  • the customize program there is a program in which buttons are displayed on the operation display part, when a button is pushed, processing corresponding to the button is executed.
  • the customize program is written by using the Visual Basis language. Then, the customize program is executed by using the Visual Basis interpreter.
  • the compound machine includes the compound machine initializing part 129 , the program launching part 131 , the programming service 132 , the Visual Basis interpreter 1734 (referred to as VB interpreter 1734 hereinafter), the NCS 128 , the httpd 106 , the shared memory 105 and the HDD 103 .
  • Capabilities of the compound machine initializing part 129 , the program launching part 131 , the programming service 132 , the NCS 128 and the httpd 106 are the same as those of the first embodiment.
  • the contents in the launch setting file 211 stored in the HDD 103 and the customize directory are the same as hose of the first embodiment.
  • the VB interpreter 1734 interprets and executes the customize program step by step. Producing and storing the customize program in this embodiment are performed in the same way as the first embodiment.
  • the launch setting file 211 includes the program name of the VB interpreter 1734 .
  • FIG. 21 shows an example of the launch setting file.
  • “VB interpreter” is set in the first line of the launch setting file 211 .
  • the program launch part 131 launches the VB interpreter 1734 by referring to the launch setting file 211 . Accordingly, the customize program can be executed.
  • the customize program can be executed by the VB interpreter that runs under the general OS 121 , the customize program can realize more advanced features compared with the program runs under the shell. Thus, advanced program can be easily produced.
  • the PC 200 may include a Visual Basis development environment including the VB interpreter.
  • the development of the customize program including designing LCD panel screen, can be performed on the PC 200 .
  • the developed program can be sent to the compound machine, for example, by using a file transfer protocol, so that the program is stored in the compound machine.
  • the programming service 132 can be included in the application layer instead in the control service layer.
  • the compound machine of the fourth embodiment executes the customize program by using an interpreter operating under the general OS 121 .
  • the VB interpreter 1801 and the VB application 1802 are included in the application layer.
  • FIG. 22 shows a block diagram of the functional configuration of the compound machine according to the fifth embodiment.
  • the compound machine of the fifth embodiment is connected to the Internet using TCP/IP in the same way as the fourth embodiment.
  • a user can input the customize program and debug the customize program from the PC 200 that is a client terminal connected to the network.
  • the produced customize program is executed by the Visual Basis interpreter (referred to as VB interpreter hereinafter) included in the application layer.
  • the programming service 132 may be included in the application layer.
  • the VB application is developed on the PC 200 in which a Visual Basis development environment is installed.
  • the developed VB application is transferred to the compound machine, and the compound machine stores the VB application. Selected on the operation panel, the VB application is launched, so that the VB application is executed by the interpreter 1801 .
  • this embodiment will be described in more detail.
  • FIG. 23 shows an example in which a VB application is developed by using the Visual Basis development environment on the PC 200 .
  • the window of Project2-Form2 (Form) is used for producing a menu screen displayed on the operation panel of the compound machine.
  • three buttons are set. The buttons are “SCAN”, “FAX” and “START”.
  • the application program is designed such that scanning, fax sending or the like is performed when a corresponding button is pushed on the operation panel.
  • the window of Project2-Form2 (Code) is for producing a program for performing scanning, fax sending or the like when a button in the screen is pushed.
  • the Project2.vbp stores information for managing a project and conditions for executing the program as variable values.
  • the Form2.frm is the program to be interpreted by the VB interpreter 1801 .
  • the VB application is uploaded from the PC 200 by using the programming service 132 in the compound machine from the PC 200 .
  • FIGS. 24, 25 shows an example of the VB application to be executed by the VB interpreter 1801 .
  • a window including a NEXTWIN button is displayed first. If the NEXTWIN button is pushed, a function “change_display(“Form2”)” is executed by call (“change_display”, “Form2”), so that the screen is changed to a next screen (Form2 window).
  • FIG. 25 shows a VB program for displaying the Form2 window.
  • the VB program of Form2 corresponds to the screen in FIG. 23.
  • the first ScanStart function means reading an A4 size document from an ADF to a binary image, and storing the binary image in a file “/work/tempfile” on the HDD by using TIFF format.
  • the VB interpreter 1801 interprets the function and causes the compound machine to operate in the above-mentioned way.
  • “gwOpItemCreate( )” in the next line is a function provided by the OCS 126 of the compound machine. By this function, a character string is displayed on a current screen.
  • the function gwOpItemCreate( ) is executed by a function call to the OCS 126 by the VB interpreter 1801 .
  • the VB interpreter and the VB application are set in the launch setting file shown in FIG. 11, so that the VB interpreter and the VB application are launched in the same way as shown in FIG. 10.
  • the VB interpreter 1801 waits for screen drawing a preparation end event from the SCS 122 .
  • the VB interpreter 1801 receives the event, the VB interpreter 1801 generates a window image to be displayed initially (root window generation).
  • the VB application prepares initial screen by executing functions for generating a child window in the root window and for displaying character strings. Then, by executing a function for indicating end of screen preparation, the VB application notifies the SCS 122 of the end of the screen preparation.
  • the SCS 122 issues an event for requesting change of the owner of the operation screen.
  • the VB application executes a function for indicating that the VB application can be the owner of the operation screen.
  • the initial screen is displayed.
  • the VB application is substantively executed by the VB interpreter 1801 .
  • the application can be developed efficiently by using the VB interpreter.
  • the compound machine of the fifth embodiment is configured such that the VB interpreter is loaded on the application layer.
  • the compound machine of the sixth embodiment is configured such that a Java execution environment is included as an application.
  • FIG. 26 shows a block diagram of the compound machine 1900 of the sixth embodiment.
  • the compound machine 1900 includes a Java execution environment 1901 and a Java application 1902 in the application layer.
  • the Java application is developed by using a PC (personal computer) and the Java application is downloaded in the compound machine. Then, the Java application is executed by using the Jva execution environment 1901 .
  • FIG. 27 shows the configurations of the Java development environment in the PC and the Java execution environment in the compound machine 1900 .
  • the Java execution environment includes a class library 1911 , a virtual machine 1912 , and an application management part 1914 .
  • the class library 1911 is a class library used for providing services for the Java application to operate the compound machine easily.
  • the class library of this embodiment includes, for example, operation panel classes, event classes, compound machine control classes, network transaction classes, basic Java classes and the like.
  • the Java application itself is a set of classes, and the classes refer to classes in the class library so that the Java application performs its processing. If the Java application includes all capabilities of classes of the class library used by the application, the Java execution environment may be configured without the class library.
  • Source code of a Java program is compiled to byte code as intermediate code.
  • the virtual machine 1912 interprets and executes the byte code.
  • the application management part 1914 has capabilities for managing Java applications.
  • the capabilities include listing of Java applications, execution management of Java application such as launch and forced termination, load and upgrade of Java application, deletion of installed Java application, password setting for application registration and the like.
  • the execution environment further includes a native program interface 1913 .
  • the native program interface 1913 has capabilities for the Java code executed by the virtual machine 1912 to operate with applications or libraries written by other programming language such as C.
  • the Java application can access APIs of control services.
  • the Java development environment includes a class library 1921 , a virtual machine 1922 and an application management part 1924 . Further, the Java execution environment includes a Java compiler 1925 for generating the byte code and an emulator 1923 for emulating operations of the compound machine running the Java application.
  • the Java application developed by the Java development environment can be loaded into the Java execution environment of the compound machine via a recording medium such as IC card and the like. In addition, the Java application can be loaded via a network.
  • the Java execution environment can access the Web server to load a Java application.
  • a FTP server can be used.
  • FIG. 30 shows a flow of Java application development. As shown in FIG. 30, first, source code of Java is produced as a Java file. Then, the source code is compiled by the Java compiler to generate a class file. Then, a plurality of class files are archived to a Jar file. It is desirable to include a file indicating a class having “main” routine.
  • Debugging of the Java application is available by executing the Java application on the compound machine in the same way as the previously described embodiments. According to this embodiment, debugging is available without the target compound machine by using the emulator 1923 shown in FIG. 27. It is relatively easy to emulate the execution environment when Java is used since Java uses the virtual machine. After development of the application by using the emulator is completed, the Java application (byte code) is loaded into the compound machine via a network or via an IC card. Then, evaluation of the application can be performed on the compound machine.
  • the emulator can be configured such that the emulator receives instructions from the Java application and operates the PC according to the instructions. For example, for an instruction for displaying data on a display part of the operation panel, the emulator causes the PC to display a screen same as the screen to be displayed on the display part of the compound machine.
  • the PC does not have engines (scanner, printer and the like) that are included in the compound machine. Therefore, for example, for a print instruction from the Java application, the emulator causes the PC to display an image showing printing, or the emulator causes the PC to actually print out a paper to a default printer.
  • the emulator causes the PC to notify the user to select a file to be copied from a local file system, and causes the PC to display a dialog box to input copy destination, and causes the PC to copy the selected file to the copy destination.
  • the emulator can be implemented as a separate program from the virtual machine and the class library as shown in FIG. 27.
  • the emulator can be also implemented as a class in the class library as shown in FIG. 31.
  • FIG. 32 shows an operation panel screen displayed on the PC by the emulator.
  • the elements such as buttons displayed on the screen are equivalent to those of the actual compound machine.
  • the emulator has capabilities of a loader for selecting a Java application stored in the PC and executing the selected Java application. If the emulator executes the loader capability, for example, a screen shown in FIG. 33 is displayed. Then, the user selects a Java application, and the Java application is executed by pushing the execution button.
  • the Java application displayed on the screen is a class name having main routine or a name of a Jar file.
  • the emulator also has a capability for logging state information of an application operating on the emulator.
  • messages to be logged can be set.
  • the user can set the emulator such that only serious errors that may abnormally terminate the application are logged, or, detailed information that can be used for debugging are logged.
  • PC 200 may include the interpreter and an emulator similar to that of the present embodiment. After debugging of a program ends, the program is sent to the compound machine to evaluate the program by accessing the compound machine.
  • FIG. 34 shows a hierarchical structure of the operation panel classes.
  • the classes of ***Window are classes for producing a window
  • the classes of ****Item are classes for producing elements such as buttons in the window.
  • a program including following code can make a main window and elements in the window shown in FIG. 35.
  • mainwindow newPanelWindow(panel.root( ),640,240);
  • MessageItem msg new MessageItem(20, 20, 600, 40);
  • ButtonItem Button new ButtonItem(10, 60, 80, 30);
  • (c) (a) is code for making the main window of 640 dot width and 240 dot height.
  • (b) is code for producing a message item of 600 dot width and 40 dot height at a position (20, 20).
  • (c) is code for making a button of 80 dot width and 30 dot height at (10, 60).
  • the program shown in FIG. 36 is for implementing a user interface on the operation panel of the compound machine.
  • the program displays messages of “Hello World” and “Your Input Was . . . ” and a button of “Get Input . . . ”.
  • a soft keyboard is displayed on the panel.
  • the soft keyboard displays a title of “Add your Input” to invite the user to input code.
  • the user input a string, “ABCD!”, for example, from the soft keyboard, the string, “ABCD!” is displayed under the message of “Your Input Was . . . ”.
  • (1) is an instruction for using the operation panel class library.
  • (2) indicates inheriting GWApp, so that application class of the compound machine can be used.
  • inheriting GWApp the user do not need to write code for complicated initialization and end processing, in addition, processing such as message receiving can be hidden to the user.
  • an object for displaying the message of “Hello World” is generated.
  • a button object of “Get Input . . . ” is generated.
  • an object for displaying a message of “Your Input Was . . . ” is generated.
  • (6) an message object for displaying characters input from the soft keyboard is generated.
  • the application management part 1914 is launched at the time of launch of the compound machine like the other applications. By pushing an application launch key, for example, the application management part 1914 displays a user interface on the operation panel. At this time, if a Java application is not loaded, the application management part 1914 displays an application load screen. From the application load screen, the user causes the compound machine to access a predetermined Web site or an IC card to load the Java application into the compound machine.
  • the application management part 1914 inquires of the Web server information on the Java application to check whether the Java application can be installed. For example, the application management part 1914 checks program size, version, program latest update information, memory work size to be used, storage size to be used, network address to be used, available term of the application (number of times the application can be used), application program name and the like.
  • the application management part 1914 downloads the Java application file into the compound machine.
  • the application management part obtains application name and add the name to an application list.
  • the Java application is stored in the hard disk of the compound machine.
  • the Java application can be used.
  • the virtual machine is launched and the Java application is executed.
  • the Java application cab be also executed in the following way.
  • the following method is an example in which the Java application is loaded from the Web server in the configuration shown in FIG. 29.
  • a loader program
  • the loader itself can be implemented as a Java application, or can be implemented by using other language such as C language.
  • FIG. 38 shows a conceptual illustration from upload to download of the Java application.
  • the Java application that has been developed and tested in the Java development environment is uploaded to a Web server in step 1 .
  • the loader of the compound machine accesses the Web server in step 2 , downloads the Java application the user wants in step 3 , and the Java application is executed.
  • the user pushes a predetermined button for changing application. Then, the loader checks if a Java application is already loaded in step S 11 . If the Java application is already loaded, the Java application is executed in step S 12 . Then, a user interface of the Java application is displayed. If the Java application is not loaded, a screen of the loader is displayed in step S 13 . Also when execution of the Java application ends, the screen of the loader is displayed. In addition, while the user interface of the Java application is displayed, if the user inputs predetermined code and pushes a predetermined button, the screen of the loader can be displayed.
  • FIG. 40 shows a screen of the loader displayed on the compound machine.
  • the loader displays a Java application name if the Java application is currently loaded in the compound machine, and displays frequency for checking update of the Java application in the Web server.
  • step S 14 On the screen of the loader, when the user touches the button of “load application”, an application load window shown in FIG. 41 is displayed in step S 14 .
  • URL of the Java application is input in the window.
  • the loader may displays a list of Java applications shown in FIG. 42. Then, the user can selects a Java application from among the list. The user inputs a name of a class having main routine in the field of the class name shown in FIG. 41 as necessary.
  • the loader automatically accesses the Web server at predetermined intervals to check whether the updated Java application is stored in the Web server. For checking the update, the loader compares date and time stamp of the currently loaded application with those of the corresponding application in the Web server. If an updated Java application is found, the currently operating application is deleted and the updated application is downloaded.
  • the user touches the update interval button shown in FIG. 40 to display a screen shown in FIG. 43 in step S 16 . Then, the user selects hour or minute by using arrow key in the screen, and inputs a new interval by using numeric keys of the operation panel.
  • a customize program can be produced by connecting Java applications.
  • the processing for connecting the applications will be described with reference to FIG. 45.
  • the program for producing the customize program is a Java application that is referred to as customize application hereinafter.
  • the customize application may be installed in the compound machine beforehand.
  • the customize application displays a screen 1 in FIG. 45. On the screen 1 , only a paper object is shown. Other object may be input. An object can be input and output by using “input” button and “output” button. In addition, on the screen 1 , an attribute such as read/write permission can be set for the paper object by “read/write permission” button.
  • a customize program is produced in which the customize program performs processing for scanning a paper and sending the scanned image file by a mail.
  • a key is assigned to the customize program.
  • the customize program is a program for executing connected classes one by one.
  • Downloading applications from the Web server, and producing a customize program by connecting applications can be applied for other embodiments of the present invention.
  • the compound machine can download applications from the server.
  • Each of service programs and application programs described so far can be stored in a recording medium such as IC card and the like, and can be stored in the compound machine.
  • each of service programs and application programs described so far can be stored in the compound machine from an external server via a network.
  • an application can be developed efficiently by using the Java environments.
  • applications can be added to the compound machine after shipment of the compound machine.
  • a plurality of applications developed by a plurality of vendors run at the same time on the compound machine.
  • an application that includes a plurality of modules developed by a plurality of sections run on the compound machine.
  • each vendor develops the application by using its own method, there is a possibility of affecting preinstalled applications and the system of the compound machine. Especially, if usage of shared variables and events of the compound machine is left to each vendor, there is a possibility that software failure may occur in the compound machine so that the system of the compound machine becomes unstable. This problem may arise not only for the image forming apparatus but also for general information processing apparatuses.
  • the configuration of the compound machine of this embodiment is the same as that of the first embodiment.
  • the external application 117 is produced according to a state transition model.
  • the external application 117 is linked with a utility library including a state transition model launch function.
  • the process of the external application 177 is a multi-thread environment in which a plurality of threads are executed in parallel. As shown in FIG. 46, in the process of the external application 117 , a main thread and an image library thread are executed in parallel.
  • the main thread 2100 is a thread that executes main processing of the external application.
  • the main thread calls the image library thread 2000 , so that function calling to control services and VAS (virtual application service), receiving the return values, and message sending/receiving are realized.
  • VAS virtual application service
  • the process of the external application includes a sub thread 2200 , mail boxes 2110 , 220 and 2140 , and an event obtaining handler (thread) 2130 .
  • the main thread 2100 includes a utility library 2150 in which state transition model launch functions are registered.
  • the mail box 2110 is used for communication among the main thread 2100 , the image library thread 2000 , and the event obtaining handler 2130 .
  • the mail box 2120 is used for communication between the main thread 2100 and the image liberally thread 2000 .
  • the event obtaining handler 2130 receives an event message from a process of a control service such as ECS or MCS or the VAS, and writes the event message in the mail box 2110 .
  • the main thread 2100 accesses the control service, the main thread 2100 sets up the mail boxes 2110 , 2120 and 2140 , then, launches the image library thread 2000 .
  • the main thread 2100 puts a command for function calling for the image library thread 2000 in the mail box 2110 , in which the source information is set as MB_REQUEST.
  • an event message from the control service and the like is also put in the mail box 2110 as a mail having source information MB_CS.
  • the image library thread 2000 obtains a mail delivered to the mail box 2110 by using a function rcv_msg( ).
  • the image library thread 2000 searches for a function corresponding to the source information and an event or function information included in the mail. If the function is detected, the library thread 2000 executes the function. If the function is not detected, nothing is done.
  • the obtained mail is transferred to the mail box 2120 irrespective of execution of the corresponding function.
  • the image library thread 2000 puts a mail having source information of MB_IMAGE, in the mail box 2120 , as a notification of error information, execution result, progress and the like to the main thread.
  • the main thread 2100 and the sub thread 2200 send and receive messages by using the mail boxes 2140 and 2120 .
  • the utility library 2150 and the image library are provided as an installable file stored in a recording medium such as a CD-ROM or FD.
  • the file is provided as a part or whole of a tool kit for software development such as “SDK: Software Development Kit”.
  • the utility library 2150 and the image library can be provided via network, for example, by downloading from a Web site.
  • the developer compiles the source file of the external application by using a compiler to produce an object file. Then, the object file and the utility library and the image library are linked by using a linker so that an execution file of the external application is produced.
  • the execution file is stored in a flash card and the like, and is installed from the flash card into the compound machine, so that the external application having the utility library and the image library is mounted on the compound machine.
  • the execution file can be installed from a server via a network.
  • FIG. 47 shows the state transition when the external application has state 1 and state 2 .
  • the main thread 2100 of the external application 117 includes the state 1 and the state 2 , and current state is the state 1 .
  • the main thread 2100 receives an event 1 by the function rcv_msg( )
  • an event function 1 is executed so that the state changes to the state 2 and an entry function 2 is executed.
  • the “state” means a state for waiting an event.
  • the “event” is an event that triggers state transition.
  • the “entry function” is a function executed when state transition occurs.
  • the “event function” is a function that is executed for an event.
  • modules (sub modules) of state transition models are produced.
  • Each module processes only events that are related each other among all events occurred in the external application.
  • a module of a state transition model that controls whole modules is provided, in which this module executes sub modules as necessary by calling functions.
  • a sub module that is called may perform function call to execute further sub modules of state transition model as necessary.
  • Each module does not use global variables that can be used in all of the external application. Instead, each module dynamically keeps a shared memory when the module is launched. Therefore, if the same module is called recursively, it is assured that the program is exactly executed.
  • FIG. 48 shows an example of modules having a nest structure in the external application.
  • three nests (modules) exists.
  • a module of nest 1 is called by an event function sub 1 ( ) from nest 0
  • a module of nest 2 is called by using an event function sub 2 ( ).
  • variable shared variable shared among the entry functions and the event functions that are executed in modules
  • the variable can not be passed as an argument of a function due to limitation of function type.
  • such variable is defined as a global variable, there is a high possibility that a value in the variable may be unpredictably changed in modules of the nest structure or in multi threads, so that the global variable may cause fault in the external application.
  • a variable can be shared in a module of a state transition model and in nested modules.
  • FIG. 49 is an example of definition part of the source code of the external application.
  • the external application 117 has two states DEMO_ST_IDLE and DEMO_ST_RUN, and event function table “eventDemoIdle” is defined for the sate of DEMO_ST_IDLE, and event function table “eventDemoRun” is defined for the state of DEMO_ST_RUN.
  • Data in the demoSt Tbl[] is written in an order of states in which the entry function table and the event function table are defined.
  • shared variables effective in a thread of the thread number THREAD_NO can be used.
  • FIG. 50 is an example of a function definition part in the source code of the external application.
  • the function “execDemoFunc” launches a state transition model. More specifically, the function “execDemoFunc” keeps and set an area for the shared variables, and calls a state transition model launch function StMachine( ).
  • executionDemoFUNC calls the state transition model launch function StMachine( ) by specifying that, in a thread of the thread number THREAD_NO, according to the state information table demoStTble, state is to be launched from state number DEMO_ST_IDLE, and an area indicated by pCom is used as shared variables.
  • StMachine the state transition model launch function StMachine( ) by specifying that, in a thread of the thread number THREAD_NO, according to the state information table demoStTble, state is to be launched from state number DEMO_ST_IDLE, and an area indicated by pCom is used as shared variables.
  • descriptions of the event functions and the entry functions are included as shown in FIG. 50.
  • FIG. 51 is a flowchart showing the process procedure of the state transition model launch function StMachine( ).
  • FIG. 52 shows the allocation state of the areas of the shared variables.
  • the value of a stack pointer sp directly corresponds to a nest number.
  • a pointer to a shared variable group is stacked on a stack area. Therefore, the shared variable is not changed accidentally in a lower layer module.
  • a shared variable having the same name can be used like a global variable while keeping an accurate value of the shared variable.
  • the state transition model launch function StMachine( ) refers to an event function table of a current state to check the information of the table in step S 702 . Then, the function determines whether a received message is defined in the event function table in step S 703 . If the received message is defined, the state transition model launch function StMachine( ) executes an event function corresponding to the received message in step S 704 , and executes an entry function in step S 705 . If the received message is not defined in the event function table, the event function is not executed. The above mentioned processes are repeated until the end of the event function table in step S 706 . Accordingly, the external application produced based on the state transition model is executed.
  • the external application includes a plurality of modules of nest structure.
  • the application includes the utility library 2150 in which the state transition model launch function is registered, wherein the state transition model launch function allocates areas each for a module to a shared variable shared among modules.
  • the shared variable can be used safely among modules, and failures due to values of variables can be prevented.
  • the compound machine can execute the external application stably.
  • the external application Since the external application is produced on the basis of the state transition model according to the compound machine of the seventh embodiment, only event functions that depended on states are executed. According to the compound machine of the eighth embodiment, the external application further performs standard processing independent of any state.
  • the structure of the compound machine of the eighth embodiment is the same as that of the seventh embodiment, and the structure of the inside of a process of the eighth embodiment is the same as that of the seventh embodiment.
  • FIG. 53 shows a flowchart showing a process procedure of the state transition model launch function StMachine( ).
  • the processes (steps S 901 -S 906 ) from allocation of shared variables to execution of entry function are the same as those of the fseventh embodiment.
  • the state transition model launch function StMachine( ) of this embodiment further refers to a standard function table and checks the information in step S 907 .
  • the “standard function” is a function that is executed irrespectively from the current state when receiving an event. For example, the “standard function” performs a process for an event of power off, a process for notifying of presence or absence of owner authorization for an event of inquiring owner authorization of the application, or the like.
  • the standard function table defines standard functions executed for messages, and the structure of the standard function table is the same as that of the event function table.
  • the function determines whether a received message is defined in the standard function table in step S 908 . If the received message is defined, the state transition model launch function StMachine( ) executes an standard function corresponding to the received message in step S 909 . If the received message is not defined in the standard function table, the standard function is not executed. The above mentioned processes are repeated until the end of the standard function table in step S 910 . Accordingly, in the external application produced based on the state transition model, a standard function is executed irrespective of current state for an event that arrives asynchronously.
  • the state transition model launch function executes the standard function, an event related to the system such as power off event can be treated without affecting other applications, so that stability of the compound machine improves.
  • the shared variable can be used safely among modules, and failures due to values in variables can be prevented.
  • an image forming apparatus in which the image forming apparatus includes:
  • a program obtaining part for sending a screen data for inputting a program to a client terminal, and receiving the program from the client terminal;
  • a program execution part for executing the program received by the program obtaining part.
  • a program can be added or amended from an input screen of the client terminal, and the program can be executed without compiling.
  • the operation of the program can be easily tested. Therefore, the program can be easily developed.
  • the image forming apparatus may include:
  • a program obtaining part for displaying a screen on the operation display part for inputting a program and obtaining the program input from the operation display part.
  • a program can be added or amended from an input screen of the image forming apparatus.
  • the program obtaining part includes a Web server capability, and the image forming apparatus sends a html file as the screen data to the client terminal according to access from the client terminal.
  • the Web server capability By using the Web server capability, the input screen data can be sent easily.
  • the image forming apparatus may detect an event from the client terminal and executes a CGI program corresponding to the event.
  • a CGI program By using the CGI program, processing according to instructions from the Web browser can be performed efficiently.
  • the image forming apparatus when the program is executed in the image forming apparatus, the image forming apparatus causes the client terminal to display a screen same as a screen displayed on a display part of the image forming apparatus. According to the present invention, operation of the program can be recognized in the client terminal side.
  • the image forming apparatus associates a key with the program according to a request from the client terminal or an operation display part of the image forming apparatus, and stores a table including correspondence between the program and the key. Thus, the user can assign a key to a program.
  • the image forming apparatus further includes: hardware resources used for image forming processing; control services existing between the hardware resources and an application in the image forming apparatus; wherein the program operates as the application.
  • the program performs function call to the control services by using the program execution part.
  • an information processing apparatus used for developing a program to be executed on an image forming apparatus in which the information processing apparatus includes:
  • an emulator for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the program.
  • the emulator since the emulator causes the information processing apparatus to emulate the image forming apparatus, the test of the program can be performed on the information processing apparatus, so that efficiency of development of the program improves.
  • the execution part is a virtual machine.
  • a Java program can be executed.
  • the source code can be converted into byte code.
  • class libraries a Java program can be easily developed.
  • the emulator causes the information processing apparatus to display a screen corresponding to an operation panel of the image forming apparatus. Therefor, the user can operate the information processing apparatus as if the user operate the image forming apparatus.
  • the emulator causes the information processing apparatus to display a list of programs and execute a program selected by the user, and the emulator causes the information processing apparatus to print data to a printer connected to the information processing apparatus for a print instruction.
  • the information processing apparatus may receive a screen data for inputting a program and send the program to the image forming apparatus by using the screen data.
  • an image forming apparatus that includes service modules for performing system side processing on image formation, wherein applications can be added to the image forming apparatus separately from the service modules, the image forming apparatus includes:
  • an application executed on the virtual machine can be executed in the image forming apparatus.
  • the application can be easily executed on the image forming apparatus.
  • the image forming apparatus may include an interpreter instead of the virtual machine.
  • the application management part is a loader for loading the application into the image forming apparatus from a recording medium to be connected to the image forming apparatus or from a server to be connected to the image forming apparatus via a network. Since the loader loads the application, the application can be easily executed.
  • the loader determines whether an application is already loaded in the image forming apparatus, executes the application if the application is loaded, and displays a loader screen if the application is not loaded.
  • the loader displays an application load screen on a display part of the image forming apparatus and downloads an application from a location specified by the user on the load screen, and the loader displays a list of applications and downloads an application selected from the list by the user.
  • the loader checks, at predetermined intervals, whether an application corresponding to the downloaded application is updated in the location.
  • the image forming apparatus may further include: a connecting part for connecting applications and causing the image forming apparatus to perform a series of processes according to the connected applications.
  • the connecting part displays, on a display part of the image forming apparatus, a first application and a plurality of applications that are candidates to be connected to the first application, and connects an application selected from among the plurality of applications to the first application. Accordingly, the user can customize the applications visually.
  • an information processing apparatus including a utility library that is implemented in a program is provided,
  • operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed,
  • the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules.
  • the shared variable shared among the modules can be used safely, and failure due to values of the variables can be prevented, so that the information processing apparatus operates stably.
  • each area is specified by a pointer in a stack area. Since the stack area that is used for function calling is used, areas for the shared variable can be assigned efficiently.
  • the state transition model launch function assigns areas each for a thread to a shared variable shared by threads.
  • the shared variable can be used safely among threads.
  • the state transition model launch function executes an entry function that defines processing performed when state transition occurs in the state transition model. Thus, processing that is performed regularly when calling a module can be executed.
  • the state transition model launch function executes a standard function that defines processing performed when an asynchronous event that occurs irrespective of the state occurs.

Abstract

An image forming apparatus is provided, in which, the image forming apparatus includes: a program obtaining part for sending a screen data for inputting a program to a client terminal, and receiving the program from the client terminal; and a program execution part for executing the program received by the program obtaining part.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention relates to an image forming apparatus and an information processing apparatus to improve efficiency of development of programs and efficiency of execution of programs. [0002]
  • 2. Description of the Related Art [0003]
  • Recently, an image forming apparatus (to be referred to as a compound machine hereinafter) that includes functions of a printer, a copier, a facsimile, a scanner and the like in a cabinet is generally known. The compound machine includes a display part, a printing part and an image pickup part and the like in a cabinet. In the compound machine, three pieces of software corresponding to the printer, copier and facsimile respectively are provided, so that the compound machine functions as the printer, the copier, the scanner and the facsimile respectively by switching the software. [0004]
  • According to such a conventional compound machine, an operation panel is provided for the user to operate the compound machine. The operation panel includes an operation display part (LCD panel) for displaying an operation screen and for performing touch operation. According to such a conventional compound machine, since capabilities that are provided to the user are predetermined, operations performed by the user for the compound machine are not largely changed. Thus, it is not necessary to customize the display screen and touch operations on the operation display part. Thus, customizing capability for the operation display part is not provided for the conventional compound machine. [0005]
  • Since the conventional compound machine is provided with pieces of software for the printer, the copier, the scanner and the facsimile individually, much time is required for developing the software. Therefore, the applicant has developed an image forming apparatus (compound machine) including hardware resources, a plurality of applications, and a platform including various control services provided between the applications and the hardware resources. The hardware resources such as a display part, a printing part and an image pickup part are used for image forming processing. The applications perform processing for user services corresponding to printer, copier and facsimile and the like. The platform includes various control services performing management and execution control of hardware resources necessary for at least two applications commonly, and performing image forming processing. The processing performed by the control services can be called system side processing. [0006]
  • According to such a new compound machine, the applications and the control services are provided separately. Thus, after the compound machine is shipped, users or third party venders can develop new applications to install in the compound machine. By doing so, various functions can be provided. [0007]
  • Therefore, it may be necessary to provide capabilities different from the predetermined capabilities for operation of the operation display part for new applications. Thus, it is necessary to customize operation of the operation display part. This problem is not a problem for the conventional compound machine in which external application can not be installed after shipment of the compound machine. [0008]
  • It can be considered to customize the operation display part by writing source code when developing the external application. That is, execution processing associated with touch operation of the display part is developed while developing the external application itself. In this case, from the view point of efficiency of development of the program, it is desirable to develop the external application while verifying the operation of the application in the compound machine. In this case, every time when there is a problem in the application, source code needs to be amended, recompiled, re-linked, and the application program needs to be installed in the compound machine again, then, the operation of the program needs to be verified again. According to this procedure, efficiency of development of the program is not good. [0009]
  • This problem is not limited to customizing of the operation display part. Generally, it is inefficient to produce a program by using a PC while verifying the program by using the compound machine. In addition, for executing an application, it is necessary to store the application in the compound machine from the PC in which the application is developed. Thus, in addition to developing an application efficiently, it is necessary to store and execute the application in the compound machine efficiently in order to improve the convenience of users. [0010]
  • SUMMARY OF THE INVENTION
  • An object of the present invention is provide an image forming apparatus and an information processing apparatus to improve efficiency for developing an application program and to improve efficiency for executing the application program. [0011]
  • The above object is achieved by an image forming apparatus, including: [0012]
  • a program obtaining part for sending a screen data for inputting a program to a client terminal, and receiving the program from the client terminal; and [0013]
  • a program execution part for executing the program received by the program obtaining part. [0014]
  • According to the present invention, a program can be added or amended from an input screen of the client terminal, and the program can be executed without compiling. Thus, the operation of the program can be easily tested. Therefore, the program can be easily developed. [0015]
  • The above-object is also achieved by an information processing apparatus used for developing a program to be executed on an image forming apparatus, the information processing apparatus including: [0016]
  • an execution part for interpreting and executing the program; [0017]
  • an emulator for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the program. [0018]
  • According to the present invention, since the emulator causes the information processing apparatus to emulate the image forming apparatus, the test of the program can be performed on the information processing apparatus, so that efficiency of development of the program improves. [0019]
  • The above-object is also achieved by an image forming apparatus that includes service modules for performing system side processing on image formation, wherein applications can be added to the image forming apparatus separately from the service modules, the image forming apparatus comprising: [0020]
  • a virtual machine for executing an application; and [0021]
  • an application management part for managing the application executed by the virtual machine. [0022]
  • According to the present invention, an application executed on the virtual machine can be executed in the image forming apparatus. Generally, since the virtual machine absorbs differences of machine models, the application can be easily executed on the image forming apparatus. [0023]
  • In addition, according to the present invention, an information processing apparatus including a utility library that is implemented in a program is provided, [0024]
  • wherein the program includes nested modules in which each module is based on a state transition model, [0025]
  • wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed, [0026]
  • wherein the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules. [0027]
  • According to the present invention, the shared variable shared among the modules can be used safely, and failure due to values of the variables can be prevented, so that the information processing apparatus operates stably.[0028]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Other objects, features and advantages of the present invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawings, in which: [0029]
  • FIG. 1 is a block diagram showing a main configuration of the compound machine and the network configuration according to the first embodiment; [0030]
  • FIG. 2 is a block diagram of the [0031] compound machine 100 according to the first embodiment;
  • FIG. 3 shows an example the hardware configuration of the [0032] compound machine 100 according to the first embodiment;
  • FIG. 4 shows a flowchart showing a process procedure in the compound machine that receives the request message; [0033]
  • FIG. 5 is a flowchart showing the operation by debug.cgi; [0034]
  • FIG. 6 is a flowchart showing an operation of the [0035] programming service 132 when one of the storing button, execution setting button and test execution button is clicked in the programming screen 201;
  • FIG. 7 shows an example of the [0036] programming screen 201;
  • FIG. 8 shows an example of the customize program according to the first embodiment; [0037]
  • FIG. 9 shows an example of the names of the customize programs stored in the customize directly; [0038]
  • FIG. 10 shows an example of the key association table; [0039]
  • FIG. 11 shows a flowchart showing a procedure from power on of the [0040] compound machine 100 to the execution of the customize program;
  • FIG. 12 is an example of the [0041] launch setting file 211;
  • FIG. 13 is a block diagram showing the main configuration of the compound machine of the second embodiment; [0042]
  • FIG. 14 shows an example of the [0043] programming screen 1101 of the second embodiment;
  • FIG. 15 is a block diagram showing the functional configuration of the [0044] compound machine 1300 according to the third embodiment;
  • FIG. 16 is a flowchart showing a procedure from power on of the [0045] compound machine 1300 to the completion of assigning the button;
  • FIG. 17 shows an example of the [0046] launch setting file 211 used in the third embodiment;
  • FIG. 18 shows an example of the button setting screen; [0047]
  • FIG. 19 shows a network configuration including a [0048] compound machine 1700 of the fourth embodiment;
  • FIG. 20 shows a block diagram showing a functional configuration of the [0049] compound machine 1700;
  • FIG. 21 shows an example of the launch setting file according to the fourth embodiment; [0050]
  • FIG. 22 shows a block diagram of the functional configuration of the compound machine according to the fifth embodiment; [0051]
  • FIG. 23 shows an example in which a VB application is developed by using the Visual Basis development environment on the [0052] PC 200;
  • FIG. 24 shows an example of a VB application; [0053]
  • FIG. 25 shows an example of a VB application; [0054]
  • FIG. 26 shows a block diagram of the [0055] compound machine 1900 of the sixth embodiment;
  • FIG. 27 shows the configurations of the Java development environment in the PC and the Java execution environment in the [0056] compound machine 1900;
  • FIG. 28 shows the Java execution environment in the [0057] compound machine 1900;
  • FIG. 29 shows a network configuration including a Web server; [0058]
  • FIG. 30 shows a flow of Java application development; [0059]
  • FIG. 31 shows another example of Java development environment; [0060]
  • FIG. 32 shows an operation panel screen displayed on the PC by the emulator; [0061]
  • FIG. 33 shows a screen when the emulator executes loader capability; [0062]
  • FIG. 34 shows a hierarchical structure of the operation panel classes; [0063]
  • FIG. 35 is a figure for explaining classes for producing a window; [0064]
  • FIG. 36 is a sample Java application; [0065]
  • FIG. 37 shows execution result of the Java program shown in FIG. 36; [0066]
  • FIG. 38 shows a conceptual illustration from upload to download of the Java application; [0067]
  • FIG. 39 is a flowchart showing processing procedure of the loader; [0068]
  • FIG. 40 shows a screen of the loader displayed on the compound machine; [0069]
  • FIG. 41 shows a load application window; [0070]
  • FIG. 42 shows a list of Java application displayed by the loader; [0071]
  • FIG. 43 shows a window for changing update interval; [0072]
  • FIG. 44 shows a window for unloading current application; [0073]
  • FIG. 45 shows a procedure for connecting applications; [0074]
  • FIG. 46 shows a configuration in the the process of the [0075] external application 117 according to the seventh embodiment;
  • FIG. 47 shows the state transition when the external application has [0076] state 1 and state 2;
  • FIG. 48 shows an example of modules having a nest structure in the external application; [0077]
  • FIG. 49 is an example of definition part of the source code of the external application; [0078]
  • FIG. 50 is an example of a function definition part in the source code of the external application; [0079]
  • FIG. 51 is a flowchart showing the process procedure of the state transition model launch function StMachine( ); [0080]
  • FIG. 52 shows the allocation state of the areas of the shared variables; [0081]
  • FIG. 53 shows another flowchart showing a process procedure of the state transition model launch function StMachine( ).[0082]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • In the following, the image forming apparatus according to embodiments of the present invention will be described. [0083]
  • (First Embodiment) [0084]
  • FIG. 1 is a block diagram showing a main configuration of the image forming apparatus (to be referred to as “compound machine” hereinafter) and a network configuration. The [0085] compound machine 100 of the first embodiment is connected to the Internet. In this configuration, a customize program for the compound machine can be input from a client terminal such as a PC (personal computer) connected to the Internet, and debugging of the program can be performed from the PC.
  • As shown in FIG. 1, the [0086] compound machine 100 and the PC 200 are connected by the Internet 220, in which TCP/IP is used for the communication protocol. The compound machine 100 includes a compound machine initializing part 129, a program launching part 131, a programming service 132, an interpreter 134, a NCS (network control service) 128, httpd (http daemon) 106, a shared memory 105 and a HDD 103.
  • The [0087] programming service 132 displays a programming screen 201 on a Web browser of the PC 200 and receives a customize program from the programming screen 201, in which the programming screen 201 is a Web page formed by a http file. In addition, the programming service 132 stores the customize program input from the PC in a customize directory 212 produced as a customize area of the HDD 103. In addition, the programming service 132 registers the customize program in the after-mentioned launch setting file 211 such that the customize program is executed on the compound machine 100.
  • The http file is transferred between the [0088] programming service 132 and the Web browser of the PC 200 according to a http protocol. Therefore, the programming service 132 has a function of a Web server (http server).
  • The customize program is written by using a language that can be interpreted by an interpreter. More specifically, the customize program is a shell script of UNIX. [0089]
  • The [0090] interpreter 134 interprets and executes the customize program step by step. In this embodiment, the interpreter 134 is the shell (bsh, csh and the like) that executes a shell script. The shell 134 is separated from the kernel 135 of the UNIX operating system.
  • The [0091] program launching part 131 launches the external application 117 installed in the HDD 103 if diagnosis result for the HDD 103 is normal. In addition, the program launching part 131 launches the external application stored in a recording medium such as an IC card.
  • The compound [0092] machine initializing part 129 is a process initially launched on the general OS 121. The compound machine initializing part 129 launches control services, applications 130 (excluding the external application) and the program launching part 131.
  • The [0093] NCS 128 controls communication via a network, and the NCS 128 notifies the programming service 132 that the NCS 128 has received a request message from the httpd 106.
  • The [0094] httpd 106 is a process (daemon) included in the operating system. The httpd 106 always monitors the port number 80 to receive a request message, and sends a response message. The structure of the request message and the response message is the same as that of a message of a normal http protocol, in which each message includes a message body described in a html format. The httpd 106 notifies the NCS 128 that the httpd 106 has received a request message from the Internet, and stores the request message in the shared memory 105.
  • The shared [0095] memory 105 is used for performing interprocess communication between the httpd 106 and the programming service 132. The request message and the response massage are sent and received via the shared memory.
  • The [0096] HDD 103 stores the launch setting file 211, and stores the customize program in the customize directory 212.
  • The [0097] PC 200 is a client terminal of the programming service that is a server. On the PC 200, the Web browser is running. The Web browser displays the programming screen 201 or other screens on a display of the PC 200, in which the programming screen 201 is sent from the programming service 132 by using the http protocol. On the Web browser, a user can input data.
  • In the following, the functional configuration of the [0098] compound machine 100 of the present embodiment will be described. FIG. 2 is a block diagram of the compound machine 100. As shown in FIG. 2, the compound machine 100 includes hardware resources and a software group 110. The hardware resources include a black and white line printer (B&W LP) 101, a color laser printer 102, a hard disk drive 103, and other hardware resources 104 such as a scanner, a facsimile, a hard disk, memory (RAM, NV-RAM, ROM and the like) and a network interface. The software group 110 includes a platform 120, applications 130, the compound machine initializing part 129 and the program launching part 131 and the programming service 132.
  • The [0099] platform 120 includes control services for interpreting a process request from an application to issue acquiring requests to the hardware resources, a system resource manager (SRM) 123 for managing one or more hardware resources and arbitrating the acquiring requests from the control services, and a general-purpose OS 121.
  • The control services include a plurality of service modules, which are a system control service (SCS) [0100] 122, an engine control service (ECS) 124, a memory control service (MCS) 125, an operation panel control service (OCS) 126, a fax control service (FCS) 127, and a network control service (NCS) 128. The programming service 132 is included in the control service layer. In addition, the platform 120 has application program interfaces (API) that can receive process requests from the applications 130 by using predetermined functions.
  • The [0101] general purpose OS 121 is a general purpose operating system such as UNIX, and can execute each piece of software of the platform 120 and the applications 130 concurrently as a process.
  • The process of the [0102] SRM 123 is for performing control of the system and performing management of resources with the SCS 122. The process of the SRM 123 performs arbitration and execution control for requests from the upper layer that uses hardware resources including engines such as the scanner part and the printer part, the memory, the HDD file, the host I/Os (Centronics I/F, network I/F IEEE1394 I/F, RS232C I/F and the like).
  • More specifically, the [0103] SRM 123 determines whether the requested hardware resource is available (whether it is not used by another request), and, when the requested hardware resource is available, notifies the upper layer that the requested hardware resource is available. In addition, the SRM 123 performs scheduling for using hardware resources for the requests from the upper layer, and directly performs processes corresponding to the requests (for example, paper transfer and image forming by a printer engine, allocating memory area, file generation and the like).
  • The process of the [0104] SCS 122 performs application management, control of the operation part, display of system screen, LED display, resource management, and interrupt control for applications.
  • The process of the [0105] ECS 124 controls engines of hardware resources including the white and black line printer (B&W LP) 101, the color line printer (Color LP) 102, the scanner, and the facsimile and the like. The process of the MCS 125 obtains and releases an area of the image memory, uses the hard disk device (HDD), and compresses and expands image data.
  • The process of the [0106] FCS 127 provides APIs for sending and receiving of facsimile from each application layer by using PSTN/ISDN network, registering/referring of various kinds of facsimile data managed by BKM (backup SRAM), facsimile reading, facsimile receiving and printing, and mixed sending and receiving.
  • The [0107] NCS 128 is a process for providing services commonly used for applications that need network I/O. The NCS 128 distributes data received from the network by a protocol to a corresponding application, and acts as mediation between the application and the network when sending data to the network. More specifically, the process of the NCS 128 includes server daemon such as ftpd, httpd, lpd, snmpd, telnetd, smtpd, and client function of the protocols.
  • The process of the [0108] OCS 126 controls an operation panel that is a means for transferring information between the operator (user) and control parts of the machine. In the compound machine 100 of the embodiment, the OCS 126 includes an OCS process part and an OCS function library part. The OCS process part obtains an key event, which indicates that the key is pushed, from the operation panel, and sends a key event function corresponding to the key event to the SCS 122. The OCS function library registers drawing functions and other functions for controlling the operation panel, in which the drawing functions are used for outputting various images on the operation panel on the basis of a request from an application that has control right or from the control service. When the application is developed, functions in the OCS function library are linked to an object program that is generated by compiling a source code file of the application, so that an executable file of the application is generated. All of the OCS 126 can be configured as a process, or can be configured as an OCS library.
  • The [0109] application 130 includes a printer application 111 that is an application for a printer having page description language (PDL) and PCL and post script (PS), a copy application 112, a fax application 113 that is an application for facsimile, a scanner application 114 that is an application for a scanner, a network file application 115 and a process check application 116.
  • Interprocess communication is performed between a process of the [0110] application 130 and a process of the control service, in which a function is called, a returned value is sent, and a message is sent and received. By using the interprocess communication, user services for image forming processes such as copying, printing, scanning, and sending facsimile are realized.
  • As mentioned above, the [0111] compound machine 100 of the first embodiment includes a plurality of applications 130 and a plurality of control services, and each of those operates as a process. In each process, one or more threads are generated and the threads are executed in parallel. The control services provide common services to the applications 130. User services on image formation such as copying, printing, scanning and sending facsimile are provided while the processes are executed in parallel and the threads are executed in parallel, and interprocess communication is performed each other. A third party vendor can develop an external application for the compound machine 100, and can executes the application in an application layer on the control service layer in the compound machine 100.
  • In the [0112] compound machine 100 of the first embodiment, although processes of applications 130 and processes of control services operate, the application and the control service can be a single process. In addition, each application in the applications 130 can be added or deleted one by one.
  • In addition, the [0113] compound machine 100 includes an installer. The installer is used for installing the external application developed by the third party into the HDD 103. Then, the program launching part 131 launches the external application from the HDD 103. The preinstalled applications such as the printer application, control services, HDD diagnosing part 132, and the program launching part 131 are embedded in the flash memory. The preinstalled programs are launched by the compound machine initializing part 129 when the compound machine is powered on.
  • FIG. 3 shows an example of the hardware configuration of the [0114] compound machine 100.
  • The [0115] compound machine 100 includes a controller 160, an operation panel 175, a fax control unit (FCU) 176, and an engine part 177 that is hardware resource such as a printer that is specific for image forming processing. The controller 160 includes CPU 161, a system memory 162, a north bridge (NB) 163, a south bridge (SB) 164, ASIC 166, a local memory 167, HDD 168, a network interface card (NIC) 169, a SD card slot 170, a USB device 171, an IEEE1394 device 172, and a Centronics 173. The memories 162, 167 may includes RAMs and/or ROMs, for example. The FCU 176 and the engine part 177 are connected to the ASIC 166 in the controller via a PCI bus 178. The CPU 161 executes programs of the application and control services and the like installed in the compound machine 100 by reading from a RAM.
  • In the following, the method of producing a program for the [0116] compound machine 100 will be described. First, the user launches the Web browser on the PC 200. Then, the user specifies a URL (for example, http://www.xxx.yyy/zzz/debug.htm) of the programming screen in the compound machine 100, so that the PC 200 accesses the programming service 132 of the compound machine 100. The programming service 132 accessed by the Web browser displays the programming screen 201 (debug.htm) on the Web browser of the PC 200.
  • FIG. 7 shows an example of the [0117] programming screen 201. As shown in FIG. 7, the programming screen 201 includes a program input field, a reference button, an upload button, a storing button, a delete button, a test execution button and an execution setting button.
  • The [0118] programming screen 201 is a file (debug.htm) written in a html format. The Web browser reads the file so that the programming screen 201 is displayed on the PC 200. The programming service 132 executes a script of CGI to perform processing in response to operation input from the programming screen. In addition, the programming service 132 reflects the result of the processing to the programming screen and returns the result to the Web browser of the PC 200.
  • More specifically, when the [0119] programming service 132 receives a request (such as a click operation) for inputting the customize program, the programming service 132 executes debug.cgi script. Although the programming service performs various processing by executing the CGI script in the present embodiment, the various processing can be also performed by using other programs called by the CGI script. In addition, the programming screen can be written in a XML (extensible Markup Language ) format.
  • The reference button is a button for referring to the customize program stored in a memory area of the [0120] PC 200. By pushing the reference button, directories of the PC 200 are displayed. If the user specifies a customize program in a directory, the file name of the customize program is displayed in the file name field. When the reference button is pushed, the PC 200 may refer to a directory in a recording area of the compound machine such as the HDD 103.
  • By clicking the upload button, the customize program is uploaded to the [0121] compound machine 100. The program input field is a field for inputting the customize program. In the program input field, the customize program can be input directly into the PC 200 by using an input device such as a keyboard of the PC 200. In addition, by specifying a program file existing in a directory by clicking the reference button, the customize program can be input. In the debug.htm, in the head of every line corresponding to the program input field, a string “program_list:” is described.
  • After uploading the customize program, by clicking the storing button, the customize program is stored in the customize directory. By clicking the delete button, the customize program input in the input field is deleted. [0122]
  • The execution setting button is used for associating the customize program with a button, such that the customize program stored in the customize directory can be executed in the [0123] compound machine 100 by pushing the button. If the execution setting button is pushed, the programming service 132 searches buttons in a file in the customize directory for a button specified in the customize program by using a key code, so that the customize program is associated with the button. Then, a table in which the name of the customize program and the key code of the button are associated with each other is generated, and the table is stored in the HDD 103 or in the flash memory.
  • The test execution button is used for executing the customize program experimentally. [0124]
  • FIG. 8 shows an example of the customize program. As shown in FIG. 8, the customize is a shell script of the UNIX according to the present embodiment. The input shell script is executed step by step by the [0125] shell 134 that is a command interpreter of the UNIX. Thus, it is not necessary to compiling and linking the customize program.
  • In addition, in the shell script, commands specific for the compound machine can be used. The commands are provided by a development library for the compound machine. The script shown in FIG. 8 shows an example for reading a document by using a scanner (scanimage), decompressing image data that is compressed to TIFF format (decomp), and performing character recognition process for the decompressed image data (ocr). Then, the recognition result is sent by e-mail as text data (mail). In this script, the commands “scanimage”, “decomp”, and “ocr” are provided by the development library. A button (key) for executing the shell script can be specified in the customize program. [0126]
  • In the programming screen (debug.htm) displayed on the Web browser of the [0127] PC 200, when the customize program stored in the PC 200 is specified by clicking the reference button or when the customize program is directly input in the program input field, and the upload button is clicked, a request message is sent to the programming service 132 of the compound machine from the Web browser. “debug.htm” is included in the message body of the request message, and the debug.htm includes a description for calling debug.cgi. Thus, when receiving the request message, the programming service 132 analyzes the request message and executes the debug.cgi.
  • In the following, the process procedure in the [0128] compound machine 100 that received the request message will be described. FIG. 4 shows a flowchart showing the procedure.
  • The [0129] httpd 106 always monitors port 80, and receives the request message via the port 80 from the PC 200 in step S301. Then, the httpd 106 reads the received request message, and writes the request message in the shared memory 105 in step S302. Next, httpd 106 notifies the NCS 120 that the the httpd received the request massage in step S303.
  • The [0130] NCS 128 notifies the programming service 132 that the NCS 128 received the request message in step S304. The notification triggers the programming service 132 to refer to the shard memory 105 and reads the request message in step S305. Then, the programming service 132 analyzes the information in the request message in step S305, and executes processing according to the information described in the message body of the request message in step S307. If the message body of the html description includes information instructing to execute a CGI program, the corresponding CGI is executed.
  • Then, the [0131] programming service 132 returns the execution result to the PC 200 as a response message via httpd 106 in step S308.
  • Next, processing of debug.cgi performed by the [0132] programming service 132 will be described. FIG. 5 is a flowchart showing the operation of the debug.cgi. The programming service 132 may include the program debug.cgi, or the debug.cgi may exist in the outside of the programming service 132. In the following, the case where the programming service 132 includes the debug.cgi.
  • The [0133] programming service 132 reads debug.htm line by line from the top in step S401. Then, the programming service determines whether the line indicates the program input field by checking whether the line includes a string “program_list:” in step S402.
  • If the [0134] programming service 132 determines that the line indicates the program input field, the programming service 132 writes the line in a program file in step S403, and sends the line to the PC 200 in step S404.
  • The programming service determines whether the line is the last line in step S[0135] 405. If the line is the last line, the processing ends. If the line is not the last line, the above-mentioned processing is performed for the next line. Accordingly, the program file is generated and the program is displayed on the Web browser of the PC 200.
  • In addition to the above-mentioned method, there are various methods to send a program input into the [0136] PC 200 to the compound machine. For example, by pushing the upload button, the PC 200 stores the input program in a program file and sends the program file to the compound machine. The compound machine stores the program file in an area and sends the contents in the program file to the PC 200 as necessary.
  • As mentioned above, the customize program input from the [0137] programming screen 201 is uploaded in the compound machine 100, and the customize program that is uploaded is displayed. After that, the storing button, execution setting button, and the test execution button becomes operable. When a button in the buttons is clicked, the programming service 132 performs following processes.
  • FIG. 6 is a flowchart showing an operation of the [0138] programming service 132 when one of the storing button, execution setting button and test execution button is clicked in the programming screen 201. This processing is written by Java Script as a CGI script in the programming service 132. The PC 200 detects button operation on the programming screen 201 as an event, and the PC 200 sends the event to the programming service. The programming service 132 executes a Java script according to the event. In the following, the case where the Java script is included in the programming service 132.
  • The [0139] programming service 132 determines the type of the button that is clicked in step S501. When the storing button is clicked on the programming screen 201, the programming service 132 stores the customize program in a customize directory of the HDD 103 of the compound machine 100 by using a name specified by the usr in step S502.
  • FIG. 9 shows an example of the name of the customize program stored in the customize directly. As shown in FIG. 9, the directory of the [0140] HDD 103 is hdd/xxx/opepane in which the customize programs shell1, shell2, and shell3 are stored.
  • When the execution setting button is pushed on the [0141] programming screen 201, the programming service 132 associates the customize program with the button in step S503.
  • FIG. 10 shows an example of the key association table. As shown in FIG. 10, key codes of buttons are associated with customize program names. When the test execution button is pushed at the programming screen, the [0142] programming service 132 executes the customize program in step S504. This test execution is realized by issuing a command for executing the customize program by the shell. At this time, a screen same as that displayed on the operation panel 210 is displayed on the browser in the PC 200. This is realized in the following way, for example. The programming service 132 obtains drawing instructions issued by executing the customize program for the operation panel screen, and sends instructions to the PC 200 such that a screen same as the screen that appears on the operation panel by the drawing instructions is displayed on the PC 200.
  • If an error occurs by the test execution, the user amends the program on the [0143] PC 200, uploads the amended program and executes the program again.
  • Next, processing for executing the customize program generated in the above-mentioned way will be described. FIG. 11 shows a flowchart showing a procedure from power on of the [0144] compound machine 100 to the execution of the customize program.
  • After the customize program is stored in the customize directory and the [0145] launch setting file 211 is set, the user turns on the power of the compound machine 100. The compound machine 100 diagnoses the hardware by using the ROM monitor in step S1001. After that, the general OS 121 is launched in step S1002, and the compound machine initialization part 129 is launched in step S1003. The compound machine initialization part 129 launches the control services in step S1004, and launches existing applications such as the copy application 112, printer application 111 and the like that are already included at the time of shipment of the compound machine in step S1005. Then, the program launch part 131 is launched for launching an external application developed after the shipment of the compound machine in step S1006.
  • The [0146] program launch part 131 refers to the launch setting file 211 of the HDD 103 in step S1007 to obtain the name of the program to be executed.
  • FIG. 12 is an example of the [0147] launch setting file 211. As shown in FIG. 11, in the launch setting file 211, a program to be launched by the program launch part 131 is registered as “program name, customize program name”. In the example shown in FIG. 12, the shell program of a shell script is registered first, and after that, xxx application is registered as an external application.
  • When the user pushes (touches) the button (key) associated with the customize program among buttons displayed on the operation display part in the [0148] operation panel 210, the customize program which is a shell script is executed by the shell. More specifically, the programming service 132 obtains pushed information of the button, and refers to the key association table, so that the programming service 132 obtains a file name of the customize program corresponding to the button. Then, the programming service 132 executes the customize program. The customize program can be also executed by setting the name of the customize program in the launch setting file.
  • As mentioned above, according to the compound machine of the first embodiment, the [0149] programming service 132 causes the PC 200 to display the programming screen to input the customize program. Then, the shell 134 executes the customize program. Accordingly, in the development of the customize program, the customize program can be added or amended from the programming screen, and the customize program can be executed on the compound machine without compiling and linking. Therefore, the program can be produced easily.
  • In addition, according to the compound machine of the first embodiment, since the input of the customize program can be performed from the [0150] PC 200, the customize program can be produced efficiently compared with inputting the customize program from the compound machine 100.
  • In the first embodiment, the [0151] Internet 220 is used for connecting PC 200 and the compound machine. Instead of the Internet, LAN can be used. In addition, other protocols other than the TCP/IP can be used.
  • In addition, the [0152] PC 200 may have a program for displaying the programming screen and sending the customize program instead of receiving the debug.htm file from the compound machine.
  • (Second Embodiment) [0153]
  • In the first embodiment, the customize program is produced in the [0154] PC 200 and the program is stored in the compound machine 100. On the other hand, the customize program is input from the operation panel of the compound machine in the second embodiment.
  • FIG. 13 is a block diagram showing the main configuration of the compound machine of the second embodiment. The other configuration of the compound machine is the same as that of the compound machine of the first embodiment shown in FIG. 2. As shown in FIG. 13, the [0155] compound machine 1100 of the present embodiment includes a programming service 1132, an interpreter (shell) 134 and the HDD 103.
  • The [0156] programming service 1132 displays a programming screen on the operation display part of the operation panel 210. The user can input a customize program from the programming screen. In addition, the programming service 1132 stores the input customize program in a customize directory 212, in which the customize directory 212 is a customize area of the HDD 103. In addition, the programming service 1132 registers the customize program in the launch setting file such that the customize program can be executed on the compound machine 1100.
  • Capabilities of the compound [0157] machine initialization part 129, the program launch part 131, the launch setting file 211 and the customize directory are the same as those of the compound machine 100.
  • FIG. 14 shows an example of the [0158] programming screen 1101. The programming screen is displayed from the system initialization setting screen by selecting a tag of “programming”.
  • Like the corresponding screen of the first embodiment, the [0159] programming screen 110 shows the input field, the reference button, the storing button, the execution setting button and the test execution button. On the programming screen 1101, a software keyboard is displayed on the operation display part. By using the software keyboard, the customize program can be input from the input field.
  • However, it is difficult to directly input the customize program since the area size of the operation display part is small and data input from the operation display part is not easy. Therefore, it is desirable to store the customize program in an area of a recording medium such as the [0160] HDD 103 via network and to perform only easy modification of the customize program by using the software keyboard. That is, by selecting the customize program by pushing the reference button on the programming screen 1101, the customize program is displayed in the input field. Then, the user can modify the customize program by displaying the software keyboard.
  • After the development of the customize program is completed, the storing button is pushed. Accordingly, like the first embodiment, the [0161] programming service 1132 stores the customize program in the customize directory of the HDD 103. In addition, like the first embodiment, by pushing the execution setting button, the programming service 1132 associates the customize program and a key code of a button (key) specified by the customize program, and stores a table indicating the association. Execution processing of the produced customize program is the same as that of the first embodiment.
  • As mentioned above, according to the [0162] compound machine 1100 of the second embodiment, the programming screen 1101 is displayed on the operation display part of the operation panel 210, and the customize program can be input from the screen. Thus, by using the standalone compound machine 1100 that is not connected to the network, the customize program can be produced.
  • (Third Embodiment) [0163]
  • According to the compound machine of the first and second embodiments, the customize program associates the customize program with a button (key) of the operation display part by using a description in the customize program. According to the third embodiment, correspondence between the customize program and the button (key) is dynamically established at the time when the compound machine is powered on. [0164]
  • FIG. 15 is a block diagram showing the functional configuration of the [0165] compound machine 1300. In the same way as the first embodiment, the customize program of a shell script is produced in the PC 200, and the customize program is stored in the HDD 103 and executed by the compound machine 1300.
  • As shown in FIG. 15, the configuration of the compound machine of this embodiment is different from that of the first embodiment in that the [0166] compound machine 1300 has an operation panel registration part 133.
  • The operation [0167] panel registration part 133 assigns a button (key) to the customize program for executing the customize program. That is, by pushing (touching) a button assigned by the operation panel registration part 133, the customize program is executed.
  • The procedure for producing and storing the customize program of this embodiment is the same as that of the first embodiment. In the following, the method for assigning the button to the customize program will be described. The user turns on the power of the [0168] compound machine 100 again after the customize program is stored in the customize directory in order to assigning the customize program to a button (key).
  • FIG. 16 is a flowchart showing a procedure from power on of the [0169] compound machine 1300 to the completion of assigning the button. The steps from power on to the launch of the program launch part 131 (steps S1501-S1506) are the same as the corresponding steps of the compound machine of the first embodiment.
  • The launched [0170] program launch part 131 refers to the launch setting file 211 in the HDD 103 in step S1507, and obtains a name of a program to be launched. FIG. 17 shows an example of the launch setting file 211 used in this embodiment. In this example, a program of the operation panel registration part, the shell and an external application (xxx application) are set as programs to be launched.
  • Therefore, the [0171] program launch part 131 launches the program of the operation panel registration part 133 first in step S1508. The program of the operation panel registration part 133 is stored in the customize directory beforehand. Next, the interpreter (shell) 134 is launched in step S1509. Finally, the external application is launched in step S1510.
  • The launched operation [0172] panel registration part 133 displays a setting screen for key assignment on the operation panel in step S1511. FIG. 18 shows an example of the setting screen. As shown in FIG. 18, buttons that can be assigned are displayed for each customize program on the setting screen. When the user pushes a button for a customize program, the operation panel registration part 133 associates the button with the customize program, and stores the association information in a recording medium such as the HDD 103 or a flash memory as a table in step S1512. Accordingly, the button is assigned to the customize program.
  • As mentioned above, according to the compound machine of the third embodiment, the [0173] programming service 132 displays the programming screen 201, so that the user inputs the customize program. Then, the operation panel registration part 133 assigns a button (key) to the customize program. By launching the operation panel registration part 133 when the compound machine 1300 is powered on, a button for launching the customize program can be dynamically determined at the time when the compound machine 1300 is launched.
  • Although the operation panel registration part assigns the button to the customize program in this embodiment, a control service such as the [0174] SCS 122 also can assign a button to the customize program. By using the SCS 122 for the assignment, a program for the operation panel registration part 133 is not necessary and the processing becomes efficient.
  • (Fourth Embodiment) [0175]
  • According to the [0176] compound machines 100, 1100 and 1300 of the first to third embodiment, the customize program is executed by the shell 134 which is a command interpreter of UNIX. On the other hand, according to the fourth embodiment, the customize program is executed by using an interpreter other than the shell 134.
  • FIG. 19 shows a network configuration including a [0177] compound machine 1700 of the fourth embodiment. FIG. 20 shows a block diagram showing a functional configuration of the compound machine 1700. Like the first embodiment, the compound machine 1700 is connected to the Internet in addition, the customize program can be input and can be debugged from the PC 200 that is a client terminal connected to the Internet. As an example of the customize program, there is a program in which buttons are displayed on the operation display part, when a button is pushed, processing corresponding to the button is executed.
  • According to the [0178] compound machine 1700 of the present embodiment, the customize program is written by using the Visual Basis language. Then, the customize program is executed by using the Visual Basis interpreter.
  • As shown in FIG. 19, the compound machine includes the compound [0179] machine initializing part 129, the program launching part 131, the programming service 132, the Visual Basis interpreter 1734 (referred to as VB interpreter 1734 hereinafter), the NCS 128, the httpd 106, the shared memory 105 and the HDD 103. Capabilities of the compound machine initializing part 129, the program launching part 131, the programming service 132, the NCS 128 and the httpd 106 are the same as those of the first embodiment. In addition, the contents in the launch setting file 211 stored in the HDD 103 and the customize directory are the same as hose of the first embodiment.
  • The [0180] VB interpreter 1734 interprets and executes the customize program step by step. Producing and storing the customize program in this embodiment are performed in the same way as the first embodiment.
  • In the [0181] compound machine 1700, it is necessary to launch the VB interpreter 1734 to execute the customize program. Therefore, the launch setting file 211 includes the program name of the VB interpreter 1734.
  • FIG. 21 shows an example of the launch setting file. As shown in FIG. 21, “VB interpreter” is set in the first line of the [0182] launch setting file 211. Thus, the program launch part 131 launches the VB interpreter 1734 by referring to the launch setting file 211. Accordingly, the customize program can be executed.
  • According to the compound machine of the fourth embodiment, the customize program can be executed by the VB interpreter that runs under the [0183] general OS 121, the customize program can realize more advanced features compared with the program runs under the shell. Thus, advanced program can be easily produced.
  • In the fourth embodiment, the [0184] PC 200 may include a Visual Basis development environment including the VB interpreter. By including the Visual Basis development environment in the PC 200, the development of the customize program, including designing LCD panel screen, can be performed on the PC 200. Then, the developed program can be sent to the compound machine, for example, by using a file transfer protocol, so that the program is stored in the compound machine.
  • Other than the Visual Basic, other interpreter language can be used. For example, Java can be used. In the first to fourth embodiments, the [0185] programming service 132 can be included in the application layer instead in the control service layer.
  • (Fifth Embodiment) [0186]
  • The compound machine of the fourth embodiment executes the customize program by using an interpreter operating under the [0187] general OS 121. According to the compound machine 1800 of the fifth embodiment, the VB interpreter 1801 and the VB application 1802 are included in the application layer.
  • FIG. 22 shows a block diagram of the functional configuration of the compound machine according to the fifth embodiment. The compound machine of the fifth embodiment is connected to the Internet using TCP/IP in the same way as the fourth embodiment. According to the compound machine, a user can input the customize program and debug the customize program from the [0188] PC 200 that is a client terminal connected to the network. In the fifth embodiment, the produced customize program is executed by the Visual Basis interpreter (referred to as VB interpreter hereinafter) included in the application layer. In the configuration, the programming service 132 may be included in the application layer.
  • In this embodiment, the VB application is developed on the [0189] PC 200 in which a Visual Basis development environment is installed. The developed VB application is transferred to the compound machine, and the compound machine stores the VB application. Selected on the operation panel, the VB application is launched, so that the VB application is executed by the interpreter 1801. Next, this embodiment will be described in more detail.
  • FIG. 23 shows an example in which a VB application is developed by using the Visual Basis development environment on the [0190] PC 200.
  • In the screen, two windows are shown. The title of one window is Project2-Form2 (Form), and the title of another window is Project2-Form2 (Code). The window of Project2-Form2 (Form) is used for producing a menu screen displayed on the operation panel of the compound machine. As shown in FIG. 23, three buttons are set. The buttons are “SCAN”, “FAX” and “START”. The application program is designed such that scanning, fax sending or the like is performed when a corresponding button is pushed on the operation panel. [0191]
  • The window of Project2-Form2 (Code) is for producing a program for performing scanning, fax sending or the like when a button in the screen is pushed. [0192]
  • When the program is stored in the state shown in FIG. 23, two files of Project2.vbp and Form2.frm are produced. The Project2.vbp stores information for managing a project and conditions for executing the program as variable values. [0193]
  • The Form2.frm is the program to be interpreted by the [0194] VB interpreter 1801. The VB application is uploaded from the PC 200 by using the programming service 132 in the compound machine from the PC 200.
  • When a test execution button is pushed in the [0195] programming screen 201, the VB interpreter 1801 in the compound machine is launched, and the VB application is executed. At this time, a screen same as that displayed on the operation panel 210 is displayed on the browser operating in the PC 200.
  • FIGS. 24, 25 shows an example of the VB application to be executed by the [0196] VB interpreter 1801. When the VB program shown in FIG. 24 is executed on the compound machine, a window including a NEXTWIN button is displayed first. If the NEXTWIN button is pushed, a function “change_display(“Form2”)” is executed by call (“change_display”, “Form2”), so that the screen is changed to a next screen (Form2 window).
  • FIG. 25 shows a VB program for displaying the Form2 window. The VB program of Form2 corresponds to the screen in FIG. 23. [0197]
  • In the Form2 window, when the SCAN button is pushed, following program is executed. [0198]
  • call (“ScanStart”, A4, ADF, TIFF, BINARY, “/work/tmpfile.tif”) [0199]
  • gwOpItemCreate(win, MESSAGE_ITEM, [0200]
    ITEM_MESSAGE_X, 0,
    ITEM_MESSAGE_Y, 12,
    ITEM_MESSAGE_WIDTH, 100,
    ITEM_MESSAGE_HEIGHT, 12,
    ITEM_MESSAGE_CENTER_X, 0,
    ITEM_MESSAGE_BLINK, 0,
    ITEM_MESSAGE, “character string”, 0,
  • ITEM_MESSAGE_FONT, [0201] FONT 12, 0,0);
  • The first ScanStart function means reading an A4 size document from an ADF to a binary image, and storing the binary image in a file “/work/tempfile” on the HDD by using TIFF format. The [0202] VB interpreter 1801 interprets the function and causes the compound machine to operate in the above-mentioned way.
  • “gwOpItemCreate( )” in the next line is a function provided by the [0203] OCS 126 of the compound machine. By this function, a character string is displayed on a current screen. The function gwOpItemCreate( ) is executed by a function call to the OCS 126 by the VB interpreter 1801.
  • To execute the VB application produced in the above-mentioned way, the VB interpreter and the VB application are set in the launch setting file shown in FIG. 11, so that the VB interpreter and the VB application are launched in the same way as shown in FIG. 10. [0204]
  • Following processes are performed for displaying a screen on the operation panel when the VB application is executed on the compound machine. First, the [0205] VB interpreter 1801 waits for screen drawing a preparation end event from the SCS 122. When the VB interpreter 1801 receives the event, the VB interpreter 1801 generates a window image to be displayed initially (root window generation). Next, the VB application prepares initial screen by executing functions for generating a child window in the root window and for displaying character strings. Then, by executing a function for indicating end of screen preparation, the VB application notifies the SCS 122 of the end of the screen preparation. Next, when an application selection button is selected on the operation panel, the SCS 122 issues an event for requesting change of the owner of the operation screen. When the VB application receives the event, the VB application executes a function for indicating that the VB application can be the owner of the operation screen. At this time, the initial screen is displayed. After that, the VB application is substantively executed by the VB interpreter 1801.
  • As mentioned above, according to this embodiment, the application can be developed efficiently by using the VB interpreter. [0206]
  • (Sixth Embodiment) [0207]
  • The compound machine of the fifth embodiment is configured such that the VB interpreter is loaded on the application layer. The compound machine of the sixth embodiment is configured such that a Java execution environment is included as an application. [0208]
  • FIG. 26 shows a block diagram of the [0209] compound machine 1900 of the sixth embodiment. As shown in the figure, the compound machine 1900 includes a Java execution environment 1901 and a Java application 1902 in the application layer. The Java application is developed by using a PC (personal computer) and the Java application is downloaded in the compound machine. Then, the Java application is executed by using the Jva execution environment 1901.
  • FIG. 27 shows the configurations of the Java development environment in the PC and the Java execution environment in the [0210] compound machine 1900.
  • As shown in the figure, the Java execution environment includes a [0211] class library 1911, a virtual machine 1912, and an application management part 1914.
  • The [0212] class library 1911 is a class library used for providing services for the Java application to operate the compound machine easily. The class library of this embodiment includes, for example, operation panel classes, event classes, compound machine control classes, network transaction classes, basic Java classes and the like. The Java application itself is a set of classes, and the classes refer to classes in the class library so that the Java application performs its processing. If the Java application includes all capabilities of classes of the class library used by the application, the Java execution environment may be configured without the class library.
  • Source code of a Java program is compiled to byte code as intermediate code. The [0213] virtual machine 1912 interprets and executes the byte code.
  • The [0214] application management part 1914 has capabilities for managing Java applications. For example, the capabilities include listing of Java applications, execution management of Java application such as launch and forced termination, load and upgrade of Java application, deletion of installed Java application, password setting for application registration and the like.
  • More specifically, as shown in FIG. 28, the execution environment further includes a [0215] native program interface 1913. The native program interface 1913 has capabilities for the Java code executed by the virtual machine 1912 to operate with applications or libraries written by other programming language such as C. By using the mechanism of the native program interface 1913, the Java application can access APIs of control services.
  • Similar to the Java execution environment, the Java development environment includes a [0216] class library 1921, a virtual machine 1922 and an application management part 1924. Further, the Java execution environment includes a Java compiler 1925 for generating the byte code and an emulator 1923 for emulating operations of the compound machine running the Java application. The Java application developed by the Java development environment can be loaded into the Java execution environment of the compound machine via a recording medium such as IC card and the like. In addition, the Java application can be loaded via a network.
  • For example, as shown in FIG. 29, by storing Java applications developed by the Java development environment in a Web server, the Java execution environment can access the Web server to load a Java application. Instead of the Web server, a FTP server can be used. [0217]
  • (Development of Java Application) [0218]
  • Next, development of Java application in the Java development environment will be described in detail. [0219]
  • FIG. 30 shows a flow of Java application development. As shown in FIG. 30, first, source code of Java is produced as a Java file. Then, the source code is compiled by the Java compiler to generate a class file. Then, a plurality of class files are archived to a Jar file. It is desirable to include a file indicating a class having “main” routine. [0220]
  • Debugging of the Java application is available by executing the Java application on the compound machine in the same way as the previously described embodiments. According to this embodiment, debugging is available without the target compound machine by using the [0221] emulator 1923 shown in FIG. 27. It is relatively easy to emulate the execution environment when Java is used since Java uses the virtual machine. After development of the application by using the emulator is completed, the Java application (byte code) is loaded into the compound machine via a network or via an IC card. Then, evaluation of the application can be performed on the compound machine.
  • The emulator can be configured such that the emulator receives instructions from the Java application and operates the PC according to the instructions. For example, for an instruction for displaying data on a display part of the operation panel, the emulator causes the PC to display a screen same as the screen to be displayed on the display part of the compound machine. The PC does not have engines (scanner, printer and the like) that are included in the compound machine. Therefore, for example, for a print instruction from the Java application, the emulator causes the PC to display an image showing printing, or the emulator causes the PC to actually print out a paper to a default printer. When the user pushes a copy button in an emulated screen on the PC, for example, the emulator causes the PC to notify the user to select a file to be copied from a local file system, and causes the PC to display a dialog box to input copy destination, and causes the PC to copy the selected file to the copy destination. [0222]
  • The emulator can be implemented as a separate program from the virtual machine and the class library as shown in FIG. 27. In addition, the emulator can be also implemented as a class in the class library as shown in FIG. 31. [0223]
  • FIG. 32 shows an operation panel screen displayed on the PC by the emulator. The elements such as buttons displayed on the screen are equivalent to those of the actual compound machine. In addition, the emulator has capabilities of a loader for selecting a Java application stored in the PC and executing the selected Java application. If the emulator executes the loader capability, for example, a screen shown in FIG. 33 is displayed. Then, the user selects a Java application, and the Java application is executed by pushing the execution button. The Java application displayed on the screen is a class name having main routine or a name of a Jar file. [0224]
  • The emulator also has a capability for logging state information of an application operating on the emulator. In addition, messages to be logged can be set. For example, the user can set the emulator such that only serious errors that may abnormally terminate the application are logged, or, detailed information that can be used for debugging are logged. [0225]
  • Debugging by using the emulator can be applied to other embodiments of the present invention. That is, for example, in the first embodiment, [0226] PC 200 may include the interpreter and an emulator similar to that of the present embodiment. After debugging of a program ends, the program is sent to the compound machine to evaluate the program by accessing the compound machine.
  • (Example of Java Application) [0227]
  • Next, an example of Java application will be described. The following example is a sample program of Java using operation panel classes. FIG. 34 shows a hierarchical structure of the operation panel classes. In FIG. 34, the classes of ***Window are classes for producing a window, and the classes of ****Item are classes for producing elements such as buttons in the window. For example, a program including following code can make a main window and elements in the window shown in FIG. 35. [0228]
  • mainwindow=newPanelWindow(panel.root( ),640,240); (a) MessageItem msg=new MessageItem(20, 20, 600, 40); (b) ButtonItem Button=new ButtonItem(10, 60, 80, 30); (c) (a) is code for making the main window of 640 dot width and 240 dot height. (b) is code for producing a message item of 600 dot width and 40 dot height at a position (20, 20). (c) is code for making a button of 80 dot width and 30 dot height at (10, 60). [0229]
  • The program shown in FIG. 36 is for implementing a user interface on the operation panel of the compound machine. As shown in FIG. 37, the program displays messages of “Hello World” and “Your Input Was . . . ” and a button of “Get Input . . . ”. When the user touches the button “Get Input . . . ”, a soft keyboard is displayed on the panel. The soft keyboard displays a title of “Add your Input” to invite the user to input code. When the user input a string, “ABCD!”, for example, from the soft keyboard, the string, “ABCD!” is displayed under the message of “Your Input Was . . . ”. [0230]
  • In the following, the sample program shown in FIG. 36 will be described along the number of remarks. [0231]
  • (1) is an instruction for using the operation panel class library. (2) indicates inheriting GWApp, so that application class of the compound machine can be used. In addition, by inheriting GWApp, the user do not need to write code for complicated initialization and end processing, in addition, processing such as message receiving can be hidden to the user. By the code of (3), an object for displaying the message of “Hello World” is generated. By the code of (4), a button object of “Get Input . . . ” is generated. Then, by the code of (5), an object for displaying a message of “Your Input Was . . . ” is generated. By the code of (6), an message object for displaying characters input from the soft keyboard is generated. [0232]
  • (Execution of Java Application in Java Execution Environment) [0233]
  • In the configuration shown in FIG. 27, by using capabilities of the [0234] application management part 1914, processing from download to application execution can be performed in the following way.
  • The [0235] application management part 1914 is launched at the time of launch of the compound machine like the other applications. By pushing an application launch key, for example, the application management part 1914 displays a user interface on the operation panel. At this time, if a Java application is not loaded, the application management part 1914 displays an application load screen. From the application load screen, the user causes the compound machine to access a predetermined Web site or an IC card to load the Java application into the compound machine.
  • In the processing of loading, before loading the Java application, the [0236] application management part 1914 inquires of the Web server information on the Java application to check whether the Java application can be installed. For example, the application management part 1914 checks program size, version, program latest update information, memory work size to be used, storage size to be used, network address to be used, available term of the application (number of times the application can be used), application program name and the like.
  • After checking the above items, if the application management part determines that the application is installable, the [0237] application management part 1914 downloads the Java application file into the compound machine.
  • After the download of the Java application program ends, the application management part obtains application name and add the name to an application list. At the same time, the Java application is stored in the hard disk of the compound machine. [0238]
  • By completing the above processing, the Java application can be used. When the user selects a Java application from a Java application launch screen provided by the [0239] application management part 1914, the virtual machine is launched and the Java application is executed.
  • The Java application cab be also executed in the following way. The following method is an example in which the Java application is loaded from the Web server in the configuration shown in FIG. 29. Following processing is executed by a loader (program) including in the [0240] application management part 1914. The loader itself can be implemented as a Java application, or can be implemented by using other language such as C language.
  • FIG. 38 shows a conceptual illustration from upload to download of the Java application. As shown in FIG. 38, the Java application that has been developed and tested in the Java development environment is uploaded to a Web server in [0241] step 1. The loader of the compound machine accesses the Web server in step 2, downloads the Java application the user wants in step 3, and the Java application is executed.
  • Next, processing procedure of the loader will be described with reference to a flowchart of FIG. 39. [0242]
  • The user pushes a predetermined button for changing application. Then, the loader checks if a Java application is already loaded in step S[0243] 11. If the Java application is already loaded, the Java application is executed in step S12. Then, a user interface of the Java application is displayed. If the Java application is not loaded, a screen of the loader is displayed in step S13. Also when execution of the Java application ends, the screen of the loader is displayed. In addition, while the user interface of the Java application is displayed, if the user inputs predetermined code and pushes a predetermined button, the screen of the loader can be displayed.
  • FIG. 40 shows a screen of the loader displayed on the compound machine. The loader displays a Java application name if the Java application is currently loaded in the compound machine, and displays frequency for checking update of the Java application in the Web server. [0244]
  • On the screen of the loader, when the user touches the button of “load application”, an application load window shown in FIG. 41 is displayed in step S[0245] 14. URL of the Java application is input in the window. For inputting the URL, the user touches the URL button to display a soft keyboard. Then, the user types the URL by using the soft keyboard. In addition, by touching the URL button, the loader may displays a list of Java applications shown in FIG. 42. Then, the user can selects a Java application from among the list. The user inputs a name of a class having main routine in the field of the class name shown in FIG. 41 as necessary.
  • After that, by touching OK button shown in FIG. 41, the Java application is downloaded from the Web server in step S[0246] 15, so that the Java application is executed by the compound machine.
  • The loader automatically accesses the Web server at predetermined intervals to check whether the updated Java application is stored in the Web server. For checking the update, the loader compares date and time stamp of the currently loaded application with those of the corresponding application in the Web server. If an updated Java application is found, the currently operating application is deleted and the updated application is downloaded. [0247]
  • To change the check interval, the user touches the update interval button shown in FIG. 40 to display a screen shown in FIG. 43 in step S[0248] 16. Then, the user selects hour or minute by using arrow key in the screen, and inputs a new interval by using numeric keys of the operation panel.
  • For deleting a Java application from the compound machine, the user touches “unload application” button shown in FIG. 40 to display a screen shown in FIG. 44 in step S[0249] 17. By touching the “OK” button, the Java application is deleted. The loader ends by touching Exit button shown in FIG. 40.
  • In this embodiment, a customize program can be produced by connecting Java applications. The processing for connecting the applications will be described with reference to FIG. 45. The program for producing the customize program is a Java application that is referred to as customize application hereinafter. The customize application may be installed in the compound machine beforehand. [0250]
  • First, by switching the screen on the operation panel to the loader screen shown in FIG. 40 so as to load and execute the customize application. [0251]
  • The customize application displays a [0252] screen 1 in FIG. 45. On the screen 1, only a paper object is shown. Other object may be input. An object can be input and output by using “input” button and “output” button. In addition, on the screen 1, an attribute such as read/write permission can be set for the paper object by “read/write permission” button.
  • When the user touches “paper” on the [0253] screen 1, a list of objects that can be connected to the paper object is displayed as shown in screen 2. When “scan” is selected, the screen 2 transfers to the screen 3. Then, by touching “scan”, a list of objects that can be connected to the scan object is displayed as shown in screen 4. If “mail” is selected on the screen 4, the screen 4 transfers to screen 5.
  • After that, by touching “setting” button, a customize program is produced in which the customize program performs processing for scanning a paper and sending the scanned image file by a mail. In addition, as shown in [0254] screen 6, a key is assigned to the customize program. By operating the key on the compound machine, the customize program is executed. The customize program is a program for executing connected classes one by one.
  • Downloading applications from the Web server, and producing a customize program by connecting applications can be applied for other embodiments of the present invention. For example, in the before mentioned configuration using the VB interpreter, by providing the compound machine with a loader similar to this embodiment, the compound machine can download applications from the server. [0255]
  • Each of service programs and application programs described so far can be stored in a recording medium such as IC card and the like, and can be stored in the compound machine. In addition, each of service programs and application programs described so far can be stored in the compound machine from an external server via a network. [0256]
  • As mentioned above, according to the present embodiment, an application can be developed efficiently by using the Java environments. [0257]
  • (Seventh Embodiment) [0258]
  • As mentioned in the Related Art, according to the compound machine, applications can be added to the compound machine after shipment of the compound machine. Thus, there may by a case where a plurality of applications developed by a plurality of vendors run at the same time on the compound machine. In addition, there may by a case where an application that includes a plurality of modules developed by a plurality of sections run on the compound machine. [0259]
  • Since each vendor develops the application by using its own method, there is a possibility of affecting preinstalled applications and the system of the compound machine. Especially, if usage of shared variables and events of the compound machine is left to each vendor, there is a possibility that software failure may occur in the compound machine so that the system of the compound machine becomes unstable. This problem may arise not only for the image forming apparatus but also for general information processing apparatuses. [0260]
  • In the following, an application and an information processing apparatus for solving the above-mentioned problem will be described. In the following, a compound machine will be described as an example of the information processing apparatus. [0261]
  • The configuration of the compound machine of this embodiment is the same as that of the first embodiment. In this embodiment, the [0262] external application 117 is produced according to a state transition model. The external application 117 is linked with a utility library including a state transition model launch function.
  • The process of the [0263] external application 177 is a multi-thread environment in which a plurality of threads are executed in parallel. As shown in FIG. 46, in the process of the external application 117, a main thread and an image library thread are executed in parallel. The main thread 2100 is a thread that executes main processing of the external application. The main thread calls the image library thread 2000, so that function calling to control services and VAS (virtual application service), receiving the return values, and message sending/receiving are realized.
  • In addition, the process of the external application includes a [0264] sub thread 2200, mail boxes 2110, 220 and 2140, and an event obtaining handler (thread) 2130. The main thread 2100 includes a utility library 2150 in which state transition model launch functions are registered.
  • The [0265] mail box 2110 is used for communication among the main thread 2100, the image library thread 2000, and the event obtaining handler 2130. The mail box 2120 is used for communication between the main thread 2100 and the image liberally thread 2000. The event obtaining handler 2130 receives an event message from a process of a control service such as ECS or MCS or the VAS, and writes the event message in the mail box 2110.
  • When the [0266] main thread 2100 accesses the control service, the main thread 2100 sets up the mail boxes 2110, 2120 and 2140, then, launches the image library thread 2000.
  • The [0267] main thread 2100 puts a command for function calling for the image library thread 2000 in the mail box 2110, in which the source information is set as MB_REQUEST. In addition, an event message from the control service and the like is also put in the mail box 2110 as a mail having source information MB_CS.
  • The [0268] image library thread 2000 obtains a mail delivered to the mail box 2110 by using a function rcv_msg( ). The image library thread 2000 searches for a function corresponding to the source information and an event or function information included in the mail. If the function is detected, the library thread 2000 executes the function. If the function is not detected, nothing is done.
  • The obtained mail is transferred to the [0269] mail box 2120 irrespective of execution of the corresponding function. In addition, the image library thread 2000 puts a mail having source information of MB_IMAGE, in the mail box 2120, as a notification of error information, execution result, progress and the like to the main thread. In the same way, the main thread 2100 and the sub thread 2200 send and receive messages by using the mail boxes 2140 and 2120.
  • The [0270] utility library 2150 and the image library are provided as an installable file stored in a recording medium such as a CD-ROM or FD. The file is provided as a part or whole of a tool kit for software development such as “SDK: Software Development Kit”. In addition, the utility library 2150 and the image library can be provided via network, for example, by downloading from a Web site.
  • For producing the external application by using the utility library and the image library, the developer compiles the source file of the external application by using a compiler to produce an object file. Then, the object file and the utility library and the image library are linked by using a linker so that an execution file of the external application is produced. The execution file is stored in a flash card and the like, and is installed from the flash card into the compound machine, so that the external application having the utility library and the image library is mounted on the compound machine. In addition, the execution file can be installed from a server via a network. [0271]
  • Next, the state transition model adopted by the external application will be described. FIG. 47 shows the state transition when the external application has [0272] state 1 and state 2. As shown in FIG. 47, assume that the main thread 2100 of the external application 117 includes the state 1 and the state 2, and current state is the state 1. At this state in which the main thread is in the state 1, if the main thread 2100 receives an event 1 by the function rcv_msg( ), an event function 1 is executed so that the state changes to the state 2 and an entry function 2 is executed. When the main thread 2100 is in the state 2, if the main thread receives an event 2, an event function 2 is executed so that the state is changed back to the state 1, and an entry function 1 is executed. When the main thread 2100 is in the state 2, if the main thread receives an event 3, an event function 3 is executed and the state 2 is kept.
  • The “state” means a state for waiting an event. The “event” is an event that triggers state transition. The “entry function” is a function executed when state transition occurs. The “event function” is a function that is executed for an event. [0273]
  • For producing an external application that performs event processing by using the state transition model, if every event is processed by a single module, that is, if every event is processed by a state group of the same level, the number of states increases and the number of events that are processed by a state increases. Thus, the program is complicated, so that productivity decreases and maintenance efficiency decreases. [0274]
  • Thus, according to the present embodiment, modules (sub modules) of state transition models are produced. Each module processes only events that are related each other among all events occurred in the external application. In addition, a module of a state transition model that controls whole modules is provided, in which this module executes sub modules as necessary by calling functions. A sub module that is called may perform function call to execute further sub modules of state transition model as necessary. [0275]
  • Each module does not use global variables that can be used in all of the external application. Instead, each module dynamically keeps a shared memory when the module is launched. Therefore, if the same module is called recursively, it is assured that the program is exactly executed. [0276]
  • FIG. 48 shows an example of modules having a nest structure in the external application. In the example shown in FIG. 48, three nests (modules) exists. A module of [0277] nest 1 is called by an event function sub1( ) from nest 0, and a module of nest 2 is called by using an event function sub2( ).
  • Next, specific source code of the [0278] external application 117 will be described. If there is a. shared variable shared among the entry functions and the event functions that are executed in modules, the variable can not be passed as an argument of a function due to limitation of function type. If such variable is defined as a global variable, there is a high possibility that a value in the variable may be unpredictably changed in modules of the nest structure or in multi threads, so that the global variable may cause fault in the external application.
  • According to the present embodiment, a variable can be shared in a module of a state transition model and in nested modules. FIG. 49 is an example of definition part of the source code of the external application. [0279]
  • As shown in FIG. 49, in the source code of the external application, variables that are treated like global variable in entry functions and event functions described in the same file are grouped, so that a structure (demoCommonParm_t) is defined shared variables. In addition, to access the shared variables easily, COMMON_STRUCT is defined. [0280]
  • In addition, in the example of FIG. 49, the [0281] external application 117 has two states DEMO_ST_IDLE and DEMO_ST_RUN, and event function table “eventDemoIdle” is defined for the sate of DEMO_ST_IDLE, and event function table “eventDemoRun” is defined for the state of DEMO_ST_RUN. Data in the demoSt Tbl[] is written in an order of states in which the entry function table and the event function table are defined. In addition, by specifying a thread number by using THREAD_NO, shared variables effective in a thread of the thread number THREAD_NO can be used.
  • FIG. 50 is an example of a function definition part in the source code of the external application. The function “execDemoFunc” launches a state transition model. More specifically, the function “execDemoFunc” keeps and set an area for the shared variables, and calls a state transition model launch function StMachine( ). [0282]
  • In the exemple of FIG. 50, “execDemoFUNC” calls the state transition model launch function StMachine( ) by specifying that, in a thread of the thread number THREAD_NO, according to the state information table demoStTble, state is to be launched from state number DEMO_ST_IDLE, and an area indicated by pCom is used as shared variables. In addition, descriptions of the event functions and the entry functions are included as shown in FIG. 50. [0283]
  • Next, processing of the state transition model launch function StMachine( ) will be described. FIG. 51 is a flowchart showing the process procedure of the state transition model launch function StMachine( ). [0284]
  • When the state transition model launch function StMachine( ) receives a message, the function allocates areas for shared variables in step S[0285] 701. FIG. 52 shows the allocation state of the areas of the shared variables. As shown in FIG. 52, in the present embodiment, the value of a stack pointer sp directly corresponds to a nest number. For each module (nest), that is, each time when the function StMachine( ) is executed in a module, a pointer to a shared variable group is stacked on a stack area. Therefore, the shared variable is not changed accidentally in a lower layer module. Thus, as shown in FIG. 52, a shared variable having the same name can be used like a global variable while keeping an accurate value of the shared variable.
  • Next, the state transition model launch function StMachine( ) refers to an event function table of a current state to check the information of the table in step S[0286] 702. Then, the function determines whether a received message is defined in the event function table in step S703. If the received message is defined, the state transition model launch function StMachine( ) executes an event function corresponding to the received message in step S704, and executes an entry function in step S705. If the received message is not defined in the event function table, the event function is not executed. The above mentioned processes are repeated until the end of the event function table in step S706. Accordingly, the external application produced based on the state transition model is executed.
  • As mentioned above, according to the compound machine of the first embodiment, the external application includes a plurality of modules of nest structure. In addition, the application includes the [0287] utility library 2150 in which the state transition model launch function is registered, wherein the state transition model launch function allocates areas each for a module to a shared variable shared among modules. Thus, the shared variable can be used safely among modules, and failures due to values of variables can be prevented. Thus, the compound machine can execute the external application stably.
  • (Eighth Embodiment) [0288]
  • Since the external application is produced on the basis of the state transition model according to the compound machine of the seventh embodiment, only event functions that depended on states are executed. According to the compound machine of the eighth embodiment, the external application further performs standard processing independent of any state. The structure of the compound machine of the eighth embodiment is the same as that of the seventh embodiment, and the structure of the inside of a process of the eighth embodiment is the same as that of the seventh embodiment. [0289]
  • In the compound machine of the eighth embodiment is configured such that a state transition model launch function StMachine( ) in the library performs standard processsing. [0290]
  • FIG. 53 shows a flowchart showing a process procedure of the state transition model launch function StMachine( ). The processes (steps S[0291] 901-S906) from allocation of shared variables to execution of entry function are the same as those of the fseventh embodiment.
  • The state transition model launch function StMachine( ) of this embodiment further refers to a standard function table and checks the information in step S[0292] 907. The “standard function” is a function that is executed irrespectively from the current state when receiving an event. For example, the “standard function” performs a process for an event of power off, a process for notifying of presence or absence of owner authorization for an event of inquiring owner authorization of the application, or the like. The standard function table defines standard functions executed for messages, and the structure of the standard function table is the same as that of the event function table.
  • Then, the function determines whether a received message is defined in the standard function table in step S[0293] 908. If the received message is defined, the state transition model launch function StMachine( ) executes an standard function corresponding to the received message in step S909. If the received message is not defined in the standard function table, the standard function is not executed. The above mentioned processes are repeated until the end of the standard function table in step S910. Accordingly, in the external application produced based on the state transition model, a standard function is executed irrespective of current state for an event that arrives asynchronously.
  • As mentioned above, according to the compound machine of the eighth embodiment, since the state transition model launch function executes the standard function, an event related to the system such as power off event can be treated without affecting other applications, so that stability of the compound machine improves. According to the seventh and eighth embodiment, the shared variable can be used safely among modules, and failures due to values in variables can be prevented. [0294]
  • As mentioned above, according to the present invention, an image forming apparatus is provided, in which the image forming apparatus includes: [0295]
  • a program obtaining part for sending a screen data for inputting a program to a client terminal, and receiving the program from the client terminal; and [0296]
  • a program execution part for executing the program received by the program obtaining part. [0297]
  • According to the image forming apparatus, a program can be added or amended from an input screen of the client terminal, and the program can be executed without compiling. Thus, the operation of the program can be easily tested. Therefore, the program can be easily developed. [0298]
  • The image forming apparatus may include: [0299]
  • an operation display part for displaying a screen and inputting information; and [0300]
  • a program obtaining part for displaying a screen on the operation display part for inputting a program and obtaining the program input from the operation display part. According to the image forming apparatus, a program can be added or amended from an input screen of the image forming apparatus. [0301]
  • In the image forming apparatus, the program obtaining part includes a Web server capability, and the image forming apparatus sends a html file as the screen data to the client terminal according to access from the client terminal. By using the Web server capability, the input screen data can be sent easily. [0302]
  • The image forming apparatus may detect an event from the client terminal and executes a CGI program corresponding to the event. By using the CGI program, processing according to instructions from the Web browser can be performed efficiently. [0303]
  • In the image forming apparatus, when the program is executed in the image forming apparatus, the image forming apparatus causes the client terminal to display a screen same as a screen displayed on a display part of the image forming apparatus. According to the present invention, operation of the program can be recognized in the client terminal side. [0304]
  • The image forming apparatus associates a key with the program according to a request from the client terminal or an operation display part of the image forming apparatus, and stores a table including correspondence between the program and the key. Thus, the user can assign a key to a program. [0305]
  • The image forming apparatus further includes: hardware resources used for image forming processing; control services existing between the hardware resources and an application in the image forming apparatus; wherein the program operates as the application. The program performs function call to the control services by using the program execution part. [0306]
  • In addition, according to the present invention, an information processing apparatus used for developing a program to be executed on an image forming apparatus is provided, in which the information processing apparatus includes: [0307]
  • an execution part for interpreting and executing the program; [0308]
  • an emulator for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the program. [0309]
  • According to the present invention, since the emulator causes the information processing apparatus to emulate the image forming apparatus, the test of the program can be performed on the information processing apparatus, so that efficiency of development of the program improves. [0310]
  • The execution part is a virtual machine. Therefor, a Java program can be executed. In addition, by including a compiler for converting source code of the program to code executable by the virtual machine, the source code can be converted into byte code. In addition, by providing class libraries, a Java program can be easily developed. [0311]
  • In the information processing apparatus, the emulator causes the information processing apparatus to display a screen corresponding to an operation panel of the image forming apparatus. Therefor, the user can operate the information processing apparatus as if the user operate the image forming apparatus. [0312]
  • In addition, the emulator causes the information processing apparatus to display a list of programs and execute a program selected by the user, and the emulator causes the information processing apparatus to print data to a printer connected to the information processing apparatus for a print instruction. [0313]
  • In addition, the information processing apparatus may receive a screen data for inputting a program and send the program to the image forming apparatus by using the screen data. [0314]
  • In addition, an image forming apparatus that includes service modules for performing system side processing on image formation is provided, wherein applications can be added to the image forming apparatus separately from the service modules, the image forming apparatus includes: [0315]
  • a virtual machine for executing an application; and [0316]
  • an application management part for managing the application executed by the virtual machine. [0317]
  • According to the present invention, an application executed on the virtual machine can be executed in the image forming apparatus. Generally, since the virtual machine absorbs differences of machine models, the application can be easily executed on the image forming apparatus. [0318]
  • The image forming apparatus may include an interpreter instead of the virtual machine. [0319]
  • In the image forming apparatus, the application management part is a loader for loading the application into the image forming apparatus from a recording medium to be connected to the image forming apparatus or from a server to be connected to the image forming apparatus via a network. Since the loader loads the application, the application can be easily executed. [0320]
  • The loader determines whether an application is already loaded in the image forming apparatus, executes the application if the application is loaded, and displays a loader screen if the application is not loaded. [0321]
  • In addition, the loader displays an application load screen on a display part of the image forming apparatus and downloads an application from a location specified by the user on the load screen, and the loader displays a list of applications and downloads an application selected from the list by the user. In addition, the loader checks, at predetermined intervals, whether an application corresponding to the downloaded application is updated in the location. [0322]
  • The image forming apparatus may further include: a connecting part for connecting applications and causing the image forming apparatus to perform a series of processes according to the connected applications. The connecting part displays, on a display part of the image forming apparatus, a first application and a plurality of applications that are candidates to be connected to the first application, and connects an application selected from among the plurality of applications to the first application. Accordingly, the user can customize the applications visually. [0323]
  • In addition, according to the present invention, an information processing apparatus including a utility library that is implemented in a program is provided, [0324]
  • wherein the program includes nested modules in which each module is based on a state transition model, [0325]
  • wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed, [0326]
  • wherein the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules. [0327]
  • According to the present invention, the shared variable shared among the modules can be used safely, and failure due to values of the variables can be prevented, so that the information processing apparatus operates stably. [0328]
  • In the information processing apparatus, the each area is specified by a pointer in a stack area. Since the stack area that is used for function calling is used, areas for the shared variable can be assigned efficiently. [0329]
  • In addition, the state transition model launch function assigns areas each for a thread to a shared variable shared by threads. Thus, the shared variable can be used safely among threads. [0330]
  • In addition, the state transition model launch function executes an entry function that defines processing performed when state transition occurs in the state transition model. Thus, processing that is performed regularly when calling a module can be executed. [0331]
  • Further, the state transition model launch function executes a standard function that defines processing performed when an asynchronous event that occurs irrespective of the state occurs. [0332]
  • The present invention is not limited to the specifically disclosed embodiments, and variations and modifications may be made without departing from the scope of the present invention. [0333]

Claims (105)

What is claimed is:
1. An image forming apparatus, comprising:
a program obtaining part for sending a screen data for inputting a program to a client terminal, and receiving the program from the client terminal; and
a program execution part for executing the program received by the program obtaining part.
2. An image forming apparatus, comprising:
an operation display part for displaying a screen and inputting information;
a program obtaining part for displaying a screen on the operation display part for inputting a program and obtaining the program input from the operation display part; and
a program execution part for executing the program obtained by the program obtaining part.
3. The image forming apparatus as claimed in claim 1, wherein the program obtaining part includes a Web server capability, and the image forming apparatus sends a html file as the screen data to the client terminal according to access from the client terminal.
4. The image forming apparatus as claimed in claim 3, wherein the image forming apparatus detects an event from the client terminal and executes a CGI program corresponding to the event.
5. The image forming apparatus as claimed in claim 1, wherein, when the program is executed in the image forming apparatus, the image forming apparatus causes the client terminal to display a screen same as a screen displayed on a display part of the image forming apparatus.
6. The image forming apparatus as claimed in claim 1, wherein the image forming apparatus associates a key with the program according to a request from the client terminal or an operation display part of the image forming apparatus, and stores a table including correspondence between the program and the key.
7. The image forming apparatus as claimed in claim 6, wherein the image forming apparatus detects input of the key, and executes the program corresponding to the key by referring to the table.
8. The image forming apparatus as claimed in claim 6, the image forming apparatus displays a key assigning screen for assigning a key to the program, and assigns a key to a program according to input from the key assigning screen.
9. The image forming apparatus as claimed in claim 1, wherein the image forming apparatus executes the program for testing operation of the program.
10. The image forming apparatus as claimed in claim 1, the image forming apparatus further comprising a part for accessing a server that stores programs and downloading a program from the server.
11. The image forming apparatus as claimed in claim 1, wherein the program execution part is an interpreter.
12. The image forming apparatus as claimed in claim 1, the image forming apparatus further comprising:
hardware resources used for image forming processing;
control services existing between the hardware resources and an application in the image forming apparatus;
wherein the program operates as the application.
13. The image forming apparatus as claimed in claim 12, wherein the program performs function call to the control services by using the program execution part.
14. A program execution method in an image forming apparatus, the program execution method comprising the steps of:
sending a screen data for inputting a program to a client terminal;
receiving the program from the client terminal; and
executing the program received from the client terminal.
15. A program execution method in an image forming apparatus, the program execution method comprising the steps of:
displaying a screen on an operation display part in the image forming apparatus for inputting a program;
obtaining the program input from the operation display part; and
executing the program obtained by the program obtaining part.
16. The program execution method as claimed in claim 14, wherein the image forming apparatus sends a html file as the screen data to the client terminal according to access from the client terminal.
17. The program execution method as claimed in claim 16, wherein the image forming apparatus detects an event from the client terminal and executes a CGI program corresponding to the event.
18. The program execution method as claimed in claim 14, wherein, when the program is executed in the image forming apparatus, the image forming apparatus causes the client terminal to display a screen same as a screen displayed on a display part of the image forming apparatus.
19. The program execution method as claimed in claim 14, wherein the image forming apparatus associates a key with the program according to a request from the client terminal or an operation display part of the image forming apparatus, and stores a table including correspondence between the program and the key.
20. The program execution method as claimed in claim 19, wherein the image forming apparatus detects input of the key, and executes the program corresponding to the key by referring to the table.
21. The program execution method as claimed in claim 19, the image forming apparatus displays a key assigning screen for assigning a key to the program, and assigns a key to a program according to input from the key assigning screen.
22. The program execution method as claimed in claim 14, the image forming apparatus comprising:
hardware resources used for image forming processing;
control services existing between the hardware resources and an application in the image forming apparatus;
wherein the program operates as the application.
23. A program causing an image forming apparatus to obtain an application program, the program comprising:
program obtaining program code means for sending a screen data for inputting an application program to a client terminal, and receiving the application program from the client terminal.
24. A program for casing an image forming apparatus to obtain an application program, wherein the image forming apparatus comprising an operation display part for displaying a screen and inputting information, the program comprising:
program obtaining program code means for displaying a screen on the operation display part for inputting an application program and obtaining the application program input from the operation display part.
25. The program as claimed in claim 23, wherein the program obtaining program code means includes a Web server capability, and causes the image forming apparatus to send a html file as the screen data to the client terminal according to access from the client terminal.
26. The program as claimed in claim 23, the program further comprising program code means for causing the client terminal to display a screen same as a screen displayed on a display part of the image forming apparatus when the application program is executed in the image forming apparatus.
27. The program as claimed in claim 23, the program further comprising program code means for accessing a server that stores programs and downloading a program from the server.
28. A computer readable recording medium storing a program causing an image forming apparatus to obtain an application program, the program comprising:
program obtaining program code means for sending a screen data for inputting an application program to a client terminal, and receiving the application program from the client terminal.
29. An information processing apparatus used for developing a program to be executed on an image forming apparatus, the information processing apparatus comprising:
an execution part for interpreting and executing the program;
an emulator for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the program.
30. The information processing apparatus as claimed in claim 29, wherein the execution part is a virtual machine.
31. The information processing apparatus as claimed in claim 30, the information processing apparatus further comprising a compiler for converting source code of the program to code executable by the virtual machine.
32. The information processing apparatus as claimed in claim 31, wherein the program is a Java program and the information processing apparatus further comprises a class library to be referred to by the Java program.
33. The information processing apparatus as claimed in claim 29, wherein the emulator causes the information processing apparatus to display a screen corresponding to an operation panel of the image forming apparatus.
34. The information processing apparatus as claimed in claim 29, wherein the emulator causes the information processing apparatus to display a list of programs and execute a program selected by the user.
35. The information processing apparatus as claimed in claim 29, wherein the emulator causes the information processing apparatus to print data to a printer connected to the information processing apparatus for a print instruction.
36. The information processing apparatus as claimed in claim 29, the information processing apparatus further comprising a sending part for sending a program.
37. The information processing apparatus as claimed in claim 36, wherein the sending part sends the program to a server that stores programs.
38. The information processing apparatus as claimed in claim 36, wherein the sending part receives a screen data for inputting a program and sends the program to the image forming apparatus by using the screen data.
39. A program for casing an information processing apparatus to emulate an image forming apparatus, wherein the information processing apparatus is used for developing an application program to be executed on the image forming apparatus, the program comprising:
emulator program code means for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the application program.
40. The program as claimed in claim 39, the program further comprising execution program code means for interpreting and executing the application program.
41. The program as claimed in claim 40, wherein the execution program code means is a virtual machine.
42. The program as claimed in claim 41, the program further comprising a compiler for converting source code of the application program to code executable by the virtual machine.
43. The program as claimed in claim 42, wherein the application program is a Java program and the program further comprises a class library to be referred to by the Java program.
44. The program as claimed in claim 39, wherein the emulator program code means causes the information processing apparatus to display a screen corresponding to an operation panel of the image forming apparatus.
45. The program as claimed in claim 39, wherein the emulator program code means causes the information processing apparatus to display a list of application programs and execute an application program selected by the user.
46. The program as claimed in claim 39, wherein the emulator program code means causes the information processing apparatus to print data to a printer connected to the information processing apparatus according to a print instruction.
47. The program as claimed in claim 39, the program further comprising sending program code means for sending an application program.
48. The program as claimed in claim 47, wherein the sending program code means causes the information processing apparatus to send the application program to a server that stores application programs.
49. The program as claimed in claim 47, wherein the sending program code means causes the information processing apparatus to receive a screen data for inputting an application program and sends the application program to the image forming apparatus by using the screen data.
50. A program, to be executed on an image forming apparatus, developed by using an information processing apparatus, the information processing apparatus comprising:
an execution part for interpreting and executing the program;
an emulator for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the program.
51. A computer readable medium storing a program for casing an information processing apparatus to emulate an image forming apparatus, wherein the information processing apparatus is used for developing an application program to be executed on the image forming apparatus, the program comprising:
emulator program code means for causing the information processing apparatus to perform processing corresponding to that to be performed by the image forming apparatus according to instructions of the application program.
52. An image forming apparatus that includes service modules for performing system side processing on image formation, wherein applications can be added to the image forming apparatus separately from the service modules, the image forming apparatus comprising:
a virtual machine for executing an application; and
an application management part for managing the application executed by the virtual machine.
53. The image forming apparatus as claimed in claim 52, the image forming apparatus comprising an interpreter instead of the virtual machine.
54. The image forming apparatus as claimed in claim 52, wherein the application is a Java program and the image forming apparatus includes a class library to be referred to by the Java program.
55. The image forming apparatus as claimed in claim 54, wherein the class library includes classes for displaying data on a display part of the image forming apparatus.
56. The image forming apparatus as claimed in claim 52, wherein the application management part is a loader for loading the application into the image forming apparatus from a recording medium to be connected to the image forming apparatus or from a server to be connected to the image forming apparatus via a network.
57. The image forming apparatus as claimed in claim 56, wherein the loader determines whether an application is already loaded in the image forming apparatus, executes the application if the application is loaded, and displays a loader screen if the application is not loaded.
58. The image forming apparatus as claimed in claim 56, wherein the loader displays an application load screen on a display part of the image forming apparatus and downloads an application from a location specified by the user on the load screen.
59. The image forming apparatus as claimed in claim 58, wherein the loader displays a list of applications and downloads an application selected from the list by the user.
60. The image forming apparatus as claimed in claim 58, wherein the location is a Web server or a FTP server that stores applications.
61. The image forming apparatus as claimed in claim 58, wherein the loader checks, at predetermined intervals, whether an application corresponding to the downloaded application is updated in the location.
62. The image forming apparatus as claimed in claim 61, wherein the loader displays a screen for inputting the interval on a display part of the image forming apparatus and sets the interval according to input by the user.
63. The image forming apparatus as claimed in claim 52, the image forming apparatus further comprising:
a connecting part for connecting applications and causing the image forming apparatus to perform a series of processes according to the connected applications.
64. The image forming apparatus as claimed in claim 63, wherein the connecting part displays, on a display part of the image forming apparatus, a first application and a plurality of applications that are candidates to be connected to the first application, and connects an application selected from among the plurality of applications to the first application.
65. A program to be executed in an image forming apparatus that includes service modules for performing system side processing on image formation, wherein applications can be added to the image forming apparatus separately from the service modules, the program comprising:
virtual machine program code means for executing an application; and
application management program code means for managing the application executed by the virtual machine program code means.
66. The program as claimed in claim 65, the program comprising interpreter program code means for interpreting and executing the application instead of the virtual machine program code means.
67. The program as claimed in claim 65, wherein the application is a Java program and the program includes a class library to be referred to by the Java program.
68. The program as claimed in claim 67, wherein the class library includes classes for displaying data on a display part of the image forming apparatus.
69. The program as claimed in claim 65, wherein the application management program code means is loader program code means for loading the application into the image forming apparatus from a recording medium to be connected to the image forming apparatus or from a server to be connected to the image forming apparatus via a network.
70. The program as claimed in claim 65, wherein the loader program code means determines whether an application is already loaded in the image forming apparatus, executes the application if the application is loaded, and displays a loader screen if the application is not loaded.
71. The program as claimed in claim 65, wherein the loader program code means displays an application load screen on a display part of the image forming apparatus and downloads an application from a location specified by the user.
72. The program as claimed in claim 71, wherein the loader program code means displays a list of applications on a display part of the image forming apparatus and downloads an application selected from the list by the user.
73. The program as claimed in claim 71, wherein the location is a Web server or a FTP server that stores applications.
74. The program as claimed in claim 71, wherein the loader program code means checks, at predetermined intervals, whether an application corresponding to the downloaded application is updated in the location.
75. The program as claimed in claim 74, wherein the loader program code means displays a screen for inputting the interval on a display part of the image forming apparatus and sets the interval according to input by the user.
76. The program as claimed in claim 65, the program further comprising:
connecting program code means for connecting applications and causing the image forming apparatus to perform a series of processes according to the connected applications.
77. The program as claimed in claim 76, wherein the connecting program code means displays, on a display part of the image forming apparatus, a first application and a plurality of applications that are candidates to be connected to the first application, and connects an application selected from among the plurality of applications to the first application.
78. A computer readable medium storing a program to be executed in an image forming apparatus that includes service modules for performing system side processing on image formation, wherein applications can be added to the image forming apparatus separately from the service modules, the program comprising:
virtual machine program code means for executing an application; and
application management program code means for managing the application executed by the virtual machine program code means.
79. An application execution method in an image forming apparatus that includes a virtual machine for executing an application and an application management part for managing the application executed by the virtual machine, the method comprising the steps of:
displaying an application load screen on a display part of the image forming apparatus;
downloading an application from a location specified by the user; and
executing the application by using the virtual machine.
80. The application execution method as claimed in claim 79, wherein the image forming apparatus includes an interpreter instead of the virtual machine.
81. The application execution method as claimed in claim 79, wherein the location is a recording medium to be connected to the image forming apparatus or a server to be connected to the image forming apparatus via a network.
82. The application execution method as claimed in claim 79, wherein the image forming apparatus displays a list of applications and downloads an application selected from the list by the user.
83. An information processing apparatus, comprising a utility library that is implemented in a program;
wherein the program includes nested modules in which each module is based on a state transition model,
wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed,
wherein the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules.
84. The information processing apparatus as claimed in claim 83, wherein the each area is specified by a pointer in a stack area.
85. The information processing apparatus as claimed in claim 83, wherein the state transition model launch function assigns areas each for a thread to a shared variable shared by threads.
86. The information processing apparatus as claimed in claim 83, wherein the state transition model launch function executes an entry function that defines processing performed when state transition occurs in the state transition model.
87. The information processing apparatus as claimed in claim 83, wherein the state transition model launch function executes a standard function that defines processing performed when an asynchronous event that occurs irrespective of the state occurs.
88. The information processing apparatus as claimed in claim 83, wherein the information processing apparatus is an image forming apparatus.
89. The information processing apparatus as claimed in claim 88, the information processing apparatus further comprising:
hardware resources used for image forming processing;
control services that provide services to applications in the image forming apparatus, in which the services includes control of hardware resources;
wherein the program is an application in the image forming apparatus, and the utility library is linked to the application.
90. A program producing method, comprising a link step of linking a utility library with a program;
wherein the program includes nested modules in which each module is based on a state transition model,
wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the sate, and a second state transferred from the first state after the event function is executed,
wherein the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules.
91. The method as claimed in claim 90, wherein the each area is specified by a pointer in a stack area.
92. The method as claimed in claim 90, wherein the state transition model launch function assigns areas each for a thread to a shared variable shared by threads.
93. The method as claimed in claim 90, wherein the state transition model launch function executes an entry function that defines processing performed when state transition occurs in the state transition model.
94. The method as claimed in claim 90, wherein the state transition model launch function executes a standard function that defines processing performed when an asynchronous event that occurs irrespective of the state occurs.
95. The method as claimed in claim 90, wherein the program produced according to the method is a program to be executed in an image forming apparatus.
96. The method as claimed in claim 95, the information processing apparatus further comprising:
hardware resources used for image forming processing;
control services that provide services to applications in the image forming apparatus, in which the services includes control of hardware resources;
wherein the program is an application in the image forming apparatus.
97. A state transition model in a program in which operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed,
wherein the state transition model is used in an information processing apparatus including a utility library that is implemented in the program;
wherein the program includes nested modules in which each module is based on the state transition model,
wherein the utility library includes a state transition model launch function that assigns areas, each of which areas is for a module, to a shared variable shared by the modules.
98. A program produced by a program producing method, the method comprising a link step of linking a utility library with a program;
wherein the program includes nested modules in which each module is based on a state transition model,
wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed, p1 wherein the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules.
99. A program for causing an information processing apparatus to generate nested modules in which each module is based on a state transition model,
wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed, the program comprising:
program code means that assigns areas each for a module to a shared variable shared by the modules in response to receiving a message; and
program code means for executing the event function corresponding to the message by referring to an event function table.
100. The program as claimed in claim 99, the program further comprising program code means for executing an entry function that defines processing performed when state transition occurs in the state transition model.
101. The program as claimed in claim 99, the program further comprising program code means for executing a standard function that defines processing performed when an asynchronous event that occurs irrespective of the state occurs.
102. The program as claimed in claim 99, wherein the information processing apparatus is an image forming apparatus.
103. The program as claimed in claim 102, the information processing apparatus further comprising:
hardware resources used for image forming processing;
control services that provide services to applications in the image forming apparatus, in which the services includes control of hardware resources;
wherein the program is an application in the image forming apparatus.
104. A computer readable medium storing a program produced by a program producing method, the method comprising a link step of linking a utility library with a program;
wherein the program includes nested modules in which each module is based on a state transition model,
wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed,
wherein the utility library includes a state transition model launch function that assigns areas each for a module to a shared variable shared by the modules.
105. A computer readable medium storing a program for causing an information processing apparatus to generate nested modules in which each module is based on a state transition model,
wherein, in the state transition model, operation of the program is determined according to a first state of the program, an event for the program in the state, an event function to be executed when the event occurs in the state, and a second state transferred from the first state after the event function is executed, the program comprising:
program code means that assigns areas each for a module to a shared variable shared by the modules in response to receiving a message; and
program code means for executing the event function corresponding to the message by referring to an event function table.
US10/626,608 2002-07-26 2003-07-25 Image forming apparatus, information processing apparatus, program execution method and program producing method Active 2026-09-21 US7554685B2 (en)

Applications Claiming Priority (14)

Application Number Priority Date Filing Date Title
JP2002-218814 2002-07-26
JP2002218814 2002-07-26
JP2002-276532 2002-09-24
JP2002276532 2002-09-24
JP2002-295378 2002-10-08
JP2002295378 2002-10-08
JP2003199948A JP4198551B2 (en) 2002-07-26 2003-07-22 Image forming apparatus and program execution method
JP2003199950A JP4246560B2 (en) 2002-09-24 2003-07-22 Information processing apparatus, information processing method, program, and recording medium
JP2003199949A JP2004185595A (en) 2002-07-26 2003-07-22 Information processor and program therefor
JP2003199947A JP2004185593A (en) 2002-07-26 2003-07-22 Image forming apparatus and application execution method
JP2003-199950 2003-07-22
JP2003-199949 2003-07-22
JP2003-199948 2003-07-22
JP2003-199947 2003-07-22

Publications (2)

Publication Number Publication Date
US20040218208A1 true US20040218208A1 (en) 2004-11-04
US7554685B2 US7554685B2 (en) 2009-06-30

Family

ID=30004105

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/626,608 Active 2026-09-21 US7554685B2 (en) 2002-07-26 2003-07-25 Image forming apparatus, information processing apparatus, program execution method and program producing method

Country Status (3)

Country Link
US (1) US7554685B2 (en)
EP (1) EP1385089A3 (en)
CN (1) CN1273888C (en)

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030140174A1 (en) * 2002-01-08 2003-07-24 Tsutomu Ohishi Method for generating application for information processing apparatus and image forming apparatus
US20040125414A1 (en) * 2002-09-13 2004-07-01 Tsutomu Ohishi Image forming apparatus and scanned data process method
US20050226641A1 (en) * 2004-02-17 2005-10-13 Mitsuo Ando Image forming apparatus, terminal apparatus, information processing method, information processing program and computer readable recording medium
US20060070087A1 (en) * 2004-09-07 2006-03-30 Mitsuo Ando Application executing method, information processing apparatus, image forming apparatus, terminal equipment, information processing method and computer-readable storage medium
US20060082801A1 (en) * 2004-10-18 2006-04-20 Tsutomu Ohishi Image forming apparatus, information processing method, information processing program and recording medium
US20060140658A1 (en) * 2004-10-21 2006-06-29 Koji Shimizu Image forming apparatus, install method, and computer readable recording medium where an install program is recorded
US20060215201A1 (en) * 2005-03-14 2006-09-28 Koji Shimizu Easy modification to method of controlling applications in image forming apparatus
US20070030495A1 (en) * 2005-08-04 2007-02-08 Tsutomu Ohishi Image forming apparatus, information processing method, information processing program and recording medium
US20070047017A1 (en) * 2005-08-26 2007-03-01 Mitsuo Ando Image forming apparatus, information processing method, and recording medium
US20070076241A1 (en) * 2005-09-30 2007-04-05 Brother Kogyo Kabushiki Kaisha Multi function peripheral
US20070078810A1 (en) * 2005-09-30 2007-04-05 Keith Hackworth Methods, systems, and products for updating web content
US20070124510A1 (en) * 2005-09-16 2007-05-31 Mitsuo Ando Image forming device, information processing method, information processing program, and recording medium
US20070240124A1 (en) * 2004-08-06 2007-10-11 Canon Kabusgiki Kaisha Image Processing Apparatus and Control Method Thereof
US20070297666A1 (en) * 2006-06-22 2007-12-27 Sachiko Takeuchi Information processing apparatus, service providing method, and service providing program product
US20080263538A1 (en) * 2007-04-19 2008-10-23 Konica Minolta Business Technologies, Inc. Image forming apparatus, program updating system, and program updating program
US20080271060A1 (en) * 2007-04-27 2008-10-30 Kunihiro Akiyoshi Image forming device, information processing method, and information processing program
US20090150873A1 (en) * 2005-12-14 2009-06-11 Canon Kabushiki Kaisha Information processing apparatus and method
US7554685B2 (en) 2002-07-26 2009-06-30 Ricoh Company, Ltd. Image forming apparatus, information processing apparatus, program execution method and program producing method
US20090178035A1 (en) * 2004-08-30 2009-07-09 International Business Machines Corporation Simplifying the deployment and serviceability of commercial software environments
US20090286484A1 (en) * 2008-05-19 2009-11-19 Lgc Wireless, Inc. Method and system for performing onsite maintenance of wireless communication systems
US20100138815A1 (en) * 2008-11-28 2010-06-03 Red Hat, Inc. Implementing aspects with callbacks in virtual machines
WO2010128965A1 (en) * 2009-05-06 2010-11-11 Hewlett-Packard Devleopment Company, L.P. System and method for printing via virtual machines
US20110205593A1 (en) * 2005-05-20 2011-08-25 Shohhei Moroi Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US20140056607A1 (en) * 2012-08-23 2014-02-27 Konica Minolta, Inc. Image forming apparatus, image forming system, application installation method, and non-transitory computer-readable recording medium encoded with application installation program
US20140055801A1 (en) * 2012-08-23 2014-02-27 Konica Minolta, Inc. Image forming apparatus, application switching method, and non-transitory computer-readable recording medium encoded with application switching program
US20140196003A1 (en) * 2011-08-03 2014-07-10 Hitachi, Ltd. Image Processing Software Development Method, Image Processing Software Development Device, and Image Processing Software Development Program
US8854651B2 (en) 2005-03-31 2014-10-07 Ricoh Company, Ltd. Image forming apparatus, information processing method, and recording medium indicating a version of a function supported by the image forming apparatus
US20160044200A1 (en) * 2014-08-05 2016-02-11 Ricoh Company, Ltd. Device and information processing method
US20160065756A1 (en) * 2013-05-02 2016-03-03 Ryoji Araki Equipment unit, information processing terminal, information processing system, display control method, and program
US20170003918A1 (en) * 2010-02-10 2017-01-05 Sato Holdings Kabushiki Kaisha System and method for printer emulation on a computing device not being connected to the printer
US20170118370A1 (en) * 2015-10-23 2017-04-27 Fuji Xerox Co., Ltd. Image forming system
US10437539B2 (en) * 2017-01-04 2019-10-08 Konica Minolta, Inc. Image forming apparatus
US10855857B2 (en) 2018-09-27 2020-12-01 Ricoh Company, Ltd. Information processing system to register a service to a target device
US10911624B2 (en) 2018-11-30 2021-02-02 Ricoh Company, Ltd. Server, method of controlling data communication, and storage medium
US11095780B2 (en) 2018-11-29 2021-08-17 Ricoh Company, Ltd. Information processing apparatus for automatically determining a transmission destination of image data
US11153401B2 (en) 2018-09-28 2021-10-19 Ricoh Company, Ltd. Information processing system, information processing apparatus, and method of processing information
US11431874B2 (en) 2018-11-28 2022-08-30 Ricoh Company, Ltd. Information processing system to securely upload image data

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4612863B2 (en) 2005-05-18 2011-01-12 キヤノン株式会社 Image processing apparatus and control method and program thereof
JP4405939B2 (en) 2005-05-18 2010-01-27 キヤノン株式会社 Image processing apparatus, control method therefor, and image processing system
JP4969481B2 (en) 2008-02-21 2012-07-04 株式会社リコー Image forming apparatus, information processing method, and program
JP2008301484A (en) * 2008-05-19 2008-12-11 Canon Inc Structure of syndication data
JP4653243B2 (en) * 2010-03-19 2011-03-16 キヤノン株式会社 Image processing apparatus and control method and program thereof
CN104038535A (en) * 2010-12-22 2014-09-10 北京华夏未来信息技术有限公司 Method for improving user experience in virtual application environment and virtual application system
JP2013190950A (en) * 2012-03-13 2013-09-26 Ricoh Co Ltd Control device and start-up method
JP6295558B2 (en) 2013-09-13 2018-03-20 株式会社リコー Information processing apparatus, information processing system, information processing method, and information processing program
JP6022508B2 (en) 2014-07-08 2016-11-09 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming method, and image forming program
US9626282B2 (en) 2014-09-17 2017-04-18 Ricoh Company, Ltd. Data processing apparatus and data processing method
US9661171B2 (en) * 2014-12-09 2017-05-23 Ricoh Company, Ltd. Information processing system, information processing apparatus, and information processing method for providing application information
JP6447372B2 (en) * 2015-06-08 2019-01-09 富士電機株式会社 State transition device, control device, state transition method, control method, state transition program, and control program
JP2018028842A (en) 2016-08-19 2018-02-22 株式会社リコー Information processing apparatus, information processing method, and information processing program
JP6720795B2 (en) 2016-09-16 2020-07-08 株式会社リコー Equipment, information processing device, information processing system, information processing method, and program
JP6870311B2 (en) 2016-12-16 2021-05-12 株式会社リコー Information processing systems, equipment, information processing methods and programs
JP7119844B2 (en) 2018-03-05 2022-08-17 株式会社リコー Information processing system, information processing device, information processing method and program
CN109696299B (en) * 2018-12-13 2020-06-09 北京遥测技术研究所 Terahertz focal plane imaging system comprehensive research and development platform

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4853733A (en) * 1988-07-08 1989-08-01 Olympus Optical Company Limited Program rewritable camera
US5317757A (en) * 1992-02-06 1994-05-31 International Business Machines Corporation System and method for finite state machine processing using action vectors
US5610723A (en) * 1992-09-09 1997-03-11 Canon Kabushiki Kaisha Information signal processing apparatus
US6041175A (en) * 1994-04-20 2000-03-21 Canon Kabushiki Kaisha Display control method
US6285976B1 (en) * 1996-12-25 2001-09-04 Emultek Ltd. Device for implementing hierarchical state charts and methods and apparatus useful therefor
US6324302B1 (en) * 1997-05-30 2001-11-27 Ricoh Company, Ltd. Method and a system for substantially eliminating erroneously recognized non-solid lines
US20020066071A1 (en) * 1999-02-25 2002-05-30 Sing-Ban Robert Tien Local environment for integrated multiple-tier client-server concurrent program developement
US20020093699A1 (en) * 2000-09-28 2002-07-18 Nozomi Masao Information processing apparatus, image input apparatus, method of controlling image processing apparatus, method of controlling image input apparatus, image input system, and storage medium
US6430570B1 (en) * 1999-03-01 2002-08-06 Hewlett-Packard Company Java application manager for embedded device
US20020122203A1 (en) * 2001-03-02 2002-09-05 Hiroshi Matsuda Image processing device, information processing method, and control program
US20020144257A1 (en) * 2001-03-28 2002-10-03 Hiroyuki Matsushima Image formation system, software acquisition method, and computer product
US6493101B1 (en) * 1994-05-13 2002-12-10 Canon Kabushiki Kaisha Program management apparatus and method, and program product therefor
US20030214664A1 (en) * 2002-05-17 2003-11-20 John Moffatt Programmable printer function keys
US20040212826A1 (en) * 2003-01-16 2004-10-28 Canon Kabushiki Kaisha Document management system, document management method, and program for implementing the method
US6842898B1 (en) * 1999-06-10 2005-01-11 International Business Machines Corporation Method and apparatus for monitoring and handling events for a collection of related threads in a data processing system

Family Cites Families (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224976A (en) * 1992-02-10 1993-09-03 Nintendo Co Ltd Program development back-up device
JP3100463B2 (en) 1992-06-09 2000-10-16 株式会社フジクラ emulator
US5343275A (en) * 1992-09-02 1994-08-30 Xerox Corporation Job programming during machine quality adjust
EP0592079A2 (en) 1992-09-20 1994-04-13 Sun Microsystems, Inc. Automated software installation and operating environment configuration on a computer system
JP3187624B2 (en) * 1993-11-19 2001-07-11 京セラミタ株式会社 Updating the built-in program of a device with a communication function
US5457778A (en) * 1993-12-02 1995-10-10 Minnesota Mining And Manufacturing Company Imaging apparatus using reusable software architecture and method of providing software control for a plurality of imaging products
US5477264A (en) * 1994-03-29 1995-12-19 Eastman Kodak Company Electronic imaging system using a removable software-enhanced storage device
JPH0831687A (en) 1994-07-19 1996-02-02 Nec Corp Angular chip-form electronic parts
US5732266A (en) * 1994-09-02 1998-03-24 Compaq Computer Corporation Storage medium storing application programs and application initialization files and automatic launching of computer applications stored on the storage medium
JPH08212254A (en) 1995-01-31 1996-08-20 Mitsubishi Electric Corp Processing information management device
US6628325B1 (en) 1998-06-26 2003-09-30 Fotonation Holdings, Llc Camera network communication device
US5848274A (en) * 1996-02-29 1998-12-08 Supercede, Inc. Incremental byte code compilation system
FR2750518B1 (en) * 1996-07-01 1998-07-31 Bull Sa SECURE GRAPHIC INTERFACE LAUNCHER
JP3733673B2 (en) 1997-01-27 2006-01-11 セイコーエプソン株式会社 Network-compatible printing apparatus, printing method, and network printing system
TW405083B (en) 1997-11-06 2000-09-11 Ibm Asynchronous printing of WEB documents
US6360362B1 (en) 1998-02-20 2002-03-19 Intel Corporation Automatic update of camera firmware
JPH11338684A (en) 1998-05-27 1999-12-10 Toshiba Corp State transition movement system, its generating method and computer readable medium for recording the same system
WO1999063444A1 (en) 1998-06-03 1999-12-09 Sony Corporation Method and apparatus for information processing
JP2000305761A (en) * 1999-02-17 2000-11-02 Sony Corp Device and method for processing information and program storage medium
US6766311B1 (en) * 1999-11-09 2004-07-20 Worldcom, Inc. State transition system and method in interactive computer-based training
JP2001147815A (en) 1999-11-19 2001-05-29 Canon Inc Device and system for forming image
JP2001197340A (en) * 2000-01-12 2001-07-19 Ricoh Co Ltd Digital camera
JP4558879B2 (en) * 2000-02-15 2010-10-06 富士通株式会社 Data processing apparatus and processing system using table
DE10010504A1 (en) * 2000-03-07 2001-09-13 Grateach Forschungs Und Qualif Remote control device for computer has input control unit that sends control commands to computer, such that commands enable computer to return information that can be output to assigned printer
US7209249B2 (en) * 2000-07-05 2007-04-24 Ricoh Company, Ltd. Method of and apparatus for image formation, and computer product
JP2002082806A (en) 2000-07-05 2002-03-22 Ricoh Co Ltd Device and method for forming image and program
US7693961B2 (en) * 2000-06-30 2010-04-06 Sharp Kabushiki Kaisha Method and system for supplying programs
JP4136325B2 (en) 2000-08-31 2008-08-20 株式会社リコー Image forming system, software acquisition method, image forming apparatus, and computer-readable recording medium storing program for causing computer to execute the method
JP2002152446A (en) 2000-11-09 2002-05-24 Ricoh Co Ltd Composite equipment system and its menu display method and recording medium
JP2002214972A (en) * 2000-11-14 2002-07-31 Fuji Xerox Co Ltd Display device, display method and image forming device
JP2002312171A (en) 2001-04-09 2002-10-25 Matsushita Electric Ind Co Ltd Hardware-control software and development support system thereof
JP2003125146A (en) 2001-10-10 2003-04-25 Konica Corp Image forming device
US7554685B2 (en) 2002-07-26 2009-06-30 Ricoh Company, Ltd. Image forming apparatus, information processing apparatus, program execution method and program producing method

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4853733A (en) * 1988-07-08 1989-08-01 Olympus Optical Company Limited Program rewritable camera
US5317757A (en) * 1992-02-06 1994-05-31 International Business Machines Corporation System and method for finite state machine processing using action vectors
US5610723A (en) * 1992-09-09 1997-03-11 Canon Kabushiki Kaisha Information signal processing apparatus
US6041175A (en) * 1994-04-20 2000-03-21 Canon Kabushiki Kaisha Display control method
US6493101B1 (en) * 1994-05-13 2002-12-10 Canon Kabushiki Kaisha Program management apparatus and method, and program product therefor
US6285976B1 (en) * 1996-12-25 2001-09-04 Emultek Ltd. Device for implementing hierarchical state charts and methods and apparatus useful therefor
US6324302B1 (en) * 1997-05-30 2001-11-27 Ricoh Company, Ltd. Method and a system for substantially eliminating erroneously recognized non-solid lines
US20020066071A1 (en) * 1999-02-25 2002-05-30 Sing-Ban Robert Tien Local environment for integrated multiple-tier client-server concurrent program developement
US6430570B1 (en) * 1999-03-01 2002-08-06 Hewlett-Packard Company Java application manager for embedded device
US6842898B1 (en) * 1999-06-10 2005-01-11 International Business Machines Corporation Method and apparatus for monitoring and handling events for a collection of related threads in a data processing system
US20020093699A1 (en) * 2000-09-28 2002-07-18 Nozomi Masao Information processing apparatus, image input apparatus, method of controlling image processing apparatus, method of controlling image input apparatus, image input system, and storage medium
US20020122203A1 (en) * 2001-03-02 2002-09-05 Hiroshi Matsuda Image processing device, information processing method, and control program
US20020144257A1 (en) * 2001-03-28 2002-10-03 Hiroyuki Matsushima Image formation system, software acquisition method, and computer product
US7117493B2 (en) * 2001-03-28 2006-10-03 Ricoh Company, Ltd. Image formation system, software acquisition method, and computer product
US20030214664A1 (en) * 2002-05-17 2003-11-20 John Moffatt Programmable printer function keys
US20040212826A1 (en) * 2003-01-16 2004-10-28 Canon Kabushiki Kaisha Document management system, document management method, and program for implementing the method

Cited By (85)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030140174A1 (en) * 2002-01-08 2003-07-24 Tsutomu Ohishi Method for generating application for information processing apparatus and image forming apparatus
US7554685B2 (en) 2002-07-26 2009-06-30 Ricoh Company, Ltd. Image forming apparatus, information processing apparatus, program execution method and program producing method
US8797586B2 (en) 2002-09-13 2014-08-05 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US8441672B2 (en) 2002-09-13 2013-05-14 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US8107112B2 (en) 2002-09-13 2012-01-31 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US20040125414A1 (en) * 2002-09-13 2004-07-01 Tsutomu Ohishi Image forming apparatus and scanned data process method
US7633639B2 (en) * 2002-09-13 2009-12-15 Ricoh Company, Ltd. Compound machine for scanning and printing and a method thereof
US10944880B2 (en) 2002-09-13 2021-03-09 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US10530941B2 (en) 2002-09-13 2020-01-07 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US20100091338A1 (en) * 2002-09-13 2010-04-15 Tsutomu Ohishi Image forming apparatus and scanned data process method
US10044885B2 (en) 2002-09-13 2018-08-07 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US9715361B2 (en) 2002-09-13 2017-07-25 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US8885201B2 (en) 2002-09-13 2014-11-11 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US9405495B2 (en) 2002-09-13 2016-08-02 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US9131084B2 (en) 2002-09-13 2015-09-08 Ricoh Company, Ltd. Image forming apparatus and scanned data process method
US9164865B2 (en) 2004-02-17 2015-10-20 Ricoh Company, Ltd. Image processing apparatus, method, program, and computer readable recording medium for controlling operation switching and displaying at occurrence of error conditions
US20050226641A1 (en) * 2004-02-17 2005-10-13 Mitsuo Ando Image forming apparatus, terminal apparatus, information processing method, information processing program and computer readable recording medium
US8432562B2 (en) * 2004-02-17 2013-04-30 Ricoh Company, Ltd. Image processing apparatus, method, program, and computer readable recording medium for controlling operation switching and displaying at occurrence of error conditions
US20070240124A1 (en) * 2004-08-06 2007-10-11 Canon Kabusgiki Kaisha Image Processing Apparatus and Control Method Thereof
US8171463B2 (en) 2004-08-06 2012-05-01 Canon Kabushiki Kaisha Image processing apparatus and control method thereof
US20090178035A1 (en) * 2004-08-30 2009-07-09 International Business Machines Corporation Simplifying the deployment and serviceability of commercial software environments
US8286147B2 (en) * 2004-08-30 2012-10-09 International Business Machines Corporation Simplifying the deployment and serviceability of commercial software environments
US20120330640A1 (en) * 2004-08-30 2012-12-27 International Business Machines Corporation Simplifying the deployment and serviceability of commercial software environments
US8762965B2 (en) * 2004-08-30 2014-06-24 International Business Machines Corporation Simplifying the deployment and serviceability of commercial software environments
US20100309502A1 (en) * 2004-09-07 2010-12-09 Mitsuo Ando Application executing method, information processing apparatus, image forming apparatus, terminal equipment, information processing method and computer-readable storage medium
US7812978B2 (en) 2004-09-07 2010-10-12 Ricoh Company, Ltd. Application executing method, information processing apparatus, image forming apparatus, terminal equipment, information processing method and computer-readable storage medium
US8605298B2 (en) * 2004-09-07 2013-12-10 Ricoh Company, Ltd. Application executing method, information processing apparatus, image forming apparatus, terminal equipment, information processing method and computer-readable storage medium
US20060070087A1 (en) * 2004-09-07 2006-03-30 Mitsuo Ando Application executing method, information processing apparatus, image forming apparatus, terminal equipment, information processing method and computer-readable storage medium
US8392523B2 (en) 2004-10-18 2013-03-05 Ricoh Company, Ltd. Image forming apparatus for determining the availability of application program interfaces
US8621040B2 (en) 2004-10-18 2013-12-31 Ricoh Company, Ltd. Image forming apparatus for determining the availability of application program interfaces
US20060082801A1 (en) * 2004-10-18 2006-04-20 Tsutomu Ohishi Image forming apparatus, information processing method, information processing program and recording medium
US20060140658A1 (en) * 2004-10-21 2006-06-29 Koji Shimizu Image forming apparatus, install method, and computer readable recording medium where an install program is recorded
US8488135B2 (en) * 2005-03-14 2013-07-16 Ricoh Company, Ltd. Easy modification to method of controlling applications in image forming apparatus
US20060215201A1 (en) * 2005-03-14 2006-09-28 Koji Shimizu Easy modification to method of controlling applications in image forming apparatus
US8854651B2 (en) 2005-03-31 2014-10-07 Ricoh Company, Ltd. Image forming apparatus, information processing method, and recording medium indicating a version of a function supported by the image forming apparatus
US10296401B2 (en) 2005-03-31 2019-05-21 Ricoh Company, Ltd. Apparatus and method that determine whether the apparatus can execute an application program
US8570571B2 (en) * 2005-05-20 2013-10-29 Ricoh Company, Ltd. Image handling apparatus, image processing system, image process controlling method, and image process controlling program product possible to provide an interface capable of controlling special hardware mounted in the image forming apparatus
US9172831B2 (en) 2005-05-20 2015-10-27 Ricoh Company, Ltd. Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US8823992B2 (en) 2005-05-20 2014-09-02 Ricoh Company, Ltd. Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US9521286B2 (en) 2005-05-20 2016-12-13 Ricoh Company, Ltd. Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US10250761B2 (en) 2005-05-20 2019-04-02 Ricoh Company, Ltd. Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US10694051B2 (en) 2005-05-20 2020-06-23 Ricoh Company, Ltd. Image handling apparatus for inputting scan settings for a scanner
US20110205593A1 (en) * 2005-05-20 2011-08-25 Shohhei Moroi Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US8649028B2 (en) 2005-08-04 2014-02-11 Ricoh Company, Ltd. Image forming apparatus and method for establishing a connection with a USB device driver and application
US20070030495A1 (en) * 2005-08-04 2007-02-08 Tsutomu Ohishi Image forming apparatus, information processing method, information processing program and recording medium
US8819665B2 (en) 2005-08-26 2014-08-26 Ricoh Company, Ltd. Image forming apparatus, information processing method, and recording medium
US8522229B2 (en) * 2005-08-26 2013-08-27 Ricoh Company, Ltd. Image forming apparatus, information processing method, and recording medium for directly update a module of the image forming apparatus without changing other modules
US20070047017A1 (en) * 2005-08-26 2007-03-01 Mitsuo Ando Image forming apparatus, information processing method, and recording medium
US9141374B2 (en) 2005-09-16 2015-09-22 Ricoh Company, Ltd. Image forming device, information processing method, information processing program, and recording medium
US20070124510A1 (en) * 2005-09-16 2007-05-31 Mitsuo Ando Image forming device, information processing method, information processing program, and recording medium
US20100169286A1 (en) * 2005-09-30 2010-07-01 Keith Hackworth Methods, Systems, and Products for Updating Web Content
US20070076241A1 (en) * 2005-09-30 2007-04-05 Brother Kogyo Kabushiki Kaisha Multi function peripheral
US7698321B2 (en) 2005-09-30 2010-04-13 At&T Intellectual Property I, L.P. Methods, systems, and products for updating web content
US20070078810A1 (en) * 2005-09-30 2007-04-05 Keith Hackworth Methods, systems, and products for updating web content
US8117171B2 (en) 2005-09-30 2012-02-14 At&T Intellectual Property I, L.P. Methods, systems, and products for updating web content
US8089649B2 (en) * 2005-09-30 2012-01-03 Brother Kogyo Kabushiki Kaisha Multi function peripheral
US20090150873A1 (en) * 2005-12-14 2009-06-11 Canon Kabushiki Kaisha Information processing apparatus and method
US20070297666A1 (en) * 2006-06-22 2007-12-27 Sachiko Takeuchi Information processing apparatus, service providing method, and service providing program product
US20080263538A1 (en) * 2007-04-19 2008-10-23 Konica Minolta Business Technologies, Inc. Image forming apparatus, program updating system, and program updating program
US8250564B2 (en) * 2007-04-19 2012-08-21 Konica Minolta Business Technologies, Inc. Image forming apparatus, program updating system, program updating program
US20080271060A1 (en) * 2007-04-27 2008-10-30 Kunihiro Akiyoshi Image forming device, information processing method, and information processing program
US9645863B2 (en) 2007-04-27 2017-05-09 Ricoh Company, Ltd. Image forming device, information processing method, and information processing program
US8448193B2 (en) * 2007-04-27 2013-05-21 Ricoh Company, Ltd. Image forming device, information processing method, and information processing program
US20090286484A1 (en) * 2008-05-19 2009-11-19 Lgc Wireless, Inc. Method and system for performing onsite maintenance of wireless communication systems
US9910688B2 (en) * 2008-11-28 2018-03-06 Red Hat, Inc. Implementing aspects with callbacks in virtual machines
US20100138815A1 (en) * 2008-11-28 2010-06-03 Red Hat, Inc. Implementing aspects with callbacks in virtual machines
WO2010128965A1 (en) * 2009-05-06 2010-11-11 Hewlett-Packard Devleopment Company, L.P. System and method for printing via virtual machines
US20170003918A1 (en) * 2010-02-10 2017-01-05 Sato Holdings Kabushiki Kaisha System and method for printer emulation on a computing device not being connected to the printer
US20140196003A1 (en) * 2011-08-03 2014-07-10 Hitachi, Ltd. Image Processing Software Development Method, Image Processing Software Development Device, and Image Processing Software Development Program
US9195435B2 (en) * 2011-08-03 2015-11-24 Hitachi, Ltd. Image processing software development method, image processing software development device, and image processing software development program
US20140056607A1 (en) * 2012-08-23 2014-02-27 Konica Minolta, Inc. Image forming apparatus, image forming system, application installation method, and non-transitory computer-readable recording medium encoded with application installation program
US20140055801A1 (en) * 2012-08-23 2014-02-27 Konica Minolta, Inc. Image forming apparatus, application switching method, and non-transitory computer-readable recording medium encoded with application switching program
US8873077B2 (en) * 2012-08-23 2014-10-28 Konica Minolta, Inc. Image forming apparatus, application switching method, and non-transitory computer-readable recording medium encoded with application switching program
US9207605B2 (en) * 2012-08-23 2015-12-08 Konica Minolta, Inc. Image forming apparatus, image forming system, application installation method, and non-transitory computer-readable recording medium encoded with application installation program
US20160065756A1 (en) * 2013-05-02 2016-03-03 Ryoji Araki Equipment unit, information processing terminal, information processing system, display control method, and program
US20160044200A1 (en) * 2014-08-05 2016-02-11 Ricoh Company, Ltd. Device and information processing method
US9813578B2 (en) * 2014-08-05 2017-11-07 Ricoh Company, Ltd. Device and information processing method in which a received program causes a device to execute image processing
US9948816B2 (en) * 2015-10-23 2018-04-17 Fuji Xerox Co., Ltd. Mitigating degradation of a memory in an image forming system
US20170118370A1 (en) * 2015-10-23 2017-04-27 Fuji Xerox Co., Ltd. Image forming system
US10437539B2 (en) * 2017-01-04 2019-10-08 Konica Minolta, Inc. Image forming apparatus
US10855857B2 (en) 2018-09-27 2020-12-01 Ricoh Company, Ltd. Information processing system to register a service to a target device
US11153401B2 (en) 2018-09-28 2021-10-19 Ricoh Company, Ltd. Information processing system, information processing apparatus, and method of processing information
US11431874B2 (en) 2018-11-28 2022-08-30 Ricoh Company, Ltd. Information processing system to securely upload image data
US11095780B2 (en) 2018-11-29 2021-08-17 Ricoh Company, Ltd. Information processing apparatus for automatically determining a transmission destination of image data
US10911624B2 (en) 2018-11-30 2021-02-02 Ricoh Company, Ltd. Server, method of controlling data communication, and storage medium

Also Published As

Publication number Publication date
EP1385089A2 (en) 2004-01-28
CN1495602A (en) 2004-05-12
EP1385089A3 (en) 2007-01-24
US7554685B2 (en) 2009-06-30
CN1273888C (en) 2006-09-06

Similar Documents

Publication Publication Date Title
US7554685B2 (en) Image forming apparatus, information processing apparatus, program execution method and program producing method
US7533381B2 (en) Image forming apparatus and method for operating image forming apparatus by using remote application
US8767244B2 (en) Image forming apparatus, information processing apparatus, information processing method, information processing program and storage medium
US8094330B2 (en) Image forming apparatus that can launch external applications selectively after shipment of the apparatus
EP1398948B1 (en) Image forming apparatus, methods used therein and a computer readable storage medium
US8392523B2 (en) Image forming apparatus for determining the availability of application program interfaces
US20090119553A1 (en) Information processing device and image processing apparatus
JP2004185595A (en) Information processor and program therefor
JP4344203B2 (en) Image forming apparatus and information display method
US20110093813A1 (en) Image forming apparatus and program controlling method
JP4198551B2 (en) Image forming apparatus and program execution method
JP2004185593A (en) Image forming apparatus and application execution method
CN109660688B (en) Information processing apparatus and control method thereof
JP2004054791A (en) Image forming apparatus, application installation method, and customized program generating method
US20030133136A1 (en) Method for generating and launching application for information processing apparatus and image forming apparatus
JP4523991B2 (en) Terminal device, method, system, and program
US20030140174A1 (en) Method for generating application for information processing apparatus and image forming apparatus
JP4542180B2 (en) Image forming apparatus, program, and recording medium
JP4133085B2 (en) Image forming apparatus and customized program test method
JP4500333B2 (en) Image information processing apparatus, installation method, program, and recording medium
CN100535861C (en) Imaging device
JP2010218469A (en) Information processor, information processing method, program and recording medium
JP4405132B2 (en) Terminal emulator for image information processing apparatus and terminal application for image information processing apparatus
JP5847492B2 (en) Image forming apparatus, system, test method, and program
JP2003263321A (en) Image forming device application generation method, image forming device application starting method, image forming device application generation program, image forming device, and image forming device application development recording medium

Legal Events

Date Code Title Description
AS Assignment

Owner name: RICOH COMPANY, LTD., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:AKIYOSHI, KUNIHIRO;OHISHI, TSUTOMU;SUGIURA, YUUKO;AND OTHERS;REEL/FRAME:015466/0470;SIGNING DATES FROM 20030806 TO 20030811

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
FEPP Fee payment procedure

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12