Control device, control program and control method
The control device manages peripheral device sharing among terminals, reducing costs by allowing efficient use and reducing the number of devices required per terminal.
Patent Information
- Application Number
- JP2023067611
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-10-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing method of connecting terminals and peripheral devices on a one-to-one basis requires multiple devices for each terminal, increasing installation costs and resource inefficiency.
A control device with a processing unit that manages the sharing of peripheral devices among multiple terminals, allowing devices to be occupied and used by one terminal at a time while notifying others of the status, and facilitating efficient device sharing.
Facilitates the sharing of peripheral devices among terminals, reducing the need for multiple devices per terminal and lowering installation costs.
Smart Images

Figure 2024154028000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device, a control program, and a control method. [Background technology]
[0002] Peripheral devices may be connected to a computer operated by a user. For example, a bank terminal used at a bank branch may be connected to a passbook slip printer, an overhead reader (OHR), etc.
[0003] As a technology for connecting peripheral devices, for example, a counter terminal system that can reduce the burden on the operator of the operation terminal has been proposed, and a shared printer system that reduces the number of terminal devices and printer devices installed at the desks of counter staff and reduces the labor required for their maintenance. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2015-215665 A [Patent Document 2] JP 2020-101852 A Summary of the Invention [Problem to be solved by the invention]
[0005] When a terminal and a peripheral device are connected on a one-to-one basis, the number of peripheral devices must be equal to the number of terminals, which increases the cost of installing the peripheral devices. Therefore, it is preferable that a plurality of terminals can share a peripheral device.
[0006] In one aspect, the present invention aims to facilitate sharing of peripheral devices. [Means for solving the problem]
[0007] In one proposal, a control device is provided that has a processing unit that, upon receiving a request to occupy a device from a first terminal among a plurality of terminals, causes the first terminal to occupy the device and set it to be available for use, and notifies each of the plurality of terminals of the occupancy status of the device. Effect of the Invention
[0008] According to one aspect, sharing of peripheral devices can be facilitated. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 illustrates an example of an information processing system according to a first embodiment. [Diagram 2] FIG. 13 illustrates an example of an information processing system according to a second embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a terminal. [Figure 4] FIG. 2 is a block diagram showing an example of functions of the terminal; [Diagram 5] FIG. 13 illustrates an example of an occupied queue. [Figure 6] FIG. 4 is a diagram showing an example of a display screen. [Figure 7] 11 is a diagram illustrating an example of device occupancy control processing at the time of login and occupancy request. FIG. [Figure 8] 11 is a diagram illustrating an example of device occupancy control processing when a plurality of terminals are logged in; [Figure 9] FIG. 11 is a diagram illustrating an example of device occupancy control processing when an exclusive reservation is made. [Figure 10] 11 is a diagram illustrating an example of device occupancy control processing when an occupancy release request is made. [Figure 11] FIG. 11 is a diagram (part 1) showing an example of a transition of a display showing an occupancy status. [Figure 12] FIG. 2 is a diagram (part 2) showing an example of a transition of the display showing the occupancy status. [Figure 13] FIG. 11 is a diagram (part 3) showing an example of a transition of the display showing the occupancy status. [Figure 14] 13 is a flowchart illustrating an example of a login process procedure. [Figure 15] 13 is a flowchart showing an example of a procedure for processing at the time of an occupancy request; [Figure 16] 13 is a flowchart showing an example of a procedure for processing when an exclusive release request is made; [Figure 17] 13 is a flowchart showing an example of a procedure for processing when an abnormality occurs. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the present embodiment will be described with reference to the drawings. Note that each embodiment can be implemented in combination with a plurality of other embodiments as long as no contradiction occurs. First Embodiment First, the first embodiment will be described.
[0011] 1 is a diagram showing an example of an information processing system according to a first embodiment. In the first embodiment, terminals 1a, 1b, . . . share devices. The information processing system according to the first embodiment includes terminals 1a, 1b, and a control device 10. The terminals 1a, 1b, and are computers operated by users. For example, the terminals 1a, 1b, and are PCs (Personal Computers) operated by users.
[0012] The control device 10 is a computer that controls the use of devices by the terminals 1a, 1b,... The control device 10 is connected to the connected devices 2a, 2b,... The connected devices 2a, 2b,... are peripheral devices that operate according to instructions from a computer. The connected devices 2a, 2b,... are, for example, a passbook slip printer, a cash machine, an OHR, a card reader, a biometric authentication device, etc. The connected devices 2a, 2b,... may be different types of peripheral devices, or may include the same type of peripheral devices. The control device 10 may be included in the terminals 1a, 1b,... that share the connected devices 2a, 2b,...
[0013] The control device 10 has a processing unit 11. The processing unit 11 can control the control device 10 and execute required processing. The processing unit 11 is, for example, a processor or an arithmetic circuit included in the control device 10. When the processing unit 11 receives an occupancy request for one of the connected devices 2a, 2b, from a first terminal among the terminals 1a, 1b, . . ., the processing unit 11 sets the device so that the first terminal can occupy and use the device. When the first terminal is set to occupy and use the device, the processing unit 11 transmits the command to the device when it receives a command to the device from the first terminal. When the first terminal is set to occupy and use the device, the processing unit 11 does not transmit the command to the device when it receives a command to the device from a terminal other than the first terminal among the terminals 1a, 1b, . . . Then, the processing unit 11 notifies the terminals 1a, 1b, . . . of the occupancy status of each of the connected devices 2a, 2b, . . .
[0014] For example, when the processing unit 11 receives an occupancy request for the connected device 2a from the terminal 1a, it sets the connected device 2a so that the terminal 1a can occupy and use the connected device 2a. Then, the processing unit 11 notifies the terminal 1a that the connected device 2a can be occupy and used. The processing unit 11 also notifies the terminals 1b,... that the connected device 2a is being used by another terminal in an occupying manner. The processing unit 11 also notifies the terminals 1a, 1b,... that the connected devices 2b,... are not being used in an occupying manner.
[0015] Here, when the processing unit 11 receives an occupancy request from a second terminal other than the first terminal among the terminals 1a, 1b, ... while the first terminal is occupying and using the equipment, the processing unit 11 sets the equipment to be reserved for occupancy by the second terminal. When the occupancy of the equipment by the first terminal is released, the processing unit 11 sets the equipment to be occupyable and usable by the second terminal. Then, the processing unit 11 notifies each of the terminals 1a, 1b, ... of the occupancy status of the equipment.
[0016] For example, when the processing unit 11 receives an occupancy request from terminal 1b while terminal 1a is occupying and using connected device 2a, it sets connected device 2a to reserved for occupancy by terminal 1b. When terminal 1a releases the occupancy of the device, the processing unit 11 sets the device so that terminal 1b can occupy and use it. Then, the processing unit 11 notifies terminal 1b that connected device 2a can be occupied and used. The processing unit 11 also notifies terminal 1a that connected device 2a is being occupied and used by another terminal.
[0017] According to the first embodiment, when the processing unit 11 of the control device 10 receives a request to occupy a device from a first terminal among the terminals 1a, 1b, ..., the first terminal occupies the device and sets it to be available for use, and notifies each of the terminals 1a, 1b, ... of the device occupancy status. This allows the control device 10 to set the terminals 1a, 1b, ... to take turns using the device. Thus, the control device 10 can facilitate sharing of peripheral devices.
[0018] Furthermore, when the processing unit 11 receives an occupancy request from a second terminal other than the first terminal among the terminals 1a, 1b, ... while the first terminal is occupying and using the equipment, the processing unit 11 sets the equipment to be reserved for occupancy by the second terminal. When the occupancy of the equipment by the first terminal is released, the processing unit 11 sets the equipment to be occupyable and usable by the second terminal. Then, the processing unit 11 notifies each of the terminals 1a, 1b, ... of the occupancy status of the equipment. This allows the control device 10 to efficiently switch the terminal using the equipment.
[0019] Furthermore, when the processing unit 11 receives from the first terminal a request to occupy one of the connected devices 2a, 2b, ... connected to the control device 10, the first terminal occupies the device and sets it to be available for use. Then, the processing unit 11 notifies each of the terminals 1a, 1b, ... of the occupancy status of each of the connected devices 2a, 2b, .... This enables the control device 10 to easily share a plurality of devices.
[0020] When the processing unit 11 detects an abnormality in the device, it may release the first terminal from occupying the device and notify the terminals 1a, 1b, ... that the device cannot be used. This allows the control device 10 to prevent the device from being used when an abnormality occurs.
[0021] Furthermore, when the device recovers from an abnormality, the processing unit 11 may set the device so that the first terminal occupies it and makes it available for use, and may notify each of the terminals 1a, 1b, ... of the occupation status of the device. This allows the control device 10 to efficiently allow the terminals to use the device that has recovered from an abnormality.
[0022] Second Embodiment Next, a second embodiment will be described below. In the second embodiment, devices used in banking operations are shared among terminals operated by employees at bank branches.
[0023] 2 is a diagram showing an example of an information processing system according to the second embodiment. The information processing system according to the second embodiment has terminals 100, 200-1, 200-2, etc. The terminals 100, 200-1, 200-2, etc. are PCs operated by employees of a bank branch. The terminals 100, 200-1, 200-2, etc. are connected to a network 30. The network 30 is, for example, a LAN (Local Area Network) of the bank branch.
[0024] Connected to the terminal 100 are a passbook slip printer 21, a cash machine 22, an OHR 23, a card reader 24, and a biometric authentication device 25. The passbook slip printer 21 is a device that prints on passbooks and slips. The cash machine 22 is a device that stores cash and dispenses stored cash. The OHR 23 is a device that uses a camera to read paper placed in a predetermined position from above. The card reader 24 is a device that reads information from a cash card. The biometric authentication device 25 is a device that reads biometric information for biometric authentication.
[0025] In response to requests from applications in terminal 100 and terminals 200-1, 200-2, ..., terminal 100 occupies and sets up the passbook slip printer 21, cash machine 22, OHR 23, card reader 24 and biometric authentication device 25 so that each terminal can use them. When terminal 100 receives an occupancy request for any of the passbook slip printer 21, cash machine 22, OHR 23, card reader 24 and biometric authentication device 25, the terminal that sent the occupancy request occupies the device and sets it so that it can be used. When terminal 100 receives an occupancy request for a device that is being occupied and used by any terminal, it sets the device to be reserved for occupancy by the terminal that sent the occupancy request.
[0026] When the terminal 100 receives an exclusive release request for any device, it releases the exclusive use of the device by the terminal that sent the exclusive release request. If there is a terminal that has reserved exclusive use of the device, the terminal 100 sets the device so that the terminal can occupy and use the device.
[0027] Furthermore, the terminal 100 notifies the application in the terminal 100 and the terminals 200-1, 200-2, ... of the occupancy status of each of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25. When the terminals 100, 200-1, 200-2, ... are notified of the occupancy status of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 from the terminal 100, they display icons indicating the occupancy status of each device on the screen.
[0028] 3 is a diagram showing an example of a hardware configuration of a terminal. The entire terminal 100 is controlled by a processor 101. A memory 102 and a plurality of peripheral devices are connected to the processor 101 via a bus 114. The processor 101 may be a multiprocessor. The processor 101 is, for example, a central processing unit (CPU), a micro processing unit (MPU), or a digital signal processor (DSP). At least a part of the functions realized by the processor 101 executing a program may be realized by an electronic circuit such as an application specific integrated circuit (ASIC) or a programmable logic device (PLD).
[0029] The memory 102 is used as a main storage device of the terminal 100. The memory 102 temporarily stores at least a part of the OS (Operating System) program and application programs to be executed by the processor 101. The memory 102 also stores various data used for processing by the processor 101. As the memory 102, for example, a volatile semiconductor storage device such as a RAM (Random Access Memory) is used.
[0030] The peripheral devices connected to the bus 114 include a storage device 103, a GPU (Graphics Processing Unit) 104, an input interface 105, and an optical drive device 106. The peripheral devices connected to the bus 114 also include device connection interfaces 107, 109, 110, 111, 112, and 113, and a network interface 108.
[0031] The storage device 103 electrically or magnetically writes and reads data to and from a built-in recording medium. The storage device 103 is used as an auxiliary storage device for a computer. The storage device 103 stores an OS program, application programs, and various data. Note that, for example, a hard disk drive (HDD) or a solid state drive (SSD) can be used as the storage device 103.
[0032] The GPU 104 is connected to a monitor 31. The GPU 104 displays an image on the screen of the monitor 31 in accordance with an instruction from the processor 101. The monitor 31 may be a display device using an organic EL (Electro Luminescence) display device, a liquid crystal display device, or the like.
[0033] The input interface 105 is connected to the keyboard 32 and the mouse 33. The input interface 105 transmits signals sent from the keyboard 32 and the mouse 33 to the processor 101. Note that the mouse 33 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, a trackball, etc.
[0034] The optical drive device 106 uses a laser beam or the like to read data recorded on the optical disc 34. The optical disc 34 is a portable recording medium on which data is recorded so that it can be read by reflection of light. The optical disc 34 includes a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), etc.
[0035] The device connection interface 107 is a communication interface for connecting peripheral devices to the terminal 100. For example, a memory device 35 or a memory reader / writer 36 can be connected to the device connection interface 107. The memory device 35 is a recording medium equipped with a communication function with the device connection interface 107. The memory reader / writer 36 is a device that writes data to the memory card 37 or reads data from the memory card 37. The memory card 37 is a card-type recording medium.
[0036] The network interface 108 is connected to the network 30. The network interface 108 transmits and receives data via the network 30 to and from other computers or communication devices.
[0037] A passbook slip printer 21 is connected to the device connection interface 109. For example, the passbook slip printer 21 is connected via a Universal Serial Bus (USB) to the device connection interface 109. The passbook slip printer 21 prints characters and figures on a passbook or slip according to instructions from the processor 101.
[0038] The cash machine 22 is connected to the device connection interface 110. For example, the cash machine 22 is connected to the device connection interface 110 via a LAN. The cash machine 22 accepts receipt of cash in accordance with an instruction from the processor 101. The cash machine 22 also dispenses the stored cash in accordance with an instruction from the processor 101.
[0039] The OHR 23 is connected to the device connection interface 111. For example, the OHR 23 is USB-connected to the device connection interface 111. The OHR 23 reads a paper sheet placed at a predetermined position from above with a camera and transmits the read data to the processor 101.
[0040] The card reader 24 is connected to the device connection interface 112. For example, the card reader 24 is USB-connected to the device connection interface 112. The card reader 24 reads information from a cash card and transmits the read data to the processor 101.
[0041] The biometric authentication device 25 is connected to the device connection interface 113. For example, the biometric authentication device 25 is USB-connected to the device connection interface 113. The biometric authentication device 25 reads biometric information such as a fingerprint, an iris, or veins, and transmits the read biometric information to the processor 101.
[0042] The terminal 100 can realize the processing function of the second embodiment by the above hardware configuration. The control device 10 shown in the first embodiment can also be realized by the same hardware as the terminal 100 shown in FIG. 3. The terminals 200-1, 200-2, ... can also be realized by the same hardware as the terminal 100. The terminals 200-1, 200-2, ... do not need to have a device connection interface such as the device connection interfaces 109 to 113. The processor 101 is an example of the processing unit 11 shown in the first embodiment.
[0043] The terminal 100 realizes the processing function of the second embodiment by executing a program recorded in a computer-readable recording medium, for example. The program describing the processing contents to be executed by the terminal 100 can be recorded in various recording media. For example, the program to be executed by the terminal 100 can be stored in the storage device 103. The processor 101 loads at least a part of the program in the storage device 103 into the memory 102 and executes the program. The program to be executed by the terminal 100 can also be recorded in a portable recording medium such as the optical disk 34, the memory device 35, or the memory card 37. The program stored in the portable recording medium becomes executable after being installed in the storage device 103 under the control of the processor 101, for example. The processor 101 can also read and execute the program directly from the portable recording medium. Next, the functions of the terminal 100 will be described in detail.
[0044] 4 is a block diagram showing an example of the functions of the terminal 100. The terminal 100 has an application 120, an I (Input) / O (Output) control unit 130, and drivers 141, 142, 143, 144, and 145. The application 120 manages the use of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 by the terminal 100.
[0045] The application 120 transmits an occupancy request for the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 to the I / O control unit 130. The application 120 also transmits an occupancy release request for the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 to the I / O control unit 130. The application 120 also displays the occupancy status of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 notified by the I / O control unit 130. The terminals 200-1, 200-2, ... have an application similar to the application 120.
[0046] The I / O control unit 130 sets the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 so that they can be used exclusively by the terminals 100, 200-1, 200-2, .... The driver 141 is a driver for controlling the passbook slip printer 21. The driver 142 is a driver for controlling the cash machine 22. The driver 143 is a driver for controlling the OHR 23. The driver 144 is a driver for controlling the card reader 24. The driver 145 is a driver for controlling the biometric authentication device 25.
[0047] The I / O control unit 130 has a storage unit 131, a user management unit 132, and an occupancy control unit 133. The storage unit 131 is realized by using a storage area of the memory 102 or the storage device 103. The user management unit 132 and the occupancy control unit 133 are realized by the processor 101 executing a program stored in the memory 102.
[0048] The memory unit 131 stores the occupancy queue 131a. The occupancy queue 131a is a queue that indicates the order in which occupancy requests are sent from each terminal. The user management unit 132 communicates with the application 120 and the terminals 200-1, 200-2, .... The user management unit 132 accepts login requests from the terminals 100, 200-1, 200-2, .... In response to the login request, the user management unit 132 notifies the login terminal of the respective states of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 identified by the occupancy control unit 133.
[0049] Furthermore, the user management unit 132 accepts login requests, occupancy requests, and occupancy release requests from the terminals 100, 200-1, 200-2, .... In response to the occupancy requests and occupancy release requests, the user management unit 132 notifies the terminals 100, 200-1, 200-2, ... of the occupancy status of the device changed by the occupancy control unit 133. Furthermore, when an abnormality occurs in the device, the user management unit 132 notifies the terminals 100, 200-1, 200-2, ... of the occupancy status changed by the occupancy control unit 133.
[0050] The occupancy control unit 133 checks the settings and occupancy status of devices by the terminals 100, 200-1, 200-2, etc. in response to a login request, an occupancy request, or an occupancy release request. When the user management unit 132 receives a login request, the occupancy control unit 133 checks the status of each of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25. For example, the occupancy control unit 133 causes the drivers 141 to 145 to check whether the devices they control are connected.
[0051] When the user management unit 132 receives an occupancy request, the occupancy control unit 133 adds a record corresponding to the occupancy request to the occupancy queue 131a. Then, the occupancy control unit 133 judges whether or not the device targeted by the occupancy request is occupied by a terminal other than the terminal that transmitted the occupancy request. For example, when a record corresponding to a terminal other than the terminal that transmitted the occupancy request and the device targeted by the occupancy request is registered in the occupancy queue 131a, the occupancy control unit 133 judges that the device targeted by the occupancy request is occupied by a terminal other than the terminal that transmitted the occupancy request.
[0052] When the device targeted by the exclusive use request is not occupied by a terminal other than the terminal that transmitted the exclusive use request, the exclusive use control unit 133 sets the device targeted by the exclusive use request to be occupied by the terminal that transmitted the exclusive use request. When the device targeted by the exclusive use request is occupied by a terminal other than the terminal that transmitted the exclusive use request, the exclusive use control unit 133 sets the device targeted by the exclusive use request to be reserved for exclusive use by the terminal that transmitted the exclusive use request.
[0053] When the user management unit 132 receives an exclusive release request, the exclusive use control unit 133 releases the exclusive use of the device that is the target of the exclusive use release request by the terminal that sent the exclusive use release request. The exclusive use control unit 133 deletes the records corresponding to the terminal that sent the exclusive use release request and the device that is the target of the exclusive use release request from the exclusive use queue 131a.
[0054] Then, the occupancy control unit 133 refers to the occupancy queue 131a and judges whether or not there is a terminal that has reserved the device that is the target of the occupancy release request. If it is judged that there is a terminal that has reserved the device that is the target of the occupancy release request, the occupancy control unit 133 sets the device that is the target of the occupancy release request to be occupied by the terminal that reserved it earliest.
[0055] The occupancy control unit 133 also detects the occurrence of an abnormality in the device. For example, when an abnormality in the device being controlled is notified from any of the drivers 141 to 145, the occupancy control unit 133 determines that an abnormality has occurred in the device. The occupancy control unit 133 releases the occupation of the device in which the abnormality has been detected by the terminal. Then, when the device recovers from the abnormality, the occupancy control unit 133 sets the original occupancy terminal that occupied the device in which the abnormality was detected at the time of the abnormality to occupy the recovered device.
[0056] 4 show only a part of the communication paths, and it is possible to set communication paths other than those shown in the figure. Next, the occupation queue 131a stored in the storage unit 131 will be described in detail.
[0057] 5 is a diagram showing an example of an occupation queue. The occupation queue 131a is a queue indicating the order of transmission of the occupation requests of each terminal. The records of the occupation queue 131a have items of user and occupation device. In the user item, information indicating the terminal that transmitted the occupation request is registered. In the occupation device item, information indicating the target device to be used by occupation is registered. Note that in the occupation queue 131a, the record corresponding to the occupation request transmitted earlier is registered at the top. Next, a description will be given of the screen displayed by the application 120.
[0058] FIG. 6 is a diagram showing an example of a display screen. The application 120 displays a screen 41. The screen 41 is a screen for displaying the occupancy status of each device and accepting the selection of a device as a target for an occupancy request and an occupancy release request. The screen 41 includes a "passbook slip printer" icon indicating the occupancy status of the passbook slip printer 21. The screen 41 also includes a "cash machine" icon indicating the occupancy status of the cash machine 22. The screen 41 also includes an "OHR" icon indicating the occupancy status of the OHR 23. The screen 41 also includes a "card" icon indicating the occupancy status of the card reader 24. The screen 41 also includes a "biometrics" icon indicating the occupancy status of the biometric authentication device 25.
[0059] Each icon included in screen 41 is displayed with a pattern indicating available, unavailable, not connected, occupied, reserved for exclusive use, or occupied by another terminal. Each icon may be displayed in a color according to the occupancy status. Available indicates that the device corresponding to the icon is occupied and not being used. Unavailable indicates that an abnormality has occurred in the device corresponding to the icon. Not connected indicates that the device corresponding to the icon is not connected or application 120 has not logged in to I / O control unit 130. Occupied indicates that terminal 100 is using the device corresponding to the icon in an exclusive manner. Reserved for exclusive use indicates that terminal 100 has reserved the device corresponding to the icon in an exclusive manner. Occupied by another terminal indicates that a terminal other than terminal 100 is using the device corresponding to the icon in an exclusive manner.
[0060] In response to a pressing operation on an icon included in screen 41, application 120 transmits to I / O control unit 130 an occupancy request or an occupancy release request for a device corresponding to the pressed icon. In response to a pressing operation on an icon corresponding to a device that is occupied and not used by terminal 100, application 120 transmits to I / O control unit 130 an occupancy request for a device corresponding to the pressed icon. In addition, in response to a pressing operation on an icon corresponding to a device that is occupied and used by terminal 100, application 120 transmits to I / O control unit 130 an occupancy release request for a device corresponding to the pressed icon. Next, a control process by I / O control unit 130 will be described.
[0061] 7 is a diagram showing an example of device occupancy control processing at the time of login and occupancy request. When the I / O control unit 130 receives a device occupancy request at the time of login of the application 120, it sets the device so that the terminal 100 can occupy and use the device. Note that the following describes the occupancy control processing of the passbook slip printer 21 by the I / O control unit 130.
[0062] First, the application 120 logs in to the I / O control unit 130 and transmits an occupancy request for the passbook slip printer 21 to the I / O control unit 130 (step S11). For example, the application 120 transmits a login request and an occupancy request for the passbook slip printer 21 to the I / O control unit 130 by HTTP (Hypertext Transfer Protocol). Note that communication between the application 120 and the I / O control unit 130 may be performed by Websocket or the like. The user management unit 132 of the I / O control unit 130 notifies the occupancy control unit 133 that the terminal 100 has logged in and requested occupancy (step S12).
[0063] In response to the occupancy request, the occupancy control unit 133 adds to the occupancy queue 131a a record corresponding to the occupancy request by the terminal 100 for the passbook slip printer 21. For example, the occupancy control unit 133 adds to the occupancy queue 131a a record in which "Terminal A" indicating the terminal 100 is registered in the user field and "PassPrint" indicating the passbook slip printer 21 is registered in the occupied device field. Here, since no record corresponding to an occupancy request by a terminal other than the terminal 100 for the passbook slip printer 21 is registered in the occupancy queue 131a, the occupancy control unit 133 sets the passbook slip printer 21 to be occupyable by the terminal 100 and usable.
[0064] In addition, the occupancy control unit 133 checks the status of each of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 in response to the login (step S13). For example, the occupancy control unit 133 causes the driver 141 to check whether or not the passbook slip printer 21 is connected. Furthermore, the occupancy control unit 133 determines that the terminal 100 is occupying the passbook slip printer 21 because the record corresponding to the terminal 100 is registered at the top of the records corresponding to the passbook slip printer 21 registered in the occupancy queue 131a.
[0065] Then, the occupancy control unit 133 notifies the user management unit 132 that the terminal 100 is occupying the passbook slip printer 21 (step S14). The user management unit 132 notifies the application 120 that the terminal 100 is occupying the passbook slip printer 21 (step S15). In response to the notification from the I / O control unit 130, the application 120 transitions the display of icons on the screen 41 (step S16). Here, the application 120 changes the "passbook" icon on the screen 41, which indicates the occupancy status of the passbook slip printer 21, from a display indicating not connected to a display indicating occupied.
[0066] In this way, the I / O control unit 130 sets the terminal 100 to occupy the passbook slip printer 21 and make it available for use in response to an occupancy request from the application 120, and notifies the application 120 that the terminal 100 is occupying the passbook slip printer 21. The application 120 can then notify the user of the terminal 100 that the passbook slip printer 21 is available for use by displaying a message indicating that the terminal 100 is occupying the passbook slip printer 21. Next, a control process when a terminal other than the terminal 100 logs in will be described.
[0067] Fig. 8 is a diagram showing an example of device occupancy control processing when multiple terminals are logged in. Terminal 200-1 has application 220. Application 220 has the same functions as application 120. In the example of Fig. 8, a case will be described in which terminal 200-1 logs in when terminal 100 occupies and can use passbook slip printer 21.
[0068] First, the application 220 logs in to the I / O control unit 130 (step S21). For example, the application 220 transmits a login request to the I / O control unit 130 via the network 30 using HTTP. Note that communication between the application 220 and the I / O control unit 130 may be performed using Websocket or the like. The user management unit 132 notifies the occupancy control unit 133 that the terminal 200-1 has logged in (step S22).
[0069] In response to the login, the occupancy control unit 133 checks the status of each of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25 (step S23). For example, the occupancy control unit 133 causes the driver 141 to check whether the passbook slip printer 21 is connected or not. Furthermore, the occupancy control unit 133 determines that the terminal 100 is occupying the passbook slip printer 21 because the record corresponding to the terminal 100 is registered at the top of the records corresponding to the passbook slip printer 21 registered in the occupancy queue 131a.
[0070] The occupancy control unit 133 then notifies the user management unit 132 that a terminal other than the terminal 200-1 is occupying the passbook slip printer 21 (step S24). The user management unit 132 notifies the application 220 that a terminal other than the terminal 200-1 is occupying the passbook slip printer 21 (step S25). In response to the notification from the I / O control unit 130, the application 220 transitions the icon display on the screen (step S26). Here, the application 220 changes the "passbook" icon on the screen indicating the occupancy status of the passbook slip printer 21 from a display indicating not connected to a display indicating occupied by another terminal.
[0071] In this way, the I / O control unit 130 determines that the terminal 100 can occupy and use the passbook slip printer 21 in response to login from the application 220, and notifies the application 220 that another terminal is occupying the passbook slip printer 21. Then, the application 220 can notify the user of the terminal 200-1 that the passbook slip printer 21 cannot be used until the other terminal finishes using it, by displaying a message indicating that the other terminal is occupying the passbook slip printer 21. Next, the control process when the terminal 200-1 makes an occupancy reservation will be described.
[0072] Fig. 9 is a diagram showing an example of the device occupancy control process when occupancy reservation is made. In the example of Fig. 9, a case will be described in which the terminal 200-1 makes an occupancy reservation for the passbook slip printer 21 when the terminal 100 is able to occupy and use the passbook slip printer 21.
[0073] First, the application 220 transmits an occupancy request for the passbook slip printer 21 to the I / O control unit 130 (step S31). The user management unit 132 notifies the occupancy control unit 133 that there has been an occupancy request for the passbook slip printer 21 from the terminal 200-1 (step S32).
[0074] In response to the occupancy request, the occupancy control unit 133 adds to the occupancy queue 131a a record corresponding to the occupancy request by the terminal 200-1 for the passbook slip printer 21. For example, the occupancy control unit 133 adds to the occupancy queue 131a a record in which "Terminal B" indicating the terminal 200-1 is registered in the user field and "Pass Printer" indicating the passbook slip printer 21 is registered in the occupied device field. Here, the occupancy control unit 133 determines that the terminal 200-1 is reserving the passbook slip printer 21 for occupancy because the record of the terminal 100 corresponding to the passbook slip printer 21 has already been registered in the occupancy queue 131a.
[0075] The occupancy control unit 133 then notifies the user management unit 132 that the terminal 200-1 has reserved the passbook slip printer 21 for exclusive use (step S33). The user management unit 132 notifies the application 220 that the terminal 200-1 has reserved the passbook slip printer 21 for exclusive use (step S34). In response to the notification from the I / O control unit 130, the application 220 transitions the icon display on the screen (step S35). Here, the application 220 changes the "passbook" icon on the screen indicating the occupancy status of the passbook slip printer 21 from a display indicating that it is occupied by another terminal to a display indicating that it is reserved for exclusive use.
[0076] In this way, in response to an exclusive use request from the application 220, the I / O control unit 130 sets the terminal 200-1 to exclusive use reservation for the passbook slip printer 21 and notifies the application 220 that the terminal 200-1 has reserved exclusive use of the passbook slip printer 21. Then, the application 220 can notify the user of the terminal 200-1 that they can start using the passbook slip printer 21 when another terminal has finished using it, by displaying an indication that the terminal 200-1 has reserved exclusive use of the passbook slip printer 21. Next, a control process when a request to release exclusive use is made while the terminal 100 is occupying the passbook slip printer 21 will be described.
[0077] Fig. 10 is a diagram showing an example of the device occupancy control process when an occupancy release request is made. In the example of Fig. 10, a case will be described in which the terminal 100 makes an occupancy release request for the passbook slip printer 21 while the terminal 200-1 has reserved the occupancy of the passbook slip printer 21.
[0078] First, the application 120 transmits an exclusive release request for the passbook slip printer 21 to the I / O control unit 130 (step S41). The user management unit 132 notifies the exclusive use control unit 133 that there has been an exclusive use release request for the passbook slip printer 21 from the terminal 100 (step S42). In response to the exclusive use release request, the exclusive use control unit 133 deletes the record corresponding to the exclusive use request for the passbook slip printer 21 from the exclusive use queue 131a. Here, since the record of the terminal 200-1 corresponding to the passbook slip printer 21 is registered in the exclusive use queue 131a, the exclusive use control unit 133 sets the passbook slip printer 21 to be exclusive to the terminal 200-1 and available for use.
[0079] The occupancy control unit 133 then notifies the user management unit 132 that the terminal 200-1 is occupying the passbook slip printer 21 (step S43). The user management unit 132 notifies the application 220 that the terminal 200-1 is occupying the passbook slip printer 21 (step S44). In response to the notification from the I / O control unit 130, the application 220 transitions the icon display on the screen (step S45). Here, the application 220 changes the "passprint" icon on the screen indicating the occupancy status of the passbook slip printer 21 from a display indicating occupied by another terminal to a display indicating occupied.
[0080] The occupancy control unit 133 also notifies the user management unit 132 that the passbook slip printer 21 is being occupied by a terminal other than the terminal 100 that sent the occupancy release request (step S46). The user management unit 132 notifies the application 120 that the passbook slip printer 21 is being occupied by a terminal other than the terminal 100 (step S47). In response to the notification from the I / O control unit 130, the application 120 transitions the display of icons on the screen 41 (step S48). Here, the application 120 changes the "passbook" icon on the screen 41, which indicates the occupancy status of the passbook slip printer 21, from an indication indicating occupancy to an indication indicating occupancy by another terminal.
[0081] In this way, the I / O control unit 130 releases the occupation of the passbook slip printer 21 by the terminal 100 in response to an occupation release request from the application 120, and sets the passbook slip printer 21 so that the terminal 200-1 that has reserved the occupation can occupy and use the passbook slip printer 21. This allows the I / O control unit 130 to efficiently switch terminals that use the device. Next, the transition of the display showing the occupation status of the device will be described.
[0082] Fig. 11 is a diagram (part 1) showing an example of the transition of the display showing the occupancy status. In the example of Fig. 11, a description is given of the display showing the occupancy status of the passbook slip printer 21 of the terminal 100 and the terminal 200-1 from the start of the occupancy of the passbook slip printer 21 by the terminal 100 to the end of the occupancy.
[0083] First, before logging in to the I / O control unit 130, the application 120 displays the "passprint" icon on the screen 41, which indicates the occupancy status of the passbook slip printer 21, as not connected. Also, the application 220 displays the "passprint" icon on the screen as not connected.
[0084] The application 120 logs in to the I / O control unit 130 and sends an occupancy request for the passbook slip printer 21 to the I / O control unit 130. In response to the occupancy request, the I / O control unit 130 sets the passbook slip printer 21 to be occupied by the terminal 100. The I / O control unit 130 then notifies the application 120 that the terminal 100 is occupying the passbook slip printer 21. The application 120 then displays the "Pass Print" icon on the screen 41 to indicate that the passbook slip printer 21 is occupied.
[0085] Here, the application 220 logs in to the I / O control unit 130. The I / O control unit 130 checks the occupancy status of each device in response to the login, and notifies the application 220 of the occupancy status of each device. Here, the I / O control unit 130 notifies the application 220 that the passbook slip printer 21 is occupied by another terminal. Then, the application 220 displays a "passbook printer" icon on the screen to indicate that the passbook slip printer 21 is occupied by another terminal.
[0086] When the terminal 100 finishes using the passbook slip printer 21, the application 120 sends a request to release the occupation of the passbook slip printer 21 to the I / O control unit 130. In response to the request, the I / O control unit 130 releases the occupation of the passbook slip printer 21 by the terminal 100. The I / O control unit 130 then notifies the applications 120 and 220 that the passbook slip printer 21 is available, indicating that it is not being occupied and used. The application 120 then displays a "passbook printer" icon on the screen 41 to indicate that it is available. The application 220 also displays a "passbook printer" icon on the screen to indicate that it is available.
[0087] Fig. 12 is a diagram (part 2) showing an example of the transition of the display showing the occupancy status. In the example of Fig. 12, a display showing the occupancy status of the passbook slip printer 21 of the terminal 100 and the terminal 200-1 will be described in the case where the passbook slip printer 21 is reserved for occupancy by the terminal 200-1 while the passbook slip printer 21 is being occupied by the terminal 100.
[0088] First, before logging in to the I / O control unit 130, the application 120 displays the "Communication Printer" icon on the screen 41 to indicate that it is not connected. Also, the application 220 displays the "Communication Printer" icon on the screen to indicate that it is not connected.
[0089] The application 120 logs in to the I / O control unit 130 and sends an occupancy request for the passbook slip printer 21 to the I / O control unit 130. In response to the occupancy request, the I / O control unit 130 sets the passbook slip printer 21 to be occupied by the terminal 100 and notifies the application 120 that it is occupied. The application 120 then displays a "passprint" icon on the screen 41 to indicate that it is occupied. The application 220 logs in to the I / O control unit 130. The I / O control unit 130 then notifies the application 220 that the passbook slip printer 21 is occupied by another terminal. The application 220 displays a "passprint" icon on the screen to indicate that it is occupied by another terminal.
[0090] Here, the application 220 sends an occupancy request for the passbook slip printer 21 to the I / O control unit 130. In response to the occupancy request, the I / O control unit 130 sets the passbook slip printer 21 to be reserved for exclusive use by the terminal 200-1, and notifies the application 220 that the exclusive use is reserved. The application 220 then displays the "passbook slip printer" icon on the screen to indicate that the exclusive use is reserved.
[0091] When the terminal 100 finishes using the passbook slip printer 21, the application 120 sends an exclusive release request for the passbook slip printer 21 to the I / O control unit 130. In response to the exclusive release request, the I / O control unit 130 releases the exclusive use of the passbook slip printer 21 by the terminal 100. Here, the I / O control unit 130 sets the passbook slip printer 21 to be occupied by the terminal 200-1 that has reserved exclusive use, and notifies the application 220 that the passbook slip printer 21 is occupied. The I / O control unit 130 also notifies the application 120 that the passbook slip printer 21 is occupied by another terminal.
[0092] Then, the application 220 displays the "Tsū-Pri" icon on the screen to indicate that the terminal is occupied. Also, the application 120 displays the "Tsū-Pri" icon on the screen 41 to indicate that the terminal is occupied by another terminal.
[0093] Fig. 13 is a diagram (part 3) showing an example of the transition of the display indicating the occupancy status. In the example of Fig. 13, a display indicating the occupancy status of the passbook slip printer 21 of the terminal 100 and the terminal 200-1 when an abnormality occurs in the passbook slip printer 21 while the passbook slip printer 21 is occupied by the terminal 100 will be described.
[0094] First, before logging in to the I / O control unit 130, the application 120 displays the "Communication Printer" icon on the screen 41 to indicate that it is not connected. Also, the application 220 displays the "Communication Printer" icon on the screen to indicate that it is not connected.
[0095] The application 120 logs in to the I / O control unit 130 and sends an occupancy request for the passbook slip printer 21 to the I / O control unit 130. In response to the occupancy request, the I / O control unit 130 sets the passbook slip printer 21 to be occupied by the terminal 100 and notifies the application 120 that it is occupied. The application 120 then displays a "passprint" icon on the screen 41 to indicate that it is occupied. The application 220 logs in to the I / O control unit 130. The I / O control unit 130 then notifies the application 220 that the passbook slip printer 21 is occupied by another terminal. The application 220 displays a "passprint" icon on the screen to indicate that it is occupied by another terminal.
[0096] Here, it is assumed that the I / O control unit 130 has been notified of an abnormality in the passbook slip printer 21 (e.g., the cover is open) by the driver 141. The I / O control unit 130 then releases the occupation of the passbook slip printer 21 by the terminal 100, and notifies the applications 120, 220 that the passbook slip printer 21 is unavailable, indicating that an abnormality has occurred in the passbook slip printer 21. The application 120 displays a "pass printer" icon on the screen 41 to indicate that the printer is unavailable. Also, the application 220 displays a "pass printer" icon on the screen to indicate that the printer is unavailable.
[0097] When the abnormality in the passbook slip printer 21 is resolved, the I / O control unit 130 sets the passbook slip printer 21 to the occupancy status before the abnormality occurred. Here, the I / O control unit 130 sets the passbook slip printer 21 to be occupied by the terminal 100. The I / O control unit 130 also sets the passbook slip printer 21 to be reserved for occupancy by the terminal 200-1. The I / O control unit 130 then notifies the application 120 that the printer is occupied. The I / O control unit 130 also notifies the application 220 that the printer is reserved for occupancy.
[0098] Then, the application 120 displays the "Tsu-Pri" icon on the screen 41 to indicate that it is occupied. Also, the application 220 displays the "Tsu-Pri" icon on the screen to indicate that it is reserved for occupancy.
[0099] In this way, the I / O control unit 130 notifies each terminal of the occupancy status of the device at login. Also, the I / O control unit 130 notifies each terminal of the occupancy status when the occupancy status of the device changes, such as when an occupancy request is received, when an occupancy release request is received, or when an abnormality occurs. The application 120, 220 of each terminal displays a screen showing the notified occupancy status. In this way, the application 120, 220 can notify the user operating each terminal whether the device is available for use.
[0100] The following is a detailed description of the processes executed by the terminal 100. First, the process at the time of login will be described. Fig. 14 is a flowchart showing an example of a procedure for processing at the time of logging in. The processing shown in Fig. 14 will be described below in order of step numbers.
[0101] [Step S101] The user management unit 132 determines whether or not a login request has been made from any of the terminals 100, 200-1, 200-2, .... If the user management unit 132 determines that a login request has been made, the process proceeds to step S102. On the other hand, if the user management unit 132 determines that a login request has not been made, the process ends.
[0102] [Step S102] The occupancy control unit 133 checks the status of each of the passbook slip printer 21, the cash machine 22, the OHR 23, the card reader 24, and the biometric authentication device 25. For example, the occupancy control unit 133 causes the drivers 141 to 145 to check whether the devices controlled by the drivers are connected. The occupancy control unit 133 determines that the devices that are not connected are in an unconnected state. The occupancy control unit 133 also refers to the occupancy queue 131a and checks whether a record corresponding to each device is registered. The occupancy control unit 133 determines that the devices that have corresponding records registered in the occupancy queue 131a are in an occupied state by another terminal. The occupancy control unit 133 also determines that the devices that have corresponding records not registered in the occupancy queue 131a are in an available state among the connected devices.
[0103] [Step S103] The user management unit 132 notifies the logged-in terminal of the status of each device. For example, the user management unit 132 notifies the terminal that transmitted the login request in step S101 of the status of each device identified in step S102.
[0104] In this way, the terminal 100 notifies the login terminal of the status of each device. Then, the notified status is displayed on the login terminal, so that the user operating the login terminal can be notified of whether each device is available for use. Next, the process at the time of an occupancy request will be described.
[0105] 15 is a flow chart showing an example of a procedure for processing at the time of an occupancy request. The processing shown in FIG. 15 will be described below in order of step numbers. [Step S111] The user management unit 132 determines whether or not an exclusive use request has been received from any of the terminals 100, 200-1, 200-2, .... If the user management unit 132 determines that an exclusive use request has been received, the process proceeds to step S112. On the other hand, if the user management unit 132 determines that an exclusive use request has not been received, the process ends.
[0106] [Step S112] The occupation control unit 133 adds to the occupation queue 131a a record corresponding to the terminal that sent the occupation request in step S111 (requesting terminal) and the device that is the target of the occupation request (target device). For example, the occupation control unit 133 adds to the lowest position of the occupation queue 131a a record in which information indicating the requesting terminal is registered in the user field and information indicating the target device is registered in the occupied device field.
[0107] [Step S113] The occupancy control unit 133 determines whether the target device is occupied by a terminal other than the requesting terminal. For example, when a record in which information indicating a terminal other than the requesting terminal is registered in the user field and information indicating the target device is registered in the occupancy queue 131a, the occupancy control unit 133 determines that the target device is occupied by a terminal other than the requesting terminal. If the occupancy control unit 133 determines that the target device is occupied by a terminal other than the requesting terminal, it proceeds to step S114. If the occupancy control unit 133 determines that the target device is not occupied by a terminal other than the requesting terminal, it proceeds to step S115.
[0108] <Step S114> The user management block 132 notifies the requesting terminal that the target device is currently reserved for exclusive use, and then the process ends. [Step S115] The occupancy control unit 133 sets the requesting terminal to occupy the target device. For example, the occupancy control unit 133 sets the driver that controls the target device to operate the target device according to the transmitted command when a command for the target device is transmitted from the requesting terminal to the terminal 100. The occupancy control unit 133 also sets the driver that controls the target device not to operate the target device even if a command for the target device is transmitted to the terminal 100 from a terminal other than the requesting terminal.
[0109] <Step S116> The user management block 132 notifies the requesting terminal that the target device is in an occupied state. [Step S117] The user management unit 132 notifies all terminals among the terminals 100, 200-1, 200-2, . . . other than the requesting terminal that has issued the request that the target device be occupied by another terminal.
[0110] In this way, when terminal 100 receives a request to occupy a device, if the target device is not occupied by a terminal other than the requesting terminal, the requesting terminal occupies the device and sets it so that it can be used. Then, terminal 100 notifies each of terminals 100, 200-1, 200-2, ... of the device occupancy status. In this way, terminal 100 can set the device so that terminals 100, 200-1, 200-2, ... can occupy and use the device in turns. Note that if the target device is occupied by a terminal other than the requesting terminal, terminal 100 sets the device to be reserved for occupancy by the requesting terminal.
[0111] Furthermore, each of the terminals 100, 200-1, 200-2, ... displays the occupancy status notified from the terminal 100, and therefore can notify the user operating each terminal whether each device is available for use. In this way, the terminal 100 can facilitate sharing of peripheral devices. By facilitating sharing of peripheral devices, the terminal 100 can eliminate the need to prepare peripheral devices for the number of terminals, and can reduce the cost of installing peripheral devices. Next, the process at the time of an occupancy release request will be described.
[0112] 16 is a flow chart showing an example of a procedure for processing when an exclusive release request is made. The processing shown in FIG. 16 will be described below in order of step number. [Step S121] The user management unit 132 determines whether or not an exclusive release request has been received from any of the terminals 100, 200-1, 200-2, .... If the user management unit 132 determines that an exclusive release request has been received, the process proceeds to step S122. On the other hand, if the user management unit 132 determines that an exclusive release request has not been received, the process ends.
[0113] [Step S122] The occupancy control unit 133 releases the occupancy of the device (target device) that is the target of the exclusive release request made by the terminal (requesting terminal) that transmitted the exclusive release request in step S121.
[0114] [Step S123] The occupation control unit 133 deletes the records corresponding to the requesting terminal and the target device from the occupation queue 131a. For example, the occupation control unit 133 deletes from the occupation queue 131a a record in which information indicating the requesting terminal is registered in the user field and information indicating the target device is registered in the occupied device field.
[0115] [Step S124] The occupancy control unit 133 determines whether or not there is an exclusive reservation of the target device by a terminal other than the requesting terminal. For example, when a record in which information indicating a terminal other than the requesting terminal is registered in the user field and information indicating the target device is registered in the occupancy device field is registered in the occupancy queue 131a, the occupancy control unit 133 determines that there is an exclusive reservation of the target device by a terminal other than the requesting terminal. If the occupancy control unit 133 determines that there is an exclusive reservation of the target device by a terminal other than the requesting terminal, it proceeds to step S126. If the occupancy control unit 133 determines that there is no exclusive reservation of the target device by a terminal other than the requesting terminal, it proceeds to step S125.
[0116] [Step S125] The user management unit 132 notifies all terminals, 100, 200-1, 200-2, ..., that the target device is in a usable state, and then the process ends.
[0117] [Step S126] The occupancy control unit 133 sets the target device so that the terminal that made the earliest reservation occupies the target device. For example, the occupancy control unit 133 identifies the terminal registered in the user field of the highest record among the records registered in the occupancy queue 131a in which information indicating the target device is registered in the occupancy device field. Then, the occupancy control unit 133 sets the driver that controls the target device to operate the target device according to the transmitted command when a command to the target device is transmitted from the identified terminal to the terminal 100. The occupancy control unit 133 also sets the driver that controls the target device not to operate the target device even if a command to the target device is transmitted to the terminal 100 from a terminal other than the identified terminal.
[0118] <Step S127> The user management block 132 notifies the terminal that started occupying the target device in step S126 that the target device is in an occupancy state. <Step S128> The user management block 132 notifies the requesting terminal that the target device is in a state where it is occupied by another terminal.
[0119] In this way, when the terminal 100 receives an exclusive release request, it releases the exclusive use of the target device by the requesting terminal. If there is a terminal that has reserved exclusive use of the target device, the terminal that reserved it earliest will occupy the target device and set it to be usable. This allows the terminal 100 to efficiently switch terminals that use the device. Next, the process when an abnormality occurs will be described.
[0120] 17 is a flow chart showing an example of a procedure for processing when an abnormality occurs. The processing shown in FIG. 17 will be described below in order of step number. [Step S131] The occupancy control unit 133 determines whether or not an abnormality has occurred in the device. For example, when an abnormality in the device being controlled is notified from any of the drivers 141 to 145, the occupancy control unit 133 determines that an abnormality has occurred in the device. When the occupancy control unit 133 determines that an abnormality has occurred in the device, it advances the process to step S132. When the occupancy control unit 133 determines that an abnormality has not occurred in the device, it ends the process.
[0121] [Step S132] The occupancy control unit 133 releases the occupation, by the terminal, of the device in which an abnormality was detected in step S131 (the abnormality-occupied device). [Step S133] The occupancy control unit 133 notifies all terminals 100, 200-1, 200-2, . . . that the abnormal device is in an unavailable state.
[0122] [Step S134] The occupancy control unit 133 determines whether the abnormal device has recovered. For example, when the occupancy control unit 133 is notified by the driver controlling the abnormal device that the abnormality detected in step S131 has been resolved, the occupancy control unit 133 determines that the abnormal device has recovered. When the occupancy control unit 133 determines that the abnormal device has recovered, it proceeds to step S135. When the occupancy control unit 133 determines that the abnormal device has not recovered, it proceeds to step S134.
[0123] [Step S135] The occupancy control unit 133 sets the terminal (original occupying terminal) that was released from the occupation of the abnormality-occupied device in step S132 to occupy the abnormality-occupied device. For example, the occupancy control unit 133 identifies the terminal registered in the user field of the highest record among the records registered in the occupation queue 131a in which information indicating the abnormality-occupied device is registered in the occupied device field. Then, the occupancy control unit 133 sets the driver that controls the abnormality-occupied device to operate the abnormality-occupied device according to the transmitted command when a command to the abnormality-occupied device is transmitted from the identified terminal to the terminal 100. The occupancy control unit 133 also sets the driver that controls the abnormality-occupied device not to operate the abnormality-occupied device even if a command to the abnormality-occupied device is transmitted to the terminal 100 from a terminal other than the identified terminal.
[0124] [Step S136] The user management unit 132 notifies the terminal that started occupying the abnormal device in step S135 that the abnormal device is now being occupied. [Step S137] The user management unit 132 notifies all terminals, among the terminals 100, 200-1, 200-2, ..., other than the terminal that started occupying the abnormal device in step S135, of the original state of the abnormal device. For example, the user management unit 132 identifies a terminal registered in the user field of a record other than the highest one among the records registered in the occupancy queue 131a in which information indicating the abnormal device is registered in the occupying device field. The user management unit 132 notifies the identified terminal that the abnormal device is in a state of reserved occupancy. The user management unit 132 also notifies terminals other than the terminal that notified that the abnormal device is in occupancy or reserved occupancy that the abnormal device is in a state of occupied by another terminal.
[0125] In this way, when terminal 100 detects an abnormality in a device, it releases the occupation of the device by the terminal and notifies terminals 100, 200-1, 200-2, ... of the unavailable state. As a result, terminal 100 can notify users operating each terminal of the occurrence of an abnormality in the device and prevent the use of the abnormal device. Then, when the abnormal device recovers from the abnormality, terminal 100 sets the abnormal device to be occupied by the original occupying terminal and made available for use, and notifies terminals 100, 200-1, 200-2, ... of the occupation status of the abnormal device. As a result, terminal 100 can return to the occupation status before the abnormality occurred, and the terminals can efficiently use the device that has recovered from the abnormality.
[0126] Although the embodiments have been described above, the configurations of the parts shown in the embodiments can be replaced with other configurations having similar functions. Any other components or steps may be added. Furthermore, any two or more configurations (features) of the above-described embodiments may be combined. [Explanation of symbols]
[0127] 1a, 1b,... Terminal 2a, 2b,... Connected devices 10 Control device 11 Processing section
Claims
1. a processing unit that, when receiving a request to occupy a device from a first terminal among a plurality of terminals, causes the first terminal to occupy the device and set it to be available for use, and notifies each of the plurality of terminals of the occupancy status of the device; A control device having the above configuration.
2. when the processing unit receives an occupancy request from a second terminal other than the first terminal among the plurality of terminals while the first terminal is occupying and using the device, the processing unit sets the device to be reserved for occupancy by the second terminal, and when the occupancy of the device by the first terminal is released, sets the device to be occupyable by the second terminal and available for use, and notifies each of the plurality of terminals of the occupancy status of the device. The control device according to claim 1.
3. When the processing unit detects an abnormality in the device, the processing unit releases the first terminal from occupying the device, and notifies the multiple terminals that the device is unavailable. The control device according to claim 1.
4. When the device recovers from the abnormality, the processing unit causes the first terminal to occupy the device and set it to be available for use, and notifies each of the multiple terminals of the occupancy status of the device. The control device according to claim 3.
5. When the processing unit receives from the first terminal a request for occupancy of the device among the plurality of connected devices connected to the control device, the first terminal occupies the device and sets it to be available, and notifies each of the plurality of terminals of an occupancy status of each of the plurality of connected devices. The control device according to claim 1.
6. On the computer, When a request to occupy a device is received from a first terminal among a plurality of terminals, the first terminal occupies the device and sets it to be available for use; notifying each of the plurality of terminals of the occupancy status of the device; A control program that executes a process.
7. The computer When a request to occupy a device is received from a first terminal among a plurality of terminals, the first terminal occupies the device and sets it to be available for use; notifying each of the plurality of terminals of the occupancy status of the device; Control methods.
Citation Information
Patent Citations
Window terminal system
JP2015215665A
Shared printer system, terminal device, processing method, abd program
JP2020101852A
Cited By
Robot pairing occupation management method and system for multi-terminal environment, and server
CN121792599A
