Execution device, execution method, and execution program
By dividing face recognition processes into independent components, the system simplifies and optimizes the implementation of face recognition systems, reducing the effort and resources needed for modifications and adaptations.
Patent Information
- Application Number
- JP2020103369
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-06-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-06-15
AI Technical Summary
Existing face recognition systems require significant time and effort to implement changes in analysis processes due to the need to modify or regenerate entire modules when process modifications are needed, even for minor changes.
The system divides analysis processes into independently executable components, allowing for the modification of specific processes without affecting the entire module, and executes these components sequentially or in parallel, facilitating easier implementation and optimization.
This approach reduces the time and computational resources required for implementing changes in face recognition processes, enabling flexible and efficient adaptation to different input types and scenarios.
Smart Images

Figure 0007575205000001 
Figure 0007575205000002 
Figure 0007575205000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an execution device, an execution method, and an execution program. [Background technology]
[0002] Conventionally, there are known technologies that perform predetermined analysis processing using various models such as DNN (Deep Neural Network). One example of such a technology is face detection and recognition (hereinafter collectively referred to as "face recognition") technology that performs image analysis using a model that has learned the characteristics of a human face, finds a facial area from an image, and determines whose face it is. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-071848 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, implementing the analysis process is time-consuming.
[0005] For example, when a user's face is recognized using a single module (or class, function, etc.) that performs face recognition, multiple processes are executed as an analysis process, such as detecting a human face from an image and identifying whose face the detected face is. However, when these multiple processes are realized by a single module, even if it is desired to change some of the multiple processes, it is necessary to reimplement the module as a whole, such as by modifying or regenerating it.
[0006] The present application has been made in view of the above, and has an object to make it easier to realize analysis processing. [Means for solving the problem]
[0007] The execution device of the present application is characterized in that it has a determination unit that determines the content of each of a plurality of processes that are executed when performing a specified analysis process, each of which can be executed independently, and an execution unit that executes the specified analysis process by executing the plurality of processes whose content has been determined by the determination unit. Effect of the Invention
[0008] According to one aspect of the embodiment, it is possible to easily realize the analysis process. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of a process executed by an information providing system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a platform for learning a model of the information providing system according to the embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of a platform for using a model of the information providing system according to the embodiment. [Figure 4] FIG. 4 is a diagram illustrating a flow of the analysis process according to the embodiment. [Diagram 5] FIG. 5 is a first diagram illustrating an example of a functional configuration according to the embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of information registered in the module database according to the embodiment. [Figure 7] FIG. 7 is a second diagram illustrating an example of a functional configuration according to the embodiment. [Figure 8] FIG. 8 is a diagram illustrating an example of information registered in the analysis processing database according to the embodiment. [Figure 9] FIG. 9 is a flowchart illustrating an example of a flow of a process executed by the information providing device according to the embodiment. [Figure 10] FIG. 10 is a diagram illustrating an example of a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the execution device, execution method, and execution program according to the present application will be described in detail with reference to the drawings. Note that the execution device, execution method, and execution program according to the present application are not limited to these embodiments. In addition, the embodiments can be appropriately combined as long as the processing contents are not contradictory. In addition, the same parts in the following embodiments are given the same reference numerals, and duplicated explanations will be omitted.
[0011] [1. Information provision device] First, an information providing system 1 that realizes an execution process by an execution method will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of a process executed by the information providing system according to the embodiment. Fig. 1 shows an example of a process executed by the information providing system 1, in which information that is the subject of various analyses such as video analysis (hereinafter referred to as "analysis subject information") is acquired, and the acquired information is analyzed (hereinafter referred to as "analysis process"), as an example of the process executed by the information providing system 1.
[0012] [1-1. Overview of the information providing device] As shown in FIG. 1, the information providing system 1 has a plurality of information providing devices 10, a queue server 100, a module management server 200, and a storage server 300. The configuration of the information providing system 1 is not limited to that shown in FIG. 1. For example, the information providing system 1 may have a single information providing device 10, or may have a plurality of queue servers 100, a plurality of module management servers 200, and a plurality of storage servers 300. The information providing system 1 may be capable of communicating with an external storage server instead of the storage server 300. The information providing system 1 may be realized by a cloud system or the like having the functions of the plurality of information providing devices 10, the queue server 100, the module management server 200, and the storage server 300.
[0013] The multiple information providing devices 10 are an example of an execution device, and realize the execution process described below. For example, the multiple information providing devices 10 are information processing devices capable of communicating with various devices via a predetermined network N such as the Internet (see, for example, FIG. 3), and are realized by, for example, a server device or a cloud system. For example, each information providing device 10 can communicate with a terminal device PC used by a user, a queue server 100, a module management server 200, and a storage server 300 via the network N. In the following description, when the multiple information providing devices 10 are not particularly distinguished from one another, they will simply be referred to as information providing devices 10.
[0014] The queue server 100 is an information processing device capable of communicating with the terminal device PC, the information providing device 10, etc., via a predetermined network N such as the Internet, and is realized, for example, by a server device, a cloud system, etc. For example, the queue server 100 holds analysis requests transmitted from the terminal device PC as a queue, and realizes queuing in which the queues are provided to the information providing device 10 in the order of the queue held first.
[0015] The module management server 200 is an information processing device capable of communicating with the terminal device PC, the information providing device 10, and the like via a predetermined network N such as the Internet, and is realized, for example, by a server device, a cloud system, or the like. The module management server 200 modifies, generates, manages, and the like, modules that execute various processes. Here, a module is a program module for realizing a configuration process described later. The module may be realized by various models, for example, an SVM (Support Vector Machine) or a DNN (Deep Neural Network). When a module is realized by such a model, the module management server 200 realizes reimplementation of the module by learning, re-learning, modifying, and the like of the model.
[0016] The storage server 300 is an information processing device capable of communicating with the terminal device PC, the information providing device 10, etc., via a predetermined network N such as the Internet, and is realized, for example, by a server device, a cloud system, etc. Upon receiving registration of analysis target information or registration of results of analysis processing, etc., the storage server 300 provides the received analysis target information and results.
[0017] The terminal device PC is a smart device such as a smartphone or tablet, or a PC (Personal Computer), and is an information processing device that can communicate with any server device via a wireless communication network such as 3G (Generation) or LTE (Long Term Evolution), or various other networks. For example, the terminal device PC registers analysis target information in the storage server 300, and upon receiving an analysis completion notification from the information providing device 10, acquires from the storage server 300 the analysis result registered by the information providing device 10.
[0018] [1-2. About execution processing] Here, in the conventional analysis process, when the process content is changed, the process content needs to be entirely revised, which is time-consuming. For example, when face recognition is performed using a single module, a pair of data in which a face image is used as input information and an authentication result is used as output information is prepared as learning data, and the module is created so that when input information is input, the correct pair of output information is output.
[0019] However, a module generated by such a method may not be able to output correctly when the input information is changed. For example, if only a frontal image of a face is used as input information for the learning data, the accuracy of face recognition using a side image of the face may decrease. However, in order to perform face recognition using a side image of the face in this way, it is necessary to prepare new paired data as learning data in which a side image of the face is used as input information and the authentication result is used as output information, and to correct and regenerate the module.
[0020] On the other hand, various analysis processes may be composed of multiple processes that are executed individually. For example, when face recognition using a video is considered as an analysis process, it can be divided into a division process that divides the video into frames, a detection process that detects the range in which a person's face is captured from the video divided by the division process, a classification process that classifies the captured face from the video divided by the division process and the detection result by the detection process, and a generation process that generates an authentication result of a person captured in the video from the detection result by the detection process and the classification result by the classification process.
[0021] In this way, when the analysis process is divided into sparse processes, that is, into a plurality of constituent processes that constitute the analysis process and can be executed independently, it is possible to realize the correction of the entire analysis process by correcting the processing contents for each constituent process. For example, when face recognition is composed of a division process, a detection process, a classification process, and a generation process, in order to correct face recognition using only a front image to face recognition adding a side image, the detection process is corrected to detect not only the front of the face but also the side of the face, and the classification process is corrected to perform classification based on the front and side of the face. When such a correction is made, it is not necessary to correct the constituent processes that are commonly executed, such as the division process and the generation process. Furthermore, when a common constituent process is included as a constituent process that constitutes a plurality of different analysis processes, a module that realizes such a constituent process can be shared without being generated for each analysis process.
[0022] Therefore, the information providing device 10 executes the following execution process. First, the information providing device 10 determines the content of each of a plurality of processes (i.e., constituent processes) that are executed when performing a predetermined analysis process and that can be executed independently. Then, the information providing device 10 executes the plurality of constituent processes whose content has been determined, thereby executing the predetermined analysis process.
[0023] In this way, the information providing device 10 does not execute the analysis process as one process, but determines a plurality of constituent processes that realize the analysis process, and executes each of the determined plurality of constituent processes. As a result of such processing, even if the content of the analysis process is changed or updated, the target of correction can be contained in the constituent process unit, so that the processing content to be corrected can be minimized. As a result, the information providing device 10 can reduce the effort, calculation resources, time, etc. required for reimplementation, and can easily realize the analysis process. In addition, the information providing device 10 can flexibly combine and realize the constituent processes that make up the analysis process, so that it can execute various analysis processes.
[0024] [1-3. An example of execution processing] An example of the execution process will be described below with reference to Fig. 1. First, the user U accesses the module management server 200 using the terminal device PC, and refers to the learning data stored in the module management server 200. The user U may also register, in the module management server 200, learning data to be used for learning, such as correcting or regenerating a module. The user U then assigns a label to the learning data (step S1). More specifically, the user U assigns a label to the learning data of a module that realizes configuration processing, as an index of what kind of output should be performed.
[0025] For example, the user U may assign an identifier for identifying the target user as a label to a face photo of the target user, who is a user to be subjected to face recognition, which is a frontal face photo. The user U may also assign a label indicating a positive example to learning data in which the face photo of the target user is associated with the identifier of the target user, and assign a negative example label to learning data in which the face photo of the target user is associated with the identifier of a target user different from the target user. When the user U also uses a profile of the target user, the user U may assign the identifier of the target user as a label to the image of the profile of the target user, or may assign a positive example label to a pair of the image of the profile of the target user and the identifier of the target user. In other words, the user U assigns a label to the learning data to set the learning data to be used for generating a module (or a model such as a neural network that operates as a module; the same applies below).
[0026] At this time, the user U specifies which module among the modules that realize the configuration process should use the learning data. For example, when the user U sets the learning data that is a pair of a face image and an identifier of the target user, the user U registers that the learning data is the learning data of a module used for classification processing among the configuration processes that realize face recognition. As a result of this processing, the module management server 200 uses the learning data set by the user U to train the module (step S2).
[0027] Here, the module management server 200 may generate a new module that realizes the classification process, or may reimplement (i.e., modify the processing content) an existing module that realizes the classification process using learning data set by the user U. For example, when there is an existing module that has learned the features of an image in which the front of the target user's face is captured, the module management server 200 may modify and regenerate the existing module using learning data that includes an image in which the side of the target user's face is captured.
[0028] In the above example, the user U sets learning data for generating a module used in classification processing, and generates the module, but the embodiment is not limited to this. For example, the user U may set learning data in any format for any module that realizes a configuration process that constitutes various analysis processes to be executed, such as a division process, a detection process, or a generation process. As a result of such processing, the module management server 200 can generate a module that realizes any configuration process, and can modify the contents of the configuration process in any format.
[0029] Next, the user U registers the analysis target information to be subjected to the analysis process in the storage server 300 (step S3). For example, when performing facial recognition of a person captured in a video, the user U registers the video data in the storage server 300. Then, the user U registers an analysis request at the end of the queue (step S4). For example, the user U transmits, as the analysis request, information for identifying the analysis target information (for example, the area in which the storage server 300 stores the analysis target information and an identifier for identifying the analysis target information) and specification information for specifying the content of the analysis process.
[0030] Here, the designation information is information indicating constituent processes constituting the analysis process and the contents of the constituent processes. For example, the user U designates a segmentation process, a detection process, a classification process, and a generation process as constituent processes for implementing face recognition, and also designates a module to be used for the classification process, a module to be used for the detection process, a module to be used for the classification process, and a module to be used for the generation process. In such a case, the terminal device PC generates designation information indicating the designated processes and modules, and transmits the designation information together with the analysis request.
[0031] The specification information may include information indicating the order in which each constituent process is executed and whether each constituent process is executed in order (i.e., serially) or simultaneously (i.e., in parallel). For example, assume that there are first to fifth processes as constituent processes that realize a certain analysis process. In such first to fifth processes, if the second process is a process that uses the processing result of the first process, the third process is a process that uses the processing result of the first or second process, the fourth process is a process that uses the processing results of the first to third processes, and the fifth process is a process that uses the processing results of the first to fourth processes, the information providing device 10 needs to execute the first to fifth processes serially. In such a case, the user U specifies that the processes are to be executed in the order of the first process, the second process, the third process, the fourth process, and the fifth process.
[0032] On the other hand, if the second process and the third process each use only the processing result of the first process, the second process and the third process are processes that can be executed simultaneously in parallel. In this case, the user U1 specifies that after executing the first process, the second process and the third process are executed simultaneously in parallel, and then the fourth process and the fifth process are executed.
[0033] Next, the information providing device 10 acquires the oldest queue from the queue server 100 (step S5). Then, the information providing device 10 executes the analysis process according to the acquired queue. More specifically, the information providing device 10 acquires the analysis target information indicated by the queue from the storage server 300 (step S6). Next, the information providing device 10 causes the module management server 200 to execute a process using a module for each constituent process that constitutes the analysis process according to the designation information (step S7). In this way, by executing a process using a module for each constituent process, the information providing device 10 executes the analysis process (step S8).
[0034] For example, the information providing device 10 executes a division process of the analysis target information. Then, the information providing device 10 acquires a result of the division process. Next, the information providing device 10 transmits the result of the division process to the module management server 200, and causes the detection process to be executed using a module that realizes the detection process. Then, the information providing device 10 acquires the result of the detection process.
[0035] Next, the information providing device 10 transmits the result of the division process and the result of the detection process to the module management server 200, and executes the classification process using a module that realizes the classification process. Then, the information providing device 10 acquires the result of the classification process. Then, the information providing device 10 executes the generation process using the result of the detection process and the result of the classification process. Then, the information providing device 10 acquires the result of the generation process, i.e., the analysis process such as face recognition.
[0036] The information providing device 10 also registers the results of the analysis process in the storage server 300 as the analysis results (step S9). The information providing device 10 also notifies the terminal device PC of the completion of the analysis (step S10). As a result, the user U can obtain the analysis results from the storage server 300 (step S11).
[0037] In this way, the information providing device 10 does not execute an analysis process such as face recognition as one process, but executes it by regarding it as multiple constituent processes. More specifically, the information providing device 10 determines the process content to be executed (e.g., the module to be used) for each constituent process, and executes the constituent processes of the determined process content sequentially or simultaneously in parallel to execute the analysis process. As a result of such processing, the information providing device 10 can accept changes and updates to the process content for each constituent process, and can realize the analysis process more easily. Furthermore, when a constituent process is the same as a constituent process that constitutes another analysis process, the information providing device 10 can reuse the module used for the constituent process, thereby reducing the time and calculation resources required to generate a module.
[0038] 1, the information providing device 10 causes the module management server 200 to execute the detection process and the classification process. However, the embodiment is not limited to this. For example, the information providing device 10 may cause the module management server 200 to execute all of the configuration processes, or may obtain, from the module management server 200, a module used in each process and specified by the specification information, and use the obtained module to realize the analysis process.
[0039] [1-4. An example of a platform] Next, an example of a platform for learning a model that operates as a module or a part thereof and for using the model will be described with reference to Figures 2 to 4. In the following description, the module and the model may be used synonymously.
[0040] First, an example of a platform for model training will be described with reference to FIG. 2. FIG. 2 is a diagram showing an example of a platform for model training of an information provision system according to an embodiment. For example, in the case shown in FIG. 2, training data collected by an image crawler is registered in a predetermined storage (Store training data). In such a case, a user U (User) refers to the training data registered in the object storage and assigns a label (Annotate data). Then, the user U requests model training (Issue request) via a Training API (Application Programming Interface) of a cluster (Cluster for training) that trains the model, such as the module management server 200.
[0041] In such a case, the Training API assigns model training to one of the constituent units (e.g., a server or a system) that make up the cluster (Invoke job). The constituent unit then reads the labeled training data from the object storage, trains the model using the read training data (Training jobs), and registers the trained model in the object storage (Store model). Note that the object storage in which the trained model is stored and the object storage in which the training data is registered may be the same storage device or different storage devices.
[0042] 2 is equipped with a Cluster for inference that deploys trained models. For example, the model updater that constitutes the Cluster for inference polls the Object storage, and when a difference occurs in a registered model (i.e., when a model is registered or updated), it requests the ML model server to update the model (Request update). As a result, the ML model server, i.e., the module management server 200, can always use the latest model.
[0043] In the example shown in FIG. 1, in order to facilitate understanding of the features of the invention, it is assumed that the module management server 200 executes various processes for managing the model. In such a case, each component of the platform shown in FIG. 2 is possessed by the module management server 200. However, the embodiment is not limited to this. For example, when the module management server 200 corresponds to the ML model server shown in FIG. 2, the other components shown in FIG. 2 are realized by an information processing device, a cloud system, or the like, different from the module management server 200.
[0044] Next, an example of a platform for using a model will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of a platform for using a model of an information provision system according to an embodiment. For example, in the example shown in Fig. 3, a user U (User) registers a video file (Store video file) that is to be analyzed in an Object storage (e.g., the storage server 300). Then, the user U registers an analysis request (Request analysis) in an Analysis API (e.g., the queue server 100).
[0045] In such a case, the Analysis API adds the analysis request to the end of the queue (Enqueue request). Then, such an analysis request is notified to one of the multiple Kubernetes clusters (e.g., corresponding to the information providing device 10) via the Massaging system. Note that such a function of the Massaging system may be realized as a function possessed by the queue server 100.
[0046] Here, the Job operator that constitutes the Kubernetes cluster polls the Massagging system to obtain analysis requests. When the Job operator obtains an analysis request, it assigns the execution of the analysis process to a cluster that executes the analysis process (Analysis jobs) (Invoke job).
[0047] In such a case, the cluster performing the analysis process obtains the video image that is the information to be analyzed from the object storage (Download video file), and has the ML model server perform the configuration process using the model (Request inference). Then, when all the configuration processes are completed, the cluster performing the analysis process registers the final execution result obtained as the analysis result in the object storage (Store analysis result). In addition, the cluster performing the analysis process notifies the user U of the completion of the analysis process via the massaging system (Notify completion). As a result, the user U can obtain the analysis result from the object storage.
[0048] Next, the flow of the analysis process will be described with reference to Fig. 4. Fig. 4 is a diagram showing the flow of the analysis process according to the embodiment. As shown in Fig. 4, the information providing device 10 loosely couples the pipeline of the analysis process by abstracting the constituent processes that constitute the analysis process as modules. As a result of such processing, the information providing device 10 can facilitate tasks such as updating the contents of the constituent processes and rearranging the constituent processes that constitute the analysis process, and can reduce the man-hours required to make a single model into an API.
[0049] For example, a video registered in the Object Storage is input to the Store. Next, a Video Splitter that realizes the splitting process reads the video from the Store, generates Frame Images, which are still images for each frame, and inputs the generated Frame Images to the Store. Next, a Face Detector Module that realizes the detection process acquires the Frame Images from the Store and transmits them to a Face Detector Inference Server (e.g., the module management server 200). As a result, the Face Detector Inference Server executes the detection process using the model and returns the execution result to the Face Detector Module. Then, the Face Detector Module inputs the result of the detection process, for example, information on a Bounding Box that indicates the range in which a person's face is captured in the Frame Image, to the Store.
[0050] Next, a CNN (Convolutional Neural Network) Classifier Module that realizes the classification process obtains the Bounding Box, which is the result of the detection process, and the Frame Image, which is the result of the segmentation process, from the Store. The CNN Classifier Module then transmits them to a CNN Classifier Inference Server (e.g., the module management server 200). As a result, the CNN Classifier Inference Server executes the classification process using the model, and returns the execution result to the CNN Classifier Module. The CNN Classifier Module then inputs the result of the detection process, for example, a Classification Result, which is an identification result (classification result) of a user photographed within the Bounding Box, to the Store.
[0051] Next, the Shaper Module, which realizes the generation process, obtains the Bounding Box, which is the result of the detection process, and the Classification Result, which is the result of the classification process, from the Store. In such a case, the Shaper Module generates the authentication result of the user and inputs the generated authentication result to the Store. The Store then registers the authentication result as a Result in the Object Storage.
[0052] When such an analysis pipeline is configured, for example, when updating the Face Detector model, it is only necessary to update the model of the Face Detector Inference Server, which can reduce the effort of replacing and redeploying the Face Detector code. Also, when such an analysis pipeline is configured, for example, even if the person to be recognized changes, modules other than the CNN Classifier Inference Server can be used in common.
[0053] In addition to the above-mentioned processing, even if it is desired to change the face recognition algorithm and perform analysis processing such as face detection, extraction of face feature vectors, and recognition using the k-nearest neighbor method using the feature vectors, the information provision system 1 can utilize the Video Splitter, Face Detector, and Shaper modules.
[0054] [1-5. Variations of Information Provision System 1] In the above description, the information providing system 1 shown in Fig. 1 realizes the decision processing along the platform shown in Fig. 2 to Fig. 4. However, the embodiment is not limited to this. Below, a variation of the embodiment that realizes the execution processing, that is, a variation of the information providing system 1, will be described.
[0055] [1-5-1. About the implementing body] In the above description, an example of a process in which a plurality of information providing devices 10, a queue server 100, a module management server 200, and a storage server 300 cooperate to realize an execution process has been described. However, the embodiment is not limited to this. For example, the information providing device 10 may be a single server device or a cloud system that performs the functions of the queue server 100, the module management server 200, and the storage server 300. In the case of having such a configuration, the information providing device 10 has a function of holding an analysis request as a queue like the queue server 100, a function of generating and managing a model and executing a configuration process using the model like the module management server 200, and a function of holding various information like the storage server 300.
[0056] Furthermore, the information providing system 1 may not have the storage server 300, and may use any storage system installed externally to transmit and receive the analysis target information and the analysis results to and from the user U. Furthermore, the information providing system 1 may hold the model in an external server, for example.
[0057] [1-5-2. Estimation of processing] In the above example, the information providing device 10 executes multiple constituent processes designated by the user as the analysis process. However, the embodiment is not limited to this. For example, the information providing device 10 may only receive a designation of the analysis process to be executed from the user. In such a case, the information providing device 10 identifies multiple constituent processes that realize the designated analysis process. For example, the information providing device 10 may identify the constituent processes using a table that previously associates an analysis process with multiple constituent processes for realizing the analysis process.
[0058] The information providing device 10 may also estimate the constituent process to be executed based on a history of pairs of analysis target information, constituent processes constituting the analysis process executed on the analysis target information, and the results of the analysis process. For example, the information providing device 10 calculates the type and content of the analysis target information in the history, and various feature amounts, and generates learning data in which the feature amounts are associated with the accuracy of the analysis process results and constituent process information indicating the content and order of multiple constituent processes executed to realize the analysis process. The information providing device 10 then regards the feature amount and constituent process information of the learning data whose accuracy exceeds a predetermined threshold as positive examples, and regards the feature amount and constituent process information of the learning data whose accuracy is below the predetermined threshold as negative examples.
[0059] Then, the information providing device 10 makes a predetermined model learn the features of positive examples and negative examples. For example, the information providing device 10 performs model learning so that when a feature amount of a positive example is input to the model, the information providing device 10 outputs configuration processing information associated with the feature amount, and when a feature amount of a negative example is input to the model, the information providing device 10 does not output configuration processing information associated with the feature amount.
[0060] Next, when the information providing device 10 receives an analysis request, it calculates the feature amount of the analysis target information and inputs the calculated feature amount to the trained model. Then, the information providing device 10 acquires the information output by the model as configuration processing information indicating the content and order of multiple configuration processing for realizing the analysis processing. As a result, the information providing device 10 can execute the configuration processing whose content corresponds to the feature amount of the analysis target information in the order corresponding to the feature amount of the analysis target information.
[0061] The constituent process information may indicate the constituent processes themselves or the order of the constituent processes that constitute the analysis process, or may indicate the contents of the constituent processes, i.e., the modules used to realize the constituent processes. By learning the model using such constituent process information, the information providing device 10 can execute the constituent process using a module according to the characteristics of the information to be analyzed. For example, in a process of performing face recognition from a moving image, if there is a difference in accuracy between a case where a first model is used and a case where a second model is used for classification processing, the information providing device 10 can use the model that exhibits higher accuracy as the model (i.e., the module) to be used for classification processing.
[0062] In addition, the information providing device 10 can appropriately optimize the configuration process to be executed and its contents according to the similarity between the feature amount of the analysis target information in the past history and the feature amount of the new analysis target information. A more specific example will be described. For example, in the past history, when the first module is used for classification processing for face recognition processing from a moving image such as a movie, the accuracy of the analysis result is higher than that when the second module is used, and when the second module is used for classification processing for face recognition processing from a moving image such as a surveillance camera, the accuracy of the analysis result is higher than that when the first module is used. Even in such a case, the information providing device 10 can select the first module as the module to be used for classification processing when the feature amount of the moving image to be the analysis target information is similar to the feature amount of the moving image such as a movie, and can select the second module as the module to be used for classification processing when the feature amount of the moving image to be the analysis target information is similar to the feature amount of the moving image such as a surveillance camera.
[0063] Also, for example, a first analysis process that performs a division process, a detection process, a classification process, and a generation process on a movie or other video image and a surveillance camera or other video image, and a second analysis process that performs a classification process, a detection process, an extraction process that extracts a feature vector of a detected face, and a neighborhood classification process that performs classification by a k-nearest neighbor method using the feature vector, are respectively performed. Also, for movies or other video images, the first analysis process is more accurate than the second analysis process, and for surveillance camera or other video images, the second analysis process is more accurate than the first analysis process. Even in such a case, the information providing device 10 can execute the constituent processes constituting the first analysis process when the feature amount of the video image that becomes the new analysis target information is similar to the feature amount of the movie or other video image, and can execute the constituent processes constituting the second analysis process when the feature amount of the video image that becomes the new analysis target information is similar to the feature amount of the surveillance camera or other video image. In this way, the information providing device 10 can provide more appropriate analysis results by optimizing the constituent processes constituting the analysis process and the contents of the constituent processes based on the features of the analysis target information.
[0064] The information providing device 10 may use features of the analysis target information and the analysis processing information indicating the analysis processing specified by the user to be executed. By using such features as learning targets, the information providing device 10 can determine appropriate constituent processing for each analysis processing as a target to be executed, even if the user desires multiple different analysis processing for the same analysis target information.
[0065] [1-5-3. Cluster control] In the above example, the information providing system 1 holds the analysis requests as a queue, and the information providing device 10 capable of executing the analysis process (i.e., the execution cluster of the analysis process) executes the analysis process that is the first queue. Here, the information providing system 1 may control the number of execution clusters that execute the process according to the number of queues held by the queue server 100 or the computational resources capable of executing the analysis process.
[0066] For example, when the number of queues falls below a predetermined threshold, the information providing system 1 may reduce power consumption by setting the number of information providing devices 10 that execute analysis processing to a predetermined threshold or less. Also, when the number of queues exceeds a predetermined threshold, the information providing system 1 may increase the number of information providing devices 10 that execute analysis processing to reduce the waiting time of the user U.
[0067] For example, the information providing system 1 calculates an index value of the computational resources required for the analysis process based on the content of the analysis process requested to be executed by the analysis request held as a queue, the amount of data of the information to be analyzed, etc. To give a more specific example, the information providing system 1 calculates an index value for each analysis request based on the number of required CPUs (Central Processing Units), the amount of memory, the number of information providing devices 10, the time required for calculation, etc., and calculates the sum of the index values of each analysis request held as a queue. Then, when the sum of the calculated index values is below a predetermined threshold, the information providing system 1 may set the number of information providing devices 10 that execute the analysis process to be equal to or less than the predetermined threshold, and when the sum of the index values exceeds the predetermined threshold, may increase the number of information providing devices 10 that execute the analysis process.
[0068] Such an index value may change depending on, for example, whether the constituent processes constituting the analysis process are executed in series or in parallel. By changing the number of execution clusters depending on such an index value, the information providing system 1 can realize more appropriate execution of the analysis process.
[0069] [1-5-4. Others] When the information providing system 1 receives only the designation of the analysis target information and the analysis process, the information providing system 1 may automatically determine the content of the analysis process according to the characteristics of the analysis target information. In this way, when the content of the analysis process is automatically determined, for example, the Job operator shown in Fig. 3 becomes a black box for the user.
[0070] [2. Example of functional configuration] An example of the functional configuration of the information providing system 1 described above will be described below. In the following description, an example of the functional configuration of the queue server 100 and the module management server 200 will be described first, and then an example of the functional configuration of the information providing device 10 will be described. Note that the functional configuration described below is merely an example, and for example, all of the functional configurations described below may be possessed by the information providing device 10, or may be possessed by different devices in any unit.
[0071] [2-1. An example of the functional configuration of the queue server and module management server] 5 is a first diagram showing an example of a functional configuration according to an embodiment. As shown in FIG. 5, the queue server 100 includes a communication unit 120, a storage unit 130, and a control unit 140.
[0072] The communication unit 120 is realized by, for example, a NIC (Network Interface Card) etc. The communication unit 120 is connected to the network N by wire or wirelessly, and transmits and receives information between the terminal device PC, the information providing device 10, the module management server 200, and the storage server 300.
[0073] The storage unit 130 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 130 also stores queue data 131. The queue data 131 is a queued analysis request.
[0074] Continuing the explanation, the control unit 140 is a controller, and is realized, for example, by a processor such as a CPU (Central Processing Unit) or MPU (Micro Processing Unit) executing various programs stored in a storage device inside the queue server 100 using a RAM or the like as a working area. The control unit 140 is also a controller, and may be realized, for example, by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
[0075] 5, the control unit 140 includes a storage unit 141 and a change unit 142. The storage unit 141 temporarily stores an analysis request for executing a predetermined analysis process received from a user. For example, when the storage unit 141 receives an analysis request indicating analysis target information to be analyzed, an analysis process, and a requesting user, the storage unit 141 stores the request as queue data 131 in the storage unit 130. The storage unit 141 may store an analysis request indicating a plurality of constituent processes to be executed as the analysis process and the contents of the constituent processes.
[0076] Then, when the storage unit 141 receives a request for distribution of an analysis request from the information providing device 10, it provides the analysis request that satisfies a predetermined condition among the analysis requests registered as the queue data 131 to the information providing device 10. For example, the storage unit 141 may provide the analysis request with the oldest retention date and time (i.e., the earliest analysis request) among the queue data 131. The storage unit 141 may also provide the analysis request stored as the queue data 131 according to various conditions. For example, the storage unit 141 may refer to the importance previously set by the user for the analysis request, and provide the analysis request with the highest importance to the information providing device 10 with priority. The storage unit 141 may also estimate the time and amount of calculation resources required for analysis from the contents of the analysis process, etc., and transmit the analysis request to the information providing device 10 in an order according to the estimation result. The storage unit 141 may also provide the analysis request in an order according to a combination of multiple conditions. For example, the storage unit 141 may provide the analysis request with higher priority as the urgency increases or as the retention date and time increases. The order in which such analysis requests are provided may adopt various arbitrary conditions.
[0077] The change unit 142 changes the number of execution clusters of the information providing device 10 that executes the analysis process based on the computational resources capable of executing the analysis process or the number of held analysis requests. For example, the change unit 142 refers to the queue data 131 and counts the number of queued analysis requests. The change unit 142 also refers to the contents of each analysis request and calculates the computational resources required to execute all queued analysis requests within a predetermined time.
[0078] Then, the change unit 142 controls the number of execution clusters that execute the analysis process according to the number of analysis requests and the amount of computational resources. For example, when the number of analysis requests or the amount of computational resources falls below a predetermined threshold, the change unit 142 may request all information providing devices 10 other than a predetermined number of information providing devices 10 among the multiple information providing devices 10 to stop executing the analysis process, and when the number of analysis requests or the amount of computational resources exceeds the predetermined threshold, the change unit 142 may request the information providing devices 10 to execute the analysis process so that the number of information providing devices 10 that execute the analysis process becomes a predetermined number (for example, a number according to the number of analysis requests or the amount of computational resources).
[0079] Next, a description will be given of an example of the functional configuration of the module management server 200. As shown in FIG.
[0080] The communication unit 220 is realized by, for example, a NIC, similar to the communication unit 120. The communication unit 220 is connected to the network N by wire or wirelessly, and transmits and receives information between the terminal device PC, the information providing device 10, the queue server 100, and the storage server 300.
[0081] The storage unit 230 is realized by, for example, a semiconductor memory element such as a RAM or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 230 also stores learning data 231 and a module database 232. Note that, in the example shown in Fig. 5, the module management server 200 stores the module database 232 in the storage unit 230 within its own device, but the embodiment is not limited to this. The module management server 200 may register the module database 232 in various predetermined external storages, instead of in the storage unit 230 within its own device.
[0082] The learning data 231 is learning data to be used for generating a module. For example, the module management server 200 crawls content such as still images, moving images, news articles, and various posts available on the network, and registers the collected content in the storage unit 230 as the learning data 231. The module management server 200 may also register various content registered by a user in the storage unit 230 as the learning data 231.
[0083] Various modules for implementing configuration processing are registered in the module database 232. For example, Fig. 6 is a diagram showing an example of information registered in the module database according to the embodiment. As shown in Fig. 6, the module database 232 registers "module ID (identifier)", "response processing", "learning content", "input format", "output format", and "module data".
[0084] Here, the "module ID" is an identifier for identifying a module. The "corresponding process" indicates which configuration process the module identified by the associated "module ID" is used for. The "learning content" is information indicating what kind of learning data was used to generate the module. The "input format" is information indicating the content of the input data input to the module, such as the type and content of data, the number of dimensions of data, and information for identifying one or more types of information that were input data. The "output format" is information indicating the content of the output data output by the module when the input data is input, such as information for identifying what the output data indicates, the number of dimensions of the output data, etc. The "module data" is data of the module, such as information indicating the connection relationship of the nodes that constitute the DNN and the values of the connection coefficients.
[0085] For example, in the example shown in FIG. 6, a module ID "MID1", a corresponding process "face detection", a learning content "front", an input format "input format #1", an output format "output format #1", and module data "MD1" are registered in association with each other. Such information indicates that the module indicated by the module ID "MID1" is a module realized by the module data "MD1", and is a module for realizing the configuration process indicated by the corresponding process "face detection". In addition, such information indicates that the module has performed learning using learning data indicated by the learning content "front", for example, an image of a person taken from the front, as learning data. In addition, such information indicates that when the module inputs input data in a format indicated by the input format "input format #1", it outputs output data in a format indicated by the output format "output format #1".
[0086] 6, a conceptual value such as "input format #1" is described, but in reality, the module database 232 registers information such as what type of data the input data input to the module is, what dimension the data is, and how many types of data are input and in what form, i.e., various parameters indicating the form of information used as input data during learning. Also, in FIG. 6, a conceptual value such as "output format #1" is described, but in reality, the module database 232 registers information such as what type of information the output data output by the module indicates and how, what dimension the data is, and how many types of data are output and in what form, i.e., various parameters indicating the form of information used as output data during learning.
[0087] Returning to Fig. 5, the explanation will be continued. The control unit 240 is a controller, and is realized by a processor such as a CPU or MPU, for example, executing various programs stored in a storage device inside the module management server 200 using a RAM or the like as a working area. The control unit 240 is also a controller, and may be realized by an integrated circuit such as an ASIC or FPGA, for example.
[0088] As shown in FIG. 5, the control unit 240 includes an acquisition unit 241, a learning unit 242, a registration unit 243, and a provision unit 244.
[0089] The acquiring unit 241 acquires a label assigned by a user to learning data registered in a predetermined storage device. For example, the acquiring unit 241 uses various crawling techniques to collect various contents that become learning data, and registers the collected contents in the storage unit 230 as learning data 231. The acquiring unit 241 may acquire the content that becomes learning data designated by the user from the terminal device PC.
[0090] Furthermore, when the acquiring unit 241 receives conditions for learning data to be labeled from the terminal device PC, it distributes the learning data 231 that matches the conditions to the terminal device PC. Then, the acquiring unit 241 acquires the labels assigned by the user to each learning data 231. Note that the acquiring unit 241 may acquire data in which a label is assigned to a pair of learning data to be input data and learning data that becomes output data (or an index of the output data) when the input data is input, such that the pair is a positive example or a negative example. Regarding the manner of assigning such a label, any setting can be adopted depending on the learning method of the module.
[0091] The learning unit 242 uses the label and the learning data to generate a module to be used in any one of a plurality of processes. For example, the learning unit 242 receives a designation of a module to be learned from the terminal device PC. In such a case, the learning unit 242 reads the module from the module database 232, and executes correction and regeneration of the module (i.e., learning of the module) using the learning data and the label. Then, the registration unit 243 registers the learned module in a predetermined module storage device. For example, the registration unit 243 updates the module before reimplementation registered in the module database 232 with the module after reimplementation.
[0092] When learning a new module or when registering a new module in the module database 232 as a module different from the module before update, the learning unit 242 accepts registration of a response process, learning contents, input format, and output format from the terminal device PC. Then, the learning unit 242 causes the module to learn the characteristics of the learning data according to the accepted input format and output format. After that, the registration unit 243 may register the learned module in the module database 232 in association with the response process and learning contents accepted from the terminal device PC.
[0093] The providing unit 244 provides the module or the result of the configuration process using the module. For example, when the information providing device 10 executes the configuration process using the module within its own device, the providing unit 244 accepts the designation of the module to be distributed. In such a case, the providing unit 233 transmits the module data of the designated module to the information providing device 10.
[0094] On the other hand, when the information providing device 10 does not execute the configuration process using a module on its own device, the providing unit 244 accepts the designation of the module that executes the configuration process and the input data to be input to the module. In such a case, the providing unit 244 reads out the designated module from the module database 232 and inputs the input data to the read out module. Then, the providing unit 244 provides the output data output by the module to the information providing device 10 as the execution result of the configuration process.
[0095] The providing unit 244 may input the input data to the module as is, or may input data generated from the input data according to the input format associated with the module to the module. The providing unit 244 may provide the output data as is as the execution result of the configuration process, or may provide various information obtained by modifying the output data output by the module based on the output format associated with the module as the execution result of the configuration process.
[0096] [2-2. An example of the functional configuration of the information providing device] Next, an example of a functional configuration of the information providing device 10 will be described. Fig. 7 is a second diagram showing an example of a functional configuration according to an embodiment. As shown in Fig. 7, the information providing device 10 has a communication unit 20, a storage unit 30, and a control unit 40.
[0097] The communication unit 20 is realized by, for example, a NIC, similar to the communication units 120 and 220. The communication unit 20 is connected to the network N by wire or wirelessly, and transmits and receives information between the terminal device PC, the queue server 100, the module management server 200, and the storage server 300.
[0098] The storage unit 30 is realized by, for example, a semiconductor memory element such as a RAM or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 30 also stores an analysis process database 31 and an analysis history database 32.
[0099] In the analysis process database 31, analysis processes and configuration information constituting the analysis processes are registered in association with each other. For example, FIG. 8 is a diagram showing an example of information registered in the analysis process database according to the embodiment. As shown in FIG. 8, an "analysis process ID", "processing content", "execution process", and "execution order" are registered in the analysis process database 31. Note that, in addition to the information shown in FIG. 8, the analysis process database 31 may also register information included in the execution result of each process, a module ID indicating a module for realizing each process, and the like in association with each other.
[0100] "Analysis process ID" is an identifier for identifying the analysis process. "Processing content" is information indicating what type of analysis process it is. "Execution process" is information indicating multiple constituent processes that realize the analysis process. "Execution order" is information indicating the order in which each constituent process is executed.
[0101] For example, in the example shown in Figure 8, the analysis process indicated by the analysis process ID "AID1" is a "face recognition" process that recognizes a user's face from a video image, and it is registered that the analysis process is realized by executing the execution processes "segmentation process," "detection process," "classification process," and "generation process" in order.
[0102] Returning to Fig. 7, the description will be continued. Results of analysis processing and the like are registered in the analysis history database 32. For example, the analysis history database 32 is assumed to register analysis target information that was the subject of the analysis processing, a plurality of processes executed to realize the analysis processing, and the results of the analysis processing in association with each other.
[0103] The control unit 40 is a controller, and is realized, for example, by a processor such as a CPU or an MPU, executing various programs stored in a storage device inside the information providing device 10 using a RAM or the like as a working area. The control unit 40 is also a controller, and may be realized, for example, by an integrated circuit such as an ASIC or an FPGA.
[0104] In the example shown in FIG. 7, the control unit 40 includes a receiving unit 41, a determining unit 42, an executing unit 43, a notifying unit 44, and an estimating unit 45.
[0105] The reception unit 41 receives an analysis request, which is an analysis request for an analysis process. For example, when all constituent processes constituting the analysis process are executed by the execution unit 43 and the user is notified of the completion of the analysis process by the notification unit 44, the reception unit 41 requests the queue server 100 to distribute the analysis request. Note that, for example, when the computational resources of the information providing device 10 exceed a predetermined threshold, the reception unit 41 requests the queue server 100 to distribute the analysis request. Then, the reception unit 41 receives an analysis request that satisfies a predetermined condition, such as the earliest analysis request, among the queued analysis requests. As a result, the execution unit 43 executes a predetermined analysis process according to the analysis request with the oldest retention date and time among the retained analysis requests.
[0106] The determination unit 42 determines the content of each of the multiple processes that are executed when performing the analysis process and that can be executed independently. For example, when the determination unit 42 receives an analysis request, it identifies the analysis process that the analysis request requests to be executed. Then, the determination unit 42 identifies, from the analysis process database 31, multiple constituent processes that constitute the identified analysis process.
[0107] Here, when the analysis process is realized by a plurality of constituent processes executed in series, the determination unit 42 determines, as the execution target, the plurality of constituent processes executed in series, for example, a plurality of constituent processes including a constituent process that uses the result of a process executed earlier. Also, when the analysis process includes a plurality of constituent processes that can be executed in parallel, the determination unit 42 determines, as the execution target, the plurality of constituent processes that can be executed in parallel.
[0108] Note that, when there are multiple modules that realize the same configuration process, that is, when multiple modules are registered in the module database 232, the determination unit 42 may determine which module to use. For example, when there are multiple modules that realize a detection process in the module database 232, the determination unit 42 may determine the module that actually realizes the detection process from among these modules. To give a more specific example, when a module to be used is designated by a user via an analysis request, the determination unit 42 may determine to execute the configuration process using that module.
[0109] Furthermore, the determination unit 42 may determine to execute the configuration process using a module different from the designated module. Furthermore, when a specific module is registered as a reference module for executing a certain configuration process, the determination unit 42 may determine to execute the configuration process using a module different from the module. For example, when there is a module that is estimated by the estimation unit 45 to improve the accuracy of the analysis process more than the designated module or the reference module as a module for realizing a certain configuration process, the determination unit 42 may determine to execute the configuration process using the module.
[0110] Here, when changing a module used for a certain configuration process, it is necessary to suppress the influence on other configuration processes executed using the processing results of the configuration process. Therefore, the determination unit 42 changes the input information from the same format as the module before the change to a module that has been generated so as to generate output information that has the same format as the module before the change but has different content from the module before the change. For example, the determination unit 42 may adopt, as the module after the change, a module that has the same format of output data, number of dimensions, etc. as the module before the change.
[0111] The execution unit 43 executes a predetermined analysis process by executing a plurality of constituent processes whose contents have been determined by the determination unit 42. For example, the execution unit 43 executes the constituent processes using the modules determined to be used by the determination unit 42. For example, decision Part 4 2 teeth ,fruit Identifying the plurality of constituent processes for which the rows have been determined, the modules used to realize each of the constituent processes, and the order in which each of the constituent processes is executed; and execution Part 4 3 is specific Be The configuration process is carried out according to the contents.
[0112] for example, execution Part 4 3acquires the analysis target information from the storage server 300, transmits the acquired analysis target information to the module management server 200, and notifies the configuration process to be executed first and the modules to be used in the configuration process. As a result of such processing, the module management server 200 executes the configuration process using the notified modules for the analysis target information, and transmits the execution result to the information providing device 10.
[0113] Next, execution Part 4 3 transmits the execution result of the initial process to the module management server 200, and notifies the configuration process to be executed next and the module to be used in the configuration process. As a result of this process, the module management server 200 executes the configuration process using the notified module for the execution result of the initial configuration process, and transmits the execution result to the information providing device 10. By repeating this process, the execution unit 43 realizes the configuration process.
[0114] In addition, execution Part 4 3 The module management server 200 may transmit information indicating the location of the analysis target information to the module management server 200, and may notify each configuration process, a module indicating the configuration process, and an order in which the configuration processes are to be executed. In such a case, the module management server 200 downloads the analysis target information from the storage server 300. D Then, each configuration process is executed, and the execution results are registered in the storage server 300. The module management server 200 then notifies the information providing device 10 of the location of the execution results.
[0115] Also, execution Part 4 3 is specific Be The module management server 200 may acquire the module and execute the configuration process within the device itself. execution Part 4 3 The execution results of each configuration process are registered in the storage server 300.
[0116] When the execution result of the analysis process is registered in the external storage device, the notification unit 44 notifies the user U that the analysis process is completed. For example, when the analysis process is completed and the analysis result is registered in the storage server 300, the notification unit 44 transmits the location of the analysis result to the terminal device PC.
[0117] The estimation unit 45 estimates the processing to be executed based on the target information that was the subject of a predetermined analysis processing, the multiple processing executed to realize the predetermined analysis processing, and the history of the results of the analysis processing of the target information. For example, the execution unit 43 registers the content of the executed analysis processing, the content and order of the multiple constituent processing executed as the analysis processing, the modules used to realize the constituent processing, etc., in the analysis history database 32 as the analysis history. In addition, the execution unit 43 evaluates the accuracy of the analysis result using various known evaluation techniques for evaluating the accuracy of the processing result, and registers the evaluation result in the analysis history database 32. Note that the execution unit 43 may take the evaluation received from the user as the evaluation result.
[0118] When such information is registered in the analysis history database 32, the estimation unit 45 makes a predetermined module learn the relationship between the tendency of the analysis target information, the content of the analysis process, the configuration processing information indicating the content and order of the configuration processing executed as the analysis process, and the module used in the configuration processing, and the evaluation result of the analysis process. For example, the estimation unit 45 makes the module learn to output configuration processing information that improves the accuracy of the analysis process when the tendency of the analysis target information and the content of the analysis process are input. Then, when executing a new analysis process, the estimation unit 45 acquires configuration processing information indicating the configuration processing that improves the accuracy of the analysis process based on the tendency of the analysis target information. When such processing is performed, the determination unit 42 determines the content, order, and module of the configuration processing to be executed based on the configuration processing information acquired by the estimation unit 45.
[0119] 3. Example of process flow executed by information providing device Next, a flow of processing executed by the information providing device 10 will be described with reference to Fig. 9. Fig. 9 is a flowchart showing an example of a flow of processing executed by the information providing device according to the embodiment.
[0120] For example, the information providing device 10 acquires an analysis request from a queue (step S101), and identifies a plurality of processes to be executed as the analysis process, each of which is to be executed individually (step S102). That is, the information providing device 10 identifies a plurality of constituent processes. Then, the information providing device 10 determines the content of each process individually (step S103). For example, the information providing device 10 determines which module is to be used to realize which constituent process. Then, the information providing device 10 realizes the analysis process by executing the determined process (step S104), and ends the process.
[0121] 4. Modifications The above describes an example of the process performed by the information providing system 1. However, the embodiment is not limited to this. Below, variations of the process performed by the information providing system 1 will be described.
[0122] [4-1. Variations in analysis processing] In the above description, an example of face recognition processing using the face of a person captured in a video has been described as an example of analysis processing. However, the embodiment is not limited to this. The information providing system 1 may apply the above-described execution processing to processing realized by a plurality of constituent processes that can be executed individually, that is, processing with any content and purpose as long as it is analysis processing.
[0123] For example, the information providing system 1 may treat a process of adding subtitles to a video as the analysis process. When implementing such an analysis process, the information providing system 1 executes, as constituent processes, an extraction process of extracting audio from a video with audio, a generation process of generating a power spectrum or feature of the audio from the audio data, an identification process of identifying words included in the audio from the power spectrum or feature of the audio, a subtitle generation process of generating subtitle data for the identified words, and a video generation process of generating a video with the subtitle data superimposed on the video.
[0124] Furthermore, the information providing system 1 may treat information in any format, such as audio, still images, moving images, text, and various log data, as the analysis target information, and may execute a composition process of any content on any of this information.
[0125] [4-2.Other] In addition, among the processes described in the above embodiments, all or part of the processes described as being performed automatically can be performed manually, and conversely, all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified. For example, the various information shown in each drawing is not limited to the illustrated information.
[0126] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.
[0127] Furthermore, the above-described embodiments can be appropriately combined as long as the processing contents are not contradictory.
[0128] [4-3. Program] The information providing device 10 according to the embodiment described above is realized by a computer 1000 having a configuration as shown in Fig. 10, for example. Fig. 10 is a diagram showing an example of a hardware configuration. The computer 1000 is connected to an output device 1010 and an input device 1020, and has a configuration in which a calculation device 1030, a primary storage device 1040, a secondary storage device 1050, an output IF (Interface) 1060, an input IF 1070, and a network IF 1080 are connected by a bus 1090.
[0129] The arithmetic device 1030 operates based on programs stored in the primary storage device 1040 and the secondary storage device 1050 and programs read from the input device 1020, and executes various processes. The primary storage device 1040 is a memory device, such as a RAM, that temporarily stores data used by the arithmetic device 1030 for various calculations. The secondary storage device 1050 is a storage device in which data used by the arithmetic device 1030 for various calculations and various databases are registered, and is realized by a ROM (Read Only Memory), a HDD (Hard Disk Drive), a flash memory, or the like.
[0130] The output IF 1060 is an interface for transmitting information to be output to an output device 1010 that outputs various types of information, such as a monitor or a printer, and is realized by a connector conforming to a standard such as USB (Universal Serial Bus), DVI (Digital Visual Interface), or HDMI (registered trademark) (High Definition Multimedia Interface). The input IF 1070 is an interface for receiving information from various input devices 1020, such as a mouse, keyboard, and scanner, and is realized by a USB, for example.
[0131] The input device 1020 may be a device that reads information from, for example, an optical recording medium such as a CD (Compact Disc), a DVD (Digital Versatile Disc), or a PD (Phase change rewritable Disk), a magneto-optical recording medium such as an MO (Magneto-Optical disk), a tape medium, a magnetic recording medium, or a semiconductor memory. The input device 1020 may also be an external storage medium such as a USB memory.
[0132] The network IF 1080 receives data from other devices via the network N and sends it to the arithmetic device 1030, and also transmits data generated by the arithmetic device 1030 to other devices via the network N.
[0133] The arithmetic unit 1030 controls the output device 1010 and the input device 1020 via the output IF 1060 and the input IF 1070. For example, the arithmetic unit 1030 loads a program from the input device 1020 or the secondary storage device 1050 onto the primary storage device 1040 and executes the loaded program.
[0134] For example, when the computer 1000 functions as the information providing device 10 , the arithmetic unit 1030 of the computer 1000 executes a program loaded onto the primary storage device 1040 to realize the functions of the control unit 40 .
[0135] 5. Effects As described above, the information providing system 1 determines the contents of each of the plurality of constituent processes that are executed when performing a predetermined analysis process and that can be executed independently. The information providing system 1 then executes the plurality of constituent processes whose contents have been determined, thereby executing the predetermined analysis process. As a result of such processing, the information providing system 1 can easily optimize and update each of the constituent processes that make up the analysis process, and therefore can easily realize the analysis process.
[0136] Furthermore, the information providing system 1 determines the contents of a plurality of constituent processes including a constituent process that uses the result of a previously executed constituent process. Furthermore, the information providing system 1 determines the contents of a plurality of constituent processes that can be executed in parallel. As a result, the information providing system 1 can easily optimize or update the constituent processes to be executed in series or in parallel, and can easily realize the analysis process.
[0137] Furthermore, the information providing system 1 determines which module to use among a plurality of modules that realize the configuration process, and executes the configuration process using the module determined to be used. Furthermore, the information providing system 1 changes the module that realizes the configuration process specified by the user among the modules that execute the plurality of configuration processes to another module. As a result of such processing, the information providing system 1 can easily optimize and update the modules used in the configuration process, and can therefore easily realize the analysis process.
[0138] Furthermore, the information providing system 1 changes input information in the same format as the module before the change to a module that has been generated to generate output information in the same format as the module before the change but with different content from the module before the change. As a result of this processing, even when a module that realizes a certain configuration process is changed, the information providing system 1 makes it possible to easily realize an analysis process by eliminating or minimizing changes to other configuration processes.
[0139] Furthermore, the information providing system 1 changes the content of any of the configuration processes among a division configuration process that divides a moving image, a detection configuration process that detects a person's face from the moving image divided by the division configuration process, a classification configuration process that classifies faces from the moving image divided by the division configuration process and the detection result by the detection configuration process, and a generation configuration process that generates an authentication result of a person captured in the moving image from the detection result by the detection configuration process and the classification result by the classification configuration process. As a result of such processing, the information providing system 1 can easily optimize the face recognition process or change the content.
[0140] Furthermore, the information providing system 1 estimates the constituent process to be executed based on the target information that was the subject of a predetermined analysis process, the plurality of constituent processes executed to realize the predetermined analysis process, and the history of the results of the analysis process of the target information. As a result of such processing, the information providing system 1 can easily optimize the analysis process without the user having to specify the content of the appropriate constituent process.
[0141] In addition, the information providing system 1 temporarily holds requests for a predetermined analysis process from users, acquires requests that satisfy a predetermined condition from among the held requests, and executes the predetermined analysis process according to the acquired requests. Therefore, the information providing system 1 can execute a queued analysis process.
[0142] Furthermore, the information providing system 1 acquires target information to be subjected to a predetermined analysis process from a predetermined external storage device in which the user has registered the target information, performs an analysis process on the target information, and registers the results of the analysis process in the external storage device. When the information providing system 1 has registered the results of the analysis process in the external storage device, it notifies the user that the analysis process has been completed. As a result, the information providing system 1 can flexibly respond to an increase in the number of analysis processes.
[0143] Furthermore, the information providing system 1 includes execution devices capable of executing the respective analysis processes individually, and therefore the information providing system 1 can realize parallel execution of the analysis processes.
[0144] Furthermore, the information providing system 1 changes the number of execution devices that execute the analysis process based on the computational resources that can execute the analysis process or the number of requests that are held. This allows the information providing system 1 to scale flexibly.
[0145] Furthermore, the information providing system 1 acquires a label assigned by a user to the learning data registered in a predetermined storage device, and learns a module to be used in one of the configuration processes using the label and the learning data. The information providing system 1 then registers the learned module in a predetermined module storage device, and determines a module to be used in the configuration processes from among the modules registered in the module storage device. This allows the information providing system 1 to easily perform processes from module generation and update to module deployment.
[0146] Although some of the embodiments of the present application have been described in detail above with reference to the drawings, these are merely examples, and the present invention can be embodied in other forms that incorporate various modifications and improvements based on the knowledge of those skilled in the art, including the aspects described in the Disclosure of the Invention section.
[0147] Moreover, the above-mentioned "section, module, unit" can be read as "means" or "circuit", etc. For example, the appended section can be read as a specific means or a specific circuit. [Explanation of symbols]
[0148] 1 Information provision system 10 Information provision device 20, 120, 220 Communications Department 30, 130, 230 storage section 31 Analysis and Processing Database 32 Analysis History Database 40, 140, 240 Control unit 41 Reception 42 Decision Section 43 Executive Department 44 Notification Department 45 Estimation part 100 Queue Server 131 Cue Data 141 Holding part 142 Changes 200 Module Management Server 231 Training Data 232 Module Database 241 Acquisition Department 242 Learning Department 243 Registration Department 244 Provision Department 300 Storage Server
Claims
1. a determination unit which determines a plurality of constituent processes constituting a predetermined analysis process, a module to be used for realizing each of the plurality of constituent processes, and an order in which each of the plurality of constituent processes is to be executed, based on an analysis request consisting of information for identifying information of a preregistered analysis target and designation information designating the content of the analysis process for the analysis target, and which determines the content, order, and module of the constituent processes to be executed, based on a history of the target information which was the subject of the predetermined analysis process, the plurality of constituent processes executed to realise the predetermined analysis process, and the results of the analysis process of the target information; an execution unit that executes the plurality of configuration processes using the module that the determination unit has determined to be used; 13. An execution device comprising:
2. The determination unit determines a plurality of configuration processes including a configuration process that uses a result of a previously executed configuration process.
2. The execution device according to claim 1 .
3. The determination unit determines a plurality of constituent processes that can be executed in parallel.
3. An execution device according to claim 1 or 2.
4. The determination unit determines which module to use from among a plurality of modules that realize the configuration process.
4. The execution device according to claim 1, wherein the execution device is a programmable programmable controller.
5. The determination unit determines, as constituent processes to be executed, a division process for dividing a moving image, a detection process for detecting a human face from the moving image divided by the division process, a classification process for classifying faces from the moving image divided by the division process and a detection result by the detection process, and a generation process for generating an authentication result of the person captured in the moving image from the detection result by the detection process and the classification result by the classification process.
5. An execution device according to claim 1, characterized in that:
6. A storage unit that temporarily stores an analysis request for the predetermined analysis process from a user. having When an analysis request that satisfies a predetermined condition is provided from the storage unit, the execution unit executes the predetermined analysis process in accordance with the analysis request.
6. An execution device according to claim 1, characterized in that:
7. The execution unit acquires target information to be subjected to the predetermined analysis process from a predetermined external storage device in which the user has registered the target information, executes an analysis process of the target information, and registers an execution result of the analysis process in the external storage device.
7. The execution device according to claim 6.
8. a notification unit that notifies the user that the analysis process has been completed when the execution unit has registered the execution result of the analysis process in the external storage device.
8. The execution device according to claim 7, further comprising:
9. The execution unit is capable of executing the analysis process individually.
9. An execution device according to claim 6, characterized in that:
10. A change unit that changes the number of execution units that execute the analysis process based on a computing resource capable of executing the analysis process or the number of analysis requests held by the holding unit.
10. The execution device of claim 9, further comprising:
11. an acquisition unit that acquires labels assigned by a user to learning data registered in a predetermined storage device; a learning unit that uses the label and the learning data to learn a module to be used in any one of the plurality of constituent processes; a registration unit that registers the module learned by the learning unit in a predetermined module storage device; having The determination unit determines a module to be used in the plurality of configuration processes from among the modules registered in the module storage device.
11. An execution device according to any one of claims 1 to 10.
12. An execution method executed by an execution device, comprising: a determination step for determining a plurality of constituent processes constituting a predetermined analysis process, a module to be used for realizing each of the plurality of constituent processes, and an order in which each of the plurality of constituent processes is to be executed, based on an analysis request consisting of information for identifying information of an analysis target registered in advance and designation information for designating the content of the analysis process for the analysis target, and determining the content, order, and module of the constituent processes to be executed based on a history of the target information that was the subject of the predetermined analysis process, the plurality of constituent processes executed to realise the predetermined analysis process, and the results of the analysis process of the target information; an execution step of executing the plurality of configuration processes using the module determined to be used in the determination step; 23. A method of performing the method comprising:
13. a determination procedure for determining a plurality of constituent processes constituting a specified analysis process, a module to be used for realizing each of the plurality of constituent processes, and an order in which each of the plurality of constituent processes is to be executed, based on an analysis request consisting of information for identifying information of a preregistered analysis target and designation information for designating the content of an analysis process for the analysis target, the determination procedure determining the content, order, and module of the constituent processes to be executed, based on a history of the target information that was the subject of the specified analysis process, the plurality of constituent processes executed to realise the specified analysis process, and the results of the analysis process of the target information; an execution step of executing the plurality of configuration processes using the module determined to be used in the determination step; An executable program that causes a computer to execute the above.
Citation Information
Patent Citations
Data processing system
JP2001256186A
Image processing device and image processing method
JP2012212426A
Information processing device, control method and program
JP2018041190A
Software service execution device, system, and method
JP2018067302A
Server device, client terminal, information processing method, and program
JP2019160287A
