Distributed device management system and distributed device management method
11683364 · 2023-06-20
Assignee
Inventors
- Hirofumi Noguchi (Musashino, JP)
- Yoji Yamato (Musashino, JP)
- Tatsuya Demizu (Musashino, JP)
- Misao Kataoka (Musashino, JP)
Cpc classification
H04L67/568
ELECTRICITY
G06F13/00
PHYSICS
H04L67/52
ELECTRICITY
H04L67/10
ELECTRICITY
H04L67/51
ELECTRICITY
H04L67/60
ELECTRICITY
International classification
H04L67/10
ELECTRICITY
G16Y40/00
PHYSICS
H04L67/51
ELECTRICITY
H04L67/52
ELECTRICITY
H04L67/568
ELECTRICITY
Abstract
A distributed device management system specifies a device capable of supplying request data used for providing a service, from among a plurality of devices connected to a network. Device management function units are disposed so as to be geographically distributed and manage the states of the devices located in deployed areas. A device specifying function unit has a device inquiry cache in which a response log including the type of data which was previously required for the service and an identifier of the device management function unit that manages the device which was capable of supplying the data is recorded. In a case where this request data coincides with the type of data included in the response log, an inquiry is transmitted to the device management function unit associated with the request data in the response log.
Claims
1. A distributed device management system for specifying, from among a plurality of devices connected to a network, a device capable of supplying predetermined data used for providing a service, the system comprising: a plurality of device management function units, including one or more processors, disposed so as to be geographically distributed and configured to manage states of the plurality of devices located in respective areas in which the plurality of device management function units are disposed; and a device specifying function unit, including one or more processors, connected to the plurality of device management function units, that is configured to receive a request for the service, to transmit an inquiry to the plurality of device management function units, and to specify the device capable of supplying the predetermined data, wherein the device specifying function unit comprises a device inquiry cache to record a response log including a type of data which was previously requested for the service and an identifier of a first device management function unit, under which the device capable of supplying the predetermined data is placed, and in a case where the predetermined data coincides with the type of data included in the response log, the device specifying function unit transmits the inquiry to the first device management function unit associated with the predetermined data in the response log, and wherein: the first device management function unit includes adjacent management-function-unit information, that includes a second device management function unit located in a second area geographically adjacent to but different from a first area in which the first device management function unit is located, the first device management function unit is assigned to manage the first area that includes a first set of devices, the second device management function unit is assigned to manage the second area that includes a second set of devices, and in a case where there is no device included in the first set of devices capable of supplying the predetermined data placed when the inquiry is received from the device specifying function unit, the first device management function unit transfers the inquiry to the second device management function unit based on the second device management function unit being assigned to manage the second area geographically adjacent to the first area, and the second device management function unit determines whether any device in the second set of devices is capable of supplying the predetermined data.
2. The distributed device management system according to claim 1, wherein, in a case where there is the device capable of supplying the predetermined data at a connection destination of the first device management function unit when the inquiry is received, the first device management function unit transmits a response including access information of the device to the device specifying function unit; and every time the device specifying function unit receives the response from the first device management function unit, the device specifying function unit records the type of the data and the identifier of the first device management function unit which has transmitted the response, in the device inquiry cache, as a new response log, and deletes a previous response log from the device inquiry cache in a descending order of elapsed time from the response.
3. The distributed device management system according to claim 1, wherein, in a case where the predetermined data does not coincide with the type of the data included in the device inquiry cache, the device specifying function unit transmits the inquiry in order, starting from a device management function unit with a largest number of responses to previous inquiries.
4. A distributed device management method of specifying, from among a plurality of devices connected to a network, a device capable of supplying predetermined data used for providing a service, the method comprising the steps of: providing a plurality of device management function units, including one or more processors, disposed so as to be geographically distributed and configured to manage states of the plurality of devices located in respective areas in which the plurality of the device management function units are disposed, and a device specifying function unit, including one or more processors, connected to the plurality of device management function units, that is configured to receive a request for the service and to transmit an inquiry to the plurality of device management function units, and to specify the device capable of supplying the predetermined data; recording, by the device specifying function unit, a response log in a device inquiry cache, the response log including a type of data which was previously required for the service and an identifier of a first device management function unit, under which the device capable of supplying the predetermined data is placed; transmitting, by the device specifying function unit, the inquiry to the first device management function unit associated with the predetermined data in the response log in a case where the predetermined data coincides with the type of the data included in the response log, wherein the first device management function unit is assigned to manage a first area including a first set of devices, a second device management function unit is assigned to manage a second area including a second set of devices, the second area is geographically adjacent to but different from the first area; and in a case where there is no device included in the first set of devices capable of supplying the predetermined data, transferring, by the first device management function unit, the inquiry to the second device management function unit based on the second device management function unit being assigned to manage the second area geographically adjacent to the first area in which the first device management function unit is located, and the second device management function unit determines whether any device in the second set of devices is capable of supplying the predetermined data.
5. The distributed device management method according to claim 4, further comprising: transmitting, by the first device management function unit, a response including access information of the device to the device specifying function unit in a case where there is the device capable of supplying the predetermined data at a connection destination when the inquiry is received, wherein, in the step of recording the response log in the device inquiry cache, every time the response is received from the first device management function unit, the type of the data and the identifier of the first device management function unit which has transmitted the response is recorded in the device inquiry cache as a new response log, and a previous response log is deleted from the device inquiry cache in a descending order of elapsed time from the response.
6. The distributed device management method according to claim 4, wherein, in the step of transmitting the inquiry, in a case where the predetermined data does not coincide with the type of the data included in the device inquiry cache, the inquiry is transmitted in order, starting from a device management function unit with a largest number of responses to previous inquiries.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DESCRIPTION OF EMBODIMENTS
(7) Hereinafter, preferred embodiments of a distributed device management system and a distributed device management method according to the present disclosure will be described in detail with reference to the accompanying drawings.
(8)
(9) The distributed device management system 10 is provided for specifying a device 16 capable of supplying predetermined data (referred to as “request data” below) used for providing a service from among a plurality of devices 16 connected to a network.
(10) Similar to a model 60 illustrated in
(11) The device 16 is a device such as a camera, a speaker, a microphone, or a display, for example.
(12) The device management function units 14 are geographically distributed and manage the state of the devices located in the deployed areas.
(13) Managing the state of the device refers to, for example, acquiring output data or the like of the device 16 under control and recognizing the content of data allowed to be supplied by the device 16. For example, if the device 16 is a fixed and installed camera, the name of the person and the number of vehicles, which appearing in the camera, or an occurrence (for example, snow and earthquake) around the camera is specified. For example, if the device 16 is a movable camera (such as a camera mounted on a vehicle or a camera of a smartphone), the current position of the camera is specified in addition to the contents similar to those of the fixed and installed camera.
(14) In a case where the device 16 is movable, a different device management function unit 14 manages the state of the device 16 in response to the movement.
(15) Each device management function unit 14 includes an adjacent management-function-unit table DB2 in which another device management function unit 14 located in an area adjacent to an area in which the own device management function unit is disposed is recorded.
(16)
(17) For example, in
(18) Returning to the description of
(19) The content of the inquiry transmitted from the device specifying function unit 12 to the device management function unit 14 includes, for example, the type of device such as a camera or a speaker and the content (for example, video of a specific person) of the request data.
(20) The device specifying function unit 12 has the device inquiry cache DB1 in which a response log including the type of data which was previously required for the service and an identifier of the device management function unit 14 (device management function unit 14 which has responded to the inquiry) that manages the device 16 which was capable of supplying the data is recorded.
(21)
(22) A request data type 300, a responding device-management-function-unit name 302, an IP address 304, and a registration time 306 are recorded in the device inquiry cache DB1. The pieces of information correspond to a response log.
(23) The type (content) of data (data that has received a device inquiry) that has previously required for the service is recorded in the request data type 300. In the example of
(24) The name (identifier) of the device management function unit 14 that transmits a response as a result of an inquiry when the inquiry for data previously exemplified in the request data type 300 is performed, that is, the name (responding device-management-function-unit name) of the device management function unit 14 that manages the device 16 capable of providing the request data is recorded in the responding device-management-function-unit name 302. In the example of
(25) An IP address of the device management function unit 14 having a name listed in the responding device-management-function-unit name 302 is recorded in the IP address 304.
(26) The registration time 306 indicates the time at which the response log is registered in the device inquiry cache DB1. The registration time 306 is approximately identical to the time at which the device specifying function unit 12 receives the response from the device management function unit 14.
(27) As described in the Background, in many cases, when a service subject (watching target or the like in the watching service) or the device 16 moves, the device 16 capable of supplying request data may change. In a case where the service target or the device moves, adjacent geographical areas (predetermined geographical region: area) continuously change in most cases. Thus, the device management function unit 14 that transmits a response to the previous similar inquiry or another device management function unit 14 around the above device management function unit 14 has a high possibility of currently managing previously matching devices 16 That is, regarding an inquiry having a record in the past, it is considered that transmission of an inquiry to the device management function unit 14 which has responded at that time is effective.
(28) Thus, in the present embodiment, the device inquiry cache DB1 being a history of previous inquiry results is provided, and the device management function unit 14 as an initial inquiry destination from the next time is selected from the device inquiry cache DB1. Thus, it is possible to efficiently search for the desired device 16.
(29) The device inquiry cache DB1 is a temporary inquiry history. The number of response logs recorded in the device inquiry cache DB1 is to be designed to have an appropriate size considering computer performance and data scan time.
(30) For example, in a case where an object having a moving possibility is set as request data, it is expected that the hit rate of the response log is decreased over time. Thus, because the inquiry result is more useful as the inquiry result becomes latest, an elimination logic of the response log is set to be elimination in order from the old inquiry.
(31) In a case where there are a plurality of identical inquiry contents (response log having an identical request data type 300), only one latest result is stored, for example.
(32) That is, every time the device specifying function unit 12 receives the response from the device management function unit 14, the device specifying function unit 12 records the type of data and the identifier of the device management function unit 14 which has responded, in the device inquiry cache as a new response log, and deletes the response log from the device inquiry cache in a descending order of elapsed time from the response.
(33) Considering reproducibility of an inquiry request, data such as a nominally real-time video is relatively reproducible, but data such as a real-time video of his or her family is highly personal and less reproducible. Thus, regarding the latter data, it is expected that there is no response log in many cases.
(34) In the present embodiment, regarding an inquiry to which there is no response log, an inquiry is transmitted in order, starting from the device management function unit with the largest number of responses among the device management function units 14 set as a transmission source of the response log recorded in the device inquiry cache DB1. This is because it is considered that the device management function unit 14 which has responded to many inquiries has a high possibility of being located in a densely populated area such as the front of city station and has a high possibility of matching another inquiry.
(35) That is, in a case where the request data for the current inquiry does not coincide with the type of data included in the response log in the device inquiry cache DB1, the device specifying function unit 12 transmits an inquiry in order, starting from the device management function unit 14 with the largest number of responses to the previous inquiries.
(36) A specifying flow of the device 16 in the distributed device management system 10 will be described with reference to
(37)
(38) If the device specifying function unit 12 receives a request for specifying the device 16 capable of supplying request data from the service provider 20 (see
(39) In a case where the corresponding response log is provided in the device inquiry cache DB1 (Yes in Step S512 of
(40) In a case where any corresponding response log is not provided in the device inquiry cache DB1 (Step S512: No in
(41) The device management function unit 14 which has received the inquiry from the device specifying function unit 12 checks whether there is the device 16 capable of supplying request data under the own control (management) (Step S520 in
(42) In a case where the device 16 capable of supplying the request data is not under control (Step S521 in
(43) For example, although the inquiry is transmitted to the device management function unit 14A from the device specifying function unit 12, the device 16 capable of supplying request data under control of the device management function unit 14A may not be provided. In this case, the device management function unit 14A transmits an expansion inquiry of whether there is a device 16 capable of supplying request data to the device management function unit 14B and device management function unit 14C recorded in the adjacent management-function-unit table DB2.
(44) The other device management function unit 14 which has received the expansion inquiry from the device management function unit 14 firstly performs device specifying completion check for the device specifying function unit 12 (Step S530 in
(45) The device specifying completion check checks whether the device 16 which is capable of providing the request data and has received the expansion inquiry has not already been specified (whether the inquiry has not been completed). In order to avoid complexity of the drawings, arrows from the other device management function unit 14 to the device specifying function unit 12 are omitted in
(46) In the present embodiment, the search range is expanded, and the plurality of device management function units 14 concurrently check states of the managed devices 16. Thus, even though a certain device management function unit 14 finds the desired device, if it is not possible to deliver finding of the desired device to another device management function unit 14, the search range is extended continuously and thus wasted computational processing is caused.
(47) If the other device management function unit 14 which has received the expansion inquiry performs the device specifying completion check before checking the state of the device under control, it is possible to prevent execution of unnecessary computational processing.
(48) In a case where the inquiry for the request data that has received the expansion inquiry is already completed (Step S531: Yes), the other device management function unit 14 ends processing without checking the state of the device under control.
(49) In a case where the inquiry is not completed (Step S531: No), the other device management function unit 14 checks whether the device 16 capable of supplying request data is provided under the control (Step S532 in
In a case where the device 16 capable of supplying the request data is not under control (Step S533 in
After that, the still other device management function unit 14 performs the processes of Steps S530 to S535.
(50) If the device specifying function unit 12 receives a response from any device management function unit 14, the device specifying function unit 12 transmits access information of the device 16 capable of supplying request data to a request source that has transmits a request for specifying the device 16 in Step S510 in
(51) The device specifying function unit 12 records a response log including the content of the current inquiry, information of the device management function unit 14 which has responded, and the current time point (time point at which the response is received), in the device inquiry cache DB1, and updates the device inquiry cache DB1 (recording step: Step S517 in
(52) As described above, according to the distributed device management system 10 according to the embodiment, it is possible to narrow the device management function unit 14 as an inquiry destination with reference to the previous inquiry history when the device 16 capable of supplying request data used for providing the service is specified among multiple devices 16, and thus to reduce processing load of the device specifying function unit 12 compared to a case where the inquiry is transmitted to all the device management function units 14.
(53) For example, in a case where the device specifying function unit 12 is implemented by a computer, it is possible to reduce the number of computers used in device search processing.
(54) It is also possible to perform mounting without special hardware and to be applicable to various system configurations. For example, the device specifying function unit 12 and the device inquiry cache DB1 may be realized as a single housing apparatus (device specifying apparatus), or each may be realized as a separate housing apparatus. The device management function unit 14 may also be realized as a single housing apparatus (device management apparatus), or the device management function unit 14 may be provided on an apparatus (such as a gateway) in the network.
REFERENCE SIGNS LIST
(55) 10 Distributed device management system 12 Device specifying function unit 14 (14A-14D) Device management function unit 16 Device 20 Service provider 1 Device inquiry cache DB 2 Adjacent management-function-unit table DB (adjacent management-function-unit information)