WO2023136191A1 - Information processing device, information processing method, and program - Google Patents

Information processing device, information processing method, and program Download PDF

Info

Publication number
WO2023136191A1
WO2023136191A1 PCT/JP2023/000050 JP2023000050W WO2023136191A1 WO 2023136191 A1 WO2023136191 A1 WO 2023136191A1 JP 2023000050 W JP2023000050 W JP 2023000050W WO 2023136191 A1 WO2023136191 A1 WO 2023136191A1
Authority
WO
WIPO (PCT)
Prior art keywords
inference
information
input information
data source
input
Prior art date
Application number
PCT/JP2023/000050
Other languages
French (fr)
Japanese (ja)
Inventor
竹識 板垣
Original Assignee
ソニーグループ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ソニーグループ株式会社 filed Critical ソニーグループ株式会社
Publication of WO2023136191A1 publication Critical patent/WO2023136191A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models

Definitions

  • the present technology relates to an information processing device, an information processing method, and a program, and more particularly to an information processing device, an information processing method, and a program that can prevent malfunction due to execution of inference based on unintended input information.
  • Japanese Patent Laid-Open No. 2002-200001 proposes a mechanism that, when a version mismatch between firmware and a driver is detected, upgrades/downgrades the versions to a correct combination so that the expected operation can be performed.
  • This technology has been developed in view of this situation, and is designed to prevent malfunctions caused by executing inferences based on unintended input information.
  • the information processing device or program of the present technology is a processing unit that executes inference based on input information, and when a mismatch occurs between the input information and input information assumed in advance, the inference or a program for causing a computer to function as such an information processing apparatus.
  • the processing unit of an information processing device having a processing unit executes inference based on input information, and when a mismatch occurs between the input information and presupposed input information Secondly, it is an information processing method for switching the operation mode of the inference.
  • inference is executed based on input information, and when a mismatch occurs between the input information and input information assumed in advance, the inference is performed.
  • the operation mode is switched.
  • FIG. 4 is a diagram for explaining a proper operating state of an electronic device assumed by a developer of an inference device; It is a figure explaining the actual operation condition. It is a figure showing an example of composition of an information processing system concerning a 1st embodiment of this art.
  • 2 is a block diagram showing an example of the internal configuration of an electronic device;
  • FIG. 10 is a flowchart illustrating the overall flow of inference processing; 6 is a flow chart showing an example procedure of data source abnormality detection processing according to the first embodiment;
  • FIG. 10 is a diagram showing an example of a version information list;
  • FIG. 11 is a diagram showing an example of the contents of a support version table; 7 is a flow chart showing an example of an inference trial process procedure according to the first embodiment;
  • FIG. 11 is a diagram illustrating an inference execution table; 6 is a flow chart showing an example of a procedure of device control processing according to the first embodiment; 6 is a flow chart showing an example of a procedure of abnormality notification processing according to the first embodiment; FIG. 11 is a flow chart showing an example of an inference trial process procedure according to the second embodiment; FIG. FIG. 11 is a flow chart showing an example of a procedure of abnormality notification processing according to the second embodiment; FIG. FIG. 11 is a flow chart showing an example procedure of data source abnormality detection processing according to the third embodiment; FIG. FIG. 2 is a block diagram showing a hardware configuration example of a computer that executes a series of processes by a program;
  • Today's intelligent equipment (called electronic equipment) consists of various sensors, communication devices, and reasoning devices (AI: artificial intelligence) is installed.
  • AI artificial intelligence
  • One or more feature values conforming to the specifications assumed by the developer are input to the inference machine as input information, and the inference results based on the specifications of the input information are output as output information from the inference machine. .
  • each component such as sensors and communication devices installed in electronic equipment may be updated independently.
  • Component updates include cases where hardware is updated (including changes), and cases where software such as firmware and driver software (hereinafter referred to as drivers) that operate hardware are updated (including changes).
  • Fig. 1 is a diagram explaining the proper operational status of an electronic device assumed by the developer of the reasoner.
  • the electronic device assumed by the developer has a reasoner, and as components that provide input information to the reasoner, for example, sensors (sensor devices) shown in the figure, other software modules, and communication devices.
  • Other software modules are software other than software (firmware and drivers) related to sensors and communication devices, and are executed by hardware including CPU (Central Processing Unit), memory, etc. that electronic devices have as components of the main body. It represents the software module that provides input information (feature values) to the inferrer, among multiple types of software modules that include the program to be executed.
  • Other software modules are hereinafter simply referred to as software modules.
  • Data such as measured values obtained by sensors, calculation results obtained by software modules, user operation history, and statistics obtained by communication devices, for example, are supplied to the reasoner as reference information.
  • the reference information is adapted to the input specifications of the reasoner and input to the reasoner as input information (feature quantity).
  • the reasoner makes predictions about predetermined content of inference based on input information, and outputs the suggestion result (inference result) as output information.
  • an electronic device performs communication (Internet communication) with an external device via the Internet.
  • the predetermined content of inference is the degree of confidence (" degree of risk of Internet communication delays”). Confidence is a value between 0 and 1.
  • Each component such as sensors, software modules, and communication devices has a revision stage, and a version indicating the revision stage is attached.
  • the versions of sensors, software modules, and communication devices when a developer develops a reasoner are version V.1.1.5, version V.1.0.6, and version V. .1.0.2.
  • the developer determines the input information (feature values) to be input to the inference machine and the output Determine the output information (inference content) to be used.
  • the reasoner performs arithmetic processing according to an inference model having, for example, a neural network (deep neural network) structure.
  • An inference model is learned in advance and parameters such as weights and biases of the inference model are determined before it is used as an inference device in an electronic device.
  • the inference device outputs appropriate output information (inference result) is output.
  • Fig. 2 is a diagram for explaining the actual operation situation with respect to Fig. 1.
  • the output of the updated component Specifications subject to change may differ from the reference information assumed by the reasoner developer.
  • the version of the software module is changed from version V.1.0.6 in FIG. 1 to version V.2.0.0 due to version upgrade.
  • Patent Document 1 Japanese Patent Application No. 2017-28930
  • the versions are expected to be upgraded/downgraded to a correct combination. It provides a mechanism to make it work.
  • this only guarantees that the device will work properly on its own, and it does not take into consideration the linkage with the inference machine that uses it, and the specifications are different from the assumptions of the inference machine developers. In some cases, the aforementioned problems persist.
  • This technology detects a state in which unintended (assumed) input information is input to the inference device, and changes the mode of inference operation (inference processing) according to the situation, thereby preventing malfunction of the electronic device. Provide a safe mechanism.
  • FIG. 3 is a diagram showing a configuration example of an information processing system according to the first embodiment of the present technology.
  • the information processing system 11 has an electronic device 21 and an information aggregation server 22 .
  • the electronic device 21 and the information aggregation server 22 are communicably connected via the Internet.
  • the communication line that connects the electronic device 21 and the information aggregation server 22 is assumed to be the Internet, but any communication line may be used.
  • the electronic device 21 is, for example, a terminal device such as a smartphone owned by a user, a PC (personal computer), a mobile PC, a tablet, etc., and corresponds to the electronic device shown in FIGS.
  • the electronic device 21 is not limited to a specific type, and may be any type of information processing device.
  • the electronic device 21 is assumed to have an inferring device that infers “the degree of risk of Internet communication being disrupted”.
  • the inference content of the inference device is not limited to this.
  • the information aggregation server 22 is a server device that can be accessed by the developer of the reasoner, and collects and provides information related to the reasoner installed in the electronic device 21 .
  • a reasoner developer can provide instruction information, including instructions regarding the operation of the reasoner, to the electronic device 21 via the information aggregation server 22 .
  • FIG. 4 is a block diagram showing an internal configuration example of the electronic device 21 of FIG. 4, the electronic device 21 has data sources 41-1 to 41-3 (data sources #1 to #3), an inference control section 42, a device control section 43, and a version database 44.
  • data sources 41-1 to 41-3 data sources #1 to #3
  • inference control section 42 an inference control section 42
  • device control section 43 a device control section 43
  • version database 44 a version database 44
  • the data sources 41-1 to 41-3 (#1 to #3) generate input information (input information for inference) to the inference device of the inference control unit 42 among the components of the electronic device 21. It represents a component that provides reference information for (hereinafter also referred to as reasoner reference information).
  • the electronic device 21 has three data sources 41-1 to 41-3 (#1 to #3), but the number of data sources is not limited to this.
  • the data sources 41-1 to 41-3 are represented by data sources #1 to #3 using data source numbers.
  • Data sources #1 to #3 are assumed to be a predetermined sensor device that is a sensor type, a predetermined communication device that is a communication device type, and a predetermined software module that is a software component, respectively.
  • the sensor device of data source #1 is, as a specific example, acceleration sensor hardware, firmware, and drivers.
  • the acceleration sensor hardware is the physical component of the acceleration sensor.
  • the firmware of the acceleration sensor is software incorporated in the hardware of the acceleration sensor and controlling the operation of the hardware.
  • the acceleration sensor driver is software related to the acceleration sensor, and is software executed by hardware (such as a CPU) on the main body side of the electronic device 21 .
  • the acceleration sensor driver performs, for example, hardware control via the acceleration sensor firmware, and calculation and output processing of acceleration measurement values based on signals provided from the acceleration sensor hardware and firmware. Note that the hardware, firmware, and driver of the acceleration sensor are simply referred to as the acceleration sensor.
  • the communication device of data source #2 is, as a specific example, the hardware, firmware, and driver of a wireless LAN (Local Area Network) device.
  • the hardware of a wireless LAN device is a physical component of the wireless LAN device, and the firmware of the wireless LAN device is software incorporated in the hardware of the wireless LAN device to control the operation of the hardware.
  • the wireless LAN device driver is software related to the wireless LAN device, and is software executed by hardware on the main body side of the electronic device 21 .
  • the driver of the wireless LAN device controls hardware via the firmware of the wireless LAN device, exchanges communication data with the wireless LAN device and processing units on the main body side of the electronic device 21, and controls communication connection. .
  • the hardware, firmware, and driver of a wireless LAN device are simply referred to as a wireless LAN device.
  • the software module of data source #3 is assumed to be a user context information provision module as a specific example.
  • the user context information providing module is software executed by hardware on the main body side of the electronic device 21 .
  • the user context information providing module refers to the past operation history and movement history of the electronic device 21, and calculates whether or not the wireless environment in which the electronic device 21 is currently placed is home.
  • the user context information providing module may be an independent application, a software module incorporated in any application, or a part of the operating system.
  • the inference control unit 42 performs preprocessing such as normalization on the reference information from the data sources #1 to #3, and then supplies input information (feature amounts) to the included inference units (inference units A to C). Enter as The reasoner predicts (estimates) the "degree of risk of Internet communication being disrupted” based on the input information, and outputs a value in the range of 0 to 1 corresponding to that degree as output information (inference result). do.
  • the inference control unit 42 supplies output information (inference result) of the inference unit to the equipment control unit 43 .
  • the inference control unit 42 can include one or more reasoners A to C.
  • the inference control unit 42 performs inference based on the versions of the data sources #1 to #3 in the current environment (current time) stored in the version database 44 and an inference operation table described later stored in the inference control unit 42. to determine the mode of inference operation (mode of inference operation). Determining the mode of the inference operation means determining which one of the inferencers A to C is used for inference, and also determining the type of input information (feature values) to be input to the inferencer.
  • the equipment control unit 43 controls the overall operation of the electronic equipment 21 based on the output information (inference result) of the inference unit supplied from the inference control unit 42 . From the inference control unit 42, the device control unit 43 is supplied with the "degree of risk of delay in Internet communication" as an inference result. In the description of the present technology, for example, when the value of the inference result is large (when it is equal to or greater than a predetermined threshold value), the device control unit 43 causes the display unit (UI: User Interface) (not shown) of the electronic device 21 to display “Internet There is a risk that communication will be disrupted.” will be output. Note that the notification of warning to the user is not limited to a specific method, and the processing of the device control unit 43 based on the result of inference is not limited to notification of warning.
  • the version database 44 aggregates and collectively manages the latest (current environment) versions of each of the data sources #1 to #3.
  • a version of each data source #1 to #3 is represented by a combination of versions of respective components of data sources #1 to #3.
  • the data source is a sensor or communication device, such as data source #1 or #2
  • the version of the data source is the version of each component hardware, firmware, and driver ( hardware version, firmware version, and device driver version).
  • the hardware version is not updated after production, and that the versions of data sources #1 and #2 are each represented by a combination of firmware version and device driver version.
  • the data source is a software component like data source #3, the version of the data source is represented only by the version (software version) of the software (software module) that is the software component.
  • the version database 44 has a mechanism for reading version information (version information) from each data source #1 to #3, or a mechanism for each data source #1 to #3 to write version information to the version database 44, and a version It has a storage unit that holds information.
  • the update of the version information is triggered by some change in built-in functions, such as when the electronic device 21 is started, when the software of the entire electronic device 21 is upgraded, or when a new application is installed. It is assumed that the version database 44 always stores and holds the latest version information.
  • FIG. 5 is a flowchart illustrating the overall flow of inference processing.
  • step S11 the inference control unit 42 performs data source abnormality detection processing.
  • the data source abnormality detection process it is determined whether or not the reference information of the reasoner supplied from the data sources #1 to #3 to the inference control unit 42 conforms to the specifications expected by the developer. done. That is, it is determined whether or not the input information from the data source used for inference is inconsistent with the presupposed input information. As a result, the presence or absence of an abnormality in the data source (data source abnormality) is detected.
  • the result of the data source abnormality detection process is obtained as a combination of two items: "presence or absence of data source abnormality" and "whether inference can be performed". Details of the data source abnormality detection process will be described later with reference to FIG.
  • step S12 the inference control unit 42 performs an inference trial process.
  • the inference trial process based on the result of the data source anomaly detection process in step S11, the aspect of the inference operation (including the case where no inference is performed) is determined, inference is performed accordingly, and the inference result (output from the inference unit information) to the device control unit 43 . Details of the inference trial process will be described later with reference to FIG.
  • step S13 the device control unit 43 performs device control processing.
  • a warning display or the like is performed based on the inference result of the inference trial process in step S12. Details of the device control processing will be described later with reference to FIG.
  • step S14 the inference control unit 42 performs abnormality notification processing.
  • the anomaly notification process information indicating that a data source anomaly has been detected in the data source anomaly detection process of step S11 is transmitted to the information aggregation server 22 and notified to the developer of the inference device. Details of the abnormality notification process will be described later with reference to FIG.
  • FIG. 6 is a flow chart showing an example of the procedure of data source abnormality detection processing.
  • step S31 when an inference request is triggered, the inference control unit 42 inquires of the version database 44 and reads the version information of each of the data sources #1 to #3 that provide reference information to the inference unit. . The process proceeds to step S32.
  • FIG. 7 is a diagram showing an example of a version information list (version information list) read from the version database 44.
  • the version information list records versions of firmware and drivers (firmware version and device driver version) of the acceleration sensor of data source #1 and the wireless LAN device of data source #2.
  • the software version is recorded in the user context information providing module of data source #3. If the data source has multiple components (hardware, firmware, and drivers) such as sensors and communication devices, uniquely identify the operation (specifications) of the data source among those components. Only versions of components that can be used may be recorded in the version information list. Version naming rules can vary from device to device.
  • the inference control unit 42 reads out the support version table held in advance by the inference control unit 42 itself.
  • FIG. 8 is a diagram showing an example of the contents of the support version table.
  • the support version table one or more combinations of versions of data sources #1 to #3 expected (assumed) by the developer are recorded as entries of the support version table.
  • An entry is a classification name of a combination of versions of data sources #1 to #3, and at the same time, represents a type (mode) of inference operation that can be performed by the inference control unit 42.
  • Different types have different entry numbers ( #1, #2, . . . ) are added. However, different entry numbers are allowed for the same type. Therefore, it means that the same type of inference operation is performed for a combination of versions of data sources #1 to #3 belonging to entries with the same entry number.
  • a combination of versions belonging to entries with five entry numbers are recorded as entries #1 to #5, but the number of entries is not limited to this.
  • Each entry #1 to #5 is classified as either "normal inference” or “fallback inference” as the operation type.
  • Normal inference is an inference operation in which input information (feature values) assumed (expected) by the developer is input to the inference machine based on reference information provided by data sources #1 to #3. means.
  • Each version of the data sources #1 to #3 that provide the reference information of the reasoner assumed by the developer is called a guaranteed version.
  • Fallback inference is when any of the data sources #1 to #3 is a non-guaranteed version, and the reference information of the reasoner assumed by the developer is not provided from the data sources #1 to #3 (the developer assumed It means an inference operation that executes inference with accuracy that does not result in a failure (malfunction) as an operation of the electronic device 21 even if the input information (feature amount) to the inference device cannot be obtained. Therefore, a version combination where all of data sources #1 to #3 are guaranteed versions belongs to the entry that performs normal inference. A combination of versions where any one or more of data sources #1 to #3 is not a guaranteed version belongs to the entry that performs fallback inference. However, if any one or more of the data sources #1 to #3 are not guaranteed versions, the combination of versions may not belong to any entry. Since it is not possible, an inference operation of not inferring is performed.
  • entries #1 and #2 are entries for executing normal inference. Indicates that it will be implemented.
  • Entries #3 to #5 are entries for which fallback inference is performed, and fallback inference is performed when the version combination of data sources #1 to #3 is any of entries #3 to #5. represents The description of "*" in the version information of entries #3 to #5 means a wild card, meaning any version other than the guaranteed version whose operation cannot be guaranteed.
  • Entries #3 to #5 of these fallback operations test in advance the case where the developer cannot use all the input information (features) to the reasoner satisfactorily, and then, from the viewpoint of inference accuracy, Recorded as an acceptable combination.
  • the inference control unit 42 collates the support version table of FIG. 8 with the versions of the data sources #1 to #3 of the current environment acquired from the version database 44 in step S31 of FIG. Collation is performed in accordance with the priority determined in advance by the developer. Entries #1 to #5 in the support version table of FIG. 8 have higher priority in ascending order of entry number.
  • step S33 of FIG. 6 the inference control unit 42 determines that, as a result of the collation in step S32, an entry matching the combination of versions of data sources #1 to #3 in the current environment exists in the support version table of FIG. Determine whether or not
  • step S33 If the answer is NO in step S33, the process proceeds to step S34, and the inference control unit 42 obtains the result of "data source error” and "inference impossible".
  • step S35 the inference control unit 42 determines whether or not the operation type of the entry that matches the combination of the versions of the data sources #1 to #3 in the current environment is "normal inference". That is, the inference control unit 42 determines whether the entry that matches the combination of the versions of the data sources #1 to #3 in the current environment is the entry #1 or entry #2 of "normal inference".
  • step S35 If the result in step S35 is NO, the process proceeds to step S36, and the inference control unit 42 obtains the result of "data source abnormal" and "inference possible”. If the result in step S35 is affirmative, the process proceeds to step S37, and the inference control unit 42 obtains a result of "no data source failure" and "inference possible”.
  • the inference control unit 42 passes the determination results obtained in steps S34, S36, or S37 and the entries corresponding to the current environment data sources #1 to #3 to the inference trial process in step S12 of FIG.
  • FIG. 9 is a flow chart showing an example of an inference trial process procedure.
  • step S51 the inference control unit 42 determines whether the determination result of the data source abnormality detection process in FIG. It is determined whether or not there is an error in the source” and “inference is possible”).
  • step S51 determines whether the determination result in the data source abnormality detection process is "inference impossible" or not perform inference (inference skip), and the processing of this flowchart ends.
  • step S53 the inference control unit 42 refers to the inference execution table held by the inference control unit 42 itself.
  • the inference control unit 42 controls the inference operation mode corresponding to the entry detected in the data source abnormality detection process in step S11 (the entry that matches the version combination of the data sources #1 to #3 in the current environment) in the inference execution table. , select (determine) the inference device to be used for inference and the input information (feature values) to be input to the inference device.
  • FIG. 10 is a diagram exemplifying an inference execution table.
  • the inference execution table shows the mode of inference operation corresponding to each entry #1 to #5 of the support version table in FIG.
  • the mode of the inference operation includes the inference device to be used for inference, the types of input information (feature values) to the inference device based on the reference information provided from each data source #1 to #3, the handling thereof, and the inference It shows a judgment threshold (described later) when used in a subsequent stage for the output information (inference output) from the device.
  • the feature amount based on the reference information provided from the acceleration sensor (referred to as the feature amount from the acceleration sensor; hereinafter the same) is three-axis acceleration information (X acceleration, Y acceleration, and Z acceleration).
  • the feature value from the wireless LAN device is information about connection as statistical information obtained from communication with the access point.
  • the information about connection specifically includes reception level, physical layer modulation rate, channel frequency, successful transmission packet count, transmission failure packet count, channel busy rate, and packet retention amount.
  • a standby time length or a transmission/reception time length may be used as a feature amount.
  • the feature amount from the user context information provision module is a numerical value of the home determination result indicating whether or not the environment in which the electronic device 21 currently exists is inside the home. It should be noted that all feature quantities are input as input information to the reasoner after being subjected to appropriate normalization (normalization according to normal distribution or logarithmic normal distribution).
  • each feature amount as input information to the inference unit is shown in three ways: a circle, a triangle, and a cross, corresponding to each of the entries #1 to #5. ing.
  • Features marked with circles are input to the reasoner as usual.
  • the feature values indicated by triangle marks are masked (fixed) to predetermined reserved values and input to the inference unit without using the feature values from data sources #1 to #3.
  • Features marked with a cross are excluded from the input information to the reasoner. Input to the reasoner after being masked with a reserved value indicated by a triangle mark.
  • the inference control unit 42 includes three inferencers A to C.
  • the inference execution table indicates the reasoner used for inference corresponding to each of the entries #1 to #5.
  • reasoner A is used for inference.
  • the reasoner A is an 11-dimensional input reasoner (a reasoner having 11 input nodes) to which all 11 feature quantities shown in FIG. 10 can be input as input information.
  • reasoner A is used (selected) in normal inference performance.
  • reasoner A is used (selected) in performing fallback inference.
  • the presence determination result which is the feature quantity from the user context information providing module, is masked with a reserved value and input to the reasoner A.
  • reasoner B is used for inference.
  • the reasoner B is an 8-dimensional input reasoner capable of inputting, as input information, 8 types of feature values from the guaranteed version data sources #2 and #3 out of all the 11 types of feature values shown in FIG. (a reasoner with 8 input nodes).
  • the accelerometer of data source #1 is the non-guaranteed version, so reasoner B receives three feature quantities (X acceleration, Y acceleration, and Z acceleration) from the accelerometer. does not have one input node.
  • reasoner B is used in the fallback inference implementation and the X, Y, and Z accelerations from the accelerometer are not input to reasoner B.
  • reasoner C is used for inference.
  • the inference unit C can input 10 types of feature values excluding the buffer retention amount, which is one of the feature values from the data source #2 of the guaranteed version, out of all the 11 types of feature values shown in FIG. It is a 10-dimensional input reasoner (a reasoner with 10 input nodes).
  • the wireless LAN device of data source #2 is a non-guaranteed version. does not have
  • the reasoner C can input six feature values excluding the buffer retention amount from the non-guaranteed version of the data source #2 as input information. information) is not input at all. For example, parameters such as reception level, which are officially supported as OS functions, may be guaranteed to operate separately. Acquisition of some of the feature values may be guaranteed.
  • reasoner B is used in performing fallback inference, and the feature quantity from the wireless LAN device of data source #2, the buffer retention amount, is not input to reasoner C. Also, the channel busy rate, which is a feature quantity from the wireless LAN device of data source #2, is masked with a reserved value and input to reasoner C.
  • FIG. 8 The types of entries #1 to #5 shown in FIG. 8 and the types of reasoners A to C corresponding to the entries #1 to #5 shown in FIG. The types are not limited to these examples.
  • a case where inference is executed using all types of predetermined input information is defined as a first operation mode, and inference is performed without using some types of input information among all types of input information.
  • a case of executing inference is defined as a second operation mode, and a case of executing inference by masking some types of input information among all types of input information to a predetermined value is defined as a third operation mode,
  • a fourth mode of operation is when inference is not executed.
  • the inference control unit 42 may include only one or a plurality of inferencers of the type used for inference in the first or third operation modes. It may include one or more of the types of reasoners used for reasoning in two modes of operation, or inferences in both a second mode of operation and a third mode of operation.
  • step S53 of FIG. 9 the inference control unit 42 refers to the inference execution table to determine the inference device to be used for inference and the input information (feature amount processing operation) to the inference device. , the process proceeds to step S54.
  • step S54 the inference control unit 42 generates the feature amount determined in step S53 based on the reference information provided from the data sources #1 to #3, and uses the generated feature amount as input information to determine in step S53. Input to the inference machine. As a result, the inference control unit 42 executes inference. As a result of the inference execution, the inference device outputs a value in the range of 0 to 1, which represents the "degree of risk of Internet communication being disrupted" as an inference result (inference output). The inference result output from the inference unit is supplied from the inference control unit 42 to the device control unit 43, and used in the device control process in step S13 of FIG.
  • the inference control unit 42 determines that the current environment corresponds to entry #3 of the support version table in FIG. 8, and is determined as "fallback inference possible" ("data source abnormal” and "inference possible") Get results. As a result, the inference control unit 42 makes an affirmative determination in step S51 in the inference trial process of FIG. 9, and then refers to the mode of inference operation corresponding to entry #3 in the inference operation table of FIG. As a result, the inference control unit 42 uses the inference device A to perform fallback inference.
  • the inference control unit 42 as the input information to the inference unit A of the 11-dimensional input, for the 10-dimensional feature amount out of the 11-dimensional (11 types) feature amount, the feature amount from the acceleration sensor of the data source #1 X acceleration, Y acceleration, and Z acceleration, which are quantities, and reception level, physical layer modulation rate, channel frequency, transmission success packet count, transmission failure packet count, channel, which are feature quantities from the wireless LAN device of data source #2. Input the busy rate and packet retention amount to the reasoner A.
  • the user context information provision module of data source #3 is a version not covered by security, so the reserved value ( In the form, the value after normalization is assumed to be 0), and the reserved value 0 is input to the reasoner A. This allows fallback inference to be performed.
  • the inference result (output information) is output from the inference unit as the "degree of risk of Internet communication stagnation" as a value in the range of 0 to 1.
  • the inference result output from the inference unit is supplied from the inference control unit 42 to the device control unit 54 and used in the device control process in step S13 of FIG.
  • the input information to be input to the estimator Fallback inferences such as entries #3 and #5 that mask part of the input information (features) to the estimator, and entries #4 and #5 that reduce the input information (features) to the estimator, reduce the reliability of the inference results. point disadvantage.
  • the value (inference output) output from the reasoner as an inference result is a specific judgment such as "the degree of risk of Internet communication being interrupted" ) is true, the greater the inference output, the higher the confidence in the inference result.
  • the reliability of the inference output from the estimator is determined as in fallback inference. is lower than that of normal inference, the reliability of the judgment result with respect to the truth of the judgment, which is the content of inference, can be made equal to that of normal inference by setting the decision threshold higher than that of normal inference.
  • Judgment threshold values recorded corresponding to entries #1 to #5 in the inference operation table of FIG. It represents a determination threshold for determining false, and is determined to a value that makes the reliability of the determination result equivalent for each of the entries #1 to #5.
  • the decision threshold is 0.5, but for entries #3 to #5, where fallback inference is performed, the reliability of the inference output is reduced.
  • the judgment thresholds have been raised to 0.6, 0.6, and 0.8, respectively.
  • a determination threshold corresponding to the entry that determines the mode of the inference operation is supplied and used to determine the truth or falseness of the determination, which is the content of the inference.
  • step S13 Equipment control process (step S13) according to the first embodiment>
  • the device control process according to the first embodiment in step S13 of FIG. 5 will be described. Note that if "inference skip" (step S52 in FIG. 9) is selected in the inference trial process (inference trial moat in FIG. 9) in step S12 in FIG.
  • FIG. 11 is a flow chart showing an example of a procedure for device control processing.
  • the device control unit 43 outputs an inference output from the inference control unit 42, which is a value in the range of 0 to 1 indicating the "degree of risk of delay in Internet communication", and the data source abnormality in step S11.
  • a decision threshold corresponding to the entry detected by the detection process is obtained from the inference control unit 42 .
  • the device control unit 43 determines whether or not the inference output from the inference control unit 42 exceeds the determination threshold.
  • step S71 If the answer in step S71 is NO, the processing of this flowchart ends. If the result in step S71 is affirmative, the process proceeds to step S72, and the device control unit 43 causes a display unit (UI: User Interface) (not shown) to display that "there is a risk that Internet communication will be delayed.” After step S71, the processing of this flowchart ends.
  • the determination threshold is a value adjusted and determined by the developer. Since the optimum decision threshold is selected according to the inference device and the feature amount used for inference, it is guaranteed that the risk of malfunction will not increase regardless of the mode of inference operation.
  • the abnormality notification process is a process in which the inference control unit 42 transmits anomaly notification information such as an anomaly occurrence status of the data source to the developer (the information aggregation server 22 in FIG. 3).
  • Abnormality notification information is transmitted to a server managed by a developer (developer management server), and the information aggregation server 22 in FIG. 2 corresponds to the developer management server.
  • the abnormality notification process may be transmitted to the information aggregation server 22 by the device control unit 43 instead of the inference control unit 42, and is not limited to the case where a specific processing unit performs the abnormality notification process.
  • FIG. 12 is a flow chart showing an example of the procedure for anomaly notification processing.
  • the inference control unit 42 determines whether or not the result of the data source abnormality detection process in step S11 of FIG. 5 (flowchart of FIG. 6) is "data source abnormality". It should be noted that cases where it is determined that "data source is abnormal” include cases where “fallback inference is possible” and cases where "inference is not possible”.
  • step S91 the processing of this flowchart ends. If the determination in step S91 is affirmative, the process proceeds to step S92.
  • step S92 the inference control unit 42 transmits the following contents to the information aggregation server 22 as abnormality notification information.
  • ⁇ Data source error ⁇ Data source type ⁇ Version information list for each data source ⁇ Information that can identify the product (model number, product name) ⁇ When fallback inference is performed, ⁇ Used reasoner ⁇ Used features (including information on the presence or absence of features masked with reserved values) ⁇ Inference output value
  • the electronic device 21 By transmitting the abnormality notification information as described above to the information aggregation server 42, the electronic device 21 as a whole can be A mechanism is provided that can avoid situations where unexpected behavior occurs.
  • the process of step S92 ends, the process of this flowchart ends.
  • the inference can be performed.
  • the mode of operation is switched to prevent the accuracy of the inference result from deteriorating. Therefore, the electronic device 21 that also uses the inference result is prevented from malfunctioning.
  • the configuration example of the information processing system 11 according to the first embodiment in FIG. 3 and the configuration example of the first embodiment in FIG. is common with the configuration example of the electronic device 21 according to the form of . Therefore, the configuration examples of the information processing system and the electronic device according to the second embodiment are as described with reference to FIGS. 3 and 4, and detailed description thereof will be omitted.
  • FIG. 13 is a flow chart showing an example of an inference trial process procedure according to the second embodiment.
  • the inference control unit 42 receives an explicit instruction regarding the inference operation from the information aggregation server 22 in advance before reflecting the result of the data source abnormality detection process in step S11 of FIG. Determines whether it is set to perform an action.
  • the content of "explicit instruction about inference operation" is the inference unit to be used for inference, the feature amount used as input information to the inference unit (including information on whether there is a feature amount to be masked in the reserved value), and the inference output. Contains information on the determination threshold of
  • step S111 If the answer in step S111 is NO, the process proceeds to step S112.
  • Steps S112 to S115 have the same processing content as steps S51 to S54 in FIG. 9, and refer to the inference execution table held by the inference control unit 42 itself to determine the mode of inference operation and perform inference. . A detailed description is omitted.
  • step S111 If the result in step S111 is affirmative, the process proceeds to step S116.
  • step S116 the inference control unit 42 determines whether or not the explicit instruction regarding the inference operation from the information aggregation server 22 is to execute inference. If the result in step S116 is NO, the process proceeds to step S117, and in step S117, the inference control unit 42 does not perform inference (inference skip), and the process of this flowchart ends.
  • step S116 determines (selects) the inference device to be used for inference by the inference device and the feature amount to be used as input information to the inference device according to instructions from the information aggregation server 22 . Processing proceeds from step S118 to step S119.
  • step S119 the feature amount determined in step S118 is generated based on the reference information from data sources #1 to #3, and the generated feature amount is input to the inference unit determined in step S118 as input information.
  • the inference control unit 42 executes inference according to the mode of inference operation specified by the developer (information aggregation server 22).
  • the inference device outputs a value in the range of 0 to 1 indicating the "degree of risk of Internet communication being disrupted" as an inference result (inference output).
  • the inference result output from the inference unit and the determination threshold specified by the information aggregation server 22 are supplied from the inference control unit 42 to the device control unit 43 and used in the device control process in step S13 of FIG.
  • FIG. 14 is a flow chart showing an example of the procedure of abnormality notification processing according to the second embodiment.
  • the inference control unit 42 determines whether or not the result of the data source abnormality detection process in step S11 of FIG. 5 (flow chart of FIG. 6) is "data source abnormality". It should be noted that cases where it is determined that "data source is abnormal” include cases where "fallback inference is possible" and cases where "inference is not possible”.
  • step S131 If the result in step S131 is NO, the process skips step S132 and proceeds to step S133. If the determination in step S131 is affirmative, the process proceeds to step S132.
  • step S132 the inference control unit 42 transmits the following contents to the information aggregation server 22 as abnormality notification information.
  • ⁇ Data source error ⁇ Data source type ⁇ Version information list for each data source #1 to #3 ⁇ Information that can identify the product (model number and product name) ⁇ When fallback inference is performed, ⁇ Used reasoner ⁇ Used feature amount (including information on the presence or absence of the feature amount masked to the reserved value) ⁇ Inference output value
  • step S132 By transmitting the abnormality notification information as described above to the information aggregation server 22, the electronic device 21 as a whole can A mechanism is provided that can avoid situations where unexpected behavior occurs. Processing proceeds from step S132 to step S133.
  • step S133 the inference control unit 42 inquires of the information aggregation server 22 about the following information, and obtains a response.
  • ⁇ Inference operation instructions for this electronic device ⁇ Latest reasoner list ⁇ Latest support version table (with or without)
  • step S133 The difference from the abnormality notification process according to the first embodiment in FIG. 12 is that an inquiry is made in this step S133. Processing proceeds from step S133 to step S134.
  • step S134 the inference control unit 42, based on the response from the information aggregation server 22 to the inquiry in step S133, updates the newly added inference unit data and the latest support version table as necessary. Download and save. Assume, for example, that the inference control unit 42 has added a new inference device to be newly added in the information aggregating server 22 as a result of referring to the response to the inquiry about the “latest inference device list”. In that case, the inference control unit 42 downloads the data of the newly added inference device (data for executing the processing of the inference device) from the information aggregation server 22 and adds the inference device. Similarly, when the inference controller held by the inference control unit 42 has been updated, the data of the updated inference device is similarly downloaded from the information aggregation server 22 to update the inference device. may
  • the inference control unit 42 has updated the support version table to be held by the inference control unit 42 in the information aggregation server 22 as a result of referring to the reply to the inquiry about the "latest support version table".
  • the inference control unit 42 downloads the data of the support version table from the information aggregation server 22 and updates the support version table of the inference control unit 42 to the latest one. Processing proceeds from step S134 to step S135.
  • step S135 the inference control unit 42 saves and sets inference operation instructions in the electronic device 21 as necessary based on the response from the information aggregation server 22 to the inquiry in step S133. For example, the inference control unit 42 determines how the electronic device 21 (the inference control unit 42) should operate when an abnormality in the data source is detected as a result of referring to the response to the inquiry "Inference operation instruction for this electronic device.” Assume that the information aggregation server 22 has given an instruction regarding the mode of the inference operation of . In that case, the inference control unit 42 downloads the inference operation instruction from the information aggregation server 22, stores it, and sets it.
  • the inference control unit 42 receives an explicit instruction on the inference operation from the information aggregation server 22 in step S111 of the flowchart (inference trial processing) of FIG. It is determined that the inference operation is set by the instruction. For example, if the combination of versions of the data sources #1 to #3 in the current environment is not in the support version table held by the inference control unit 42, determination based on the support version table alone will result in inference skipping. However, inference may be possible if confirmation by the developer side can be obtained. Therefore, in this embodiment, the inference control unit 42 executes inference in accordance with the inference operation instruction from the information aggregation server 22 in such a case. After step S135, the processing of this flowchart ends.
  • the response from the information aggregation server 22 to the inquiry from the electronic device 21 (the inference control unit 42) is not always returned immediately. There may be a time lag between the response from 22 to the electronic device 21 .
  • the inference can be performed.
  • the mode of operation is switched to prevent the accuracy of the inference result from deteriorating. Therefore, the electronic device 21 that also uses the inference result is prevented from malfunctioning.
  • the fact is communicated to the developer (information aggregation server 22). is updated to As a result, it becomes possible to respond more flexibly to version updates of each data source.
  • FIG. 3 configuration examples of the information processing system and the electronic device according to the third embodiment are shown in FIG. This configuration is common to the configuration example of the electronic device 21 according to the first and second embodiments. Therefore, the configuration examples of the information processing system and the electronic device according to the third embodiment are as described with reference to FIGS. 3 and 4, and detailed description thereof will be omitted.
  • the data source anomaly detection process and anomaly notification process according to the third embodiment are different from those of the second embodiment. Therefore, only data source abnormality detection processing and abnormality notification processing according to the third embodiment, which are different from the second embodiment, will be described.
  • FIG. 15 is a flow chart showing an example procedure of data source abnormality detection processing according to the third embodiment.
  • the inference control unit 42 continues monitoring the input systems from the data sources #1 to #3 to the inference unit for a certain period of time.
  • the monitoring of the input system from each data source #1 to #3 to the reasoner indicates any of the following aspects.
  • the data source includes dedicated hardware such as sensors and communication devices
  • one or more output signals (data) output from the hardware are sent to the inference unit. This is a mode of monitoring (detecting) an output signal that contributes to input information (feature quantity).
  • the second aspect is when the data source includes dedicated hardware and includes software such as firmware and drivers as in the first aspect, or when the data source includes dedicated hardware such as software modules. is included, and only software is included, one or more signals (data) processed by the software are monitored (detected) for signals that contribute to input information (feature amounts) to the reasoner .
  • a third aspect is when the inference control unit 42 includes a preprocessing unit that generates input information (feature amounts) to the inference unit from a signal (data) supplied as reference information supplied from a data source. , the preprocessing unit detects a signal generated in the process of generating input information (feature amount) to the reasoner or the generated feature amount.
  • the inference control unit 42 continuously detects values of one or a plurality of input series from the data sources #1 to #3 to the inference device according to these first to third modes for a certain period of time. The process proceeds to step S151 or step S152.
  • step S152 the inference control unit 42 compares the value of the input system detected in step S151 with the value of the expected value series (hereinafter referred to as expected value).
  • the expected value indicates the average value of the input sequence values assumed by the developer. Processing proceeds from step S152 to step S153.
  • step S153 the inference control unit 42 determines whether or not there is a data source (feature value) in which the values of the input series detected in step S151 steadily deviate from the expected values.
  • a data source feature value
  • the value of the input system steadily deviates from the expected value for example, the time when the difference (absolute value of the difference) between the value of the input system and the expected value exceeds a predetermined threshold is If it continues longer than a predetermined time, or the number of input system values detected during a certain period of time, the difference (absolute value of the difference) from the expected value is greater than a predetermined threshold
  • a case is shown where the number of input system values that increase is greater than a predetermined ratio.
  • a data source whose input strain value regularly deviates from its expected value is a data source that supplies a signal for that input strain when its value consistently deviates from its expected value. means.
  • step S153 If the result in step S153 is NO, the process proceeds to step S154, and the inference control unit 42 obtains a result of "no data source abnormality" and "inference possible". If the determination in step S153 is affirmative, the process proceeds to step S155.
  • step S155 the inference control unit 42 refers to the inference operation table of FIG. It is determined whether or not there is an entry to be masked in , or an entry to be excluded from the input information to the reasoner.
  • step S155 If the result in step S155 is NO, the process proceeds to step S156, and the inference control unit 42 obtains the result of "data source error” and "inference impossible”. If the result in step S155 is affirmative, the process proceeds to step S157, and the inference control unit 42 obtains a result of "data source abnormal" and "fallback inference possible”.
  • the "channel busy rate" is one of the input information (feature values) from the wireless LAN device to the estimator.
  • the inference control unit 42 refers to the inference operation table of FIG. 10, and selects entry #5 in which the "channel busy rate" acquired from the wireless LAN device is masked with a reserved value as the mode of inference operation. be.
  • the inference control unit 42 obtains the results of "data source anomaly detected” and “fallback inference possible" as data source anomaly detection results.
  • Step S14 A procedure example of the abnormality notification process according to the third embodiment is substantially the same as the flowchart of FIG. 14 showing an abnormality notification process procedure example in the second embodiment.
  • the inference control unit 42 adds the following information to the information aggregation server 22. ⁇ Values (raw sample values) detected from the input series of the data source where the anomaly was detected (the input series where regular deviations from the expected values were detected)
  • the inference can be performed.
  • the mode of operation is switched to prevent the accuracy of the inference result from deteriorating. Therefore, the electronic device 21 that also uses the inference result is prevented from malfunctioning.
  • the data source abnormality detection process according to the third embodiment can also be applied to the first embodiment, and instead of detecting data source abnormality based on the data source version, It may be detected by the value of the input system from the data source to the reasoner.
  • the device control processing in step S13 and the abnormality notification processing in step S14 may be performed in any order, and may be performed in parallel.
  • the sensor device that can be the data source in FIG. 4 is not limited to the acceleration sensor, and may be any sensor such as an imaging device, a microphone, a touch sensor, a temperature sensor, a humidity sensor, a geomagnetic sensor, and a millimeter wave radar. .
  • Communication devices that can be data sources in FIG. 4 are not limited to wireless LAN devices, but are : Infrared Data Association), UWB®, Zigbee®, WiGig®, etc., any communication device.
  • the external software module that can be the data source in FIG. 4 may include an inference device other than the inference devices A to C of the inference control unit 42, and output the result as reference information.
  • the hardware version is used as the version information of the data source. may be included.
  • the abnormality notification information may be transmitted to the information aggregation server 22 via the PC.
  • the version of the user context information providing module of data source #3 in FIG. 4 is part of the OS (operating system) and does not have version information by itself, the version of the user context information providing module is version can be substituted.
  • (9) In the data source anomaly detection process according to the third embodiment shown in the flowchart of FIG. may be provided with a plurality of expected value sequences used in anomaly detection for comparing .
  • the inference control unit 42 uses a plurality of expected value sequences together with additional information for classifying situations and use cases, and performs anomaly detection using the expected value sequences corresponding to the situations and use cases.
  • the inference control unit 42 may transmit values (raw sample values) detected from the input series of all data sources to the information aggregation server 22. .
  • a series of processes in the electronic device 21 described above can be executed by hardware or by software.
  • a program that constitutes the software is installed in the computer.
  • the computer includes, for example, a computer built into dedicated hardware and a general-purpose personal computer capable of executing various functions by installing various programs.
  • FIG. 16 is a block diagram showing a hardware configuration example of a computer that executes the series of processes described above by a program.
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • An input/output interface 205 is further connected to the bus 204 .
  • An input unit 206 , an output unit 207 , a storage unit 208 , a communication unit 209 and a drive 210 are connected to the input/output interface 205 .
  • the input unit 206 consists of a keyboard, mouse, microphone, and the like.
  • the output unit 207 includes a display, a speaker, and the like.
  • the storage unit 208 is composed of a hard disk, a nonvolatile memory, or the like.
  • a communication unit 209 includes a network interface and the like.
  • a drive 210 drives a removable medium 211 such as a magnetic disk, optical disk, magneto-optical disk, or semiconductor memory.
  • the CPU 201 loads, for example, a program stored in the storage unit 208 into the RAM 203 via the input/output interface 205 and the bus 204 and executes the above-described series of programs. is processed.
  • the program executed by the computer (CPU 201) can be provided by being recorded on removable media 211 such as package media, for example. Also, the program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
  • the program can be installed in the storage section 208 via the input/output interface 205 by loading the removable medium 211 into the drive 210 . Also, the program can be received by the communication unit 209 and installed in the storage unit 208 via a wired or wireless transmission medium. In addition, programs can be installed in the ROM 202 and the storage unit 208 in advance.
  • the program executed by the computer may be a program that is processed in chronological order according to the order described in this specification, or may be executed in parallel or at a necessary timing such as when a call is made. It may be a program in which processing is performed.
  • An information processing apparatus comprising: a processing unit that performs inference based on input information, the processing unit switching an operation mode of the inference when a mismatch occurs between the input information and presupposed input information. .
  • a first operation mode is a case where the inference is executed using all the types of the input information determined in advance, and without using some types of the input information among all the types of the input information.
  • a case where the inference is executed is defined as a second operation mode, and a case where the inference is executed by masking some types of the input information out of all the types of the input information with a predetermined value.
  • a third mode of operation, and a fourth mode of operation when the inference is not executed The processing unit executes the inference in the first operation mode when the inconsistency does not occur, and executes the inference in one of the second to fourth operation modes when the inconsistency occurs.
  • the information processing apparatus according to (1) above.
  • the processing unit includes a first reasoner used for the reasoning in the first or third operation mode, the reasoning in the second operation mode, or the second operation mode, The information processing apparatus according to (2) or (3), further including a second reasoner used for the reasoning in the third operation mode.
  • the information processing apparatus determines that the inconsistency has occurred when the version of the data source that provides the input information is different from one or more versions assumed in advance, any of (1) to (5). 1.
  • the information processing device according to claim 1.
  • the information processing apparatus wherein the data sources are sensors, communication devices, or software components.
  • the version of the data source is specified by a combination of a plurality of versions of hardware, firmware, and device drivers, which are components of the data source.
  • the processing unit determines whether the mismatch has occurred based on a comparison between a value of an input system through which a signal contributing to the input information flows from a data source providing the input information and a predetermined expected value.
  • the information processing apparatus according to any one of (1) to (8).
  • the processing unit predicts, as an inference result, a degree of certainty that a specific judgment is true based on the inference.

Abstract

The present technology relates to an information processing device, an information processing method, and a program that make it possible to prevent an erroneous operation due to execution of an inference using unintended input information. An inference is executed on the basis of input information, and if there is an inconsistency between the input information and predicted input information, the inference operation mode is switched.

Description

情報処理装置、情報処理方法、及び、プログラムInformation processing device, information processing method, and program
 本技術は、情報処理装置、情報処理方法、及び、プログラムに関し、特に、意図しない入力情報により推論を実行したことによる誤動作を抑止できるようにした情報処理装置、情報処理方法、及び、プログラムに関する。 The present technology relates to an information processing device, an information processing method, and a program, and more particularly to an information processing device, an information processing method, and a program that can prevent malfunction due to execution of inference based on unintended input information.
 特許文献1には、ファームウェアとドライバとの間のバージョン不整合を検知した場合に、それらのバージョンが正しい組み合わせとなるようアップ/ダウングレードして期待の動作となるようにする仕組みが提案されている。 Japanese Patent Laid-Open No. 2002-200001 proposes a mechanism that, when a version mismatch between firmware and a driver is detected, upgrades/downgrades the versions to a correct combination so that the expected operation can be performed. there is
特願2017-28930号Japanese Patent Application No. 2017-28930
 意図しない入力情報により推論を実行した場合、推論結果の精度が低下し、装置の誤動作を招くおそれがある。 If inference is performed with unintended input information, the accuracy of the inference results may decrease and the device may malfunction.
 本技術はこのような状況に鑑みてなされたものであり、意図しない入力情報により推論を実行したことによる誤動作を抑止できるようにする。 This technology has been developed in view of this situation, and is designed to prevent malfunctions caused by executing inferences based on unintended input information.
 本技術の情報処理装置、又は、プログラムは、入力情報に基づいて推論を実行する処理部であって、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える処理部を有する情報処理装置、又は、そのような情報処理装置として、コンピュータを機能させるためのプログラムである。 The information processing device or program of the present technology is a processing unit that executes inference based on input information, and when a mismatch occurs between the input information and input information assumed in advance, the inference or a program for causing a computer to function as such an information processing apparatus.
 本技術の情報処理方法は、処理部を有する情報処理装置の前記処理部が、入力情報に基づいて推論を実行し、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える情報処理方法である。 In the information processing method of the present technology, the processing unit of an information processing device having a processing unit executes inference based on input information, and when a mismatch occurs between the input information and presupposed input information Secondly, it is an information processing method for switching the operation mode of the inference.
 本技術の情報処理装置、情報処理方法、及びプログラムにおいては、入力情報に基づいて推論が実行され、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様が切り替えられる。 In the information processing device, information processing method, and program of the present technology, inference is executed based on input information, and when a mismatch occurs between the input information and input information assumed in advance, the inference is performed. The operation mode is switched.
推論器の開発者が想定する電子機器の適正な運用状況を説明する図である。FIG. 4 is a diagram for explaining a proper operating state of an electronic device assumed by a developer of an inference device; 実際の運用状況を説明する図である。It is a figure explaining the actual operation condition. 本技術の第1の実施の形態に係る情報処理システムの構成例を示した図である。It is a figure showing an example of composition of an information processing system concerning a 1st embodiment of this art. 電子機器の内部の構成例を示したブロック図である。2 is a block diagram showing an example of the internal configuration of an electronic device; FIG. 推論処理の全体の流れを例示したフローチャートである。10 is a flowchart illustrating the overall flow of inference processing; 第1の実施の形態に係るデータソース異常検出処理の手順例を示したフローチャートである。6 is a flow chart showing an example procedure of data source abnormality detection processing according to the first embodiment; バージョン情報リストの一例を示した図である。FIG. 10 is a diagram showing an example of a version information list; サポートバージョンテーブルの内容の一例を示した図である。FIG. 11 is a diagram showing an example of the contents of a support version table; 第1の実施の形態に係る推論試行処理の手順例を示したフローチャートである。7 is a flow chart showing an example of an inference trial process procedure according to the first embodiment; 推論実行テーブルを例示した図である。FIG. 11 is a diagram illustrating an inference execution table; 第1の実施の形態に係る機器制御処理の手順例を示したフローチャートである。6 is a flow chart showing an example of a procedure of device control processing according to the first embodiment; 第1の実施の形態に係る異常通知処理の手順例を示したフローチャートである。6 is a flow chart showing an example of a procedure of abnormality notification processing according to the first embodiment; 第2の実施の形態に係る推論試行処理の手順例を示したフローチャートである。FIG. 11 is a flow chart showing an example of an inference trial process procedure according to the second embodiment; FIG. 第2の実施の形態に係る異常通知処理の手順例を示したフローチャートである。FIG. 11 is a flow chart showing an example of a procedure of abnormality notification processing according to the second embodiment; FIG. 第3の実施の形態に係るデータソース異常検出処理の手順例を示したフローチャートである。FIG. 11 is a flow chart showing an example procedure of data source abnormality detection processing according to the third embodiment; FIG. 一連の処理をプログラムにより実行するコンピュータのハードウェアの構成例を示すブロック図である。FIG. 2 is a block diagram showing a hardware configuration example of a computer that executes a series of processes by a program;
 以下、図面を参照しながら本技術の実施の形態について説明する。 Embodiments of the present technology will be described below with reference to the drawings.
<<本技術が解決する課題>>
 昨今のインテリジェント機器(電子機器という)は、様々なセンサ類・通信デバイス類と、そこから得られる情報を元に、よりユーザにとって快適な動作となるようにアシストするための推論器(AI:artificial intelligence)が搭載されている。その推論器には、開発者が想定する仕様に則った1又は複数の特徴量が入力情報として入力され、推論器からは、入力情報の仕様を前提とした推論結果が出力情報として出力される。
<<Problems to be solved by this technology>>
Today's intelligent equipment (called electronic equipment) consists of various sensors, communication devices, and reasoning devices (AI: artificial intelligence) is installed. One or more feature values conforming to the specifications assumed by the developer are input to the inference machine as input information, and the inference results based on the specifications of the input information are output as output information from the inference machine. .
 一方で、電子機器に搭載されるセンサ類や通信デバイス類といった各コンポーネントは、それぞれ独立にアップデートされることがありうる。コンポーネントのアップデートとは、ハードウェアが更新(変更も含む)される場合と、ハードウェアを動作させるファームウェアやドライバソフトウェア(以下、ドライバという)等のソフトウェアが更新(変更も含む)される場合が含まれる。推定器の開発者が与り知らないところで、センサ類及び通信デバイス類の一部がアップデートされると、推論器への入力情報(特徴量)の仕様に適合せず、推論器からの出力情報(推論結果)の精度低下のリスクとなる。このリスクは、推論結果の用途によっては機器全体の誤動作のリスクにもつながりうる課題である。 On the other hand, each component such as sensors and communication devices installed in electronic equipment may be updated independently. Component updates include cases where hardware is updated (including changes), and cases where software such as firmware and driver software (hereinafter referred to as drivers) that operate hardware are updated (including changes). be If some sensors and communication devices are updated without the knowledge of the estimator developer, the input information (feature values) to the inference machine will not meet the specifications, and the output information from the inference machine There is a risk of deterioration in the accuracy of (inference results). This risk is a problem that can lead to the risk of malfunction of the entire device depending on the use of the inference result.
 図1は、推論器の開発者が想定する電子機器の適正な運用状況を説明する図である。図1において、開発者が想定する電子機器は、推論器を有し、推論器への入力情報を提供するコンポーネントとして、例えば、図中に示すセンサ類(センサデバイス類)、他のソフトウェアモジュール、及び通信デバイス類を有する。他のソフトウェアモジュールとは、センサ類及び通信デバイス類に関するソフトウェア(ファームウェアやドライバ)以外のソフトウェアであり、電子機器が本体の構成要素として有するCPU(Central Processing Unit)やメモリ等を含むハードウェアにより実行されるプログラムを含む複数種類のソフトウェアモジュールのうち、推論器への入力情報(特徴量)を提供するソフトウェアモジュールを表す。以下、他のソフトウェアモジュールを単にソフトウェアモジュールという。推論器には、例えば、センサ類で計測された計測値、ソフトウェアモジュールが取得した演算結果やユーザの操作履歴、及び通信デバイス類が取得した統計量等のデータが参照情報として供給される。参照情報は、推論器の入力の仕様に適合化されて入力情報(特徴量)として推論器に入力される。推論器は、入力情報に基づいて所定の推論内容に関して予測し、そのサジェスト結果(推論結果)を出力情報として出力する。本技術の説明では、電子機器は外部装置との間でインターネットを介した通信(インターネット通信)を行うこととする。このとき、所定の推論内容は、「インターネット通信が滞る状況が発生するリスクがある」(以下、「インターネット通信が滞るリスクがある」という)という判断が真であるとすることに対する確信度(「インターネット通信が滞るリスクの度合い」)とする。確信度は0乃至1の範囲の値とする。 Fig. 1 is a diagram explaining the proper operational status of an electronic device assumed by the developer of the reasoner. In FIG. 1, the electronic device assumed by the developer has a reasoner, and as components that provide input information to the reasoner, for example, sensors (sensor devices) shown in the figure, other software modules, and communication devices. Other software modules are software other than software (firmware and drivers) related to sensors and communication devices, and are executed by hardware including CPU (Central Processing Unit), memory, etc. that electronic devices have as components of the main body. It represents the software module that provides input information (feature values) to the inferrer, among multiple types of software modules that include the program to be executed. Other software modules are hereinafter simply referred to as software modules. Data such as measured values obtained by sensors, calculation results obtained by software modules, user operation history, and statistics obtained by communication devices, for example, are supplied to the reasoner as reference information. The reference information is adapted to the input specifications of the reasoner and input to the reasoner as input information (feature quantity). The reasoner makes predictions about predetermined content of inference based on input information, and outputs the suggestion result (inference result) as output information. In the description of the present technology, an electronic device performs communication (Internet communication) with an external device via the Internet. At this time, the predetermined content of inference is the degree of confidence (" degree of risk of Internet communication delays”). Confidence is a value between 0 and 1.
 センサ類、ソフトウェアモジュール、及び通信デバイス類等の各コンポーネントには、それぞれ改訂の段階があり、改訂の段階を表すバージョンが付されている。図1のように、例えば、開発者が推論器を開発した際のセンサ類、ソフトウェアモジュール、及び通信デバイス類のバージョンが、それぞれバージョンV.1.1.5、バージョンV.1.0.6、及びバージョンV.1.0.2であったとする。このとき開発者は、それぞれのバージョンのセンサ類、ソフトウェアモジュール、及び通信デバイス類の仕様、並びに推論結果の用途等に基づいて、推論器に入力する入力情報(特徴量)と、推論器から出力する出力情報(推論内容)とを決定する。推論器は、例えば、ニューラルネットワーク(ディープニューラルネットワーク)の構造を有する推論モデルに従った演算処理を実行する。推論モデルは、推論器として電子機器で使用される前に、事前に学習されて推論モデルが有する重みやバイアス等のパラメータが決定されている。 Each component such as sensors, software modules, and communication devices has a revision stage, and a version indicating the revision stage is attached. As shown in FIG. 1, for example, the versions of sensors, software modules, and communication devices when a developer develops a reasoner are version V.1.1.5, version V.1.0.6, and version V. .1.0.2. At this time, the developer determines the input information (feature values) to be input to the inference machine and the output Determine the output information (inference content) to be used. The reasoner performs arithmetic processing according to an inference model having, for example, a neural network (deep neural network) structure. An inference model is learned in advance and parameters such as weights and biases of the inference model are determined before it is used as an inference device in an electronic device.
 機器の実際の運用時において、センサ類、ソフトウェアモジュール、及び通信デバイス類のそれぞれのバージョンが、開発者が想定したバージョンと一致している場合には、推論器からは、適切な出力情報(推論結果)が出力される。 During the actual operation of the device, if the versions of sensors, software modules, and communication devices match the versions assumed by the developer, the inference device outputs appropriate output information (inference result) is output.
 図2は、図1に対して実際の運用状況を説明する図である。機器の実際の運用時において、推論器への入力情報を提供するセンサ類、ソフトウェアモジュール、及び通信デバイス類のいずれかのコンポーネントがアップデートされてバージョンが変更された場合、アップデートされたコンポーネントの出力の仕様が変更される場合がある。その場合、アップデートされたコンポーネントからの参照情報が、推論器の開発者が想定した参照情報と異なることが生じうる。図2において、例えばソフトウェアモジュールのバージョンが、バージョンアップにより図1でのバージョンV.1.0.6に対してバージョンV.2.0.0に変更されている。このような場合に、バージョンV.2.0.0のソフトウェアジュールの出力(参照情報)の仕様が変更されると、推論器への入力情報(特徴量)の一部が不適合となり(想定された入力情報との不整合が生じ)、推論器が出力する出力情報(推論結果)の精度が低下する。推論結果の精度の低下は、電子機器全体の誤動作を招く可能性がある。  Fig. 2 is a diagram for explaining the actual operation situation with respect to Fig. 1. During the actual operation of the device, if any of the components of sensors, software modules, and communication devices that provide input information to the reasoner are updated and the version is changed, the output of the updated component Specifications subject to change. In that case, the reference information from the updated component may differ from the reference information assumed by the reasoner developer. In FIG. 2, for example, the version of the software module is changed from version V.1.0.6 in FIG. 1 to version V.2.0.0 due to version upgrade. In such a case, if the specification of the output (reference information) of the software module of version V.2.0.0 is changed, some of the input information (feature values) to the reasoner will become incompatible (assumed input information), and the accuracy of the output information (inference result) output by the inference device decreases. A decrease in the accuracy of the inference results may lead to malfunction of the entire electronic device.
 先行技術文献(特許文献1:特願2017-28930号)では、ファームウェアとドライバとの間のバージョン不整合を検知した場合には、それらのバージョンが正しい組み合わせとなるようアップ/ダウングレードして期待の動作となるようにする仕組みを提供している。しかしながら、これはデバイス単体で正しく動作することを保証しているだけであり、それを利用した推論器との連携は考慮されておらず、その仕様が推論器の開発者の想定と異なっている場合には、前述の問題が解決しない。 In the prior art document (Patent Document 1: Japanese Patent Application No. 2017-28930), when a version inconsistency between the firmware and the driver is detected, the versions are expected to be upgraded/downgraded to a correct combination. It provides a mechanism to make it work. However, this only guarantees that the device will work properly on its own, and it does not take into consideration the linkage with the inference machine that uses it, and the specifications are different from the assumptions of the inference machine developers. In some cases, the aforementioned problems persist.
 本技術では、推論器に対して意図(想定)しない入力情報が入力される状態を検出し、状況に応じて推論動作(推論処理)の態様を変化させることで電子機器の誤動作を抑止するフェイルセーフの仕組みを提供する。 This technology detects a state in which unintended (assumed) input information is input to the inference device, and changes the mode of inference operation (inference processing) according to the situation, thereby preventing malfunction of the electronic device. Provide a safe mechanism.
<<本技術の第1の実施の形態>>
<第1の実施の形態に係る情報処理システムの構成例>
 図3は、本技術の第1の実施の形態に係る情報処理システムの構成例を示した図である。図3において、情報処理システム11は、電子機器21と情報集約サーバ22とを有する。電子機器21と情報集約サーバ22とは、インターネットを介して通信可能に接続される。なお、本技術の説明では、電子機器21と情報集約サーバ22とを通信接続する通信回線は、インターネットであるとするが、任意の通信回線であってよい。
<<First embodiment of the present technology>>
<Configuration example of information processing system according to first embodiment>
FIG. 3 is a diagram showing a configuration example of an information processing system according to the first embodiment of the present technology. In FIG. 3, the information processing system 11 has an electronic device 21 and an information aggregation server 22 . The electronic device 21 and the information aggregation server 22 are communicably connected via the Internet. In the description of the present technology, the communication line that connects the electronic device 21 and the information aggregation server 22 is assumed to be the Internet, but any communication line may be used.
 電子機器21は、例えば、ユーザが所有するスマートフォン、PC(personal computer)、モバイルPC、タブレット等のような端末機器であり、図1及び図2に示した電子機器に相当する。なお、電子機器21は特定の種類に限定されず、任意の種類の情報処理装置であってよい。本技術の説明では、電子機器21は、「インターネット通信が滞るリスクの度合い」を推論する推論器を有することとする。ただし、推論器の推論内容はこれに限らない。 The electronic device 21 is, for example, a terminal device such as a smartphone owned by a user, a PC (personal computer), a mobile PC, a tablet, etc., and corresponds to the electronic device shown in FIGS. Note that the electronic device 21 is not limited to a specific type, and may be any type of information processing device. In the description of the present technology, the electronic device 21 is assumed to have an inferring device that infers “the degree of risk of Internet communication being disrupted”. However, the inference content of the inference device is not limited to this.
 情報集約サーバ22は、推論器の開発者がアクセス可能なサーバ装置であり、電子機器21に搭載された推論器に関連する情報の収集及び提供等を行う。推論器の開発者は、推論器の動作に関する指示を含む指示情報を情報集約サーバ22を介して電子機器21に提供することができる。 The information aggregation server 22 is a server device that can be accessed by the developer of the reasoner, and collects and provides information related to the reasoner installed in the electronic device 21 . A reasoner developer can provide instruction information, including instructions regarding the operation of the reasoner, to the electronic device 21 via the information aggregation server 22 .
<電子機器の構成例>
 図4は、図3の電子機器21の内部の構成例を示したブロック図である。図4において、電子機器21は、データソース41-1乃至41-3(データソース#1乃至#3)、推論制御部42、機器制御部43、及びバージョンデータベース44を有する。
<Configuration example of electronic device>
FIG. 4 is a block diagram showing an internal configuration example of the electronic device 21 of FIG. 4, the electronic device 21 has data sources 41-1 to 41-3 (data sources #1 to #3), an inference control section 42, a device control section 43, and a version database 44. FIG.
 データソース41-1乃至41-3(#1乃至#3)は、電子機器21が有するコンポーネントのうち、推論制御部42が有する推論器への入力情報(推論のための入力情報)を生成するための参照情報(以下、推論器の参照情報ともいう)を提供するコンポーネントを表す。本技術の説明では、例として、電子機器21は、3つのデータソース41-1乃至41-3(#1乃至#3)を有することとするが、データソースの数はこれに限らない。なお、以下において、データソース41-1乃至41-3をデータソース番号を用いてそれぞれデータソース#1乃至#3で表す。 The data sources 41-1 to 41-3 (#1 to #3) generate input information (input information for inference) to the inference device of the inference control unit 42 among the components of the electronic device 21. It represents a component that provides reference information for (hereinafter also referred to as reasoner reference information). In the description of the present technology, as an example, the electronic device 21 has three data sources 41-1 to 41-3 (#1 to #3), but the number of data sources is not limited to this. In the following, the data sources 41-1 to 41-3 are represented by data sources #1 to #3 using data source numbers.
 データソース#1乃至#3は、それぞれ、センサ類である所定のセンサデバイス、通信デバイス類である所定の通信デバイス、及びソフトウェアコンポーネントである所定のソフトウェアモジュールであるとする。 Data sources #1 to #3 are assumed to be a predetermined sensor device that is a sensor type, a predetermined communication device that is a communication device type, and a predetermined software module that is a software component, respectively.
 データソース#1のセンサデバイスは、本技術の説明では、具体例として、加速度センサのハードウェア、ファームウェア、及びドライバであるとする。加速度センサのハードウェアは、加速度センサの物理的な構成要素である。加速度センサのファームウェアは、加速度センサのハードウェアに組み込まれてハードウェアの動作を制御するソフトウェアである。加速度センサのドライバは、加速度センサに関連するソフトウェアであり、電子機器21の本体側のハードウェア(CPU等)で実行されるソフトウェアである。加速度センサのドライバは、例えば、加速度センサのファームウェアを介したハードウェアの制御や、加速度センサのハードウェア及びファームウェアから提供される信号に基づいて加速度の測定値の算出及び出力処理等を行う。なお、加速度センサのハードウェア、ファームウェア、及びドライバを含めて単に加速度センサという。 In the description of this technology, the sensor device of data source #1 is, as a specific example, acceleration sensor hardware, firmware, and drivers. The acceleration sensor hardware is the physical component of the acceleration sensor. The firmware of the acceleration sensor is software incorporated in the hardware of the acceleration sensor and controlling the operation of the hardware. The acceleration sensor driver is software related to the acceleration sensor, and is software executed by hardware (such as a CPU) on the main body side of the electronic device 21 . The acceleration sensor driver performs, for example, hardware control via the acceleration sensor firmware, and calculation and output processing of acceleration measurement values based on signals provided from the acceleration sensor hardware and firmware. Note that the hardware, firmware, and driver of the acceleration sensor are simply referred to as the acceleration sensor.
 データソース#2の通信デバイスは、本技術の説明では、具体例として、無線LAN(Local Area Network)デバイスのハードウェア、ファームウェア、及びドライバであるとする。無線LANデバイスのハードウェアは、無線LANデバイスの物理的な構成要素であり、無線LANデバイスのファームウェアは、無線LANデバイスのハードウェアに組み込まれてハードウェアの動作を制御するソフトウェアである。無線LANデバイスのドライバは、無線LANデバイスに関連するソフトウェアであり、電子機器21の本体側のハードウェアで実行されるソフトウェアである。無線LANデバイスのドライバは、例えば、無線LANデバイスのファームウェアを介したハードウェアの制御や、無線LANデバイス及び電子機器21の本体側の処理部との通信データのやり取り、通信接続の制御等を行う。なお、無線LANデバイスのハードウェア、ファームウェア、及びドライバを含めて単に無線LANデバイスという。 In the description of this technology, the communication device of data source #2 is, as a specific example, the hardware, firmware, and driver of a wireless LAN (Local Area Network) device. The hardware of a wireless LAN device is a physical component of the wireless LAN device, and the firmware of the wireless LAN device is software incorporated in the hardware of the wireless LAN device to control the operation of the hardware. The wireless LAN device driver is software related to the wireless LAN device, and is software executed by hardware on the main body side of the electronic device 21 . The driver of the wireless LAN device, for example, controls hardware via the firmware of the wireless LAN device, exchanges communication data with the wireless LAN device and processing units on the main body side of the electronic device 21, and controls communication connection. . The hardware, firmware, and driver of a wireless LAN device are simply referred to as a wireless LAN device.
 データソース#3のソフトウェアモジュールは、本技術の説明では、具体例として、ユーザコンテキスト情報提供モジュールであるとする。ユーザコンテキスト情報提供モジュールは、電子機器21の本体側のハードウェアで実行されるソフトウェアである。ユーザコンテキスト情報提供モジュールは、例えば、電子機器21の過去の操作履歴や移動履歴などを参照して、今現在の電子機器21が置かれている無線環境が自宅であるのか否かを算出する。なお、ユーザコンテキスト情報提供モジュールは、独立した1つのアプリケーションであってもよいし、いずれかのアプリケーションに組み込まれたソフトウェアモジュールであってもよいし、オペレーティングシステムの一部であってもよい。 In the description of this technology, the software module of data source #3 is assumed to be a user context information provision module as a specific example. The user context information providing module is software executed by hardware on the main body side of the electronic device 21 . The user context information providing module, for example, refers to the past operation history and movement history of the electronic device 21, and calculates whether or not the wireless environment in which the electronic device 21 is currently placed is home. The user context information providing module may be an independent application, a software module incorporated in any application, or a part of the operating system.
 推論制御部42は、データソース#1乃至#3からの参照情報に対して、正規化等の事前処理を施した後、内包する推論器(推論器A乃至C)に入力情報(特徴量)として入力する。推論器は、入力された入力情報に基づいて、「インターネット通信が滞るリスクの度合い」を予測(推定)し、出力情報(推論結果)としてその度合いに対応した0乃至1の範囲の値を出力する。推論制御部42は、推論器の出力情報(推論結果)を機器制御部43に供給する。推論制御部42は、1又は複数の推論器A乃至Cを内包することができる。図3では、3つの推論器A乃至Cが推論制御部42に内包される場合が例示されているが、推論器は3つの場合に限らず、1つの場合や2つ以上の場合であってもよい。推論制御部42は、バージョンデータベース44に記憶されている現環境(現時点)のデータソース#1乃至#3のそれぞれのバージョンと、推論制御部42に記憶されている後述の推論動作テーブルとに基づいて、推論動作の態様(推論の動作態様)を決定する。推論動作の態様を決定するとは、推論器A乃至Cのうち、推論に用いる推論器を決定し、かつ、推論器に入力する入力情報(特徴量)の種類等を決定することを意味する。 The inference control unit 42 performs preprocessing such as normalization on the reference information from the data sources #1 to #3, and then supplies input information (feature amounts) to the included inference units (inference units A to C). Enter as The reasoner predicts (estimates) the "degree of risk of Internet communication being disrupted" based on the input information, and outputs a value in the range of 0 to 1 corresponding to that degree as output information (inference result). do. The inference control unit 42 supplies output information (inference result) of the inference unit to the equipment control unit 43 . The inference control unit 42 can include one or more reasoners A to C. FIG. 3 illustrates the case where three inferencers A to C are included in the inference control unit 42, but the number of inferencers is not limited to three, and may be one or two or more. good too. The inference control unit 42 performs inference based on the versions of the data sources #1 to #3 in the current environment (current time) stored in the version database 44 and an inference operation table described later stored in the inference control unit 42. to determine the mode of inference operation (mode of inference operation). Determining the mode of the inference operation means determining which one of the inferencers A to C is used for inference, and also determining the type of input information (feature values) to be input to the inferencer.
 機器制御部43は、推論制御部42から供給された推論器の出力情報(推論結果)に基づいて、電子機器21の全体の動作を制御する。機器制御部43には、推論制御部42から、「インターネット通信が滞るリスクの度合い」が推論結果として供給される。本技術の説明では、例えば、推論結果の値が大きい(所定の閾値以上の場合)場合に、機器制御部43が、電子機器21が有する不図示の表示部(UI:User Interface)に「インターネット通信が滞るリスクがある」旨の警告を出力することとする。なお、ユーザへの警告の通知は特定の方法に限定されず、かつ、推論結果に基づく機器制御部43の処理は、警告の通知に限らない。 The equipment control unit 43 controls the overall operation of the electronic equipment 21 based on the output information (inference result) of the inference unit supplied from the inference control unit 42 . From the inference control unit 42, the device control unit 43 is supplied with the "degree of risk of delay in Internet communication" as an inference result. In the description of the present technology, for example, when the value of the inference result is large (when it is equal to or greater than a predetermined threshold value), the device control unit 43 causes the display unit (UI: User Interface) (not shown) of the electronic device 21 to display “Internet There is a risk that communication will be disrupted." will be output. Note that the notification of warning to the user is not limited to a specific method, and the processing of the device control unit 43 based on the result of inference is not limited to notification of warning.
 バージョンデータベース44は、各データソース#1乃至#3のそれぞれの最新(現環境)のバージョンを集約して一括で管理する。各データソース#1乃至#3のバージョンは、データソース#1乃至#3のそれぞれの構成要素のバージョンの組合せにより表される。例えば、データソース#1又は#2のようにデータソースがセンサ類又は通信デバイス類である場合には、そのデータソースのバージョンは、構成要素であるハードウェア、ファームウェア、及びドライバのそれぞれのバージョン(ハードウェアバージョン、ファームウェアバージョン、及びデバイスドライババージョン)のうちの製品後に更新(変更)可能なバージョンの組合せにより表される。本技術の説明では、ハードウェアバージョンは製品後に更新されないこととし、データソース#1及び#2のバージョンは、それぞれ、ファームウェアバージョンとデバイスドライババージョンとの組合せで表されることとする。データソース#3のようにデータソースがソフトウェアコンポーネントである場合には、そのデータソースのバージョンは、ソフトウェアコンポーネントであるソフトウェア(ソフトウェアモジュール)のバージョン(ソフトウェアバージョン)のみにより表される。 The version database 44 aggregates and collectively manages the latest (current environment) versions of each of the data sources #1 to #3. A version of each data source #1 to #3 is represented by a combination of versions of respective components of data sources #1 to #3. For example, if the data source is a sensor or communication device, such as data source #1 or #2, the version of the data source is the version of each component hardware, firmware, and driver ( hardware version, firmware version, and device driver version). In the description of the present technology, it is assumed that the hardware version is not updated after production, and that the versions of data sources #1 and #2 are each represented by a combination of firmware version and device driver version. If the data source is a software component like data source #3, the version of the data source is represented only by the version (software version) of the software (software module) that is the software component.
 バージョンデータベース44は、各データソース#1乃至#3からそれらのバージョンの情報(バージョン情報)を読み出す仕組み、又は、各データソース#1乃至#3がバージョンデータベース44にバージョン情報を書き込む仕組みと、バージョン情報を保持しておく記憶部を有する。バージョン情報の更新は、電子機器21の起動時、電子機器21の全体のソフトウェアのバージョンアップ時、又は、新規アプリケーションのインストール時など、内蔵の機能に何らかの変化が起きたことをトリガとして行われ、バージョンデータベース44には、常に最新のバージョン情報が記憶保持されているものとする。 The version database 44 has a mechanism for reading version information (version information) from each data source #1 to #3, or a mechanism for each data source #1 to #3 to write version information to the version database 44, and a version It has a storage unit that holds information. The update of the version information is triggered by some change in built-in functions, such as when the electronic device 21 is started, when the software of the entire electronic device 21 is upgraded, or when a new application is installed. It is assumed that the version database 44 always stores and holds the latest version information.
<第1の実施の形態に係る電子機器における推論処理の全体の流れ>
 第1の実施の形態に係る電子機器21において、推論器の開発者が想定していない推論器の参照情報(期待と異なる推論器の参照情報)がデータソース#1乃至#3から推論制御部42に供給された場合であっても、電子機器21が意図しない動作をしないことを保証する推論処理の全体の流れを説明する。図5は、推論処理の全体の流れを例示したフローチャートである。
<Overall Flow of Inference Processing in Electronic Device According to First Embodiment>
In the electronic device 21 according to the first embodiment, the reference information of the reasoner not assumed by the developer of the reasoner (the reference information of the reasoner different from the expectation) is sent from the data sources #1 to #3 to the inference control unit. 42, the overall flow of inference processing that ensures that the electronic device 21 does not operate unintendedly will be described. FIG. 5 is a flowchart illustrating the overall flow of inference processing.
 ステップS11では、推論制御部42は、データソース異常検出処理を行う。データソース異常検出処理では、データソース#1乃至#3から推論制御部42に供給される推論器の参照情報が、開発者の期待している仕様に則った参照情報か否かの判定等が行われる。即ち、推論に用いられるデータソースからの入力情報が事前に想定された入力情報と不整合が生じているか否かの判定が行われる。これにより、データソースの異常(データソース異常)の有無が検出される。データソース異常検出処理の結果は、「データソースの異常有無」と「推論実施可否」との2つの組合せとして得られる。なお、データソース異常検出処理の詳細については後述の図6で説明する。 In step S11, the inference control unit 42 performs data source abnormality detection processing. In the data source abnormality detection process, it is determined whether or not the reference information of the reasoner supplied from the data sources #1 to #3 to the inference control unit 42 conforms to the specifications expected by the developer. done. That is, it is determined whether or not the input information from the data source used for inference is inconsistent with the presupposed input information. As a result, the presence or absence of an abnormality in the data source (data source abnormality) is detected. The result of the data source abnormality detection process is obtained as a combination of two items: "presence or absence of data source abnormality" and "whether inference can be performed". Details of the data source abnormality detection process will be described later with reference to FIG.
 ステップS12では、推論制御部42は、推論試行処理を行う。推論試行処理では、ステップS11のデータソース異常検出処理の結果に基づいて、推論動作の態様(推論を行わない場合を含む)を決定し、それに従って推論を行い、推論結果(推論器からの出力情報)を機器制御部43に供給する。なお、推論試行処理の詳細については後述の図9で説明する。 In step S12, the inference control unit 42 performs an inference trial process. In the inference trial process, based on the result of the data source anomaly detection process in step S11, the aspect of the inference operation (including the case where no inference is performed) is determined, inference is performed accordingly, and the inference result (output from the inference unit information) to the device control unit 43 . Details of the inference trial process will be described later with reference to FIG.
 ステップS13では、機器制御部43は、機器制御処理を行う。機器制御処理では、ステップS12の推論試行処理の推論結果に基づいて、警告表示等を行う。なお、機器制御処理の詳細については後述の図11で説明する。 In step S13, the device control unit 43 performs device control processing. In the device control process, a warning display or the like is performed based on the inference result of the inference trial process in step S12. Details of the device control processing will be described later with reference to FIG.
 ステップS14では、推論制御部42は、異常通知処理を行う。異常通知処理では、ステップS11のデータソース異常検出処理でデータソース異常が検出された旨などが、情報集約サーバ22に送信され、推論器の開発者に通知される。なお、異常通知処理の詳細については後述の図12で説明する。 In step S14, the inference control unit 42 performs abnormality notification processing. In the anomaly notification process, information indicating that a data source anomaly has been detected in the data source anomaly detection process of step S11 is transmitted to the information aggregation server 22 and notified to the developer of the inference device. Details of the abnormality notification process will be described later with reference to FIG.
<第1の実施の形態に係るデータソース異常検出処理(ステップS11)>
 図5のステップS11における第1の実施の形態に係るデータ異常検出処理について説明する。図6は、データソース異常検出処理の手順例を示したフローチャートである。
<Data source abnormality detection process (step S11) according to the first embodiment>
The data abnormality detection process according to the first embodiment in step S11 of FIG. 5 will be described. FIG. 6 is a flow chart showing an example of the procedure of data source abnormality detection processing.
 ステップS31では、推論制御部42は、推論要求のトリガが発生した際に、推論器への参照情報を提供する各データソース#1乃至#3のそれぞれのバージョン情報をバージョンデータベース44に問い合わせて読み出す。処理はステップS32に進む。 In step S31, when an inference request is triggered, the inference control unit 42 inquires of the version database 44 and reads the version information of each of the data sources #1 to #3 that provide reference information to the inference unit. . The process proceeds to step S32.
 図7は、バージョンデータベース44から読み出されるバージョン情報のリスト(バージョン情報リスト)の一例を示した図である。図7において、バージョン情報リストには、データソース#1の加速度センサと、データソース#2の無線LANデバイスとのそれぞれのファームウェアとドライバとのバージョン(ファームウェアバージョン及びデバイスドライババージョン)が記録される。データソース#3のユーザコンテキスト情報提供モジュールにはソフトウェアバージョンが記録される。データソースが、センサ類や通信デバイス類のように複数の構成要素(ハードウェア、ファームウェア、及びドライバ)を有する場合には、それらの構成要素のうち、データソースの動作(仕様)を一意に特定することができる構成要素のバージョンのみがバージョン情報リストに記録されるようにしてよい。バージョンのネーミングルールはデバイスごとに異なりうる。 FIG. 7 is a diagram showing an example of a version information list (version information list) read from the version database 44. FIG. In FIG. 7, the version information list records versions of firmware and drivers (firmware version and device driver version) of the acceleration sensor of data source #1 and the wireless LAN device of data source #2. The software version is recorded in the user context information providing module of data source #3. If the data source has multiple components (hardware, firmware, and drivers) such as sensors and communication devices, uniquely identify the operation (specifications) of the data source among those components. Only versions of components that can be used may be recorded in the version information list. Version naming rules can vary from device to device.
 図6において、ステップS32では、推論制御部42は、推論制御部42自身であらかじめ保持しているサポートバージョンテーブルを読み出す。 In FIG. 6, at step S32, the inference control unit 42 reads out the support version table held in advance by the inference control unit 42 itself.
 図8は、サポートバージョンテーブルの内容の一例を示した図である。図8において、サポートバージョンテーブルには、開発者が期待(想定)する各データソース#1乃至#3のバージョンの組み合わせがサポートバージョンテーブルのエントリとして1つ以上記録される。エントリは、データソース#1乃至#3のバージョンの組合せの分類名であると同時に、推論制御部42が実施しうる推論動作のタイプ(態様)を表し、異なるタイプに対して、異なるエントリ番号(#1、#2、・・・)が付加される。ただし、同じタイプに対して異なるエントリ番号が付加されることは許容される。したがって、同一のエントリ番号のエントリに属するデータソース#1乃至#3のバージョンの組合せに対しては、同一のタイプの推論動作が実施されることを意味する。 FIG. 8 is a diagram showing an example of the contents of the support version table. In FIG. 8, in the support version table, one or more combinations of versions of data sources #1 to #3 expected (assumed) by the developer are recorded as entries of the support version table. An entry is a classification name of a combination of versions of data sources #1 to #3, and at the same time, represents a type (mode) of inference operation that can be performed by the inference control unit 42. Different types have different entry numbers ( #1, #2, . . . ) are added. However, different entry numbers are allowed for the same type. Therefore, it means that the same type of inference operation is performed for a combination of versions of data sources #1 to #3 belonging to entries with the same entry number.
 図8の例では、エントリ#1乃至#5として5つエントリ番号のエントリに属するバージョンの組合せが記録されているが、エントリの数はこれに限らない。各エントリ#1乃至#5は、動作種別として「通常推論」と「フォールバック推論」のいずれかに分類される。通常推論とは、データソース#1乃至#3から提供された参照情報に基づいて、開発者が想定(期待)した入力情報(特徴量)を推論器に入力して推論を実行する推論動作を意味する。開発者が想定した推論器の参照情報を提供するデータソース#1乃至#3のそれぞれのバージョンを保障バージョンという。フォールバック推論とは、データソース#1乃至#3のいずれかが保障バージョン以外であり、開発者が想定した推論器の参照情報がデータソース#1乃至#3から提供されない場合(開発者が想定した推論器への入力情報(特徴量)が得られない場合)であっても、電子機器21の動作として失敗(誤動作)とならない精度で推論を実行する推論動作を意味する。したがって、データソース#1乃至#3のうちの全てが保障バージョンである場合のバージョンの組合せは、通常推論を実行するエントリに属する。データソース#1乃至#3のうちいずれか1以上が保障バージョンではない場合のバージョンの組合せが、フォールバック推論を実行するエントリに属する。ただし、データソース#1乃至#3のうちいずれか1以上が保障バージョンではない場合のバージョンの組合せが、いずれのエントリに属さない場合があり、その場合にはフォールバック推論でも推論の精度が保証できないため、推論を行わないという推論動作が実施される。 In the example of FIG. 8, a combination of versions belonging to entries with five entry numbers are recorded as entries #1 to #5, but the number of entries is not limited to this. Each entry #1 to #5 is classified as either "normal inference" or "fallback inference" as the operation type. Normal inference is an inference operation in which input information (feature values) assumed (expected) by the developer is input to the inference machine based on reference information provided by data sources #1 to #3. means. Each version of the data sources #1 to #3 that provide the reference information of the reasoner assumed by the developer is called a guaranteed version. Fallback inference is when any of the data sources #1 to #3 is a non-guaranteed version, and the reference information of the reasoner assumed by the developer is not provided from the data sources #1 to #3 (the developer assumed It means an inference operation that executes inference with accuracy that does not result in a failure (malfunction) as an operation of the electronic device 21 even if the input information (feature amount) to the inference device cannot be obtained. Therefore, a version combination where all of data sources #1 to #3 are guaranteed versions belongs to the entry that performs normal inference. A combination of versions where any one or more of data sources #1 to #3 is not a guaranteed version belongs to the entry that performs fallback inference. However, if any one or more of the data sources #1 to #3 are not guaranteed versions, the combination of versions may not belong to any entry. Since it is not possible, an inference operation of not inferring is performed.
 図8の例では、エントリ#1及び#2が通常推論を実行するエントリであり、データソース#1乃至#3のバージョンの組合せがエントリ#1及び#2のいずれかである場合に通常推論が実施されることを表す。エントリ#3乃至#5がフォールバック推論を実行するエントリであり、データソース#1乃至#3のバージョンの組合せがエントリ#3乃至#5のいずれかである場合にフォールバック推論が実施されることを表す。エントリ#3乃至#5のバージョン情報における「*」の記載はワイルドカードを意味し、保障バージョン以外の動作保証できない任意のバージョンであることを意味する。これらのフォールバック動作のエントリ#3乃至#5は、開発者が推論器への入力情報(特徴量)の全てを満足に利用できないケースを事前にテストして、その上で推論精度の観点で許容できる組合せとして記録される。 In the example of FIG. 8, entries #1 and #2 are entries for executing normal inference. Indicates that it will be implemented. Entries #3 to #5 are entries for which fallback inference is performed, and fallback inference is performed when the version combination of data sources #1 to #3 is any of entries #3 to #5. represents The description of "*" in the version information of entries #3 to #5 means a wild card, meaning any version other than the guaranteed version whose operation cannot be guaranteed. Entries #3 to #5 of these fallback operations test in advance the case where the developer cannot use all the input information (features) to the reasoner satisfactorily, and then, from the viewpoint of inference accuracy, Recorded as an acceptable combination.
 推論制御部42は、図8のサポートバージョンテーブルと、図6のステップS31でバージョンデータベース44から取得した現環境のデータソース#1乃至#3のバージョンとを照合する。照合は、あらかじめ開発者によって決められた優先順位に則って行う。図8のサポートバージョンテーブルにおけるエントリ#1乃至#5は、エントリ番号の小さい順に優先順位が高いものとする。 The inference control unit 42 collates the support version table of FIG. 8 with the versions of the data sources #1 to #3 of the current environment acquired from the version database 44 in step S31 of FIG. Collation is performed in accordance with the priority determined in advance by the developer. Entries #1 to #5 in the support version table of FIG. 8 have higher priority in ascending order of entry number.
 図6のステップS33では、推論制御部42は、ステップS32の照合の結果、図8のサポートバージョンテーブル内に、現環境のデータソース#1乃至#3のバージョンの組合せに一致するエントリが存在するか否かを判定する。 In step S33 of FIG. 6, the inference control unit 42 determines that, as a result of the collation in step S32, an entry matching the combination of versions of data sources #1 to #3 in the current environment exists in the support version table of FIG. Determine whether or not
 ステップS33において、否定された場合、処理はステップS34に進み、推論制御部42は、「データソース異常あり」かつ「推論不可」という結果を得る。 If the answer is NO in step S33, the process proceeds to step S34, and the inference control unit 42 obtains the result of "data source error" and "inference impossible".
 ステップS33において、肯定された場合、処理はステップS35に進む。ステップS35では、推論制御部42は、現環境のデータソース#1乃至#3のバージョンの組合せに一致するエントリの動作種別が「通常推論」であるか否かを判定する。即ち、推論制御部42は、現環境のデータソース#1乃至#3のバージョンの組合せに一致するエントリが「通常推論」のエントリ#1又はエントリ#2であるか否かを判定する。 If the result in step S33 is affirmative, the process proceeds to step S35. In step S35, the inference control unit 42 determines whether or not the operation type of the entry that matches the combination of the versions of the data sources #1 to #3 in the current environment is "normal inference". That is, the inference control unit 42 determines whether the entry that matches the combination of the versions of the data sources #1 to #3 in the current environment is the entry #1 or entry #2 of "normal inference".
 ステップS35において、否定された場合、処理はステップS36に進み、推論制御部42は、「データソース異常あり」かつ「推論可能」という結果を得る。ステップS35において、肯定された場合、処理はステップS37に進み、推論制御部42は、「データソース異常なし」かつ「推論可能」という結果を得る。 If the result in step S35 is NO, the process proceeds to step S36, and the inference control unit 42 obtains the result of "data source abnormal" and "inference possible". If the result in step S35 is affirmative, the process proceeds to step S37, and the inference control unit 42 obtains a result of "no data source failure" and "inference possible".
 例えば、現環境のデータソース#1乃至#3のバージョンの組合せが図7の例である場合には、ユーザコンテキスト情報提供モジュールのバージョンが図8のサポートバージョンテーブルの、通常推論に分類されるエントリ#1及び#2とは一致せず、フォールバック推論に分類されるエントリ#3にのみ一致することになる。 For example, if the combination of versions of data sources #1 to #3 in the current environment is the example in FIG. It will not match #1 and #2, it will only match entry #3, which is classified as fallback inference.
 推論制御部42は、ステップS34、S36、又はS37で得た判定結果と、現環境のデータソース#1乃至#3が該当するエントリを、図5のステップS12の推論試行処理に渡す。 The inference control unit 42 passes the determination results obtained in steps S34, S36, or S37 and the entries corresponding to the current environment data sources #1 to #3 to the inference trial process in step S12 of FIG.
<第1の実施の形態に係る推論試行処理(ステップS12)>
 図5のステップS12の第1の実施の形態に係る推論試行処理について説明する。図9は、推論試行処理の手順例を示したフローチャートである。
<Inference trial process (step S12) according to the first embodiment>
The inference trial process according to the first embodiment in step S12 of FIG. 5 will be described. FIG. 9 is a flow chart showing an example of an inference trial process procedure.
 ステップS51では、推論制御部42は、図6のデータソース異常検出処理での判定結果が「推論可能」(「データソース異常なし」かつ「推論可能」)又は「フォールバック推論可能」(「データソース異常あり」かつ「推論可能」)であるか否かを判定する。 In step S51, the inference control unit 42 determines whether the determination result of the data source abnormality detection process in FIG. It is determined whether or not there is an error in the source” and “inference is possible”).
 ステップS51において、否定された場合、即ち、データソース異常検出処理での判定結果が「推論不能」である場合には、処理はステップS52に進む。ステップS52では、推論制御部42は、推論を行わず(推論スキップ)、本フローチャートの処理が終了する。 If the determination in step S51 is negative, that is, if the determination result in the data source abnormality detection process is "inference impossible", the process proceeds to step S52. In step S52, the inference control unit 42 does not perform inference (inference skip), and the processing of this flowchart ends.
 ステップS51において、肯定された場合には、処理はステップS53に進む。ステップS53では、推論制御部42は、推論制御部42自身が保持する推論実行テーブルを参照する。推論制御部42は、推論実行テーブルにおいて、ステップS11のデータソース異常検出処理で検出したエントリ(現環境のデータソース#1乃至#3のバージョンの組合せに一致するエントリ)に対応する推論動作の態様を参照し、推論に使用する推論器と推論器に入力する入力情報(特徴量)を選択(決定)する。 If the result in step S51 is affirmative, the process proceeds to step S53. At step S53, the inference control unit 42 refers to the inference execution table held by the inference control unit 42 itself. The inference control unit 42 controls the inference operation mode corresponding to the entry detected in the data source abnormality detection process in step S11 (the entry that matches the version combination of the data sources #1 to #3 in the current environment) in the inference execution table. , select (determine) the inference device to be used for inference and the input information (feature values) to be input to the inference device.
 図10は、推論実行テーブルを例示した図である。推論実行テーブルには、図8のサポートバージョンテーブルの各エントリ#1乃至#5に対応して推論動作の態様が示されている。推論動作の態様とは、推論に使用すべき推論器と、各データソース#1乃至#3から提供される参照情報に基づく推論器への入力情報(特徴量)の種類及びその扱いと、推定器からの出力情報(推論出力)に対して後段で使用する際の判定閾値(後述する)とを示す。 FIG. 10 is a diagram exemplifying an inference execution table. The inference execution table shows the mode of inference operation corresponding to each entry #1 to #5 of the support version table in FIG. The mode of the inference operation includes the inference device to be used for inference, the types of input information (feature values) to the inference device based on the reference information provided from each data source #1 to #3, the handling thereof, and the inference It shows a judgment threshold (described later) when used in a subsequent stage for the output information (inference output) from the device.
 各データソース#1乃至#3から提供される参照情報に基づく推論器への入力情報(特徴量)としては、図10に示されている通り、次のような種類がある。加速度センサから提供される参照情報に基づく特徴量(加速度センサからの特徴量という。以下、同様)は、3軸分の加速度情報(X加速度、Y加速度、及びZ加速度)である。無線LANデバイスからの特徴量は、アクセスポイントとの通信から得られる統計情報として、接続に関する情報である。接続に関する情報は、具体的に、受信レベル、物理層変調レート、チャネル周波数、送信成功パケットカウント、送信失敗パケットカウント、チャネルビジー率、及びパケット滞留量がある。これらの特徴量は一例であり、無線チャネル送信までの待ち時間や、自分が送信に使用した物理層変調レートではなく通信相手が使用した(受信に使用された)物理層変調レート、受信機の待ち受けている時間長や送受信の時間長が特徴量として使用されても良い。ユーザコンテキスト情報提供モジュールからの特徴量は、電子機器21が現在存在する環境が自宅内か否かという在宅判定結果を数値化したものである。なお、全ての特徴量は適切な正規化(正規分布や対数正規分布に則った正規化)が施された上で推論器への入力情報として入力される。 As shown in FIG. 10, there are the following types of input information (feature amounts) to the reasoner based on the reference information provided from each data source #1 to #3. The feature amount based on the reference information provided from the acceleration sensor (referred to as the feature amount from the acceleration sensor; hereinafter the same) is three-axis acceleration information (X acceleration, Y acceleration, and Z acceleration). The feature value from the wireless LAN device is information about connection as statistical information obtained from communication with the access point. The information about connection specifically includes reception level, physical layer modulation rate, channel frequency, successful transmission packet count, transmission failure packet count, channel busy rate, and packet retention amount. These features are examples, and include the waiting time until radio channel transmission, the physical layer modulation rate used by the communication partner (used for reception) instead of the physical layer modulation rate used for transmission, A standby time length or a transmission/reception time length may be used as a feature amount. The feature amount from the user context information provision module is a numerical value of the home determination result indicating whether or not the environment in which the electronic device 21 currently exists is inside the home. It should be noted that all feature quantities are input as input information to the reasoner after being subjected to appropriate normalization (normalization according to normal distribution or logarithmic normal distribution).
 推論実行テーブルには、エントリ#1乃至#5のそれぞれに対応して、推論器への入力情報としての各特徴量の扱いが丸印、三角印、及びばつ印の3通りに分けて示されている。丸印で示された特徴量は、通常通りに推論器に入力される。三角印で示され特徴量は、データソース#1乃至#3からの特徴量は使用せず、予め決められた予約値にマスクして(固定して)推論器に入力される。ばつ印で示された特徴量は、推論器への入力情報から除外される。三角印で示された予約値にマスクして推論器に入力とは、例えば、データソースから参照情報として提供された特徴量(生値)を0にマスクする場合、最終的に推論器に入力する正規化後の特徴量を0にマスクする場合、及び最終的に推論器に入力する特徴量を規定の数値範囲から大きく離れたエラー値(232-1など)へ置き換える場合等であってよい。エラー値にマスクする場合には推論器側で対応した処理が入っていることを前提とする。 In the inference execution table, the treatment of each feature amount as input information to the inference unit is shown in three ways: a circle, a triangle, and a cross, corresponding to each of the entries #1 to #5. ing. Features marked with circles are input to the reasoner as usual. The feature values indicated by triangle marks are masked (fixed) to predetermined reserved values and input to the inference unit without using the feature values from data sources #1 to #3. Features marked with a cross are excluded from the input information to the reasoner. Input to the reasoner after being masked with a reserved value indicated by a triangle mark. In the case of masking the feature value after normalization to 0, and in the case of replacing the feature value finally input to the reasoner with an error value (such as 2 32 -1) that is far from the specified numerical range good. When masking to an error value, it is assumed that corresponding processing is included on the inference unit side.
 図4で示したように、推論制御部42は、3つの推論器A乃至Cを内包している。推論実行テーブルには、エントリ#1乃至#5のそれぞれに対応して、推論に使用される推論器が示されている。エントリ#1乃至#3では、推論器Aが推論に使用される。推論器Aは、図10に示した11個の全ての特徴量が入力情報として入力可能な11次元入力の推論器(11個の入力ノードを有する推論器)である。エントリ#1又は#2では、推論器Aが、通常推論の実施で使用(選択)される。エントリ#3では、推論器Aは、フォールバック推論の実施で使用(選択)される。この場合には、ユーザコンテキスト情報提供モジュールが保障外のバージョンであることから、ユーザコンテキスト情報提供モジュールからの特徴量である在宅判定結果が予約値にマスクされて推論器Aに入力される。 As shown in FIG. 4, the inference control unit 42 includes three inferencers A to C. The inference execution table indicates the reasoner used for inference corresponding to each of the entries #1 to #5. In entries #1 to #3, reasoner A is used for inference. The reasoner A is an 11-dimensional input reasoner (a reasoner having 11 input nodes) to which all 11 feature quantities shown in FIG. 10 can be input as input information. At entry #1 or #2, reasoner A is used (selected) in normal inference performance. At entry #3, reasoner A is used (selected) in performing fallback inference. In this case, since the user context information providing module is of a version not covered by security, the presence determination result, which is the feature quantity from the user context information providing module, is masked with a reserved value and input to the reasoner A.
 エントリ#4では、推論器Bが推論に使用される。推論器Bは、図10に示した11種類の全ての特徴量のうち、保障バージョンのデータソース#2及び#3からの8種類の特徴量が入力情報として入力可能な8次元入力の推論器(8個の入力ノードを有する推論器)である。エントリ#4では、データソース#1の加速度センサが保障外のバージョンであるため、推論器Bは、加速度センサからの3つの特徴量(X加速度、Y加速度、及びZ加速度)が入力される3つの入力ノードは有していない。エントリ#4では、推論器Bは、フォールバック推論の実施で使用され、加速度センサからのX加速度、Y加速度、及びZ加速度は、推論器Bに入力されない。 In entry #4, reasoner B is used for inference. The reasoner B is an 8-dimensional input reasoner capable of inputting, as input information, 8 types of feature values from the guaranteed version data sources #2 and #3 out of all the 11 types of feature values shown in FIG. (a reasoner with 8 input nodes). In entry #4, the accelerometer of data source #1 is the non-guaranteed version, so reasoner B receives three feature quantities (X acceleration, Y acceleration, and Z acceleration) from the accelerometer. does not have one input node. At Entry #4, reasoner B is used in the fallback inference implementation and the X, Y, and Z accelerations from the accelerometer are not input to reasoner B.
 エントリ#5では、推論器Cが推論に使用される。推論器Cは、図10に示した11種類の全ての特徴量のうち、保障バージョンのデータソース#2からの特徴量の1つであるバッファ滞留量を除く10種類の特徴量が入力可能な10次元入力の推論器(10個の入力ノードを有する推論器)である。エントリ#5では、データソース#2の無線LANデバイスが保障外のバージョンであるため、推論器Cは、無線LANデバイスからの7つの特徴量のうちのバッファ滞留量が入力される1つの入力ノードは有していない。推論器Cは、保障外のバージョンのデータソース#2からもバッファ滞留量を除く6つの特徴量が入力情報として入力可能な点で、保障外のバージョンのデータソース#1からの特徴量(入力情報)が全て入力されない推論器Bとは異なる。例えばOSの機能としてオフィシャルにサポートされているような受信レベルなどのパラメータは別途動作保障がある場合が考えられるため、保障外のバージョンのデータソースからでも、保障バージョンのデータソースからの特徴量のうちの一部の特徴量の取得が保障されることがある。そのため、必ずしも保障外のバージョンのデータソースからの全ての特徴量をフォールバックさせなくてもよい。エントリ#5では、推論器Bは、フォールバック推論の実施で使用され、データソース#2の無線LANデバイスからの特徴量であるバッファ滞留量は、推論器Cに入力されない。また、データソース#2の無線LANデバイスからの特徴量であるチャネルビジー率は予約値にマスクされて推論器Cに入力される。なお、図8に示したエントリ#1乃至#5の種類や図10に示した各エントリ#1乃至#5に対応した推論器A乃至Cの種類は一例であり、エントリの種類及び推論器の種類は、これらの例に限定されない。例えば、予め決められた全ての種類の入力情報を用いて推論を実行する場合を第1の動作態様とし、全ての種類の入力情報のうち、一部の種類の入力情報を用いずに推論を実行する場合を第2の動作態様とし、全ての種類の入力情報のうち、一部の種類の入力情報を予め決められた値にマスクして推論を実行する場合を第3の動作態様とし、推論を実行しない場合を第4の動作態様とする。このとき、推論制御部42は、第1または第3の動作態様での推論に使用される種類の推論器のみを1または複数内包している場合であってもよいし、それに加えて、第2の動作態様での推論、または、第2の動作態様で、かつ、第3の動作態様での推論に使用される種類の推論器を1又は複数内包している場合であってもよい。 In entry #5, reasoner C is used for inference. The inference unit C can input 10 types of feature values excluding the buffer retention amount, which is one of the feature values from the data source #2 of the guaranteed version, out of all the 11 types of feature values shown in FIG. It is a 10-dimensional input reasoner (a reasoner with 10 input nodes). In entry #5, the wireless LAN device of data source #2 is a non-guaranteed version. does not have The reasoner C can input six feature values excluding the buffer retention amount from the non-guaranteed version of the data source #2 as input information. information) is not input at all. For example, parameters such as reception level, which are officially supported as OS functions, may be guaranteed to operate separately. Acquisition of some of the feature values may be guaranteed. Therefore, it is not necessary to fallback all features from the non-guaranteed version of the data source. At entry #5, reasoner B is used in performing fallback inference, and the feature quantity from the wireless LAN device of data source #2, the buffer retention amount, is not input to reasoner C. Also, the channel busy rate, which is a feature quantity from the wireless LAN device of data source #2, is masked with a reserved value and input to reasoner C. FIG. The types of entries #1 to #5 shown in FIG. 8 and the types of reasoners A to C corresponding to the entries #1 to #5 shown in FIG. The types are not limited to these examples. For example, a case where inference is executed using all types of predetermined input information is defined as a first operation mode, and inference is performed without using some types of input information among all types of input information. A case of executing inference is defined as a second operation mode, and a case of executing inference by masking some types of input information among all types of input information to a predetermined value is defined as a third operation mode, A fourth mode of operation is when inference is not executed. At this time, the inference control unit 42 may include only one or a plurality of inferencers of the type used for inference in the first or third operation modes. It may include one or more of the types of reasoners used for reasoning in two modes of operation, or inferences in both a second mode of operation and a third mode of operation.
 以上のように図9のステップS53で、推論制御部42は、推論実行テーブルを参照して推論に使用する推論器と推論器への入力情報(特徴量の加工動作)を決定すると、処理は、ステップS54に進む。 As described above, in step S53 of FIG. 9, the inference control unit 42 refers to the inference execution table to determine the inference device to be used for inference and the input information (feature amount processing operation) to the inference device. , the process proceeds to step S54.
 ステップS54では、推論制御部42は、ステップS53で決定した特徴量をデータソース#1乃至#3から提供された参照情報に基づいて生成し、生成した特徴量を入力情報としてステップS53で決定した推論器に入力する。これにより、推論制御部42は、推論を実行する。推論の実行により、推論器からは、「インターネット通信が滞るリスクの度合い」を表す0乃至1の範囲の値が推論結果(推論出力)として出力される。推論器から出力された推論結果は、推論制御部42から機器制御部43に供給され、図5のステップS13の機器制御処理で使用される。 In step S54, the inference control unit 42 generates the feature amount determined in step S53 based on the reference information provided from the data sources #1 to #3, and uses the generated feature amount as input information to determine in step S53. Input to the inference machine. As a result, the inference control unit 42 executes inference. As a result of the inference execution, the inference device outputs a value in the range of 0 to 1, which represents the "degree of risk of Internet communication being disrupted" as an inference result (inference output). The inference result output from the inference unit is supplied from the inference control unit 42 to the device control unit 43, and used in the device control process in step S13 of FIG.
 図7で示したバージョンデータベースの例では、推論制御部42は、ユーザコンテキスト情報提供モジュールが保障外のバージョンであるため、図6のデータソース異常検出処理(図5のステップS11)において、現環境のデータソース#1乃至#3のバージョンの組合せが、図8のサポートバージョンテーブルのエントリ#3に該当し、「フォールバック推論可能」(「データソース異常あり」かつ「推論可能」)との判定結果を得る。これにより、推論制御部42は、図9の推論試行処理において、ステップS51で肯定判定した後、ステップS52で図10の推論動作テーブルにおけるエントリ#3に対応する推論動作の態様を参照する。その結果、推論制御部42は、推論器Aを用いてフォールバック推論を行う。このとき推論制御部42は、11次元入力の推論器Aへの入力情報として、11次元分(11種類)の特徴量のうちの10次元分については、データソース#1の加速度センサからの特徴量であるX加速度、Y加速度、及びZ加速度と、データソース#2の無線LANデバイスからの特徴量である受信レベル、物理層変調レート、チャネル周波数、送信成功パケットカウント、送信失敗パケットカウント、チャネルビジー率、及びパケット滞留量とを推論器Aに入力する。残りの1種類の特徴量については、データソース#3のユーザコンテキスト情報提供モジュールが保障外のバージョンであるので、ユーザコンテキスト情報提供モジュールからの特徴量を使用せずに、予約値(本実施の形態では正規化後の値で0とする)にマスクして、予約値0を推論器Aに入力する。これにより、フォールバック推論が実行される。 In the example of the version database shown in FIG. 7, the inference control unit 42 determines that the current environment corresponds to entry #3 of the support version table in FIG. 8, and is determined as "fallback inference possible" ("data source abnormal" and "inference possible") Get results. As a result, the inference control unit 42 makes an affirmative determination in step S51 in the inference trial process of FIG. 9, and then refers to the mode of inference operation corresponding to entry #3 in the inference operation table of FIG. As a result, the inference control unit 42 uses the inference device A to perform fallback inference. At this time, the inference control unit 42, as the input information to the inference unit A of the 11-dimensional input, for the 10-dimensional feature amount out of the 11-dimensional (11 types) feature amount, the feature amount from the acceleration sensor of the data source #1 X acceleration, Y acceleration, and Z acceleration, which are quantities, and reception level, physical layer modulation rate, channel frequency, transmission success packet count, transmission failure packet count, channel, which are feature quantities from the wireless LAN device of data source #2. Input the busy rate and packet retention amount to the reasoner A. For the remaining one type of feature quantity, the user context information provision module of data source #3 is a version not covered by security, so the reserved value ( In the form, the value after normalization is assumed to be 0), and the reserved value 0 is input to the reasoner A. This allows fallback inference to be performed.
 図9のステップS54の推論の実行により、推論器からは、推論結果(出力情報)として、「インターネット通信が滞るリスクの度合い」が0乃至1の範囲の値で出力される。推論器から出力された推論結果は、推論制御部42から機器制御部54に供給され、図5のステップS13の機器制御処理で使用される。 By executing the inference in step S54 of FIG. 9, the inference result (output information) is output from the inference unit as the "degree of risk of Internet communication stagnation" as a value in the range of 0 to 1. The inference result output from the inference unit is supplied from the inference control unit 42 to the device control unit 54 and used in the device control process in step S13 of FIG.
 ここで、データソース#1乃至#3からの11種類の特徴量の全てを入力情報として推定を行うエントリ#1及び#2の場合の通常推論と比較して、推定器に入力する入力情報(特徴量)の一部をマスクするエントリ#3及び#5や、推定器に入力する入力情報(特徴量)を減らすエントリ#4及び#5のようなフォールバック推論は、推論結果の信頼度の点で不利になる。一方、推論器から推論結果として出力される値(推論出力)が、「インターネット通信が滞るリスクの度合い」のような特定の判断(「インターネット通信が滞る状況が発生するリスクがある」等の判断)が真であるとすることに対する確信度を表す場合には、推論出力が大きい程、推論結果に対する信頼度が高くなる。従って、推定器からの推論出力が、所定の判定閾値よりも高いか否かで推論内容である判断の真偽を判定する場合に、フォールバック推論のように推論器からの推論出力の信頼度が通常推論よりも低い場合でも、判定閾値を通常推論の場合よりも高くすることで、推論内容である判断の真偽に対する判定結果の信頼度を通常推論と同等にすることができる。 Here, in comparison with normal inference in the case of entries #1 and #2, in which all of the 11 types of feature values from data sources #1 to #3 are used as input information for estimation, the input information to be input to the estimator ( Fallback inferences such as entries #3 and #5 that mask part of the input information (features) to the estimator, and entries #4 and #5 that reduce the input information (features) to the estimator, reduce the reliability of the inference results. point disadvantage. On the other hand, the value (inference output) output from the reasoner as an inference result is a specific judgment such as "the degree of risk of Internet communication being interrupted" ) is true, the greater the inference output, the higher the confidence in the inference result. Therefore, when judging whether the inference output from the estimator is higher than a predetermined judgment threshold or not, the reliability of the inference output from the inference unit is determined as in fallback inference. is lower than that of normal inference, the reliability of the judgment result with respect to the truth of the judgment, which is the content of inference, can be made equal to that of normal inference by setting the decision threshold higher than that of normal inference.
 図10の推論動作テーブルの各エントリ#1乃至#5のそれぞれに対応して記録された判定閾値は、推論器からの推論結果として出力された推論出力に基づいて、推論内容である判断の真偽を判定する際の判定閾値を表し、判定結果の信頼度が各エントリ#1乃至#5で同等となるような値に決められている。通常推論が実行されるエントリ#1及び#2の場合には、判定閾値が0.5であるが、フォールバック推論が実行されるエントリ#3乃至#5の場合には、推論出力の信頼度の低下に伴い、判定閾値をそれぞれ0.6、0.6、及び0.8に引き上げられている。このような判定閾値を用いて推論内容である判断の真偽に対する判定結果を利用して、その判定結果に応じた処理が行われることで、フォールバック推論が行われた場合でも通常推論の場合と比較して誤動作のリスクが増えないことが保障される。 Judgment threshold values recorded corresponding to entries #1 to #5 in the inference operation table of FIG. It represents a determination threshold for determining false, and is determined to a value that makes the reliability of the determination result equivalent for each of the entries #1 to #5. For entries #1 and #2, where normal inference is performed, the decision threshold is 0.5, but for entries #3 to #5, where fallback inference is performed, the reliability of the inference output is reduced. Along with this, the judgment thresholds have been raised to 0.6, 0.6, and 0.8, respectively. By using the judgment result of the truth of the judgment that is the inference content using such a judgment threshold, and processing according to the judgment result is performed, even if fallback inference is performed, in the case of normal inference It is guaranteed that the risk of malfunction does not increase compared to
 図9のフローチャートで説明した推論試行処理(図5のステップS12)の後段の図5のステップS13の機器制御処理(図4の機器制御部43)には、推論器の推論結果として推論出力が供給されるとともに、推論動作の態様を決定したエントリに対応した判定閾値が供給されて推論内容である判断の真偽の判定に使用される。 In the device control process (device control unit 43 in FIG. 4) in step S13 in FIG. 5 after the inference trial process (step S12 in FIG. 5) described in the flowchart in FIG. At the same time, a determination threshold corresponding to the entry that determines the mode of the inference operation is supplied and used to determine the truth or falseness of the determination, which is the content of the inference.
<第1の実施の形態に係る機器制御処理(ステップS13)>
 図5のステップS13の第1の実施の形態に係る機器制御処理について説明する。なお、図5のステップS12の推論試行処理(図9の推論試行堀)において「推論スキップ」(図9のステップS52)が選択された場合には本機器制御処理では何も行わない。
<Equipment control process (step S13) according to the first embodiment>
The device control process according to the first embodiment in step S13 of FIG. 5 will be described. Note that if "inference skip" (step S52 in FIG. 9) is selected in the inference trial process (inference trial moat in FIG. 9) in step S12 in FIG.
 図11は、機器制御処理の手順例を示したフローチャートである。ステップS71では、機器制御部43は、推論制御部42から推論器から出力された「インターネット通信が滞るリスクの度合い」を示す0乃至1の範囲の値の推論出力と、ステップS11のデータソース異常検出処理で検出したエントリ(現環境のデータソース#1乃至#3のバージョンの組合せに一致するエントリ)に対応する判定閾値とを推論制御部42から取得する。機器制御部43は、推論制御部42からの推論出力が判定閾値を超えたか否かを判定する。 FIG. 11 is a flow chart showing an example of a procedure for device control processing. In step S71, the device control unit 43 outputs an inference output from the inference control unit 42, which is a value in the range of 0 to 1 indicating the "degree of risk of delay in Internet communication", and the data source abnormality in step S11. A decision threshold corresponding to the entry detected by the detection process (an entry matching the combination of versions of the data sources #1 to #3 in the current environment) is obtained from the inference control unit 42 . The device control unit 43 determines whether or not the inference output from the inference control unit 42 exceeds the determination threshold.
 ステップS71において、否定された場合には、本フローチャートの処理が終了する。ステップS71において、肯定された場合には、処理はステップS72に進み、機器制御部43は、「インターネット通信が滞るリスクがある」旨を不図示の表示部(UI:User Interface)に表示させる。ステップS71の後、本フローチャートの処理が終了する。これによれば、判定閾値は開発者が調整して決定した値である。推論に使用される推論器及び特徴量に応じて、最適な判定閾値が選択されるので、推論動作の態様にかかわらず、誤動作のリスクが増えないことが保障される。 If the answer in step S71 is NO, the processing of this flowchart ends. If the result in step S71 is affirmative, the process proceeds to step S72, and the device control unit 43 causes a display unit (UI: User Interface) (not shown) to display that "there is a risk that Internet communication will be delayed." After step S71, the processing of this flowchart ends. According to this, the determination threshold is a value adjusted and determined by the developer. Since the optimum decision threshold is selected according to the inference device and the feature amount used for inference, it is guaranteed that the risk of malfunction will not increase regardless of the mode of inference operation.
<第1の実施の形態に係る異常通知処理(ステップS14)>
 図5のステップS14の第1の実施の形態に係る異常通知処理について説明する。異常通知処理は、推論制御部42がデータソースの異常発生状況等の異常通知情報を開発者(図3の情報集約サーバ22)に伝達する処理である。異常通知情報は、開発者が管理するサーバ(開発者管理サーバ)に送信されるが、図2の情報集約サーバ22が開発者管理サーバに該当することとする。なお、異常通知処理は、推論制御部42ではなく機器制御部43が情報集約サーバ22に送信してもよく、特定の処理部が異常通知処理を行う場合に限らない。
<Abnormality Notification Processing (Step S14) According to First Embodiment>
The abnormality notification process according to the first embodiment in step S14 of FIG. 5 will be described. The anomaly notification process is a process in which the inference control unit 42 transmits anomaly notification information such as an anomaly occurrence status of the data source to the developer (the information aggregation server 22 in FIG. 3). Abnormality notification information is transmitted to a server managed by a developer (developer management server), and the information aggregation server 22 in FIG. 2 corresponds to the developer management server. The abnormality notification process may be transmitted to the information aggregation server 22 by the device control unit 43 instead of the inference control unit 42, and is not limited to the case where a specific processing unit performs the abnormality notification process.
 図12は、異常通知処理の手順例を示したフローチャートである。ステップS91では、推論制御部42では、図5のステップS11(図6のフローチャート)のデータソース異常検出処理の結果が「データソース異常あり」か否かを判定する。なお、「データソース異常あり」と判定される場合として、「フォールバック推論可能」な場合と、「推論不可」の場合とがある。 FIG. 12 is a flow chart showing an example of the procedure for anomaly notification processing. In step S91, the inference control unit 42 determines whether or not the result of the data source abnormality detection process in step S11 of FIG. 5 (flowchart of FIG. 6) is "data source abnormality". It should be noted that cases where it is determined that "data source is abnormal" include cases where "fallback inference is possible" and cases where "inference is not possible".
 ステップS91において、否定された場合には、本フローチャートの処理が終了する。ステップS91において、肯定された場合には、処理はステップS92に進む。ステップS92では、推論制御部42は、以下の内容を異常通知情報として情報集約サーバ22に送信する。
・データソース異常が発生していること
・データソースの種類
・各データソースのバージョン情報リスト
・プロダクトを特定できる情報(型番や、プロダクト名称)
・フォールバック推論を行った場合には、
・・使用した推論器
・・使用した特徴量(予約値にマスクされた特徴量の有無の情報を含む)
・・推論出力の値
If the answer in step S91 is NO, the processing of this flowchart ends. If the determination in step S91 is affirmative, the process proceeds to step S92. In step S92, the inference control unit 42 transmits the following contents to the information aggregation server 22 as abnormality notification information.
・Data source error ・Data source type ・Version information list for each data source ・Information that can identify the product (model number, product name)
・When fallback inference is performed,
・・Used reasoner ・・Used features (including information on the presence or absence of features masked with reserved values)
・・・Inference output value
 以上のような異常通知情報を情報集約サーバ42に送信することで、データソース#1乃至#3のいずれかに開発者の保障外のバージョンが用いられた場合においても、電子機器21の全体として予期しない動作が発生する状況を回避することができる仕組みが提供される。
 ステップS92の処理が終了すると、本フローチャートの処理が終了する。
By transmitting the abnormality notification information as described above to the information aggregation server 42, the electronic device 21 as a whole can be A mechanism is provided that can avoid situations where unexpected behavior occurs.
When the process of step S92 ends, the process of this flowchart ends.
 以上の第1の実施の形態によれば、推論制御部42の推論に用いられる入力情報(特徴量)と事前に想定された入力情報との不整合が生じた場合であっても、推論の動作態様が切り換えられて推論結果の精度の低下が抑止される。したがって、推論結果も用いた電子機器21の誤動作の発生が抑止される。 According to the first embodiment described above, even if there is a mismatch between the input information (feature amount) used for the inference of the inference control unit 42 and the presupposed input information, the inference can be performed. The mode of operation is switched to prevent the accuracy of the inference result from deteriorating. Therefore, the electronic device 21 that also uses the inference result is prevented from malfunctioning.
<<本技術の第2の実施の形態>>
 本技術の第2の実施の形態では、図5のステップS11のデータソース異常検出処理において、データソース異常が検出された場合に、情報集約サーバ22(開発者管理サーバ)から電子機器21にリアルタイムに推論動作に関する指示が与えられるようにした。
<<Second embodiment of the present technology>>
In the second embodiment of the present technology, when a data source abnormality is detected in the data source abnormality detection process in step S11 of FIG. to give instructions on inference operations.
 なお、第2の実施の形態に係る情報処理システム、及び電子機器の構成例については、図3の第1の実施の形態に係る情報処理システム11の構成例、及び図4の第1の実施の形態に係る電子機器21の構成例と共通する。したがって、第2の実施の形態に係る情報処理システム、及び電子機器の構成例については、図3及び図4を用いて説明した通りであり、詳細な説明は省略する。 As for the configuration example of the information processing system and the electronic device according to the second embodiment, the configuration example of the information processing system 11 according to the first embodiment in FIG. 3 and the configuration example of the first embodiment in FIG. is common with the configuration example of the electronic device 21 according to the form of . Therefore, the configuration examples of the information processing system and the electronic device according to the second embodiment are as described with reference to FIGS. 3 and 4, and detailed description thereof will be omitted.
 第2の実施の形態に係る電子機器21における推論処理の全体の流れ、第2の実施の形態に係るデータソース異常検出処理の手順例、バージョンデータベース、サポートバージョンテーブル、推論実行テーブル、及び第2の実施の形態に係る機器制御処理の手順例については、図5の第1の実施の形態に係る電子機器21における推論処理の全体の流れ、図6の第1の実施の形態に係るデータソース異常検出処理の手順例、図7のバージョンデータベース44、図8のサポートバージョンテーブル、図10の推論実行テーブル、及び図11の第1の実施の形態に係る機器制御処理の手順例と共通する。したがって、第2の実施の形態に係る電子機器21における推論処理の全体の流れ、第2の実施の形態に係るデータソース異常検出処理の手順例については、図5、図6、図7、図8、図10、及び図11を用いて説明した通りであり、詳細な説明は省略する。 An overall flow of inference processing in the electronic device 21 according to the second embodiment, an example procedure of data source abnormality detection processing according to the second embodiment, a version database, a support version table, an inference execution table, and a second 5, the overall flow of inference processing in the electronic device 21 according to the first embodiment in FIG. 5, and the data source according to the first embodiment in FIG. 7, the support version table in FIG. 8, the inference execution table in FIG. 10, and the device control process according to the first embodiment in FIG. Therefore, the overall flow of inference processing in the electronic device 21 according to the second embodiment and an example of the data source abnormality detection processing procedure according to the second embodiment are shown in FIGS. 8, FIG. 10, and FIG. 11, detailed description is omitted.
 ただし、第2の実施の形態に係る推論試行処理及び異常通知処理については、第1の実施の形態と相違する。したがって、第1の実施の形態と相違する第2の実施の形態に係るデータソース異常検出処理及び異常通知処理についてのみ説明する。 However, the reasoning trial process and the abnormality notification process according to the second embodiment are different from those of the first embodiment. Therefore, only data source abnormality detection processing and abnormality notification processing according to the second embodiment, which are different from the first embodiment, will be described.
<第2の実施の形態に係る推論試行処理(ステップS12)>
 図13は、第2の実施の形態に係る推論試行処理の手順例を示したフローチャートである。ステップS111では、推論制御部42は、図5のステップS11のデータソース異常検出処理の結果を反映する前に事前に情報集約サーバ22から推論動作についての明示的な指示があり、その指示に従って推論動作を実行することが設定されているかを判定する。「推論動作についての明示的な指示」の内容は、推論に使用する推論器、推論器への入力情報として使用する特徴量(予約値にマスクする特徴量の有無の情報を含む)、推論出力の判定閾値の情報を含む。
<Inference trial process (step S12) according to the second embodiment>
FIG. 13 is a flow chart showing an example of an inference trial process procedure according to the second embodiment. In step S111, the inference control unit 42 receives an explicit instruction regarding the inference operation from the information aggregation server 22 in advance before reflecting the result of the data source abnormality detection process in step S11 of FIG. Determines whether it is set to perform an action. The content of "explicit instruction about inference operation" is the inference unit to be used for inference, the feature amount used as input information to the inference unit (including information on whether there is a feature amount to be masked in the reserved value), and the inference output. Contains information on the determination threshold of
 ステップS111において、否定された場合には、処理はステップS112に進む。ステップS112乃至ステップS115は、図9のステップS51乃至ステップS54と処理内容が共通しており、推論制御部42自身が保持する推論実行テーブルを参照して推論動作の態様を決定し、推論を行う。なお、詳細な説明は省略する。 If the answer in step S111 is NO, the process proceeds to step S112. Steps S112 to S115 have the same processing content as steps S51 to S54 in FIG. 9, and refer to the inference execution table held by the inference control unit 42 itself to determine the mode of inference operation and perform inference. . A detailed description is omitted.
 ステップS111において、肯定された場合には、処理はステップS116に進む。ステップS116では、推論制御部42は、情報集約サーバ22からの推論動作についての明示的な指示が、推論実行か否かを判定する。ステップS116において、否定された場合には、処理はステップS117に進み、ステップS117では、推論制御部42は、推論を行わず(推論スキップ)、本フローチャートの処理が終了する。 If the result in step S111 is affirmative, the process proceeds to step S116. In step S116, the inference control unit 42 determines whether or not the explicit instruction regarding the inference operation from the information aggregation server 22 is to execute inference. If the result in step S116 is NO, the process proceeds to step S117, and in step S117, the inference control unit 42 does not perform inference (inference skip), and the process of this flowchart ends.
 ステップS116において、肯定された場合には、処理はステップS118に進む。ステップS118では、推論制御部42は、推論器推論に使用する推論器と、推論器への入力情報として使用する特徴量を、情報集約サーバ22から指示に従って決定(選択)する。処理はステップS118からステップS119に進む。 If the result in step S116 is affirmative, the process proceeds to step S118. In step S<b>118 , the inference control unit 42 determines (selects) the inference device to be used for inference by the inference device and the feature amount to be used as input information to the inference device according to instructions from the information aggregation server 22 . Processing proceeds from step S118 to step S119.
 ステップS119では、ステップS118で決定した特徴量をデータソース#1乃至#3からの参照情報に基づいて生成し、生成した特徴量を入力情報としてステップS118で決定した推論器に入力する。これにより、推論制御部42は、開発者(情報集約サーバ22)により指定された推論動作の態様に従った推論を実行する。推論の実行により、推論器からは、「インターネット通信が滞るリスクの度合い」を示す0乃至1の範囲の値が推論結果(推論出力)として出力される。推論器から出力された推論結果と、情報集約サーバ22から指定された判定閾値とは、推論制御部42から機器制御部43に供給され、図5のステップS13の機器制御処理で使用される。 In step S119, the feature amount determined in step S118 is generated based on the reference information from data sources #1 to #3, and the generated feature amount is input to the inference unit determined in step S118 as input information. As a result, the inference control unit 42 executes inference according to the mode of inference operation specified by the developer (information aggregation server 22). As the inference is executed, the inference device outputs a value in the range of 0 to 1 indicating the "degree of risk of Internet communication being disrupted" as an inference result (inference output). The inference result output from the inference unit and the determination threshold specified by the information aggregation server 22 are supplied from the inference control unit 42 to the device control unit 43 and used in the device control process in step S13 of FIG.
<第2の実施の形態に係る異常通知処理(ステップS14)>
 図14は、第2の実施の形態に係る異常通知処理の手順例を示したフローチャートである。ステップS131では、推論制御部42では、図5のステップS11(図6のフローチャート)のデータソース異常検出処理の結果が「データソース異常あり」か否かを判定する。なお、「データソース異常あり」と判定される場合として、「フォールバック推論可能」な場合と、「推論不可」の場合とがある。
<Abnormality Notification Processing (Step S14) According to Second Embodiment>
FIG. 14 is a flow chart showing an example of the procedure of abnormality notification processing according to the second embodiment. In step S131, the inference control unit 42 determines whether or not the result of the data source abnormality detection process in step S11 of FIG. 5 (flow chart of FIG. 6) is "data source abnormality". It should be noted that cases where it is determined that "data source is abnormal" include cases where "fallback inference is possible" and cases where "inference is not possible".
 ステップS131において、否定された場合には、処理は、ステップS132をスキップしてステップS133に進む。ステップS131において、肯定された場合には、処理は、ステップS132に進む。ステップS132では、推論制御部42は、以下の内容を異常通知情報として情報集約サーバ22に送信する。
・データソース異常が発生していること
・データソースの種類
・各データソース#1乃至#3のバージョン情報リスト
・プロダクトを特定できる情報(型番や、プロダクト名称)
・フォールバック推論を行った場合には、
・・使用した推論器
・・使用した特徴量(予約値にマスクした特徴量の有無の情報を含む)
・・推論出力の値
If the result in step S131 is NO, the process skips step S132 and proceeds to step S133. If the determination in step S131 is affirmative, the process proceeds to step S132. In step S132, the inference control unit 42 transmits the following contents to the information aggregation server 22 as abnormality notification information.
・Data source error ・Data source type ・Version information list for each data source #1 to #3 ・Information that can identify the product (model number and product name)
・When fallback inference is performed,
・・Used reasoner ・・Used feature amount (including information on the presence or absence of the feature amount masked to the reserved value)
・・・Inference output value
 以上のような異常通知情報を情報集約サーバ22に送信することで、データソース#1乃至#3のいずれかに開発者の保障外のバージョンが用いられた場合においても、電子機器21の全体として予期しない動作が発生する状況を回避することができる仕組みが提供される。処理はステップS132からステップS133に進む。 By transmitting the abnormality notification information as described above to the information aggregation server 22, the electronic device 21 as a whole can A mechanism is provided that can avoid situations where unexpected behavior occurs. Processing proceeds from step S132 to step S133.
 ステップS133では、推論制御部42は、情報集約サーバ22に対して以下の情報を問い合わせ、その返答を取得する。
・本電子機器における推論動作指示
・最新の推論器リスト
・最新のサポートバージョンテーブル(の有無)
In step S133, the inference control unit 42 inquires of the information aggregation server 22 about the following information, and obtains a response.
・Inference operation instructions for this electronic device ・Latest reasoner list ・Latest support version table (with or without)
 本ステップS133において問い合わせを行う点が図12の第1の実施の形態に係る異常通知処理と相違する。処理はステップS133からステップS134に進む。 The difference from the abnormality notification process according to the first embodiment in FIG. 12 is that an inquiry is made in this step S133. Processing proceeds from step S133 to step S134.
 ステップS134では、推論制御部42は、ステップS133での問い合わせに対する情報集約サーバ22からの返答に基づいて、必要に応じて、新規に追加された推論器のデータと、最新のサポートバージョンテーブルとをダウンロードし、保存する。推論制御部42は、例えば、「最新の推論器リスト」の問い合わせに対する返答を参照した結果、情報集約サーバ22において推論制御部42が新規に追加すべき新たな推論器が追加されていたとする。その場合に、推論制御部42は、新規に追加された推論器のデータ(推論器の処理を実行するためのデータ)を情報集約サーバ22からダウンロードし、その推論器を追加する。なお、推論制御部42が保持している推論器が更新されている場合も、同様に、更新された推論器のデータを情報集約サーバ22からダウンロードして、その推論器を更新する場合であってもよい。 In step S134, the inference control unit 42, based on the response from the information aggregation server 22 to the inquiry in step S133, updates the newly added inference unit data and the latest support version table as necessary. Download and save. Assume, for example, that the inference control unit 42 has added a new inference device to be newly added in the information aggregating server 22 as a result of referring to the response to the inquiry about the “latest inference device list”. In that case, the inference control unit 42 downloads the data of the newly added inference device (data for executing the processing of the inference device) from the information aggregation server 22 and adds the inference device. Similarly, when the inference controller held by the inference control unit 42 has been updated, the data of the updated inference device is similarly downloaded from the information aggregation server 22 to update the inference device. may
 推論制御部42は、例えば、「最新のサポートバージョンテーブル」の問い合わせに対する返答を参照した結果、情報集約サーバ22において推論制御部42が保持すべきサポートバージョンテーブルが更新されていたとする。その場合に、推論制御部42は、そのサポートバージョンテーブルのデータを情報集約サーバ22からダウンロードし、推論制御部42のサポートバージョンテーブルを最新のものに更新する。処理はステップS134からステップS135に進む。 Assume, for example, that the inference control unit 42 has updated the support version table to be held by the inference control unit 42 in the information aggregation server 22 as a result of referring to the reply to the inquiry about the "latest support version table". In that case, the inference control unit 42 downloads the data of the support version table from the information aggregation server 22 and updates the support version table of the inference control unit 42 to the latest one. Processing proceeds from step S134 to step S135.
 ステップS135では、推論制御部42は、ステップS133での問い合わせに対する情報集約サーバ22からの返答に基づいて、必要に応じて、電子機器21における推論動作指示を保存し、設定する。推論制御部42は、例えば、「本電子機器における推論動作指示」の問い合わせに対する返答を参照した結果、データソース異常を検出した際に電子機器21(推論制御部42)がどのように動作すべきかの推論動作の態様について情報集約サーバ22からの指示があったとする。その場合に、推論制御部42は、その推論動作指示を情報集約サーバ22からダウンロードし、保存及び設定する。情報集約サーバ22からの推論動作指示を保存及び設定した場合、推論制御部42は、図13のフローチャート(推論試行処理)のステップS111において、情報集約サーバ22から推論動作についての明示的な指示があり、その指示によって推論動作が設定されていると判定することなる。例えば、現環境のデータソース#1乃至#3のバージョンの組合せが、推論制御部42が保持しているサポートバージョンテーブルに無い場合に、サポートバージョンテーブルだけでの判断では推論スキップになる。しかしながら、開発者側での確認が取れれば推論が可能である場合がある。そこで、本実施の形態では、推論制御部42は、そのような場合には、情報集約サーバ22からの推論動作指示に従って推論を実行する。処理はステップS135の後、本フローチャートの処理が終了する。 In step S135, the inference control unit 42 saves and sets inference operation instructions in the electronic device 21 as necessary based on the response from the information aggregation server 22 to the inquiry in step S133. For example, the inference control unit 42 determines how the electronic device 21 (the inference control unit 42) should operate when an abnormality in the data source is detected as a result of referring to the response to the inquiry "Inference operation instruction for this electronic device." Assume that the information aggregation server 22 has given an instruction regarding the mode of the inference operation of . In that case, the inference control unit 42 downloads the inference operation instruction from the information aggregation server 22, stores it, and sets it. When the inference operation instruction from the information aggregation server 22 is saved and set, the inference control unit 42 receives an explicit instruction on the inference operation from the information aggregation server 22 in step S111 of the flowchart (inference trial processing) of FIG. It is determined that the inference operation is set by the instruction. For example, if the combination of versions of the data sources #1 to #3 in the current environment is not in the support version table held by the inference control unit 42, determination based on the support version table alone will result in inference skipping. However, inference may be possible if confirmation by the developer side can be obtained. Therefore, in this embodiment, the inference control unit 42 executes inference in accordance with the inference operation instruction from the information aggregation server 22 in such a case. After step S135, the processing of this flowchart ends.
 なお、電子機器21(推論制御部42)から問い合わせに対して情報集約サーバ22からの応答はすぐに返ってくるとは限らず、電子機器21から情報集約サーバ22への問い合わせと、情報集約サーバ22から電子機器21への返答には、時間差があっても良い。 Note that the response from the information aggregation server 22 to the inquiry from the electronic device 21 (the inference control unit 42) is not always returned immediately. There may be a time lag between the response from 22 to the electronic device 21 .
 以上の第2の実施の形態によれば、推論制御部42の推論に用いられる入力情報(特徴量)と事前に想定された入力情報との不整合が生じた場合であっても、推論の動作態様が切り換えられて推論結果の精度の低下が抑止される。したがって、推論結果も用いた電子機器21の誤動作の発生が抑止される。また、不整合が生じた場合に、その旨が開発者(情報集約サーバ22)に伝達されるので、開発者側で確認が取れれば、電子機器21において推論器やサポートバージョンテーブルが随時新しいものに更新される。その結果、各データソースのバージョンの更新に対して、より柔軟に対応できるようになる。 According to the second embodiment described above, even if there is a mismatch between the input information (feature amount) used for inference by the inference control unit 42 and the presupposed input information, the inference can be performed. The mode of operation is switched to prevent the accuracy of the inference result from deteriorating. Therefore, the electronic device 21 that also uses the inference result is prevented from malfunctioning. In addition, when an inconsistency occurs, the fact is communicated to the developer (information aggregation server 22). is updated to As a result, it becomes possible to respond more flexibly to version updates of each data source.
<<本技術の第3の実施の形態>>
 本技術の第3の実施の形態では、図5のステップS11のデータソース異常検出処理におけるデータソース異常の検出が、第1及び第2の実施の形態のようにデータソース#1乃至#3のバージョンに基づいて行われるのではなく、各データソース#1乃至#3から提供される参照情報に基づいて行われる。開発者がサポートしているバージョンであってもデバイスの故障によってデータソースから異常な値が推論器に入力されることが発生しうるが、本第3の実施の形態では、このような事態が回避される。
<<Third embodiment of the present technology>>
In the third embodiment of the present technology, data source abnormality detection in the data source abnormality detection process in step S11 of FIG. This is not based on version, but on reference information provided by each data source #1 to #3. Even if the version is supported by the developer, an abnormal value may be input to the inference unit from the data source due to a device failure. Avoided.
 なお、第3の実施の形態に係る情報処理システム、及び電子機器の構成例については、図3の第1及び第2の実施の形態に係る情報処理システム11の構成例、及び、図4の第1及び第2の実施の形態に係る電子機器21の構成例と共通する。したがって、第3の実施の形態に係る情報処理システム、及び電子機器の構成例については、図3及び図4を用いて説明した通りであり、詳細な説明は省略する。 It should be noted that configuration examples of the information processing system and the electronic device according to the third embodiment are shown in FIG. This configuration is common to the configuration example of the electronic device 21 according to the first and second embodiments. Therefore, the configuration examples of the information processing system and the electronic device according to the third embodiment are as described with reference to FIGS. 3 and 4, and detailed description thereof will be omitted.
 第3の実施の形態に係る電子機器21における推論処理の全体の流れ、バージョンデータベース、サポートバージョンテーブル、推論実行テーブル、第3の実施の形態に係る機器制御処理の手順例、及び第3の実施の形態に係る推論試行処理の手順例については、図5の第1及び第2の実施の形態に係る電子機器21における推論処理の全体の流れ、図7のバージョンデータベース44、図8のサポートバージョンテーブル、図10の推論実行テーブル、図11の第1及び第2の実施の形態に係る機器制御処理の手順例、及び図13の第2の実施の形態に係る推論試行処理の手順例と共通する。したがって、第3の実施の形態に係る電子機器21における推論処理の全体の流れ、バージョンデータベース、サポートバージョンテーブル、推論実行テーブル、第3の実施の形態に係る機器制御処理の手順例、及び第3の実施の形態に係る推論試行処理の手順例については、図5、図7、図8、図10、図11、及び図13を用いて説明した通りであり、詳細な説明は省略する。 Overall Flow of Inference Processing in Electronic Device 21 According to Third Embodiment, Version Database, Support Version Table, Inference Execution Table, Procedure Example of Device Control Processing According to Third Embodiment, and Third Implementation 5, the overall flow of inference processing in the electronic device 21 according to the first and second embodiments in FIG. 5, the version database 44 in FIG. 7, and the support version in FIG. Common to the table, the inference execution table in FIG. 10, the procedure example of the device control processing according to the first and second embodiments in FIG. 11, and the procedure example of the inference trial processing according to the second embodiment in FIG. do. Therefore, the overall flow of inference processing in the electronic device 21 according to the third embodiment, the version database, the support version table, the inference execution table, the procedure example of the device control processing according to the third embodiment, and the third The procedure example of the inference trial process according to the embodiment is as described with reference to FIGS.
 ただし、第3の実施の形態に係るデータソース異常検出処理及び異常通知処理については、第2の実施の形態と相違する。したがって、第2の実施の形態に対して相違する第3の実施の形態に係るデータソース異常検出処理及び異常通知処理についてのみ説明する。 However, the data source anomaly detection process and anomaly notification process according to the third embodiment are different from those of the second embodiment. Therefore, only data source abnormality detection processing and abnormality notification processing according to the third embodiment, which are different from the second embodiment, will be described.
<第3の実施の形態に係るデータソース異常検出処理(ステップS11)>
 図15は、第3の実施の形態に係るデータソース異常検出処理の手順例を示したフローチャートである。ステップS151では、推論制御部42は、各データソース#1乃至#3から推論器への入力系統の監視を一定時間継続する。各データソース#1乃至#3から推論器への入力系統の監視とは、次のいずれかの態様を示す。第1の態様は、データソースがセンサ類や通信デバイス類のような専用のハードウェアを含む場合において、そのハードウェアから出力される1又は複数の出力信号(データ)のうち、推論器への入力情報(特徴量)に寄与する出力信号を監視(検出)する態様である。第2の態様は、第1の態様のようにデータソースが専用のハードウェアを含み、かつ、ファームウェアやドライバのようなソフトウェアを含む場合、又は、データソースがソフトウェアモジュールのような専用のハードウェアを含まず、ソフトウェアのみを含む場合において、そのソフトウェアが処理する1又は複数の信号(データ)のうち、推論器への入力情報(特徴量)に寄与する信号を監視(検出)する態様である。第3の態様は、推論制御部42が、データソースから提供された参照情報として供給された信号(データ)から推論器のへの入力情報(特徴量)を生成する前処理部を含む場合において、その前処理部が推論器への入力情報(特徴量)を生成する過程で生じる信号又は生成した特徴量を検出する態様である。
<Data source abnormality detection process (step S11) according to the third embodiment>
FIG. 15 is a flow chart showing an example procedure of data source abnormality detection processing according to the third embodiment. In step S151, the inference control unit 42 continues monitoring the input systems from the data sources #1 to #3 to the inference unit for a certain period of time. The monitoring of the input system from each data source #1 to #3 to the reasoner indicates any of the following aspects. In the first aspect, when the data source includes dedicated hardware such as sensors and communication devices, one or more output signals (data) output from the hardware are sent to the inference unit. This is a mode of monitoring (detecting) an output signal that contributes to input information (feature quantity). The second aspect is when the data source includes dedicated hardware and includes software such as firmware and drivers as in the first aspect, or when the data source includes dedicated hardware such as software modules. is included, and only software is included, one or more signals (data) processed by the software are monitored (detected) for signals that contribute to input information (feature amounts) to the reasoner . A third aspect is when the inference control unit 42 includes a preprocessing unit that generates input information (feature amounts) to the inference unit from a signal (data) supplied as reference information supplied from a data source. , the preprocessing unit detects a signal generated in the process of generating input information (feature amount) to the reasoner or the generated feature amount.
 推論制御部42は、これらの第1乃至第3の態様によりデータソース#1乃至#3から推論器への1又は複数の入力系列の値の検出を一定時間継続して行う。処理はステップS151かステップS152に進む。 The inference control unit 42 continuously detects values of one or a plurality of input series from the data sources #1 to #3 to the inference device according to these first to third modes for a certain period of time. The process proceeds to step S151 or step S152.
 ステップS152では、推論制御部42は、ステップS151で検出した入力系統の値と、期待値系列の値(以下、期待値という)とを比較する。期待値とは、開発者が想定した入力系列の値の平均的な値を示す。処理はステップS152からステップS153に進む。 In step S152, the inference control unit 42 compares the value of the input system detected in step S151 with the value of the expected value series (hereinafter referred to as expected value). The expected value indicates the average value of the input sequence values assumed by the developer. Processing proceeds from step S152 to step S153.
 ステップS153では、推論制御部42は、ステップS151で検出した入力系列の値が、期待値から定常的に逸脱しているデータソース(特徴量)があるか否かを判定する。入力系統の値が、期待値から定常的に逸脱しているとは、例えば、入力系統の値と期待値との差分(差の絶対値)が予め決められた閾値よりも大きくなる時間が、予め決められた時間よりも長く継続する場合、又は、一定時間の間に検出された入力系統の値の数に対して、期待値との差分(差の絶対値)が予め決められた閾値より大きくなる入力系統の値の数が予め決められた割合よりも大きい場合を示す。入力系統の値が期待値から定常的に逸脱しているデータソースとは、入力系統の値が、期待値から定常的に逸脱している場合に、その入力系統の信号を供給するデータソースを意味する。 In step S153, the inference control unit 42 determines whether or not there is a data source (feature value) in which the values of the input series detected in step S151 steadily deviate from the expected values. When the value of the input system steadily deviates from the expected value, for example, the time when the difference (absolute value of the difference) between the value of the input system and the expected value exceeds a predetermined threshold is If it continues longer than a predetermined time, or the number of input system values detected during a certain period of time, the difference (absolute value of the difference) from the expected value is greater than a predetermined threshold A case is shown where the number of input system values that increase is greater than a predetermined ratio. A data source whose input strain value regularly deviates from its expected value is a data source that supplies a signal for that input strain when its value consistently deviates from its expected value. means.
 ステップS153において、否定された場合、処理はステップS154に進み、推論制御部42は、「データソース異常なし」かつ「推論可能」という結果を得る。ステップS153において、肯定された場合、処理はステップS155に進む。 If the result in step S153 is NO, the process proceeds to step S154, and the inference control unit 42 obtains a result of "no data source abnormality" and "inference possible". If the determination in step S153 is affirmative, the process proceeds to step S155.
 ステップS155では、推論制御部42は、図10の推論動作テーブルを参照し、エントリ#1乃至#5のうち、期待値から定常的に逸脱している入力系統が寄与する特徴量について、予測値にマスクするエントリ、又は、推論器への入力情報から除外するエントリがあるか否かを判定する。 In step S155, the inference control unit 42 refers to the inference operation table of FIG. It is determined whether or not there is an entry to be masked in , or an entry to be excluded from the input information to the reasoner.
 ステップS155において、否定された場合、処理はステップS156に進み、推論制御部42は、推論制御部42は、「データソース異常あり」かつ「推論不可」という結果を得る。ステップS155において、肯定された場合、処理はステップS157に進み、推論制御部42は、「データソース異常あり」かつ「フォールバック推論可能」という結果を得る。 If the result in step S155 is NO, the process proceeds to step S156, and the inference control unit 42 obtains the result of "data source error" and "inference impossible". If the result in step S155 is affirmative, the process proceeds to step S157, and the inference control unit 42 obtains a result of "data source abnormal" and "fallback inference possible".
 例えば、無線LANデバイスが保障バージョンではない場合や無線LANデバイスに故障等の異常が発生した場合において、無線LANデバイスから推定器への入力情報(特徴量)の一つである「チャネルビジー率」の検出値が定常的に期待値から逸脱している状況であるとする。この場合に、推論制御部42は、図10の推論動作テーブルを参照し、無線LANデバイスから取得される「チャネルビジー率」が予約値にマスクされるエントリ#5が推論動作の態様として選択される。これにより、推論制御部42は、データソース異常検出結果として、「データソース異常あり」、及び、「フォールバック推論可能」という結果を得る。 For example, when the wireless LAN device is not the guaranteed version or when an abnormality such as a failure occurs in the wireless LAN device, the "channel busy rate" is one of the input information (feature values) from the wireless LAN device to the estimator. Suppose that the detected value of is constantly deviating from the expected value. In this case, the inference control unit 42 refers to the inference operation table of FIG. 10, and selects entry #5 in which the "channel busy rate" acquired from the wireless LAN device is masked with a reserved value as the mode of inference operation. be. As a result, the inference control unit 42 obtains the results of "data source anomaly detected" and "fallback inference possible" as data source anomaly detection results.
<第3の実施の形態に係る異常通知処理(ステップS14)>
 第3の実施の形態に係る異常通知処理の手順例は、第2の実施の形態における異常通知処理の手順例を示した図14のフローチャートとほぼ同等である。ただし、第3の実施の形態に係る異常通知処理では、図14のフローチャートのステップS132において、推論制御部42が情報集約サーバ22に送信する情報として次の情報を追加する。
・異常が検出されたデータソースの入力系列(期待値から定常的に逸脱していることが検出された入力系統)から検出された値(生のサンプル値)
<Abnormality Notification Processing (Step S14) According to Third Embodiment>
A procedure example of the abnormality notification process according to the third embodiment is substantially the same as the flowchart of FIG. 14 showing an abnormality notification process procedure example in the second embodiment. However, in the abnormality notification process according to the third embodiment, in step S132 of the flowchart of FIG. 14, the inference control unit 42 adds the following information to the information aggregation server 22.
・Values (raw sample values) detected from the input series of the data source where the anomaly was detected (the input series where regular deviations from the expected values were detected)
 以上の第3の実施の形態によれば、推論制御部42の推論に用いられる入力情報(特徴量)と事前に想定された入力情報との不整合が生じた場合であっても、推論の動作態様が切り換えられて推論結果の精度の低下が抑止される。したがって、推論結果も用いた電子機器21の誤動作の発生が抑止される。また、データソースのバージョン番号の管理だけでは対処できないデータソース異常についても対処できるようになる。 According to the third embodiment described above, even if there is a mismatch between the input information (feature amount) used for the inference of the inference control unit 42 and the presupposed input information, the inference can be performed. The mode of operation is switched to prevent the accuracy of the inference result from deteriorating. Therefore, the electronic device 21 that also uses the inference result is prevented from malfunctioning. In addition, it becomes possible to deal with data source errors that cannot be dealt with only by managing data source version numbers.
 なお、第3の実施の形態に係るデータソース異常検出処理は、第1の実施の形態に対しても適用することができ、データソース異常を、データソースのバージョンに基づいて検出する代わりに、データソースから推論器への入力系統の値により検出してもよい。 The data source abnormality detection process according to the third embodiment can also be applied to the first embodiment, and instead of detecting data source abnormality based on the data source version, It may be detected by the value of the input system from the data source to the reasoner.
<<変形例>>
 本技術は、以上の第1乃至第3の実施の形態に対して以下のような変更を行った実施の形態であって適用され得る。
<<Modification>>
The present technology can be applied to embodiments in which the following modifications are made to the first to third embodiments described above.
(1)図5のフローチャートで示した推論処理の全体の流れにおいて、ステップS13の機器制御処理とステップS14の異常通知処理とは順不同であり、並列に行われる場合であってもよい。 (1) In the overall flow of the inference processing shown in the flowchart of FIG. 5, the device control processing in step S13 and the abnormality notification processing in step S14 may be performed in any order, and may be performed in parallel.
(2)図4のデータソース#2及び#3の通信デバイス及びユーザコンテキスト情報提供モジュールはそれぞれ、「デバイス単体で値を出力するデータソース」、「当該デバイスと何らかの対向機器との通信を元に値を出力するデータソース」、「特定のハードウェアを持たない外部のソフトウェアモジュールが、他から得た情報を2次加工して出力するデータソース」を代表した一例であり、データソースは、上記実施の形態に挙げた3つの例に限らない。センサデバイス、通信デバイス、及び外部ソフトウェアモジュールがそれぞれデータソースとして複数個あってもよい。 (2) Communication devices and user context information providing modules of data sources #2 and #3 in FIG. It is a representative example of "data source that outputs values" and "data source that outputs secondary processing of information obtained from other sources by an external software module that does not have specific hardware". It is not limited to the three examples cited in the embodiment. There may be multiple sensor devices, communication devices, and external software modules as data sources.
(3)図4のデータソースとなり得るセンサデバイスは、加速度センサに限らず、撮像装置、マイク、タッチセンサ、温度センサ、湿度センサ、地磁気センサ、ミリ波レーダ等の任意のセンサ類であってよい。 (3) The sensor device that can be the data source in FIG. 4 is not limited to the acceleration sensor, and may be any sensor such as an imaging device, a microphone, a touch sensor, a temperature sensor, a humidity sensor, a geomagnetic sensor, and a millimeter wave radar. .
(4)図4のデータソースとりうる通信デバイスは、無線LANデバイスに限らず、GPS(Global Positioning System)、Cellular(GSM/HSDPA/LTE/5G NR)、Bluetooth(登録商標)、IrDA(登録商標:Infrared Data Association)、UWB(登録商標)、Zigbee(登録商標)、WiGig(登録商標)等の任意の通信デバイスであってよい。 (4) Communication devices that can be data sources in FIG. 4 are not limited to wireless LAN devices, but are : Infrared Data Association), UWB®, Zigbee®, WiGig®, etc., any communication device.
(5)図4のデータソースとなりうる外部ソフトウェアモジュールは、推論制御部42が有する推論器A乃至Cとは別の推論器を含み、その結果を参照情報として出力するものであってよい。 (5) The external software module that can be the data source in FIG. 4 may include an inference device other than the inference devices A to C of the inference control unit 42, and output the result as reference information.
(6)第1及び第2の実施の形態に係るデータソース異常検出処理において、ファームウェアバージョンだけではデータソースのハードウェアが一意に決まらないような場合は、データソースのバージョン情報としてハードウェアバージョンが含まれるようにしてもよい。 (6) In the data source abnormality detection processing according to the first and second embodiments, if the hardware of the data source cannot be uniquely determined only by the firmware version, the hardware version is used as the version information of the data source. may be included.
(7)図5のフローチャートで示した推論処理の全体の流れにおいて、ステップS14の異常通知処理(第1乃至第3の実施の形態に係る異常通知処理)における情報集約サーバ22への異常通知情報の送信方法は、必ずしもデータソース#2とした通信デバイスを使用したものでなくてもよい。例えば、オフライン処理として、USBで電子機器21をPCに接続後、そのPCを介して異常通知情報が情報集約サーバ22に送信される場合であってもよい。 (7) In the overall flow of the inference processing shown in the flowchart of FIG. may not necessarily use the communication device used as data source #2. For example, as offline processing, after the electronic device 21 is connected to a PC via USB, the abnormality notification information may be transmitted to the information aggregation server 22 via the PC.
(8)図4のデータソース#3のユーザコンテキスト情報提供モジュールがOS(operating system)の一部であって、単体でバージョン情報を有していないには、ユーザコンテキスト情報提供モジュールのバージョンとしてOSのバージョンを代用してもよい。 (8) If the user context information providing module of data source #3 in FIG. 4 is part of the OS (operating system) and does not have version information by itself, the version of the user context information providing module is version can be substituted.
(9)図15のフローチャートで示した第3の実施の形態に係るデータソース異常検出処理において、推論制御部42は、推論器への入力系列の値と期待値(期待値系列の値)とを比較する異常検知で用いる期待値系列を複数備えていてもよく、状況やユースケース等に応じて異常検知で用いる期待値系列を変更してもよい。その場合は、推論制御部42は、状況やユースケースを分類する付加情報とともに複数の期待値系列を利用し、状況やユースケースに対応する期待値系列を用いて異常検知を行う。 (9) In the data source anomaly detection process according to the third embodiment shown in the flowchart of FIG. may be provided with a plurality of expected value sequences used in anomaly detection for comparing . In that case, the inference control unit 42 uses a plurality of expected value sequences together with additional information for classifying situations and use cases, and performs anomaly detection using the expected value sequences corresponding to the situations and use cases.
(10)第3の実施の形態に係る異常通知処理において、推論制御部42は、全データソースの入力系列から検出した値(生サンプル値)を情報集約サーバ22に送信するようにしてもよい。 (10) In the anomaly notification process according to the third embodiment, the inference control unit 42 may transmit values (raw sample values) detected from the input series of all data sources to the information aggregation server 22. .
(11)図6のフローチャートで示した第1及び第2の実施の形態に係るデータソース異常検出処理におけるデータソースのバージョンの照合によるデータソース異常の検出と、図15のフローチャートで示した第3の実施の形態に係るデータソース異常検出処理における入力系列の監視(入力系列と期待値との比較)によるデータソース異常の検出とを併用してもよい。 (11) Detection of data source abnormality by collation of data source versions in the data source abnormality detection processing according to the first and second embodiments shown in the flowchart of FIG. Data source abnormality detection by monitoring the input sequence (comparing the input sequence and the expected value) in the data source abnormality detection processing according to the embodiment may be used in combination.
<<プログラム>>
 上述した電子機器21における一連の処理は、ハードウエアにより実行することもできるし、ソフトウェアにより実行することもできる。一連の処理をソフトウェアにより実行する場合には、そのソフトウェアを構成するプログラムが、コンピュータにインストールされる。ここで、コンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどが含まれる。
<<Program>>
A series of processes in the electronic device 21 described above can be executed by hardware or by software. When executing a series of processes by software, a program that constitutes the software is installed in the computer. Here, the computer includes, for example, a computer built into dedicated hardware and a general-purpose personal computer capable of executing various functions by installing various programs.
 図16は、上述した一連の処理をプログラムにより実行するコンピュータのハードウェアの構成例を示すブロック図である。 FIG. 16 is a block diagram showing a hardware configuration example of a computer that executes the series of processes described above by a program.
 コンピュータにおいて、CPU(Central Processing Unit)201,ROM(Read Only Memory)202,RAM(Random Access Memory)203は、バス204により相互に接続されている。 In the computer, a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, and a RAM (Random Access Memory) 203 are interconnected by a bus 204.
 バス204には、さらに、入出力インタフェース205が接続されている。入出力インタフェース205には、入力部206、出力部207、記憶部208、通信部209、及びドライブ210が接続されている。 An input/output interface 205 is further connected to the bus 204 . An input unit 206 , an output unit 207 , a storage unit 208 , a communication unit 209 and a drive 210 are connected to the input/output interface 205 .
 入力部206は、キーボード、マウス、マイクロフォンなどよりなる。出力部207は、ディスプレイ、スピーカなどよりなる。記憶部208は、ハードディスクや不揮発性のメモリなどよりなる。通信部209は、ネットワークインタフェースなどよりなる。ドライブ210は、磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリなどのリムーバブルメディア211を駆動する。 The input unit 206 consists of a keyboard, mouse, microphone, and the like. The output unit 207 includes a display, a speaker, and the like. The storage unit 208 is composed of a hard disk, a nonvolatile memory, or the like. A communication unit 209 includes a network interface and the like. A drive 210 drives a removable medium 211 such as a magnetic disk, optical disk, magneto-optical disk, or semiconductor memory.
 以上のように構成されるコンピュータでは、CPU201が、例えば、記憶部208に記憶されているプログラムを、入出力インタフェース205及びバス204を介して、RAM203にロードして実行することにより、上述した一連の処理が行われる。 In the computer configured as described above, the CPU 201 loads, for example, a program stored in the storage unit 208 into the RAM 203 via the input/output interface 205 and the bus 204 and executes the above-described series of programs. is processed.
 コンピュータ(CPU201)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブルメディア211に記録して提供することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線又は無線の伝送媒体を介して提供することができる。 The program executed by the computer (CPU 201) can be provided by being recorded on removable media 211 such as package media, for example. Also, the program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
 コンピュータでは、プログラムは、リムーバブルメディア211をドライブ210に装着することにより、入出力インタフェース205を介して、記憶部208にインストールすることができる。また、プログラムは、有線又は無線の伝送媒体を介して、通信部209で受信し、記憶部208にインストールすることができる。その他、プログラムは、ROM202や記憶部208に、あらかじめインストールしておくことができる。 In the computer, the program can be installed in the storage section 208 via the input/output interface 205 by loading the removable medium 211 into the drive 210 . Also, the program can be received by the communication unit 209 and installed in the storage unit 208 via a wired or wireless transmission medium. In addition, programs can be installed in the ROM 202 and the storage unit 208 in advance.
 なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。 The program executed by the computer may be a program that is processed in chronological order according to the order described in this specification, or may be executed in parallel or at a necessary timing such as when a call is made. It may be a program in which processing is performed.
本技術は以下のような構成も取ることができる。
(1)
 入力情報に基づいて推論を実行する処理部であって、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える処理部
 を有する
 情報処理装置。
(2)
 予め決められた全ての種類の前記入力情報を用いて前記推論を実行する場合を第1の動作態様とし、前記全ての種類の前記入力情報のうち、一部の種類の入力情報を用いずに前記推論を実行する場合を第2の動作態様とし、前記全ての種類の前記入力情報のうち、一部の種類の前記入力情報を予め決められた値にマスクして前記推論を実行する場合を第3の動作態様とし、前記推論を実行しない場合を第4の動作態様とし、
 前記処理部は、前記不整合が生じていない場合には、前記第1の動作態様で前記推論を実行し、前記不整合が生じた場合には、前記第2乃至第4の動作態様のうちのいずれかの動作態様に切り替える
 前記(1)に記載の情報処理装置。
(3)
 前記処理部は、前記不整合が生じた場合には、前記第2乃至第4の動作態様のうち、自装置と異なる外部装置からの指示に従った動作態様に切り替える
 前記(2)に記載の情報処理装置。
(4)
 前記処理部は、前記第1又は第3の動作態様での前記推論に使用される第1の推論器と、前記第2の動作態様での前記推論、又は、前記第2の動作態様で、かつ、前記第3の動作態様での前記推論に使用される第2の推論器とを内包する
 前記(2)又は(3)に記載の情報処理装置。
(5)
 前記第1及び第2の推論器は、ニューラルネットワークの構造を有する推論モデルである
 前記(4)に記載の情報処理装置。
(6)
 前記処理部は、前記入力情報を提供するデータソースのバージョンが予め想定された1又は複数のバージョンの全てと相違する場合に前記不整合が生じたと判定する
 前記(1)乃至(5)のいずれかに記載の情報処理装置。
(7)
 前記データソースは、センサ類、通信デバイス類、又はソフトウェアコンポーネントである
 前記(6)に記載の情報処理装置。
(8)
 前記データソースのバージョンは、前記データソースの構成要素であるハードウェア、ファームウェア、及びデバイスドライバのうちのいずれか複数のバージョンの組合せにより特定される
 前記(6)又は(7)に記載の情報処理装置。
(9)
 前記処理部は、前記入力情報を提供するデータソースから前記入力情報に寄与する信号が流れる入力系統の値と予め決められた期待値との比較に基づいて前記不整合が生じたか否かを判定する
 前記(1)乃至(8)のいずれかに記載の情報処理装置。
(10)
 前記データソースは、センサ類、通信デバイス類、又はソフトウェアコンポーネントである
 前記(9)に記載の情報処理装置。
(11)
 前記処理部は、前記推論により特定の判断が真であるとすることの確信度を推論結果として予測する
 前記(1)乃至(10)のいずれかに記載の情報処理装置。
(12)
 前記処理部は、前記推論結果と比較する予め決められた判定閾値であって、前記特定の判断が真であると判定するための判定閾値を前記推論の動作態様ごとに有する
 前記(11)に記載の情報処理装置。
(13)
 前記処理部は、前記不整合が生じた場合に、前記不整合に関する情報を外部装置に通知する
 前記(1)乃至(12)のいずれかに記載の情報処理装置。
(14)
 前記処理部は、前記不整合が生じた場合に、前記外部装置からの指示を取得する
 前記(3)に記載の情報処理装置。
(15)
 処理部
 を有する情報処理装置の
 前記処理部が、入力情報に基づいて推論を実行し、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える
 情報処理方法。
(16)
 コンピュータを
 入力情報に基づいて推論を実行する処理部であって、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える処理部
 として機能させるためのプログラム。
The present technology can also take the following configurations.
(1)
An information processing apparatus comprising: a processing unit that performs inference based on input information, the processing unit switching an operation mode of the inference when a mismatch occurs between the input information and presupposed input information. .
(2)
A first operation mode is a case where the inference is executed using all the types of the input information determined in advance, and without using some types of the input information among all the types of the input information. A case where the inference is executed is defined as a second operation mode, and a case where the inference is executed by masking some types of the input information out of all the types of the input information with a predetermined value. A third mode of operation, and a fourth mode of operation when the inference is not executed,
The processing unit executes the inference in the first operation mode when the inconsistency does not occur, and executes the inference in one of the second to fourth operation modes when the inconsistency occurs. The information processing apparatus according to (1) above.
(3)
The processing unit according to (2) above, when the inconsistency occurs, among the second to fourth operation modes, switching to an operation mode according to an instruction from an external device different from the own device. Information processing equipment.
(4)
The processing unit includes a first reasoner used for the reasoning in the first or third operation mode, the reasoning in the second operation mode, or the second operation mode, The information processing apparatus according to (2) or (3), further including a second reasoner used for the reasoning in the third operation mode.
(5)
The information processing apparatus according to (4), wherein the first and second reasoners are inference models having a neural network structure.
(6)
The processing unit determines that the inconsistency has occurred when the version of the data source that provides the input information is different from one or more versions assumed in advance, any of (1) to (5). 1. The information processing device according to claim 1.
(7)
The information processing apparatus according to (6), wherein the data sources are sensors, communication devices, or software components.
(8)
The version of the data source is specified by a combination of a plurality of versions of hardware, firmware, and device drivers, which are components of the data source. Information processing according to (6) or (7) above. Device.
(9)
The processing unit determines whether the mismatch has occurred based on a comparison between a value of an input system through which a signal contributing to the input information flows from a data source providing the input information and a predetermined expected value. The information processing apparatus according to any one of (1) to (8).
(10)
The information processing apparatus according to (9), wherein the data sources are sensors, communication devices, or software components.
(11)
The information processing device according to any one of (1) to (10), wherein the processing unit predicts, as an inference result, a degree of certainty that a specific judgment is true based on the inference.
(12)
(11), wherein the processing unit has, for each operation mode of the inference, a predetermined determination threshold to be compared with the inference result, the determination threshold for determining that the specific determination is true; The information processing device described.
(13)
The information processing apparatus according to any one of (1) to (12), wherein, when the mismatch occurs, the processing unit notifies an external device of information about the mismatch.
(14)
The information processing apparatus according to (3), wherein the processing unit acquires an instruction from the external device when the mismatch occurs.
(15)
In an information processing apparatus having a processing unit, the processing unit executes inference based on input information, and when a mismatch occurs between the input information and presupposed input information, the operation mode of the inference is changed. Switch information processing method.
(16)
A computer is made to function as a processing unit that executes inference based on input information, and that switches the operation mode of the inference when there is a mismatch between the input information and presupposed input information. program for.
 11 情報処理システム, 21 電子機器, 22 情報集約サーバ, 41-1,41-2,41-3 データソース, 42 推論制御部, 43 機器制御部, 44 バージョンデータベース 11 Information processing system, 21 Electronic device, 22 Information aggregation server, 41-1, 41-2, 41-3 Data source, 42 Inference control unit, 43 Device control unit, 44 Version database

Claims (16)

  1.  入力情報に基づいて推論を実行する処理部であって、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える処理部
     を有する
     情報処理装置。
    An information processing apparatus comprising: a processing unit that performs inference based on input information, the processing unit switching an operation mode of the inference when a mismatch occurs between the input information and presupposed input information. .
  2.  予め決められた全ての種類の前記入力情報を用いて前記推論を実行する場合を第1の動作態様とし、前記全ての種類の前記入力情報のうち、一部の種類の入力情報を用いずに前記推論を実行する場合を第2の動作態様とし、前記全ての種類の前記入力情報のうち、一部の種類の前記入力情報を予め決められた値にマスクして前記推論を実行する場合を第3の動作態様とし、前記推論を実行しない場合を第4の動作態様とし、
     前記処理部は、前記不整合が生じていない場合には、前記第1の動作態様で前記推論を実行し、前記不整合が生じた場合には、前記第2乃至第4の動作態様のうちのいずれかの動作態様に切り替える
     請求項1に記載の情報処理装置。
    A first operation mode is a case where the inference is executed using all the types of the input information determined in advance, and without using some types of the input information among all the types of the input information. A case where the inference is executed is defined as a second operation mode, and a case where the inference is executed by masking some types of the input information out of all the types of the input information with a predetermined value. A third mode of operation, and a fourth mode of operation when the inference is not executed,
    The processing unit executes the inference in the first operation mode when the inconsistency does not occur, and executes the inference in one of the second to fourth operation modes when the inconsistency occurs. The information processing apparatus according to claim 1, wherein the operation mode is switched to one of the operation modes.
  3.  前記処理部は、前記不整合が生じた場合には、前記第2乃至第4の動作態様のうち、自装置と異なる外部装置からの指示に従った動作態様に切り替える
     請求項2に記載の情報処理装置。
    3. The information according to claim 2, wherein when the inconsistency occurs, the processing unit switches to an operation mode according to an instruction from an external device different from the own device, among the second to fourth operation modes. processing equipment.
  4.  前記処理部は、前記第1又は第3の動作態様での前記推論に使用される第1の推論器と、前記第2の動作態様での前記推論、又は、前記第2の動作態様で、かつ、前記第3の動作態様での前記推論に使用される第2の推論器とを内包する
     請求項2に記載の情報処理装置。
    The processing unit includes a first reasoner used for the reasoning in the first or third operation mode, the reasoning in the second operation mode, or the second operation mode, 3. The information processing apparatus according to claim 2, further comprising a second reasoner used for said reasoning in said third operation mode.
  5.  前記第1及び第2の推論器は、ニューラルネットワークの構造を有する推論モデルである
     請求項4に記載の情報処理装置。
    The information processing apparatus according to claim 4, wherein the first and second reasoners are inference models having a neural network structure.
  6.  前記処理部は、前記入力情報を提供するデータソースのバージョンが予め想定された1又は複数のバージョンの全てと相違する場合に前記不整合が生じたと判定する
     請求項1に記載の情報処理装置。
    The information processing apparatus according to claim 1, wherein the processing unit determines that the inconsistency has occurred when the version of the data source that provides the input information is different from one or a plurality of versions assumed in advance.
  7.  前記データソースは、センサ類、通信デバイス類、又はソフトウェアコンポーネントである
     請求項6に記載の情報処理装置。
    7. The information processing apparatus of claim 6, wherein the data sources are sensors, communication devices, or software components.
  8.  前記データソースのバージョンは、前記データソースの構成要素であるハードウェア、ファームウェア、及びデバイスドライバのうちのいずれか複数のバージョンの組合せにより特定される
     請求項6に記載の情報処理装置。
    7. The information processing apparatus according to claim 6, wherein the version of the data source is identified by a combination of versions of any one of hardware, firmware, and device drivers that are components of the data source.
  9.  前記処理部は、前記入力情報を提供するデータソースから前記入力情報に寄与する信号が流れる入力系統の値と予め決められた期待値との比較に基づいて前記不整合が生じたか否かを判定する
     請求項1に記載の情報処理装置。
    The processing unit determines whether the mismatch has occurred based on a comparison between a value of an input system through which a signal contributing to the input information flows from a data source providing the input information and a predetermined expected value. The information processing apparatus according to claim 1.
  10.  前記データソースは、センサ類、通信デバイス類、又はソフトウェアコンポーネントである
     請求項9に記載の情報処理装置。
    10. The information processing apparatus of claim 9, wherein the data sources are sensors, communication devices, or software components.
  11.  前記処理部は、前記推論により特定の判断が真であるとすることの確信度を推論結果として予測する
     請求項1に記載の情報処理装置。
    The information processing apparatus according to claim 1, wherein the processing unit predicts, as an inference result, a degree of certainty that a specific judgment is true based on the inference.
  12.  前記処理部は、前記推論結果と比較する予め決められた判定閾値であって、前記特定の判断が真であると判定するための判定閾値を前記推論の動作態様ごとに有する
     請求項11に記載の情報処理装置。
    12. The processing unit according to claim 11, wherein the processing unit has, for each operation mode of the inference, a predetermined determination threshold to be compared with the inference result, the determination threshold for determining that the specific determination is true. information processing equipment.
  13.  前記処理部は、前記不整合が生じた場合に、前記不整合に関する情報を外部装置に通知する
     請求項1に記載の情報処理装置。
    The information processing apparatus according to claim 1, wherein, when the mismatch occurs, the processing unit notifies an external device of information about the mismatch.
  14.  前記処理部は、前記不整合が生じた場合に、前記外部装置からの指示を取得する
     請求項3に記載の情報処理装置。
    The information processing apparatus according to claim 3, wherein the processing unit acquires an instruction from the external device when the mismatch occurs.
  15.  処理部
     を有する情報処理装置の
     前記処理部が、入力情報に基づいて推論を実行し、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える
     情報処理方法。
    In an information processing apparatus having a processing unit, the processing unit executes inference based on input information, and when a mismatch occurs between the input information and presupposed input information, the operation mode of the inference is changed. Switch information processing methods.
  16.  コンピュータを
     入力情報に基づいて推論を実行する処理部であって、前記入力情報と事前に想定された入力情報との不整合が生じた場合に、前記推論の動作態様を切り替える処理部
     として機能させるためのプログラム。
    A computer is made to function as a processing unit that executes inference based on input information, and that switches the operation mode of the inference when there is a mismatch between the input information and presupposed input information. program for.
PCT/JP2023/000050 2022-01-17 2023-01-05 Information processing device, information processing method, and program WO2023136191A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022004859 2022-01-17
JP2022-004859 2022-03-09

Publications (1)

Publication Number Publication Date
WO2023136191A1 true WO2023136191A1 (en) 2023-07-20

Family

ID=87279028

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/000050 WO2023136191A1 (en) 2022-01-17 2023-01-05 Information processing device, information processing method, and program

Country Status (1)

Country Link
WO (1) WO2023136191A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170330109A1 (en) * 2016-05-16 2017-11-16 Purepredictive, Inc. Predictive drift detection and correction
JP2021039612A (en) * 2019-09-04 2021-03-11 株式会社Uacj Information processing device, information processing method, and information processing program
WO2021162043A1 (en) * 2020-02-14 2021-08-19 住友重機械工業株式会社 Injection molding machine system and injection molding machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170330109A1 (en) * 2016-05-16 2017-11-16 Purepredictive, Inc. Predictive drift detection and correction
JP2021039612A (en) * 2019-09-04 2021-03-11 株式会社Uacj Information processing device, information processing method, and information processing program
WO2021162043A1 (en) * 2020-02-14 2021-08-19 住友重機械工業株式会社 Injection molding machine system and injection molding machine

Similar Documents

Publication Publication Date Title
JP7120708B2 (en) System and method for cloud device collaborative real-time user usage and performance anomaly detection
US11616707B2 (en) Anomaly detection in a network based on a key performance indicator prediction model
US11210587B2 (en) Distributed learning anomaly detector
US10921775B2 (en) Production system
US20180082217A1 (en) Population-Based Learning With Deep Belief Networks
US11271793B2 (en) Self-adjusting control loop
WO2020046261A1 (en) Systematic prognostic analysis with dynamic causal model
CN111130940A (en) Abnormal data detection method and device and server
US11669390B2 (en) Automated detection and classification of dynamic service outages
US11860721B2 (en) Utilizing automatic labelling, prioritizing, and root cause analysis machine learning models and dependency graphs to determine recommendations for software products
CN114450700A (en) Method and device for detecting anomalies, corresponding computer program product and non-transitory computer-readable carrier medium
US11586429B1 (en) Strategy based feature disablement
US20200159205A1 (en) Cloud and edge manufacturing data processing system
WO2021048311A1 (en) Method and apparatus for managing prediction of network anomalies
AU2021218159B2 (en) Utilizing machine learning models to determine customer care actions for telecommunications network providers
WO2023136191A1 (en) Information processing device, information processing method, and program
CN113544486A (en) Fault diagnosis system, prediction rule generation method, and prediction rule generation program
WO2020261621A1 (en) Monitoring system, monitoring method, and program
EP4248308A1 (en) Prioritized application updates
US20230412682A1 (en) Adjusting a network of sensor devices
WO2018210876A1 (en) Process and system for remotely generating and transmitting a local device state predicting method
US20230418691A1 (en) Environment-based device condition indicator for prioritized device-cloud interactions
US20230004469A1 (en) Management action predictions
US20230278567A1 (en) Autonomous driving control apparatus and method thereof
WO2024094849A1 (en) Method and devices for monitoring performance data of an ai model

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23740200

Country of ref document: EP

Kind code of ref document: A1