WO2015068296A1 - 携帯端末、起動方法及びプログラム - Google Patents
携帯端末、起動方法及びプログラム Download PDFInfo
- Publication number
- WO2015068296A1 WO2015068296A1 PCT/JP2013/080385 JP2013080385W WO2015068296A1 WO 2015068296 A1 WO2015068296 A1 WO 2015068296A1 JP 2013080385 W JP2013080385 W JP 2013080385W WO 2015068296 A1 WO2015068296 A1 WO 2015068296A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- condition
- detection
- detection module
- function
- modules
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0229—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4498—Finite state machines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- a mobile terminal such as a smartphone or a tablet terminal is equipped with a module (hereinafter referred to as a detection module) for detecting a state, such as a GPS (Global Positioning System), an acceleration sensor, or a microphone.
- the mobile terminal is loaded with an application that uses the detection results of these detection modules. For example, the user's action is detected by an application that detects the position of the user by GPS and presents a route to the destination or a detection module for detecting the action, and notifies when the user performs a certain action. There are applications to perform.
- a technique for detecting the occurrence of events E1 to En (n is a natural number of 2 or more) by a plurality of detection modules and executing a predetermined process For example, it is assumed that there is a rule that a predetermined application is activated when the condition “Meet b1 in meeting room a1” is satisfied. In this case, whether or not the condition “in the conference room a1” is satisfied is determined by a detection module such as GPS, and whether or not the condition “meet Mr. b1” is satisfied is detected for detecting a person. Judge by module. And when both conditions are satisfy
- an object of the present invention is to provide a technique for reducing the power required to detect a state.
- a mobile terminal includes a plurality of detection modules that detect states, and a determination unit that determines an order in which the plurality of detection modules are activated for a first condition relating to a result of detection by the plurality of detection modules.
- the first detection module in the determined order is activated, and the detection module other than the first detection module is detected as a result of detection by the previous detection module in the determined order.
- an activation unit activated when the condition corresponding to the previous detection module is satisfied.
- FIG. 1 is a functional block diagram of the mobile terminal.
- FIG. 2 is a diagram illustrating an example of data stored in the rule data storage unit.
- FIG. 3 is a diagram illustrating an example of data stored in the power data storage unit.
- FIG. 4 is a diagram illustrating an example of data stored in the state log storage unit.
- FIG. 5 is a diagram illustrating a processing flow of processing executed when a rule input is received from a user.
- FIG. 6 is a diagram illustrating a processing flow of tree generation processing.
- FIG. 7 is a diagram showing a processing flow of element generation processing.
- FIG. 8 is a diagram illustrating an example of data on elements.
- FIG. 9 is a diagram illustrating a processing flow of generation processing.
- FIG. 10 is a diagram illustrating an example of a rule tree.
- FIG. 11 is a diagram illustrating a processing flow of model generation processing.
- FIG. 12 is a diagram illustrating conditions regarding the rule tree and functions.
- FIG. 13 is a diagram illustrating conditions regarding the rule tree and functions.
- FIG. 14 is a diagram illustrating a pattern of the activation order.
- FIG. 15 is a diagram illustrating a processing flow of calculation processing.
- FIG. 16 is a diagram illustrating an example of a function table.
- FIG. 17 is a diagram illustrating setting values for the calculation process.
- FIG. 18 is a diagram illustrating an example of a weighting value.
- FIG. 19 is a diagram illustrating an example of weighting values.
- FIG. 20 is a diagram illustrating an example of determination values calculated for each pattern.
- FIG. 21 is a diagram illustrating a processing flow of model generation processing.
- FIG. 21 is a diagram illustrating a processing flow of model generation processing.
- FIG. 22 is a diagram illustrating an example of state data.
- FIG. 23 is a diagram for explaining the relationship between the state data.
- FIG. 24 is a diagram illustrating a processing flow of processing executed by the control unit.
- FIG. 25 is a diagram illustrating an example of data and a method included in the detection module.
- FIG. 26 is a diagram for explaining the order determination method according to the second embodiment.
- FIG. 27 is a diagram illustrating an example of a rule.
- FIG. 28 is a diagram illustrating an example of processing when a plurality of rules are registered.
- FIG. 29 is a functional block diagram of a computer.
- FIG. 1 shows a functional block diagram of mobile terminal 1 in the present embodiment.
- the mobile terminal 1 includes a user interface 101, a service execution unit 102, a generation unit 103, a control unit 104, a rule data storage unit 105, a power data storage unit 106, a model storage unit 107, and a rule tree storage unit. 108, a status log storage unit 109, and detection modules 151 to 153.
- the user interface 101 receives an input of a rule for processing executed by the mobile terminal 1 from the user and stores it in the rule data storage unit 105. Further, the user interface 101 receives a deletion instruction for instructing deletion of a rule from the user, and deletes data of the rule specified in the deletion instruction from the rule data storage unit 105.
- the service execution unit 102 executes a service (for example, activation of an application program in the present embodiment) based on an instruction from the control unit 104.
- the generation unit 103 generates a rule tree to be described later based on the data stored in the rule data storage unit 105, and stores the rule tree data in the rule tree storage unit 108. In addition, the generation unit 103 performs state transition described later based on data stored in the power data storage unit 106, data stored in the rule tree storage unit 108, and data stored in the state log storage unit 109. A model is generated and stored in the model storage unit 107.
- the control unit 104 controls the service execution by the service execution unit 102 based on the data stored in the rule tree storage unit 108. Further, the control unit 104 controls the activation and stop of the detection modules 151 to 153 based on the state transition model stored in the model storage unit 107.
- the detection modules 151 to 153 are a GPS, an acceleration sensor, a microphone, or the like, and detect the state of the mobile terminal 1, the user, the environment, or the like. That is, the detection modules 151 to 153 are modules having a function of detecting a state. In FIG. 1, the number of detection modules is 3, but the number is not limited.
- FIG. 2 shows an example of data stored in the rule data storage unit 105.
- conditions, service identification information, and parameters are stored.
- the rule shown in the first line is a rule that “service“ ⁇ ”is executed using parameter“ Z ”when condition“ d1 ”is satisfied” ”.
- the service identification information may be a URL (Uniform Resource Locator) such as “http://xxx.xxx.xxx”.
- FIG. 3 shows an example of data stored in the power data storage unit 106.
- function that is, detection module
- average power consumption data of the detection module are stored.
- the detection module since one detection module has one function for detecting a state, the detection module can be specified by the function identification information.
- FIG. 4 shows an example of data stored in the status log storage unit 109.
- time and information indicating a change in state that occurred at that time are stored.
- the user interface 101 in the mobile terminal 1 accepts an input of a rule from the user, and stores the rule data in the rule data storage unit 105. Then, the user interface 101 instructs the generation unit 103 to execute a tree generation process and a model generation process.
- step S1 the generation unit 103 executes a tree generation process (FIG. 5: step S1). The tree generation process will be described with reference to FIGS.
- the generation unit 103 identifies one unprocessed rule from the rule data storage unit 105 (FIG. 6: step S11). Then, the generation unit 103 executes element generation processing (step S13). The element generation process will be described with reference to FIGS.
- the generation unit 103 generates element data for the conditions included in the specified rule (FIG. 7: Step S21).
- FIG. 8 shows an example of element data.
- the element type the element that belongs to the upper hierarchy in the rule tree among the elements connected to the element
- the child element In the present embodiment, a link of an element connected to the element and an element belonging to a lower hierarchy in the rule tree
- the service data includes service identification information and parameters.
- the parent element identification information is registered in the parent element link.
- child element identification information is registered in the child element link.
- the flag data indicating whether or not the condition for the element is satisfied is registered.
- the element data is empty at the time of step S21.
- the generation unit 103 registers the service identification information and parameters included in the rule specified in step S11 in the element data generated in step S21 (step S23).
- the generation unit 103 executes a generation process (step S25). Then, the process returns to the calling process.
- the generation process will be described with reference to FIG.
- the generation unit 103 determines whether the element included in the rule identified in step S11 is only a single element (FIG. 9: step S31). For example, the rule shown in the first line in FIG. 2 is determined to be “Yes” in step S31 because only the single element d1 is included in the condition.
- step S31 If there is only a single element (step S31: Yes route), the generation unit 103 sets the element type to “single” in the element data generated in step S21 (step S33).
- step S31 determines whether a plurality of single elements are combined by AND in the rule specified in step S11 (step S35). For example, the rule shown in the second line in FIG. 2 is determined to be “Yes” in step S35 because a plurality of single elements are combined by AND.
- step S35 Yes route
- the generation unit 103 sets the element type to “AND” in the element data generated in step S21 (step S37).
- step S35 No route
- the generation unit 103 sets the element type to “OR” in the element data generated in step S21 ( Step S39).
- the generation unit 103 generates a parent element link and a child element link, and registers them in the element data generated in step S21 (step S41).
- the parent element is an element that is connected to the element to be processed and belongs to the next higher hierarchy. If the parent element does not exist, only the child element link is generated.
- the child element is an element that is connected to the element to be processed and belongs to the next lower layer. For example, when the element to be processed is “AND”, the child element is an element connected by AND. More specifically, when the condition is “a2 AND c1” and the element to be processed is “AND”, the child elements are “a2” and “c1”.
- the generation unit 103 generates element data for the child elements (step S43). And the production
- One rule tree is generated for one rule by the above processing.
- the generated rule tree is temporarily stored in the rule tree storage unit 108.
- the generation unit 103 determines whether there is an unprocessed rule in the rule data storage unit 105 (FIG. 6: step S15). When there is an unprocessed rule (step S15: Yes route), the process returns to step S11. On the other hand, when there is no unprocessed rule (step S15: No route), the generation unit 103 determines that from the rule tree storage unit 108 when there are a plurality of rule trees stored in the rule tree storage unit 108. A plurality of rule trees are extracted, and the plurality of rule trees are combined with OR elements (step S17) and stored in the rule tree storage unit. Then, the process ends. If there is no plurality of rule trees in the rule tree storage unit 108 (that is, there is one rule storing data in the rule data storage unit 105), the process of step S17 is omitted.
- a rule tree as shown in FIG. 10 is generated.
- an ellipse graphic represents an element, and a line segment between elements represents a connection.
- the type of the element 1001 is OR, the types of the elements 1003 and 1004 are AND, and the types of the other elements are single.
- the rule tree shown in FIG. 10 is a rule tree generated when the data shown in FIG. 2 is stored in the rule data storage unit 105. Therefore, the rule tree for the condition “d1”, the rule tree for the condition “a2 AND c1”, and the rule tree for the condition “a1 AND b1” are included, and these rule trees are combined by an element 1001. .
- the elements 1002, 1003, and 1004 service identification information and parameters are registered.
- the element 1001 belongs to the first hierarchy, the elements 1002, 1003, and 1004 belong to the second hierarchy, and the other elements belong to the third hierarchy.
- step S ⁇ b> 3 The model generation process will be described with reference to FIGS.
- the generation unit 103 generates a condition for a function from the rule tree stored in the rule tree storage unit 108 (FIG. 11: Step S51).
- a detection module for determining a condition coupled by OR is activated at the same time, and a detection module for determining a condition coupled by AND is activated stepwise.
- a condition 1201 for the function is generated.
- an ellipse figure represents an element, and a line segment between elements represents a connection.
- “/” indicates that the activation is performed in stages, and “+” indicates that the activation is performed simultaneously.
- the condition D / A is that the detection module having the function A is started after starting the detection module having the function D, or the detection module having the function D is started after starting the detection module having the function A. Represents one of the following.
- a condition 1202 is generated as a condition for the function
- a condition 1203 is generated as the condition for the function.
- the condition 1202 is generated by combining the function C for detecting the condition c1 and the condition 1203 with “+”.
- the condition 1201 is generated by combining the function A for detecting the condition a1, the function B for detecting the condition b1, and the condition 1202 with “/”.
- condition 1301 for the function is generated.
- the meanings of the figures and symbols are the same as in FIG.
- a condition 1302 is generated as a condition for the function
- a condition 1303 is generated as the condition for the function.
- the condition 1301 is generated by combining the function D for detecting the condition d1, the condition 1302, and the condition 1303 with “+”.
- the reason why the above processing is performed is that the condition for the OR is satisfied when at least one of the conditions combined by the OR is satisfied.
- the condition for the AND is not satisfied.
- the detection module having the function X and the detection module having the function Y are activated simultaneously.
- the detection module having the function X and the detection module having the function Y are started in a stepwise manner. Note that “in stages” means that the next detection module is activated when it is confirmed that the condition is satisfied by the detection module activated first.
- generation part 103 produces
- a startup order pattern as shown in FIG. 14 is generated and stored in, for example, a RAM (Random Access Memory).
- a condition for determining by the function, a function belonging to the fourth hierarchy, a condition for determining by the function, and a determination value are shown.
- the determination value column is empty.
- a detection module having a function belonging to the first hierarchy is activated first, a detection module having a function belonging to the second hierarchy is activated next, a detection module having a function belonging to the third hierarchy is activated next, The detection module having a function belonging to the fourth hierarchy is activated next.
- the data in the first row activates the detection module having the function A first, activates the detection module having the function B when the condition a1 is satisfied, and has the function C when the condition b1 is satisfied.
- a detection module and a detection module having function A are activated.
- the detection module having the function A stops detecting the condition a2
- the detection module having the function D is activated.
- ⁇ A (for a2)” in the fourth hierarchy of pattern 1 means that the detection module having the function A stops detecting the condition a2.
- step S55 The calculation process will be described with reference to FIGS.
- the generation unit 103 identifies one unprocessed pattern (hereinafter referred to as a pattern to be processed) among the patterns generated in step S53 (FIG. 15: step S81).
- the generating unit 103 initializes setting values for the function table and the calculation process (step S83). Specifically, the function table is emptied and all the set values for the calculation process are set to zero.
- FIG. 16 shows an example of the function table. In the example of FIG. 16, function identification information and conditions detected by the function are stored.
- FIG. 17 shows setting values for the calculation process. In the example of FIG. 17, the number of branches, a determination value, a code, and a value representing a hierarchy are included. The sign is set to one of +1, 0, and ⁇ 1 based on the processing result of step S86 described below. And the production
- the generation unit 103 selects an unprocessed branch (hereinafter referred to as a process target branch) in a hierarchy to be processed (here, a hierarchy indicated by a numerical value indicating a hierarchy. For example, when the numerical value indicating a hierarchy is 1, the first hierarchy). 1) is specified (step S85).
- a process target branch an unprocessed branch in a hierarchy to be processed (here, a hierarchy indicated by a numerical value indicating a hierarchy. For example, when the numerical value indicating a hierarchy is 1, the first hierarchy).
- the generation unit 103 adds a condition to the function table or deletes a condition in the function table for the branch to be processed (step S86). Specifically, if the sign of the function is positive in the branch to be processed in the hierarchy to be processed, a condition for the function is added to the function table. On the other hand, if the sign of the function is negative in the branch to be processed in the hierarchy to be processed, the condition for the function is deleted from the function table.
- the generation unit 103 sets a sign among the setting values for the calculation process based on the processing result of step S86 (step S87). Specifically, “+1” is set when the number of conditions increases from 0 to 1 by the process of step S86, and “ ⁇ 1” is set when the number of conditions decreases from 1 to 0. Otherwise, “0” is set.
- the generation unit 103 sets the number of branches among the setting values for the calculation process (step S89).
- the number of branches is the number of branches in the processing target hierarchy.
- the number of branches is 2 for the third hierarchy and the fourth hierarchy in Pattern 1 in FIG. 14, and the number of branches is 1 for the first hierarchy and the second hierarchy.
- the generation unit 103 calculates the average power consumption * code * weighting value * (1 / number of branches) of the detection module for the processing target branch in the processing target hierarchy, and adds it to the determination value (step S91). Note that when the process of step S91 is executed for the first time for the hierarchy to be processed, the determination value is 0, so the value calculated in step S91 is the determination value.
- the average power consumption is extracted from the power data storage unit 106.
- the weighting value is set to a larger value as the hierarchy is higher.
- the magnitude of the power consumption of the function belonging to the higher hierarchy is more easily reflected in the determination value than the magnitude of the power consumption of the function belonging to the lower hierarchy. This is because a detection module having a function belonging to a higher hierarchy is considered to be more likely to operate frequently.
- the weighting value may be a value as shown in FIG. In the example of FIG. 19, the probability of becoming a state is registered as a weighting value. Since the detection module having the first layer function always operates, 1.0 is registered. For the second hierarchy, the probability of being detected by the function of the first hierarchy (here, the probability that the condition a1 is satisfied) is registered. For the third layer, there is a probability that the state is detected by the function of the first layer and the state is detected by the function of the second layer (here, the probability that the condition a1 is satisfied and the condition b1 is satisfied). be registered. The probability is obtained by dividing the time of the state by the unit time using the data stored in the state log storage unit 109.
- step S93 determines whether there is an unprocessed branch in the processing target hierarchy.
- step S93 Yes route
- the process returns to step S85.
- step S93 when there is no unprocessed branch (step S93: No route), the generation unit 103 stores the calculated determination value in, for example, the RAM. Then, the generation unit 103 determines whether the pattern to be processed has an unprocessed hierarchy (step S95). When there is an unprocessed hierarchy (step S95: Yes route), the generation unit 103 increments a numerical value representing the hierarchy by 1, and initializes other than the numerical values representing the hierarchy among the setting values for the function table and the calculation process ( Step S97). Then, the process returns to step S85.
- step S99 determines whether there is an unprocessed pattern. If there is an unprocessed pattern (step S99: Yes route), the process returns to step S81 in order to process the unprocessed pattern. On the other hand, when there is no unprocessed pattern (step S99: No route), the process returns to the caller process.
- a determination value as shown in FIG. 20 is calculated.
- a determination value that represents a guideline for power consumption of the pattern is calculated.
- the generation unit 103 determines a pattern to be processed based on the determination value (step S57). For example, a pattern having the smallest determination value is set as a processing target pattern. The process proceeds to step S59 in FIG.
- the generation unit 103 generates state data for the first hierarchy in the pattern to be processed (step S59) and stores it in the model storage unit 107.
- FIG. 22 shows an example of state data.
- a condition a condition indicating the state (for example, a1).
- the function list identification information of functions to be executed in that state is registered.
- a condition for a function in the next lower layer is registered in the link to the child state.
- the flag is data indicating whether or not this state is present.
- the generation unit 103 registers the condition for the function of the first layer in the pattern to be processed in the state data (step S61). Further, the generation unit 103 registers a signed function in the function list in the state data (step S63). However, when the sign is positive, the sign may not be added.
- the generating unit 103 generates state data that satisfies the condition for the registered function and state data that does not satisfy the condition for the registered function (step S65), and stores them in the model storage unit 107.
- the generation unit 103 sets, as processing targets, a state that satisfies the condition for the registered function and a state that does not satisfy the condition for the registered function (step S67).
- the generating unit 103 registers a condition indicating the processing target state in the state data of the processing target state (step S69). In addition, if there is a function in the specified hierarchy, the generation unit 103 registers a signed function in the state data of the processing target state (step S71).
- the generation unit 103 determines whether there is a function to be registered (that is, whether the process of step S71 has been executed) (step S73). If there is a function to be registered (step S73: Yes route), the process returns to the process of step S65 to process the function. On the other hand, if there is no function to be registered (step S73: No route), the process returns to the caller process, and the process shown in FIG.
- the model storage unit 107 stores state data for a plurality of states.
- FIG. 23 shows state data 2301 to 2311 generated for each state in the pattern 1 shown in FIG.
- the relationship between the status data 2301 and the status data 2302 and 2303 is a parent-child relationship, the status data 2301 is a parent, and the status data 2302 and 2303 are children.
- the relationship between the state data 2302 and the state data 2304 and 2305 is a parent-child relationship, the state data 2302 is a parent, and the state data 2304 and 2305 are children.
- the relationship between the status data 2304 and the status data 2306 to 2309 is a parent-child relationship, the status data 2304 is a parent, and the status data 2306 to 2309 is a child.
- the relationship between the state data 2307 and the state data 2310 and 2311 is a parent-child relationship
- the state data 2307 is a parent
- the state data 2310 and 2311 are children.
- the symbol “ ⁇ ” represents that the condition is not satisfied.
- a positive sign is not attached to the function.
- the control unit 104 activates a detection module having a first layer function in the state transition model (FIG. 24: step S101). Specifically, the registration method of the detection module having the first layer function is called. In addition, the detection module having the function of the first layer registers a condition for making a determination, and increments the number of uses for the condition by one. Note that a flag indicating the current state is set in the current state state data.
- FIG. 25 shows an example of data, methods, and callback methods that the detection modules 151 to 153 have.
- the data includes a list of conditions and a list of the number of uses for the condition
- the method includes a registration method and a deregistration method
- the callback method includes an event issue callback. Contains methods.
- the detection module having the function of the first layer detects that the condition for the function of the first layer is satisfied
- the detection module notifies the control unit 104 by an event issue callback method.
- the control unit 104 activates the detection module having the function of the next layer (here, the second layer) (step S103).
- the registration method of the detection module having the second layer function is called.
- the detection module having the function of the second hierarchy registers a condition for making a determination, and increments the number of uses for the condition by one.
- the registration is not performed when the conditions for determination are already registered. Note that the processing in step S103 is repeated until there are no more hierarchies, such as the third hierarchy, the fourth hierarchy, the fifth hierarchy, and so on.
- the control unit 104 calls a deregistration method for the detection module having the m-th layer function (step S105).
- the detection module having the function of the m-th layer decrements the number of uses for the condition under which the determination is performed. Note that the condition is deleted when the number of uses becomes zero. Further, when the number of registered conditions becomes 0, the detection module stops.
- the control unit 104 calls a deregistration method for the function in the layer below the m-th layer (step S107).
- the detection module for which the deregistration method has been called decrements the number of uses for the condition under which the determination is made. Note that the condition is deleted when the number of uses becomes zero. Further, when the number of registered conditions becomes 0, the detection module stops. Further, the process of step S107 is repeatedly performed until there is no hierarchy below the m-th hierarchy.
- the detection module having the function of the l-th layer detects that the condition for the function of the l-th layer is satisfied, the detection module notifies the control unit 104 by the event issuance callback method. Make a notification.
- the control unit 104 activates the detection module having the function of the (l + 1) th layer (step S109). Specifically, the registration method of the detection module having the function of the (l + 1) th layer is called.
- the detection module having the function of the (l + 1) th layer registers a condition for making a determination, and increments the number of uses for that condition by one. However, the registration is not performed when the conditions for determination are already registered.
- the detection module having the function of the (l + 1) -th layer detects that the condition for the function of the (l + 1) -th layer is satisfied, the detection module notifies the control unit 104 by the event issue callback method.
- the control unit 104 activates the detection module having the function of the next layer (here, the (l + 2) th layer) (step S111).
- the registration method of the detection module having the function of the (l + 2) th layer is called.
- the detection module having the function of the (l + 2) -th layer registers a condition for making a determination and increments the number of uses for that condition by one. However, the registration is not performed when the conditions for determination are already registered.
- step S111 is repeatedly performed until there is no hierarchy, such as the (l + 3) th hierarchy, the (l + 4) th hierarchy, the (l + 5) th hierarchy, and so on. Then, the process returns to step S105.
- the detection modules are activated in stages, so that a plurality of detections are performed from the beginning. It will no longer activate all of the modules. Thereby, the power required for detecting the state in the mobile terminal 1 can be reduced.
- the control unit 104 calls a deregistration method.
- the suppression of power consumption will be specifically described using the condition “a1 AND b1”. Assuming that the battery is full, the detection module having the function A for the condition “a1” reduces the battery energy by 1% per hour. Assuming that the battery is full, the detection module having the function B for the condition “b1” reduces the battery power consumption by 3% per hour.
- control unit 104 controls execution of a service by the service execution unit 102.
- the control unit 104 receives a notification by the event issue callback method from the detection module, the control unit 104 changes the flag of the corresponding element in the rule tree in the rule tree storage unit 108.
- the control unit 104 passes the service identification information and parameters to the service execution unit 102.
- the service execution unit 102 executes the service using the parameters. It is also determined whether or not the condition is satisfied for the parent element of the element whose flag has been changed. For the AND element, a flag indicating that the condition is satisfied is registered when all the subordinate conditions are satisfied. On the other hand, for an OR element, a flag indicating that the condition is satisfied is registered when any of the subordinate conditions is satisfied. This process is repeated up to the highest element.
- a determination value is obtained for each pattern, and an activation order pattern is determined based on the determination value.
- the order is such that the detection modules with lower average power consumption are activated first.
- rule 1 and rule 2 as shown in FIG. 27 are registered in the rule data storage unit 105.
- the rule 1 is a rule that “notify when a person b1 is met at the place a1 or the place a2”
- the rule 2 is a rule that “if you walk at the place a3, you play music”.
- the conditions “location a1”, “location a2”, and “location a3” are determined by a detection module having a function A for detecting a position, and the condition “person b1” has a function B for detecting a person.
- the determination is performed by the detection module, and the condition “walking (c1)” is determined by the detection module having the function C for detecting the action.
- pattern 1 in the first hierarchy, a detection module having function A is activated for rule 1 and rule 2, and in the second hierarchy, a detection module having function B is activated for rule 1, and rule 2
- the detection module having function C is activated.
- pattern 2 the detection module having function A for rule 1 is activated in the first hierarchy, the detection module having function C is activated for rule 2, and for rule 1 in the second hierarchy.
- a detection module having function B is activated, and a detection module having function A for rule 2 is activated.
- the detection module having the function B for the rule 1 is activated in the first hierarchy
- the detection module having the function C is activated for the rule 2, and for the rule 1 in the second hierarchy.
- a detection module having function A is activated, and a detection module having function A for rule 2 is activated.
- the detection module having the function B for the rule 1 is activated in the first hierarchy
- the detection module having the function A is activated for the rule 2
- for the rule 1 in the second hierarchy is activated.
- a detection module having function A is activated and a detection module having function C for rule 2 is activated.
- pattern 1 only the detection module having function A in the first hierarchy is activated, in pattern 2, the detection module having function A and the detection module having function C in the first hierarchy are activated, and in pattern 3, The detection module having the function B and the detection module having the function C are activated in the first hierarchy, and in the pattern 4, the detection module having the function B and the detection module having the function A are activated in the first hierarchy. Therefore, if the power consumption of the detection module having the function A is less than the sum of the power consumption of the detection module having the function B and the power consumption of the detection module having the function C, the power consumption of the first layer of the pattern 1 is the highest. It will be less. Therefore, when the process of the second embodiment is applied, the pattern 1 is adopted as the most preferable pattern.
- the mobile terminal 1 a usage example of the mobile terminal 1 will be specifically described.
- the user of the portable terminal 1 has registered a rule that “if jogging around a park, play music suitable for jogging”.
- the condition “around the park” can be detected by the GPS geofencing function, and the condition “running” can be detected by the walking detection function of the acceleration sensor.
- the power consumption of GPS is larger than the average power consumption of the acceleration sensor.
- the state transition model if the hierarchy of the walking detection function is above the hierarchy of the geofencing function, the GPS operation is performed only while the condition of running is satisfied. Thereby, the increase in power consumption can be suppressed.
- a service provider registers a rule “sale information is distributed in the vicinity of a shopping center” in the mobile terminal 1.
- the rule 1 and the rule 2 are registered in the portable terminal 1.
- the condition “around shopping center” can be detected by the geofencing function of GPS.
- the condition of rule 1 and the condition of rule 2 are combined with OR, and the state transition model is regenerated.
- the hierarchy of the geofencing function is higher than the hierarchy of the walking detection function. As a result, it is possible to determine both the rule 1 condition and the rule 2 condition.
- the present invention is not limited to this.
- the functional block configuration of the mobile terminal 1 described above may not match the actual program module configuration.
- each table described above is an example, and it does not have to be the configuration described above. Further, in the processing flow, the processing order can be changed if the processing result does not change. Further, it may be executed in parallel.
- a server such as a provider may register a rule in the rule data storage unit 105 of the mobile terminal 1.
- the portable terminal 1 described above is a computer device, and as shown in FIG. 29, a display connected to a RAM 2501, a CPU (Central Processing Unit) 2503, a ROM (Read Only Memory) 2505, and a display device 2509.
- a control unit 2507, a flash memory 2513, an input device 2515, and a communication control unit 2517 for connecting to a network are connected by a bus 2519.
- An operating system (OS: Operating System) and an application program for executing the processing in this embodiment are stored in the ROM 2505 or the flash memory 2513, and when executed by the CPU 2503, from the ROM 2505 or the flash memory 2513. Read to the memory 2501.
- OS Operating System
- the CPU 2503 controls the display control unit 2507 and the communication control unit 2517 in accordance with the processing contents of the application program, and performs a predetermined operation. Further, data in the middle of processing is mainly stored in the RAM 2501, but may be stored in the flash memory 2513. In the embodiment of the present invention, an application program for performing the above-described processing is installed in the flash memory 2513 via a network such as the Internet and the communication control unit 2517, for example.
- a computer apparatus realizes various functions as described above by organically cooperating hardware such as the CPU 2503 and RAM 2501 described above with programs such as the OS and application programs.
- the mobile terminal includes: (A) a plurality of detection modules that detect states; and (B) a first condition related to a result of detection by the plurality of detection modules.
- a determination unit that determines the order in which the detection modules are activated; and (C) activates the first detection module in the determined order, and detects detection modules other than the first detection module in the determined order.
- An activation unit that is activated when a result of detection by the module satisfies a condition corresponding to the immediately preceding detection module among the conditions included in the first condition;
- the detection module is activated step by step as described above, the power required for state detection in the portable terminal can be reduced.
- the order described above may be an order in which detection modules with lower power consumption are activated first. In this way, since the time for which the detection module that consumes more power than other detection modules operates is shortened, the power consumption of the mobile terminal can be reduced.
- the above-described order is that the detection modules corresponding to the conditions that are combined by the logical sum among the conditions included in the first condition are simultaneously activated, and are combined by the logical product among the conditions included in the first condition.
- the order in which the detection modules corresponding to the conditions to be activated are activated in stages may be used. In the case of a logical sum, if any one of the conditions combined by the logical sum is satisfied, the condition for the logical sum is satisfied. On the other hand, in the case of a logical product, if even one of the conditions combined by the logical product is not satisfied, the condition for the logical product is not satisfied. Therefore, the minimum detection module can be operated by performing the above-described process.
- the determination unit described above generates (b1) a plurality of orders for starting the plurality of detection modules for the first condition, and (b2) consumption of each of the plurality of detection modules for each of the plurality of orders.
- a total value of values obtained by multiplying the power by the weighting value may be calculated, and (b3) an order in which the calculated total value is smaller than a predetermined value among a plurality of orders may be selected.
- the weighting value mentioned above may be so large that the detection module started previously. The earlier the order of activation, the higher the probability of activation, and the greater the proportion of power consumption of the mobile terminal. Therefore, as described above, it is possible to select an order in which power consumption can be reduced.
- the determination unit described above generates (b4) a plurality of activation orders of the plurality of detection modules for the first condition, and (b5) consumption of each of the plurality of detection modules for each of the plurality of orders.
- a total value of values obtained by multiplying the power by the weighting value may be calculated, and (b6) an order in which the calculated total value is smaller than a predetermined value among a plurality of orders may be selected.
- the weighting value described above may be a probability that a condition that satisfies the condition corresponding to the detection module occurs. Even if the power consumption of the detection module is low, if the condition that satisfies the condition occurs frequently, the next detection module will be frequently started, so the power consumption may increase as a whole. . Therefore, as described above, it is possible to select an order in which power consumption can be reduced.
- the order in which the plurality of detection modules are activated is determined for the first condition relating to the detection result by the plurality of detection modules that detect the respective states.
- a program for causing a computer to perform the processing according to the above method can be created.
- the program can be a computer-readable storage medium such as a flexible disk, a CD-ROM, a magneto-optical disk, a semiconductor memory, or a hard disk. It is stored in a storage device.
- the intermediate processing result is temporarily stored in a storage device such as a main memory.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
Description
図1に、本実施の形態における携帯端末1の機能ブロック図を示す。携帯端末1は、ユーザインタフェース101と、サービス実行部102と、生成部103と、制御部104と、ルールデータ格納部105と、電力データ格納部106と、モデル格納部107と、ルールツリー格納部108と、状態ログ格納部109と、検出モジュール151乃至153とを有する。
第1の実施の形態においては、各パターンについて判定値を求め、判定値に基づき、起動順序のパターンを決定する。一方、第2の実施の形態においては、平均の消費電力が少ない検出モジュールほど先に起動するような順序とする。
Claims (8)
- 各々状態の検出を行う複数の検出モジュールと、
前記複数の検出モジュールによる検出の結果に関する第1の条件について、前記複数の検出モジュールが起動される順序を決定する決定部と、
決定された前記順序における最初の検出モジュールを起動し、前記最初の検出モジュール以外の検出モジュールを、決定された前記順序における1つ前の検出モジュールによる検出の結果が、前記第1の条件に含まれる条件のうち当該1つ前の検出モジュールに対応する条件を満たす場合に起動する起動部と、
を有する携帯端末。 - 前記順序は、
消費電力が少ない検出モジュールほど先に起動される順序である
ことを特徴とする請求項1記載の携帯端末。 - 前記順序は、
前記第1の条件に含まれる条件のうち論理和によって結合される条件に対応する検出モジュールが同時に起動され、前記第1の条件に含まれる条件のうち論理積によって結合される条件に対応する検出モジュールが段階的に起動される順序である
ことを特徴とする請求項1又は2記載の携帯端末。 - 前記決定部は、
前記第1の条件について、前記複数の検出モジュールを起動する順序を複数生成し、
複数の順序の各々について、前記複数の検出モジュールの各々の消費電力に重み付け値を乗じた値の合計値を算出し、
前記複数の順序のうち、算出された前記合計値が所定の値より小さい順序を選択する
処理を実行し、
前記重み付け値は、
先に起動される検出モジュールほど大きくなる
ことを特徴とする請求項1記載の携帯端末。 - 前記決定部は、
前記第1の条件について、前記複数の検出モジュールを起動する順序を複数生成し、
複数の順序の各々について、前記複数の検出モジュールの各々の消費電力に重み付け値を乗じた値の合計値を算出し、
前記複数の順序のうち、算出された前記合計値が所定の値より小さい順序を選択する
処理を実行し、
前記重み付け値は、
前記検出モジュールに対応する条件を満たす状態が発生する確率である
ことを特徴とする請求項1記載の携帯端末。 - 前記決定部は、
前記複数の検出モジュールによる検出の結果に関する条件が複数有る場合、前記複数の検出モジュールを起動する順序を、前記複数の検出モジュールの各々の消費電力に基づき、複数の条件に対して1つ決定する
請求項1記載の携帯端末。 - 各々状態の検出を行う複数の検出モジュールによる検出の結果に関する第1の条件について、前記複数の検出モジュールが起動される順序を決定し、
決定された前記順序における最初の検出モジュールを起動し、
前記最初の検出モジュール以外の検出モジュールを、決定された前記順序における1つ前の検出モジュールによる検出の結果が、前記第1の条件に含まれる条件のうち当該1つ前の検出モジュールに対応する条件を満たす場合に起動する、
処理をコンピュータが実行する起動方法。 - 各々状態の検出を行う複数の検出モジュールによる検出の結果に関する第1の条件について、前記複数の検出モジュールが起動される順序を決定し、
決定された前記順序における最初の検出モジュールを起動し、
前記最初の検出モジュール以外の検出モジュールを、決定された前記順序における1つ前の検出モジュールによる検出の結果が、前記第1の条件に含まれる条件のうち当該1つ前の検出モジュールに対応する条件を満たす場合に起動する、
処理をコンピュータに実行させるための起動プログラム。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP13896981.1A EP3070600B1 (en) | 2013-11-11 | 2013-11-11 | Portable terminal, startup method, and program |
JP2015546258A JP6090472B2 (ja) | 2013-11-11 | 2013-11-11 | 携帯端末、起動方法及びプログラム |
PCT/JP2013/080385 WO2015068296A1 (ja) | 2013-11-11 | 2013-11-11 | 携帯端末、起動方法及びプログラム |
US15/149,877 US10009845B2 (en) | 2013-11-11 | 2016-05-09 | Activation method and portable terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2013/080385 WO2015068296A1 (ja) | 2013-11-11 | 2013-11-11 | 携帯端末、起動方法及びプログラム |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/149,877 Continuation US10009845B2 (en) | 2013-11-11 | 2016-05-09 | Activation method and portable terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015068296A1 true WO2015068296A1 (ja) | 2015-05-14 |
Family
ID=53041097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2013/080385 WO2015068296A1 (ja) | 2013-11-11 | 2013-11-11 | 携帯端末、起動方法及びプログラム |
Country Status (4)
Country | Link |
---|---|
US (1) | US10009845B2 (ja) |
EP (1) | EP3070600B1 (ja) |
JP (1) | JP6090472B2 (ja) |
WO (1) | WO2015068296A1 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019032678A (ja) * | 2017-08-08 | 2019-02-28 | 日立オートモティブシステムズ株式会社 | 車両制御装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006323595A (ja) * | 2005-05-18 | 2006-11-30 | Ntt Docomo Inc | 携帯端末、コンテキスト管理サーバ、アプリケーション登録サーバ、およびアプリケーション実行方法 |
JP2006344017A (ja) * | 2005-06-09 | 2006-12-21 | Hitachi Ltd | センサネットワークシステム及びセンサネットワークのデータ処理方法 |
JP2009218776A (ja) * | 2008-03-10 | 2009-09-24 | Advanced Telecommunication Research Institute International | センサネットワークシステム |
JP2009288233A (ja) * | 2008-04-28 | 2009-12-10 | Fujitsu Ltd | 携帯端末装置、移動経路記録方法、およびプログラム |
JP2012079240A (ja) | 2010-10-05 | 2012-04-19 | Fujitsu Ltd | 複合イベント処理装置および複合イベント処理方法 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006060671A (ja) | 2004-08-23 | 2006-03-02 | Sony Ericsson Mobilecommunications Japan Inc | 周波数チャネルのサーチ装置、周波数チャネルのサーチ方法、及び周波数チャネルのサーチプログラム |
GB2465594A (en) * | 2008-11-21 | 2010-05-26 | Symbian Software Ltd | Power management based upon a prediction associated with an observed sequence of events |
-
2013
- 2013-11-11 EP EP13896981.1A patent/EP3070600B1/en active Active
- 2013-11-11 WO PCT/JP2013/080385 patent/WO2015068296A1/ja active Application Filing
- 2013-11-11 JP JP2015546258A patent/JP6090472B2/ja active Active
-
2016
- 2016-05-09 US US15/149,877 patent/US10009845B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006323595A (ja) * | 2005-05-18 | 2006-11-30 | Ntt Docomo Inc | 携帯端末、コンテキスト管理サーバ、アプリケーション登録サーバ、およびアプリケーション実行方法 |
JP2006344017A (ja) * | 2005-06-09 | 2006-12-21 | Hitachi Ltd | センサネットワークシステム及びセンサネットワークのデータ処理方法 |
JP2009218776A (ja) * | 2008-03-10 | 2009-09-24 | Advanced Telecommunication Research Institute International | センサネットワークシステム |
JP2009288233A (ja) * | 2008-04-28 | 2009-12-10 | Fujitsu Ltd | 携帯端末装置、移動経路記録方法、およびプログラム |
JP2012079240A (ja) | 2010-10-05 | 2012-04-19 | Fujitsu Ltd | 複合イベント処理装置および複合イベント処理方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019032678A (ja) * | 2017-08-08 | 2019-02-28 | 日立オートモティブシステムズ株式会社 | 車両制御装置 |
Also Published As
Publication number | Publication date |
---|---|
US20160255587A1 (en) | 2016-09-01 |
US10009845B2 (en) | 2018-06-26 |
JP6090472B2 (ja) | 2017-03-08 |
JPWO2015068296A1 (ja) | 2017-03-09 |
EP3070600A4 (en) | 2016-11-09 |
EP3070600A1 (en) | 2016-09-21 |
EP3070600B1 (en) | 2018-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11740935B2 (en) | FPGA acceleration for serverless computing | |
US20120060167A1 (en) | Method and system of simulating a data center | |
CN106293914B (zh) | 一种任务调度的方法及终端 | |
CN107273182B (zh) | 一种虚拟机资源动态扩充方法及系统 | |
CN111193605A (zh) | 一种故障定位方法、装置及存储介质 | |
KR20210112406A (ko) | 사용자의 할일 목록에 대한 알림을 제공하는 방법 및 시스템 | |
CN108958729A (zh) | 一种数据处理方法、装置及存储介质 | |
CN103686354A (zh) | 一种智能电视终端及统计上报按键使用行为的方法 | |
CN111143039A (zh) | 一种虚拟机的调度方法、装置及计算机存储介质 | |
CN116541142A (zh) | 任务调度方法、装置、设备、存储介质及计算机程序产品 | |
CN112035229A (zh) | 一种计算图处理方法、装置及存储介质 | |
JP6090472B2 (ja) | 携帯端末、起動方法及びプログラム | |
US9038197B2 (en) | Method and apparatus for providing backend support for device control in risk conditions | |
US20170141949A1 (en) | Method and apparatus for processing alarm information in cloud computing | |
CN114138452B (zh) | 一种边缘计算中高能效的计算节点选择方法及装置 | |
CN102866895B (zh) | 一种快速定位功能定制入口的方法 | |
CN113965563B (zh) | 基于模型的业务处理方法及装置、服务器 | |
WO2019064730A1 (ja) | 情報処理装置、情報処理方法、および、プログラム | |
CN114691241A (zh) | 任务执行方法、装置、电子设备及存储介质 | |
KR102637796B1 (ko) | 사용 정도에 기초하여 대화방을 처리하는 방법과 시스템 및 비-일시적인 컴퓨터 판독가능한 기록 매체 | |
CN108984271A (zh) | 一种均衡负载的方法以及相关设备 | |
JP2014147002A (ja) | Ict資源管理装置 | |
Kaur et al. | Hybrid application partitioning and process offloading method for the mobile cloud computing | |
CN116719632B (zh) | 任务调度方法、装置、设备以及介质 | |
JP2014147003A (ja) | Ict資源管理装置 |
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: 13896981 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2015546258 Country of ref document: JP Kind code of ref document: A |
|
REEP | Request for entry into the european phase |
Ref document number: 2013896981 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2013896981 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |