Data providing device
The data provision device addresses the issue of short authorization code validity by employing dual authorization codes, ensuring continuous data access and security through longer application codes, thereby enabling periodic processing and reducing unauthorized access.
Patent Information
- Application Number
- PCT/JP2025/017633
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2026-11-19
AI Technical Summary
Existing technologies face challenges in executing periodic processing due to the short validity period of authorization codes, leading to unauthorized access and data acquisition failures.
Implementing a data provision device with dual authorization codes - user authorization codes with shorter expiration dates and application authorization codes with longer expiration dates, allowing applications to use these codes based on predefined rules to ensure continuous data access and security.
Enables periodic processing by applications while minimizing unauthorized access to sensitive data, enhancing security and operational efficiency by using application authorization codes with longer validity periods.
Smart Images

Figure JP2025017633_19112026_PF_FP_ABST
Abstract
Description
Data Providing Device
[0001] The present disclosure relates to a data providing device.
[0002] As technologies related to access control to databases, technologies such as OpenID connect and OAuth 2.0 are known (for example, Patent Document 1). In these technologies, access authority to the database is preset for each user. When a user logs in to the data providing device using an information processing terminal, an authorization code is assigned to the information processing terminal. After logging in, the user can select a target application from a plurality of applications that execute various processes via the interface of the data providing device, or acquire data stored in the database. An application that utilizes data stored in the database transmits a data acquisition request including the authorization code assigned to the user to a data providing unit that controls input and output of the data stored in the database. The data providing unit requests an authorization server to verify the authorization code included in the data acquisition request. When the authorization code is valid and the user has the authority to acquire the data requested in the data acquisition request, the authorization server permits the data providing unit to provide the data to the application. Thereby, the application acquires the data from the database, executes the process selected by the user, and transmits the execution result to the information processing terminal. Through this series of processes, secure data acquisition, processing, and updating based on the user's access authority are realized, and unauthorized access to the database and unauthorized data operations beyond the scope of authority can be prevented.
[0003] However, the validity period set for the authorization code from the viewpoint of security is short. Therefore, even if periodic processing is set for the application, there have been cases where the periodic processing cannot be executed because data cannot be acquired from the database due to expiration of the authorization code.
[0004] Japanese Unexamined Patent Application Publication No. 2025-027186
[0005] There is a demand for a proposal of a technology capable of executing periodic processing by an application while suppressing a decrease in security.
[0006] The data provision device disclosed herein comprises a database for storing operational data relating to industrial machinery, a storage unit for storing applications that perform various processes on the operational data, and an authorization setting unit for setting multiple permissions for the database, each associated with multiple authorization codes. The multiple authorization codes include user authorization codes that are granted each time an external access is made and application authorization codes that are pre-assigned to the application.
[0007] Figure 1 is a hardware configuration diagram of the data provision device according to the first embodiment. Figure 2 is a functional configuration diagram of the data provision device according to the first embodiment. Figure 3 is a flowchart showing the procedure for pre-setting user privileges by the data provision device according to the first embodiment. Figure 4 is a diagram showing the user privilege setting screen provided by the user privilege setting unit. Figure 5 is a diagram showing the user information management table stored in the storage device. Figure 6 is a flowchart showing the procedure for pre-setting application privileges by the data provision device according to the first embodiment. Figure 7 is a diagram showing the application privilege setting screen provided by the application privilege setting unit. Figure 8 is a diagram showing the application information management table stored in the storage device. Figure 9 is a flowchart showing the first half of the data provision processing procedure by the data provision device according to the first embodiment. Figure 10 is a flowchart showing the second half of the data provision processing procedure by the data provision device according to the first embodiment. Figure 11 is a functional configuration diagram of the data provision device according to the second embodiment. Figure 12 is a diagram showing an example of a user information management table stored in the storage device of the data management device according to the second embodiment. Figure 13 is a flowchart showing the first half of the data provision processing procedure by the data provision device according to the second embodiment. Figure 14 is a flowchart showing the latter half of the data provision processing procedure by the data provision device according to the second embodiment.
[0008] Hereinafter, a data provisioning device according to the first embodiment of the present invention and a data provisioning device according to the second embodiment will be described with reference to the drawings. In the following description, components having substantially the same function and configuration will be denoted by the same reference numerals, and redundant explanations will be given only when necessary.
[0009] Hereinafter, a data provisioning device according to the first embodiment of the present invention will be described with reference to Figures 1 to 10. As shown in Figure 1, the data provisioning device 1 according to the first embodiment has a processor 11. A RAM 12, a ROM 13, a storage device 14, a communication controller 15, and a database 19 are connected to the processor 11 via a data / control bus 10. An information processing terminal 5 is connected to the processor 11 via the communication controller 15. The information processing terminal operated by the administrator is referred to as the administrator terminal, and the information processing terminal operated by the user is referred to as the user terminal. The administrator is the person responsible for operating the data provisioning device 1. The user is the person receiving the services provided by the data provisioning device 1. The information processing terminal 5 stores software and applications such as a browser for accessing the data provisioning device 1.
[0010] The processor 11 is composed of, for example, a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit). The RAM 12 functions as the main memory, work area, etc., of the processor 11. The ROM 13 stores the BIOS (Basic Input Output System) executed by the processor 11. The storage device 14 is implemented by an HDD, SSD, etc. The storage device 14 stores the data provision program, the data necessary for processing related to the data provision program, and the operating system program (OS). The data necessary for processing related to the data provision program includes the user information management table and the application information management table. The user information management table is a table data that summarizes the data acquisition rights for each user to the database 19 and the user authorization code assigned to the browser of the user terminal. The application information management table includes the application information management table that manages the data acquisition rights for each application to the database 19 and the application authorization code (app authorization code) assigned to each application.
[0011] Furthermore, the storage device 14 stores multiple applications (Application A, Application B, and Application C) that retrieve data stored in the database 19 and perform various processes. For example, these multiple applications generate target data by performing various processes on data related to the operation of industrial machinery and provide it to the user terminal. For example, these multiple applications include an operation monitoring application for monitoring the operating status of industrial machinery, a daily report creation application for periodically creating daily reports, an abnormality detection application for determining abnormalities in industrial machinery, and a maintenance support application for assisting with the maintenance of industrial machinery.
[0012] The communication controller 15 controls communication with the information processing terminal 5.
[0013] Database 19 stores data related to the operation of each of the multiple industrial machines. This data includes not only data representing the operation of the industrial machines, such as their position, speed, and acceleration, but also various information related to the operation of the industrial machines, such as sensor data from sensors installed on the industrial machines, operating data of the industrial machines, operating programs of the industrial machines, and operating conditions of the industrial machines.
[0014] The various data, such as data provision programs, stored in the storage device 14 may be distributed to users by being recorded on removable media (non-temporary storage media) such as USB, or by being downloaded to the data provision device 1 via a network.
[0015] As shown in Figure 2, when the data provision program stored in the storage device 14 is executed by the processor 11, the data provision device 1 provides an application permission setting screen to the browser of the administrator terminal of an administrator logged in with administrator privileges, and sets permissions (application privileges) for each application to the database 19 according to the operation on the application permission setting screen, an application permission setting unit 111, issues an application authorization code for each application and grants it to the application, a user permission setting unit 113 provides a user permission setting screen to the browser of the administrator terminal of an administrator logged in with administrator privileges, and sets permissions (user privileges) for each user to the database 19 according to the operation on the user permission setting screen, and provides a user permission setting unit 113 to the browser (application) of a user terminal that has accessed the data provision device 1. The system includes an authentication unit 114 that provides a login screen and authenticates the user according to the operation on the login screen, an application reception unit 115 that provides an application selection screen to the browser of the user terminal of a user who has successfully authenticated and accepts the selection of an application to be executed from multiple applications according to the operation on the application selection screen, a user authorization code granting unit 116 that issues and assigns a user authorization code that identifies the user (browser) to the browser of the user terminal of a user who has successfully authenticated, an authorization unit 117 that analyzes the data acquisition request received from the application and sends authorization to the data provision unit 118 to acquire the data requested in the data acquisition request according to the authorization code included in the data acquisition request, and a data provision unit 118 that, under authorization from the authorization unit 117, accesses the database 19, extracts the data requested in the data acquisition request, and provides it to the application.
[0016] Furthermore, because application authorization codes and user authorization codes require a high degree of confidentiality, they are assigned, for example, by random numbers generated by a random number generator. Typically, user authorization codes and application authorization codes have expiration dates. It is desirable that application authorization codes have a longer expiration date than user authorization codes. For example, user authorization codes may have a relatively short expiration date of several tens of seconds to several days, while application authorization codes may have a relatively long expiration date of several weeks to several months. Of course, application authorization codes do not necessarily have an expiration date. In addition, if the user authorization code assignment unit 116 has a user authorization code that has not yet expired, it may issue a new user authorization code and assign it to the browser of a user terminal whose user authorization code has not yet expired, or instead of issuing a new user authorization code, it may overwrite and extend the expiration date of an existing user authorization code that has not yet expired.
[0017] Database permissions (user permissions, application permissions) refer to the authority to retrieve data stored in the database. These permissions define the types of industrial machinery (robots, injection molding machines, etc.) that can be retrieved, the categories of data that can be retrieved (equipment data, sensor data, log data, etc.), the granularity of the data that can be retrieved (aggregated data, raw data), and the scope of the data that can be retrieved (entire data, partial data). Typically, application permissions have broader scope than user permissions. Of course, application permissions may also have the same permissions as user permissions.
[0018] The user privilege pre-setting process will be explained below with reference to Figures 3 to 5. The user privilege pre-setting process sets user privileges for the database 19 for each user. User privileges are set under administrator privileges. As shown in Figure 3, the administrator logs into the data provision device 1 using the administrator's login ID and password via the administrator's browser on the administrator terminal, and selects the user privilege setting on the interface provided by the data provision device 1 (S11). The user privilege setting unit 113 transmits the user privilege setting screen data to the administrator terminal's browser (S12). In step S12, the user privilege setting screen is displayed on the administrator terminal's browser. The user privilege setting screen is configured to allow setting user privileges for the database 19 for each user. For example, as shown in Figure 4, the user privilege setting screen is configured to allow selecting which industrial machines to grant data acquisition privileges to each user. Of course, user privileges may also be set for each software used on the information processing terminal 5. The user privilege setting unit 113 receives user operations on the user privilege setting screen (S13) and sets the user privileges (S14). The user permission setting unit 113 records information regarding the set user permissions in the user information management table (S15). Figure 5 is an example of the user information management table. One record in the user information management table manages the user ID that identifies the user, the user name, the software, whether or not the user has permission to obtain data related to machine 1, whether or not the user has permission to obtain data related to machine 2, and the user authorization code. The software represents software such as a browser used on the information processing terminal 5 to access the data provision device 1. For example, if user permissions for user A are set as shown in the user permission setting screen in Figure 4, then in the user information management table, as shown in Figure 5, "permission granted" for machine 1 and "no permission granted" for machine 2 are registered for the user name "User A" and software "Browser". This means that when user A accesses the data provision device 1 with a browser, the browser has permission to obtain data related to machine 1, but does not have permission to obtain data related to machine 2.
[0019] The pre-configuration process for application permissions will be explained below with reference to Figures 6 to 8. Figure 6 is a flowchart showing an example of the procedure for pre-configuration of application permissions. Figure 7 is a diagram showing an example of the application permission setting screen. Figure 8 is a diagram showing an example of the application information management table. As shown in Figure 8, one record in the application information management table manages the application ID that identifies the application, the application name, whether or not there is permission to obtain data related to machine 1, whether or not there is permission to obtain data related to machine 2, and the application authorization code.
[0020] Application permissions are set under administrator privileges. As shown in Figure 7, the administrator logs into the data provision device 1 using the administrator's login ID and password via the administrator's browser on the administrator terminal, and selects the application permission setting on the interface provided by the data provision device 1 (S21). The application permission setting unit 111 sends the application permission setting screen data to the administrator terminal's browser (S22). In step S22, the application permission setting screen is displayed on the administrator terminal's browser. The application permission setting screen is configured to allow setting application permissions for the database 19 for each application. For example, as shown in Figure 7, the application permission setting screen is configured to allow selecting the industrial machine to which data acquisition permission is granted for each application. The application permission setting unit 111 accepts user operations on the application permission setting screen (S23), sets application permissions for each application (S24), and records information regarding the set application permissions in the application information management table (S25). The application authorization code assignment unit 112 issues an application authorization code for each application and assigns it to the application (S26), and records information regarding the application authorization code in the application information management table (S27).
[0021] Through the pre-setting process of application permissions in steps S21 to S27, as shown in the application information management table in Figure 8, it is possible to manage the application permissions for the database 19 and the application authorization codes assigned to the application for each of multiple applications in association with each application. Furthermore, application authorization codes can be assigned to applications in advance.
[0022] Furthermore, if the permissions for application A are set in step S24 as shown in the application permission setting screen in Figure 7, then, as shown in Figure 8, "Permission granted" for machine 1 and "Permission granted" for machine 2 will be recorded for the application name "Application A" in the application information management table. This means that application A is granted the right to acquire data related to machine 1 and machine 2.
[0023] The data provision process by the data provision device 1 according to the first embodiment will be described below with reference to Figures 9 and 10. In Figure 9, the dotted line frame represents the content of processing related to programs other than the data provision program. Here, the user accesses the data provision device 1 via a browser launched on the information processing terminal 5. The user can access the data provision device 1 by entering a URL that identifies the data provision device 1 into the browser. As shown in Figure 9, the authentication unit 114 waits for access from the browser (S31; No), and when access is received from the browser, it sends a login screen to the browser (S32). The authentication unit 114 receives the login information entered on the login screen (S33) and executes the authentication process (S34). If there is an authentication error (S35; No), the authentication unit 114 sends an error screen to the browser (S36), and the data provision process by the data provision device 1 is terminated.
[0024] When authentication is successful (S35; Yes), the user authorization code assignment unit 116 issues a user authorization code and assigns it to the browser (S37), and records it in the user information management table shown in Figure 5. In this way, the user information management table associates each user with their user privileges to the database 19 and the user authorization code assigned to the browser. It is also conceivable that the same user may access the data provision device 1 using different types of browsers or other applications. In this case, a user authorization code is issued for each type of browser and application. Furthermore, it is conceivable that a history of user authorization codes issued to the same user is managed. Therefore, the user information management table may associate multiple user authorization codes with the same user. The application reception unit 115 sends an application selection screen to the browser (S38), and accepts the selection of one application from multiple applications according to the user's operation on the application selection screen (S39). The application selected by the user in step S39 sends the screen related to that application to the browser (S40). At this point, the application selected in step S39 receives the user authorization code assigned to the browser. At this point, the application will have two types of authorization codes: a temporarily issued user authorization code and a pre-configured application authorization code. Depending on the content of the process selected by the user, the application can use either the user authorization code or the application authorization code to retrieve data from the database 19 within the scope of the corresponding authority.
[0025] As shown in Figure 10, the data provision unit 118 waits for a data acquisition request from the application (S41; No). Upon receiving a data acquisition request from the application (S41; Yes), it requests authorization from the authorization unit 117 for the acquisition of the data requested in the data acquisition request. The authorization unit 117 identifies whether the authorization code received with the data acquisition request is an application authorization code or a user authorization code (S42). If the authorization code received from the application is an application authorization code, the authorization unit 117 refers to the application information management table and determines whether the application authority associated with the received application authorization code has the authority to acquire the data requested in the data acquisition request (S43), and returns the determination result to the data provision unit 118. If the authorization code received from the application is a user authorization code, the authorization unit 117 refers to the user information management table and determines whether the user authority associated with the received user authorization code has the authority to acquire the data requested in the data acquisition request (S44), and returns the determination result to the data provision unit 118. If the application does not have the authority to acquire the data requested in the data acquisition request (S45; No), the data provision unit 118 sends error information to notify the application that it cannot provide the data requested in the data acquisition request (S46). On the other hand, if the application does have the authority to acquire the data requested in the data acquisition request (S45; Yes), the data provision unit 118 extracts the data requested in the data acquisition request from the database 19 and sends it to the application (S47). The data provision process by the data provision device 1 is completed with the processing of step S36, or step S46, or step S47.
[0026] The data provision device 1 according to the first embodiment provides the following effects. In general, the user authorization code temporarily assigned to the user terminal (browser, application) of a user who has logged into the data provision device 1 is also used for data communication between the information processing terminal and the data provision device 1. Therefore, from the standpoint of leakage risk, the validity period of the user authorization code is short. In the data provision device 1, the application selected by the user receives the user authorization code and can retrieve data from the database 19 within the scope of the user authority associated with the user authorization code. However, if, as in the conventional case, the application only holds the user authorization code, even if the user sets up periodic processing for the application, the validity period of the user authorization code may expire at the time the periodic processing is to be executed, making it impossible to retrieve data from the database 19 and thus preventing the periodic processing from being executed.
[0027] However, according to the data provision device 1 of the first embodiment, each time the data provision device 1 is accessed, the application can be made to hold two types of authorization codes: a user authorization code assigned to the user terminal and an application authorization code with a longer expiration date that is assigned to the application in advance. This allows the application to use the two types of authorization codes appropriately. Typically, the application selects and uses one of the two types of authorization codes (user authorization code and application authorization code) according to a pre-set rule.
[0028] For example, pre-configured rules stipulate that when an application is to perform periodic processing, the application authorization code, one of the two types of authorization codes, must be used. This allows the application to retrieve data from database 19 and perform periodic processing even if the user authorization code is about to expire, within the scope of the application privileges corresponding to the application authorization code, which has a longer expiration date than the user authorization code.
[0029] For example, pre-configured rules stipulate that when an application is to perform a process that requires the acquisition of highly confidential data, such as raw data from specific sensors that can be used to estimate production capacity, from the data stored in database 19, the user authorization code, one of two types of authorization codes, must be used. This prevents situations where users who do not originally have the authority to acquire the data can access highly confidential data, thereby minimizing a decrease in security.
[0030] For example, pre-configured rules stipulate that when an application is to perform a process that uses less confidential data stored in database 19, or a process that combines multiple types of data obtained from database 19, such as aggregation, the application authorization code should be used. Typically, application privileges associated with the application authorization code are broader than user privileges associated with the user authorization code. Therefore, users can obtain data or processing results that they cannot obtain with user privileges associated with the user authorization code, thereby enriching their work.
[0031] Thus, according to the first embodiment, by having the application maintain two types of authorization codes that differ in at least one of their permissions or expiration dates for the database 19, and by having the application select and use the authorization code according to the processing content, it is possible to enable periodic processing by the application while suppressing unnecessary user access to highly confidential data stored in the database 19. Furthermore, since it becomes possible to obtain data that cannot be obtained with user privileges or the processing results thereof, the efficiency of the user's work can be improved.
[0032] The data provisioning device 1 according to the second embodiment is a computer device that has a function to regenerate a user authorization code instead of the function related to the application authorization code in the first embodiment. A typical example of the data provisioning device 1 according to the second embodiment will be described below with reference to Figures 11 to 14. Note that the data provisioning device 1 according to the second embodiment has the same hardware configuration as the data provisioning device 1 according to the first embodiment, so its description will be omitted.
[0033] The functional configuration of the data provision device 1 according to the second embodiment will now be described with reference to Figure 11. As shown in Figure 11, the data provision program stored in the storage device 14 is executed by the processor 11, and the data provision device 12 functions as a user authority setting unit 113, an authentication unit 114, an application reception unit 115, a user authorization code / regeneration information assignment unit 119, a data provision unit 118, and an authorization unit 117. The functions of the user authority setting unit 113, the authentication unit 114, the application reception unit 115, the data provision unit 118, and the authorization unit 117 are the same as in the first embodiment, so their description will be omitted.
[0034] The user authorization code and regeneration information assignment unit 119 issues and assigns a user authorization code and regeneration information to the information processing terminal of a user who has successfully authenticated, and records them in the user information management table. Figure 12 shows an example of the user information management table. One record in the user information management table manages the user ID that identifies the user, the username, whether or not there is permission to acquire data related to machine 1, whether or not there is permission to acquire data related to machine 2, the user authorization code, and the regeneration information. The regeneration information is information for issuing a new user authorization code. It is also conceivable that the same user may access the data provision device 1 using different means, such as a browser or a specific application. In this case, regeneration information is issued for each software (browser, application, etc.) that accessed the data provision device 1. It is also conceivable that a history of regeneration information issued to the same user is managed. Therefore, as shown in Figure 12, the user information management table may associate multiple pieces of regeneration information with the same user.
[0035] Furthermore, the user authorization code / regeneration information assignment unit 119 issues a new user authorization code according to the regeneration information received along with the regeneration request from the application, assigns it to the application, and overwrites the user authorization code associated with the user in the user information management table with the new user authorization code issued according to the regeneration information, and records it. Since the newly issued user authorization code overwrites the existing user authorization code in the user information management table, it will have the same authority as the existing user authorization code. Of course, the existing user authorization code may be kept as history, and the newly issued user authorization code based on the regeneration information may be added and associated with the user ID.
[0036] From the perspective of leakage risk, it is desirable that newly issued user authorization codes be different from existing user authorization codes. Since new user authorization codes only circulate within the data provision device 1, they may have a longer validity period than existing user authorization codes, like the application authorization code in the first embodiment. On the other hand, if new user authorization codes are only used for periodic processing set in the application, their validity period may be shorter than that of existing user authorization codes. To enable the regeneration of another new user authorization code when the validity period of a new user authorization code expires, the user authorization code / regeneration information assignment unit 119 may issue new regeneration information along with the new user authorization code and assign it to the application, and may also overwrite the user authorization code and regeneration information associated with the user in the user information management table with the new user authorization code and new regeneration information, respectively, and record them. Of course, the user authorization code / regeneration information assignment unit 119 may also reissue a new user authorization code using the same regeneration information each time the validity period of a user authorization code expires.
[0037] The data provision process by the data provision device 1 according to the second embodiment will be described below with reference to Figures 13 and 14. Here, it is assumed that the user accesses the data provision device 1 via a browser running on an information processing terminal. As shown in Figure 13, the authentication unit 114 waits for access from the browser (S31; No), and when access is received from the browser, it sends a login screen to the browser (S32). The authentication unit 114 receives the login information entered on the login screen (S33) and executes the authentication process (S34). If there is an authentication error (S35; No), the authentication unit 114 sends an error screen to the browser (S36), and the data provision process by the data provision device 1 is terminated.
[0038] When authentication is successful (S35; Yes), the user authorization code / regeneration information assignment unit 119 generates regeneration information along with the user authorization code, assigns it to the browser (S61), and records it in the user information management table shown in Figure 12. The application reception unit 115 sends an application selection screen to the browser (S38) and accepts the application to be executed according to the user operation on the application selection screen (S39). In step S39, the application selected by the user sends the screen related to that application to the browser (S40). At this time, the user authorization code assigned to the browser is passed to the application selected by the user. The application can retrieve data from the database 19 according to the user privileges associated with the user authorization code.
[0039] As shown in Figure 14, the user authorization code / regeneration information assignment unit 119 waits for a regeneration request from the application (S62; No), and the data provision unit 118 waits for a data acquisition request from the application (S41; No). When the user authorization code / regeneration information assignment unit 119 receives a regeneration request from the application, it issues a new user authorization code according to the regeneration information received along with the regeneration request and assigns it to the application (S63). When the data provision unit 118 receives a data acquisition request from the application (S41; Yes), it requests authorization from the authorization unit 117 for the acquisition of the data requested in the data acquisition request. The authorization unit 117 refers to the user information management table and determines whether the user authority associated with the user authorization code received along with the data acquisition request has the authority to acquire the data requested in the data acquisition request (S44), and returns the determination result to the data provision unit 118. If the application does not have the authority to acquire the data requested in the data acquisition request (S45; No), the data provision unit 118 sends error information to notify the application that it cannot provide the data requested in the data acquisition request (S46). On the other hand, if the application does have the authority to acquire the data requested in the data acquisition request (S45; Yes), the data provision unit 118 extracts the data requested in the data acquisition request from the database 19 and sends it to the application (S47). The data provision process by the data provision device 1 is completed with the processing of step S36, or step S46, or step S47.
[0040] The data provision device 1 according to the second embodiment provides the following effects. Specifically, the application can store regeneration information in addition to the existing user authorization code. As a result, even if the user authorization code held by the application expires, the user authorization code / regeneration information assignment unit 119 can issue a new user authorization code based on the regeneration information and assign it to the application. Even if the application has to perform periodic processing at the time when the existing user authorization code expires, it can obtain a new user authorization code based on the regeneration information and perform the periodic processing.
[0041] In this embodiment, if the user has the authority to acquire data related to machine 1, all data related to machine 1 can be acquired. However, the authority to acquire data may be divided into more detailed categories.
[0042] For example, even with the same device, acquisition permissions may be set for each type of data, such as operating programs, temperature information, and operational information. Furthermore, acquisition permissions may be set for each data source, such as pressure sensors, temperature sensors, and encoders. Acquisition permissions may also be set depending on whether the data is raw data output from the device or processed data obtained by performing data processing on the raw data.
[0043] The following additional notes are disclosed regarding this embodiment and its modifications. (Note 1) The data provision device 1 comprises a database 19 for storing operational data relating to industrial machinery, a storage unit 14 for storing applications that perform various processes on the operational data, and authorization setting units 111 and 113 for setting multiple authorizations for the database, each associated with a plurality of authorization codes. The plurality of authorization codes include user authorization codes that are assigned each time for external access and application authorization codes that are assigned to applications in advance.
[0044] (Supplementary Note 2) In the data providing apparatus according to Supplementary Note 1, the authority associated with the authorization code for application is broader than the authority associated with the authorization code for user. (Supplementary Note 3) In the data providing apparatus according to Supplementary Note 1, the types of data that can be acquired from the database by the authority associated with the authorization code for application are more than the types of data that can be acquired from the database by the authority associated with the authorization code for user. (Supplementary Note 4) The data providing apparatus according to Supplementary Note 1 further comprises: a data providing unit that, in response to a data acquisition request from an application, extracts data corresponding to the data acquisition request from a database and provides the extracted data to the application; and an authorization unit that authorizes data provision by the data providing unit in accordance with the authority associated with the authorization code received together with the data acquisition request. (Supplementary Note 5) A data providing apparatus comprises: a database that stores operation data related to industrial machines; a storage unit that stores an application that executes various processes on the operation data; an authorization code granting unit that grants an authorization code each time for external access; and an authority setting unit that sets the authority for the database corresponding to the authorization code. The authorization code granting unit generates regeneration information together with the authorization code, and grants another authorization code to the application in accordance with the regeneration information, and the authority setting unit sets an authority for the database corresponding to said another authorization code. (Supplementary Note 6) In the data providing apparatus according to Supplementary Note 5, the validity period of said another authorization code is shorter than that of the authorization code. (Supplementary Note 7) In the data providing apparatus according to Supplementary Note 5, the validity period of the regeneration information is longer than the validity period of the authorization code. (Supplementary Note 7) In the data providing apparatus according to Supplementary Note 5, the authority setting unit sets the same authority as the authority set for the authorization code as the authority corresponding to said another authorization code.
[0045] While embodiments of this disclosure have been described in detail, this disclosure is not limited to the individual embodiments described above. These embodiments can be added, replaced, modified, partially deleted, etc., in any way that does not depart from the spirit of the invention or the idea and spirit of the invention derived from the claims and their equivalents. For example, the order of operations and processes in the embodiments described above are shown as examples only and are not limited thereto. The same applies when numerical values or mathematical formulas are used in the description of the embodiments described above.
[0046] 1...Data provision device, 5...Information processing terminal, 11...Processor, 12...RAM, 13...ROM, 14...Storage device, 15...Communication controller, 111...Application permission setting unit, 112...Application authorization code assignment unit, 113...User permission setting unit, 114...Authentication unit, 115...Application reception unit, 116...User authorization code assignment unit, 117...Authorization unit, 118...Data provision unit, 119...User authorization code / regeneration information assignment unit.
Claims
1. A data provision device comprising: a database for storing operational data relating to industrial machinery; a storage unit for storing applications that perform various processes on the operational data; and an authorization setting unit for setting multiple authorizations for the database, each associated with multiple authorization codes, wherein the multiple authorization codes include user authorization codes that are granted each time for external access and application authorization codes that are pre-assigned to the applications.
2. The data providing device according to claim 1, wherein the permissions associated with the authorization code for the application are broader than the permissions associated with the authorization code for the user.
3. The data providing device according to claim 2, wherein the types of data that can be obtained from the database by the authority associated with the authorization code for the application are greater than the types of data that can be obtained from the database by the authority associated with the authorization code for the user.
4. The data provision device according to claim 1, further comprising: a data provision unit that, in response to a data acquisition request from the application, extracts data corresponding to the data acquisition request from the database and provides it to the application; and an authorization unit that authorizes the provision of data by the data provision unit in accordance with the authority associated with the authorization code received together with the data acquisition request.
5. A data provision device comprising: a database for storing operational data relating to industrial machinery; a storage unit for storing applications that perform various processes on the operational data; an authorization code assignment unit for assigning authorization codes to external accesses each time; and an authorization setting unit for setting authorizations for the database corresponding to the authorization codes, wherein the authorization code assignment unit generates regeneration information along with the authorization codes, assigns other authorization codes to the applications according to the regeneration information, and the authorization setting unit sets authorizations for the database corresponding to the other authorization codes.
6. The data providing device according to claim 5, wherein the expiration date of the other authorization code is shorter than that of the authorization code.
7. The data providing device according to claim 5, wherein the validity period of the regenerated information is longer than the validity period of the authorization code.
8. The data provision device according to claim 5, wherein the authorization setting unit sets the same authorization as the authorization set for the authorization code as the authorization corresponding to the other authorization code.
