Information processing device, application distribution system, application distribution method, and program
By creating a tree structure of application distribution target devices to route container image distribution, the system reduces network load and delivery delays by delegating distribution tasks to lower-layer devices, addressing the bandwidth challenges faced with increasing applications and user devices.
Patent Information
- Application Number
- PCT/JP2024/007253
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-02-28
- Publication Date
- 2024-10-03
AI Technical Summary
As the number of applications and user devices increases, the network bandwidth required for distributing container images grows, leading to increased load on the cloud and network, causing delivery delays, despite existing layer optimization techniques.
An information processing apparatus creates a tree structure of application distribution target devices to define a distribution route for each application, transmitting the application to devices in the first layer of the tree structure, thereby reducing the load on the cloud by delegating distribution to lower-layer devices.
This approach reduces the load during application distribution by allowing other devices to handle transmission to second-layer and lower-layer devices, minimizing the burden on the primary distribution apparatus.
Smart Images

Figure JP2024007253_03102024_PF_FP_ABST
Abstract
Description
Information processing device, application distribution system, application distribution method and program
[0001] The present disclosure relates to an information processing device, an application distribution system, an application distribution method, and a program.
[0002] In recent years, technologies using AI (Artificial Intelligence) (e.g., machine learning) have been used in various situations such as daily life, academia, and business.
[0003] There is a mechanism in which an application (program, software) that provides AI technology is packaged together with an execution environment into a container, and the container is distributed and deployed to a user device (for example, an edge device (which may also be called an edge terminal)) that runs the application within the container. A container is launched from a container image, which is, for example, a container template file. A container image is a building block of an application that runs on a user device. Note that the terms container and container image may be interpreted interchangeably.
[0004] Such container images are often managed by, for example, a cloud or the like and distributed to various user devices via the cloud, etc. This makes it easy to update or add applications to each user device.
[0005] However, as the number of applications and user devices using those applications increases, the network bandwidth required to distribute container images increases, which can put a strain on the cloud and the network, causing problems such as distribution delays.
[0006] One possible solution to this problem is to reduce the weight of the container image to be distributed. For example, Patent Literature 1 discloses a technique for reducing the weight of the container image to be distributed.
[0007] JP 2019-28690 A
[0008] Patent Document 1 discloses a layer optimization technology that classifies each process by category, places processes belonging to the same category in the same layer, and places layers that are updated more frequently in higher layers, thereby making container images lighter.
[0009] However, with the technology disclosed in Patent Document 1, data is still distributed individually from the cloud to a large number of user devices, making it difficult to reduce the load on the cloud side.
[0010] In view of the above, an object of the present disclosure is to provide a technology that can reduce the load when delivering an application.
[0011] An information processing device according to one aspect of the present disclosure includes a tree structure creation unit that creates a tree structure of application distribution target devices based on the application to be distributed to each of the application distribution target devices, and specifies a route for distributing the application to the application distribution target devices for each application, and an application distribution unit that transmits the application to be distributed to a device located at the first tier of the tree structure among the application distribution target devices.
[0012] An application distribution system according to one aspect of the present disclosure is an application distribution system having an information processing device and application distribution target devices, wherein the information processing device creates a tree structure of the application distribution target devices based on the application to be distributed to each of the application distribution target devices, specifying a route for distributing the application to the application distribution target devices for each application, and transmits the application to a device located at a first tier in the tree structure among the application distribution target devices, and the device located at the first tier in the tree structure transmits the application to a device located at a second tier in the tree structure among the application distribution target devices.
[0013] An application distribution method according to one aspect of the present disclosure includes an information processing device creating a tree structure of application distribution target devices, which defines, for each application, a route along which the application to be distributed to the application distribution target devices will be distributed based on the application to be distributed to each of the application distribution target devices, and transmitting the application to a device located at a first level in the tree structure among the application distribution target devices.
[0014] A program according to one aspect of the present disclosure is a program for causing an information processing device to execute processing including: creating a tree structure of application distribution target devices, which specifies, for each application, a route along which the application to be distributed to the application distribution target devices will be distributed based on the application to be distributed to each of the application distribution target devices; and transmitting the application to be distributed to a device located at the first tier of the tree structure among the application distribution target devices.
[0015] According to one aspect of the present disclosure, it is possible to reduce the load when delivering an application.
[0016] FIG. 1 is a block diagram showing an example of a schematic configuration of an application distribution system according to an embodiment of the present disclosure. FIG. 2 is a block diagram showing an example of a hardware configuration of an application distribution device according to an embodiment of the present disclosure. FIG. 3 is a block diagram showing an example of a functional configuration of an application distribution device according to an embodiment of the present disclosure. FIG. 4 is a block diagram showing an example of a hardware configuration of an edge device according to an embodiment of the present disclosure. FIG. 5 is a block diagram showing an example of a functional configuration of an edge device according to an embodiment of the present disclosure. FIG. 6 is a diagram for explaining an example of tree structure creation by an application distribution device according to an embodiment of the present disclosure. FIG. 7 is a diagram for explaining an example of tree structure creation by an application distribution device according to an embodiment of the present disclosure. FIG. 8 is a diagram for explaining an example of tree structure creation by an application distribution device according to an embodiment of the present disclosure.
[0017] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. However, the scope of the invention is not limited to the examples shown in the drawings. In the following description, components having the same functions and configurations are designated by the same reference numerals, and their description will be omitted.
[0018] (Embodiment) <Summary of the Present Disclosure> According to one embodiment of the present disclosure, for example, an information processing device (e.g., application distribution device 100 shown in FIG. 1 , etc.) installed in a cloud environment creates a tree structure (tree structure of application distribution target devices) that specifies, for each application to be distributed, a route along which the application to be distributed to the application distribution target devices is distributed, based on the application to be distributed to each of the application distribution target devices (e.g., edge devices 20-1 to 20-N, etc. shown in FIG. 1 ). The information processing device distributes the application directly or indirectly to the application distribution target devices based on the created tree structure. More specifically, the information processing device transmits the application to be distributed to a device located at the first hierarchical level (top hierarchical level) of the tree structure among the application distribution target devices.
[0019] With the above configuration, other application distribution target devices are responsible for distributing (transmitting) applications to application distribution target devices located in the second hierarchical level and hierarchical levels lower than the second hierarchical level, so the information processing device only needs to transmit the application to be distributed to the application distribution target device located in the first hierarchical level (highest hierarchical level), thereby reducing the load on the information processing device.
[0020] <System Configuration> FIG. 1 is a block diagram illustrating a schematic configuration example of an application distribution system according to an embodiment of the present disclosure.
[0021] 1, the application distribution system 1 includes a cloud environment 10, edge devices (edge terminals) 20-1 to 20-N (N is an integer of 2 or greater), and a network 30. The cloud environment 10 and the edge devices 20-1 to 20-N are connected to each other via the network 30. The network 30 may be a local area network (LAN), the Internet, a virtual private network (VPN), a mobile communication network, or a combination of these.
[0022] The cloud environment 10 includes an application distribution apparatus 100 that distributes applications to edge devices 20-1 to 20-N via a network 30.
[0023] The application distribution apparatus 100 determines edge devices to which an application is to be distributed (e.g., edge devices 20-1 to 20-N shown in FIG. 1 ), and determines an application to be distributed for each edge device to which the application is to be distributed. For example, the application distribution apparatus 100 may determine an edge device that has sent an application distribution request as the edge device to which the application is to be distributed, and may determine an application requested to be distributed in the application distribution request as the application to be distributed.
[0024] The application distribution apparatus 100 creates a tree structure (edge device tree structure) that defines, for each application, a path along which the application is distributed to the edge devices 20-1 to 20-N, based on the application to be distributed to each of the edge devices 20-1 to 20-N. The application distribution apparatus 100 controls application distribution by transmitting the created tree structure to the edge devices 20-1 to 20-N so that the application is distributed to the edge devices 20-1 to 20-N based on the created tree structure.
[0025] Based on the created tree structure, the application distribution apparatus 100 distributes applications directly or indirectly to edge devices 20-1 to 20-N via the network 30. Here, "directly distributing an application" means that the application distribution apparatus 100 distributes an application to an edge device located in the first tier in the tree structure described below (i.e., an edge device located directly below the application distribution apparatus 100). On the other hand, "indirectly distributing an application" means that the application distribution apparatus 100 distributes an application to an edge device located in a tier lower than the first tier in the tree structure (i.e., an edge device not located directly below the application distribution apparatus 100).
[0026] The edge devices 20-1 to 20-N are devices that execute applications such as machine learning applications (AI applications) and containers. The edge devices 20-1 to 20-N receive the tree structure created by the application distribution device 100 from the application distribution device 100. Some of the edge devices 20-1 to 20-N may receive applications directly from the application distribution device 100 based on the tree structure, and some of the edge devices 20-1 to 20-N may receive applications indirectly from the application distribution device 100 by receiving applications transmitted (distributed) from other edge devices based on the tree structure. In the following, when there is no need to distinguish between the edge devices 20-1 to 20-N, they will be referred to as edge devices 20.
[0027] In this embodiment, the delivery unit of the application delivered to the edge devices 20-1 to 20-N may be a normal application, a container image, or a container layer.
[0028] 2 is a block diagram illustrating an example of a hardware configuration of an application distribution device according to an embodiment of the present disclosure. The application distribution device 100 may be realized by a computing device (calculator, computer) such as a server or an information processing device.
[0029] 2, the application distribution device 100 may include a storage device 101, a processing device 102, a user interface (UI) device 103, a communication device 104, and a bus 105. The storage device 101, the processing device 102, the UI device 103, and the communication device 104 may be connected to each other via the bus 105.
[0030] The programs or instructions that realize the functions and processes described above and below in the application distribution device 100 may be downloaded from some external device via a network, etc., or may be provided from a removable storage medium such as a flash memory (USB memory, etc.), a CD-ROM (Compact Disc Read Only Memory), or a removable HDD (Hard Disk Drive).
[0031] The storage device 101 is realized by a RAM (Random Access Memory), a flash memory, a HDD, etc., and stores installed programs or instructions as well as files, data, etc. used to execute the programs or instructions. The storage device 101 may also include a non-transitory storage medium.
[0032] The processing device 102 may be realized by one or more CPUs (Central Processing Units), GPUs (Graphics Processing Units), processing circuitry, etc. (processors), which may be composed of one or more processor cores, and performs the functions and processing of the application distribution device 100 described above and below in accordance with programs or instructions stored in the storage device 101, data such as parameters used to execute the programs or instructions, etc.
[0033] The UI device 103 may be composed of input devices such as a keyboard, a mouse, a camera, a microphone, etc., output devices such as a display, a speaker, a headset, a printer, etc., and input / output devices such as a touch panel, and realizes an interface between a user and the application distribution device 100. For example, a user operates the application distribution device 100 by operating a graphical user interface (GUI) displayed on a display or a touch panel using a keyboard, a mouse, etc.
[0034] The communication device 104 may be realized by various communication circuits that execute communication processes with external devices and communication networks such as the Internet, LAN, and VPN.
[0035] The above-described hardware configuration of the application distribution apparatus 100 is merely an example, and the application distribution apparatus 100 according to the present disclosure may be realized by any other appropriate hardware configuration.
[0036] FIG. 3 is a block diagram illustrating an example of a functional configuration of an application distribution device according to an embodiment of the present disclosure.
[0037] As shown in FIG. 3, the application distribution apparatus 100 includes a tree structure creation unit 151 , a tree structure storage unit 152 , and an application distribution unit 153 .
[0038] The tree structure creation unit 151 may be realized by, for example, the processing device 102 .
[0039] The tree structure creation unit 151, for example, receives an application distribution request from an edge device (edge devices 20-1 to 20-N), determines the edge devices (edge devices 20-1 to 20-N) to which the application is to be distributed, and determines the application to be distributed for each edge device to which the application is to be distributed.
[0040] The tree structure creation unit 151 creates a tree structure (tree structure of the edge devices 20-1 to 20-N) that defines, for each application, a route along which the application is delivered to the edge devices 20-1 to 20-N, based on the application delivered to each of the edge devices 20-1 to 20-N. An example of the tree structure creation will be described later.
[0041] Tree structure creation unit 151 outputs the created tree structure to application distribution unit 153 and also stores it in tree structure storage unit 152 .
[0042] The tree structure creation unit 151 may update (recreate) the tree structure each time application distribution starts (for example, immediately before the start of distribution). The tree structure creation unit 151 may also update the tree structure when a change occurs in the edge devices to which the application is distributed. Changes in the edge devices to which the application is distributed include, for example, when an edge device to which the application is distributed is added, when an edge device to which the application is distributed is deleted, or when an edge device to which the application is distributed is replaced. The tree structure creation unit 151 may also update the tree structure when a change occurs in the application to be distributed. Changes in the application to be distributed include, for example, when an application to be distributed is added or when an application to be distributed is deleted. The tree structure creation unit 151 may also update the tree structure when a change occurs in a value related to resource usage of an edge device to which the application is distributed that crosses a threshold. Resources of the edge device to which the application is distributed include, for example, memory, network bandwidth, etc., and values related to resource usage include, for example, free memory amount, free network bandwidth, etc.
[0043] The tree structure storage unit 152 may be realized by, for example, the storage device 101. The tree structure storage unit 152 stores a tree structure.
[0044] The application distribution unit 153 may be realized by the processing device 102 .
[0045] The application distribution unit 153 transmits the tree structure input from the tree structure creation unit 151 to the edge devices 20-1 to 20-N via the communication device 104.
[0046] The application distribution unit 153 distributes applications directly or indirectly to the edge devices 20-1 to 20-N based on the tree structure via the communication device 104. More specifically, the application distribution unit 153 distributes (sends) applications directly to edge devices located at the first hierarchical level in the tree structure, and distributes applications indirectly (via other edge devices) to edge devices located at hierarchical levels lower than the first hierarchical level (such as the second hierarchical level or the third hierarchical level) in the tree structure.
[0047] 4 is a block diagram illustrating an example of a hardware configuration of an edge device according to an embodiment of the present disclosure. The edge device 20 may be realized by a computing device such as a PC or an information processing device.
[0048] 4 , the edge device 20 may include a storage device 201, a processing device 202, a UI device 203, a communication device 204, and a bus 205. The storage device 201, the processing device 202, the UI device 203, and the communication device 204 may be connected to each other via the bus 205.
[0049] The programs or instructions that realize the functions and processes described above and below in the edge device 20 may be downloaded from some external device via a network, or may be provided from a removable storage medium such as a flash memory (USB memory, etc.), a CD-ROM, or a removable HDD.
[0050] The storage device 201 is realized by RAM, flash memory, HDD, etc., and stores installed programs or instructions as well as files, data, etc. used to execute the programs or instructions. The storage device 201 may also include a non-transitory storage medium.
[0051] The processing device 202 may be realized by one or more CPUs, GPUs, processing circuits, etc. (processors), which may be composed of one or more processor cores, and performs the functions and processing of the edge device 20 described above and below in accordance with programs or instructions stored in the storage device 201, data such as parameters used to execute the programs or instructions, etc.
[0052] The UI device 203 may be composed of input devices such as a keyboard, a mouse, a camera, a microphone, etc., output devices such as a display, a speaker, a headset, a printer, etc., and input / output devices such as a touch panel, and realizes an interface between a user and the edge device 20. For example, a user operates the edge device 20 by operating a GUI displayed on a display or a touch panel using a keyboard, a mouse, etc.
[0053] The communication device 204 may be realized by various communication circuits that execute communication processes with external devices and communication networks such as the Internet, LAN, and VPN.
[0054] The above-described hardware configuration of the edge device 20 is merely an example, and the edge device 20 according to the present disclosure may be realized by any other appropriate hardware configuration.
[0055] FIG. 5 is a block diagram illustrating an example of a functional configuration of an edge device according to an embodiment of the present disclosure.
[0056] As shown in FIG. 5, the edge device 20 includes a tree structure storage unit 251 and an application distribution unit 252 .
[0057] The tree structure storage unit 251 may be realized by, for example, the storage device 201. The tree structure storage unit 251 stores a tree structure.
[0058] The application distribution unit 252 may be realized by, for example, the processing device 202 .
[0059] The application distribution unit 252 receives the tree structure transmitted by the application distribution device 100 via the communication device 204 and stores it in the tree structure storage unit 251 .
[0060] The application distribution unit 252 receives applications from the application distribution device 100 or other edge devices based on the received tree structure via the communication device 204, thereby receiving application distribution directly or indirectly from the application distribution device 100.
[0061] The application distribution unit 252 may also transmit an application received from the application distribution device 100 or another edge device to another edge device (different from the other edge devices described above) via the communication device 204 based on the received tree structure.
[0062] Note that an application distribution request unit (not shown) of the edge device 20, which may be the application distribution unit 252, transmits an application distribution request to the application distribution apparatus 100 in response to a user input via the UI device 203, for example.
[0063] As described above, by having other edge devices take charge of application distribution (transmission) to edge devices located at the second level and levels lower than the second level in the tree structure created by the application distribution device 100, the application distribution device 100 only needs to transmit the application to an edge device located at the first level in the tree structure, thereby reducing the load on the application distribution device 100.
[0064] <Operation of Application Distribution System> Next, an example of the operation of the application distribution system 1 will be described with reference to FIGS.
[0065] 6, an example of creating a tree structure based on applications distributed to each edge device 20 will be described. In this example, it is assumed that the tree structure creation unit 151 has determined at least edge devices 20-1 to 20-3 as edge devices to which applications are to be distributed, and has determined applications 1 to 8, applications 1 to 4, and applications 5 to 7 as applications to be distributed to edge devices 20-1 to 20-3, respectively.
[0066] The tree structure creation unit 151 determines the hierarchy of the tree structure, for example, taking into consideration overlapping of applications distributed to each edge device. In the example shown in Fig. 6, the tree structure creation unit 151 determines that the edge device 20-1 is to be the first hierarchy of the tree structure for each of applications 1 to 8, determines that the edge device 20-2 is to be the second hierarchy of the tree structure for each of applications 1 to 4, and determines that the edge device 20-3 is to be the second hierarchy of the tree structure for each of applications 5 to 7.
[0067] By determining the hierarchy in this way, tree structure creation unit 151 creates a tree structure having the determined hierarchy for each application.
[0068] Table 1 shows the tree structure according to this example.
[0069]
[0070] The application distribution unit 153 transmits the created tree structure to the edge device to which the application is to be distributed.
[0071] The application distribution unit 153 distributes (transmits) applications to edge devices located in the first hierarchical level of the created tree structure. In this example, the application distribution unit 153 distributes (transmits) applications 1 to 8 to edge device 20-1 located in the first hierarchical level. Note that in the explanations of this example and the examples shown in Figures 7 to 9, "distributing an application" means "directly distributing an application."
[0072] The application distribution unit 252 of an edge device located in the first tier distributes (transmits) applications to edge devices located in the second tier. In this example, the application distribution unit 252 of edge device 20-1 distributes (transmits) applications 1 to 4 to edge device 20-2 located in the second tier, and distributes (transmits) applications 5 to 7 to edge device 20-3 located in the second tier.
[0073] Edge devices located in the second layer (and layers lower than the second layer) similarly distribute (transmit) applications.
[0074] In this way, the load on the application distribution apparatus 100 can be reduced by having other edge devices take charge of application distribution (transmission) to edge devices located in the second layer and layers lower than the second layer.
[0075] 7, an example of creating a tree structure based on the number of applications to be distributed for each edge device 20 will be described. In this example, it is assumed that the tree structure creation unit 151 has determined edge devices 20-1 to 20-4 as the edge devices to which applications are to be distributed, and has determined applications 1 to 5, applications 1 to 3 and 6, applications 1, 2 and 7, and applications 6 and 8 as the applications to be distributed to edge devices 20-1 to 20-4, respectively.
[0076] The tree structure creation unit 151 determines the hierarchical level of the tree structure for each application to be distributed such that the smaller the total number of applications to be distributed among the edge devices to which the application is distributed, the higher the hierarchical level of the edge device to which the application is distributed. In other words, the tree structure creation unit 151 creates the tree structure for each application such that the smaller the total number of applications to be distributed to each edge device to which the application is distributed, the higher the hierarchical level of the edge device to which the application is distributed.
[0077] 7 , for application 1, among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, edge device 20-3 has the smallest total number of distributed applications, so tree structure creation unit 151 determines edge device 20-3 to be the first tier of the tree structure. For application 1, among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, edge device 20-2 has the next smallest total number of distributed applications, so tree structure creation unit 151 determines edge device 20-2 to be the second tier of the tree structure. For application 1, among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, edge device 20-1 has the next smallest total number of distributed applications, so tree structure creation unit 151 determines edge device 20-1 to be the third tier of the tree structure.
[0078] Similarly, for application 2, the tree structure creation unit 151 determines that edge device 20-3 is to be in the first tier of the tree structure, edge device 20-2 is to be in the second tier of the tree structure, and edge device 20-1 is to be in the third tier of the tree structure.
[0079] The same applies to each of applications 3 to 8. By determining the hierarchies in this manner, the tree structure creation unit 151 creates a tree structure having the determined hierarchies for each application. Note that if the total number of applications distributed to multiple edge devices to which a certain application is distributed is the same, the tree structure creation unit 151 may determine the hierarchies randomly so that the hierarchies are in order among these multiple edge devices, or may determine the hierarchies so that the hierarchies are in order among these multiple edge devices and in accordance with the amount of free memory and free network bandwidth, as described below.
[0080] Table 2 shows the tree structure according to this example.
[0081]
[0082] The application distribution unit 153 transmits the created tree structure to the edge device to which the application is to be distributed.
[0083] The application distribution unit 153 distributes (transmits) applications to edge devices located in the first hierarchical level of the created tree structure. In this example, the application distribution unit 153 distributes (transmits) application 1 to edge device 20-3 located in the first hierarchical level.
[0084] The application distribution unit 252 of an edge device located in the first tier distributes an application to an edge device located in the second tier. In this example, the application distribution unit 252 of edge device 20-3 distributes (transmits) application 1 to edge device 20-2 located in the second tier.
[0085] The application distribution unit 252 of the edge device located in the second tier distributes (transmits) an application to an edge device located in the third tier. In this example, the application distribution unit 252 of the edge device 20-2 distributes (transmits) application 1 to the edge device 20-1 located in the third tier.
[0086] The same applies to each of the applications 2 to 8.
[0087] In this way, the load on the application distribution apparatus 100 can be reduced by having other edge devices take charge of application distribution (transmission) to edge devices located in the second layer and layers lower than the second layer.
[0088] 7, the communication volume of each device is simply represented by the number of arrows leading to and from that device. As shown in Fig. 7, the number of arrows leading to and from edge device 20-1 is 5, the number of arrows leading to and from edge device 20-2 is 7, the number of arrows leading to and from edge device 20-3 is 5, and the number of arrows leading to and from edge device 20-4 is 3. Therefore, by creating such a tree structure, it is possible to equalize the network load of the edge devices.
[0089] 8, another example of creating a tree structure based on the number of applications to be distributed to each edge device 20 will be described. In this example, it is assumed that the tree structure creation unit 151 has determined edge devices 20-1 to 20-4 as the edge devices to which applications are to be distributed, and has determined applications 1 to 5, applications 1 to 3 and 6, applications 1, 2 and 7, and applications 6 and 8 as the applications to be distributed to edge devices 20-1 to 20-4, respectively.
[0090] 7 , the tree structure creation unit 151 determines the hierarchical level of the tree structure for each application to be distributed such that the greater the total number of applications to be distributed among the edge devices to which the application is distributed, the higher the hierarchical level of the edge device to which the application is distributed. In other words, the tree structure creation unit 151 creates the tree structure for each application such that the greater the total number of applications to be distributed to each edge device to which the application is distributed, the higher the hierarchical level of the edge device to which the application is distributed.
[0091] 8 , for application 1, among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, edge device 20-1 has the largest total number of distributed applications, and therefore tree structure creation unit 151 determines edge device 20-1 to be the first tier of the tree structure. For application 1, among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, edge device 20-2 has the second largest total number of distributed applications, and therefore tree structure creation unit 151 determines edge device 20-2 to be the second tier of the tree structure. For application 1, among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, edge device 20-3 has the second largest total number of distributed applications, and therefore tree structure creation unit 151 determines edge device 20-3 to be the third tier of the tree structure.
[0092] Similarly, for application 2, the tree structure creation unit 151 determines that edge device 20-1 is to be in the first tier of the tree structure, edge device 20-2 is to be in the second tier of the tree structure, and edge device 20-3 is to be in the third tier of the tree structure.
[0093] The same applies to each of applications 3 to 8. By determining the hierarchies in this manner, the tree structure creation unit 151 creates a tree structure having the determined hierarchies for each application. Note that if the total number of applications distributed to multiple edge devices to which a certain application is distributed is the same, the tree structure creation unit 151 may determine the hierarchies randomly so that the hierarchies are in order among these multiple edge devices, or may determine the hierarchies so that the hierarchies are in order among these multiple edge devices and in accordance with the amount of free memory and free network bandwidth, as described below.
[0094] Table 3 shows the tree structure according to this example.
[0095]
[0096] The application distribution unit 153 transmits the created tree structure to the edge device to which the application is to be distributed.
[0097] The application distribution unit 153 distributes (transmits) applications to edge devices located in the first hierarchical level of the created tree structure. In this example, the application distribution unit 153 distributes (transmits) application 1 to edge device 20-1 located in the first hierarchical level.
[0098] The application distribution unit 252 of an edge device located in the first tier distributes (transmits) an application to an edge device located in the second tier. In this example, the application distribution unit 252 of edge device 20-1 distributes (transmits) application 1 to edge device 20-2 located in the second tier.
[0099] The application distribution unit 252 of the edge device located in the second tier distributes (transmits) an application to an edge device located in the third tier. In this example, the application distribution unit 252 of the edge device 20-2 distributes (transmits) application 1 to the edge device 20-3 located in the third tier.
[0100] The same applies to each of the applications 2 to 8.
[0101] In this way, the load on the application distribution apparatus 100 can be reduced by having other edge devices take charge of application distribution (transmission) to edge devices located in the second layer and layers lower than the second layer.
[0102] As in the example described with reference to FIG. 7, in the example shown in FIG. 8, by creating such a tree structure, it is possible to equalize the network load of the edge devices.
[0103] 9, an example of creating a tree structure based on the amount of free memory in the edge device 20 will be described. In this example, it is assumed that the tree structure creation unit 151 has determined edge devices 20-1 to 20-4 as the edge devices to which applications are to be distributed, and has determined applications 1 to 5, applications 1 to 3 and 6, applications 1, 2 and 7, and applications 6 and 8 as the applications to be distributed to the edge devices 20-1 to 20-4, respectively. It is also assumed that the amount of free memory in the edge devices 20-1 to 20-4 is 200 MB, 300 MB, 100 MB, and 50 MB, respectively, when the tree structure is created.
[0104] For each application to be distributed, the tree structure creation unit 151 determines the hierarchical level of the tree structure such that, among edge devices to which the application is distributed, the larger the amount of free memory at the time the tree structure is created, the higher the hierarchical level of the edge device to which the application is distributed. In other words, the tree structure creation unit 151 creates the tree structure for each application such that, for each edge device to which the application is distributed, the larger the amount of free memory at the time the tree structure is created, the higher the hierarchical level of the edge device. To this end, the tree structure creation unit 151 collects the amount of free memory of each edge device and corresponding date and time information from each edge device when creating the tree structure or periodically.
[0105] 9 , for application 1, the tree structure creation unit 151 determines that edge device 20-2 is the device with the largest amount of free memory among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, and therefore places edge device 20-2 in the first tier of the tree structure. For application 1, the tree structure creation unit 151 determines that edge device 20-1 is the device with the second largest amount of free memory among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, and therefore places edge device 20-2 in the second tier of the tree structure. For application 1, the tree structure creation unit 151 determines that edge device 20-3 is the device with the second largest amount of free memory among edge devices 20-1, 20-2, and 20-3 to which application 1 is distributed, and therefore places edge device 20-3 in the third tier of the tree structure.
[0106] Similarly, for application 2, the tree structure creation unit 151 determines that edge device 20-2 is to be in the first tier of the tree structure, edge device 20-1 is to be in the second tier of the tree structure, and edge device 20-3 is to be in the third tier of the tree structure.
[0107] The same applies to each of applications 3 to 8. By determining the hierarchies in this manner, the tree structure creation unit 151 creates a tree structure having the determined hierarchies for each application. Note that if the multiple edge devices to which an application is distributed have the same amount of free memory, the tree structure creation unit 151 may determine the hierarchies randomly so that the hierarchies are in order among these multiple edge devices, or may determine the hierarchies so that the hierarchies are in order among these multiple edge devices and in accordance with the total number of distributed applications, as described above.
[0108] Table 4 shows the tree structure according to this example.
[0109]
[0110] The application distribution unit 153 transmits the created tree structure to the edge device to which the application is to be distributed.
[0111] The application distribution unit 153 distributes (transmits) applications to edge devices located in the first tier of the created tree structure. In this example, the application distribution unit 153 distributes (transmits) application 1 to edge device 20-2 located in the first tier.
[0112] The application distribution unit 252 of an edge device located in the first tier distributes (transmits) an application to an edge device located in the second tier. In this example, the application distribution unit 252 of edge device 20-2 distributes (transmits) application 1 to edge device 20-1 located in the second tier.
[0113] The application distribution unit 252 of the edge device located in the second tier distributes an application to an edge device located in the third tier. In this example, the application distribution unit 252 of the edge device 20-1 distributes (transmits) application 1 to the edge device 20-3 located in the third tier.
[0114] The same applies to each of the applications 2 to 8.
[0115] In this example, the tree structure is created based on the amount of free memory at the time of creation, but this may be done by the tree structure creation unit 151. Alternatively, a resource usage prediction unit (not shown) of the application distribution apparatus 100 may periodically collect the amount of free memory and corresponding date and time information of each edge device from each edge device, and estimate the predicted amount of free memory at the scheduled application distribution time based on the collected past amount of free memory and the corresponding date and time information. Then, the tree structure creation unit 151 may create the tree structure as described above based on the estimated predicted amount of free memory at the scheduled application distribution time.
[0116] In this way, the load on the application distribution apparatus 100 can be reduced by having other edge devices take charge of application distribution (transmission) to edge devices located in the second layer and layers lower than the second layer.
[0117] Furthermore, by creating such a tree structure, it becomes possible to equalize the memory load of edge devices.
[0118] Next, an example of an application distribution operation by the application distribution apparatus 100 will be described with reference to FIG.
[0119] In step S101, the application distribution apparatus 100 determines an edge device to which the application is to be distributed.
[0120] In step S102, the application distribution apparatus 100 determines an application to be distributed for each edge device to which the application is to be distributed.
[0121] In step S103, the application distribution apparatus 100 creates a tree structure of edge devices that defines, for each application, a route along which the application is distributed to the edge device, based on the application to be distributed to each edge device.
[0122] In step S104, the application distribution apparatus 100 transmits the created tree structure to the edge device.
[0123] In step S105, the application distribution apparatus 100 distributes the application directly or indirectly to the edge device based on the created tree structure.
[0124] <Variations> In the example described with reference to FIGS. 7 and 8, the tree structure is created based on the total number of applications to be distributed to the edge devices. However, in addition to or instead of this, the tree structure creation unit 151 may create the tree structure based on the size of the applications to be distributed to the edge devices.
[0125] In the example described with reference to FIG. 9 , the tree structure is created based on the amount of free memory. However, in addition to or instead of this, the tree structure creation unit 151 may create the tree structure based on the free network bandwidth of the edge device 20 at the time of creating the tree structure. For example, the tree structure creation unit 151 may determine the hierarchy of the tree structure for each application to be distributed such that, among edge devices to which the application is distributed, the edge devices with larger free network bandwidths are positioned in a higher hierarchy. In other words, the tree structure creation unit 151 may create the tree structure for each application such that, the larger the free network bandwidth of each edge device to which the application is distributed, the higher the hierarchy of that edge device. For this purpose, the tree structure creation unit 151 may collect the free network bandwidth of each edge device from each edge device when creating the tree structure or periodically.
[0126] Furthermore, the resource usage prediction unit of the application distribution apparatus 100, which may be the tree structure creation unit 151, may periodically collect, from each edge device, available network bandwidths and corresponding date and time information for each edge device, and estimate the available network bandwidth at the scheduled application distribution time based on the collected past available network bandwidths and corresponding date and time information. Then, the tree structure creation unit 151 may create the tree structure as described above based on the estimated available network bandwidth at the scheduled application distribution time.
[0127] In the example described with reference to FIG. 9 and the above-described modified example, the tree structure is created based on the amount of memory and network bandwidth as resources of the edge device. However, in addition to or instead of this, the tree structure creation unit 151 may create the tree structure based on the CPU usage rate of the edge device 20 at the time of creating the tree structure or the predicted CPU usage rate at the estimated scheduled time of application delivery.
[0128] In the above description, the application distribution device 100 is described as being installed in the cloud environment 10, but the application distribution device 100 may be present in a network such as a corporate network. In this case, the application distribution device 100 may create a tree structure such that edge devices that belong to the network to which the application distribution device 100 belongs are at the top of the hierarchy and edge devices that do not belong to the network to which the application distribution device 100 belongs are at the bottom of the hierarchy.
[0129] The tree structure creation unit 151 may switch between creating the above-described tree structure in response to user input via the UI device 103, for example, or may autonomously switch between creating the above-described tree structure in response to network conditions, etc.
[0130] Although the above description has been given assuming that the application distribution apparatus 100 transmits the created tree structure to each edge device, the application distribution apparatus 100 does not have to transmit the created tree structure itself. For example, instead of the created tree structure, the application distribution apparatus 100 may transmit to each edge device information necessary for a first edge device located at a certain hierarchical level to transmit an application to a second edge device located at the next (lower) hierarchical level to which the first edge device distributes the application, together with information (such as identification information) that can identify a third edge device located at the next (lower) hierarchical level to which the second edge device should distribute the application.
[0131] Two or more of the functional units or processing units of the application distribution apparatus 100, such as the tree structure creation unit 151 described above, may be integrated into the same functional unit or processing unit, or one functional unit or processing unit may be divided into multiple functional units or processing units. Furthermore, processing performed by a certain functional unit or processing unit may be performed by another functional unit or processing unit as appropriate.
[0132] The order of steps in the flowcharts described above is merely an example, and the order of steps may be changed as appropriate.
[0133] Effect of the Embodiment As described above, the application distribution apparatus 100 creates a tree structure of the edge devices 20 to which applications are to be distributed, which defines, for each application to be distributed, a route along which the application to be distributed to the edge devices 20 to which applications are to be distributed. The application distribution apparatus 100 transmits the application to an edge device located in the first tier of the tree structure among the edge devices 20 to which applications are to be distributed. As a result, other edge devices are responsible for application distribution (transmission) to edge devices located in the second tier and tiers lower than the second tier, and the application distribution apparatus 100 only needs to transmit the application to the edge device located in the first tier, thereby reducing the load on the application distribution apparatus 100.
[0134] Summary of the embodiment An information processing device according to one aspect of the present disclosure includes: a tree structure creation unit that creates a tree structure of application distribution target devices based on the application to be distributed to each of the application distribution target devices, and specifies a route for distributing the application to the application distribution target devices for each application; and an application distribution unit that transmits the application to be distributed to a device located at a first tier in the tree structure among the application distribution target devices.
[0135] In the information processing device, the tree structure creation unit creates the tree structure such that the smaller the total number of applications to be distributed to each of the application distribution target devices, the higher the hierarchy of the application distribution target device.
[0136] In the information processing device, the tree structure creation unit creates the tree structure such that the greater the total number of applications to be distributed to each of the application distribution target devices, the higher the hierarchy of the application distribution target device.
[0137] In this information processing device, the tree structure creation unit creates the tree structure such that the larger the amount of free memory of each of the application distribution target devices, the higher the hierarchical level of the application distribution target device.
[0138] In this information processing apparatus, the free memory capacity of each of the devices to which the application is to be distributed is the free memory capacity at the time of creating the tree structure.
[0139] In this information processing apparatus, the free memory capacity of each of the application delivery target devices is a predicted free memory capacity at the scheduled delivery time of the application to be delivered, estimated from past memory usage.
[0140] In this information processing device, the tree structure creation unit creates the tree structure such that the larger the available network bandwidth of each of the application distribution target devices, the higher the hierarchical level of the application distribution target device.
[0141] In this information processing apparatus, the available network bandwidth of each of the devices to which the application is to be distributed is the available network bandwidth at the time of creating the tree structure.
[0142] In this information processing apparatus, the available network bandwidth of each of the application distribution target devices is a predicted available network bandwidth at the scheduled time of distribution of the application to be distributed, estimated from available network bandwidth in the past.
[0143] In this information processing device, the tree structure creation unit creates the tree structure so that, among the devices to which the application is to be distributed, devices that belong to the network to which the information processing device belongs are at the top of the hierarchy, and devices that do not belong to the network are at the bottom of the hierarchy.
[0144] In this information processing device, the tree structure creation unit updates the tree structure every time distribution of an application to be distributed starts.
[0145] In this information processing device, the tree structure creation unit updates the tree structure when a change occurs in the device to which the application is to be distributed.
[0146] In this information processing device, the tree structure creation unit updates the tree structure when a change occurs in the application to be distributed.
[0147] In this information processing device, the tree structure creation unit updates the tree structure when a change occurs across a threshold in a value related to resource usage of the device to which the application is to be distributed.
[0148] In this information processing device, the distribution unit of the application to be distributed is a container image.
[0149] In this information processing device, the delivery unit of the application to be delivered is a container layer.
[0150] An application distribution system according to one aspect of the present disclosure is an application distribution system having an information processing device and application distribution target devices, wherein the information processing device creates a tree structure of the application distribution target devices based on the application to be distributed to each of the application distribution target devices, specifying a route for distributing the application to the application distribution target devices for each application, and transmits the application to a device located at a first tier in the tree structure among the application distribution target devices, and the device located at the first tier in the tree structure transmits the application to a device located at a second tier in the tree structure among the application distribution target devices.
[0151] An application distribution method according to one aspect of the present disclosure includes an information processing device creating a tree structure of application distribution target devices, which defines, for each application, a route along which the application to be distributed to the application distribution target devices will be distributed based on the application to be distributed to each of the application distribution target devices, and transmitting the application to a device located at a first level in the tree structure among the application distribution target devices.
[0152] A program according to one aspect of the present disclosure is a program for causing an information processing device to execute processing including: creating a tree structure of application distribution target devices, which specifies, for each application, a route along which the application to be distributed to the application distribution target devices will be distributed based on the application to be distributed to each of the application distribution target devices; and transmitting the application to be distributed to a device located at the first tier of the tree structure among the application distribution target devices.
[0153] As described above, according to one aspect of the present disclosure, it is possible to reduce the load when delivering an application.
[0154] Although the embodiments have been described above with reference to the drawings, the present disclosure is not limited to such examples. It is clear that a person skilled in the art can conceive of various modifications or alterations within the scope of the claims. It is understood that such modifications or alterations also fall within the technical scope of the present disclosure. Furthermore, the components or features in the embodiments (including modifications or alterations) may be combined in any manner without departing from the spirit of the present disclosure.
[0155] The disclosures of the specification, drawings and abstract contained in Japanese Patent Application No. 2023-051625, filed on March 28, 2023, are incorporated herein by reference in their entirety.
[0156] One aspect of the present disclosure is useful in application distribution techniques.
[0157] 1 Application distribution system 10 Cloud environment 100 Application distribution device 101 Storage device 102 Processing device 103 User interface (UI) device 104 Communication device 151 Tree structure creation unit 152 Tree structure storage unit 153 Application distribution unit 20, 20-1, 20-2, 20-3, 20-4, ..., 20-N Edge device 201 Storage device 202 Processing device 203 User interface (UI) device 204 Communication device 251 Tree structure storage unit 252 Application distribution unit 30 Network
Claims
1. An information processing device comprising: a tree structure creation unit that creates a tree structure of application distribution target devices based on application targets to be distributed to each of the application distribution target devices, and specifies a route for distributing the application targets to the application distribution target devices for each application; and an application distribution unit that transmits the application targets to devices located at a first hierarchical level of the tree structure among the application distribution target devices.
2. The information processing device according to claim 1, wherein the tree structure creation unit creates the tree structure such that the smaller the total number of applications to be distributed to each of the application distribution target devices, the higher the hierarchy of the application distribution target device.
3. The information processing device according to claim 1, wherein the tree structure creation unit creates the tree structure such that the greater the total number of applications to be distributed to each of the application distribution target devices, the higher the hierarchy of the application distribution target device.
4. The information processing device according to claim 1, wherein said tree structure creation unit creates said tree structure such that the larger the amount of free memory of each of said application distribution target devices, the higher the hierarchical level of said application distribution target devices.
5. The information processing device according to claim 4, wherein the free memory capacity of each of the devices to which the application is distributed is the free memory capacity at the time when the tree structure is created.
6. The information processing device according to claim 4, wherein the free memory capacity of each of the devices to which the application is to be distributed is a predicted free memory capacity at a scheduled time of distribution of the application to be distributed, estimated from a past memory usage.
7. The information processing device according to claim 1, wherein said tree structure creation unit creates said tree structure such that the larger the available network bandwidth of each of said application distribution target devices, the higher the hierarchy of said application distribution target devices.
8. The information processing device according to claim 7, wherein the available network bandwidth of each of the devices to which the application is to be distributed is the available network bandwidth at the time of creating the tree structure.
9. The information processing device according to claim 7, wherein the available network bandwidth of each of the devices to which the application is to be distributed is a predicted available network bandwidth at a scheduled time of distribution of the application to be distributed, estimated from available network bandwidths in the past.
10. The information processing device according to claim 1, wherein the tree structure creation unit creates the tree structure such that, among the devices to which the application is to be distributed, devices that belong to a network to which the information processing device belongs are at a higher level in the hierarchy, and devices that do not belong to the network are at a lower level in the hierarchy.
11. The information processing device according to claim 1, wherein the tree structure creation unit updates the tree structure every time distribution of an application to be distributed is started.
12. The information processing device according to claim 1, wherein the tree structure creating unit updates the tree structure when a change occurs in a device to which the application is to be distributed.
13. The information processing device according to claim 1, wherein the tree structure creating unit updates the tree structure when a change occurs in the application to be distributed.
14. The information processing device according to claim 1, wherein the tree structure creation unit updates the tree structure when a change occurs in a value relating to resource usage of the device to which the application is to be distributed that crosses a threshold value.
15. The information processing device according to claim 1, wherein the distribution unit of the application to be distributed is a container image.
16. The information processing device according to claim 1, wherein the distribution unit of the application to be distributed is a container layer.
17. An application distribution system having an information processing device and application distribution target devices, wherein the information processing device creates a tree structure of the application distribution target devices, which specifies a route for distributing the application to the application distribution target devices for each application, based on the application to be distributed to each of the application distribution target devices, transmits the application to a device located in a first hierarchical level of the tree structure among the application distribution target devices, and the device located in the first hierarchical level of the tree structure transmits the application to a device located in a second hierarchical level of the tree structure among the application distribution target devices.
18. An application distribution method comprising: an information processing device creating a tree structure of application distribution target devices, which specifies, for each application, a route along which the application to be distributed to the application distribution target devices is distributed based on the application to be distributed to each of the application distribution target devices; and transmitting the application to be distributed to a device located at the first hierarchical level of the tree structure among the application distribution target devices.
19. A program for causing an information processing device to execute a process including: creating a tree structure of application distribution target devices, which specifies, for each application, a route along which the application to be distributed to the application distribution target devices is distributed based on the application to be distributed to each of the application distribution target devices; and transmitting the application to be distributed to a device located at the first hierarchical level of the tree structure among the application distribution target devices.
Citation Information
Patent Citations
Data distribution system, data distribution method, data processing device and computer program
JP2017146755A
Method and System for Distributing Software Components
US20080109540A1
System and method for deployment of a software image to a plurality of target devices
US20080256219A1
