Information processing system, information processing device, information processing method, and program

The information processing system manages versioning and access control across microservices using a providing and control unit, enhancing system stability by preventing unintended version execution and data inconsistencies.

JP7532325B2Active Publication Date: 2024-08-13KK TOSHIBA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021151134
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-16
Publication Date
2024-08-13
Estimated Expiration
2041-09-16

AI Technical Summary

Technical Problem

Conventional microservice architectures face challenges in maintaining system stability due to difficulties in managing versioning and updates across independently developed services, leading to potential system failures when input/output specifications or behavior change.

Method used

An information processing system that includes a providing unit to manage version information and a control unit for access control, ensuring that microservices provide and receive version information before allowing communication, using hash values to verify consistency and adhering to predefined access rules.

Benefits of technology

This approach enhances system stability by preventing unintended version execution and data inconsistencies, ensuring reliable operation even when individual microservices are updated unexpectedly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532325000001
    Figure 0007532325000001
  • Figure 0007532325000002
    Figure 0007532325000002
  • Figure 0007532325000003
    Figure 0007532325000003
Patent Text Reader

Abstract

To improve the stability of the operation of a system provided by a plurality of services that are individually developed.SOLUTION: According to an embodiment, an information processing system is an information processing system configured by allowing a plurality of services to cooperate with each other. Each of the plurality of services includes a provision part and a control part. The provision part provides own version information and version information on a communication destination service. The control part controls an access to the communication destination service on the basis of an access rule. The access rule includes information for controlling whether to permit the access to the communication destination service on the basis of the own version information and the version information on the communication destination service.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to an information processing system, an information processing device, an information processing method, and a program. [Background technology]

[0002] A system construction method in which multiple independent small services (microservices) are linked through communication to provide one large service is widely adopted, mainly in systems on the cloud. This system construction method is called microservices architecture. Microservices architecture has the advantage that each microservice can be developed and updated independently. However, when a microservice is updated and the input / output specifications or behavior of that microservice changes, there is a possibility that the entire system will no longer function properly. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2020-173650 A Summary of the Invention [Problem to be solved by the invention]

[0004] With conventional technology, it has been difficult to further improve the stability of the operation of a system provided by a plurality of services that are developed individually. [Means for solving the problem]

[0005] The information processing system according to the embodiment is an information processing system configured by linking a plurality of services through communication. Each of the plurality of services includes a providing unit, a control unit, Application section and The providing unit provides version information of itself and version information of a communication destination service. The control unit controls access to the communication destination service based on an access rule. The application unit executes any process in response to an access request. The access rules include information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service. The version information indicates the version of the application part. If the application unit does not have the version information, the providing unit calculates a hash value of specific data that is changed by updating the application unit, and if the hash value is the same as the hash value obtained last time, provides the same version information as the version information provided last time, and if the hash value is different from the hash value obtained last time, provides version information different from the version information provided last time. [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of an information processing system according to a first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a functional configuration of a microservice according to the first embodiment. [Diagram 3] 5 is a flowchart showing an example of a method for controlling reception of an access request according to the first embodiment. [Figure 4] 5 is a flowchart showing an example of a method for controlling transmission of an access request according to the first embodiment. [Diagram 5] FIG. 13 is a diagram showing an example of the configuration of an information processing system according to a second embodiment. [Figure 6] FIG. 11 is a diagram showing an example of the functional configuration of a virtual external service according to the second embodiment. [Figure 7] 10 is a flowchart showing an example of the operation of a virtual external service according to the second embodiment. [Figure 8] FIG. 2 is a diagram showing an example of a hardware configuration of an information processing apparatus according to the first and second embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, embodiments of an information processing system, an information processing device, an information processing method, and a program will be described in detail with reference to the accompanying drawings.

[0008] (First embodiment) First, an example of the configuration of an information processing system according to the first embodiment will be described.

[0009] 1 is a diagram showing an example of the configuration of an information processing system 100 according to the first embodiment. The information processing system 100 according to the first embodiment is, for example, a cloud system configured with a microservice architecture.

[0010] In the microservice architecture, multiple microservices (microservices A to D in the example of FIG. 1) communicate with each other to cooperate and transfer input and output data, thereby realizing one service. Each microservice is realized by, for example, one or more information processing devices (server devices).

[0011] Note that a service may be realized by linking with an external service, not limited to a microservice within the system itself. An example of linking with an external service will be described in the second embodiment.

[0012] When a microservice receives any input data from a service requester or another microservice (first microservice), it performs any processing on the input data and returns any output data. For example, any processing can be access to another microservice (second microservice) or analysis of the input data.

[0013] In the example of Figure 1, when a service provision request is made to the information processing system 100, any processing within each microservice and data transfer between microservices are carried out in the following order: service provision request → microservice A → B → C → B → A → D → A → service response.

[0014] The platform that runs the microservices A to D is managed by a microservice platform administrator. However, the individual microservices themselves are modified or updated by microservice developers or the like, independently of the microservice platform administrator. Note that external services (see the second embodiment) run on a platform different from the platform managed by the microservice platform administrator, and are modified or updated as desired.

[0015] [Example of functional configuration] 2 is a diagram illustrating an example of the functional configuration of microservice B according to the first embodiment. Microservice B according to the first embodiment includes an application unit 1, a distribution unit 2, a provider unit 3, and a control unit 4. Microservices A, C, and D also have the same functional configuration as microservice B.

[0016] The application unit 1 executes an arbitrary process in response to an access request, similar to a conventional application. The arbitrary process includes, for example, a process of transferring data to microservices A and C, and a process of analyzing data.

[0017] The distribution unit 2 receives an access request from the microservice A. If the access request is a version information acquisition request, the distribution unit 2 distributes the version information acquisition request to the provision unit 3. If the access request is not a version information acquisition request, the distribution unit 2 distributes the access request to the application unit 1.

[0018] The providing unit 3 acquires the version information from the application unit 1 by a predetermined method (see FIG. 3 described later) and returns the acquired version information. The version information indicates the version of the application unit 1, for example.

[0019] For example, if the application unit 1 has version information, the providing unit 3 provides the version information acquired from the application unit 1.

[0020] Furthermore, for example, when the application unit 1 does not have version information, the providing unit 3 calculates a hash value of predetermined data (e.g., a program executable file, etc.) that is changed by updating the application unit 1. Then, when the hash value is the same as the previously acquired hash value, the providing unit 3 provides the same version information as the previously provided version information, and when the hash value is different from the previously acquired hash value, the providing unit 3 provides version information different from the previously provided version information.

[0021] The control unit 4 performs access control by determining whether or not to access the microservice C based on the version information of the microservice B and the version information obtained from the microservice C.

[0022] Next, an operation example of the microservice B of the first embodiment will be described with reference to FIGS.

[0023] [Example of receiving control] 3 is a flowchart showing an example of a method for controlling reception of an access request according to the first embodiment. First, the distribution unit 2 determines whether or not an access request has been received from microservice A (step S1). Specifically, the distribution unit 2 determines whether or not an access request has been received by hooking (stealing) an access request from microservice A to application unit 1 in microservice B. Note that in a conventional configuration, an access request from microservice A reaches application unit 1 in microservice B directly.

[0024] When an access request is received from microservice A (step S1, Yes), the distribution unit 2 judges whether the access request is a version information acquisition request or not (step S2). For example, when microservice B is realized as a WebAPI, whether the access request is a version information acquisition request or not is judged by the path name of the URL. Specifically, when the path name of the URL is, for example, https: / / {IP address or host name of microservice B} / version, the distribution unit 2 judges that the access request is a version information acquisition request.

[0025] If the access request is not a version information acquisition request (No at step S2), the distribution unit 2 distributes the access request to the application unit 1, and the application unit 1 performs any process based on the access request (step S3).

[0026] If the access request is a version information acquisition request (step S2, Yes), the distribution unit 2 distributes the access request to the provision unit 3, and the provision unit 3 determines whether or not the application unit 1 has version information (step S4). Specifically, the provision unit 3 determines, for example, whether or not the application unit 1 has a file that directly represents the version information.

[0027] If the application unit 1 has the version information (Yes at step S4), the providing unit 3 returns the version information to the microservice A as a response to the version information acquisition request (step S5).

[0028] If the application unit 1 does not have the version information (step S4, No), the providing unit 3 acquires a hash value of predetermined data such as a program execution file of the application unit 1 (step S6).

[0029] Next, the providing unit 3 determines whether or not the hash value acquired in step S6 is the same as the previously acquired hash value (step S7).

[0030] If the hash value is the same as the previously acquired hash value (step S7, Yes), the providing unit 3 returns the same version information as the previously acquired hash value to the microservice A (step S8). If the hash value is not the same as the previously acquired hash value (step S7, No), the providing unit 3 returns version information different from the previously acquired hash value to the microservice A (step S9).

[0031] In addition, when the providing unit 3 obtains the version information for the first time, the providing unit 3 returns arbitrarily determined version information to the microservice A.

[0032] In addition, the settings such as the presence or absence of a file that directly indicates version information and which file is the target of reference for version information may be determined in advance between the application developer and the microservice platform administrator. For example, if the file to be referenced is known in advance, the process of step S5 in the flowchart of FIG. 3 may always be executed.

[0033] Furthermore, if it is known in advance that the application unit 1 directly has a version information providing function built in, the distribution unit 2 and the providing unit 3 do not need to be provided in the microservice B.

[0034] In addition, when there is no file that directly represents version information, the application developer and the microservice platform administrator may determine in advance which file in the application unit 1 to reference for its hash value.

[0035] Moreover, the value to be returned as the version information may be arbitrarily determined by the microservice platform administrator in conjunction with the access rules described below. For example, the providing unit 3 may return version 1 when acquiring a hash value for the first time, and if the hash value is different from the previous hash value, may return a value obtained by multiplying the previous version by 1 as the version information.

[0036] [Example of transmission control] Next, Fig. 4 is a flowchart showing an example of a method for controlling the transmission of an access request according to the first embodiment. First, the control unit 4 judges whether the request is for access to microservice C (step S1). Specifically, the control unit 4 hooks (intercepts) the access arriving at microservice C from the application unit 1 in microservice B, thereby temporarily suspending the access. Note that in a conventional configuration, the access request from the application unit 1 arrives directly at microservice C.

[0037] If the request is for accessing the microservice C (Yes at step S21), the control unit 4 acquires the version information X of the microservice B from the providing unit 3 (step S22).

[0038] Next, the control unit 4 acquires the version information Y of the microservice C (step S23). Specifically, the control unit 4 acquires the version information Y of the microservice C, for example, by accessing https: / / {IP address or host name of the microservice C} / version.

[0039] Next, the control unit 4 determines whether to permit the access based on a predetermined access rule (step S24). For example, if the access rule is set to "permit access from version X of microservice B to version Y of microservice C", the control unit 4 permits the access.

[0040] When the access is permitted (Yes at step S24), the control unit 4 accesses the microservice C by transmitting an access request to the microservice C, and returns a response from the microservice C to the application unit 1 (step S25).

[0041] If the access is not permitted (step S24, No), the control unit 4 generates a response indicating the denial and returns the response to the application unit 1 (step S26).

[0042] The access rules are set by, for example, a microservice platform administrator. The access rules may be set by specifying a specific microservice name or version value as in the above example, or may be set according to conditions.

[0043] Specifically, the condition setting is, for example, "permitted if the version of the access source and the version of the access destination are the same."

[0044] For example, a condition setting is "Allow if the major version is the same even if the minor version is different." In this condition, if the version of the access source is 6.1 and the version of the access destination is 6.2, the major version is 6 and the access is allowed.

[0045] Also, in the example of Figure 4, when there is an access request from microservice B to microservice C, the control unit 4 obtains the version information of microservice C. However, the control unit 4 may obtain and cache the version information of microservice C in advance.

[0046] When version information is cached, there is a risk that the cached version information may become inconsistent with the actual version information depending on the timing, but there is an advantage in that the response when the service is executed is faster because the version information check when the service is executed is omitted. To reduce the risk, the cache expiration time may be dynamically adjusted manually or automatically.

[0047] When the cache expiration time is automatically adjusted, for example, if the update frequency of the destination microservice over a recent fixed period is high, it is assumed that the microservice will continue to be updated frequently for some time to come, and the cache expiration time may be shortened. Conversely, if the update frequency of the destination microservice over a recent fixed period is low, the cache expiration time may be lengthened.

[0048] Also, in the example of Figure 4, if there is a problem with the version of microservice C, access is made in the following order: service request to the information processing system 100 → microservice A → B → C (it is discovered that there is a problem with the version) → B → A → response indicating that the service cannot be provided. However, the response time can be shortened by, for example, satisfying the following conditions (1) to (3). <Condition> (1) Microservice B obtains the version information of microservice C in advance. (2) Microservice B proactively communicates the version information of microservice C to microservice A. (3) The access rules for microservice B are also maintained for microservice A.

[0049] For example, when the above conditions (1) to (3) are satisfied, a service request to the information processing system 100 → A (it has already been discovered that there is a problem with the version of the microservice C ahead) → a response that the service cannot be provided can be returned immediately.

[0050] As described above, in the information processing system 100 of the first embodiment, the providing unit 3 provides its own version information and the version information of the communication destination service. Then, the control unit 4 controls access to the communication destination service based on the access rules. The access rules include information for controlling whether or not to permit access to the communication destination service based on the version information of the information processing system itself and the version information of the communication destination service.

[0051] According to the first embodiment, each microservice can provide version information to other microservices, and therefore access control between microservices can be performed according to the version information. This makes it possible to prevent the execution of an unintended version of a microservice, and therefore improves the stability of the operation of a system (in the example of FIG. 1, information processing system 100) provided by multiple services (in the example of FIG. 1, microservices A to D) developed individually.

[0052] For example, even if microservice C is suddenly updated, it is possible to prevent problems such as microservice B sending out-of-specification data to microservice C. Also, for example, even if microservice C is suddenly updated, it is possible to prevent problems such as microservice B receiving out-of-specification data from microservice C.

[0053] Second embodiment Next, a second embodiment will be described. In the description of the second embodiment, the same description as in the first embodiment will be omitted, and only the differences from the first embodiment will be described. In the second embodiment, a case will be described in which the microservice D shown in FIG. 1 accesses an external service.

[0054] If the external service is directly provided with a version information providing function, the microservice D accessing the external service can use that version information to perform the same access control as in the first embodiment. However, if the external service is not directly provided with a version information providing function, the external service is not under the control of the microservice platform administrator, and therefore the providing unit 3 as shown in the first embodiment cannot be installed on the external service side.

[0055] Hereinafter, as a second embodiment, a form in which access to such external services (for example, applications not under the management of the microservice platform administrator) is also managed will be described.

[0056] 5 is a diagram showing an example of the configuration of an information processing system 100-2 according to the second embodiment. In a conventional configuration, the microservice D directly accesses the external service 200, but in the second embodiment, one microservice called a virtual external service 10 is sandwiched between the microservice D and the external service 200.

[0057] [Example of functional configuration] 6 is a diagram showing an example of a functional configuration of the virtual external service 10 of the second embodiment. The virtual external service 10 of the second embodiment includes a distribution unit 2, a providing unit 3, and a storage unit 5.

[0058] If the access request received from the microservice D is a version information acquisition request, the distribution unit 2 distributes the access request to the provision unit 3.

[0059] The providing unit 3 accesses the external service 200 according to the input / output data for version confirmation pre-stored in the storage unit 5. Then, the providing unit 3 returns version information to the microservice D based on the response received from the external service 200. The input / output data for version confirmation is, for example, a set of predetermined test data and data expected as a response to the test data.

[0060] Specifically, for example, when the result of executing specified test data on the external service 200 is the same as the previous execution result, the providing unit 3 provides the same version information as the version information provided the previous time, and when the result of executing specified test data on the external service 200 is different from the previous execution result, the providing unit 3 provides version information different from the version information provided the previous time.

[0061] Next, an example of the operation of the virtual external service 10 of the second embodiment will be described with reference to FIGS.

[0062] [Example of virtual external service operation] 7 is a flowchart showing an example of the operation of the virtual external service 10 of the second embodiment. First, the distribution unit 2 determines whether or not an access request has been received from the microservice D (step S31). Specifically, the distribution unit 2 determines whether or not an access request has been received by hooking (stealing) the access request transmitted from the microservice D to the external service 200.

[0063] When an access request is received from microservice D (Yes at step S31), the distribution unit 2 determines whether the access request is a version information acquisition request (step S32).

[0064] If the access request is not a version information acquisition request (No at step S32), the distribution unit 2 transfers the access request to the external service 200, and then returns the response from the external service 200 to the microservice D as is (step S33).

[0065] If the access request is a version information acquisition request (Yes at step S32), the distribution unit 2 distributes the access request to the provision unit 3, and the provision unit 3 accesses the external service 200 using predetermined input data (step S34).

[0066] The predetermined input data is, for example, input data for version check that is set in advance by a microservice infrastructure administrator. Note that multiple pieces of input data for version check may be transmitted to the external service 200 in a predetermined order.

[0067] Next, the providing unit 3 judges whether the response from the external service 200 is equal to the predetermined output data (step S35). The predetermined output data is, for example, version check output data corresponding to the version check input data. Specifically, the version check output data is data listing multiple responses obtained when multiple version check input data are provided to the external service 200.

[0068] If the response from the external service 200 is equal to the predetermined output data (Yes at step S35), the providing unit 3 assumes that no change has occurred in the external service 200, and returns the same version information as the previous time to the microservice D (step S36).

[0069] If the response from the external service 200 is different from the predetermined output data (step S35, No), the providing unit 3 assumes that a change has occurred in the external service 200, and returns version information different from the previous time to the microservice D (step S37). In this case, the providing unit 3 overwrites the version confirmation output data with the response data obtained this time.

[0070] Note that the output data for version check may not be updated, and only whether the response matches the output data for version check preset by the microservice platform administrator may be determined. Specifically, the providing unit 3 may return version X if the response is what the microservice platform administrator expects, and may return version Y if the response is different from the expected response.

[0071] Furthermore, in the above-mentioned step S35, in addition to the condition that all responses from multiple accesses are as expected, performance conditions such as the time until the response may be further determined. That is, even if all responses are as expected, if the time from the transmission of the predetermined input data to the response is different from the previous time or the expected time, the providing unit 3 may return to the microservice D version information different from the previous time. Whether the time from the transmission of the predetermined input data to the response is different from the previous time or the expected time is determined, for example, by whether the difference from the previous response time or the expected value of the response time is greater than a threshold value.

[0072] As described above, according to the second embodiment, the microservice D can obtain version information from the external service 200 via the virtual external service 10. Therefore, similar to the first embodiment, the microservice D can determine whether or not to allow access to the external service 200 depending on the version information.

[0073] Conventionally, it was assumed that it was possible to manage whether or not to update microservices, and a situation in which some microservices are suddenly updated was not taken into consideration. Specifically, for example, when a group of microservices references not only microservices within the system but also an external service (external service 200 in the example of FIG. 6), a situation in which the external service is suddenly updated was not taken into consideration.

[0074] In addition, even if the input / output data for the entire service was taken into consideration, the input / output data between the individual microservices contained in the service was not taken into consideration. As a result, in the process of checking the input / output data for the entire service, some microservices received input data outside the specifications, resulting in the execution of unintended processes.

[0075] In addition, in the process of checking whether each microservice that makes up the service has been updated (changed), when each microservice is run, there is a possibility that unintended output will be returned to the service requester.

[0076] On the other hand, according to the second embodiment, for example, even if the external service 200 is suddenly updated, it is possible to prevent a problem in which the microservice D sends data out of specifications to the external service 200. Also, for example, according to the second embodiment, even if the external service 200 is suddenly updated, it is possible to prevent a problem in which the microservice D receives data out of specifications from the external service 200.

[0077] Finally, an example of the hardware configuration of an information processing device (server device) that realizes the microservices A to D, the virtual external service 10, and the external service 200 of the first and second embodiments will be described.

[0078] [Example of hardware configuration] 8 is a diagram showing an example of the hardware configuration of the information processing device according to the first and second embodiments. The microservices A to D, the virtual external service 10, and the external service 200 according to the first and second embodiments are realized by one or more information processing devices (server devices) including, for example, a control device 201, a main memory device 202, an auxiliary memory device 203, a display device 204, an input device 205, and a communication device 206.

[0079] The control device 201 , the main memory device 202 , the auxiliary memory device 203 , the display device 204 , the input device 205 and the communication device 206 are connected via a bus 210 .

[0080] The control device 201 executes a program read from the auxiliary storage device 203 to the main storage device 202. The main storage device 202 is a memory such as a ROM and a RAM. The auxiliary storage device 203 is a hard disk drive (HDD), a memory card, or the like.

[0081] The display device 204 is, for example, a liquid crystal display. The input device 205 is an interface for operating the information processing device. The input device 205 is, for example, a keyboard and a mouse. The display device 204 and the input device 205 may be realized by a touch panel or the like having a display function and an input function.

[0082] The communication device 206 is an interface for the information processing device to communicate with other devices.

[0083] The programs executed by the information processing device are provided as computer program products, recorded in a computer-readable storage medium such as a CD-ROM, memory card, CD-R, or DVD in an installable or executable format file.

[0084] The program executed by the information processing device may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. The program executed by the information processing device may also be provided via a network such as the Internet without being downloaded.

[0085] The program for the information processing device may be provided by being pre-installed in a ROM or the like.

[0086] The program executed by the information processing device has a modular configuration including functions that can be realized by the program among the functional configurations in the above-mentioned Figures 2 and 6. As for each function, as actual hardware, the control device 201 reads out the program from a storage medium and executes it, and the above-mentioned functional blocks are loaded onto the main memory device 202. In other words, the above-mentioned functional blocks are generated on the main memory device 302.

[0087] It should be noted that some or all of the functions in FIGS. 2 and 6 described above may be realized by hardware such as an IC rather than by software.

[0088] Furthermore, when multiple processors are used to realize the respective functions, each processor may realize one of the respective functions, or may realize two or more of the respective functions.

[0089] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims.

[0090] For example, the operations of the first and second embodiments may be combined. Specifically, for example, when the application unit 1 does not have version information, if the result of causing the application unit 1 to execute predetermined test data is the same as the previous execution result, the providing unit 3 may provide the same version information as the version information provided previously, and when the result of causing the application unit 1 to execute predetermined test data is different from the previous execution result, the providing unit 3 may provide version information different from the version information provided previously. [Explanation of symbols]

[0091] A-D Microservices 1 Application Section 2. Distribution Section 3 Providing Department 4. Control Unit 5 Storage section 100 Information Processing Systems 200 External Services 201 Control device 202 Main storage 203 Auxiliary storage device 204 Display device 205 Input Device 206 Communication Equipment 210 Bus

Claims

1. An information processing system configured by linking a plurality of services through communication, Each of the plurality of services includes: a providing unit that provides version information of the device itself and version information of a communication destination service; a control unit that controls access to the communication destination service based on an access rule; an application unit that executes any process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, the providing unit, when the application unit does not have the version information, calculates a hash value of predetermined data that is changed by updating the application unit, and when the hash value is the same as the previously acquired hash value, provides the same version information as the previously provided version information, and when the hash value is different from the previously acquired hash value, provides version information different from the previously provided version information. Information processing system.

2. An information processing system configured by linking a plurality of services through communication, Each of the plurality of services includes: a providing unit that provides version information of the device itself and version information of a communication destination service; a control unit that controls access to the communication destination service based on an access rule; an application unit that executes any process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, When the application unit does not have the version information, if a result of executing predetermined test data on the application unit is the same as a previous execution result, the providing unit provides the same version information as the previously provided version information, and if a result of executing predetermined test data on the application unit is different from the previous execution result, the providing unit provides version information different from the previously provided version information. Information processing system.

3. a distribution unit that hooks an access request received from another service, and if the access request is a version information acquisition request, distributes the version information acquisition request to the provision unit, and if the access request is not the version information acquisition request, distributes the access request to the application unit; The providing unit provides the version information of itself when the version information acquisition request is received.

3. The information processing system according to claim 1 or 2.

4. the control unit hooks an access request to the communication destination service from the application unit, determines whether or not to permit access to the communication destination service based on the access rule, and, if the access to the communication destination service is permitted, transmits the access request to the communication destination service. The information processing system according to any one of claims 1 to 3.

5. the providing unit provides the version information acquired from the application unit when the application unit has the version information. The information processing system according to any one of claims 1 to 4.

6. a providing unit that provides version information of the device itself and version information of a communication destination service; a control unit that controls access to the communication destination service based on an access rule; an application unit that executes any process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, the providing unit, when the application unit does not have the version information, calculates a hash value of predetermined data that is changed by updating the application unit, and when the hash value is the same as the previously acquired hash value, provides the same version information as the previously provided version information, and when the hash value is different from the previously acquired hash value, provides version information different from the previously provided version information. Information processing device.

7. A providing unit that provides version information of itself and version information of a communication destination service; a control unit that controls access to the communication destination service based on an access rule; an application unit that executes any process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, When the application unit does not have the version information, if a result of executing predetermined test data on the application unit is the same as a previous execution result, the providing unit provides the same version information as the previously provided version information, and if a result of executing predetermined test data on the application unit is different from the previous execution result, the providing unit provides version information different from the previously provided version information. Information processing device.

8. An information processing device provides version information of itself and version information of a communication destination service, the information processing device controls access to the communication destination service based on an access rule; an application unit of the information processing device executes an arbitrary process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, the information processing device, when the application unit does not have the version information, calculates a hash value of predetermined data changed by updating the application unit, and when the hash value is the same as the previously acquired hash value, provides the same version information as the previously provided version information, and when the hash value is different from the previously acquired hash value, provides version information different from the previously provided version information. Information processing methods.

9. An information processing device providing version information of itself and version information of a communication destination service, the information processing device controls access to the communication destination service based on an access rule; an application unit of the information processing device executes an arbitrary process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, When the application unit does not have the version information, the information processing device provides the same version information as the previously provided version information if a result of executing predetermined test data on the application unit is the same as a previous execution result, and provides version information different from the previously provided version information if a result of executing predetermined test data on the application unit is different from the previous execution result. Information processing methods.

10. On the computer, Providing version information of itself and version information of the communication destination service, Controlling access to the communication destination service based on an access rule; causing an application unit of the computer to execute any process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, If the application unit does not have the version information, a hash value of predetermined data that is changed by updating the application unit is calculated, and if the hash value is the same as the previously obtained hash value, version information that is the same as the previously provided version information is provided, and if the hash value is different from the previously obtained hash value, version information different from the previously provided version information is provided. program.

11. A computer comprising: Providing version information of itself and version information of the communication destination service, Controlling access to the communication destination service based on an access rule; causing an application unit of the computer to execute any process in response to an access request; the access rule includes information for controlling whether or not to permit access to the communication destination service based on version information of the device itself and version information of the communication destination service, the version information indicates a version of the application unit, When the application unit does not have the version information, if a result of executing the specified test data on the application unit is the same as a previous execution result, the application unit is caused to provide the same version information as the previous provided version information, and if a result of executing the specified test data on the application unit is different from the previous execution result, the application unit is caused to provide version information different from the previous provided version information. program.

Citation Information

Patent Citations

  • Method for providing access to appropriate version of target component for request side component

    JP2005222524A

  • Program operation system, and program operation method

    JP2020173650A