Information processing device
The feature extraction device in information processing terminals addresses the issue of high load and cost by processing bus communication data to reduce the amount of log information, thereby minimizing memory and power consumption and lowering analysis load on external servers.
Patent Information
- Application Number
- JP2021561449
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-11-29
- Filing Date
- 2020-11-25
- Publication Date
- 2024-12-05
- Estimated Expiration
- 2040-11-25
AI Technical Summary
Conventional technologies for information processing terminals increase load and cost due to the need to store and analyze large amounts of log data, leading to higher power consumption and memory requirements.
A feature extraction device that processes bus communication data to extract relevant features, reducing the amount of log information transmitted and analyzed, thereby minimizing memory and power consumption.
Reduces the memory capacity and power consumption of information processing devices by transmitting a smaller amount of feature extraction information, while also lowering the analysis load on external servers.
Smart Images

Figure 0007595025000001 
Figure 0007595025000002 
Figure 0007595025000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing apparatus having a feature extraction device that extracts feature extraction information. [Background technology]
[0002] In recent years, with the development of IoT (Internet of Things) technology, various terminals are now connected to networks and can exchange information with each other, providing new convenience. However, terminals connected to networks are now exposed to new threats. For example, a terminal may be hacked from the network, causing information to be unintentionally leaked to the outside. Thus, there is concern that terminals connected to networks may be used as stepping stones for Denial of Services (DoS) attacks.
[0003] An example of a system that implements measures to address the above-mentioned problems is the access log management system disclosed in Patent Document 1. In this access log management system, a monitoring program on the Web server side receives request data and response data that a user terminal (information processing terminal) sends and receives via the Web server. All of the received request data and response data becomes log information that is sent to the outside. The monitoring program extracts specific information from the log information and accumulates it as an access log. The Web server side then analyzes the accumulated access log to detect unauthorized access. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2006-120130 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the conventional technology disclosed in Patent Document 1 and the like, all data (request data + response data) transmitted to and received from a user terminal on a Web server is transmitted between the user terminal and the Web server as log information. Therefore, the user terminal needs to temporarily store the log information, while the Web server needs to analyze a large amount of log information, which causes a problem of heavy loads on both the user terminal and the Web server.
[0006] In addition, simply leaving a log on the user terminal on the edge device side and sending it to a server would result in a huge amount of log information, requiring the user terminal to have ample memory, and would also increase the communication burden, resulting in problems such as increased power consumption and costs for the user terminal that serves as the edge device.
[0007] The present invention has been made to solve the above problems, and has an object to reduce the cost of an information processing device that serves as a user terminal that transmits log information. [Means for solving the problem]
[0008] One aspect of the information processing device according to the present invention includes a processing target bus, a feature extraction device that acquires bus communication data obtained from the processing target bus from time to time and executes a feature extraction process to extract features appearing in the bus communication data as feature extraction information, and a communication unit that executes an external transmission process to transmit the feature extraction information extracted by the feature extraction device to the outside as log information. the control unit further includes a control unit that outputs command information including a command to control an operation or function to a control target unit, the control target unit includes the communication unit, the processing target bus includes a communication unit bus between the control unit and the communication unit, the command information including a command with the control target unit as the communication unit is transmitted from the control unit to the communication unit via the communication unit bus, the on-bus communication data includes the command information on the communication unit bus, and the feature extraction device executes the feature extraction process using the command information including the command with the control target unit as the communication unit as a feature extraction target. . Effect of the Invention
[0009] A feature extraction device in one aspect of the information processing device of the present invention executes a feature extraction process to extract features appearing in the on-bus communication data as feature extraction information, and can transmit the feature extraction information, which has a smaller amount of information compared to the on-bus communication data, to an external server or the like as log information.
[0010] As a result, an information processing device of one embodiment of the present invention can reduce the memory capacity required for transmitting the feature extraction information from the communication unit by limiting the amount of feature extraction information that becomes log information to a relatively small amount, thereby achieving low power consumption and low costs.
[0011] Furthermore, in an external analysis device, such as a server that exists outside the information processing device and receives feature extraction information as log information, the analysis load on the log information can be reduced.
[0012] The objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description and the accompanying drawings. [Brief description of the drawings]
[0013] [Figure 1] 2 is a block diagram showing a configuration of an information processing terminal which is a basic configuration of the first embodiment. FIG. [Diagram 2] FIG. 2 is a block diagram showing an internal configuration of the feature extraction device shown in FIG. [Diagram 3] 2 is an explanatory diagram showing a schematic diagram of an output mode of command information on the communication unit bus shown in FIG. 1; [Figure 4] 2 is an explanatory diagram (part 2) that illustrates a schematic diagram of an output mode of command information on the communication unit bus illustrated in FIG. 1; [Diagram 5] FIG. 2 is an explanatory diagram illustrating a frame control data signal used in the UART communication specification. [Figure 6] FIG. 2 is an explanatory diagram illustrating a combination of a clock signal and transmission data used in the IC2 communication specification. [Figure 7] 11 is a graph showing the generation timing of a predetermined command. [Figure 8] 11 is a graph showing command generation timing for each command length. [Figure 9] 2 is an explanatory diagram showing a schematic diagram of an output mode of command information on the communication unit bus shown in FIG. 1; [Figure 10]2 is an explanatory diagram showing a schematic diagram of an output mode of command information on the communication unit bus shown in FIG. 1; [Figure 11] 2 is an explanatory diagram showing a schematic diagram of an output mode of command information on the communication unit bus shown in FIG. 1; [Figure 12] 11 is a graph showing command generation timing for each command length. [Figure 13] 13 is a graph showing the generation timing of a command having a command length of 90 cycles. [Figure 14] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a modified example of the first embodiment. [Figure 15] FIG. 13 is an explanatory diagram for explaining a third extraction manner by the information processing terminal which is a modification of the first embodiment. [Figure 16] FIG. 11 is a block diagram showing a configuration of an information processing terminal which is a basic configuration of the second embodiment. [Figure 17] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a first modified example of the second embodiment. [Figure 18] FIG. 13 is a block diagram showing a configuration of an information processing terminal according to a second modified example of the second embodiment. [Figure 19] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a basic configuration of embodiment 3. [Figure 20] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a modified example of the third embodiment. [Figure 21] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a basic configuration of embodiment 4. [Figure 22] FIG. 22 is a block diagram showing the internal configuration of the feature extraction device shown in FIG. 21. [Diagram 23] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is an extended configuration of the fourth embodiment. [Figure 24] 13 is a graph showing a specific example of feature extraction processing by a feature extraction device of an information processing terminal in an extended configuration. [Diagram 25] 24 is an explanatory diagram showing the specific contents of the feature extraction log shown in FIG. 23. [Figure 26]FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a modified example of the fourth embodiment. [Figure 27] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a basic configuration of embodiment 5. [Figure 28] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a first modified example of the fifth embodiment. [Figure 29] FIG. 13 is a block diagram showing a configuration of an information processing terminal which is a second modified example of the fifth embodiment. [Diagram 30] FIG. 13 is a block diagram showing a configuration of an information processing terminal according to a third modified example of the fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] <Embodiment 1> (Basic configuration) FIG. 1 is a block diagram showing a configuration of an information processing terminal 1 (information processing device) which is a basic configuration of the first embodiment of the present invention.
[0015] As shown in the figure, the information processing terminal 1 has a control unit 2, a communication unit 3, and a feature extraction device 4 as main components inside. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. In the first embodiment, the bus to be processed is the bus B1, which is a bus for the communication unit. As the bus B1, for example, an SPI (Serial Peripheral Interface) bus, an I2C (Inter-Integrated Circuit) bus, or a UART (Universal Asynchronous Receiver Transmitter) bus is adopted. In the following, the SP1 bus will be used as a representative example.
[0016] The bus B1 also includes any signal line used for broad communication between the control unit 2 and a controlled unit described later. The bus B1 may be, for example, a single signal line used when the control unit 2 transmits an enable signal or a reset signal described later to the controlled unit.
[0017] The control unit 2 outputs command information CM including commands for controlling operations or functions to the communication unit 3, which is a controlled unit, and controls the external transmission process between the communication unit 3 and the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0018] Hereinafter, in this specification, the common term "command information CM" is used to include commands that control the operation or function of the controlled parts (the communication part 3, the processing part 5, the processing parts 5A and 5B, the internal memory 6, and the external memory 7). Note that in this specification, the "command" includes a reset signal, an enable signal, and a chip select signal.
[0019] The processing unit 5 may be, for example, sensors such as a temperature sensor, a motor, a speaker, or an input / output device such as a keyboard, a touch panel, a monitor, etc. Furthermore, the processing unit 5 may include an externally connected device (a mouse, a scanner, a printer, etc.).
[0020] Command information CM output from the control unit 2 flows on a bus B1, which is a communication bus between the control unit 2 and the communication unit 3, as on-bus communication data D1.
[0021] Feature extraction device 4 receives on-bus communication data D1 on bus B1, and executes feature extraction processing for extracting features appearing in on-bus communication data D1 as feature extraction log L1 (feature extraction information) with command information CM on bus B1 as the feature extraction target.
[0022] The control unit 2 receives the feature extraction log L1 extracted by the feature extraction device 4, outputs the feature extraction log L1 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause the communication unit 3 to execute the above-mentioned external transmission process. As a result, the feature extraction log L1 extracted by the feature extraction device 4 is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0023] Fig. 2 is a block diagram showing the internal configuration of the feature extraction device 4 shown in Fig. 1. As shown in the figure, the feature extraction device 4 includes a log generation unit 41, a storage unit 42, and an information output unit 43 as main components.
[0024] The log generating unit 41, which serves as a decoding unit, receives the on-bus communication data D1 (command information CM) and executes a feature extraction process to extract features appearing in the on-bus communication data D1 as a feature extraction log L1 (feature extraction information).
[0025] In the basic configuration of the first embodiment, the command information CM on the bus B1 is the target of feature extraction, and the command information CM includes a command for controlling the operation or function of the communication unit 3 as the control target unit.
[0026] The storage unit 42 stores the feature extraction log L1 extracted by the log generation unit 41.
[0027] The information output unit 43 executes an information output process for outputting the feature extraction log L1 stored in the storage unit 42 at a predetermined timing. The predetermined timing may be a timing requested by the control unit 2 or the server 8. Alternatively, the predetermined timing may be set to every fixed interval (time), or when a number of commands exceeding a threshold for the number of issuances issuances issuance.
[0028] (Feature extraction content) (First extraction mode) Hereinafter, the first extraction mode of the feature extraction process executed by the log generating unit 41 of the feature extraction device 4 will be described in detail.
[0029] The feature extraction device 4 receives the bus communication data D1 every moment and extracts features from the command information CM. That is, in the first extraction mode, the feature extraction process is performed with the command information CM on the bus B1 as the feature extraction target.
[0030] The feature extraction device 4 then executes a feature extraction process to extract at least one piece of information from the following information (1) to information (6) as a feature extraction log L1 (feature extraction information).
[0031] (1) Information indicating the output interval between successively output commands; (2) Information indicating the command (data) length or the frame length related to the command, (3) information indicating the command type; (4) Information indicating the timing of command generation; (5) information indicating the number of occurrences of a given command per unit time, and (6) Information indicating the ratio of a frame valid period to a frame invalid period regarding a command per unit time; These pieces of information (1) to (6) are information indicating characteristics appearing in the commands contained in the command information CM.
[0032] 3 is an explanatory diagram showing a typical output mode (part 1) of the command information CM on the bus B1. In the example shown in the figure, information defining command identifiers cm1 and cm2 as the command information CM is output in the order cm1, cm2.
[0033] The command identifiers cm1 and cm2 are output in synchronization with the rising edge of the clock CK to "H." In the example shown in Fig. 3, the issuance of the command identifier cm1 starts at time t11, and after the command issuance interval Δt has elapsed since the output of the command identifier cm1 ended, the issuance of the command identifier cm2 starts at time t12.
[0034] Furthermore, the command length, which is the output period of each of the command identifiers cm1 and cm2, is defined as the number of cycles of the clock CK. In Fig. 3, the command issue time tc of the command identifier cm2 is illustrated.
[0035] The command type for the command identifier cm1 is classified as "Write Command." "Write Command" is a command type that instructs writing of data to a write target such as the communication unit 3. Therefore, a command that indicates the command direction in which the write data or the like is directed from the control unit 2 to the write target is classified as "Write Command." For example, "Write Command" is a command type that instructs (temporarily) writing of data to be transmitted to the server 8 or the like to the communication unit 3.
[0036] On the other hand, the command type for the command identifier cm2 is classified as "Read Command." "Read Command" is a command type that instructs reading of data from a read target such as the communication unit 3. Therefore, a command that indicates the command direction in which the read data etc. is directed from the read target to the control unit 2 is classified as "Read Command." For example, "Read Command" is a command type that instructs reading of data received from the server 8 etc. via the communication unit 3.
[0037] 3, information (1) is information indicating the command issuing interval Δt, and information (2) is information indicating the command issuing time tc (number of cycles). Information (3) indicates the command direction ("Write Command" or "Read Command") as the command type. The command type is information including parameters such as an identifier (ID) and an address in addition to the command direction described above.
[0038] Regarding information (6), let us consider the case where "command issuing interval Δt + command issuing time tc" shown in Fig. 3 is taken as the virtual unit time. In this case, the command issuing time tc is the frame valid period, and the command issuing interval Δt is the frame invalid period. Therefore, the "ratio of command valid period to invalid period per unit time" is "tc:Δt".
[0039] In this specification, the term “unit time” means “a general unit time such as one second or one minute,” and the above-mentioned virtual unit time is set hypothetically in order to show a specific example of the information content such as information (6).
[0040] When the identifier (ID) of the predetermined command is the command identifier cm1, the information (4) becomes timing information indicating time t11, and when the identifier of the predetermined command is the command identifier cm2, the information (4) becomes timing information indicating time t12. Note that, in addition to the above-mentioned timing information, the above-mentioned command type (command direction, identifier, etc.) may be added as the information (4).
[0041] For an enable signal, a first transition timing at which the signal transitions from enable to disable or a second transition timing at which the signal transitions from disable to enable may be extracted as the timing information. Furthermore, a combination of the first and second transition timings may be extracted as the timing information.
[0042] 4 is an explanatory diagram showing a schematic diagram of an output mode (part 2) of command information CM and the like on bus B1. The example shown in the figure shows an output mode of command information CM or response data RD. The response data RD will be described in detail later.
[0043] In the output mode shown in Fig. 4, the frame determination information FJ indicates the valid period of the data in the transmission data TD. The actual data contained in the transmission data TD may be command information CM, response data RD, etc. That is, the period during which the frame determination information FJ indicates "H" is the frame valid period (data valid period). On the other hand, the period during which the frame determination information FJ indicates "L" is the frame invalid period (interval period; data invalid period).
[0044] In addition, in the enable signal, the enable period is defined as a frame valid period, and the disable period is defined as a frame invalid period.
[0045] The output period of the command information CM01 coincides with the period TF1 during which the frame determination information FJ is "H," and the number of clocks in this period TF1 is the frame length for the command information CM01 (the command contained in it). Therefore, for the command information CM01, the command length and the frame length coincide with each other.
[0046] After an interval period ΔIT1 has elapsed since the output of the command information CM01, response data RD01, which is the actual data of the transmission data TD, is output.
[0047] The output period of the response data RD01 coincides with the period TF2 during which the frame determination information FJ is "H," and the number of clocks in this period TF2 is the frame length for the response data RD01. Therefore, for the response data RD01, the response data length and frame length coincide with each other.
[0048] After an interval period ΔIT2 has elapsed since the output of response data RD01, the valid period of "command information CM02 + response data RD02," in which response data RD02 is output consecutively to command information CM02, is specified by frame determination information FJ. The number of clocks during period TF3 during which this frame determination information FJ is "H" becomes the frame length for command information CM02 (the command included in it), or the frame length for response data RD02.
[0049] In this way, even when the command information CM02 and the response data RD02 are output consecutively, the frame length of the command information CM02 or the response data RD02 can be accurately recognized by referring to the frame determination information FJ.
[0050] For the command information CM02, the frame length is longer than the command length because the command length of the response data RD02 is taken into account. Similarly, for the response data RD02, the frame length is longer than the response data length because the command length of the command information CM02 is taken into account.
[0051] After an interval period ΔIT3 has elapsed since the output of response data RD02, command information CM03 is output, and the effective period of "command information CM03 + response data RD03", in which response data RD03 is output after an infinitesimal period Δt03 has elapsed since the output of command information CM03, is specified by frame determination information FJ. The number of clocks during period TF4 during which this frame determination information FJ is "H" is the frame length for command information CM03 (the command included in it), or the frame length for response data RD03.
[0052] In this way, even when the command information CM03 and the response data RD03 are output consecutively at an interval of a very short period Δt03, the frame length of the command information CM03 or the response data RD03 can be accurately recognized by referring to the frame determination information FJ.
[0053] For the command information CM03, the frame length is longer than the command length because the command length and the short period Δt03 of the response data RD03 are taken into account. Similarly, for the response data RD03, the frame length is longer than the response data length because the command length and the short period Δt03 of the command information CM03 are taken into account.
[0054] In this way, the frame determination information FJ serves as data validity recognition information for determining the validity of the actual data including the command information CM and the response data RD, with the transmission data TD as the determination target.
[0055] Therefore, by measuring the period when the frame determination information FJ is "H," it is possible to recognize the frame valid periods (TF1 to TF4), which are data valid periods, and by measuring the period when the frame determination information FJ is "L," it is possible to recognize the frame invalid periods (ΔIT1 to ΔIT3), which are data invalid periods.
[0056] With reference to FIG. 4, periods TF1, TF3 and TF4 are each frame lengths (number of cycles) related to commands (included in command information CM) in information (2).
[0057] Regarding information (6), if the sum of the interval period ΔIT2 and the period TF3 in Fig. 4 is taken as a virtual unit time, the period TF3 is the frame valid period, and the interval period ΔIT2 is the frame invalid period. Therefore, the "ratio of the command valid period and invalid period per unit time" which is information (6) is "TF3:ΔIT2".
[0058] Regarding the commands included in the command information CM01 to CM03 shown in FIG. 4, the periods TF1, TF3, and TF4 shown in FIG. 4 can be adopted as information (2) instead of the command issuing time tc shown in FIG.
[0059] 5 is a diagram showing a frame control data signal CF used in the UART communication specification. As shown in the figure, a data group D0 to D7 (data) and a parity bit PB are communicated between the START bit (Start bit=logic 0) and STOP bit (Stop bit=logic 1) of the frame control data signal CF. The data group D0 to D7 can be command information CM, response data RD, or "command information CM + response data RD."
[0060] In the communication specifications shown in Fig. 5, the period between the START bit and the STOP bit is the frame valid period (data valid period), and the period between the STOP bit and the STRAT bit is the frame invalid period (interval period; data invalid period). Note that both the START bit and the STOP bit are included in the frame valid period.
[0061] In this way, the combination of the START bit and STOP bit of the frame control data signal CF becomes data validity recognition information for judging the validity of the actual data including the command information CM and response data RD, with the frame control signal CF itself as the judgment subject.
[0062] Therefore, based on the frame control data signal CF, it is possible to recognize a frame valid period, which is a data valid period, and a frame invalid period, which is a data invalid period.
[0063] Therefore, instead of the frame determination information FJ and the transmission data TD shown in FIG. 4, a frame control data signal CF shown in FIG. 5 may be used.
[0064] FIG. 6 is an explanatory diagram showing a schematic combination of the clock signal CL3 and the transmission data SD3 used in the IC2 communication specification.
[0065] In the I2C communication specification, the START condition is when the transmit data SD3 falls to “L” while the clock signal CL3 is “H”, and the STOP condition is when the transmit data SD3 rises to “H” while the clock signal CL3 is “H”.
[0066] In the communication specifications shown in Fig. 6, the period from when the start condition is satisfied to when the stop condition is satisfied is the frame valid period (data valid period), and the period from when the stop condition is satisfied to when the start condition is satisfied is the frame invalid period (interval period; data invalid period). Note that the actual data in the transmission data SD3 can be command information CM, response data RD, or "command information CM + response data RD".
[0067] In this way, in the I2C communication specification, the combination of the clock signal CL3 and the transmission data SD3 being “H” or “L” serves as data validity recognition information for determining the validity of the actual data, including the command information CM and response data RD, with the transmission data SD3 as the subject of judgment.
[0068] Therefore, based on the combination of "H" and "L" of the clock signal CL3 and the transmission data SD3, it is possible to recognize a frame valid period, which is a data valid period, and a frame invalid period, which is a data invalid period.
[0069] Therefore, instead of the frame determination information FJ and the transmission data TD shown in FIG. 4, a combination of the clock signal CL3 and the transmission data SD3 shown in FIG. 6 may be used.
[0070] The feature extraction device 4 in the information processing terminal 1, which is the basic configuration of the first embodiment, executes a feature extraction process on the command information CM on the bus B1, which includes a command having the communication unit 3 as the control target, as the feature extraction target, and extracts the above-mentioned information (1) to (6) as feature extraction information.
[0071] Therefore, an external device such as a server that receives the above-mentioned feature extraction information as log information can determine anomalies based on the relatively small amount of information (1) to (6), as will be described in detail below.
[0072] When the feature extraction log L1 contains the information (1), the server 8 can refer to the information (1) and determine whether an anomaly has occurred when an issue interval that does not satisfy a predetermined criterion occurs.
[0073] When the feature extraction log L1 contains the information (3), the server 8 can refer to the information (3) and perform an abnormality determination based on the occurrence mode of a command of a predetermined command type.
[0074] 7 is a graph showing the occurrence timing of a predetermined command. In the figure, the horizontal axis is time (sec) and the vertical axis is the number of occurrences. The time when the number of occurrences "1" is plotted indicates that a predetermined command occurred. Note that an example of the predetermined command may be a data transmission request command to the server 8.
[0075] In this way, Fig. 7 shows a case where the information (4) is the feature extraction log L1. As shown in Fig. 7, when the information (4) is included in the feature extraction log L1, the server 8 can refer to the information (4) and perform an abnormality determination based on the occurrence mode of a predetermined command.
[0076] Figure 8 is a graph showing the timing of command occurrence by command length. In this figure, the horizontal axis is time (sec) and the vertical axis is the number of cycles of the command that corresponds to the command (data) length. It shows that a command with the plotted command length occurred at the plotted time.
[0077] Thus, Fig. 8 shows a case where the information (2) is the feature extraction log L1. When the information (2) is included in the feature extraction log L1 as shown in Fig. 8, an effect is achieved in that the server 8 side can refer to the information (2) and perform anomaly determination based on the frequency of occurrence of commands of a predetermined command length. The above effect is the same even if the information (2) is information indicating the frame length related to the command shown in Fig. 4.
[0078] (First Modification) The feature extraction device 4 in the information processing terminal 1, which is the basic configuration of the first embodiment, executes a feature extraction process on the command information CM on the bus B1, which includes a command having the communication unit 3 as the control target, as the feature extraction target, and extracts the above-mentioned information (1) to (6) as feature extraction information.
[0079] As a first variant of the first embodiment, a feature extraction process may be executed with command information CM on the bus B1, the command information CM including a command having the control unit 2 as the controlled unit, as the feature extraction target, and the above-mentioned information (1) to (6) may be extracted as feature extraction information.
[0080] That is, a configuration in which the communication unit 3 transmits command information CM including a command for the control unit 2 as the control target unit to the control unit 2 via the bus B1, which is a bus for the communication unit, and the feature extraction device 4 executes the above-mentioned feature extraction process using the command information CM including a command for the control unit 2 as the control target unit as the feature extraction target can be considered as a first variant of the first embodiment.
[0081] An example of a command with the control unit 2 as the controlled unit is a command that requests the control unit 2 to retrieve instruction data when the communication unit 3 receives the instruction data from the server 8 for the control unit 2. If the instruction data requests some kind of processing by the control unit 2, the instruction data itself is also a command with the control unit 2 as the controlled unit. The communication unit 3 may generate command information CM including the above-mentioned command in an interrupt manner, directed to the control unit 2 via the bus B1.
[0082] The first modification of the first embodiment also has the effect that an external device, such as a server, that receives the above-mentioned feature extraction information as log information can determine an abnormality based on the relatively small amount of information (1) to (6).
[0083] (Second Extraction Mode) The second extraction mode of the feature extraction process executed by the log generating unit 41 of the feature extraction device 4 will now be described in detail.
[0084] The feature extraction device 4 receives the bus communication data D1 from time to time, and, like the first extraction target, extracts features from the command information CM on the bus B1.
[0085] The feature extraction device 4 then executes a feature extraction process to extract at least one piece of information from the following information (7) to information (10) as a feature extraction log L1 (feature extraction information).
[0086] (7) information indicating the timing when a command of a predetermined command type is output in a sequence that satisfies a command type generation condition; (8) Information indicating the command generation sequence and its timing when multiple commands, each having a predetermined identifier, are output without satisfying the command generation sequence condition; (9) Information indicating the timing when a command having a specific identifier is output without satisfying the command occurrence interval condition, and (10) information indicating the timing when a command having a predetermined command length is output; These pieces of information (7) to (10) are information indicating the characteristics that appear in the command information CM. Regarding the information (8), it is preferable that the identifiers for the multiple commands are different.
[0087] 9 is an explanatory diagram showing a schematic diagram of an output mode of the command information CM on the bus B1. In the example shown in the figure, information defining the command identifiers cm11 to cm17 is output as the command information CM.
[0088] The command identifiers cm11 to cm17 are output in synchronization with the rising edge of the clock CK to "H." In the example shown in Fig. 9, the command identifiers cm11 to cm14 are output in the order of cm11, cm12, cm13, and cm14 in the period T11, and the command identifiers cm15 to cm17 are output in the order of cm15, cm16, and cm17 in the period T12.
[0089] The command identifiers cm11, cm13, and command identifiers cm15 to cm17 are classified into the command type "Write Command", and the command identifiers cm12 and cm14 are classified into the command type "Read Command".
[0090] Here, the command type occurrence condition is stipulated as a case where the command type "Write Command" occurs three times in succession.
[0091] When the command type "Write Command" is output three or more times in succession onto the bus B1, it can be assumed that external communication for transmission to an external device such as a server 8 has occurred, rather than handshake communication between the control unit 2 and the communication unit 3. Since information indicating the occurrence of external communication is important as information for determining an abnormality, information indicating the occurrence timing (time) of output of the command identifiers cm15 to cm17 in the period T12 becomes the above-mentioned information (7).
[0092] In this way, the feature extraction device 4 executes the feature extraction process to extract the above-mentioned information (7) from the on-bus communication data D1 as the feature extraction log L1. In the example of Fig. 9, it is considered that the occurrence time of at least one of the command identifiers cm15 to cm17 is the information (7).
[0093] 9, for example, if the period T11 is the virtual unit time of the above-mentioned information (5) and a command classified as "Read Command" is the predetermined command, the number of times "Read Command" occurred during the period T11 is 2. Also, if the controlled unit is the internal memory 6 or the external memory 7, for example, the "Read Command" or "Write Command" to the memories 6, 7 may be extracted as the number information.
[0094] 10 is an explanatory diagram showing a schematic diagram of an output mode of the command information CM on the bus B1. In the example shown in the figure, information defining the command identifiers cm21 to cm26 is output as the command information CM.
[0095] The command identifiers cm21 to cm26 are output in synchronization with the rising edge of the clock CK to "H." In the example shown in Fig. 10, the command identifiers cm21 to cm23 are output in the order of cm21, cm22, and cm23 in period T21, the command identifier cm24 is output in period T22, and the command identifiers cm25 and cm26 are output in the order of cm25 and cm26 in period T23.
[0096] The command identifiers cm21 and cm25 indicate "Command A," the command identifier cm22 indicates "Command B," the command identifiers cm23 and cm6 indicate "Command C," and the command identifier cm24 indicates "Command D."
[0097] Here, the command generation order condition specifies the output order of "Command A", "Command B" and "Command C".
[0098] In the period T21, the command identifiers cm21 to cm23 satisfy the command occurrence order condition, and therefore the command information CM in the period T21 is deemed to be of low importance and is therefore excluded from feature extraction.
[0099] In period T22, "Command D", which is a command not specified in the command generation order condition, is output. Since the identifier of "Command D" and information indicating its output timing are important information for abnormality determination, when the command identifier cm24 is output in period T22, the identifier of "Command D" and information indicating its generation timing (time) become the above-mentioned information (8).
[0100] In period T23, the commands are output in the order of "Command A" and "Command C" without satisfying the command generation order condition. The generation order (abnormality occurrence sequence) of "Command A" and "Command C" and information indicating the output timing are important information for abnormality determination. For this reason, for example, when the command identifier cm26 is output in period T23, the information indicating the abnormality occurrence sequence and the above-mentioned generation timing (time) becomes the above-mentioned information (8).
[0101] In this way, the feature extraction device 4 executes a feature extraction process to extract the above-mentioned information (8) from the on-bus communication data D1 as a feature extraction log L1. In the example of Fig. 10, it is considered that the occurrence time of either the command identifier cm25 or cm26 is used as timing information of the information (8).
[0102] 11 is an explanatory diagram showing a schematic diagram of an output mode of the command information CM on the bus B1. In the example shown in the figure, information defining the command identifiers cm31 to cm34 is output as the command information CM.
[0103] The command identifiers cm31 to cm34 are output in synchronization with the rising edge of the clock CK to "H." The example shown in Fig. 11 shows a situation in which the command identifiers cm31 to cm34 are output in the order of cm31, cm32, cm33, and cm34 after a command issuing interval Δt1 has elapsed from the command identifier cm30.
[0104] The command identifiers cm31, cm33, and cm34 indicate "Command A," and the command identifier cm32 indicates "Command B."
[0105] Here, the command generation interval condition is stipulated to be 5 cycles or more of the clock CK for the generation interval of "Command A."
[0106] Since the command issuing interval Δt1 between the command identifier cm31 indicating "Command A" and the immediately preceding command identifier cm30 is 5 cycles, the command identifier cm31 satisfies the command issuing interval condition and is therefore excluded from the extraction targets.
[0107] The command identifier cm32 indicating "Command B" is excluded from the extraction targets because it is a command that is not subject to extraction.
[0108] Since the command issuance interval Δt2 between the command identifier cm33 indicating “Command A” and the command identifier cm31 indicating the previously issued “Command A” is 5 cycles, the command identifier cm33 satisfies the command occurrence interval condition and is therefore excluded from the extraction targets.
[0109] Since the command issuance interval Δt3 between the command identifier cm34 indicating "Command A" and the command identifier cm33 indicating the previously issued "Command A" is one cycle, the command identifier cm34 does not satisfy the command occurrence interval condition. For this reason, information indicating the timing at which the command identifier cm34 was issued is important as information for determining anomalies. Accordingly, information indicating the time at which the command identifier cm34 was output and its occurrence timing (time) becomes the above-mentioned information (9). It is preferable to associate information indicating the identifier of the command identifier cm34 with the information (9).
[0110] In this way, the feature extraction device 4 executes a feature extraction process to extract the above-mentioned information (9) from the on-bus communication data D1 as a feature extraction log L1. In the example of Fig. 11, it is considered that the occurrence time of the command identifier cm34 is the timing information of the information (9).
[0111] 11 may be, for example, a command related to host communication between the server 8 and the information processing terminal 1. Normally, this command is set as a command generation interval condition at a request from the server 8 side to provide a certain issuance interval.
[0112] However, if the information processing terminal 1, which is an IoT terminal, is used as a springboard for a DoS attack, the above-mentioned command generation interval condition may not be satisfied, and therefore the information (9) becomes important information.
[0113] FIG. 12 is a graph showing the timing of command occurrence by command length. In the figure, the horizontal axis is time (sec) and the vertical axis is the number of cycles of the command that corresponds to the command length. It shows that a command with the plotted command length occurred at the plotted time. FIG. 12 corresponds to information (2) shown in FIG. 8.
[0114] As shown in the figure, commands are issued all the time, but most of them are commands that do not need to be recorded as logs, such as polling. Here, it is assumed that a command with a command length of 90 cycles is an important command for the information processing terminal 1 to communicate with an external device such as a server 8. Therefore, the predetermined command length is 90 cycles.
[0115] In this case, attention is focused only on commands with a command length of 90 cycles, and information indicating the issuance timing thereof becomes the above-mentioned information (10).
[0116] Fig. 13 is a graph showing the timing of occurrence of a command with a command length of 90 cycles. In the figure, the horizontal axis is time (sec) and the vertical axis is the number of occurrences. The time at which the number of occurrences "1" is plotted indicates that a command with a command length of 90 cycles occurred. The timing information showing the time plotted in Fig. 13 is information (10).
[0117] In this manner, the feature extraction device 4 executes the feature extraction process to extract the above-mentioned information (10) from the on-bus communication data D1 as the feature extraction log L1.
[0118] As is clear from a comparison between FIG. 12 and FIG. 13, the amount of information in the information (10) that becomes the feature extraction log L1 is further reduced compared to the information (2).
[0119] Here, if the command issuance frequency condition of "three times every two seconds" for important commands with a command length of 90 cycles is recognized in advance, it is possible to determine from information (10) shown in FIG. 13 that a case in which "less than three times every two seconds" or "four or more times every two seconds" exists is an abnormal case.
[0120] Therefore, the information (10) may be further narrowed down to only include the issuance timings of commands with a command length of 90 cycles that fall into the above-mentioned abnormal case as information (10a), thereby further reducing the amount of information.
[0121] In this case, the feature extraction device 4 executes a feature extraction process to extract information (10a) that is a further refinement of the information (10) from the on-bus communication data D1 as a feature extraction log L1.
[0122] The feature extraction device 4 extracts at least one of the above-mentioned information (7) to information (10a) (information (7) to (10), (10a)) as the feature extraction log L1 (feature extraction information). Therefore, an external device such as a server 8 that receives the feature extraction log L1 as log information can perform an abnormality determination based on at least one of the information (7) to information (10a) that has been narrowed down to information indicating the minimum necessary timing. The above-mentioned effects can also be achieved in the modification of the first embodiment.
[0123] (Third Extraction Mode (Second Modification)) FIG. 14 is a block diagram showing a configuration of an information processing terminal 11 (information processing device) which is a second modified example of the first embodiment of the present invention.
[0124] As shown in the figure, like the information processing terminal 1 having the basic configuration, the information processing terminal 11 internally has a control unit 2, a communication unit 3, and a feature extraction device 4 as main components.
[0125] The feature extraction device 4 receives the on-bus communication data D1 on the bus B1 from time to time, and executes a feature extraction process for extracting features appearing in the on-bus communication data D1 as a feature extraction log L1 (feature extraction information).
[0126] In the third extraction mode, similarly to the first and second extraction modes, feature extraction processing is executed with the command information CM on the bus B1 as the feature extraction target.
[0127] The feature extraction device 4 receives feature level instruction information SCL from the outside, and based on the feature level instruction information SCL, sets the feature level of the feature extraction log L1 to one of levels 1 to 3 as a selected level. The feature extraction device 4 changes the content of the feature extraction process for each selected level. Note that, although it is shown in a simplified manner in FIG. 14, in reality, the feature extraction device 4 receives the feature level instruction information SCL from the outside via the control unit 2 or the communication unit 3.
[0128] The feature level instruction information SCL may be an instruction signal from the server 8, time information indicated by a real-time clock, or the like.
[0129] When the feature extraction device 4 receives a real-time clock as the feature level indication information SCL, a possible variation of the third extraction mode is to be configured to change the content of the feature extraction process in response to the arrival of a specified time indicated by the real-time clock.
[0130] The communication section 3 of the information processing terminal 11 can perform an external reception process for receiving feature level instruction information SCL from the outside under the control of the control section 2.
[0131] The other configuration is the same as that of the information processing terminal 1 with the basic configuration shown in Fig. 1, so the same reference numerals are used and the description is omitted as appropriate. The internal configuration of the feature extraction device 4 is the same as the basic configuration of the first embodiment shown in Fig. 2, except that the feature level instruction information SCL is input to the log generation unit 41 and the content of the feature extraction process by the log generation unit 41 is different.
[0132] FIG. 15 is an explanatory diagram for explaining a third extraction mode by information processing terminal 11, which is the second modified example of the first embodiment.
[0133] 15, when the feature level instruction information SCL indicates level 1, that is, when the selection level becomes level 1, the feature extraction device 4 extracts a feature extraction log L1 according to the log information list LM1 from the on-bus communication data D1. The feature extraction log L1 of level 1 is the easiest to decode by the log generating unit 41, and is the feature extraction information with the smallest amount of information.
[0134] The log information list LM1 includes log information r11 to r14, and each of the log information r11 to r14 is timing information indicating the issuance timing (time) of an arbitrary command.
[0135] 15, when the feature level instruction information SCL indicates level 2, that is, when the selection level becomes level 2, the feature extraction device 4 extracts a feature extraction log L1 according to the log information list LM2 from the on-bus communication data D1. The feature extraction log L1 of level 2 is feature extraction information that has an intermediate level of difficulty in decoding by the log generating unit 41 and an intermediate level of information amount.
[0136] The log information list LM2 includes log information r21 to r24, and each of the log information r21 to r24 is combination information indicating a command type and its issuance timing (time).
[0137] 15, when the feature level instruction information SCL indicates level 3, that is, when the selection level becomes level 3, the feature extraction device 4 extracts a feature extraction log L1 according to the log information list LM3 from the on-bus communication data D1. The feature extraction log L1 of level 3 is the most difficult for the log generating unit 41 to decode, and is the feature extraction information with the largest amount of information.
[0138] The log information list LM3 includes log information r31 to r34, and each of the log information r31 to r34 is combination information indicating a command identifier and an issuance timing (time).
[0139] The identifiers are specified by the ID numbers indicated in the log information r31 to r34. "Get Status" in the log information r31 indicates that it is a command to read memory status information, for example. The status information includes the current memory state (Ready / Busy), or information indicating interface settings and drive capabilities. "Set Status" in the log information r32 indicates that it is a command to set the above-mentioned status information.
[0140] Furthermore, the "Write command" indicated in log information r33 is a write command for write data (Write Data), and the "Read command" indicated in log information r34 is a read command for read data (Read Data).
[0141] In this way, the feature extraction device 4 in the modified example of embodiment 1 can execute feature extraction processing with content appropriate to the situation based on the importance of anomaly detection, etc., by changing the content of the feature extraction log L1 based on the feature level instruction information SCL.
[0142] Furthermore, when the feature level instruction information SCL is a real-time clock, the feature extraction process can be executed based on the real time and with content appropriate for the situation.
[0143] For example, consider a configuration in which the server 8 outputs the feature level instruction information SCL to the feature extraction device 4. In this case, the following first to third specific measures can be taken.
[0144] (First concrete response) At an initial stage, the feature level instruction information SCL is set to indicate "Level 1." After that, when the server 8 determines that there is a relatively high possibility that the information processing terminal 1, which is an IoT terminal, is in an abnormal state based on the feature extraction log L1 of Level 1, the content indicated by the feature level instruction information SCL is switched from "Level 1" to "Level 3" in order to obtain a more detailed feature extraction log L1.
[0145] (Second concrete response) If the information processing terminal 1 is an IoT device that is not often used at night, the real-time clock (RealTimeClock) is referenced. Specifically, in order to acquire the feature extraction log L1, which is detailed log information, during the day, the feature level instruction information SCL indicates "Level 3", and at night, since the feature extraction log L1, which is simple log information, is sufficient, the feature level instruction information SCL is switched so that the feature level instruction information SCL indicates "Level 1".
[0146] (Third concrete action) Usually, the feature level instruction information SCL is set to indicate "Level 1." Then, when the server 8 determines that there is a relatively high possibility that the information processing terminal 1 is in an abnormal state based on the feature extraction log L1 of Level 1, it uses a real-time clock to switch the feature level instruction information SCL to indicate "Level 3" for a certain fixed period of time, and sets the special monitoring mode.
[0147] As described above, the feature extraction device 4 in the information processing terminal 1 (and the information processing terminal 11) of embodiment 1 executes a feature extraction process including the first to third extraction modes described above, and extracts features appearing in the on-bus communication data D1 as a feature extraction log L1 (feature extraction information).
[0148] Therefore, the information processing terminal 1 (11) can transmit the feature extraction log L1, which has a smaller amount of information compared to the on-bus communication data D1, to the external server 8 as log information.
[0149] As a result, the information processing terminal 1 (11) of the first embodiment can reduce the communication load required for transmitting the feature extraction log L1 of the communication unit 3 and can reduce the memory capacity by suppressing the amount of log information (feature extraction log L1) to a relatively small amount. Therefore, the information processing terminal 1 of the first embodiment can reduce power consumption and cost.
[0150] Furthermore, the analysis load on the external analysis device such as the server 8 for the log information (feature extraction log L1) can be reduced.
[0151] In addition, since the information processing terminal 1 (11) of the first embodiment executes the external transmission process by the communication unit 3 under the control of the control unit 2, the feature extraction device 4 itself does not need to have a control function for the communication unit 3. Accordingly, the internal configuration of the feature extraction device 4 can be simplified.
[0152] Furthermore, since the feature extraction device 4 stores the feature extraction log L1 in the storage unit 42, the feature extraction process by the log generation unit 41 and the information output process (output process of the feature extraction log L1) by the information output unit 43 can be performed without any problems.
[0153] (Third Modification) As a third modification of the first embodiment, a configuration in which data validity recognition information is the subject of feature extraction can be considered.
[0154] In the third modified example, the feature extraction device 4 executes feature extraction processing on the bus B1, which is the processing target bus, with data validity recognition information for determining the validity of data as the feature extraction target.
[0155] As described above, the data validity recognition information may be the frame determination information FJ (see FIG. 4), a combination of the START bit and the STOP bit of the frame control data signal CF (see FIG. 5), or a combination of the clock signal CL3 and the "H" and "L" of the transmission data SD3 (see FIG. 6).
[0156] In this way, in the third modification of the first embodiment, the feature extraction log L1 (feature extraction information) extracted by the feature extraction device 4 becomes a feature that appears in the data validity recognition information on the bus B1.
[0157] Therefore, the third modified example of the information processing terminal 1 can transmit the feature extraction log L1, which has a smaller amount of information compared to the on-bus communication data, to an external device such as the server 8 as log information.
[0158] In the following, a case will be considered where the frame validity period (data validity period) based on the frame determination information FJ, which is data validity recognition information, is the subject of feature extraction. The frame length can be recognized from this frame validity period.
[0159] It is assumed that a system is set such that, when the control unit 2 performs an external transmission process toward the server 8 via the communication unit 3, the frame length related to the command information CM is set to a length α.
[0160] In the above system, the feature extraction device 4 records the time (timing) when the frame length of the command information CM flowing on the bus B1 is α in the feature extraction log L1 as feature extraction information.
[0161] The server 8 refers to the feature extraction log L1 and performs a comparison process to confirm whether the number of times and the time of data that the server 8 actually received from the information processing terminal 1 match the contents of the feature extraction log L1.
[0162] When the server 8 confirms that there is no match through the above comparison process, it can detect an abnormal state in which there is a relatively high possibility that the control unit 2 has performed an external transmission process via the communication unit 3 to another server that is not legitimate.
[0163] In the following, a case will be considered where a frame invalid period (data invalid period) based on the frame determination information FJ is the subject of feature extraction. A frame interval can be recognized from this frame invalid period.
[0164] A system is assumed in which the frame interval is set to a length β when the control unit 2 performs external transmission processing toward the server 8 via the communication unit 3.
[0165] In the above system, the feature extraction device 4 records the time (timing) when the frame interval on the bus B1 is different from β in the feature extraction log L1 as feature extraction information.
[0166] By referring to the feature extraction log L1, the server 8 can detect that the control unit 2 is communicating with the communication unit 3 at a timing not intended by the system, and that the control unit 2 in the information processing terminal 1 may have been hacked.
[0167] In this way, the feature extraction device 4 in the third modification of the first embodiment executes the feature extraction process with data validity recognition information such as the frame determination information FJ on the bus B1 as the feature extraction target.
[0168] <Embodiment 2> (Basic configuration) FIG. 16 is a block diagram showing the configuration of an information processing terminal 1B which is the basic configuration of the second embodiment of the present invention.
[0169] As shown in the figure, information processing terminal 1B has, as its main components, a control unit 2, a communication unit 3, a feature extraction device 4, and a processing unit 5. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The control unit 2 and the processing unit 5 are connected to each other via a bus B2.
[0170] In the second embodiment, the processing target bus is the bus B2, which is a processing unit bus. For example, an SPI bus, an I2C bus, or a UART bus is adopted as the bus B1 and the bus B2. In the following, the SP1 bus will be described as a representative.
[0171] As described above, the control unit 2 outputs command information CM including commands for controlling operations or functions to the communication unit 3, which is a controlled unit, and controls the external transmission process between the communication unit 3 and the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0172] Command information CM output from the control unit 2 flows on a bus B1, which is a communication bus between the control unit 2 and the communication unit 3, as on-bus communication data D1.
[0173] Furthermore, the control unit 2 outputs command information CM including commands for controlling the operation or function of the controlled object to the processing unit 5, thereby controlling predetermined processing by the processing unit 5. The processing unit 5, such as a sensor, responds to the command information CM under the control of the control unit 2 by executing the predetermined processing, and obtains response data RD including processing result information.
[0174] In this manner, the control unit 2 outputs command information CM to the processing unit 5 via the bus B2, which is a processing unit bus, with the processing unit 5 being the controlled object.
[0175] Furthermore, the processing unit 5 transmits response data RD including the processing result information to the control unit 2 via the bus B2 which is a processing unit bus.
[0176] Hereinafter, in this specification, response data RD is used as a general term for information obtained by the processing targets (processing unit 5, processing unit 5A, processing unit 5B, internal memory 6, external memory 7) executing predetermined processes.
[0177] The command information CM and the response data RD flow on the bus B2, which is a processing unit bus between the control unit 2 and the processing unit 5, as on-bus communication data D2.
[0178] In the basic configuration of the second embodiment, the feature extraction device 4 executes feature extraction processing on the response data RD on the bus B2 as the feature extraction target.
[0179] The feature extraction device 4 receives on-bus communication data D2 (command information CM and response data RD) on the bus B2 from time to time, and executes a feature extraction process to extract features appearing in the response data RD of the on-bus communication data D2 as a feature extraction log L2 (feature extraction information).
[0180] The control unit 2 receives the feature extraction log L2 extracted by the feature extraction device 4, outputs the feature extraction log L2 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause the communication unit 3 to execute the above-mentioned external transmission process. As a result, the feature extraction log L2 extracted by the feature extraction device 4 is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0181] The internal configuration of the feature extraction device 4 is similar to the first basic configuration shown in FIG. 2, except that the content of the feature extraction process by the log generation unit 41 is different, the on-bus communication data D1 is replaced by on-bus communication data D2, and the feature extraction log L1 is replaced by the feature extraction log L2.
[0182] The predetermined process by the processing unit 5 may be, for example, a temperature sensing process. In this case, the processing result information may be detected temperature information, and the feature extraction log L2 may be information indicating the timing at which the detected temperature information exceeds a predetermined reference temperature.
[0183] In this way, the feature extraction log L2 (feature extraction information) extracted by the feature extraction device 4 of the information processing terminal 1B which is the basic configuration of the second embodiment is a feature that appears in the response data RD on the bus B2.
[0184] Therefore, the information processing terminal 1B can transmit the feature extraction log L2, which has a smaller amount of information compared with the on-bus communication data D2, to an external device such as the server 8 as log information.
[0185] Therefore, like the information processing terminal 1 of the first embodiment, the information processing terminal 1B having the basic configuration of the second embodiment can achieve reduced power consumption and reduced costs.
[0186] In the basic configuration of the second embodiment, the response data is the subject of feature extraction by the feature extraction device 4, but the following extended aspects are possible.
[0187] That is, as a first extended mode of the second embodiment, the command information CM or the response data RD on the bus B2, which is the processing unit bus, may be subjected to feature extraction processing.
[0188] In the first extended mode, the response data RD on the bus B2 is targeted for feature extraction, thereby making it possible to obtain the same effect as the basic configuration of the second embodiment.
[0189] Furthermore, in the first extended mode, by taking command information CM on bus B2 including a command for designating processing unit 5 as the controlled unit as the target of feature extraction, it is possible to expect the same effects as in the first embodiment.
[0190] (Feature extraction content) The following describes details of the feature extraction process executed by the log generating unit 41 of the feature extraction device 4 according to the second embodiment. In the following, the information processing terminal 1B will be used as a representative example.
[0191] The feature extraction device 4 receives the communication data D2 on the bus from time to time, and extracts features from the response data RD. That is, the feature extraction device 4 executes feature extraction processing with the response data RD on the bus B2 as the feature extraction target.
[0192] The feature extraction device 4 then executes a feature extraction process to extract at least one piece of information from the following information (31) to information (37) as a feature extraction log L2 (feature extraction information).
[0193] (31) Information indicating an output interval between successively output response data; (32) Information indicating the response data length or the frame length related to the response data; (33) information indicating a timing of occurrence of predetermined response data; (34) Information indicating the timing when response data having a predetermined response data length is output, and (35) information indicating a timing when response data having a predetermined response data length is output without satisfying a response data issuance frequency condition; (36) Information indicating the number of occurrences of response data per unit time, and (37) Information indicating a ratio of a valid period and an invalid period of a frame regarding response data per unit time; These pieces of information (31) to (37) indicate the characteristics appearing in the response data RD.
[0194] The processing unit 5 is a temperature sensor, and a system is assumed in which the control unit 2 issues a single instruction (sending command information CM) to the processing unit 5 which is the temperature sensor, and then at regular intervals the temperature sensor sends temperature information (processing result information) which becomes response data to the control unit 2. In this system, the instruction mentioned above includes information on the temperature information transmission interval from the temperature sensor to the control unit 2.
[0195] In the above system, the feature extraction device 4 records information (31) indicating the output interval of the response data RD flowing through the bus B2.
[0196] In this case, the server 8 can detect the specified output interval and grasp the occurrence and duration of the abnormal state by referring to the feature extraction log L2 including the information (31). For example, if the control unit 2 is hacked and gives an instruction to the processing unit 5, which is a temperature sensor, that is different from the output interval of the response data RD (temperature information) expected by the server 8, the server 8 can grasp the abnormal state by referring to the feature extraction log L2.
[0197] As for information (32), the processing unit 5 may be a temperature sensor, and the temperature sensor may transmit temperature information as response data (information (32)) with a specified response data length. Note that the response data length refers to the number of clocks during which the response data RD is output.
[0198] In this case, the server 8 can detect the occurrence of response data RD having an abnormal response data length by referring to the feature extraction log L2 containing the information (32), and can grasp the occurrence and time of the abnormal state.
[0199] The above effect is the same when the information (32) is information indicating the frame length related to the response data RD.
[0200] In addition, when one piece of sensor information is divided into multiple frames and transmitted, or when multiple response data for one instruction (transmission of command information CM) are transmitted in multiple frames, the sum of the corresponding multiple frame lengths may be transmitted as information (32).
[0201] As the information (33), the processing unit 5 may be a temperature sensor, and temperature information of the temperature sensor exceeding a specified threshold may be transmitted as response data RD (information (33)). That is, the information (33) indicating the temperature information exceeding the specified threshold becomes the predetermined response data.
[0202] In this case, the server 8 can refer to the feature extraction log L2 including the information (33) to ascertain the occurrence and time of the abnormal (temperature) state.
[0203] As the information (34), the processing unit 5 may be a temperature sensor, and the temperature sensor may transmit temperature information having a specified data length as response data RD (information (34)). That is, the temperature information having the specified data length becomes response data having a predetermined response data length.
[0204] In this case, the server 8 can refer to the feature extraction log L2 including the information (34) to determine whether or not an exchange of temperature information has occurred on the bus B2 at an irregular timing.
[0205] As the information (35), the information processing terminal 1B may be configured such that the processing unit 5 is a temperature sensor, and the temperature sensor transmits temperature information as response data RD (information (35)) with a specified data length and at a specified interval. That is, the temperature information of a specified data length becomes response data having a specified response data length, and the specified interval becomes the response data issuing frequency condition.
[0206] In this configuration, when information processing terminal 1B generates temperature information on bus B2 at an unintended frequency, that is, when temperature information does not satisfy a prescribed interval, this temperature information can be recorded in feature extraction log L2 as abnormality information.
[0207] Therefore, the server 8 can detect the occurrence of an abnormal state of the information processing terminal 1B by referring to the feature extraction log L2 including the information (35). Note that the abnormality information may also be another type of response data having a data length equivalent to that of the temperature information that is not generated in the information processing terminal 1B.
[0208] Assume that the processing unit 5 is a motor. In this case, the information processing terminal 1B may be configured such that the motor periodically transmits operation information as response data RD at a specified number of times per unit time regarding the information (36). The feature extraction device 4 in the information processing terminal 1B can record information (36) indicating the number of times per unit time the response data RD flowing on the bus B2 is output.
[0209] In this case, the server 8 can refer to the feature extraction log L2 including the information (36) to determine whether or not exchange of operational information is occurring on the bus B2 with an abnormal frequency.
[0210] Assume that the processing unit 5 is a motor. Regarding the information (37), the information processing terminal 1B is configured to transmit operation information as response data RD so that the valid period of a frame per unit time is equal to or less than a predetermined ratio. The feature extraction device 4 of this information processing terminal 1B can record the response data RD flowing on the bus B2, or information (37) indicating the ratio of the valid period (or / and invalid period) per unit time of a frame related to the response data RD.
[0211] In this case, the server 8 can refer to the feature extraction log L2 containing the information (37) to determine whether communication in which the validity period of frames per unit time is equal to or greater than a predetermined ratio is occurring on the bus B2.
[0212] The above-mentioned effects of the information processing terminal 1B can also be achieved in the information processing terminals 1C and 1D described later, when the feature extraction device 4 executes a feature extraction process to extract at least one piece of information (31) to information (37) as the feature extraction log L3 (L4).
[0213] Furthermore, as a second extended mode, in addition to the first extended mode, a configuration is conceivable in which the processing unit 5 transmits command information CM including a command with the control unit 2 as the control target unit to the processing unit 5 via the bus B2, which is a processing unit bus, and the feature extraction device 4 executes feature extraction processing with the command information CM including a command with the control unit 2 as the control target unit as the feature extraction target.
[0214] In this second extended aspect, by taking command information CM on bus B2 including a command with control unit 2 as the controlled unit as the target for feature extraction, it is possible to expect effects similar to those of embodiment 1.
[0215] Note that a command whose controlled object is the control unit 2 may be, for example, a command requesting the control unit 2 to receive response data RD from the processing unit 5. The processing unit 5 may generate command information CM including such a command in an interrupt manner toward the control unit 2 via the bus B2.
[0216] (First Modification) FIG. 17 is a block diagram showing a configuration of an information processing terminal 1C which is a first modified example of the second embodiment.
[0217] As shown in the figure, the information processing terminal 1C has a control unit 2, a communication unit 3, a feature extraction device 4, a processing unit 5A, and a processing unit 5B as main components. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The processing unit 5A and the processing unit 5B are connected to each other via a bus B3.
[0218] In the first modified example, the bus to be processed is the bus B3, which is a bus between the corresponding processing units. For example, an SPI bus, an I2C bus, or a UART bus is used as the bus B1 and the bus B3. In the following, the SP1 bus will be used as a representative example.
[0219] As described above, the control unit 2 outputs command information CM including commands for controlling operations or functions to the communication unit 3, which is a controlled unit, and controls the external transmission process between the communication unit 3 and the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0220] Command information CM output from the control unit 2 flows on a bus B1, which is a communication bus between the control unit 2 and the communication unit 3, as on-bus communication data D1.
[0221] A processing unit 5A (first processing unit) such as a sensor executes a first process to obtain first processing result information. Response data RD1 (first response data) including the first processing result information flows as on-bus communication data D3 on a bus B3, which is a bus between the corresponding processing units 5A and 5B. A processing unit 5B, which is a second processing unit, executes a second process to obtain second processing result information.
[0222] The first and second processes by the processing unit 5A and the processing unit 5B may be performed independently of each other, or may be performed under the control of the control unit 2, etc. Also, response data RD2 (second response data) including second process result information may be sent onto the bus B3.
[0223] Furthermore, as an extended configuration of the first modified example in embodiment 2, processing unit 5B, which is one of processing units 5A and 5B, may output command information CM including a command to control the operation or function of processing unit 5A, which is the other processing unit, via bus B3, as the controlled unit, to control a first processing by processing unit 5A, and obtain first processing result information as response data RD1.
[0224] That is, the processing unit 5B, which is one of the processing units 5A and 5B, may be configured to transmit command information CM including a command for controlling the operation or function of the other processing unit, the processing unit 5A (the unit to be controlled), to the processing unit 5A via the bus B3, which is the bus between the corresponding processing units. In this way, in the extended configuration of the first modified example in the second embodiment, the processing unit 5B has a control function for the processing unit 5A.
[0225] Therefore, the on-bus communication data D3 further includes the command information CM on the bus B3. Furthermore, the feature extraction device 4 executes the feature extraction process by taking the command information CM including a command for the processing unit 5A as the control target as the feature extraction target.
[0226] Response data RD1 including the first processing result information flows as on-bus communication data D3 on the bus B3, which is the bus between the corresponding processing units 5A and 5B.
[0227] The feature extraction device 4 receives on-bus communication data D3 (response data RD1 including first processing result information) on the bus B3, and executes feature extraction processing to extract features appearing in the on-bus communication data D3 as a feature extraction log L3 (feature extraction information).
[0228] That is, in the first modification of the second embodiment, the feature extraction device 4 executes the feature extraction process on the response data RD1 (including the first processing result information) on the bus B3, which is the bus between the corresponding processing units, as the feature extraction target.
[0229] The control unit 2 receives the feature extraction log L3 extracted by the feature extraction device 4, outputs the feature extraction log L3 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause the communication unit 3 to execute the above-mentioned external transmission process. As a result, the feature extraction log L3 extracted by the feature extraction device 4 is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0230] The internal configuration of the feature extraction device 4 is similar to the basic configuration of the first embodiment shown in FIG. 2, except that the content of the feature extraction process by the log generation unit 41 is different, the on-bus communication data D1 is replaced by on-bus communication data D3, and the feature extraction log L1 is replaced by the feature extraction log L3.
[0231] The first process by the processing unit 5A may be, for example, image sensing process by a camera, etc. In this case, the first process result information is image information.
[0232] The second processing of the processing unit 5B may be image processing for human recognition on the image information, which is the first processing result information. In this case, the second processing result information is human recognition information. Contour information and the like included in the image information may be considered as the feature extraction log L3. In this case, the processing unit 5B may transmit command information CM to the processing unit 5A, with the processing unit 5A as the controlled unit, thereby reading out the image information included in the response data RD1 from the processing unit 5A under the control of the processing unit 5B.
[0233] In the first modified example described above, the response data RD1 including the first processing result information is the target of feature extraction, but at least one of the response data (transmission response data) among the response data RD1 including the first processing result information and the response data RD2 including the second processing result information flowing on the bus B3 may be the target of feature extraction. In this case, the on-bus communication data D3 becomes the transmission response data. However, this is premised on the fact that the processing unit 5B transmits the second processing result information as the response data RD2 onto the bus B3.
[0234] In this way, the feature extraction log L3 (feature extraction information) extracted by the feature extraction device 4 of the information processing terminal 1C, which is the first variant of embodiment 2, becomes a feature that appears in at least one of the response data (transmitted response data) among the response data RD1 and RD2.
[0235] Therefore, the information processing terminal 1C can transmit, as log information, the feature extraction log L3, which has a smaller amount of information compared to at least the response data (transmission response data), to an external device such as the server 8.
[0236] Therefore, like the above-described information processing terminal 1B and information processing terminal 1 of the first embodiment, information processing terminal 1B which is the first modified example of the second embodiment can achieve reduction in power consumption and cost.
[0237] Furthermore, in the extended configuration of the first modified example of the second embodiment, the on-bus communication data D3 further includes command information CM on the bus B3. The feature extraction device 4 further executes feature extraction processing on the command information CM including a command for controlling the other processing unit, that is, the processing unit 5A, as a feature extraction target.
[0238] In the above-described extended configuration, when command information CM including a command with the processing unit 5A as the controlled unit is used as the target for feature extraction, an effect is achieved in which an abnormality in the processing unit 5A can be determined by checking the occurrence timing and whether only specified commands are issued, as in the feature extraction process of embodiment 1.
[0239] (Second Modification) FIG. 18 is a block diagram showing a configuration of an information processing terminal 1D which is a second modified example of the second embodiment of the present invention.
[0240] As shown in the figure, the information processing terminal 1D has, as its main components, a control unit 2, a communication unit 3, a feature extraction device 4, and a processing unit 5. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The control unit 2 and the processing unit 5 are connected to each other via a bus B2.
[0241] In the second embodiment, the processing bus is a combination of a bus B1 which is a communication bus and a bus B2 which is a processing bus. For example, an SPI bus, an I2C bus, or a UART bus is adopted as the bus B1 and the bus B2. In the following, the SP1 bus will be used as a representative.
[0242] The control unit 2 outputs command information CM including commands for controlling operations or functions to the communication unit 3, which is a controlled unit, and controls the external transmission process between the communication unit 3 and the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0243] Command information CM output from the control unit 2 flows on a bus B1, which is a communication bus between the control unit 2 and the communication unit 3, as on-bus communication data D1.
[0244] Furthermore, the control unit 2 controls a predetermined process by the processing unit 5. The processing unit 5 executes the predetermined process under the control of the control unit 2 and obtains processing result information as response data RD.
[0245] That is, the control unit 2 treats the processing unit 5 as a controlled object, and outputs command information CM including commands for controlling operations or functions to the processing unit 5 via the bus B2, which is a processing unit bus.
[0246] Then, the processing unit 5 transmits response data RD including the processing result information to the control unit 2 via the bus B2 which is a processing unit bus.
[0247] Therefore, the command information CM output by the control unit 2 and the response data RD output by the processing unit 5 flow on the bus B2, which is a processing unit bus between the control unit 2 and the processing unit 5, as on-bus communication data D2.
[0248] Furthermore, the control unit 2 outputs command information CM including a command for instructing a communication operation of communicating the response data RD to the server 8 to the communication unit 3 as the controlled unit via the bus B1.
[0249] In response to the command information CM from the control unit 2, the communication unit 3 transmits response data RD to an external device such as a server 8. That is, the response data RD obtained from the processing unit 5 flows on the bus B2 and is further transmitted to the communication unit 3 as the command information CM of the control unit 2.
[0250] In this manner, in the information processing terminal 1D, command information CM including an instruction to transmit response data RD flows on the bus B1.
[0251] The feature extraction device 4 receives on-bus communication data D1 (command information CM) on bus B1 and on-bus communication data D2 (command information CM and response data RD) on bus B2, and executes a feature extraction process to extract features appearing in the on-bus communication data D1 and D2 as a feature extraction log L12 (feature extraction information).
[0252] The control unit 2 receives the feature extraction log L12 extracted by the feature extraction device 4, outputs the feature extraction log L12 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause the communication unit 3 to execute the above-mentioned external transmission process. As a result, the feature extraction log L12 extracted by the feature extraction device 4 is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0253] The internal configuration of the feature extraction device 4 is the same as that of embodiment 1 shown in FIG. 2, except that the content of the feature extraction process by the log generation unit 41 is different, the on-bus communication data D1 is replaced with a combination of on-bus communication data D1 and D2, and the feature extraction log L1 is replaced with the feature extraction log L12.
[0254] The predetermined processing by the processing unit 5 may be, for example, a temperature sensing process. In this case, the processing result information is detected temperature information. The following timing information may be used as the feature extraction log L12. This timing information indicates the timing when a biased access state occurs in which the amount of information (occurrence frequency) per unit time of the on-bus communication data D1 exceeds a reference ratio compared with the amount of information (occurrence frequency) per unit time of the on-bus communication data D2.
[0255] In the case of an information processing terminal 1D having a processing unit 5 such as a sensor, it is assumed in a normal state that response data RD including processing result information obtained from the processing unit 5 is transmitted to an external device such as a server 8 via the bus B2, the control unit 2, the bus B1, and the communication unit 3. That is, it is assumed that the amount of information of on-bus communication data D2 on the bus B2 is approximately the same as the amount of information of on-bus communication data D1 on the bus B1.
[0256] However, if the frequency of occurrence of on-bus communication data D1 is higher than the frequency of occurrence of on-bus communication data D2, it is assumed that the processing unit 5 is not performing its original sensor function and that an abnormal state is occurring in which only command information CM is being issued from the control unit 2.
[0257] Therefore, by referring to the feature extraction log L12 and judging the presence or absence of the abnormal state from the server 8 side, it is possible to recognize that there is a high possibility that the information processing terminal 1D is being used as a springboard for a DoS attack.
[0258] In the second modification of the second embodiment, the target of feature extraction by feature extraction device 4 is a combination of command information CM and response data RD on bus B2, and command information CM and response data RD on bus B1.
[0259] In this way, the feature extraction log L12 (feature extraction information) extracted by the feature extraction device 4 of the information processing terminal 1D which is the second modified example of the second embodiment becomes a feature appearing in the command information CM or the response data RD.
[0260] Therefore, the information processing terminal 1D can transmit the feature extraction log L12, which has a smaller amount of information compared to the on-bus communication data D1 (the total amount of command information CM therein) and the on-bus communication data D2 (the total amount of command information CM and response data RD therein), as log information to an external device such as a server 8.
[0261] Therefore, like the information processing terminal 1 of the first embodiment and the information processing terminals 1B and 1C of the second embodiment, the information processing terminal 1D which is the second modified example of the second embodiment can achieve reduced power consumption and reduced costs.
[0262] Furthermore, as a second extended aspect of the second embodiment, a combination of at least one piece of information (data) of the command information CM and the response data RD on the bus B2, which is a bus for the processing unit, and the command information CM on the bus B1, which is a bus for the communication unit, may be the subject of feature extraction.
[0263] A specific example is shown below. Assume a hypothetical state in which the control unit 2 outputs command information CM including a command for the control target unit to be the processing unit 5 via the bus B2 to the processing unit 5, and at the same time, the control unit 2 outputs command information CM for the control target unit to be the communication unit 3 via the bus B1.
[0264] In this case, the command information CM on bus B2 transmitted from the control unit 2 to the processing unit 5 is one piece of information to be extracted, and the command information CM on bus B1 transmitted from the control unit 2 to the processing unit 5 is the other piece of information to be extracted.
[0265] The command information CM on bus B2, which is one of the pieces of information to be extracted, is command information CM including a command (hereinafter abbreviated as "one-side command") that instructs the control unit 2 to return response data RD, and the command information CM on bus B1, which is the other piece of information to be extracted, is command information CM including a command (hereinafter abbreviated as "other-side command") that instructs the control unit 2 to send response data to server 8.
[0266] In this assumed state, the feature extraction device 4 executes feature extraction processing with the combination of one piece of extraction target information on the bus B2 and the other piece of extraction target information on the bus B1 as the feature extraction target.
[0267] Then, by executing the above-mentioned feature extraction process, the feature extraction device 4 can obtain, for example, the command issuing interval of one command and the command issuing interval of the other command as the feature extraction log L12 (feature extraction information).
[0268] An external device such as a server that receives the above-mentioned feature extraction log L12 can determine anomalies based on the feature extraction log L12 that has a relatively small amount of information. A specific example of this will be described below.
[0269] When the processing unit 5 is a temperature sensor, if the control unit 2 does not acquire temperature information that serves as response data of the processing unit 5, that is, the control unit 2 does not issue one-way commands to the processing unit 5, but frequently issues other-way commands to the communication unit 2, the external device can determine an abnormality. In other words, when the amount of information of one extraction target information is greater than the amount of information of the other extraction target information by more than a certain amount.
[0270] This is because, based on the above-mentioned circumstances, it is assumed that the information processing terminal 1D is being used as a springboard for a DoS attack and sending information to an unintended server 8, or that a hacked control unit 2 is sending erroneous temperature information.
[0271] In this way, in the second extended aspect of embodiment 2, the feature extraction device 4 of the information processing terminal 1D can perform feature extraction processing using a combination of one piece of extraction target information on bus B2 and the other piece of extraction target information on bus B1 as the feature extraction target.
[0272] (Utilizing data availability awareness information) In the second embodiment, similarly to the third modified example of the first embodiment, data validity recognition information may be the subject of feature extraction, and the same effects as those of the third modified example of the first embodiment can be achieved.
[0273] <Embodiment 3> (Basic configuration) FIG. 19 is a block diagram showing the configuration of an information processing terminal 1E which is the basic configuration of the third embodiment of the present invention.
[0274] As shown in the figure, the information processing terminal 1E has, as its main components, a control unit 2, a communication unit 3, a feature extraction device 4, and an internal memory 6. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The control unit 2 and the internal memory 6 are connected to each other via a bus B4.
[0275] In the third embodiment, the bus to be processed is the bus B4, which is a memory bus. For example, an SPI bus, an I2C bus, or a UART bus is used as the bus B1 and the bus B4. In the following, the SP1 bus will be used as a representative example.
[0276] The control unit 2 outputs command information CM including commands for controlling operations or functions to the communication unit 3, which is a controlled unit, and controls the external transmission process between the communication unit 3 and the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0277] Command information CM for external transmission processing output from the control unit 2 flows on a bus B1, which is a communication bus between the control unit 2 and the communication unit 3, as on-bus communication data D1.
[0278] Furthermore, the control unit 2 outputs command information CM to the internal memory 6 via the bus B4, which is a memory bus, in order to execute access processing including write and read operations to the internal memory 6. The commands contained in the command information CM flowing on the bus B4 are memory control information, described later, that controls the operation or function of the internal memory 6, which is the controlled unit.
[0279] As a result, memory access processes such as writing data to the internal memory 6 from the control unit 2 and reading data from the internal memory 6 can be executed.
[0280] Meanwhile, in response to the command information CM for memory access output from the control unit 2, response data RD including memory response information such as read data from the internal memory 6 flows on the bus B4, which is a memory bus between the control unit 2 and the internal memory 6. Therefore, the internal memory 6 operates as a processing unit that outputs the response data RD.
[0281] As described above, the internal memory 6 outputs the response data RD including the memory response information. Hereinafter, in this specification, the information obtained from the controlled memories (the internal memory 6 and the external memory 7) is collectively referred to as "memory response information." The memory response information is included in the response data RD.
[0282] In the basic configuration of the third embodiment, the processing unit includes a controlled memory which is an internal memory 6 in the information processing terminal 1D or an external memory 7 present outside the information processing terminal 1E described later. The controlled unit of the control unit 2 is the controlled memory.
[0283] In the basic configuration of the third embodiment, command information CM on bus B4 is the subject of feature extraction.
[0284] The command included in the command information CM output from the control unit 2 becomes memory control information which is an instruction to the internal memory 6. This memory control information includes access address information indicating a write address, a read address, and the like.
[0285] In response to the command information CM including memory control information, the internal memory 6, which is the controlled memory, transmits response data RD including memory response information to the control unit 2 via the bus B4, which is a memory bus.
[0286] The feature extraction device 4 receives on-bus communication data D4 on the bus B4 from time to time, and executes a feature extraction process for extracting features appearing in the on-bus communication data D4 as a feature extraction log L4 (feature extraction information).
[0287] The control unit 2 receives the feature extraction log L4 extracted by the feature extraction device 4, outputs the feature extraction log L4 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause the communication unit 3 to execute the above-mentioned external transmission process. As a result, the feature extraction log L4 extracted by the feature extraction device 4 is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0288] The internal configuration of the feature extraction device 4 is similar to the basic configuration of the first embodiment shown in FIG. 2, except that the content of the feature extraction process by the log generation unit 41 is different, the on-bus communication data D1 is replaced with on-bus communication data D4, and the feature extraction log L1 is replaced with the feature extraction log L4.
[0289] The feature extraction log L4 may be information about an access address to the internal memory 6, a command identifier or a command type included in the memory access command information CM, and a combination of the access address information, or the like.
[0290] On the server 8 side, based on the feature extraction log L4, if any of the following cases (1) to (4) apply, anomaly determination processing can be performed.
[0291] (1) If the access address information indicates a non-standard address, (2) When the address indicated by the access address information at the time of booting the information processing terminal 1E or the command content indicated by the identifier is different from the address or command content expected for the boot process, (3) When an address area that is accessed only during boot time is indicated as access address information during time periods other than boot time, and (4) When the content of a command that is issued only at boot time is indicated as a command identifier at times other than boot time.
[0292] In the cases (3) and (4), it is possible to determine an abnormal state in which the information processing terminal 1E has been reset at an unintended timing.
[0293] In this way, the feature extraction log L4 (feature extraction information) extracted by the feature extraction device 4 of the information processing terminal 1E with the basic configuration of the third embodiment becomes a feature that appears in the command information CM of the internal memory 6 that is the controlled memory.
[0294] Therefore, the information processing terminal 1E can transmit the feature extraction log L4, which has a smaller amount of information compared to the on-bus communication data D4, to an external device such as the server 8 as log information.
[0295] Therefore, like the information processing terminal 1 of the first embodiment, the information processing terminal 1E having the basic configuration of the third embodiment can achieve reduced power consumption and reduced costs.
[0296] (Transformation extraction processing) In the above-described basic configuration, the feature extraction process is performed on the command (memory control information) included in the command information CM on the bus B4 as the feature extraction target. However, the feature extraction process may be performed on the memory response information included in the response data RD as the feature extraction target.
[0297] Hereinafter, the feature extraction process in which the response data RD is the subject of feature extraction will be described as a modification extraction process.
[0298] In the modification extraction process, at least one piece of information among the following pieces of information (21) to (28) is extracted as feature extraction information.
[0299] (21) Information indicating an output interval between successively output memory response information; (22) information indicating a data length of the memory response information; (23) information indicating a type of memory response information; (24) information indicating a generation timing of memory response information; (25) Information indicating the number of occurrences of memory response information per unit time; (26) Information indicating a ratio of a valid period to an invalid period of a frame regarding memory response information per unit time; (27) information indicating the amount of data read per unit time, and (28) Information indicating the amount of data written per unit time; The above-mentioned information (21) to (28) is information that appears in the response data RD.
[0300] The ratio between the amount of read data and the amount of write data can be calculated from a combination of the information 27 and the information 28. That is, the amount of read data and the amount of write data may be a ratio between each other instead of an absolute amount.
[0301] The feature extraction device 4 of the third embodiment executes the modification extraction process, and can extract the above-mentioned information (21) to (28) as feature extraction information.
[0302] Therefore, an external device such as a server that receives the feature extraction information as log information can determine whether or not there is an abnormality based on the relatively small amount of information (21) to (28), as will be described in detail below.
[0303] An external device such as the server 8 can determine that an abnormality has occurred when the interval between memory response information is different from the expected interval based on the information (21). Specifically, when the maximum latency for reading data is determined, the external device can determine that an abnormality has occurred when the latency exceeds the expected interval.
[0304] The external device can determine that an abnormality has occurred if the data length of the memory response information is different from the expected length based on the information (22). For example, if the status response of the memory when normal on the UART bus is a predetermined length (such as "OK"), the external device can determine that an abnormality has occurred if the response length is different from the predetermined length (such as "FAIL").
[0305] Based on the information (23), the external device can determine that there is an abnormality when the type of memory response information (ID, Parameter [Status]) is different from the expected one. Specifically, the external device can determine that there is an abnormality when the status value by "Read Status" is different from the expected one. Alternatively, when the internal memory 6 is replaced and returns an ID value different from the expected one, the external device can determine that there is an abnormality.
[0306] In addition, when a group of read data is transmitted in a memory response information group including a plurality of pieces of memory response information, the sum of the data lengths of the memory response information constituting the memory response information group may be output as information (23).
[0307] The external device can determine that an abnormality has occurred when the timing of occurrence of memory response information differs from that expected based on the information (24). For example, when the control unit 2 or the server 8 issues a command to the internal memory 6 but no response is returned, the external device can determine that an abnormality has occurred.
[0308] Based on the information (25), the external device can determine that an abnormality has occurred if the number of occurrences of memory response information per unit time is different from the expected number. For example, the external device can determine that an abnormality has occurred if the number of occurrences of memory response information per unit time during a predetermined feature extraction period exceeds a predetermined threshold value with respect to the number of times the control unit 2 or the server 8 issues a "Read Command" to the internal memory 6 during the predetermined feature extraction period.
[0309] The external device can determine that an abnormality has occurred when the ratio of the valid period to the invalid period of the frame related to the memory response information per unit time is different from the expected ratio based on the information (26). For example, in a period in which the server 8 does not issue a command to the internal memory 6, if the ratio of the valid period to the invalid period of the frame related to the memory response information per unit time is 1:1, the external device can determine that an abnormality has occurred.
[0310] Based on the information (27), the external device can determine that an abnormality has occurred if the amount of data read from the controlled memory per unit time is different from the expected amount. For example, the amount of data read from the internal memory 6 may be calculated based on the number of times that the control unit 2 issues a "Read Command (Read Data)" to the internal memory 6 within a predetermined feature extraction period, and the amount of data read from the internal memory 6 may be used as a feature to determine whether an abnormality has occurred.
[0311] Based on the information (28), the external device can determine that an abnormality has occurred if the amount of data written to the controlled memory per unit time is different from the expected amount. For example, the amount of data written per unit time may be calculated based on the number of times that the control unit 2 issues a "Write Command (Write Data)" to the internal memory 6 within a predetermined feature extraction period, and the amount of data written may be used as a feature to determine whether an abnormality has occurred.
[0312] In this way, the feature extraction log L4 (feature extraction information) extracted by the feature extraction device 4 of the information processing terminal 1E that executes the above-mentioned modification extraction process becomes a feature that appears in the response data RD of the internal memory 6 that is the controlled memory.
[0313] Therefore, the information processing terminal 1E can transmit the feature extraction log L4, which has a smaller amount of information compared to the memory response information, to an external device such as the server 8 as log information.
[0314] In this manner, in the basic configuration of embodiment 3 which executes the above-mentioned transformation extraction process, feature extraction device 4 can execute feature extraction processing by targeting at least one frame of command information CM on bus B4, which is a memory bus, and response data RD on bus B4 as the target for feature extraction.
[0315] (Modification) FIG. 20 is a block diagram showing a configuration of an information processing terminal 1F which is a modified example of the third embodiment of the present invention.
[0316] As shown in the figure, the information processing terminal 1F has, as its main components, a control unit 2, a communication unit 3, and a feature extraction device 4. Furthermore, the information processing terminal 1E has an external memory 7 externally.
[0317] The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The control unit 2 and the external memory 7 are connected to each other via a bus B5 in the information processing terminal 1F.
[0318] In the third embodiment, the bus to be processed is the bus B5, which is a memory bus. For example, an SPI bus, an I2C bus, or a UART bus is used as the bus B1 and the bus B5. In the following, the SP1 bus will be used as a representative.
[0319] The control unit 2 outputs command information CM including commands for controlling operations or functions to the communication unit 3, which is a controlled unit, and controls the external transmission process between the communication unit 3 and the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0320] Command information CM for external transmission processing output from the control unit 2 flows on a bus B1, which is a communication bus between the control unit 2 and the communication unit 3, as on-bus communication data D1.
[0321] Furthermore, the control unit 2 outputs command information CM to the external memory 7 via the bus B4, which is a memory bus, in order to execute access processing including write and read operations to the external memory 7. The command included in the command information CM flowing on the bus B4 becomes memory control information, and the controlled unit is the external memory 7. Therefore, the external memory 7 operates as a processing unit that outputs response data RD.
[0322] In the modification of the third embodiment, the processing unit includes a controlled memory that is the external memory 7 present outside the information processing terminal 1F, and the controlled unit becomes the controlled memory.
[0323] In the modification of the third embodiment, command information CM on bus B5 is targeted for feature extraction.
[0324] As a result, memory access processes such as writing data from the control unit 2 to the external memory 7 and reading data from the external memory 7 can be executed.
[0325] As a result, memory access processes such as writing data from the control unit 2 to the external memory 7 and reading data from the external memory 7 can be executed.
[0326] On the other hand, in response to the memory access command information CM output from the control unit 2, response data RD including memory response information such as read data from the external memory 7 flows on the bus B4, which is a memory bus between the control unit 2 and the external memory 7.
[0327] In the modification of the third embodiment, like the basic configuration (excluding the modification extraction process), command information CM on bus B5 is targeted for feature extraction.
[0328] The control unit 2 receives the feature extraction log L5 extracted by the feature extraction device 4, outputs the feature extraction log L5 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause the communication unit 3 to execute the above-mentioned external transmission process. As a result, the feature extraction log L5 extracted by the feature extraction device 4 is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0329] The internal configuration of the feature extraction device 4 is similar to the basic configuration of the first embodiment shown in FIG. 2, except that the content of the feature extraction process by the log generation unit 41 is different, the on-bus communication data D1 is replaced with on-bus communication data D5, and the feature extraction log L1 is replaced with the feature extraction log L5.
[0330] Like the feature extraction log L4, the feature extraction log L5 may include access address information to the external memory 7, a command identifier or a combination of a command type and access address information, and the like.
[0331] On the server 8 side, the same abnormality determination process as that of the information processing terminal 1E having the basic configuration can be performed based on the feature extraction log L5.
[0332] In this way, the feature extraction log L5 (feature extraction information) extracted by the feature extraction device 4 of the information processing terminal 1F of the modified example of the third embodiment becomes a feature that appears in the command information CM of the external memory 7 that is the controlled memory.
[0333] Therefore, the information processing terminal 1F can transmit the feature extraction log L5, which has a smaller amount of information compared to the memory control information, to an external device such as the server 8 as log information.
[0334] Therefore, like the information processing terminal 1 of the first embodiment and the information processing terminal 1E of the basic configuration of the third embodiment, the information processing terminal 1F which is a modification of the third embodiment can achieve reduced power consumption and reduced costs.
[0335] Incidentally, the information processing terminal 1F may also be configured to execute the deformation extraction process in the same manner as the information processing terminal 1E.
[0336] (Utilizing data availability awareness information) In the third embodiment, similarly to the third modified example of the first embodiment, data validity recognition information may be the subject of feature extraction, and the same effects as those of the third modified example of the first embodiment can be achieved.
[0337] <Fourth embodiment> (Basic configuration) FIG. 21 is a block diagram showing the configuration of an information processing terminal 15 (information processing device) which is the basic configuration of the fourth embodiment of the present invention.
[0338] As shown in the figure, the information processing terminal 15 has a control unit 2, a communication unit 3, and a feature extraction device 4B as main components. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. For example, an SPI bus, an I2C bus, or a UART bus is used as the bus B1. In the following, the SP1 bus will be used as a representative example.
[0339] The control unit 2 outputs command information CM that specifies a command, thereby controlling the external transmission process performed by the communication unit 3 with the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0340] The control unit 2 is connected to an external power supply VCC2, and executes the above-mentioned operation control using the power supply VCC2 as a drive power supply.
[0341] The feature extraction device 4B is connected to a power supply VCC2 for the control unit 2, and executes a power consumption detection process for detecting the power consumed by the control unit 2 and acquiring power consumption information by detecting the power supplied from the power supply VCC2 to the control unit 2. In the basic configuration, the internal component subject to power consumption detection is the control unit 2.
[0342] After the power consumption detection process, the feature extraction device 4B executes a feature extraction process for extracting features appearing in the power consumption information as a feature extraction log LV2 (feature extraction information).
[0343] The control unit 2 receives the feature extraction log LV2 extracted by the feature extraction device 4B, outputs the feature extraction log LV2 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause it to execute the above-mentioned external transmission process. As a result, the feature extraction log LV2 extracted by the feature extraction device 4B is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0344] Fig. 22 is a block diagram showing the internal configuration of the feature extraction device 4B shown in Fig. 21. As shown in the figure, the feature extraction device 4B includes a power consumption detection unit 50, a log generation unit 51, a storage unit 52, and an information output unit 53 as main components.
[0345] The power consumption detector 50 is connected to a power supply VCC2, and executes the above-mentioned power consumption detection process to obtain power consumption information PJ2 indicating the power consumption of the controller 2.
[0346] The log generating unit 51, which serves as a decoding unit, receives the power consumption information PJ2 and executes a feature extraction process to extract features appearing in the power consumption information PJ2 as a feature extraction log LV2 (feature extraction information).
[0347] The storage unit 52 stores the feature extraction log LV2 extracted by the log generation unit 51. Similar to the information output unit 43, the information output unit 53 executes an information output process of outputting the feature extraction log LV2 stored in the storage unit 52 at a predetermined timing.
[0348] The information processing terminal 15, which is the basic configuration of the fourth embodiment having such a configuration, transmits the feature extraction log LV2 to the server 8.
[0349] Here, for example, it is assumed that the power consumption of the control unit 2 tends to increase only when the information processing terminal 15, which is an IoT terminal, is in operation. In this case, the server 8 side can detect an abnormal state of the information processing terminal 15 by recognizing that the power consumption of the control unit 2 has increased at an unintended operation timing based on the feature extraction log LV2.
[0350] (Feature extraction content) The following describes in detail the content of the feature extraction process executed by the log generating unit 51 of the feature extraction device 4B.
[0351] The feature extraction device 4B receives power consumption information PJ2 from the power consumption detection unit 50 from time to time, and executes feature extraction processing to extract at least one piece of information among the following information (11) to information (18) as feature extraction log LV2 (feature extraction information).
[0352] (11) information indicating the number of times the power consumption has exceeded the first threshold; (12) information indicating the timing when the power consumption crosses a second threshold; (13) when the power consumption exceeds a third threshold and a predetermined duration elapses, information indicating the timing at which the predetermined duration is reached; (14) when the power consumption exceeds a fourth threshold and a predetermined noise period has elapsed without falling below the fourth threshold, information indicating the timing at which the power consumption exceeds the fourth threshold and the timing at which the power consumption falls below the fourth threshold; (15) information indicating a timing when the power consumption crosses a fifth threshold, and information indicating a timing when the power consumption crosses a sixth threshold different from the fifth threshold; (16) Information showing the average power consumption per unit time; (17) Classification of power consumption into multiple power consumption categories and information showing changes over time in classification information that identifies the multiple power consumption categories; and (18) Information indicating the ratio of the period during which the power consumption per unit time exceeded the seventh threshold; These pieces of information (11) to (18) are information that indicate the characteristics appearing in the power consumption information PJ2.
[0353] In the information (12), the timing of crossing the second threshold includes the timing when the power consumption increases and exceeds the second threshold, and the timing when the power consumption decreases and falls below the second threshold.
[0354] The reason why a predetermined noise period is set in the information (14) is to reliably remove any noise that momentarily causes the power consumption to exceed the fourth threshold, thereby obtaining information equivalent to the more accurate information (12).
[0355] The feature extraction device 4B executes the feature extraction process so that at least one of the above-mentioned information (11) to information (18) becomes the feature extraction log LV2.
[0356] On the server 8 side, based on the feature extraction log LV2, if the timing of the increase in power consumption of the information processing terminal 15 (controller 2 therein) is an unintended operation timing, it can be determined that the information processing terminal 15 is in an abnormal state. This point will be described in detail below.
[0357] An external device such as the server 8 can determine anomaly based on the feature extraction log LV2 as follows.
[0358] Based on the information (11), if a predetermined reference number of times is not satisfied, an abnormality determination can be performed. For example, if the number of times the first threshold value is exceeded within a certain period of time is determined, an abnormality determination can be performed with high accuracy. Specifically, if the number of times the information processing terminal 15 operates within a certain period of time is determined, and the first threshold value is always exceeded during the operation of the information processing terminal 15, the information (11) can be utilized.
[0359] Based on the information (12) to (14), if the timings indicated by the information (12) to (14) do not match a predetermined reference timing, an abnormality determination can be made.
[0360] Specifically, when it is determined in advance that the operation time of the information processing terminal 15 is within a certain period (predetermined duration), an abnormality can be determined with high accuracy based on the information (13).
[0361] If the timing indicated by the information (15) does not satisfy either of the reference timings for the fifth and sixth threshold values based on the information (15), an abnormality determination can be made in stages.
[0362] For example, an abnormality determination process may be considered in which, when the power consumption of the control unit 2 exceeds a fifth threshold, a "warning" state is determined, and when it exceeds a sixth threshold higher than the fifth threshold, an "abnormal" state is determined. Also, the information (15) may be expanded to set three or more thresholds.
[0363] Furthermore, a configuration may be considered in which the feature extraction device 4B receives a signal equivalent to the feature level instruction information SCL used in the information processing terminal 11, which is an extended configuration of the first embodiment. In this case, the feature extraction device 4B may select one threshold value from among a plurality of threshold values based on the feature level instruction information SCL, and acquire information equivalent to the information (15) as the feature extraction log LV2.
[0364] Based on the information (16), an abnormality can be determined if the average value deviates from a predetermined reference average value.
[0365] For example, if the number of times that the information processing terminal 15, which is an IoT terminal, operates per unit time is fixed, and the average value of the power consumption is also fixed, then this average value can be set as the predetermined reference average value.
[0366] Based on the time-dependent change in the sorting information, which is the information (17) and has a relatively small amount of information, if the time-dependent change in the sorting information deviates from a normal time-dependent change, an abnormality can be determined.
[0367] Based on the information (18), an abnormality can be determined if the ratio of the period during which the power consumption exceeds the seventh threshold deviates from the expected ratio. In this case, the feature extraction device 4B can extract features simply by measuring the period during which the power consumption exceeds the seventh threshold, so the load on the feature extraction device 4B can be reduced compared to a process that requires integration of the power consumption value, such as the information (16).
[0368] (Specific examples) FIG. 23 is a block diagram showing the configuration of an information processing terminal 15B which is an expanded configuration of the fourth embodiment, in which a processor 5 is added to the basic configuration shown in FIG.
[0369] As shown in the figure, the information processing terminal 15B has a control unit 2, a communication unit 3, a feature extraction device 4B, and a processing unit 5 as its main components. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The control unit 2 and the processing unit 5 are connected to each other via a bus B2. The following description will focus on the differences from the information processing terminal 15.
[0370] The control unit 2 controls a predetermined process by the processing unit 5. The processing unit 5 executes the predetermined process under the control of the control unit 2 and obtains processing result information. This processing result information flows on the bus B2 as on-bus communication data D2.
[0371] Incidentally, for example, a temperature sensing process for measuring room temperature may be considered as the predetermined process by the processing unit 5. In this case, the process result information becomes the detected temperature information.
[0372] Fig. 24 is a graph showing a specific example of feature extraction processing by feature extraction device 4B of information processing terminal 15B. Fig. 24 shows the change over time in current consumption I2 in control unit 2. Since the power supply voltage of power supply VCC2 is generally constant, current consumption I2 essentially represents the power consumption of control unit 2.
[0373] 24, a temperature sensor that executes temperature sensing processing is used as the processing unit 5, and in response to a request from the server 8, the processing unit 5 executes the temperature sensing processing under the control of the control unit 2 and obtains a detected temperature such as room temperature as processing result information. The processing result information is output to the server 8 via the bus B2, the control unit 2, the bus B1, and the communication unit 3.
[0374] 20 mA is set as the threshold current as shown in Fig. 24. The consumption current I2 rises and exceeds the threshold current at time t1, then falls and falls below the threshold current at time t2.
[0375] Thereafter, the consumption current I2 rises again and exceeds the threshold current at time t3, and then falls and falls below the threshold current at time t4.
[0376] Thereafter, the consumption current I2 rises again and exceeds the threshold current at time t5, and then falls and falls below the threshold current at time t6.
[0377] On the other hand, at time t1b immediately before time t1, a server request signal S81 is output from the server 8, and at time t3b immediately before time t3, a server request signal S82 is output from the server 8. The server request signals S81 and S82 mean signals requesting the processing unit 5 to perform temperature sensing processing for measuring room temperature.
[0378] The server request signals S81 and S82 are transmitted to the control unit 2 via the communication unit 3 and the bus B1. That is, the communication unit 3 can perform an external reception process for receiving the server request signals S81 and S82 from the server 8 under the control of the control unit 2.
[0379] When the current consumption I2 changes as shown in FIG. 24, the information (11) to (14) becomes as follows:
[0380] If the first threshold corresponds to the threshold current, then the information (11) is three times.
[0381] When the second threshold corresponds to the threshold current, the information (12) is timing information indicating each of the times t1 to t6.
[0382] When the third threshold corresponds to the threshold current, the information (13) is timing information indicating the time after a predetermined duration has elapsed from time t1, time t3, and time t5, provided that the periods (t2-t1), (t4-t3), and (t6-t5) are all longer than the predetermined duration.
[0383] When the fourth threshold corresponds to the threshold current, the information (14) is timing information indicating times t1 to t6, respectively, with the condition that the periods (t2-t1), (t4-t3), and (t6-t5) are all longer than a predetermined noise period.
[0384] Regarding the information (17), suppose that when the current consumption I2 is 0 to 10 mA, it is classified as current category A, when the current consumption I2 is 11 to 20 mA, it is classified as current category B, and when the current consumption I2 is 21 to 30 mA, it is classified as current category C, and the classified currents are recorded as feature extraction log LV2 every 100 μs, for example.
[0385] Here, it is assumed that the currents are "0 μs: section current A", "100 μs: section current A", "200 μs: section current B", "300 μs: section current C", "400 μs: section current C", "500 μs: section current B", "600 μs: section current A", and "700 μs: section current A". In this case, the change over time of the section current "A → A → B → C → C → B → A → A" is information according to information (17). For example, the server 8 side can refer to the change over time of the section current included in the feature extraction log LV and determine that the section current C is in an abnormal state if it occurs three or more times in a row.
[0386] Regarding information (18), if the virtual unit time is from time t4 to time t6 and the above threshold current is the seventh threshold, information (18) is the proportion of the period t5 to t6 in the period t4 to t6 ((t6-t5) / (t6-t4)).
[0387] Fig. 25 is an explanatory diagram showing the specific contents of the feature extraction log LV2. Fig. 25 shows a case where the log information list LMV is obtained as the feature extraction log LV2.
[0388] Log information r51 indicates that the threshold (current) was exceeded at time t1, and log information r52 indicates that it fell below the threshold at time t2. Log information r53 indicates that the threshold was exceeded at time t3, and log information r54 indicates that it fell below the threshold at time t4. Log information r55 indicates that the threshold was exceeded at time t5, and log information r56 indicates that it fell below the threshold at time t6.
[0389] Therefore, the information shown in the log information list LMV is feature extraction information reflecting the above-mentioned information (12) or information (14).
[0390] 23 to 25, the following abnormality determination process can be performed on the server 8 side based on the log information list LMV. Here, it is assumed that when the temperature sensing process is performed by the processing unit 5 in the information processing terminal 15B, the current consumption I2 by the control unit 2 increases above the threshold current (20 mA).
[0391] The reason why the current consumption I2 exceeded the threshold current between times t1 and t2 is because, in accordance with the server request signal S81 from the server 8, the processing unit 5 performed temperature sensing processing in the information processing terminal 15B, causing an increase in the current consumption I2 by the control unit 2, and it can be determined that this is not an abnormal state.
[0392] The reason why the current consumption I2 exceeded the threshold current between times t3 and t4 is because, in response to a server request signal S82 from the server 8, temperature sensing processing was performed by the processing unit 5 in the information processing terminal 15B, causing an increase in the current consumption I2 by the control unit 2, and it can be determined that this is not an abnormal state.
[0393] Since the reason why the current consumption I2 exceeded the threshold current between times t5 and t6 is unclear, it can be determined that an abnormal state exists.
[0394] As described above, the information processing terminal 15 (15B) of the fourth embodiment executes the feature extraction process by the feature extraction device 4B, and outputs features appearing in the power consumption information PJ2 as the feature extraction log LV2 (feature extraction information).
[0395] Therefore, the information processing terminal 15 (15B) can transmit the feature extraction log LV2, which has a smaller amount of information compared to the power consumption information PJ2, to an external device such as the server 8 as log information.
[0396] As a result, the information processing terminal 15 (15B) of the fourth embodiment can reduce the communication load required for transmitting the feature extraction log LV2 of the communication unit 3 by suppressing the amount of log information to a relatively small amount. Therefore, the information processing terminal 15 of the fourth embodiment can reduce power consumption and costs.
[0397] Furthermore, the analysis load on the external analysis device such as the server 8 for the feature extraction log LV2 (log information) can be reduced.
[0398] In addition, since the information processing terminal 15 of the fourth embodiment causes the communication unit 3 to execute the external transmission process under the control of the control unit 2, the feature extraction device 4B itself does not need to have a control function for the communication unit 3. Accordingly, the internal configuration of the feature extraction device 4B can be simplified.
[0399] Furthermore, since the feature extraction device 4B stores the feature extraction log LV2 in the storage unit 52, the feature extraction process by the log generating unit 51 and the information output process (output process of the feature extraction log LV2) by the information output unit 53 can each be performed without any problems.
[0400] (Modification) FIG. 26 is a block diagram showing a configuration of an information processing terminal 16 (information processing device) which is a modified example of the fourth embodiment of the present invention.
[0401] As shown in the figure, the information processing terminal 16 has a control unit 2, a communication unit 3, and a feature extraction device 4C as main components. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. For example, an SPI bus, an I2C bus, or a UART bus is used as the bus B1. In the following, the SP1 bus will be used as a representative example.
[0402] The control unit 2 outputs command information CM that specifies a command, thereby controlling the external transmission process performed by the communication unit 3 with the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0403] The communication unit 3 is connected to an external power supply VCC3, and executes the above-mentioned external transmission process using the power supply VCC3 as a driving power supply.
[0404] The feature extraction device 4C is connected to a power supply VCC3 for the communication unit 3, and detects the power supplied from the power supply VCC3 to the communication unit 3 to execute a power consumption detection process for detecting the power consumption of the communication unit 3 and acquiring power consumption information PJ3. In the modified example, the internal component subject to power consumption detection is the communication unit 3.
[0405] After the power consumption detection process, the feature extraction device 4C executes a feature extraction process to extract features appearing in the power consumption information PJ3 as a feature extraction log LV3 (feature extraction information).
[0406] The control unit 2 receives the feature extraction log LV3 extracted by the feature extraction device 4C, outputs the feature extraction log LV3 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause it to execute the above-mentioned external transmission process. As a result, the feature extraction log LV3 extracted by the feature extraction device 4C is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0407] The internal configuration of the feature extraction device 4C is the same as that of the feature extraction device 4B of the basic configuration shown in FIG. 22, except that the feature extraction contents by the log generation unit 51 are different, the power supply VCC2 is replaced by the power supply VCC3, the power consumption information PJ2 is replaced by the power consumption information PJ3, and the feature extraction log LV2 is replaced by the feature extraction log LV3.
[0408] In the information processing terminal 16 having such a configuration, like the information processing terminal 15 having the basic configuration, the server 8 can determine, based on the feature extraction log LV3, that an abnormal state exists if the timing of an increase in power consumption of the information processing terminal 15 (communication unit 3 therein) corresponds to an unintended operation timing.
[0409] In this way, in the information processing terminal 16 which is a variant of the fourth embodiment, similarly to the information processing terminal 15 (15B) of the basic configuration, the communication burden required for transmitting the feature extraction log LV3 of the communication unit 3 can be reduced by keeping the amount of log information to a relatively small amount.
[0410] In addition, the internal component of the power consumption detection target is the control unit 2 in the case of the information processing terminal 15 (15B) of the basic configuration, and is the communication unit 3 in the case of the information processing terminal 16 of the modified example. Furthermore, in the case of the information processing terminal 15B having the processing unit 5, the processing unit 5 may be the internal component of the power consumption detection target.
[0411] In other words, the internal components of the power consumption detection target need only include at least one of the control unit 2, the communication unit 3, and the processing unit 5, and the above-mentioned effects can be achieved.
[0412] <Fifth Preferred Embodiment> (Basic configuration) FIG. 27 is a block diagram showing a configuration of an information processing terminal 17 (information processing device) which is a basic configuration of the fifth embodiment of the present invention.
[0413] As shown in the figure, the information processing terminal 17 has a control unit 2, a communication unit 3, and a feature extraction device 9 as main components inside. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. In the fifth embodiment, the bus to be processed is the bus B1 which is a bus for the communication unit. As the bus B1, for example, an SPI bus, an I2C bus, or a UART bus is adopted. In the following, the SP1 bus will be used as a representative example.
[0414] The control unit 2 outputs command information CM including commands for controlling operations or functions to the control unit 2, which is the controlled part, and controls the external transmission process between the communication unit 3 and the server 8. The communication unit 3 executes the external transmission process under the control of the control unit 2.
[0415] Command information CM output from the control unit 2 flows on a bus B1, which is a communication bus between the control unit 2 and the communication unit 3, as on-bus communication data D1.
[0416] Similar to feature extraction device 4 of embodiment 1, feature extraction device 9 receives bus communication data D1 on bus B1 and performs feature extraction processing to extract features appearing in bus communication data D1 as feature extraction log L1 (feature extraction information) using command information CM on bus B1 as the feature extraction target.
[0417] The control unit 2 receives the feature extraction log L1 extracted by the feature extraction device 9, outputs the feature extraction log L1 as is to the communication unit 3 via the bus B1, and controls the communication unit 3 to cause the communication unit 3 to execute the above-mentioned external transmission process. As a result, the feature extraction log L1 extracted by the feature extraction device 9 is transmitted to the external server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0418] Furthermore, the feature extraction device 9 has a clock supply function of generating a clock CK, which is an internal clock of the information processing terminal 18, and supplying the generated clock CK to the control unit 2 and the communication unit 3.
[0419] In addition, the feature extraction device 9 executes an internal abnormality determination process based on the feature extraction log L1, and when it determines that an abnormal state exists, has a clock supply stop function as an internal operation stop function that stops the supply of the clock CK to the control unit 2. Therefore, the control unit 2 in the information processing terminal 17 is an internal component to be stopped.
[0420] For example, assume that the feature extraction device 9 extracts information (10) “information indicating the timing when a command having a specified command length is output” as the feature extraction log L1, and it is recognized in advance that a command having the specified command length necessarily satisfies the command issuance frequency condition of “three times every two seconds.”
[0421] In this case, the feature extraction device 9 can refer to the information (10) and perform the internal abnormality determination process based on whether the content of the command having the predetermined command length matches the command issuance frequency condition. Specifically, the feature extraction device 9 can determine that an abnormal state exists when a command having the predetermined command length exists "less than three times in two seconds" or "four times or more in two seconds," and can activate a clock stop function to stop the supply of the clock CK to the control unit 2.
[0422] Furthermore, the feature extraction device 9 may limit the operation of the control unit by lowering the clock frequency instead of stopping the supply of the clock CK as the clock stopping function.
[0423] The feature extraction device 9 has the same internal configuration as the feature extraction device 4 shown in FIG. 2, except that it has a clock generator and a judgment unit therein, and that in addition to the feature extraction process described above, the judgment unit has a function of judging an abnormality and the clock stopping function described above.
[0424] In this way, the feature extraction device 9 in the information processing terminal 17 can improve the safety of the control unit 2 and the communication unit 3 operating under the control of the control unit 2 by forcibly stopping the operation of the control unit 2, which is the internal component to be stopped, when an abnormal state occurs, through the clock supply stopping function, which is an internal operation stopping function.
[0425] In addition, since the information processing terminal 17 itself performs the abnormality determination, the analysis load on the server 8 side can be reduced.
[0426] Furthermore, the feature extraction device 9 may have an enable signal stop function instead of the clock stop function described above. In this case, the control unit 2 can operate only when the enable signal from the feature extraction device 9 is in an active state. Therefore, when the feature extraction device 9 determines that an abnormal state exists in the internal abnormality determination process, the operation of the control unit 2 can be stopped by invalidating the enable signal.
[0427] In this way, the feature extraction device 9 in the information processing terminal 17 can improve the safety of the control unit 2 and the communication unit 3 operating under the control of the control unit 2, by forcibly stopping the control unit 2, which is the internal component to be stopped, when an abnormal state occurs, using the enable signal stopping function, which is an internal operation stopping function.
[0428] In addition, in the above-mentioned internal operation stopping function, a predetermined grace period may be provided before the feature extraction device 9 stops the operation of the control unit 2.
[0429] That is, the feature extraction device 9 may execute the internal operation stop function after a predetermined grace period has elapsed since it was determined that an abnormal state exists in the internal abnormality determination process.
[0430] By providing a predetermined grace period in this manner, the feature extraction log L1 generated within the predetermined grace period after it has been determined that the information processing terminal is in an abnormal state is also transmitted to the server 8. Therefore, the server 8 receives the feature extraction log L1 after it has been determined that the information processing terminal is in an abnormal state, and can grasp the state of the information processing terminal based on the received feature extraction log L1.
[0431] (First Modification) FIG. 28 is a block diagram showing a configuration of an information processing terminal 18 (information processing device) which is a first modified example of the fifth embodiment of the present invention.
[0432] As shown in the figure, the information processing terminal 18 has a control unit 2, a communication unit 3, and a feature extraction device 9B as main components. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The following will mainly explain the points that are different from the basic configuration shown in FIG. 27.
[0433] The feature extraction device 9B executes the feature extraction process in the same manner as the feature extraction device 4 of the first embodiment.
[0434] Furthermore, like the feature extraction device 9, the feature extraction device 9B has a clock supply function of generating a clock CK which is an internal clock of the information processing terminal 18 and supplying the generated clock CK to the control unit 2 and the communication unit 3.
[0435] In addition, the feature extraction device 9B executes an internal abnormality determination process similar to that of the feature extraction device 9 based on the feature extraction log L1, and has a reset signal output function as an internal operation stopping function for outputting a reset signal RS to the control unit 2 when it determines that an abnormal state exists. Therefore, the control unit 2 in the information processing terminal 18 is an internal component to be stopped.
[0436] Moreover, the feature extraction device 9 may have a function of outputting a FW (firmware) update request signal instead of the reset signal output function. In this case, when an abnormal state is determined in the internal abnormality determination process, the feature extraction device 9 outputs a FW update request signal to request the control unit 2 to update the FW.
[0437] The internal configuration of the feature extraction device 9B is similar to that of the feature extraction device 4 shown in FIG. 2, except that the feature extraction device 9B has an internal clock generator and a determination unit, and in addition to the feature extraction process, the determination unit has the function of determining abnormality and the reset signal output function.
[0438] In this way, the feature extraction device 9B in the information processing terminal 18 can improve the safety of the control unit 2 and the communication unit 3 operating under the control of the control unit 2 by forcibly stopping the operation of the control unit 2, which is the internal component to be stopped, when an abnormal condition occurs, through the reset signal output function, which serves as an internal operation stopping function.
[0439] In addition, since the information processing terminal 18 itself performs the abnormality determination, the analysis load on the server 8 side can be reduced.
[0440] (Second Modification) FIG. 29 is a block diagram showing a configuration of an information processing terminal 19 (information processing device) which is a second modified example of the fifth embodiment of the present invention.
[0441] As shown in the figure, the information processing terminal 19 has, as its main components, a control unit 2, a communication unit 3, a feature extraction device 9C, and a clock generator 30. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The following will mainly explain the points that are different from the basic configuration shown in FIG. 27.
[0442] The clock generator 30 generates a clock CK which is an internal clock of the information processing terminal 19, and supplies the generated clock CK to the communication section 3 and the feature extraction device 9C.
[0443] The feature extraction device 9C executes the feature extraction process in the same manner as the feature extraction device 4 of the first embodiment.
[0444] Furthermore, the feature extraction device 9C has a clock transmission function of receiving a clock CK from the clock generator 30 and transmitting the clock CK to the control unit 2.
[0445] In addition, the feature extraction device 9C executes an internal abnormality determination process similar to that of the feature extraction devices 9 and 9B based on the feature extraction log L1, and has a clock transmission stop function as an internal operation stop function that stops transmission of the clock CK to the control unit 2 when it determines that an abnormal state exists. Therefore, the control unit 2 in the information processing terminal 19 is an internal component to be stopped.
[0446] The feature extraction device 9C has the same internal configuration as the feature extraction device 4 shown in FIG. 2, except that it has an internal determination unit, that it has a clock transmission function of transmitting the clock CK received from the upper clock generator 30 to the control unit 2, and that in addition to the feature extraction process, the determination unit has the clock transmission stop function including the internal abnormality determination process.
[0447] In this way, the feature extraction device 9C in the information processing terminal 19 can improve the safety of the control unit 2 and the communication unit 3 operating under the control of the control unit 2 by forcibly stopping the operation of the control unit 2, which is the internal component to be stopped, when an abnormal condition occurs, through the clock transmission stopping function, which is an internal operation stopping function.
[0448] In addition, since the information processing terminal 19 itself performs the abnormality determination, the analysis load on the server 8 side can be reduced.
[0449] (Third Modification) FIG. 30 is a block diagram showing a configuration of an information processing terminal 20 (information processing device) which is a third modified example of the fifth embodiment of the present invention.
[0450] As shown in the figure, the information processing terminal 20 has, as its main components, a control unit 2, a communication unit 3, a feature extraction device 9D, and a clock generator 30. The control unit 2 and the communication unit 3 are connected to each other via a bus B1. The following will mainly explain the points that are different from the basic configuration shown in FIG. 27.
[0451] The clock generator 30 generates a clock CK which is an internal clock of the information processing terminal 20, and supplies the generated clock CK to the control unit 2, the communication unit 3, and the feature extraction device 9D.
[0452] The feature extraction device 9D executes the feature extraction process in the same manner as the feature extraction device 4 of the first embodiment.
[0453] In addition, the feature extraction device 9D executes an internal abnormality determination process similar to those of the feature extraction devices 9, 9B, and 9C based on the feature extraction log L1, and has a reset signal output function as an internal operation stopping function for outputting a reset signal RS to the control unit 2 when it determines that an abnormal state exists. Therefore, the control unit 2 in the information processing terminal 20 is an internal component to be stopped.
[0454] The feature extraction device 9D has the same internal configuration as the feature extraction device 4 shown in FIG. 2, except that it has an internal judgment unit and that, in addition to the feature extraction processing, the judgment unit has the reset signal output function including the internal abnormality judgment processing.
[0455] In this way, the feature extraction device 9D in the information processing terminal 20 can improve the safety of the control unit 2 and the communication unit 3 operating under the control of the control unit 2 by forcibly stopping the operation of the control unit 2, which is the internal component to be stopped, when an abnormal condition occurs, through the reset signal output function, which serves as an internal operation stopping function.
[0456] In addition, as in the information processing terminals 19 and 20, a case in which the clock generator 30 needs to be provided outside the feature extraction devices 9B and 9C may be considered in which the feature extraction devices 9B and 9C are incorporated in other internal components such as a WiFi module, a sensor module, or the like other than the clock generator 30.
[0457] Furthermore, in the basic configuration of the fifth embodiment and the information processing terminals 17-20 which are the first to third modified examples, the control unit 2 is the only internal component to be stopped, but the communication unit 3 may also be included in the internal components to be stopped, similar to the control unit 2. For example, in the information processing terminal 18 which is the first modified example, the reset signal RS may be supplied to the communication unit 3 in addition to the control unit 2.
[0458] The clock CK is supplied to the feature extraction devices 9C and 9D because it is necessary for the feature extraction process of the feature extraction device 9D to be executed. The feature extraction device 4 shown in Fig. 2 also actually executes the feature extraction process in synchronization with the clock CK, but for convenience of explanation, the clock CK is omitted from the illustration.
[0459] In addition, in the above-mentioned information processing terminals 17 to 20, only one of the clock supply stopping function, the clock transmission stopping function, and the reset signal output function is adopted as the internal operation stopping function, but it is also possible to configure the terminals to adopt both the clock supply stopping function or the clock transmission stopping function and the reset signal output function.
[0460] In the above-described information processing terminals 17 to 20, the feature extraction device 9 (9B to 9D) executes the same feature extraction process as the feature extraction device 4 in the information processing terminal 1, which is the basic configuration of the first embodiment.
[0461] However, as the feature extraction process of the feature extraction device 9, a feature extraction process other than the basic configuration of the first embodiment may be executed to extract feature extraction information different from the feature extraction log L1. However, the contents of the internal anomaly determination process need to be changed in accordance with the feature extraction information.
[0462] <Other> In all of the above-mentioned embodiments, the feature extraction device 4 (4B to 4D, 9, 9B to 9D) transmits the feature extraction information (feature extraction logs L1 to L4, L12, LV12, LV13) as is to the server 8. Here, an encryption function for encrypting the feature extraction information may be added to the feature extraction device 4, and encrypted feature extraction information in which the feature extraction information is encrypted may be output instead of the feature extraction information. For example, by providing an encryption processing unit after the log generation unit 41 or information output unit 43 of the feature extraction device 4, it is possible to output the encrypted feature extraction information.
[0463] By outputting encrypted feature extraction information from the feature extraction device, it is possible to eliminate room for tampering with the feature extraction information by the control unit 2, thereby improving the confidentiality and security of the feature extraction information.
[0464] In all the above-mentioned embodiments, the feature extraction information is transmitted to the server 8 via the control unit 2. For example, in the information processing terminal 1 which is the basic configuration of the first embodiment, the feature extraction log L1 is transmitted to the server 8 via the control unit 2, the bus B1, and the communication unit 3.
[0465] Instead of the above configuration, the feature extraction device 4 may be provided with a function for controlling the external transmission process of the communication unit 3, so that the feature extraction log L1 is transmitted from the feature extraction device 4 only via the communication unit 3, without passing through the control unit 2. That is, in all the embodiments, the feature extraction device may be provided with a function for controlling the communication unit 3, so that the feature extraction information is transmitted from the feature extraction device via the communication unit 3, without passing through the control unit 2.
[0466] In the above-mentioned embodiment, the control unit 2, the log generating units 41, 51, the information output units 43, 53, and the power consumption detecting unit 50 may be executed by program processing using a software-based CPU. However, the information output units 43, 53 require a H / W (hardware) circuit for transmitting the feature extraction log to the control unit 2. Also, it is necessary to implement a memory for storing the program. The memory may be a non-volatile memory (Embedded Flash, etc.).
[0467] Moreover, the storage unit 42 and the storage unit 52 may be configured with a HDD, a DVD, a memory, etc. The memory may be a volatile memory such as a RAM, or a non-volatile memory.
[0468] Although the present invention has been described in detail, the above description is illustrative in all respects and is not intended to limit the present invention. It is understood that countless variations not illustrated can be envisioned without departing from the scope of the present invention.
[0469] In other words, within the scope of the present invention, the embodiments can be freely combined, and each embodiment can be modified or omitted as appropriate.
[0470] The functions of the elements disclosed herein may be implemented using circuitry or processing circuitry including general purpose processors, special purpose processors, integrated circuits, ASICs ("application specific integrated circuits"), conventional circuitry, and / or combinations thereof configured to execute the disclosed elements or programmed to execute the disclosed functions. A processor is considered to be a processing circuitry or circuitry when it includes transistors and other circuitry therein. In this disclosure, a circuitry, unit, or means is hardware that performs the recited function or hardware that is programmed to perform the recited function. The hardware may be any hardware disclosed herein or other known that is programmed to perform the recited function or configured to perform the recited function. When the hardware is a processor, which may be considered as a type of circuitry, the circuitry, means, or unit is a combination of hardware and software, software used to configure the hardware, and / or processor. [Explanation of symbols]
[0471] 1, 1B~1F, 11, 15~20, 15B Information processing terminal 2. Control section 3. Communications Department 4, 4B, 4C, 9, 9B~9D Feature extraction device 5, 5A, 5B Processing section 6. Internal memory 7. External Memory 8 Server 30 Clock Generator 50 Power consumption detector 41,51 Log generation section 42,52 Storage part 43,53 Information output section B1~B5 bus
Claims
1. A processing target bus; a feature extraction device that executes a feature extraction process for acquiring bus communication data obtained from the processing target bus from time to time and extracting features appearing in the bus communication data as feature extraction information; a communication unit that executes an external transmission process to transmit the feature extraction information extracted by the feature extraction device to an external device as log information, a control unit that outputs command information including a command for controlling an operation or function to a control target unit, the control target unit including the communication unit; the processing target bus includes a communication unit bus between the control unit and the communication unit, and the command information including a command for the control target unit to be the communication unit is transmitted from the control unit to the communication unit via the communication unit bus, the bus communication data includes the command information on the communication unit bus, the feature extraction device executes the feature extraction process by using the command information, which includes a command for the control target unit as the communication unit, as a feature extraction target. Information processing device.
2. 2. The information processing device according to claim 1, the controlled part includes the control part, the communication unit transmits the command information, including a command for the control target unit to the control unit, via the communication unit bus to the control unit; the feature extraction device executes the feature extraction process by using the command information including a command for designating the control target unit as the control unit as a feature extraction target. Information processing device.
3. A processing target bus; a feature extraction device that executes a feature extraction process for acquiring bus communication data obtained from the processing target bus from time to time and extracting features appearing in the bus communication data as feature extraction information; a communication unit that executes an external transmission process for transmitting the feature extraction information extracted by the feature extraction device to an external device as log information; A processing unit that executes a predetermined process to obtain response data; a control unit that outputs command information including a command for controlling an operation or function to a control target unit, the control target unit including the processing unit; the processing bus includes a processing unit bus between the control unit and the processing unit, the processing unit transmits the response data to the control unit via the processing unit bus, and the command information is transmitted from the control unit to the processing unit via the processing unit bus; the bus communication data includes the command information or the response data on the processing unit bus, the feature extraction device executes the feature extraction process by using the command information or the response data, which includes a command that designates the control target unit as the processing unit, as a feature extraction target. Information processing device.
4. 4. The information processing device according to claim 3, the controlled part includes the control part, the processing unit transmits the command information, including a command for the control target unit to the control unit, via the processing unit bus to the control unit; the feature extraction device executes the feature extraction process by using the command information including a command for designating the control target unit as the control unit as a feature extraction target. Information processing device.
5. 4. The information processing device according to claim 3, the processing bus further includes a communication unit bus between the control unit and the communication unit; the control target unit includes the communication unit, the control unit transmits the command information, including a command for the control target unit to the communication unit, to the communication unit via the communication unit bus; the bus communication data further includes the command information on the communication unit bus; the feature extraction device executes the feature extraction process by using a combination of at least one of the command information including a command for the control target unit to be the processing unit and the response data, and the command information including a command for the control target unit to be the communication unit as a feature extraction target. Information processing device.
6. 4. The information processing device according to claim 3, the processing unit includes a controlled memory which is an internal memory present in the information processing device or an external memory present outside the information processing device, the controlled unit includes the controlled memory, the processing unit bus includes a memory bus provided between the controlled memory and the control unit, the response data includes memory response information; the controlled memory transmits the memory response information to the control unit via the memory bus in response to the command information including a command that designates the controlled unit as the controlled memory; the bus communication data includes the command information and the memory response information on the memory bus; the feature extraction device executes the feature extraction process by extracting at least one of the command information including a command that designates the control target unit as the control target memory and the memory response information as a feature extraction target. Information processing device.
7. A processing target bus; a feature extraction device that executes a feature extraction process for acquiring bus communication data obtained from the processing target bus from time to time and extracting features appearing in the bus communication data as feature extraction information; a communication unit that executes an external transmission process for transmitting the feature extraction information extracted by the feature extraction device to an external device as log information; a processing unit for executing a predetermined process to obtain response data; The processing unit includes: a first processing unit that executes a first process to obtain first response data; a second processing unit that executes a second process to obtain second response data, the predetermined process including the first and second processes, and the response data including the first and second response data; the processing target bus includes a corresponding processing unit bus between the first processing unit and the second processing unit, and at least one of the first and second response data flows on the corresponding processing unit bus as transmission response data; the on-bus communication data includes the transmission response data on the inter-processor bus, the feature extraction device executes the feature extraction process on the transmission response data as a feature extraction target; Information processing device.
8. 8. The information processing device according to claim 7, One of the first and second processing units transmits command information including a command for controlling an operation or function of a control target unit to the other processing unit via the corresponding processing unit bus; the control target unit includes the other processing unit, The bus communication data further includes the command information on the bus between the corresponding processing units, the feature extraction device executes the feature extraction process by using the command information including a command that designates the control target unit as the other processing unit as a feature extraction target. Information processing device.
9. An information processing device according to any one of claims 1 to 6 and 8, The feature extraction device receives the communication data on the bus from time to time, and when the command information is included in the feature extraction target, At least one of the following information (1) to (6) is extracted as the feature extraction information: (1) Information indicating the output interval between successively output commands; (2) Information indicating the command length, which is the data length of the command, or the frame length related to the command; (3) information indicating the command type; (4) information indicating the timing of occurrence of a specified command; (5) information indicating the number of occurrences of a given command per unit time; (6) Information indicating the ratio of a frame valid period to a frame invalid period regarding a command per unit time; Information processing device.
10. An information processing device according to any one of claims 1 to 6 and 8, The feature extraction device receives the bus communication data from time to time, When the command information is included in the feature extraction target, At least one of the following information (7) to (10) and information (10a) is extracted as the feature extraction information. (7) information indicating the timing when a command of a predetermined command type is output in a sequence that satisfies a command type generation condition; (8) Information indicating the timing when a plurality of commands each having a predetermined identifier are output without satisfying a command generation order condition; (9) Information indicating the timing when a command having a specific identifier is output without satisfying the command generation interval condition; (10) information indicating the timing when a command having a predetermined command length is output; (10a) information indicating a timing when a command having a predetermined command length is output without satisfying a command issuance frequency condition; Information processing device.
11. An information processing device according to any one of claims 3 to 8, The feature extraction device receives the communication data on the bus from time to time, and when the response data is included in the feature extraction target, At least one of the following information (31) to (37) is extracted as the feature extraction information. (31) Information indicating an output interval between successively output response data; (32) Information indicating the response data length or the frame length related to the response data; (33) information indicating a timing of occurrence of predetermined response data; (34) information indicating the timing when response data having a predetermined response data length is output; (35) information indicating a timing when response data having a predetermined response data length is output without satisfying a response data issuance frequency condition; (36) Information indicating the number of occurrences of response data per unit time; (37) Information indicating the ratio of a valid period and an invalid period of a frame regarding response data per unit time; Information processing device.
12. An information processing device according to any one of claims 1 to 11, The feature extraction device further receives feature level instruction information and changes the content of the feature extraction process based on the feature level instruction information. Information processing device.
13. An information processing device according to any one of claims 1 to 11, the feature extraction device further comprising a real-time clock; Upon the arrival of a predetermined time as indicated by a real-time clock, The content of the feature extraction process is changed. Information processing device.
14. An information processing device according to any one of claims 1 to 13, The feature extraction device comprises: a decoding unit that receives the bus communication data and executes the feature extraction process; a storage unit for storing the feature extraction information extracted by the decoding unit; an information output unit that executes an information output process to output the feature extraction information stored in the storage unit, Information processing device.
15. 4. The information processing device according to claim 1, the feature extraction device outputs the feature extraction information to the control unit; the control unit receives the feature extraction information, outputs the feature extraction information to the communication unit, and causes the communication unit to execute the external transmission process. Information processing device.
16. An information processing device according to claim 7, A control unit that controls the external transmission process by the communication unit, the feature extraction device outputs the feature extraction information to the control unit; the control unit receives the feature extraction information, outputs the feature extraction information to the communication unit, and causes the communication unit to execute the external transmission process. Information processing device.
17. 4. The information processing device according to claim 1, The feature extraction device comprises: an internal operation stop function that executes an internal abnormality determination process to detect whether or not an abnormal state has occurred in the information processing device based on the feature extraction information, and stops the operation of an internal component to be stopped when it is determined that an abnormal state has occurred by the internal abnormality determination process; The internal component to be stopped includes the control unit. Information processing device.
18. An information processing device according to claim 7, A control unit that controls the external transmission process by the communication unit, The feature extraction device comprises: an internal operation stop function that executes an internal abnormality determination process to detect whether or not an abnormal state has occurred in the information processing device based on the feature extraction information, and stops the operation of an internal component to be stopped when it is determined that an abnormal state has occurred by the internal abnormality determination process; The internal component to be stopped includes the control unit. Information processing device.
19. 19. An information processing device according to claim 17, the feature extraction device further has a clock supply function for supplying an internal clock to the internal component to be stopped; the internal operation stopping function includes a clock supply stopping function for stopping the supply of the internal clock to the internal component to be stopped, Information processing device.
20. 19. An information processing device according to claim 17, A clock generator for generating an internal clock is further provided, the feature extraction device further has a clock transmission function of receiving the internal clock and supplying it as the internal clock to the internal component to be stopped; the internal operation stopping function includes a clock transmission stopping function that stops transmission of the internal clock to the internal component to be stopped, Information processing device.
21. An information processing device according to any one of claims 17 to 20, the feature extraction device further has a reset signal output function of outputting a reset signal to the internal component to be stopped, the reset signal specifying a stop of operation of the internal component to be stopped; the internal operation stopping function includes the reset signal output function; Information processing device.
22. An information processing device according to any one of claims 1 to 21, the feature extraction information includes encrypted feature extraction information that is encrypted; Information processing device.
23. An information processing device according to any one of claims 1, 3, and 7, The bus communication data further includes data validity recognition information for determining validity of actual data; the feature extraction device further executes the feature extraction process using the data validity recognition information as a feature extraction target. Information processing device.
Citation Information
Patent Citations
Bus line monitoring system
JP1993053934A
USB data monitor device
JP2001069163A
System and method for managing access log
JP2006120130A
Logging device and recording medium
JP2009205488A
Trace collection circuit and trace collection method
JP2014211813A
