Electronic device, log collection system, and method for controlling electronic device
The electronic device efficiently modifies logs by communicating with a server to transmit only specified logs, addressing the difficulty in changing logs in existing systems and reducing resource usage.
Patent Information
- Application Number
- JP2020095321
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-06-01
- Publication Date
- 2024-11-13
- Estimated Expiration
- 2040-06-01
AI Technical Summary
Existing log collection systems require changing the program of electronic devices to modify the logs being acquired, making it difficult to change the logs to be collected.
An electronic device that communicates with a server to inquire about and receive acquisition log information, transmitting specific logs based on the received information, and only sending logs indicated by the server, allowing easy modification of logs without program changes.
Enables easy and efficient change of logs to be collected, reducing communication load and resource usage, and minimizing unnecessary data transmission.
Smart Images

Figure 0007581661000001 
Figure 0007581661000002 
Figure 0007581661000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device, a log collection system, and a method for controlling an electronic device. [Background technology]
[0002] In recent years, a service has become widespread in which electronic devices such as projectors and printers transmit multiple logs related to the electronic devices to a database device, which then accumulates the multiple logs. For example, Patent Document 1 discloses a log collection system that collects a large amount of logs, classifies the logs into summary logs and detailed logs based on the similarity of the logs and the presence or absence of results, and accumulates the summary logs in a database device. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2010-39876 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, when changing a log to be acquired among a plurality of logs related to an electronic device, it is necessary to change the program of the electronic device, which makes it difficult to change a log to be acquired among a plurality of logs related to the electronic device. [Means for solving the problem]
[0005] An electronic device according to a preferred embodiment of the present invention is an electronic device capable of communicating with a server that stores acquired log information indicating items of logs to be acquired, and includes an inquiry unit that sends an inquiry about the acquired log information to the server, a receiving unit that receives the acquired log information sent from the server in response to the inquiry, and a transmission execution unit that operates based on the acquired log information, wherein if the acquired log information does not indicate a first item, the transmission execution unit does not send a first log regarding the first item among multiple logs related to the electronic device to the server, and if the acquired log information indicates the first item, it sends the first log to the server.
[0006] A log collection system according to a preferred embodiment of the present invention is a log collection system including a first electronic device, a second electronic device, and a server, wherein the server stores third acquired log information indicating a log item to be acquired among a plurality of logs related to the first electronic device, and fourth acquired log information indicating a log item to be acquired among a plurality of logs related to the second electronic device, and the first electronic device has a first inquiry unit that transmits a first inquiry about the third acquired log information to the server, and a fourth acquired log information that transmits the fourth acquired log information from the server in response to the first inquiry. 3 a first receiving unit for receiving acquired log information; 3 and a first transmission execution unit that operates based on acquired log information, wherein the first transmission execution unit does not transmit a first log related to the first item among a plurality of logs related to the first electronic device to the server when the third acquired log information does not indicate a first item, and transmits the first log to the server when the third acquired log information indicates the first item. The second electronic device includes a second inquiry unit that transmits a second inquiry about the fourth acquired log information to the server, and a second inquiry unit that transmits the first log from the server in response to the second inquiry. 4 A second receiving unit that receives acquired log information; 4and a second transmission execution unit that operates based on acquired log information, wherein when the fourth acquired log information does not indicate a second item, the second transmission execution unit does not transmit a second log related to the second item among the plurality of logs related to the second electronic device to the server, and when the fourth acquired log information indicates the second item, transmits the second log to the server, and when the server receives the first inquiry, 3 Transmitting acquired log information to the first electronic device, and when the second inquiry is received, 4 The electronic device further includes an acquired log information transmitting unit that transmits acquired log information to the second electronic device.
[0007] According to a preferred embodiment of the present invention The control method is A control method for an electronic device executed by a server that stores acquired log information indicating log items to be acquired and a communicable electronic device, the method including sending an inquiry about the acquired log information to the server, receiving the acquired log information sent from the server in response to the inquiry, and if the acquired log information does not indicate a first item, not sending a first log regarding the one item among a plurality of logs related to the electronic device to the server, and if the acquired log information indicates the first item, sending the first log to the server. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a block diagram showing a configuration of a log collection system 1. [Diagram 2] FIG. 2 shows the configuration of a projector 10_i. [Diagram 3] FIG. 2 shows the configuration of the server 20. [Figure 4] FIG. 2 shows the configuration of a database device 30. [Diagram 5] FIG. 13 is a diagram showing the stored contents of association information RI. [Figure 6] FIG. 13 is a diagram showing the stored contents of log information LI. [Figure 7] FIG. 4 shows the configuration of a user terminal 40. [Figure 8]FIG. 2 is a diagram showing the functions of the log collection system 1. [Figure 9] FIG. 2 is a sequence diagram showing the operation of the log collection system 1. [Figure 10] FIG. 13 shows the stored contents of log information LI after the process of step SB14 is executed. [Figure 11] FIG. 11 is a block diagram showing the configuration of a log collection system 1a according to a second embodiment. [Figure 12] A diagram showing the configuration of PC50. [Figure 13] FIG. 13 is a diagram showing the configuration of a database device 30b in the third embodiment. [Figure 14] FIG. 13 is a diagram showing the stored contents of association information RIb. [Figure 15] FIG. 13 is a diagram showing the configuration of a log collection system 1b according to a third embodiment. [Figure 16] FIG. 4 is a sequence diagram showing the operation of the log collection system 1b. [Figure 17] FIG. 4 is a sequence diagram showing the operation of the log collection system 1b. [Figure 18] FIG. 4 is a sequence diagram showing the operation of the log collection system 1b. [Figure 19] FIG. 4 is a sequence diagram showing the operation of the log collection system 1b. [Figure 20] FIG. 13 shows the stored contents of log information LI after the processing of step SBb96 is executed. [Figure 21] FIG. 1 is a block diagram showing the configuration of a log collection system 1d. [Figure 22] FIG. 4 is a sequence diagram showing the operation of the log collection system 1d. [Figure 23] FIG. 4 is a sequence diagram showing the operation of the log collection system 1d. [Figure 24] FIG. 13 is a diagram showing functions of a log collection system 1e in a first modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments for carrying out the present invention will be described with reference to the drawings. However, in each drawing, the dimensions and scale of each part are appropriately different from the actual ones. In addition, since the embodiments described below are preferred specific examples of the present invention, various technically preferable limitations are attached, but the scope of the present invention is not limited to these embodiments unless otherwise specified in the following description to the effect that the present invention is limited.
[0010] 1. Embodiment First, a log collection system 1 according to the present embodiment will be described.
[0011] 1.1. Overview of the Log Collection System 1 FIG. 1 is a block diagram showing the configuration of a log collection system 1. The log collection system 1 is a system that collects multiple logs LG related to one or more electronic devices, accumulates the collected logs LG in a database device 30, and provides the logs LG to a user U. The user U analyzes the collected logs LG. As a result of the analysis, the user U finds a new issue and extracts a log LG corresponding to the new issue from among the multiple logs LG related to the electronic devices. The log collection system 1 in the first embodiment is a system that allows the user U to easily change the log LG to be acquired from among the multiple logs LG related to the electronic devices.
[0012] The electronic device is, for example, a device that processes either or both of images and sounds, or a device that digitally processes information. Specifically, the electronic device may be a projector, a printer, an electronic clock, or the like. The one or more electronic devices included in the log collection system 1 may be the same type of electronic device, or may be different types of electronic devices. In the following, the projector 10 will be described as an example of an electronic device.
[0013] The multiple logs LG related to the projector 10 are one or both of a log showing a record of processing by the projector 10 and a log showing a record of operations of the projector 10. The multiple logs LG related to the projector 10 are, for example, an error code showing an error that occurred during operation of the projector 10, the number of rotations of the fan 17 shown in FIG. 2, the temperature of the projector 10, etc.
[0014] The log collection system 1 has a projector 10_1, a projector 10_2, ..., a projector 10_n, a server 20, a database device 30, and a user terminal 40. n is an integer equal to or greater than 1. The n projectors 10, the server 20, the database device 30, and the user terminal 40 are connected to a communication network NW such as a LAN and the Internet. LAN is an abbreviation for Local Area Network.
[0015] In the following description, when elements of the same type are to be distinguished from one another, reference symbols such as projector 10_1 and projector 10_2 are used. On the other hand, when elements of the same type are not to be distinguished from one another, only the common numbers among the reference symbols are used, such as projector 10.
[0016] The projector 10 is a device that projects an image. One or more projectors 10 are installed in a facility such as a school or a company.
[0017] The server 20 is a device that manages one or more projectors 10. The database device 30 is a device that stores a log LG related to the projector 10. For example, the database device 30 may store the log LG related to the projector 10 according to a relational database, or may store the log LG related to the projector 10 according to KVS as a data management method. KVS is an abbreviation for Key Value Store. When the amount of the log LG related to the projector 10 is enormous, the KVS is preferable to the relational database.
[0018] The user terminal 40 is a terminal operated by a user U. The user U is, for example, an administrator who manages the projector 10, or a developer who develops some kind of service using multiple logs LG related to the projector 10. The user U may be one person or multiple people.
[0019] 2 is a diagram showing the configuration of a projector 10_i, where i is any integer from 1 to n. The projector 10 has a processing device 12, a storage device 14, a projection device 16, a fan 17, and a communication device 18. The elements of the projector 10 are connected to each other by a bus 19 for communicating information.
[0020] The processing device 12 is a computer such as a CPU. CPU is an abbreviation for Central Processing Unit. The processing device 12 may be configured with one or more processors.
[0021] The storage device 14 is composed of a magnetic storage device, a flash ROM, or the like. ROM is an abbreviation for Read Only Memory. The storage device 14 is a recording medium readable by the processing device 12, and stores a plurality of programs including a control program executed by the processing device 12, various types of information used by the processing device 12, and the like.
[0022] The projection device 16 has a lens and projects an image through the lens. The fan 17 cools the inside of the projector 10 by blowing air into the projector 10. The communication device 18 is hardware having a communication circuit for communicating with other devices via the communication network NW.
[0023] 3 is a diagram showing the configuration of the server 20. The server 20 has a processing device 22, a storage device 24, and a communication device 28. The elements of the server 20 are connected to each other by a bus 29 for communicating information.
[0024] The processing device 22 is a computer such as a CPU, etc. The processing device 22 may be configured with one or more processors.
[0025] The storage device 24 is composed of a magnetic storage device, a flash ROM, etc. The storage device 24 is a recording medium readable by the processing device 22, and stores a plurality of programs including a control program executed by the processing device 22, various information used by the processing device 22, etc.
[0026] The communication device 28 is hardware having a communication circuit for communicating with other devices via the communication network NW.
[0027] 4 is a diagram showing the configuration of the database device 30. The database device 30 has a processing device 32, a storage device 34, and a communication device 38. The elements of the database device 30 are connected to each other by a bus 39 for communicating information.
[0028] The processing device 32 is a computer such as a CPU, etc. The processing device 32 may be configured with one or more processors.
[0029] The storage device 34 is composed of a magnetic storage device, a flash ROM, etc. The storage device 34 is a recording medium readable by the processing device 32, and stores a plurality of programs including a control program executed by the processing device 32, association information RI, log information LI, various information used by the processing device 32, and the like.
[0030] 5 is a diagram showing the stored contents of the association information RI. The association information RI is information that associates a user ID, identification information of the projector 10, and acquired log information GLI. The association information RI exists for each projector 10.
[0031] The acquired log information GLI indicates an item of the log LG to be acquired among a plurality of logs LG related to the projector 10. The acquired log information GLI can be changed based on a change instruction input to the user terminal 40. The user terminal 40 is an example of a "device different from an electronic device."
[0032] The user ID is information that identifies the user U. ID is an abbreviation for Identifier. The user ID is, for example, the email address of the user U or a GUID. GUID is an abbreviation for Globally Unique Identifier. The GUID is a 16-byte random numeric value. The identification information of the projector 10 is information that identifies the projector 10. The identification information of the projector 10 is, for example, the serial number of the projector 10 or a MAC address set in the communication device 18. MAC is Media Access Control.
[0033] In this embodiment, the multiple logs LG related to the projector 10 will be described as including an error code, the number of revolutions of the fan 17, and temperature information.
[0034] FIG. 6 is a diagram showing the stored contents of the log information LI. The log information LI is a log LG related to the projector 10. The log information LI illustrated in FIG. 6 is information in which, for each projector 10, identification information of the projector 10, date and time information, and a log LG related to the projector 10 are associated. The log collection system 1 collects the log LG related to the projector 10 at predetermined intervals. The predetermined interval may be any period, such as 10 minutes, 30 minutes, 1 hour, or 1 day. This predetermined period is hereinafter referred to as a "log collection interval period." In the example of FIG. 6, the log collection interval period is 30 minutes.
[0035] The identification information of the projector 10 is information for identifying the projector 10. In the example of FIG. 6, the identification information of the projector 10_1 is "id_1", the identification information of the projector 10_2 is "id_2", and the identification information of the projector 10_n is "id_n". The date and time information is information indicating the date and time when a plurality of logs LG related to the projector 10 were acquired. In the example of FIG. 6, the log LG whose item is an error code is, for example, "normal", "fan abnormality", and "internal temperature abnormality". The log LG whose item is the number of rotations of the fan 17 is y1 times / min, y2 times / min, and yn / min, which are specific numbers. y1, y2, and yn are positive real numbers. The log LG whose item is temperature information is z1, z2, and zn, which are values indicating specific temperatures. z1, z2, and zn are real numbers.
[0036] Returning to Fig. 4, the communication device 38 is hardware having a communication circuit for communicating with other devices via the communication network NW.
[0037] 7 is a diagram showing the configuration of a user terminal 40. The user terminal 40 has a processing device 42, a storage device 44, an input device 45, a display device 46, and a communication device 48. The elements of the user terminal 40 are connected to each other by a bus 49 for communicating information.
[0038] The processing device 42 is a computer such as a CPU, etc. The processing device 42 may be configured with one or more processors.
[0039] The storage device 44 is composed of a magnetic storage device, a flash ROM, etc. The storage device 44 is a recording medium readable by the processing device 42, and stores a plurality of programs including a control program executed by the processing device 42, various information used by the processing device 42, etc.
[0040] The input device 45 is a device for the user U to input information. The input device 45 is composed of one or more types of devices such as a pointing device, a keyboard, and a touch panel attached to the surface of the display device 46, for example.
[0041] The display device 46 displays various images under the control of the processing device 42. For example, various display panels such as a liquid crystal display panel or an organic EL display panel are suitably used as the display device 46. EL is an abbreviation for Electro Luminescence.
[0042] The communication device 48 is hardware having a communication circuit for communicating with other devices via the communication network NW.
[0043] 1.2. Functions of the Log Collection System 1 Fig. 8 is a diagram showing functions of the log collection system 1. In the example of Fig. 8, functions of the projector 10_i and the server 20 are shown. i is any integer from 1 to n. The processing device 12 of the projector 10_i reads out a control program from the storage device 14 and executes the read control program, thereby functioning as an inquiry unit 122, an acquired log information receiving unit 124, and a transmission execution unit 126. The processing device 22 reads out a control program from the storage device 24 and executes the read control program, thereby functioning as an inquiry receiving unit 222, an acquired log information transmitting unit 224, and a transfer unit 226. The log collection system 1 has two operation stages: an advance preparation stage and a log collection stage. The advance preparation stage is a preparation stage for collecting the log LG related to the projector 10. The log collection stage is a stage in which the log LG related to the projector 10 is collected.
[0044] In the advance preparation stage, the user terminal 40 transmits a user ID, identification information of the projector 10_i from which logs are to be collected, and acquired log information GLI related to the projector 10_i to the database device 30. The database device 30 generates association information RI based on the received information and stores it in the storage device 34.
[0045] In the log collection stage, the inquiry unit 122 transmits an inquiry QU about the acquired log information GLI to the server 20 using the communication device 18. The inquiry QU includes an identifier indicating that an inquiry is made about the acquired log information GLI, and the identification information of the projector 10_i.
[0046] The inquiry receiving unit 222 receives an inquiry QU from the projector 10. When the inquiry QU is received, the acquired log information transmitting unit 224 transmits the identification information of the projector 10_i included in the inquiry QU to the database device 30. The database device 30 transmits acquired log information GLI corresponding to the received identification information of the projector 10_i to the server 20. The server 20 stores the acquired log information GLI. The acquired log information transmitting unit 224 transmits the acquired log information GLI to the projector 10_i.
[0047] The acquired log information receiving unit 124 acquires acquired log information GLI transmitted from the server 20 in response to the inquiry QU. The transmission executing unit 126 operates based on the received acquired log information GLI. Specifically, when the acquired log information GLI does not indicate the first item, the transmission executing unit 126 does not transmit a first log LG related to the first item among the multiple logs LG related to the projector 10_i to the server 20, and when the acquired log information GLI indicates the first item, the transmission executing unit 126 transmits the first log LG to the server 20. In the first embodiment, the first item is an error code, the number of revolutions of the fan 17, or temperature information. If the first item is an error code, the first log LG is "normal", "fan abnormal", or "internal temperature abnormal".
[0048] A more specific function of the transmission execution unit 126 will be described. The transmission execution unit 126 has a collection unit 1262 and a log transmission unit 1264. When the acquired log information GLI does not indicate the first item, the collection unit 1262 does not collect the first log LG, and when the acquired log information GLI indicates the first item, the collection unit 1262 collects the first log LG. In other words, the collection unit 1262 collects, among a plurality of logs LG related to the projector 10_i, a log LG corresponding to an item indicated by the acquired log information GLI, and does not collect a log LG corresponding to an item not indicated by the acquired log information GLI. The log transmission unit 1264 transmits the first log LG collected by the collection unit 1262 to the server 20.
[0049] The transfer unit 226 transfers the received first log LG to the database device 30. When the first log LG is received, the database device 30 stores the received first log LG in the log information LI.
[0050] 1.3. Log Collection System 1 operation The operation of the log collection system 1 will be described with reference to FIG.
[0051] FIG. 9 is a sequence diagram showing the operation of the log collection system 1. The process of step SA02 shown in FIG. 9 is the process of the advance preparation stage. The process of step SByy is the process of the log collection stage. yy is a positive integer. The log collection system 1 executes the log collection process shown in the log collection stage for each log collection interval period. The log collection process is a process of collecting logs LG related to the projector 10_i and storing them in log information LI. The log collection process shown in FIG. 9 is the j-th log collection process. j is an integer equal to or greater than 1. The information in parentheses shown in FIG. 9 indicates the information transmitted during communication.
[0052] In step SA02, the processing device 42 uses the communication device 48 to transmit the user ID, the identification information of the projector 10_i, and the acquired log information GLI to the database device 30. After the process of step SA02 ends, the log collection system 1 ends the series of processes in the advance preparation stage shown in FIG.
[0053] The j-th log collection process in the log collection stage will be described. In step SB02, the processing device 12 uses the communication device 18 to transmit a query QU about the acquired log information GLI to the server 20. The query QU includes the identification information of the projector 10_i. The process of step SB02 corresponds to the query unit 122.
[0054] When receiving the query QU, the processing device 22 in step SB04 transmits a confirmation of the acquired log information GLI to the database device 30 using the communication device 28. The confirmation of the acquired log information GLI includes the identification information of the projector 10_i included in the query QU.
[0055] In step SB06, the processing device 32 transmits the acquired log information GLI corresponding to the identification information of the projector 10_i included in the confirmation of the received acquired log information GLI to the server 20. When acquiring the acquired log information GLI, the processing device 22 transmits the acquired log information GLI to the projector 10_i using the communication device 28 in step SB08. The processing of step SB08 corresponds to the acquired log information transmission unit 224.
[0056] When the acquired log information GLI is received, the processing device 12 of the projector 10_i collects a log LG corresponding to an item indicated by the acquired log information GLI in step SB10. The processing of step SB10 corresponds to the collection unit 1262. In step SB12, the processing device 12 of the projector 10_i transmits the collected log LG to the server 20 using the communication device 18. The processing of step SB12 corresponds to the log transmission unit 1264.
[0057] When the log LG is received, the processing device 22 transfers the received log LG to the database device 30 using the communication device 28 in step SB14. When the log LG is received, the processing device 32 accumulates the received log LG in the log information LI in step SB16.6 After completing the above process, the log collection system 1 ends the series of processes in the log collection stage shown in FIG.
[0058] Fig. 10 is a diagram showing the stored contents of the log information LI after the processing of step SB14 is executed. In the example of Fig. 10, the item indicated by the acquired log information GLI is "error code", and the items not indicated by the acquired log information GLI are "fan rotation speed" and "temperature information". Record LIR_i included in the log information LI illustrated in Fig. 10 is a record that collects a log LG related to the projector 10_i. As illustrated in record LIR_i, a log "normal" corresponding to the item "error code" is accumulated, but logs LG corresponding to the items "fan rotation speed" and "temperature information" are not accumulated. Furthermore, since the items indicated in the acquired log information GLI of the association information RI having the identification information of projector 10_1, the association information RI having the identification information of projector 10_2, and the association information RI having the identification information of projector 10_n are “error code,” “fan rotation speed,” and “temperature information,” logs LG corresponding to the items “error code,” “fan rotation speed,” and “temperature information” are accumulated in the records LIR_1, LIR_2, and LIR_n included in the log information LI illustrated in FIG. 10.
[0059] 1.4.Effects of Log Collection System 1 As described above, the projector 10 is an electronic device capable of communicating with the server 20 that stores acquired log information GLI indicating an item of the log LG to be acquired, and the processing device 12 of the projector 10 functions as an inquiry unit 122, an acquired log information receiving unit 124, and a transmission execution unit 126. The inquiry unit 122 transmits an inquiry QU about the acquired log information GLI to the server 20. The acquired log information receiving unit 124 receives the acquired log information GLI transmitted from the server 20 in response to the inquiry QU. The transmission execution unit 126 operates based on the acquired log information GLI. More specifically, if the acquired log information GLI does not indicate the first item, the transmission execution unit 126 does not transmit a first log LG related to the first item among the multiple logs LG related to the projector 10 to the server 20, and if the acquired log information GLI indicates the first item, the transmission execution unit 126 transmits the first log LG to the server 20. According to the first embodiment, the user U can change the acquired log information GLI only to the projector 10. About Since the log LG to be sent to the server 20 can be changed among the multiple log LGs, the log collection system 1 can About Of the multiple logs LG, the log LG to be sent to the server 20 can be easily changed. Since the projector 10 sends an inquiry QU about the acquired log information GLI to the server 20, when the acquired log information GLI is changed, the projector 10 can collect the log LG corresponding to the item indicated by the changed acquired log information GLI. Compared to a mode in which a program such as firmware or software installed on the projector 10 is changed, the log collection system 1 in this embodiment can quickly provide the log LG desired by the user U. Furthermore, the projector 10 transmits only the log LG indicated by the acquired log information GLI to the server 20. Therefore, according to the first embodiment, the amount of communication between the projector 10 and the server 20 can be reduced, compared to a mode in which all of the multiple logs LG related to the projector 10 are transmitted to the server 20 and logs LG not indicated by the acquired log information GLI are deleted.
[0060] The transmission execution unit 126 also includes a collection unit 1262 and a log transmission unit 1264. If the acquired log information GLI does not indicate the first item, the collection unit 1262 does not collect the first log LG, and if the acquired log information GLI indicates the first item, the collection unit 1262 collects the first log LG. The log transmission unit 1264 transmits the first log LG collected by the collection unit 1262 to the server 20. According to the first embodiment, the first log LG is not collected when the acquired log information GLI does not indicate the first item, and therefore the load on the projector 10 can be reduced compared to a configuration in which the first log LG is collected but the first log LG is not transmitted when the acquired log information GLI does not indicate the first item.
[0061] In addition, the acquired log information GLI stored in the server 20 can be changed based on a change instruction inputted to the user terminal 40. According to the first embodiment, the user U who operates the user terminal 40 can easily change the log LG to be acquired among the multiple logs LG related to the projector 10.
[0062] Furthermore, the server 20 includes an acquired log information transmitting unit 224 that transmits acquired log information GLI to the projector 10 when the server 20 receives an inquiry QU. According to the first embodiment, the server 20 can transmit the acquired log information GLI to the projector 10 when the query QU is received.
[0063] 2. Second embodiment The log collection system 1a in the second embodiment differs from the first embodiment in that it has a PC instead of the server 20. PC is an abbreviation for Personal Computer. The second embodiment will be described below. Note that, for elements in the following exemplary forms and modifications that have the same actions and functions as those in the first embodiment, the symbols used in the first embodiment will be used and detailed descriptions of each will be omitted as appropriate.
[0064] 2.1. Overview of Log Collection System 1a FIG. 11 is a block diagram of a log collection system 1 according to the second embodiment.a 1 is a block diagram showing a configuration of a log collection system 1a. The log collection system 1a has a projector 10_1, a projector 10_2, ..., a projector 10_n, a PC 50, a database device 30, and a user terminal 40. The PC 50, the database device 30, and the user terminal 40 are connected to a communication network NW. The projector 10, the projector 10_2, ..., the projector 10_n, and the PC 50 are connected to each other.
[0065] 12 is a diagram showing the configuration of a PC 50. The PC 50 has a processing device 52, a storage device 54, an input device 55, a display device 56, and a communication device 58. The elements of the PC 50 are connected to each other by a bus 59 for communicating information.
[0066] The processing device 52 is a computer such as a CPU, etc. The processing device 52 may be configured with one or more processors.
[0067] The storage device 54 is configured with a magnetic storage device, a flash ROM, etc. The storage device 54 is a recording medium readable by the processing device 52, and stores application programs executed by the processing device 52, a plurality of programs including a control program executed by the processing device 52, and various types of information used by the processing device 52, etc.
[0068] The input device 55 is a device for inputting information by a user of the PC 50. The input device 55 is composed of one or more types of devices, such as a pointing device, a keyboard, and a touch panel attached to the surface of the display device 56.
[0069] The display device 56 displays various images under the control of the processing device 52. For example, various display panels such as a liquid crystal display panel or an organic EL display panel are suitably used as the display device 56.
[0070] The communication device 58 is hardware for communicating with other devices via the communication network NW.
[0071] 2.2. Functions of the Log Collection System 1a The log collection system 1a functions in the same manner as the server 20 by the processor 52 reading and executing an application program. Therefore, a description of the functions of the log collection system 1a will be omitted.
[0072] 2.3.Effects of Log Collection System 1a According to the second embodiment, the projectors 10_1 to 10_n are connected to the PC 50, so that the load on the communication network NW can be reduced.
[0073] 3. Third embodiment When acquiring a log LG, the log collection system 1 in the first embodiment transmits a query QU of acquired log information GLI to the server 20. On the other hand, in the log collection system 1b in the third embodiment, b When an item in the log LG is changed, the projector 10 transmits a message indicating that the item in the log LG has been changed.
[0074] 3.1. Overview of Log Collection System 1b FIG. 13 is a diagram showing the configuration of a database device 30b in the third embodiment. b has a processing unit 32b, a storage unit 34b, and a communication unit 38.
[0075] The processing device 32b is a computer such as a CPU, etc. The processing device 32b may be configured with one or more processors.
[0076] The storage device 34b is configured with a magnetic storage device, a flash ROM, etc. The storage device 34b is a recording medium readable by the processing device 32b, and stores a plurality of programs including a control program executed by the processing device 32b, association information RIb, log information LI, andb It stores various information used by the
[0077] FIG. 14 is a diagram showing the stored contents of association information RIb. Compared to association information RI, association information RIb has version information VER and does not have a user ID. Version information VER indicates a value indicating the version of acquired log information GLI. For example, version information VER is a numerical value such as "1" or "2." Acquired log information of different versions GLI usually indicate items in different logs LG, but may indicate items in the same log LG.
[0078] 3.2. Functions of Log Collection System 1b 15 is a diagram showing the configuration of a log collection system 1b in the third embodiment. A processing device 22b included in a server 20b in the third embodiment reads a control program from a storage device 24 included in the server 20b, and executes the read control program to function as an inquiry receiving unit 222, an acquired log information transmitting unit 224b, and a transfer unit 226. A processing device 12b included in a projector 10b_i in the third embodiment reads a control program from a storage device 14 included in the projector 10b_i in the third embodiment, and executes the read control program to function as an inquiry unit 122b, an acquired log information receiving unit 124b, and a transmission executing unit 126b.
[0079] In the advance preparation stage, the user terminal 40b in the third embodiment transmits acquired log information GLI of the projector 10 and version information VER corresponding to this acquired log information GLI. The version information VER may be set by the user U, or may be set by the user terminal 40 b The number may be a number assigned by the database device 30. b Based on the received information, the association information RI b Generate the associated information RI b Storage device 34 bStore in.
[0080] In the log collection stage, the inquiry unit 122b executes the process for each log collection interval. When the acquired log information GLI has never been acquired, the inquiry unit 122b uses the communication device 18 to send an inquiry QU about the acquired log information GLI to the server 20. b The inquiry QU includes the identification information of the projector 10b_i. When the acquired log information GLI is acquired even once, the inquiry unit 122b transmits the inquiry QU to the server 20. b Instead, the transmission execution unit 126b is caused to execute the transmission.
[0081] When the inquiry receiving unit 222 receives the inquiry QU, the acquired log information transmitting unit 224b checks the acquired log information GLI in the database device 30. b The database device 30 transmits the acquired log information GLI and the version information VER of this acquired log information GLI to the server 20. b Send to Server 20 b stores the acquired log information GLI and the version information VER in the storage device 24. Furthermore, when new acquired log information GLI and version information VER corresponding to the new acquired log information GLI are received from the user terminal 40b, the acquired log information GLI and version information VER stored in the storage device 24 are updated with the received acquired log information GLI and version information VER. The version information VER stored in the storage device 24 is an example of "first version information."
[0082] The acquired log information transmission unit 224b transmits the acquired log information GLI and the version information VER to the projector 10. b Send to _i.
[0083] The acquired log information receiving unit 124b receives the log information from the server 20 in response to the inquiry QU. bThe acquired log information receiving unit 124b receives the acquired log information GLI and the version information VER transmitted from the server 124. The acquired log information receiving unit 124b stores the acquired acquired log information GLI and the version information VER in the storage device 14.
[0084] When the acquired log information receiving unit 124b receives the acquired log information GLI, or when the inquiry unit 122 b When an execution instruction is received from the server 20, the transmission execution unit 126b collects the first log LG and transmits the first log LG and version information VER indicating the version of the acquired log information GLI to the server 20. b The transmitted version information VER is an example of the "second version information."
[0085] The acquired log information transmission unit 224b compares the version information VER stored in the storage device 24 with the version information VER received from the projector 10b_i. However, before performing the comparison, the acquired log information transmission unit 224b determines whether or not it is necessary to update the version information VER stored in the storage device 24. Specifically, when the date and time when the version information VER stored in the storage device 24 was stored is earlier than the current date and time by more than the log collection interval period, the acquired log information transmission unit 224b determines that it is necessary to update the version information VER stored in the storage device 24.
[0086] When the version information VER stored in the storage device 24 needs to be updated, the acquired log information transmission unit 224b transmits a confirmation of the version information VER to the database device 30b. When the confirmation of the version information VER is received, the database device 30 b The acquired log information transmitting unit 224b transmits the version information VER to the server 20b. When the acquired log information transmitting unit 224b receives the version information VER, if the version information VER has been updated, the acquired log information transmitting unit 224b uses the received version information VER to update the version information VER stored in the storage device 24. When the version information VER has been updated, the acquired log information transmitting unit 224b transmits confirmation of the acquired log information GLI to the database device 30. band updates the acquired log information GLI stored in the storage device 24.
[0087] If the result of comparing the version information VER with the version information VER stored in the storage device 24 and the version information VER received from the projector 10b_i are different, the acquired log information transmission unit 224b transmits a log b The acquired log information transmission unit 224b transmits the acquired log information GLI stored in the storage device 24 and the version information VER stored in the storage device 24 to the projector 10b_i. _i If the version information VER received from the projector 10b_i is the same as the version information VER received from the projector 10b_i, the transfer unit 226 transfers the log LG received from the projector 10b_i to the database device 30b.
[0088] 3.3. Operation of Log Collection System 1b The operation of the log collection system 1b will be described with reference to FIGS.
[0089] 16, 17, 18, and 19 are sequence diagrams showing the operation of the log collection system 1b. The process of step SAb02 shown in FIG. 16 is the process in the advance preparation stage. The process of step SBbyy shown in FIG. 16, 17, 18, and 19 is the process in the log collection stage. yy is a positive integer. The parentheses in FIG. 16 indicate information transmitted during communication. Furthermore, for the information transmitted during communication in FIG. 16, 17, 18, and 19, acquired log information GLI The version information VER indicating that the version is "1" is illustrated as "VER_v1", and will be referred to as "version information VER_v1" in the following description. Similarly, GLI The version information VER indicating that the version is "2" is illustrated as "VER_v2", and will be referred to as "version information VER_v2" in the following description.
[0090] The process of the preparation stage will now be described. 3 In step SAb02, the processing device 42 in the embodiment transmits the identification information, version information VER_v1, and acquired log information GLI of the projector 10b_i to the database device 30b using the communication device 48. After the process of step SAb02 ends, the log collection system 1b ends the series of processes in the advance preparation stage shown in FIG.
[0091] 16 and 17, the first log collection process in the log collection stage will be described. Since the processing device 12b has never acquired the acquired log information GLI in step SBb02, the processing device 12b transmits an inquiry QU about the acquired log information GLI to the server 20b using the communication device 18. The inquiry QU includes the identification information of the projector 10b_i. The process of step SBb02 corresponds to the inquiry unit 122b.
[0092] When receiving the inquiry QU, the processing device 22b in step SBb04 transmits a confirmation of the acquired log information GLI to the database device 30b using the communication device 28. The confirmation of the acquired log information GLI includes the identification information of the projector 10b_i included in the inquiry QU.
[0093] In step SBb06, the processing device 32b transmits the acquired log information GLI and the version information VER_v1 corresponding to the received identification information of the projector 10b_i to the server 20b. When the processing device 22b receives the acquired log information GLI and the version information VER_v1, in step SBb08, the processing device 22b stores the acquired log information GLI and the version information VER_v1 in the storage device 24. Next, in step SBb10, the processing device 22b transmits the acquired log information GLI and the version information VER_v1 to the projector 10b_i using the communication device 28. The process of step SBb10 corresponds to the acquired log information transmission unit 224b.
[0094] When the acquired log information GLI and the version information VER_v1 are received, the processing device 12b of the projector 10b_i stores the acquired log information GLI and the version information VER_v1 in the storage device 14 of the projector 10b_i in step SBb12. Next, the projector 10 b In step SBb14, the processing device 12b of the projector 10b_i collects a log LG corresponding to the item indicated by the acquired log information GLI. The processing of step SBb14 corresponds to the collection unit 1262. In step SBb16, the processing device 12b of the projector 10b_i transmits the log LG collected by the collection unit 1262 and the version information VER_v1 stored in the storage device 14 to the server 20b using the communication device 18. The processing of step SBb16 corresponds to the log transmission unit 1264b.
[0095] When the log LG and the version information VER_v1 are received, the processing device 22b determines in step SBb18 whether or not it is necessary to update the version information VER stored in the storage device 24. The processing date and time of step SBb08, which is the date and time when the version information VER stored in the storage device 24 is stored, is not older than the log collection interval period compared with the processing date and time of step SBb18. Therefore, the processing device 22b does not update the version information VER stored in the storage device 24, and in step SBb20, compares the version information VER stored in the storage device 24 with the version information VER received from the projector 10b_i. The version information VER stored in the storage device 24 and the version information VER received from the projector 10b_i are both version information VER_v1 and are the same. Therefore, in step SBb22, the processing device 22b transfers the log LG received from the projector 10b_i to the database device 30b.
[0096] When the log LG is received, the processing device 32 of the database device 30b bIn step SBb24, the log collection system 1b accumulates the received log LG in the log information LI. After completing the process of step SBb24, the log collection system 1b ends the first log collection process in the log collection stage shown in FIGS.
[0097] 17, the k-th log collection process from the execution of the first log collection process until the version information VER is updated in the log collection stage will be described. k is an integer equal to or greater than 2. When the log collection interval period has elapsed since the execution of the k-1-th log collection process, the projector 10 b In step SBb32, the processing device 12b of the projector 10b_i collects the log LG corresponding to the item indicated by the acquired log information GLI stored in the storage device 14. In step SBb34, the processing device 12b of the projector 10b_i transmits the log LG collected by the collection unit 1262 and the version information VER_v1 stored in the storage device 14 to the server 20b using the communication device 28.
[0098] When the log LG and the version information VER are received, the processing device 22b determines in step SBb36 whether or not it is necessary to update the version information VER_v1 stored in the storage device 24. The processing date and time of step SBb08, which is the date and time when the version information VER_v1 stored in the storage device 24 is stored, is earlier than the processing date and time of step SBb36 by at least the log collection interval period. Therefore, in order to update the version information VER_v1 stored in the storage device 24, the processing device 22b transmits a confirmation of the version information VER to the database device 30b using the communication device 28 in step SBb38. The confirmation of the version information VER includes the identification information of the projector 10b_i.
[0099] When the confirmation of the version information VER is received, the processing unit 32 of the database device 30b b In step SBb40, the version information VER is checked. bThe server 20 transmits the version information VER_v1 corresponding to the identification information of the . b Send to.
[0100] When the version information VER_v1 is received, in step SBb42, the processing device 22b uses the received version information VER_v1 to update the version information VER_v1 stored in the storage device 24. Note that in the process of step SBb42, since the received version information VER and the version information VER stored in the storage device 24 are both version information VER_v1 and are identical, the processing device 22b does not need to execute the process of step SBb42.
[0101] After completing the process of step SBb42, the processing device 22b compares the version information VER stored in the storage device 24 with the version information VER received from the projector 10b_i in step SBb44. The version information VER stored in the storage device 24 and the version information VER received from the projector 10b_i are both version information VER_v1 and are therefore identical. Therefore, in step SBb46, the processing device 22b transfers the log LG received from the projector 10b_i to the database device 30b.
[0102] When the log LG is received, the processing device 32 of the database device 30b b In step SBb48, the log collection system 1b accumulates the received log LG in the log information LI. After completing the process of step SBb48, the log collection system 1b ends the k-th log collection process in the log collection stage shown in FIG.
[0103] 18 and 19, the m-th log collection process immediately after the version information VER is updated by the user terminal 40b will be described, where m is an integer greater than k.
[0104] After the (m-1)th log collection process is executed and before the mth log collection process is executed, 3 In step SBb52, the processing device 42 in the embodiment uses the communication device 48 to transmit the identification information of the projector 10b_i, the updated acquired log information GLI, and the version information VER_v2 to the database device 30b.
[0105] The m-th log collection process will be described. b In step SBb62, the processing device 12b of the projector 10b_i collects a log LG corresponding to the item indicated by the acquired log information GLI stored in the storage device 14. In step SBb64, the processing device 12b of the projector 10b_i transmits the log LG collected by the collection unit 1262 and the version information VER_v1 stored in the storage device 14 to the server 20b using the communication device 28.
[0106] When the log LG and the version information VER_v1 are received, the processing device 22b determines in step SBb66 whether or not it is necessary to update the version information VER stored in the storage device 24. The processing date and time of step SBb42, which is the date and time when the version information VER_v1 stored in the storage device 24 is stored, is earlier than the processing date and time of step SBb66 by at least the log collection interval period. Therefore, in order to update the version information VER stored in the storage device 24, the processing device 22b transmits a confirmation of the version information VER to the database device 30b using the communication device 28 in step SBb68. The confirmation of the version information VER includes the identification information of the projector 10b_i.
[0107] When the confirmation of the version information VER is received, the processing unit 32 of the database device 30b b In step SBb70, the version information VER is checked. b The version information VER_v2 corresponding to the identification information of ._i is transmitted to the server 20b using the communication device 38.
[0108] When the version information VER_v2 is received, the processing device 22b updates the version information VER stored in the storage device 24 by using the received version information VER_v2 in step SBb72. In the process of step SBb72, the received version information VER differs from the version information VER stored in the storage device 24. Specifically, the received version information VER is version information VER_v2, and the version information VER stored in the storage device 24 is version information VER_v1. Therefore, in step SBb74, the processing device 22b transmits a confirmation of the acquired log information GLI to the database device 30b using the communication device 28. The confirmation of the acquired log information GLI includes the identification information of the projector 10b_i.
[0109] When the confirmation of the acquired log information GLI is received, the processing device 32 of the database device 30b b In step SBb76, the projector 10 included in the confirmation of the acquired log information GLI is b The acquired log information GLI corresponding to the identification information of ._i is transmitted to the server 20b using the communication device 38.
[0110] When the acquired log information GLI is received, the processing device 22b updates the acquired log information GLI stored in the storage device 24 with the received acquired log information GLI in step SBb78.
[0111] After completing the process of step SBb78, the processing device 22b compares, in step SBb80, the version information VER stored in the storage device 24 with the version information VER received from the projector 10b_i. The version information VER stored in the storage device 24 and the version information VER received from the projector 10b_i are different from each other. Specifically, the version information VER stored in the storage device 24 is version information VER_v2, and the version information VER received from the projector 10b_i is version information VER_v1. Therefore, in step SBb82, the processing device 22b transmits the acquired log information GLI and the version information VER_v2 stored in the storage device 24 using the communication device 28.
[0112] When the acquired log information GLI and version information VER_v2 are received, projector 10 b In step SBb84, the processing device 12b of the projector 10 stores the acquired log information GLI and the version information VER_v2 in the storage device 14. Next, b In step SBb86, the processing device 12b of the server 20b collects the log LG corresponding to the item indicated by the acquired log information GLI stored in the storage device 14. After collecting the log LG, the processing device 12b transmits the log LG and the version information VER_v2 to the server 20b using the communication device 18 in step SBb88.
[0113] When the log LG and the version information VER_v2 are received, in step SBb90, the processing device 22b determines whether or not it is necessary to update the version information VER stored in the storage device 24. However, since it is clear that there is no need to update the version information VER, the processing device 22b does not need to execute the process of step SBb90.
[0114] After completing the process of step SBb90, the processing device 22b compares the version information VER stored in the storage device 24 with the version information VER received from the projector 10b_i in step SBb92. The version information VER stored in the storage device 24 and the version information VER received from the projector 10b_i are both version information VER_v2 and are the same. Therefore, in step SBb94, the processing device 22b transfers the log LG received from the projector 10b_i to the database device 30b.
[0115] When the log LG is received, the processing device 32 of the database device 30b b In step SBb96, the log collection system 1b accumulates the received log LG in the log information LI. After completing the process of step SBb96, the log collection system 1b ends the m-th log collection process in the log collection stage shown in FIGS.
[0116] 20 is a diagram showing the contents of the log information LI after the process of step SBb96 is executed. In the example of FIG. 20, GLI The acquired log information GLI corresponding to the version information VER_v1 indicating that the version of is "1" indicates the item "error code." GLI 20, the acquired log information GLI corresponding to the version information VER_v2 indicating that the version is "2" indicates the item "fan speed." Furthermore, in the example of FIG. 20, before the third log collection process, the version of the acquired log information GLI is updated from "1" to "2."
[0117] Records LIR_i1, LIR_i2, and LIR_i3 included in the log information LI illustrated in FIG. 20 are records that accumulate the log LG related to the projector 10b_i. Record LIR_ix indicates the log LG accumulated by the xth log collection process. x is an integer from 1 to 3. As illustrated by records LIR_i1 and LIR_i2, the log "Normal" corresponding to the item "Error Code" is accumulated, but the log LG corresponding to the items "Fan RPM" and "Temperature Information" is not accumulated. Furthermore, as illustrated by record LIR_i3, the log "y3 times / min" corresponding to the item "Fan RPM" is accumulated, but the log LG corresponding to the items "Error Code" and "Temperature Information" is not accumulated.
[0118] 3.4.Effects of Log Collection System 1b As described above, in the third embodiment, the acquired log information GLI stored in the server 20b can be upgraded. The server 20b stores the first version information VER indicating the version of the acquired log information GLI. The transmission execution unit 126 transmits the first log LG and the second version information VER indicating the version of the acquired log information GLI to the server 20b. When the first version information VER and the second version information VER are different, the acquired log information transmission unit 224b transmits the acquired log information GLI and the first version information VER stored in the server 20b to the projector 10. b_i Send to. According to the third embodiment, the projector 10b _i The projector 10b transmits the query QU to the server 20b only when the acquired log information GLI is not stored, and does not transmit the query QU to the server 20b when the acquired log information GLI is stored. Therefore, compared to the log collection system 1, the log collection system 1b in the third embodiment has _i The amount of communication between the projector 10b and the server 20b can be reduced. _iBy comparing the version information VER received from with the version information VER stored in the server 20b, it is possible to detect that the user U has updated the acquired log information GLI.
[0119] 4. Fourth embodiment A log collection system 1d in the fourth embodiment differs from the second embodiment in that a server 20 is provided.
[0120] 4.1. Overview of the Log Collection System 1d 21 is a block diagram showing the configuration of a log collection system 1d. The log collection system 1d includes a projector 10_1, a projector 10_2, ..., a projector 10_n, a PC 50d, a server 20, a database device 30, and a user terminal 40. The PC 50d, the server 20, the database device 30, and the user terminal 40 are connected to a communication network NW. The projector 10 _1 The projector 10_1, the projector 10_2, ..., the projector 10_n, and the PC 50d are connected to each other.
[0121] 4.2. Operation of the Log Collection System 1d The operation of the log collection system 1d will be described with reference to FIGS.
[0122] 22 and 23 are sequence diagrams showing the operation of the log collection system 1d. 22 The process of step SAd02 shown in Fig. 22 is the process of the advance preparation stage. The process of step SBdyy shown in Fig. 22 and Fig. 23 is the process of the log collection stage. yy is a positive integer. The log collection system 1d executes the process of the log collection stage for each log collection interval period. The parentheses shown in Fig. 22 indicate information transmitted during communication.
[0123] The processing of the advance preparation stage will now be described. In step SAd02, the processing device 42 in the fourth embodiment uses the communication device 48 to transmit the identification information of the projector 10_i and the acquired log information GLI to the database device 30. After the processing of step SAd02 ends, the log collection system 1d ends the series of processes in the advance preparation stage shown in FIG.
[0124] The j-th log collection process in the log collection stage will be described. The log collection system 1d executes the process of step SBd02 for each projector 10. In step SBd02, the processing device 12 of the projector 10_i uses the communication device 18 to transmit the identification information of the projector 10_i to the PC 50d.
[0125] After the projectors 10_1 to 10_n execute the process of step SBd02, the processing device 52 of the PC 50d aggregates, in step SBd04, the received identification information of the projectors 10. For example, if the identification information of the projector 10_1 is "id_1", the identification information of the projector 10_2 is "id_2", and the identification information of the projector 10_n is "id_n", the processing device 52 of the PC 50d generates the aggregation result as "id_1, id_2, ..., id_n".
[0126] After aggregating the identification information of the projectors 10, the processing device 52 of the PC 50d in step SBd06 transmits an inquiry QU of the acquired log information GLI to the server 20 using the communication device 58. The aggregated identification information of the projectors 10 is included.
[0127] When the query QU is received, the processing device 22 in step SBd08 transmits a confirmation of the acquired log information GLI to the database device 30. The confirmation of the acquired log information GLI includes the identification information of the aggregated projector 10.
[0128] When the confirmation of the acquired log information GLI is received, the processing device 32 in step SBd10 transmits the acquired log information GLI corresponding to each of the projectors 10_1 to 10_n, in which the identification information has been aggregated, to the server 20 using the communication device 38. When the acquired log information GLI corresponding to each of the projectors 10_1 to 10_n is received, the processing device 22 in step SBd12 transmits the acquired log information GLI corresponding to each of the projectors 10_1 to 10_n to the PC 50. d Transfer to.
[0129] When the processing device 52 receives the acquired log information GLI corresponding to each of the projectors 10_1 to 10_n, in step SBd14, the processing device 52 transmits the acquired log information GLI of the projector 10_i to the projector 10_i for each of i ranging from 1 to n. When the processing device 52 receives the acquired log information GLI, in step SBd16, the processing device 12 of the projector 10_i collects the log LG corresponding to the received acquired log information GLI for each of i ranging from 1 to n. After collecting the log LG, in step SBd18, the processing device 12 of the projector 10_i transmits the log LG to the PC 50 using the communication device 18 for each of i ranging from 1 to n. d Send to.
[0130] When the log LG is received from each of the projectors 10_i, where i is 1 to n, the processing device 52 transfers the received log LG to the server 20 using the communication device 58 in step SBd20. When the log LG is received, the processing device 22 transfers the log LG to the database device 30 using the communication device 28 in step SBd22. The processing device 32 accumulates the received log LG in log information LI in step SBd24. After the process of step SBd24 is completed, the log collection system 1d ends the series of processes in the log collection stage shown in FIGS. 22 and 23.
[0131] 4.3.Effects of the Log Collection System 1d As described above, according to the fourth embodiment, PC50 d However, since the identification information of the projectors 10_1 to 10_n is aggregated, the load on the server 20 can be reduced compared to the case where each of the projectors 10_1 to 10_n transmits a query QU to the server 20.
[0132] 5. Variations Each of the above embodiments may be modified in various ways. Specific modified embodiments are exemplified below. Two or more embodiments arbitrarily selected from the following examples may be appropriately combined within a range that does not contradict each other. In the modified examples exemplified below, the elements whose actions and functions are equivalent to those of the embodiment will be appropriately omitted by using the symbols referenced in the above explanation.
[0133] 5.1. First modified example In each of the above-mentioned embodiments, the server 20 and the database device 30 may be the same device.
[0134] 24 is a diagram showing functions of a log collection system 1e in the first modified example. The log collection system 1e has a projector 10_1, a projector 10_2, a server 20e, and a user terminal 40.
[0135] The server 20e includes a processing unit 22e, a storage unit 24e, and a communication unit 28e. e The processing device 22e is a computer such as a CPU. The processing device 22e may be configured with one or more processors. The storage device 24e is configured with a magnetic storage device, a flash ROM, or the like. The storage device 24e is a recording medium readable by the processing device 22e, and stores a plurality of programs including a control program executed by the processing device 22e, association information RI_1, association information RI_2, log information LI, and various information used by the processing device 22e.
[0136] The association information RI_1 is information that associates the identification information of the projector 10_1 with the acquired log information GLI_1. The identification information of the projector 10_1 included in the association information RI_1 is an example of "second identification information." The acquired log information GLI_1 is an example of "first acquired log information."
[0137] The association information RI_2 is information that associates the identification information of the projector 10_2 with the acquired log information GLI_2. 2 The identification information of the projector 10_2 included in the acquired log information GLI_2 is an example of the “third identification information.” The acquired log information GLI_2 is an example of the “second acquired log information.”
[0138] The processing unit 22e includes a storage device 24 e The control program is read from the storage device 221 and executed, thereby functioning as an inquiry receiving unit 222, an acquired log information transmitting unit 224e, and a storage unit 228.
[0139] If the identification information included in the inquiry QU matches the identification information of projector 10_1, the acquired log information transmission unit 224e transmits acquired log information GLI_1 to the projector 10 that sent the inquiry QU, and if the identification information included in the inquiry QU matches the identification information of projector 10_2, it transmits acquired log information GLI_2 to the projector 10 that sent the inquiry QU. The projector 10 that sent the inquiry QU is an example of a "first electronic device." The identification information included in the inquiry QU is an example of "first identification information."
[0140] The storage unit 228 stores the received log LG in log information LI.
[0141] As described above, the log collection system 1e in the first modified example has a plurality of projectors 10. The projector 10 that has sent the query QU is indicated by the first identification information. estores a plurality of pieces of acquired log information GLI indicating items of the log LG to be acquired. Acquired log information GLI_1 of the plurality of pieces of acquired log information GLI is associated with second identification information indicating any one of the plurality of projectors 10. Acquired log information GLI_2 included in the plurality of pieces of acquired log information GLI is associated with third identification information indicating any one of the plurality of projectors 10. The projector 10 indicated by the third identification information is different from the projector 10 indicated by the second identification information. The inquiry unit 122 transmits an inquiry QU including the first identification information to the server 20e. If the first identification information matches the second identification information, the acquired log information transmission unit 224e transmits the acquired log information GLI_1 to the projector 10 that transmitted the inquiry QU, and if the first identification information matches the third identification information, the acquired log information transmission unit 224e transmits the acquired log information GLI_2 to the projector 10 that transmitted the inquiry QU. According to the first modified example, the server 20e can transmit acquired log information GLI_1 corresponding to the projector 10_1 to the projector 10_1, and transmit acquired log information GLI_2 corresponding to the projector 10_2 to the projector 10_2. In other words, the server 20e can change the items of the log LG to be acquired among each of the multiple projectors 10.
[0142] In other words, the log collection system 1e in the first modified example has the following configuration. The log collection system 1e includes a projector 10_1, a projector 10_2, and a server 20. e The projector 10_1 is an example of a "first electronic device." The projector 10_2 is an example of a "second electronic device." The server 20 estores acquired log information GLI_1 indicating an item of a log LG to be acquired among a plurality of logs LG related to the projector 10_1, and acquired log information GLI_2 indicating an item of a log LG to be acquired among a plurality of logs LG related to the projector 10_2. The acquired log information GLI_1 is an example of "third acquired log information." The acquired log information GLI_2 is an example of "fourth acquired log information." Projector 10_1 includes an inquiry unit 122, an acquired log information receiving unit 124, and a transmission execution unit 126. The inquiry unit 122 included in projector 10_1 is an example of a "first inquiry unit." The acquired log information receiving unit 124 included in projector 10_1 is an example of a "first receiving unit." The transmission execution unit 126 included in projector 10_1 is an example of a "first transmission execution unit." The inquiry unit 122 included in projector 10_1 transmits a first inquiry QU about the acquired log information GLI_1 to server 20e. The acquired log information receiving unit 124 included in projector 10_1 receives the acquired log information GLI_1 transmitted from server 20e in response to the first inquiry QU. The transmission execution unit 126 included in projector 10_1 operates based on the acquired log information GLI_1. More specifically, if the acquired log information GLI_1 does not indicate the first item, the transmission execution unit 126 included in the projector 10_1 does not transmit a first log LG related to the first item among the multiple logs LG related to the projector 10_1 to the server 20e, and if the acquired log information GLI_1 indicates the first item, the transmission execution unit 126 transmits the first log LG to the server 20e. Projector 10_2 includes an inquiry unit 122, an acquired log information receiving unit 124, and a transmission execution unit 126. The inquiry unit 122 included in projector 10_2 is an example of a "second inquiry unit." The acquired log information receiving unit 124 included in projector 10_2 is an example of a "second receiving unit." The transmission execution unit 126 included in projector 10_2 is an example of a "second transmission execution unit." The inquiry unit 122 included in projector 10_2 transmits a second inquiry QU about the acquired log information GLI_2 to server 20e. The acquired log information receiving unit 124 included in projector 10_2 receives the acquired log information GLI_2 transmitted from server 20e in response to the second inquiry QU. The transmission execution unit 126 included in projector 10_2 operates based on the acquired log information GLI_2. More specifically, if the acquired log information GLI_2 does not indicate the second item, the transmission execution unit 126 included in the projector 10_2 does not transmit a second log LG related to the second item among the multiple logs LG related to the projector 10_2 to the server 20e, and if the acquired log information GLI_2 indicates the second item, transmits the second log LG to the server 20e. The server 20e includes an acquired log information transmitting unit 224e that transmits acquired log information GLI_1 to the projector 10_1 when the first inquiry QU is received, and transmits acquired log information GLI_2 to the projector 10_2 when the second inquiry QU is received.
[0143] 5.2. Second Variation In each of the above-described embodiments, the association information RI includes identification information of the projector 10, but does not have to include identification information of the projector 10. If the association information RI does not include identification information of the projector 10, the server 20 transmits the same acquired log information GLI to all of the multiple projectors 10.
[0144] 5.3.Third Variation All or part of the elements realized by the processing device 12 and the processing device 22 executing the programs may be realized in hardware, for example, by electronic circuits such as an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific IC), or may be realized by a combination of software and hardware.
[0145] 5.4. Fourth Variation Each of the above-mentioned aspects can be understood as a computer program configured to cause the processing device 12 to function as the inquiry unit 122, the acquired log information receiving unit 124, and the transmission executing unit 126, or a computer-readable recording medium having the computer program recorded thereon. The recording medium is, for example, a non-transitory recording medium, and may include any known recording medium, such as a semiconductor recording medium or a magnetic recording medium, in addition to an optical recording medium, such as a CD-ROM. The present disclosure is also specified as a control method according to each of the above-mentioned aspects. [Explanation of symbols]
[0146] 1...log collection system, 10...projector, 20...server, 30...database device, 40...user terminal, 122...inquiry unit, 124...acquired log information receiving unit, 126...transmission execution unit, 222...inquiry receiving unit, LI...log information, U...user, VER...version information.
Claims
1. A log collection system including a server that stores acquired log information indicating log items to be acquired, and an electronic device that can communicate with the server, The electronic device includes: an inquiry unit that transmits an inquiry about the acquired log information to the server; a receiving unit that receives the acquired log information transmitted from the server in response to the inquiry; a transmission execution unit that operates based on the acquired log information; Including, The transmission execution unit is If the acquired log information does not indicate a first item, a first log related to the first item among a plurality of logs related to the electronic device is not transmitted to the server; If the acquired log information indicates the first item, transmitting the first log to the server; the server includes an acquired log information transmission unit that transmits the acquired log information to the electronic device when the server receives the inquiry; The acquired log information stored in the server is upgradable, the server stores first version information indicating a version of the acquired log information; The transmission execution unit is Transmitting the first log and second version information indicating a version of the acquired log information to the server; The acquired log information transmission unit If the first version information and the second version information are different, the acquired log information stored in the server and the first version information are transmitted to the electronic device. Log collection system.
2. The transmission execution unit is a collection unit that does not collect the first log when the acquired log information does not indicate the first item, and collects the first log when the acquired log information indicates the first item; a log transmission unit that transmits the first log collected by the collection unit to the server; The log collection system of claim 1 .
3. The acquired log information stored in the server is changeable based on a change instruction input to a device different from the electronic device. The log collection system according to claim 1 or 2.
4. The log collection system includes a plurality of electronic devices, the electronic device is a first electronic device among the plurality of electronic devices, the first electronic device is represented by first identification information; the acquired log information includes second identification information indicating one of the plurality of electronic devices; The inquiry unit, Sending the query and the first identification information to the server; The acquired log information transmission unit If the first identification information matches the second identification information, the acquired log information is transmitted to the first electronic device. The log collection system according to any one of claims 1 to 3.
5. The log collection system includes a plurality of electronic devices, the electronic device is a first electronic device among the plurality of electronic devices, the first electronic device is represented by first identification information; the server stores a plurality of pieces of acquired log information indicating log items to be acquired; the acquired log information is a first acquired log information among the plurality of acquired log information, the first acquired log information is associated with second identification information indicating one of the plurality of electronic devices; second acquired log information included in the plurality of acquired log information is associated with third identification information indicating one of the plurality of electronic devices; The electronic device indicated by the third identification information is different from the electronic device indicated by the second identification information, The inquiry unit, sending the query to the server, the query including the first identification information; The acquired log information transmission unit If the first identification information matches the second identification information, the first acquired log information is transmitted to the first electronic device; If the first identification information matches the third identification information, the second acquired log information is transmitted to the first electronic device. The log collection system according to any one of claims 1 to 3.
Citation Information
Patent Citations
Content distribution device, content distribution program, and content distribution method
JP2010039876A
Log recording system and program
JP2011039892A
Image formation device, control method of image formation device, and program
JP2013171564A
Information terminal, communication system, program, and log transmission method
JP2018005757A
