Information Processing Method
The information processing method optimizes data transfer and arithmetic processing by using multiple ports and dynamic port switching based on command content, addressing inefficiencies in face recognition systems and enhancing overall system performance.
Patent Information
- Application Number
- JP2020184871
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-05
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2040-11-05
AI Technical Summary
Existing face recognition systems face inefficiencies in data transfer between software managing face authentication processing and the processing device, necessitating improved data transfer efficiency in arithmetic processing.
An information processing method and system that utilizes multiple ports for data transfer, dynamically changing ports based on the content of read/write processing commands to optimize data transfer to an arithmetic processing device, and executes arithmetic processing tailored to these commands.
Enhances data transfer efficiency by allowing continuous data processing and efficient arithmetic operations, suitable for systems like face recognition, fingerprint verification, and image analysis.
Smart Images

Figure 0007560200000001 
Figure 0007560200000002 
Figure 0007560200000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing method, an information processing device, and a program. [Background technology]
[0002] In recent years, with the development of face recognition processing technology, face recognition systems have been introduced in various places. For example, as described in Patent Document 1, face recognition systems are installed and used in various places, such as a walk-through face recognition system that authenticates people passing through the gates of an airport or a company, or a security system that authenticates people photographed by security cameras in the city. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-63659 A Summary of the Invention [Problem to be solved by the invention]
[0004] In addition, in the face recognition system described above, since it is necessary to perform face recognition of people who are photographed one after another, large amounts of data are processed continuously. Therefore, it is required to improve the data transfer efficiency between the software that manages the face recognition process and the arithmetic processing device that performs arithmetic processing such as feature matching. In addition, not only in face recognition processing, but also in all arithmetic processing, it is required to improve the data transfer efficiency between the software that manages the system and the arithmetic processing device.
[0005] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to improve the efficiency of data transfer to a processor, which is the problem described above. [Means for solving the problem]
[0006] An information processing method according to one aspect of the present invention includes: An information processing device, transmitting the read / write process command to a processor connected via a plurality of ports and configured to execute a process that is preset in accordance with the contents of the read / write process command for the disk device and is different from the process for the disk device, using the ports that are preset in accordance with the contents of the read / write process command; changing the port to be used in accordance with the content of the read / write processing command, and transmitting the read / write processing command to the arithmetic processing device; The structure is as follows.
[0007] Further, an information processing device according to one aspect of the present invention includes: a transmitting means for transmitting a read / write process command to a processing device connected via a plurality of ports and configured to execute a process preset in accordance with the contents of a read / write process command for a disk device, the process command being different from the process for the disk device, using the port preset in accordance with the contents of the read / write process command, and for changing the port to be used in accordance with the contents of the read / write process command and transmitting the read / write process command to the processing device; Equipped with The structure is as follows.
[0008] In addition, an information processing system according to an embodiment of the present invention includes: An information processing device and an arithmetic processing device connected via a plurality of ports, the information processing device includes a transmission means for transmitting a read / write process command to the arithmetic processing device using the port that is preset in accordance with the contents of the read / write process command for the disk device, and for changing the port to be used in accordance with the contents of the read / write process command and transmitting the read / write process command to the arithmetic processing device; the arithmetic processing device includes an arithmetic processing means for executing a preset arithmetic processing corresponding to the contents of the read / write process command received from the information processing device, the arithmetic processing being different from a read / write process for a disk device; The structure is as follows.
[0009] In addition, a program according to one aspect of the present invention includes: In the information processing device, transmitting the read / write process command to a processor connected via a plurality of ports and configured to execute a process that is preset in accordance with the contents of the read / write process command for the disk device and is different from the read / write process command for the disk device, using the ports that are preset in accordance with the contents of the read / write process command; changing the port to be used in accordance with the content of the read / write processing command, and transmitting the read / write processing command to the arithmetic processing device; Execute the process, The structure is as follows.
[0010] Further, a calculation processing method according to one aspect of the present invention includes the steps of: A processing unit, Accepts read and write processing commands for disk devices, a predetermined arithmetic process corresponding to the content of the received read / write process command, which is different from the process for the disk device; The structure is as follows.
[0011] Further, a processing device according to one aspect of the present invention includes: a receiving means for receiving a read / write processing command for the disk device; a computing means for executing a preset computing process corresponding to the content of the received read / write process command, the computing process being different from the process for the disk device; Equipped with The structure is as follows.
[0012] In addition, a program according to one aspect of the present invention includes: A processing unit includes: Accepts read and write processing commands for disk devices, a predetermined arithmetic process corresponding to the content of the received read / write process command, which is different from the process for the disk device; Execute the process, The structure is as follows. Effect of the Invention
[0013] With the above-described configuration, the present invention can improve the efficiency of data transfer to the processor. [Brief description of the drawings]
[0014] [Figure 1] 1 is a block diagram showing an overall configuration of an information processing system according to a first embodiment of the present invention, and a configuration of a server included in the information processing system. [Diagram 2] 2 is a block diagram showing the configuration of the arithmetic processing device disclosed in FIG. 1. [Diagram 3] 2 is a diagram showing an outline of the overall configuration of the information processing system disclosed in FIG. 1. [Figure 4] 2 is a diagram showing an example of data used in the server disclosed in FIG. 1; [Diagram 5] 2 is a diagram showing an example of the contents of an instruction accepted by the arithmetic processing device disclosed in FIG. 1; [Figure 6] 2 is a diagram illustrating an example of processing performed by the server and the processor disclosed in FIG. 1. [Figure 7] 2 is a flowchart showing the operation of the server disclosed in FIG. 1; [Figure 8] 2 is a diagram showing an example of a command flow from the server disclosed in FIG. 1. [Figure 9] 2 is a diagram showing an example of a command flow from the server disclosed in FIG. 1. [Figure 10] FIG. 11 is a block diagram showing a hardware configuration of an information processing device according to a second embodiment of the present invention. [Figure 11] FIG. 11 is a block diagram showing a configuration of an information processing device according to a second embodiment of the present invention. [Figure 12] 10 is a flowchart showing the operation of an information processing device according to a second embodiment of the present invention. [Figure 13]FIG. 11 is a block diagram showing a hardware configuration of a processor according to a second embodiment of the present invention. [Figure 14] FIG. 11 is a block diagram showing a configuration of a processor according to a second embodiment of the present invention. [Figure 15] 10 is a flowchart showing the operation of a processor according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] <Embodiment 1> A first embodiment of the present invention will be described with reference to Figures 1 to 9. Figures 1 to 5 are diagrams for explaining the configuration of an information processing system, and Figures 6 to 9 are diagrams for explaining the processing operation of the information processing system.
[0016] [composition] As shown in FIG. 1, the information processing system of the present invention includes a server 1 and a processing device 2. The information processing system is for performing, for example, face recognition processing, and is configured to perform processing in which data to be subjected to face recognition processing is transferred to the processing device 2 by a management software 11 provided in the server 1, the processing device 2 executes face recognition processing, and the server 1 returns the result. However, the information processing system is not necessarily limited to performing face recognition processing, and may perform any processing such as fingerprint matching or image analysis. The information processing system of the present invention can be applied to any system as long as it is a system in which a command requesting a processing operation is transmitted from the server 1 to the processing device 2. The configuration of the information processing system will be described in detail below.
[0017] The server 1 (information processing device) is composed of one or more information processing devices each having a calculation device and a storage device. As shown in Fig. 1, the server 1 has two ports 15a and 15b connected to the calculation device 2, and thus two paths for data transfer are formed between the server 1 and the calculation device 2. The server 1 also has a management software 11, a path redundancy unit 12, device files 13a, 13b, 13c, and 13d, and drivers 14a and 14b, which are realized by the calculation device executing a program.
[0018] The management software 11 (transmission means) has a function of managing the face recognition processing executed in the information processing system. For example, the management software 11 stores the registration data and collation data to be subjected to the face recognition processing, transfers these data to the arithmetic processing device 2 to request the face recognition processing, receives the result of the face recognition processing from the arithmetic processing device 2, and performs various controls according to the result.
[0019] In this embodiment, the management software 11 issues processing commands to the arithmetic processing device 2 using read / write processing commands for the disk device. That is, as shown in Fig. 3, the management software 11 recognizes the arithmetic processing device 2 connected via ports 15a and 15b as a virtual disk device, and transmits to the arithmetic processing device 2 write commands (Write) and read commands (Read), which are generally used as I / O commands for a disk device.
[0020] Here, in this embodiment, the server 1 recognizes the arithmetic processing device 2 as four virtual disk devices, and has four device files 13a, 13b, 13c, and 13d corresponding to the four disk devices, respectively. The two device files indicated by the reference characters 13a and 13b share one port indicated by the reference character 15a via the driver 14a, and are connected to the arithmetic processing device 2 through a path P1 formed between the port 15a and a port indicated by the reference character 25a provided on the arithmetic processing device 2. The other two device files indicated by the reference characters 13c and 13d share one port indicated by the reference character 15b via the driver 14b, and are connected to the arithmetic processing device 2 through a path P2 formed between the port 15b and a port indicated by the reference character 25b provided on the arithmetic processing device 2. In this way, in this embodiment, the server 1 and the arithmetic processing device 2 are configured to be able to transfer data through two paths P1 and P2. However, the server 1 and the arithmetic processing device 2 may be configured to be equipped with more ports and to be able to transfer data through more paths.
[0021] Then, as described above, the management software 11 transmits an I / O command for a disk device, including "disk device (destination)", "I / O type", "address", and "transfer data", as a processing command for the arithmetic processing device 2. For example, as shown in the combination of "I / O type" and "address" in FIG. 5, the management software 11 transmits commands such as "Read, 0x1000" and "Write, 0x5000, (transfer data)" to the arithmetic processing device 2, with each virtual disk device as the destination. However, the actual content of the I / O command for a disk device transmitted by the management software 11 to the arithmetic processing device 2 means the content of a processing operation different from the processing content for a general disk device. In other words, the I / O command for a disk device transmitted by the management software 11 is not recognized by the arithmetic processing device 2 that receives it as an I / O command for a disk device, such as a command for writing data to a specified address or a command for reading data from a specified address, but is recognized as a command with processing content preset in correspondence with the "I / O type" and "address". The actual processing content of the I / O command will be described later.
[0022] The path redundancy unit 12 (transmission means) sets the ports 15a and 15b to be used according to the contents of the I / O command from the management software 11, and transmits the I / O command to the processor 2 using the ports 15a and 15b. At this time, the path redundancy unit 12 stores a path search table as shown in FIG. 4(1) in advance, and sets the ports 15a and 15b to be used when transmitting the I / O command as initial ports according to the table. Specifically, the path search table shown in FIG. 4(1) is configured by associating devices, which are virtual disk devices recognized by the management software 11, with the ports 15a and 15b. In this example, the disk device "disk1" and the disk device "disk2" are associated with the port "1" (port indicated by reference symbol 15a), and the disk device "disk3" and the disk device "disk4" are associated with the port "2" (port indicated by reference symbol 15b). For this reason, the path redundancy unit 12 first checks the destination of the I / O command from the management software 11, and sets any one of the ports associated with the destination in the path search table as the initial port.
[0023] In addition, the path redundancy unit 12 also changes the initial port to be used, which is set as described above, according to the contents of the I / O command. At this time, the command discrimination table shown in FIG. 4(3) is stored in advance in the path redundancy unit 12, and the initial port to be used when transmitting the I / O command can be changed according to the table. Specifically, the command discrimination table shown in FIG. 4(3) sets "path detouring availability" corresponding to the combination of "I / O type" and "address" included in the I / O command, and when "path detouring availability" is "available", the initial port set in the path search table may be changed to another port instead of being used. In this example, the I / O command corresponding to the I / O type "Write" and the address "0x3000" is set so that the initial port set in the path search table can be changed to another port for transmission.
[0024] However, the path redundancy unit 12 judges whether to actually change the initial port used when transmitting an I / O command based on the usage status of each of the ports 15a and 15b. For this reason, the path redundancy unit 12 constantly acquires the busy rate indicating the usage status of each of the ports 15a and 15b, and stores it as shown in FIG. 4(2). Then, when the busy rate of the initial port set for the I / O command to be transmitted exceeds a first threshold value set in advance, and when the path redundancy unit 12 judges that the busy rate of the other ports does not exceed a second threshold value set in advance and is available, the path redundancy unit 12 changes the port to be used instead of the initial port when transmitting the I / O command to the arithmetic processing device 2. For example, when the busy rate of the initial port exceeds 80% (first threshold value) and the busy rate of the other ports is 50% (second threshold value) or less, the path redundancy unit 12 changes the port to be used from the initial port to the other ports. When the Busy rate of the initial port exceeds the first threshold, the path redundancy unit 12 may change the initial port to another port regardless of the busy rate of the other port. Also, the path redundancy unit 12 is not limited to checking the busy rate of the port, and may check the usage status of the port from the number of data transfers per unit time and the amount of data transfer per port, and determine whether to change the initial port according to the usage status.
[0025] 4(3) shows an example in which "path detouring possible" is set in correspondence with "I / O type" and "address" included in an I / O command, but "path detouring possible" may be set in correspondence with "I / O type" or in correspondence with "address". Furthermore, in the command discrimination table, "path detouring possible" may be set in correspondence with other contents included in an I / O command, such as the capacity of "transfer data" included in the I / O command.
[0026] Next, the arithmetic processing device 2 will be described. The arithmetic processing device 2 is composed of one or more information processing devices each having an arithmetic device and a storage device. As shown in FIG. 1, the arithmetic processing device 2 has two ports 25a and 25b connected to the server 1, and thus two paths for data transfer are formed between the server 1 and the arithmetic processing device 2. As shown in FIG. 2, the arithmetic processing device 2 has an I / O controller 21, a management CPU 22, a memory 23, a flash memory 24, arithmetic CPUs 26a, 26b, 26c, and 26d, and memories 27a, 27b, 27c, and 27d connected to these arithmetic CPUs. The arithmetic processing device can realize the following functions by the I / O controller 21, the management CPU 22, the arithmetic CPU 23a, etc. each executing a program.
[0027] The I / O controller 21 (accepting means) transmits and receives I / O to and from the server 1. For example, when the I / O controller 21 accepts an I / O command from the server 1, it issues an interrupt to the management CPU 22.
[0028] The management CPU (Central Processing Unit) 22 (computation means) reads firmware stored in the flash memory 24 and starts the firmware. The management CPU 22 also reads firmware for the computation CPU 23a and the like stored in the flash memory 24 and starts the computation CPU 23a and the like. The management CPU 22 then executes a computation process that is set in advance in response to the contents of the received I / O command by the function of the firmware. At this time, the management CPU 22 executes a computation process corresponding to the contents of the I / O command by itself, or executes a computation process corresponding to the contents of the I / O command in cooperation with the I / O controller 21 and the computation CPUs 26a, 26b, 26c, and 26d (computation means, computation unit). Note that, although four computation CPUs 26a, 26b, 26c, and 26d are mounted in the example of FIG. 2, the number is not limited, and any number may be mounted, and one computation CPU 26a and the like may have multiple cores. In addition, memories 27a, 27b, 27c, and 27d are connected to the calculation CPUs 26a, 26b, 26c, and 26d, respectively, and the calculation CPUs 26a, 26b, 26c, and 26d store data to be processed in the memories 27a, 27b, 27c, and 27d connected thereto, and execute calculation processing.
[0029] In the management CPU 22, the contents of the arithmetic processing corresponding to the "I / O type" and "address" included in the I / O command are set in advance by the function of the firmware. Here, FIG. 5 shows an example of the contents of the arithmetic processing set in correspondence with the contents of the I / O command. In the example of FIG. 5, first, the processing contents "return the state of the arithmetic processing device" are set in correspondence with the I / O command of the I / O type "Read" and the address "0x1000". In addition, the processing contents "set the arithmetic processing contents from a predetermined arithmetic processing set" are set in correspondence with the I / O command of the I / O type "Write" and the address "0x2000". In addition, the processing contents "set the parameters used during the calculation" are set in correspondence with the I / O command of the I / O type "Write" and the address "0x3000". In addition, the processing contents "transfer common arithmetic data" are set in correspondence with the I / O command of the I / O type "Write" and the address "0x4000". Also, the process content "transfer individual calculation data" is set in response to the I / O command of the I / O type "Write" and the address "0x4000". Also, the process content "obtain calculation results" is set in response to the I / O command of the I / O type "Read" and the address "0x6000". Also, the process content "reset the state of the calculation processing device" is set in response to the I / O command of the I / O type "Write" and the address "0x7000". Also, the process content "obtain a log of the calculation processing device" is set in response to the I / O command of the I / O type "Read" and the address "0x8000". In this way, the calculation processing device 2 is set to execute calculation processing different from the processing for the disk device in response to the "I / O type" and "address" included in the I / O command.
[0030] 5 is an example, and other arithmetic processing may be set to be executed by the arithmetic processing device 2. In addition, the above example illustrates a case where the content of the arithmetic processing is set corresponding to the "I / O type" and "address" included in the I / O command, but the content of the arithmetic processing may be set corresponding to the "I / O type" or the content of the arithmetic processing may be set corresponding to the "address". Furthermore, the content of the arithmetic processing may be set corresponding to the content of other data included in the I / O command.
[0031] Here, an example of a series of arithmetic processing operations executed when the management CPU 22 of the arithmetic processing device 2 receives I / O commands sequentially from the management software 11 will be described with reference to FIG. Step 1: The management software 11 of the server 1 issues an I / O command with an I / O type of "Read" and an address of "0x1000" to command the processing device 2 to check its status. This causes the management CPU 22 of the processing device 2 to execute a processing operation such as returning the status of the processing device to the server 1. Step 2: The management software 11 of the server 1 sends an I / O command with an I / O type of "Write" and an address of "0x2000", thereby commanding the arithmetic processing device 2 to set a number that identifies the arithmetic processing to be executed. As a result, the management CPU 22 of the arithmetic processing device 2 executes arithmetic processing, such as storing a number that identifies the arithmetic processing to be used when issuing instructions to the arithmetic CPUs 26a, etc. This number is data included in the I / O command. As an example, the management CPU 22 stores a number that identifies the arithmetic processing that authenticates common data and individual data, as described below. Step 3: The management software 11 of the server 1 sends an I / O command with an I / O type of "Write" and an address of "0x3000", commanding the arithmetic processing device 2 to set parameters to be used when executing arithmetic processing. As a result, the management CPU 22 of the arithmetic processing device 2 executes arithmetic processing such as storing parameters to be used when issuing instructions to the arithmetic CPU 26a, etc. Note that such parameters are data included in the I / O command.
[0032] Step 4: The management software 11 of the server 1 issues an I / O command with an I / O type of "Write" and an address of "0x4000" to command the transfer of common calculation data used in each calculation process. This causes the management CPU 22 of the calculation processing device 2 to instruct the I / O controller 21 to transfer the calculation data included in the I / O command to all calculation CPUs 26a, etc., and the I / O controller 21 executes calculation processing by transferring the calculation data included in the I / O data to all calculation CPUs 26a, etc. As a result, common data, which is common calculation data, is stored in all memories 27a, etc. connected to all calculation CPUs 26a, etc. Step 5: The management software 11 of the server 1 issues an I / O command with an I / O type of "Write" and an address of "0x5000" to command the transfer of individual calculation data. This causes the management CPU 22 of the calculation processing device 2 to instruct the I / O controller 21 to select an available core such as the calculation CPU 26a, and the I / O controller 21 executes calculation processing such as transferring the calculation data included in the I / O data to the corresponding calculation CPU 26a, etc. As a result, individual data, which is individual calculation data, is stored in the memory 27a, etc. connected to one calculation CPU 26a, etc. Step 6: As described above, when the transfer of the individual data to the calculation CPU 26a etc. of the arithmetic processing device 2 is completed, the management CPU 22 executes the calculation process by notifying the calculation CPU 26a etc. of the calculation process number and parameters together with a calculation start instruction. That is, the management CPU 22 notifies the calculation CPU 26a etc. of the calculation process number stored in step 2 and the parameters stored in step 3. As a result, the calculation CPU 26a etc. executes the calculation process specified by the notified number using the common data and individual data stored in the memory 27a etc. and the notified parameters. For example, the calculation CPU 26a etc. performs authentication processing of the common data and the individual data. Step 7: When the execution of the above-mentioned arithmetic processing is completed, the arithmetic CPU 26a etc. returns the arithmetic result to the management CPU 22. Then, when the calculations assigned to all the arithmetic CPUs 26a etc. are completed, the management CPU 22 prepares the arithmetic result, thus executing the arithmetic processing. Note that the above-mentioned steps 6 and 7 are executed as a series of arithmetic processing corresponding to the I / O command explained in step 5. Step 8: The management software 11 of the server 1 issues an I / O command with an I / O type of "Read" and an address of "0x6000" to command the processing device 2 to read the calculation result. This causes the management CPU 22 of the processing device 2 to execute calculation processing such as returning the prepared calculation result to the server 1. If the calculation processing by the calculation CPU 23a etc. has not been completed, the management CPU 22 notifies the management software 11 of this fact, and if the calculation processing has not been completed, the management software 11 resends the I / O command after a period of time.
[0033] [Operation] Next, the operation of the above-mentioned information processing system will be described with reference to the flowchart in Fig. 7 and the flow of I / O commands in Fig. 8 and 9. First, the operation when the server 1 transmits an I / O command to the processor 2 will be described with reference mainly to the flowchart in Fig. 7.
[0034] First, the management software 11 of the server 1 issues an I / O command for a disk device to the processor 2. At this time, the management software 11 recognizes the processor 2 as a plurality of virtual disk devices, and issues an I / O command including an "I / O type" and an "address" to one disk device as a destination. Then, the path redundancy unit 12 acquires the I / O command (step S1) and searches for a path to be used when the I / O command is sent to the processor 2 (step S2). At this time, the path redundancy unit 12 searches for a port associated with the disk device that is the destination of the I / O command from a path search table such as that shown in FIG. 4(1). As a result, the path redundancy unit 12 sets one of the ports 15a, 15b to be used when sending the acquired I / O command to the processor 2 as an initial port. That is, at this time, the I / O command is set to be sent to the processor 2 via a path that passes through the set initial port.
[0035] Next, the path redundancy unit 12 searches for the busy rate indicating the usage status of each port 15a, 15b, which is acquired and stored as shown in Fig. 4(2) (step S3). The path redundancy unit 12 also refers to the command discrimination table shown in Fig. 4(3) and determines whether the I / O command can bypass the path set corresponding to the initial port based on the "I / O type" and "address" included in the I / O command (step S4). Specifically, when the "path bypass possibility" corresponding to the "I / O type" and "address" included in the I / O command in the command discrimination table is "possible" in the command discrimination table, the path redundancy unit 12 determines that the set initial port can be changed and transmission can be made via another path using another port (Yes in step S4). On the other hand, if the "path bypass possibility" corresponding to the "I / O type" and "address" included in the I / O command in the command discrimination table is "no," the path redundancy unit 12 cannot change the set initial port (No in step S4), and so sends the I / O command using the original path that passes through the initial port (step S8).
[0036] Next, when the path redundancy unit 12 determines that the initial port set for the I / O command can be changed (Yes in step S4), it checks whether the initial port is in a busy state based on the busy rate of each of the searched ports 15a and 15b (step S5). When the busy rate of the initial port is equal to or higher than a threshold value, the path redundancy unit 12 checks whether other ports are available (step S6). When the path redundancy unit 12 determines that other ports are available, such as that the busy rate of the other ports is equal to or lower than a threshold value (Yes in step S6), it transmits the I / O command using another path that passes through the other ports (step S7). On the other hand, when the initial port is not in a busy state (No in step S5) or when other ports are not available (No in step S6), the path redundancy unit 12 transmits the I / O command using the original path that passes through the initial port (step S8).
[0037] As described above, according to the present invention, the port, i.e., the path used when transmitting an I / O command can be changed according to the contents of the I / O command. Therefore, even if a plurality of I / O commands Y1 and Y2 are concentrated on one path P2 as shown in Fig. 8, a specific I / O command Y2 can be changed to another path P1 as shown in Fig. 9. For example, when performing a computation process in which data is continuously transferred from the server 1 to the computation processing device 2, by setting the I / O command of the computation process so that the port can be changed according to the contents of the command, a vacant port is used for each data transfer, thereby improving the data transfer efficiency.
[0038] Next, the operation of the arithmetic processing device 2 will be described. First, the arithmetic processing device 2 performs a preparation process for receiving an I / O command transmitted from the server 1 as described above. Specifically, the management CPU 22 reads firmware stored in the flash memory 24 and starts the firmware. The management CPU 22 also initializes the I / O controller 21. Furthermore, the management CPU 22 reads firmware for the arithmetic CPU 23a, etc. stored in the flash memory 24 and starts the arithmetic CPU 23a, etc. using the firmware.
[0039] Thereafter, when the arithmetic processing device 2 receives an I / O command from the server 1, the I / O controller 21 sends the I / O command to the management CPU 22 as an interrupt. The management CPU 22 then analyzes the contents of the I / O command and executes arithmetic processing corresponding to the contents of the I / O command. At this time, the management CPU 22 executes arithmetic processing in cooperation with the I / O controller 21, the arithmetic CPU 23a, etc., as necessary. Specifically, the arithmetic processing content is set in the arithmetic processing device 2 in response to the "I / O type" and "address" included in the I / O command as shown in FIG. 5, and the management CPU 22 specifies the content of the arithmetic processing corresponding to the "I / O type" and "address" included in the I / O command sent from the I / O controller 21, and executes the arithmetic processing. Note that the content of the arithmetic processing is set to be different from processing such as reading and writing to a specified address in a disk device.
[0040] As an example, the management CPU 22 performs arithmetic processing such as setting a number that specifies the arithmetic processing to be executed by the arithmetic processing device 2 and parameters to be used in the arithmetic processing. As another example, the management CPU 22 performs arithmetic processing such as transferring arithmetic data included in an I / O command to the arithmetic CPU 26a, etc., and executing a predetermined process on the arithmetic data. As another example, the management CPU 22 performs arithmetic processing such as returning the arithmetic results by the arithmetic CPU 26a, etc., to the server 1.
[0041] As described above, according to the present invention, the server 1 side can transmit an I / O command, which is a read / write command for a disk device, to the arithmetic processing device 2, thereby making it possible to cause the arithmetic processing device 2 to execute various arithmetic processing operations different from those for a disk device. In this way, the use of an I / O command for a disk device is suitable for processing in which a large amount of data is continuously transferred to the arithmetic processing device 2 due to its I / O characteristics, while performing arithmetic operations at any time, and the results must be returned, thereby improving data transfer efficiency. Furthermore, the server 1 side can simultaneously instruct multiple types of arithmetic processing operations to multiple virtual disk devices, and the arithmetic processing device 2 can accordingly distribute the arithmetic processing operations to many arithmetic CPUs 23a, etc., thereby improving the efficiency of the arithmetic processing operations.
[0042] <Embodiment 2> Next, a second embodiment of the present invention will be described with reference to Figs. 10 to 15. Figs. 10 to 11 are block diagrams showing the configuration of an information processing device in the second embodiment, and Fig. 12 is a flowchart showing the operation of the information processing device. Figs. 13 to 14 are block diagrams showing the configuration of a processing device in the second embodiment, and Fig. 15 is a flowchart showing the operation of the processing device. Note that this embodiment shows an outline of the configurations of the server 1 and the processing device 2 described in the above-mentioned embodiment.
[0043] First, the hardware configuration of the information processing device 100 in this embodiment will be described with reference to Fig. 10. The information processing device 100 is configured as a general information processing device, and is equipped with the following hardware configuration, as an example. ·CPU(Central Processing Unit)101(Arithmetic unit) ROM (Read Only Memory) 102 (storage device) RAM (Random Access Memory) 103 (storage device) · Programs 104 loaded into RAM 103 A storage device 105 for storing a program group 104 A drive device 106 that reads and writes data from a storage medium 110 external to the information processing device A communication interface 107 for connecting to a communication network 111 outside the information processing device Input / output interface 108 for inputting and outputting data Bus 109 connecting each component
[0044] The information processing device 100 can construct and be equipped with a transmission means 121 shown in Fig. 11 by having the CPU 101 acquire the group of programs 104 and execute them. The group of programs 104 is stored in the storage device 105 or the ROM 102 in advance, for example, and the CPU 101 loads the group of programs 104 into the RAM 103 and executes them as necessary. The group of programs 104 may be supplied to the CPU 101 via the communication network 111, or may be stored in the storage medium 110 in advance, and the drive device 106 may read out the programs and supply them to the CPU 101. However, the above-mentioned transmission means 121 may be constructed of a dedicated electronic circuit for realizing such a means.
[0045] 10 shows an example of the hardware configuration of the information processing device 100, and the hardware configuration of the information processing device is not limited to the above-mentioned case. For example, the information processing device may be configured with a part of the above-mentioned configuration, such as not having the drive device 106.
[0046] Then, the information processing device 100 executes the information processing method shown in the flowchart of FIG. 12 by the function of the transmission means 121 constructed by the program as described above.
[0047] As shown in FIG. 12, the information processing device 100 transmit the read / write process command to a processor connected via a plurality of ports and configured to execute a process that is preset in accordance with the contents of the read / write process command for the disk device and is different from the process for the disk device, using the ports preset in accordance with the contents of the read / write process command (step S11); changing the port to be used in accordance with the contents of the read / write processing command and transmitting the read / write processing command to the arithmetic processing device (step S12); The following process is executed.
[0048] With the above-described configuration, the present invention can change the port used when sending a command to the processor in accordance with the contents of the read / write command. As a result, the port to be used can be allocated according to the contents of the command, which can reduce port congestion and improve data transfer efficiency.
[0049] Next, the hardware configuration of the arithmetic processing device 200 in this embodiment will be described with reference to Fig. 13. The arithmetic processing device 200 is configured as a general information processing device, and is equipped with the following hardware configuration, as an example. ·CPU (Central Processing Unit) 201 (computing unit) ROM (Read Only Memory) 202 (storage device) RAM (Random Access Memory) 203 (storage device) · Programs 204 loaded into RAM 203 A storage device 205 for storing the programs 204 A drive device 206 that reads and writes data from a storage medium 210 external to the information processing device. A communication interface 207 for connecting to a communication network 211 outside the information processing device Input / output interface 208 for inputting and outputting data Bus 209 connecting each component
[0050] The arithmetic processing device 200 can construct and include the reception means 221 and the calculation means 222 shown in Fig. 14 by the CPU 201 acquiring the program group 204 and executing it. The program group 204 is stored in the storage device 205 or the ROM 202 in advance, for example, and the CPU 201 loads the program group 204 into the RAM 203 and executes it as necessary. The program group 204 may be supplied to the CPU 201 via the communication network 211, or may be stored in the storage medium 210 in advance, and the drive device 206 may read out the program and supply it to the CPU 201. However, the above-mentioned reception means 221 and the calculation means 222 may be constructed of dedicated electronic circuits for realizing such means.
[0051] 13 shows an example of the hardware configuration of the information processing device constituting the arithmetic processing device 200, and the hardware configuration of the information processing device is not limited to the above-mentioned case. For example, the information processing device may be configured with a part of the above-mentioned configuration, such as not having the drive device 206.
[0052] The arithmetic processing device 200 executes the arithmetic processing method shown in the flowchart of FIG. 15 by the functions of the reception means 221 and the arithmetic means 222 constructed by the program as described above.
[0053] As shown in FIG. 15, the arithmetic processing device 200 A read / write processing command for the disk device is received (step S21). Execute a preset arithmetic process corresponding to the content of the received read / write process command, which is different from the process for the disk device (step S12); The following process is executed.
[0054] With the present invention configured as described above, it is possible to cause the arithmetic processing device 2 to execute various arithmetic processing different from processing for the disk device, by using a read / write command for the disk device. In this way, using an I / O command for the disk device is suitable for processing that requires continuous transfer of large amounts of data to the arithmetic processing device while performing calculations at any time and returning the results, due to its I / O characteristics, and it is possible to improve data transfer efficiency.
[0055] The above-mentioned program can be stored and supplied to a computer using various types of non-transitory computer readable media. The non-transitory computer readable medium includes various types of tangible storage media. Examples of the non-transitory computer readable medium include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be supplied to a computer by various types of transitory computer readable media. Examples of the transitory computer readable medium include electric signals, optical signals, and electromagnetic waves. The transitory computer readable medium can supply the program to a computer via a wired communication path such as an electric wire and an optical fiber, or via a wireless communication path.
[0056] Although the present invention has been described above with reference to the above-mentioned embodiments, the present invention is not limited to the above-mentioned embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. In addition, at least one or more functions of the above-mentioned devices may be executed by an information processing device installed and connected anywhere on a network, that is, they may be executed by so-called cloud computing.
[0057] <Additional Notes> A part or all of the above-described embodiments can be described as follows. The following provides an overview of the configurations of the information processing method, information processing device, arithmetic processing method, arithmetic processing device, and program of the present invention. However, the present invention is not limited to the following configurations. (Appendix 1) An information processing device, transmitting the read / write process command to a processor connected via a plurality of ports and configured to execute a process that is preset in accordance with the contents of the read / write process command for the disk device and is different from the process for the disk device, using the ports that are preset in accordance with the contents of the read / write process command; changing the port to be used in accordance with the content of the read / write processing command, and transmitting the read / write processing command to the arithmetic processing device; Information processing methods. (Appendix 2) 13. The information processing method according to claim 1, The information processing device, When transmitting the read / write process command to one of a plurality of disk devices, the read / write process command is transmitted using the port that is preset in correspondence with the disk device; changing the port to be used in accordance with the contents of the read / write processing command, and transmitting the read / write command to the arithmetic processing device; Information processing methods. (Appendix 3) 3. The information processing method according to claim 1, further comprising: The information processing device, when the port to be used is set to be changeable in accordance with the contents of the read / write processing command, the port to be used is changed and the read / write command is transmitted to the arithmetic processing device; Information processing methods. (Appendix 4) 4. The information processing method according to claim 3, The information processing device, when the port to be used is set to be changeable in accordance with address information included in the read / write processing command, the port to be used is changed and the read / write command is transmitted to the arithmetic processing device; Information processing methods. (Appendix 5) 4. The information processing method according to claim 3, The information processing device, when it is set that the port to be used can be changed according to the type of the read / write process command and the address information included in the read / write process command, the port to be used is changed and the read / write command is transmitted to the arithmetic processing device. Information processing methods. (Appendix 6) 6. An information processing method according to any one of claims 1 to 5, The information processing device, acquiring a usage status of the port that is preset according to the content of the read / write process command, changing the port to be used according to the usage status and the content of the read / write process command, and transmitting the read / write process command to the arithmetic processing device; Information processing methods. (Appendix 7) 7. An information processing method according to any one of claims 1 to 6, the arithmetic processing device executes a preset arithmetic processing different from the processing for the disk device, in response to address information included in the read / write processing command received from the information processing device; Information processing methods. (Appendix 8) a transmitting means for transmitting a read / write process command to a processing device connected via a plurality of ports and configured to execute a process preset in accordance with the contents of a read / write process command for a disk device, the process command being different from the process for the disk device, using the port preset in accordance with the contents of the read / write process command, and for changing the port to be used in accordance with the contents of the read / write process command and transmitting the read / write process command to the processing device; An information processing device comprising: (Appendix 8.1) 9. The information processing device according to claim 8, when transmitting the read / write process command to one of a plurality of disk devices, the transmitting means transmits the read / write process command using the port preset corresponding to the disk device, and changes the port to be used depending on the content of the read / write process command, and transmits the read / write process command to the arithmetic processing device. Information processing device. (Appendix 8.2) An information processing device according to claim 8 or 8.1, the transmitting means, when the port to be used is set to be changeable in accordance with the contents of the read / write processing command, changes the port to be used and transmits the read / write command to the arithmetic processing device; Information processing device. (Appendix 8.3) An information processing device according to claim 8.2, the transmitting means, when the port to be used is set to be changeable in accordance with address information included in the read / write processing command, changes the port to be used and transmits the read / write command to the arithmetic processing device. Processing unit. (Appendix 8.4) An information processing device according to claim 8.2, the transmitting means, when it is set that the port to be used can be changed according to the type of the read / write process command and the address information included in the read / write process command, changes the port to be used and transmits the read / write command to the arithmetic processing device. Information processing device. (Appendix 8.5) An information processing device according to any one of Supplementary Notes 8 to 8.4, the transmitting means acquires a usage status of the port that is preset according to the content of the read / write process command, changes the port to be used according to the usage status and the content of the read / write process command, and transmits the read / write process command to the arithmetic processing device. Information processing device. (Appendix 9) An information processing device and an arithmetic processing device connected via a plurality of ports, the information processing device includes a transmission means for transmitting a read / write process command to the arithmetic processing device using the port that is preset in accordance with the contents of the read / write process command for the disk device, and for changing the port to be used in accordance with the contents of the read / write process command and transmitting the read / write process command to the arithmetic processing device; the arithmetic processing device includes an arithmetic processing means for executing a preset arithmetic processing corresponding to the contents of the read / write process command received from the information processing device, the arithmetic processing being different from a read / write process for a disk device; Information processing system. (Appendix 10) In the information processing device, transmitting the read / write process command to a processor connected via a plurality of ports and configured to execute a process that is preset in accordance with the contents of the read / write process command for the disk device and is different from the read / write process command for the disk device, using the ports that are preset in accordance with the contents of the read / write process command; changing the port to be used in accordance with the content of the read / write processing command, and transmitting the read / write processing command to the arithmetic processing device; A program for executing a process.
[0058] (Appendix A1) A processing unit, Accepts read and write processing commands for disk devices, a predetermined arithmetic process corresponding to the content of the received read / write process command, which is different from the process for the disk device; Arithmetic processing method. (Appendix A2) A calculation method according to claim A1, the arithmetic processing device executes a preset arithmetic process corresponding to the type of the received read / write process command; Arithmetic processing method. (Appendix A3) The calculation method according to claim A1 or A2, the arithmetic processing device executes a preset arithmetic process corresponding to address information included in the received read / write process command; Arithmetic processing method. (Appendix A4) The calculation method according to claim 3, the arithmetic processing device executes a preset arithmetic process corresponding to the type of the received read / write process command and address information included in the read / write command; Arithmetic processing method. (Appendix A5) A calculation method according to any one of appendices A1 to A4, the arithmetic processing device transfers arithmetic data included in the read / write process command to an arithmetic unit included in the arithmetic processing device in response to the content of the received read / write process command, and executes a predetermined arithmetic process in the arithmetic unit; Arithmetic processing method. (Appendix A6) The calculation method according to claim 5, the arithmetic processing device transfers the arithmetic data to all of the plurality of arithmetic units included in the arithmetic processing device in response to the content of the received read / write processing command; Arithmetic processing method. (Appendix A7) The calculation method according to claim A5 or A6, the arithmetic processing device transfers the arithmetic data to one of the arithmetic units included in the arithmetic processing device in accordance with the content of the received read / write process command; Arithmetic processing method. (Appendix A8) A calculation method according to any one of Addendum A5 to A7, the arithmetic processing device returns a result of an operation executed by the arithmetic unit included in the arithmetic processing device in response to the content of the received read / write processing command; Arithmetic processing method. (Appendix A9) a receiving means for receiving a read / write processing command for the disk device; a computing means for executing a preset computing process corresponding to the content of the received read / write process command, the computing process being different from the process for the disk device; A processing unit comprising: (Appendix A9.1) The processor according to claim 9, the calculation means executes a preset calculation process corresponding to the type of the received read / write process command. Processing unit. (Appendix A9.2) A processing device according to appendix A9 or A9.1, the calculation means executes a preset calculation process corresponding to address information included in the received read / write process command; Processing unit. (Appendix A9.3) A processing device according to Appendix A9.2, comprising: the calculation means executes a preset calculation process corresponding to the type of the received read / write process command and address information included in the read / write command. Processing unit. (Appendix A9.4) A processing device according to any one of appendices A9 to A9.3, the calculation means, in response to the content of the received read / write processing command, transfers calculation data included in the read / write processing command to a calculation unit included in the calculation processing device, and executes a predetermined calculation process in the calculation unit; Processing unit. (Appendix A9.5) A processing device according to Appendix A9.4, comprising: the calculation means transfers the calculation data to all of the calculation units included in the calculation processing device in response to the content of the received read / write processing command; Processing unit. (Appendix A9.6) A processing device according to appendix A9.4 or A9.5, the calculation means transfers the calculation data to one of the calculation units included in the calculation processing device in response to the content of the received read / write processing command; Processing unit. (Appendix A9.7) A processing device according to any one of appendices A9.4 to A9.6, the calculation means returns a calculation result executed by the calculation unit included in the arithmetic processing device in response to the content of the received read / write process command; Processing unit. (Appendix A10) A processing unit includes: Accepts read and write processing commands for disk devices, a predetermined arithmetic process corresponding to the content of the received read / write process command, which is different from the process for the disk device; A program for executing a process. [Explanation of symbols]
[0059] 1 Server 11 Management Software 12 Path redundancy unit 13a, 13b, 13c, 13d Device files 14a,14b Driver Ports 15a and 15b 2 Processing Unit 21 I / O Controller 22 Management CPU 23 Memory 24 Flash Memory Ports 25a and 25b 26a,26b,26c,26d CPU for calculation 27a, 27b, 27c, 27d Memory P1,P2 path 100 Information processing device 101,201 CPU 102,202 ROM 103,203 RAM 104,204 Programs 105,205 Storage device 106,206 Drive device 107,207 Communication Interface 108,208 Input / Output Interface 109,209 Bus 110,210 Storage medium 111,211 Communication Network 121 Transmission Method 200 Processing unit 221 Reception methods 222 Arithmetic means
Claims
1. An information processing device, transmitting the read / write process command to a processor connected via a plurality of ports and configured to execute a process that is preset in accordance with the contents of the read / write process command for the disk device and is different from the process for the disk device, using the ports that are preset in accordance with the contents of the read / write process command; changing the port to be used in accordance with the content of the read / write processing command, and transmitting the read / write processing command to the arithmetic processing device; Information processing methods.
2. 2. The information processing method according to claim 1, The information processing device, When transmitting the read / write process command to one of a plurality of disk devices, the read / write process command is transmitted using the port that is preset in correspondence with the disk device; changing the port to be used in accordance with the contents of the read / write processing command, and transmitting the read / write command to the arithmetic processing device; Information processing methods.
3. 3. The information processing method according to claim 1, further comprising: The information processing device, when the port to be used is set to be changeable in accordance with the contents of the read / write processing command, the port to be used is changed and the read / write command is transmitted to the arithmetic processing device; Information processing methods.
4. 4. The information processing method according to claim 3, The information processing device, when the port to be used is set to be changeable in accordance with address information included in the read / write processing command, the port to be used is changed and the read / write command is transmitted to the arithmetic processing device; Information processing methods.
5. 4. The information processing method according to claim 3, The information processing device, when it is set that the port to be used can be changed according to the type of the read / write process command and the address information included in the read / write process command, the port to be used is changed and the read / write command is transmitted to the arithmetic processing device. Information processing methods.
6. 6. An information processing method according to claim 1, further comprising: The information processing device, acquiring a usage status of the port that is preset according to the content of the read / write process command, changing the port to be used according to the usage status and the content of the read / write process command, and transmitting the read / write process command to the arithmetic processing device; Information processing methods.
7. 7. An information processing method according to claim 1, further comprising: the arithmetic processing device executes a preset arithmetic processing different from the processing for the disk device, in response to address information included in the read / write processing command received from the information processing device; Information processing methods.
8. An information processing device and an arithmetic processing device connected via a plurality of ports, the information processing device includes a transmission means for transmitting a read / write process command to the arithmetic processing device using the port that is preset in accordance with the contents of the read / write process command for the disk device, and for changing the port to be used in accordance with the contents of the read / write process command and transmitting the read / write process command to the arithmetic processing device; the arithmetic processing device includes an arithmetic processing means for executing a preset arithmetic processing corresponding to the contents of the read / write process command received from the information processing device, the arithmetic processing being different from a read / write process for a disk device; Information processing system.
Citation Information
Patent Citations
Fixed disk device
JP2000029640A
Image processing apparatus, program for realizing functions of the apparatus, and recording medium
JP2004112585A
Storage system, access path state update method, and access path state update program
JP2012212295A
Image processing apparatus, image processing method, and program
JP2016122300A
Information processing system
JP2020063659A
