WO2016026389A1 - 一种创建上下文感知应用的方法及用户终端 - Google Patents

一种创建上下文感知应用的方法及用户终端 Download PDF

Info

Publication number
WO2016026389A1
WO2016026389A1 PCT/CN2015/086270 CN2015086270W WO2016026389A1 WO 2016026389 A1 WO2016026389 A1 WO 2016026389A1 CN 2015086270 W CN2015086270 W CN 2015086270W WO 2016026389 A1 WO2016026389 A1 WO 2016026389A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
context
action
terminal device
context information
Prior art date
Application number
PCT/CN2015/086270
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to EP15834308.7A priority Critical patent/EP3142005B1/en
Publication of WO2016026389A1 publication Critical patent/WO2016026389A1/zh
Priority to US15/439,718 priority patent/US10489221B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a method for creating a context-aware application and a user terminal.
  • the context-aware application is mainly based on the triggering rule construction, that is, when the condition formed by the context is established, the specified action is triggered, for example, the application rule of “turning on the light of the living room at home”, and “home” is a condition composed of user location information. "Opening the lights of the living room” is an action performed in response to the "home” condition.
  • the user since the user develops the context-aware application, the user selects the required operation item through the development tool, and the operation item includes an identifier representing the application and an operation mode representing the execution action, and then constructs the scene according to the required logic.
  • the operation item includes an identifier representing the application and an operation mode representing the execution action, and then constructs the scene according to the required logic.
  • the embodiments of the present invention provide a method for creating a context-aware application and a user terminal, which are used to solve the technical problem that the context-aware application development steps existing in the prior art are cumbersome and the development efficiency is low.
  • the present invention provides a method of creating a context aware application, the method comprising:
  • Obtaining a creation instruction for creating a context-aware application the creation instruction including a creation factor, wherein the creation factor is input by a user and/or generated by a user terminal;
  • the context information and the action information are specifically: historically recorded or immediately generated information.
  • the determining, according to the creation factor, determining at least one terminal related to the creation factor Equipment including:
  • the creation factor is specifically time information generated by the user terminal, determining, according to the time information, the at least one terminal device that has been operated in a preset time interval; or
  • the method further includes:
  • the generating at least one operation item according to the context information and the action information of the at least one terminal device Specifically, including:
  • the method further includes:
  • the action item is associated with the action action item.
  • the at least one conditional operation item includes a conditional operation item whose condition parameter value is adjustable; and the at least one action operation item includes an action parameter value Adjustable action action items.
  • the context information includes at least one of the following: a terminal device identifier, a time Parameters, context parameter data, device attribution type, and location information.
  • the action information includes at least one of the following: an action name, an execution time. Execute parameter data and execution results.
  • the present invention provides a user terminal, where the user terminal includes:
  • An instruction obtaining unit configured to acquire a creation instruction for creating a context-aware application, where the creation instruction includes a creation factor, wherein the creation factor is input by a user and/or generated by the user terminal;
  • An information acquiring unit configured to determine, according to the creation factor, at least one terminal device related to the creation factor, and acquire context information and action information of the at least one terminal device;
  • An operation item generating unit configured to generate at least one operation item according to the context information and the action information of the at least one terminal device
  • An application generating unit configured to generate a context aware application according to the at least one operation item.
  • the context information and the action information are specifically: historically recorded or immediately generated information.
  • the information acquiring unit is specifically configured to:
  • the information acquiring unit is further configured to:
  • the creation factor is specifically time information generated by the user terminal, determining, according to the time information, the at least one terminal device that has been operated in a preset time interval; or
  • the user terminal when the context information is at least two pieces of context information, the user terminal further includes information a screening unit, after the information acquiring unit acquires the context information and the action information of the at least one terminal device, the information filtering unit is specifically configured to:
  • the operation item generating unit is specifically configured to:
  • the operation item generating unit is further configured to:
  • the action item is associated with the action action item.
  • the at least one conditional operation item includes a conditional operation item whose condition parameter value is adjustable; and the at least one action operation item includes an action parameter value Adjustable action action items.
  • the context information includes at least one of the following: a terminal device identifier, a time Parameters, context parameter data, device attribution type, and location information.
  • the action information includes at least one of the following: an action name, an execution time Execute parameter data and execution results.
  • the present invention provides a user terminal, where the user terminal includes:
  • a transceiver for transmitting and receiving data
  • a memory for storing at least one program instruction
  • a processor configured to execute the at least one program instruction, where the processor executes the at least one program instruction, specifically performing the following steps:
  • Obtaining a creation instruction for creating a context-aware application the creation instruction including a creation factor, wherein the creation factor is input by a user and/or generated by the user terminal;
  • the context information and the action information are specifically: historically recorded or immediately generated information.
  • the information acquiring unit is specifically configured to:
  • the information acquiring unit is further configured to:
  • the creation factor is specifically time information generated by the user terminal, determining, according to the time information, the at least one terminal device that has been operated in a preset time interval; or
  • the user terminal when the context information is at least two pieces of context information, the user terminal further includes information a screening unit, after the information acquiring unit acquires the context information and the action information of the at least one terminal device, the information filtering unit is specifically configured to:
  • the operation item generating unit is specifically configured to:
  • the operation item generating unit is further configured to:
  • the action item is associated with the action action item.
  • the at least one conditional operation item includes a conditional operation item whose condition parameter value is adjustable; and the at least one action operation item includes an action parameter value Adjustable action action items.
  • the context information includes at least one of the following: a terminal device identifier, a time Parameters, context parameter data, device attribution type, and location information.
  • the action information includes at least one of the following: an action name, an execution time Execute parameter data and execution results.
  • the creation instruction When the creation instruction is obtained, the context information and the action information of the at least one terminal device are automatically obtained for the user according to the creation factor, and after the context information and the action information of the at least one terminal device are acquired, the corresponding operation is automatically generated.
  • the item is a conditional instruction and an action and generates a context-aware application according to the corresponding operation item, thereby reducing the abstraction, recognition, and compilation work of the application scene when the user creates the context-aware application, thereby solving the context-aware application development existing in the prior art.
  • the technical problems of cumbersome steps and low development efficiency have achieved the beneficial effects of simplifying the development steps and improving the development efficiency.
  • FIG. 1 is a schematic flowchart of a method for creating a context-aware application according to Embodiment 1 of the present invention
  • Embodiment 2 is a user interface for creating a context-aware application according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of a terminal device of a home application scenario according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic diagram of a process of acquiring action information according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic diagram of a process for acquiring context information according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic diagram of a process for creating a home-aware application according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram of mapping elements and graphics in a scenario condition and a scenario action according to Embodiment 1 of the present invention.
  • FIG. 8 is a schematic diagram of a graphical operation item according to Embodiment 1 of the present invention.
  • FIG. 9 is a schematic structural diagram of a user terminal according to Embodiment 2 of the present invention.
  • FIG. 10 is a schematic structural diagram of a user terminal according to Embodiment 3 of the present invention.
  • the embodiment of the present invention provides a method for creating a context-aware application and a user terminal.
  • management and operation are not strictly defined, and management can be understood as a description of the operation.
  • Management in order to describe the consistency and convenience of understanding, in some cases “Management” is used below, while “Actions” are used in other contexts. But in the absence of a clearly defined difference, the two can be replaced.
  • the content recorded by the terminal device is divided into context information and action information, and in reality, the context information and the action information are mostly recorded as a whole without distinction.
  • the context information and action information in the present invention may be context information and action information stored in the user terminal and/or stored in the server and/or stored in at least one terminal device managed by the user terminal.
  • the location of the context information and the action information can be selected and combined differently.
  • the context information and the action information may be historically recorded and/or instantly generated information.
  • An embodiment of the present application provides a method for creating a context-aware application, where the method is applied to managing one or more terminal devices.
  • the context-aware application includes a scene condition composed of one or more context information and a scene action composed of one or more motion information, and triggers the execution of the scene action when the scene condition is established.
  • the context information is: a terminal device collected by a physical sensor (for example, a temperature sensor, a light sensor, etc.) or a virtual sensor (for example, a virtual sensor that invokes a mailbox interface to monitor a mailbox state) in a user's environment.
  • Status data such as the user's ambient temperature, noise, light and virtual mood, status and other information.
  • the action information refers to one or more actions performed by the physical device (for example, air conditioner, TV, lamp, etc.) or virtual device (for example, microblog, mailbox, etc.) in the environment where the user is located, such as the "on” of the physical device.
  • the action information is used to record the actions performed by the terminal device and related information during the execution of the action, such as "off" and "mailing" of the virtual device mail. Therefore, the management of one or more terminal devices described in the present invention may also be an application that the management terminal device itself has installed, and the like.
  • a method for creating a context-aware application provided by the present application can be applied to a context-aware system or to a single terminal device.
  • the context-aware system provided by the present application may include multiple terminal devices and servers, or may only include multiple terminal devices, where multiple terminal devices are provided. At least one of the devices includes at least one sensor (physical sensor and/or virtual sensor), and the terminal device that runs the method for creating the context-aware application among the plurality of terminal devices is called a user terminal.
  • the context aware system includes multiple terminal devices and servers
  • multiple terminal devices obtain context information through real-time detection by sensors, and record and upload the obtained context information to the server.
  • the terminal device also records and uploads corresponding action information to the server when performing the action.
  • the user terminal can obtain the required context information and action information from the server when creating the context aware application.
  • each terminal device obtains and records context information through the sensor, and may obtain the obtained context information locally or may be uploaded to a user terminal of multiple terminal devices, for example, multiple devices.
  • the terminal includes an electric lamp, a television, an air conditioner, a mobile phone, wherein the mobile phone is a user terminal, and the context information obtained by the sensor on the electric lamp, the television, the air conditioner, and the action information obtained when performing the action can be stored locally or uploaded to the mobile phone.
  • a method for creating a context-aware application is provided by the embodiment of the present application, where the method includes:
  • step S101 a creation instruction for creating a context-aware application is provided, where the creation instruction includes a creation factor, wherein the creation factor is input by a user and/or generated by a user terminal;
  • step S102 determining, according to the creation factor, at least one terminal device related to the creation factor, and acquiring context information and action information of the at least one terminal device;
  • step S103 generating at least one operation item according to context information and action information of the at least one terminal device
  • step S104 generating the context aware application according to the at least one operation item.
  • the creation instruction for creating the context-aware application may be triggered by the user according to the requirement, and the user terminal executing the creation of the context-aware application performs step S101.
  • the creation factor may be at least one of an identifier of the terminal device and the location information that is input or selected by the user, and the creation factor may be at least one of time information generated by the user terminal and location information generated by the user terminal.
  • step S102 determining, according to the creation factor, determining at least one terminal device related to the creation factor, acquiring context information of the at least one terminal device, and Action information.
  • the context information may include: a terminal device identifier, a time parameter, a context parameter data, a device attribution type, and location information;
  • the action information may include: an action name, an execution time, an execution parameter data, and an execution result.
  • the creation factor is a context-aware application for managing a home device type, acquiring at least one home device as at least one terminal device related to the creation factor; if the creation factor is a context-aware application for managing the office device type, acquiring at least one The office device acts as at least one terminal device associated with the creation factor.
  • the creation factor is specifically the identifier of the terminal device input by the user.
  • the creation factor is an identifier of the initial terminal device involved in the application to be created input by the user, acquiring at least one related device related to the initial terminal device as at least one terminal device related to the creation factor;
  • the identifier of the initial terminal device represents one of the at least one terminal device to be managed after the application is generated; wherein the at least one related device related to the initial terminal device may be at least one intranet device in the local area network where the initial terminal device is located, It may be a terminal device within the same set geographic area as the initial terminal device.
  • the creation factor is specifically the location information of the area input by the user.
  • the user terminal determines at least one terminal device in the area corresponding to the area location information. Specifically, for example, if the user selects the kitchen as the creation factor, the user terminal determines the terminal device such as the electric light, the range hood, and the like in the kitchen according to the area information.
  • the creation factor is specifically the time information generated by the user terminal.
  • the creation factor is specifically time information generated by the user terminal, based on the time information, at least one terminal device that has been operated within a preset time interval is determined. Specifically, for example, if the user selects 5 points as the creation factor, the user terminal starts from 5 points in history and determines at least the time interval that is operated in the preset time interval, such as 4:40 to 5:00. A terminal device.
  • the creation factor is specifically the location information generated by the user terminal.
  • the user terminal determines at least one terminal device within the range of the location information area. Specifically, for example, the user selects the area location information of the current location as the creation factor, and the area location information is generated by the user terminal, and the user terminal obtains at least one terminal device in the area corresponding to the area location information by scanning, For example, at least one terminal device within a range of 10 meters in which the user is currently located is obtained by scanning, thereby determining the range of subsequent acquisition of context information and action information by determining the terminal device.
  • the creation factor is specifically the terminal device collected by the user terminal.
  • the user terminal can acquire at least one terminal device related to the context-aware application currently to be created by using an infrared, a two-dimensional code, or a Bluetooth.
  • the creation factor can also be the starting node and the ending node of the recording context aware application.
  • the user determines that the starting node of the user terminal recording context-aware application may be an action initiation node, such as the start device specified by the user, performing an action start, and correspondingly, the end node may act to end the node, such as user designation.
  • the ending terminal device performs an action end.
  • the initiating terminal device and the ending terminal device may be determined by scanning a terminal device two-dimensional code, infrared matching, or the like. For example, if the start terminal device specified by the user is the electric light and the end terminal device is the air conditioner by scanning the two-dimensional code of the terminal device, then step S102 first performs all the operations before the light-emitting operation is performed from the start of the light-on operation to the air-conditioning operation.
  • the terminal devices are all related at least one terminal device, and then obtain context information and action information of the at least one terminal device history record.
  • the originating node may also be the start time of the recording context-aware application.
  • the ending node is the end time of the recording context-aware application, and at least one terminal device related to the creation factor starts at the start time. At least one terminal device that records context information and/or action information is terminated between the ends.
  • Step S102 When acquiring the context information and the action information of the at least one terminal device history record, the context information between the start time and the end time of the record time and the action information between the start time and the end time may be directly obtained. .
  • the scenario filtering policy is further included in the optional implementation manner, and after the step S102 is performed, A context filtering policy can also be performed to further filter the obtained context information and action information.
  • the scenario filtering policy is specifically one or a combination of the following three modes:
  • the action information and the context information may be stored in the server or at least one terminal device in addition to being stored in the user terminal.
  • the action information and the context information may be stored in the server or on at least one terminal device, and the user terminal needs to send the request message to the determined at least one terminal or server; and then receive the response returned by the at least one terminal device or the server. And obtaining action information and context information stored on at least one electronic device carried in the returned response.
  • step S103 After the context information and the action information are obtained by performing step S102, the process proceeds to step S103 to generate at least one operation item according to the context information and the action information of the at least one terminal device.
  • the context information corresponds to a condition in the context-aware application
  • the action information corresponds to an execution action of the context-aware application, so a strip is generated according to each piece of context information obtained.
  • the operation item generates an action operation item according to each piece of action information obtained, and the at least one condition operation item and/or the at least one action operation item constitute at least one operation item.
  • multiple operation items may be generated according to the context information and the action information.
  • the sequence of operations of the at least one terminal device may be determined according to the action information, for example, according to a time parameter in each action information, such as a recording time. And executing time, determining a sequence in which the corresponding terminal device detects the application condition and performs the corresponding action, so as to obtain a sequence in which each terminal device in at least one terminal device is operated.
  • the identifiers representing the at least one terminal device are arranged in the determined order (where the identifier of the terminal device may be a text object or an object in the form of an icon, which is not specifically limited herein), and according to the action of each terminal device
  • the information, the context information, and the identifier generate at least one action item. Specifically, determining, according to the action information, a sequence in which the at least one terminal device is historically operated, and arranging the identifiers of the at least one terminal device according to the sequence, and identifying the identifiers of the terminal devices in the order of The corresponding conditional action item is associated with the action action item.
  • each operation item is generated. a plurality of condition parameter values and a plurality of action parameter values to be selected, wherein at least one condition operation item includes a conditional operation item whose condition parameter value is adjustable, and at least one action operation item includes an action parameter value.
  • the action item is adjusted; wherein the same scenario is determined by the context information of the terminal device and the corresponding action information, and if the context information is 6 pm, the action is “open air”.
  • step S104 is performed: generating the context aware application according to the at least one operation item.
  • the embodiment of the present application further allows the user to add any operation item or delete or modify any one of the at least one operation item, for example, the context value “28” in the context information “temperature 28 degrees”. Modified to "26”, put it A conditional operation item and/or an action operation item are deleted.
  • the user saves the context-aware application the user obtains a context-aware application from at least one target operation item selected from the at least one operation item.
  • the context-aware application may be directly generated according to the generated at least one operation item without user editing (including: adding, deleting, modifying, etc.).
  • an embodiment of the present application provides a user interface for creating a context-aware application, including a toolbar, a scenario condition design area, and a scenario action design area view.
  • the toolbar defines a button for triggering the creation and saving of the application.
  • the scenario condition design area includes a trigger addition, a delete condition button, and a conditional graphical configuration panel.
  • the scene action design area includes a button for triggering addition and deletion, and a graphical configuration action panel.
  • the user U's living room includes the following terminal devices: a lamp L, an air conditioner A, a door D, and a WiFi named home.
  • Each terminal device has a corresponding sensor integrated therein, such as a light sensor integrated on the lamp L.
  • the air conditioner A is integrated with a temperature sensor
  • the door D is integrated with an opening and closing sensor.
  • a CA_DE Context Aware Development Environment
  • CA_PLT Context Aware Platform
  • CA_PLT can be set locally on each terminal device, or can be set on the home management machine, and can also be set on the mobile phone M. The following is an example in which the CA_PLT is set on the mobile phone M. Further explanation.
  • the terminal device door D, the living room lamp L, and the air conditioner A perform the action command after receiving the action command, sequentially open the door D, the living room lamp L, and turn on the air conditioner A and adjust the temperature to 26 degrees.
  • each terminal device records action information, which may include: action name, execution time, execution result, execution parameter data, execution device identifier, and user account.
  • action information recorded by the air conditioner A can be as shown in Table 1:
  • Each terminal device reports the recorded action information to the context aware platform CA_PLT.
  • the context aware platform CA_PLT receives and saves the reported action information.
  • the terminal device When the terminal device reports the action information, it also reports the context information before and after the action is performed. Referring to FIG. 5, the process of reporting the specific context information is as follows:
  • each terminal device periodically collects and records state data of the terminal device or state data of the environment where the terminal device is located, that is, obtains context information, where the context information may include: a context name, a context value, a recording time, and a recording device. Identification, record location and user account.
  • the context information recorded by Air Conditioner A can be as shown in Table 2:
  • the context aware platform CA_PLT receives and saves the reported context information.
  • the embodiment of the present application provides a method for obtaining context information and action information: collecting, by using a sensor on another terminal device B, context information of an environment in which the environment is recorded, according to the context.
  • the change in information estimates the action and action information performed by the terminal device A in the environment.
  • the light sensor of the mobile phone M obtains the context information of the living room where the mobile phone M is located, and obtains the action of other terminal devices by analyzing the historical context information, assuming that the light intensity in the context information currently collected by the mobile phone M is greater than the previous time. If the light intensity value in the collected historical context information is much larger, it can be concluded that the user U opens the light L of the living room and then pushes out the light L to perform the light-on action, and obtains the corresponding motion information.
  • the user can click the “New” button on the user interface provided by CA_DE to trigger the mobile phone M to generate a creation instruction and perform the following creation process:
  • a creation factor is obtained in response to a creation instruction for creating a context aware application.
  • the creation factor here is a scenario filtering policy
  • the mobile phone M reads the default filtering policy of the system or the user U pre-configured, and may also request the user U to configure a scenario policy, for example, requesting the scenario filtering policy S configured by the user U. It is "the context information and action information executed within 5 minutes before the end of the current time in the mobile phone network".
  • step S602 the mobile phone M queries the context information that satisfies the scenario filtering policy stored in the context aware platform CA_PLT according to the obtained scenario filtering policy.
  • the mobile phone M can analyze the context filtering policy S "the context information and the action information executed within 5 minutes before the end of the current time in the mobile phone network", and determine that the context of the scenario filtering policy S is classified as the mobile network mobilenet, if the context aware platform CA_PLT Stored Context Entity Collection Data Table 3:
  • the query obtains the unique identifier of the user of the mobile phone M such as test, location data such as (GPS: 122.00, 5465.55) and the current time as 2014-3-318:30, and then combines in the scenario filtering policy within 5 minutes before the end of the current time.
  • location data such as (GPS: 122.00, 5465.55)
  • the current time as 2014-3-318:30
  • the context information satisfying the condition and the terminal device corresponding to the context information satisfying the condition are queried according to the context query condition.
  • step S603 the mobile phone M queries the action information of the terminal device history record stored in the context aware platform CA_PLT according to the obtained scenario filtering policy, context information, and terminal device.
  • the action query condition is generated by the same principle as the generation context query condition.
  • the action information within the set duration after the recording time of the context information may be further defined in the action query condition.
  • step S604 the action information determined by the screening determines the action, and the action sequence is sorted in chronological order according to the execution time in the action information.
  • step S605 the identifiers corresponding to the terminal devices, such as icons, are sorted according to the sequence of actions, that is, the order in which the terminal devices are executed.
  • step S606 the action sequence and its corresponding identifier are set as action action items, ie, scene actions.
  • Each action in the action operation item corresponds to an identifier of the terminal device that performs the action.
  • step S607 the context information obtained by the screening and its corresponding identifier are set as context operation items, that is, context conditions.
  • Each context in the context operation item corresponds to an identifier of a terminal device that performs the check of the context.
  • step S608 at least one target operation item after adding, modifying, and deleting is obtained, and a context-aware application is generated according to at least one target operation item.
  • the target condition in the target operation item is: after 18:20, the ambient light intensity is less than 150cd/m2 and the ambient temperature is greater than 28°C; the scenario action is: turn on the light L, then turn on the air conditioner A and set the cooling temperature 26 °C, then the mobile phone M generates a context aware application to detect the scene condition, and when the detected situation condition is satisfied, the corresponding scene action is executed.
  • the method for creating a context-aware application provided by the embodiment of the present application may generate a context-aware application according to at least one target operation item, and may also generate a context-aware application template according to at least one target operation item.
  • the method for creating a context-aware application may also render a scenario based on the mapping model defined by the context information, the action information, and the scenario condition/scenario action graphical mapping when generating at least one operation item.
  • Generate graphical action items and graphically The method requests the user to further customize the scenario condition model and the scenario action model of the graphical application model, and updates the scenario condition model and the scenario action model according to the user customized information.
  • mapping model defined by the graphical conditions/scenario action graphical mapping is as follows:
  • the mapping relationship is shown in Figure 7.
  • the graphical puzzle is used to form an intuitive graphical application scenario.
  • the context primitive is generated according to the context mapping graphic, the context name, and the identifier icon, and the context value operation expression is generated according to the expression mapping graph, the context attribute name, the value operator, and the attribute value, and the action primitive is mapped according to the action mapping graph and the action name.
  • the icon icon is generated, and the action parameter expression is generated according to the action parameter expression mapping graph, the parameter name, the value operator, and the parameter data, and the more complex scene conditions and scene actions can be flexibly organized by the AND or OR primitive.
  • the at least one operation item generated by the embodiment of the present application is not limited to the graphical presentation manner, and the presentation manners that can be thought of by a person of ordinary skill in the art, such as text, commands, etc., are all within the scope of the present application. .
  • an embodiment of the present application provides a user terminal, where the user terminal includes:
  • An instruction obtaining unit 901 configured to acquire a creation instruction for creating a context-aware application, where the creation instruction includes a creation factor, wherein the creation factor is input by a user and/or generated by the user terminal;
  • the information obtaining unit 902 is configured to determine, according to the creation factor, at least one terminal device related to the creation factor, and acquire context information and action information of the at least one terminal device;
  • the operation item generating unit 903 is configured to generate at least one operation item according to the context information and the action information of the at least one terminal device;
  • the application generating unit 904 is configured to generate a context aware application according to the at least one operation item.
  • the context information and the action information are specifically: historically recorded or immediately generated information.
  • the context information and the action information may be specifically stored on the server, on the user terminal having the application creation function, or on each terminal device.
  • the information acquiring unit 902 is specifically configured to: send a request message to the at least one terminal device; and receive the returned by the at least one terminal device.
  • the context information and the action information of the history record stored on the at least one terminal device carried in the response message are obtained by using a response message.
  • the information acquiring unit provided by the embodiment of the present application may first determine the related terminal device according to different creation factors, and further obtain context information and action information of the related terminal device.
  • the information acquiring unit 902 is further configured to: when the creation factor is specifically a type of the context-aware application, determine the at least one terminal device included in the type of the context-aware application; or, in the creating When the factor is specifically the identifier of the terminal device input by the user, determining the at least one terminal device associated with the identifier; or determining, when the creation factor is specifically the location information generated by the user or generated by the user terminal, The at least one terminal device in the area corresponding to the area location information; or, when the creation factor is specifically the time information generated by the user terminal, determining to operate in the preset time interval based on the time information Determining the at least one terminal device; or determining, when the creation factor is specifically the user terminal recording the start node and the end node of the context aware application, determining the between the start node and the end node
  • the user terminal when the context information is at least two context information, the user terminal further provides an information screening unit 905, where the information acquiring unit 902 obtains After the context information and the action information of the at least one terminal device, the information filtering unit 905 is configured to: filter out the time parameter difference according to the time parameter of each piece of the context information in the at least two context information. At least two pieces of context information within the threshold and at least two pieces of action information corresponding to the at least two pieces of context information.
  • the information filtering unit 905 is specifically configured to: according to the time parameter in each piece of context information, filter out at least one piece of context information that the time parameter belongs to the set time interval, and at least the at least one context information corresponds to at least one piece of context information An action information; or, the information screening unit 905 is specifically configured to: according to the location information in each piece of context information, the location is selected And setting at least one piece of context information corresponding to the location information in the location area, and at least one piece of action information corresponding to the at least one piece of context information.
  • the operation item generating unit 903 is specifically configured to: generate at least one conditional operation item according to the context information, and generate at least one action operation item according to the action information; and according to the at least one terminal After the at least one operation item is generated by the context information and the action information of the device, the operation item generating unit 903 is further configured to: determine, according to the action information, a sequence in which the at least one terminal device is historically operated, and arrange the representations according to the sequence The identifier of the at least one terminal device associates the aligned identifiers of the at least one terminal device with corresponding conditional operation items and action operation items.
  • the at least one condition operation item provided by the embodiment of the present application includes a conditional operation item whose condition parameter value is adjustable; and the at least one action operation item Contains action action items with adjustable action parameter values for the user to select the condition parameter values and action parameter values that they actually need.
  • the context information includes at least one of the following: a terminal device identifier, a time parameter, context parameter data, a device attribution type, and location information.
  • the action information includes at least one of the following: an action name, an execution time, execution parameter data, and an execution result.
  • the specific information items included in the foregoing context information and action information may be selected as needed by a person of ordinary skill in the art according to actual needs. If the creation factor in the context-aware application is the location area selection, the context information needs to include location information for detecting the context information, and the screening condition is to filter the context information in the preset time interval, and then the context information needs to include detection. Time parameters of the context information, etc.
  • an embodiment of the present application provides a user terminal, where the user terminal includes:
  • a transceiver 1001 configured to send and receive data
  • the memory 1002 is configured to store at least one program instruction
  • the processor 1003 is configured to execute the at least one program instruction, where the processor executes the at least one program instruction, and specifically performs the following steps:
  • Obtaining a creation instruction for creating a context-aware application the creation instruction including a creation factor, wherein the creation factor is input by a user and/or generated by the user terminal;
  • the context information and the action information are specifically: historically recorded or immediately generated information.
  • the context information and the action information may be specifically stored on the server, on the user terminal having the application creation function, or on each terminal device.
  • the processor 1003 is specifically configured to: send a request message to the at least one terminal device by using the transceiver 1001; and receive the at least one by using the transceiver 1001.
  • the response message returned by the terminal device acquires the context information and the action information of the history record stored on the at least one terminal device carried in the response message.
  • the information acquiring unit provided by the embodiment of the present application may first determine the related terminal device according to different creation factors, and further obtain context information and action information of the related terminal device.
  • the processor 1003 is further configured to: when the creation factor is specifically a type of the context-aware application, determine the at least one terminal device included in the type of the context-aware application; or, in the creation factor Specifically, when the identifier of the terminal device is input by the user, the at least one terminal device associated with the identifier is determined; or, when the creation factor is specifically the location information generated by the user or generated by the user terminal, determining the location The at least one terminal device in the area corresponding to the area location information; or, when the creation factor is specifically time information generated by the user terminal, determining, according to the time information, that the operation is performed within a preset time interval Determining the at least one terminal device; or determining, when the creation factor is specifically the user terminal recording the start node and the end node of the context aware application, determining the at least between the start no
  • the user terminal when the context information is at least two pieces of context information, the user terminal further provides the processor 1003, and is configured to acquire the at least one After the context information and the action information of the terminal device, the at least two pieces of context information whose time parameter difference values are within a preset threshold are filtered according to the time parameter of each piece of the at least two pieces of context information, and the at least At least two action information corresponding to the two context information.
  • the processor 1003 is further configured to: according to the time parameter in each piece of context information, filter out at least one piece of context information that the time parameter belongs to the set time interval, and at least one piece corresponding to the at least one piece of context information The action information; or the processor 1003 is further configured to: according to the location information in each piece of context information, filter out at least one piece of context information corresponding to the location information in the set location area, and the at least one piece At least one piece of action information corresponding to the context information.
  • the processor 1003 is further configured to: generate at least one condition operation item according to the context information, and generate at least one action operation item according to the action information; in a context according to the at least one terminal device After the information and the action information are generated, the processor 1003 is further configured to: determine, according to the action information, a sequence in which the at least one terminal device is historically operated, and arrange the representative of the at least one terminal according to the sequence The identifier of the device associates the aligned identifiers of the at least one terminal device with corresponding conditional operation items and action operation items.
  • the at least one condition operation item provided by the embodiment of the present application includes a conditional operation item whose condition parameter value is adjustable; and the at least one action operation item Contains action action items with adjustable action parameter values for the user to select the condition parameter values and action parameter values that they actually need.
  • the context information includes at least one of the following: a terminal device identifier, a time parameter, context parameter data, a device attribution type, and location information.
  • the action information includes at least one of the following: an action name, an execution time, execution parameter data, and an execution result.
  • the specific information items included in the foregoing context information and action information may be selected as needed by a person of ordinary skill in the art according to actual needs. If the creation factor in the context-aware application is the location area selection, then the context information needs to include the bit that detects the context information. The information is filtered to filter the context information in the preset time interval, and the context information needs to include the time parameter for detecting the context information.
  • the creation instruction When the creation instruction is obtained, the context information and the action information of the at least one terminal device are automatically obtained for the user according to the creation factor, and after the context information and the action information of the at least one terminal device are acquired, the corresponding operation is automatically generated.
  • the item is a conditional instruction and an action and generates a context-aware application according to the corresponding operation item, thereby reducing the abstraction, recognition, and compilation work of the application scene when the user creates the context-aware application, thereby solving the context-aware application development existing in the prior art.
  • the technical problems of cumbersome steps and low development efficiency have achieved the beneficial effects of simplifying the development steps and improving the development efficiency.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the computer readable storage is stored in the computer.
  • the instructions in the device produce an article of manufacture comprising an instruction device that implements the functions specified in one or more blocks of the flow or in a flow or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

一种创建上下文感知应用的方法及用户终端,该方法包括:获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由用户终端生成;根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;根据所述至少一条操作项生成上下文感知应用。通过上述技术方案,减少了用户创建上下文感知应用时对应用场景的抽象、识别、编撰工作,进而解决了现有技术中存在的上下文感知应用开发步骤繁琐、开发效率低的技术问题,达到了简化开发步骤、提高开发效率的有益效果。

Description

一种创建上下文感知应用的方法及用户终端 技术领域
本发明涉及电子技术领域,特别涉及一种创建上下文感知应用的方法及用户终端。
背景技术
随着上下文感知技术的迅速发展和普及,特别是物联网及智能空间技术的发展,基于互联网信息、物联网传感器信息的下文感知应用将会越来越多的融入普通大众的日常生活,为此对于无专业开发技能的大众用户来说创建个性化触发式上下文感知应用的需求也越来越强烈。
目前上下文感知应用主要是基于触发式规则构建,即当由上下文构成的条件成立时触发指定的动作,例如“到家打开客厅的灯”这条应用规则,“到家”是由用户位置信息构成的条件,“打开客厅的灯”是响应“到家”条件执行的动作。
现有技术中,由于用户在开发上下文感知应用时,用户通过开发工具选择需要的操作项,该操作项包括代表应用的标识和代表执行动作的操作方式,再按照需要的逻辑构建场景。构建上下文感知应用时场景中所有用到的上下文和动作都需要用户主观选择,降低了开发效率。
可见现有技术中存在上下文感知应用开发步骤繁琐、开发效率低的技术问题。
发明内容
本发明实施例提供一种创建上下文感知应用的方法及用户终端,用于解决现有技术中存在的上下文感知应用开发步骤繁琐、开发效率低的技术问题。
第一方面,本发明提供一种创建上下文感知应用的方法,所述方法包括:
获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由用户终端生成;
根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
根据所述至少一条操作项生成上下文感知应用。
结合第一方面,在第一种可能实施的方式中,所述上下文信息和动作信息具体为:历史记录的或即时生成的信息。
结合第一种可能实施的方式,在第二种可能实施的方式中,当所述上下文信息和动作信息存储在所述至少一个终端设备上时,所述获取所述至少一个终端设备的上下文信息和动作信息,具体包括:
向所述至少一个终端设备发送请求消息;
接收所述至少一个终端设备返回的响应消息,获取所述响应消息中携带的所述至少一个终端设备上存储的历史记录的所述上下文信息和所述动作信息。
结合第一方面、第一种可能实施的方式或第二种可能实施的方式,在第三种可能实施的方式中,所述根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,具体包括:
在所述创建因子具体为上下文感知应用的类型时,确定所述上下文感知应用的类型所包含的所述至少一个终端设备;或者,
在所述创建因子具体为用户输入的终端设备的标识时,确定与所述标识相关联的所述至少一个终端设备;或者,
在所述创建因子具体为用户输入的或用户终端生成的区域位置信息时,确定所述区域位置信息所对应的区域内的所述至少一个终端设备;或者,
在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的所述至少一个终端设备;或者,
在所述创建因子具体为用户终端录制所述上下文感知应用的起始节点和结束节点时,确定所述起始节点与所述结束节点之间的所述至少一个终端设备。
结合第一方面或第一种至第三种中任一可能实施的方式,在第四种可能实施的方式中,当所述上下文信息的数量为至少两条时,所述获取所述至少一个终端设备的上下文信息和动作信息之后,还包括:
根据每条上下文信息中的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息;或者,
根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息;或者,
根据所述每条上下文信息中的位置信息,筛选出位置在设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
结合第一方面或第一种至第四种中任一可能实施的方式,在第五种可能实施的方式中,所述根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项,具体包括:
根据所述上下文信息生成至少一条条件操作项,及根据所述动作信息生成至少一条动作操作项;
在根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项之后,还包括:
根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将排列后的所述至少一个终端设备的标识与对应的条件操作项和动作操作项关联起来。
结合第五种可能实施的方式,在第六种可能实施的方式中,所述至少一条条件操作项中包含条件参数值可调的条件操作项;所述至少一条动作操作项中包含动作参数值可调的动作操作项。
结合第一方面或第一种至第六种中任一可能实施的方式,在第七种可能实施的方式中,所述上下文信息,包括以下各项中的至少一项:终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息。
结合第一方面或第一种至第七种中任一可能实施的方式,在第八种可能实施的方式中,所述动作信息,包括以下各项中的至少一项:动作名称、执行时间、执行参数数据和执行结果。
第二方面,本发明提供一种用户终端,所述用户终端包括:
指令获取单元,用于获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由所述用户终端生成;
信息获取单元,用于根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
操作项生成单元,用于根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
应用生成单元,用于根据所述至少一条操作项生成上下文感知应用。
结合第二方面,在第一种可能实施的方式中,所述上下文信息和动作信息具体为:历史记录的或即时生成的信息。
结合第一种可能实施的方式,在第二种可能实施的方式中,当所述上下文信息和动作信息存储在所述至少一个终端设备上时,所述信息获取单元,具体用于:
向所述至少一个终端设备发送请求消息;
接收所述至少一个终端设备返回的响应消息,获取所述响应消息中携带的所述至少一个终端设备上存储的历史记录的所述上下文信息和所述动作信息。
结合第二方面、第一种可能实施的方式或第二种可能实施的方式,在第三种可能实施的方式中,所述信息获取单元,还用于:
在所述创建因子具体为上下文感知应用的类型时,确定所述上下文感知应用的类型所包含的所述至少一个终端设备;或者,
在所述创建因子具体为用户输入的终端设备的标识时,确定与所述标识相关联的所述至少一个终端设备;或者,
在所述创建因子具体为用户输入的或用户终端生成的区域位置信息时,确定所述区域位置信息所对应的区域内的所述至少一个终端设备;或者,
在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的所述至少一个终端设备;或者,
在所述创建因子具体为用户终端录制所述上下文感知应用的起始节点和结束节点时,确定所述起始节点与所述结束节点之间的所述至少一个终端设备。
结合第二方面或第一种至第三种中任一可能实施的方式,在第四种可能实施的方式中,当所述上下文信息为至少两条上下文信息时,所述用户终端还包括信息筛选单元,在所述信息获取单元获取所述至少一个终端设备的上下文信息和动作信息之后,所述信息筛选单元具体用于:
根据所述至少两条上下文信息中每条上下文信息的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息;或者,
根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息;或者,
根据所述每条上下文信息中的位置信息,筛选出位置在设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
结合第二方面或第一种至第四种中任一可能实施的方式,在第五种可能实施的方式中,所述操作项生成单元,具体用于:
根据所述上下文信息生成至少一条条件操作项,及根据所述动作信息生成至少一条动作操作项;
在根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项之后,所述操作项生成单元还用于:
根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将排列后的所述至少一个终端设备的标识与对应的条件操作项和动作操作项关联起来。
结合第四种可能实施的方式,在第五种可能实施的方式中,所述至少一条条件操作项中包含条件参数值可调的条件操作项;所述至少一条动作操作项中包含动作参数值可调的动作操作项。
结合第二方面或第一种至第六种中任一可能实施的方式,在第七种可能实施的方式中,所述上下文信息,包括以下各项中的至少一项:终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息。
结合第二方面或第一种至第七种中任一可能实施的方式,在第八种可能实施的方式中,所述动作信息,包括以下各项中的至少一项:动作名称、执行时间、执行参数数据和执行结果。
第三方面,本发明提供一种用户终端,所述用户终端包括:
收发器,用于发送和接收数据;
存储器,用于存储至少一条程序指令;
处理器,用于执行所述至少一条程序指令,其中所述处理器执行所述至少一条程序指令时,具体执行如下步骤:
获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由所述用户终端生成;
根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
根据所述至少一条操作项生成上下文感知应用。
结合第三方面,在第一种可能实施的方式中,所述上下文信息和动作信息具体为:历史记录的或即时生成的信息。
结合第一种可能实施的方式,在第二种可能实施的方式中,当所述上下文信息和动作信息存储在所述至少一个终端设备上时,所述信息获取单元,具体用于:
向所述至少一个终端设备发送请求消息;
接收所述至少一个终端设备返回的响应消息,获取所述响应消息中携带的所述至少一个终端设备上存储的历史记录的所述上下文信息和所述动作信息。
结合第三方面、第一种可能实施的方式或第二种可能实施的方式,在第三种可能实施的方式中,所述信息获取单元,还用于:
在所述创建因子具体为上下文感知应用的类型时,确定所述上下文感知应用的类型所包含的所述至少一个终端设备;或者,
在所述创建因子具体为用户输入的终端设备的标识时,确定与所述标识相关联的所述至少一个终端设备;或者,
在所述创建因子具体为用户输入的或用户终端生成的区域位置信息时,确定所述区域位置信息所对应的区域内的所述至少一个终端设备;或者,
在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的所述至少一个终端设备;或者,
在所述创建因子具体为用户终端录制所述上下文感知应用的起始节点和结束节点时,确定所述起始节点与所述结束节点之间的所述至少一个终端设备。
结合第三方面或第一种至第三种中任一可能实施的方式,在第四种可能实施的方式中,当所述上下文信息为至少两条上下文信息时,所述用户终端还包括信息筛选单元,在所述信息获取单元获取所述至少一个终端设备的上下文信息和动作信息之后,所述信息筛选单元具体用于:
根据所述至少两条上下文信息中每条上下文信息的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息;或者,
根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息;或者,
根据所述每条上下文信息中的位置信息,筛选出位置在设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
结合第三方面或第一种至第四种中任一可能实施的方式,在第五种可能实施的方式中,所述操作项生成单元,具体用于:
根据所述上下文信息生成至少一条条件操作项,及根据所述动作信息生成至少一条动作操作项;
在根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项之后,所述操作项生成单元还用于:
根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将排列后的所述至少一个终端设备的标识与对应的条件操作项和动作操作项关联起来。
结合第四种可能实施的方式,在第五种可能实施的方式中,所述至少一条条件操作项中包含条件参数值可调的条件操作项;所述至少一条动作操作项中包含动作参数值可调的动作操作项。
结合第三方面或第一种至第六种中任一可能实施的方式,在第七种可能实施的方式中,所述上下文信息,包括以下各项中的至少一项:终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息。
结合第三方面或第一种至第七种中任一可能实施的方式,在第八种可能实施的方式中,所述动作信息,包括以下各项中的至少一项:动作名称、执行时间、执行参数数据和执行结果。
本申请实施例中的上述一个或多个技术方案,至少具有如下技术效果:
在获取到创建指令时,根据创建因子自动的为用户获取相关的至少一个终端设备的上下文信息和动作信息,在获取到相关的至少一个终端设备的上下文信息和动作信息后,自动生成对应的操作项即条件指令和动作并根据对应的操作项生成上下文感知应用,从而减少了用户创建上下文感知应用时对应用场景的抽象、识别、编撰工作,进而解决了现有技术中存在的上下文感知应用开发步骤繁琐、开发效率低的技术问题,达到了简化开发步骤、提高开发效率的有益效果。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面 描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一提供的一种创建上下文感知应用的方法的流程示意图;
图2为本发明实施例一提供的创建上下文感知应用的用户界面;
图3为本发明实施例一提供的家庭应用场景的终端设备示意图;
图4为本发明实施例一提供的获取动作信息的过程示意图;
图5为本发明实施例一提供的获取上下文信息的过程示意图;
图6为本发明实施例一提供的创建家庭感知应用的过程示意图;
图7为本发明实施例一提供的情景条件和情景动作中元素与图形的映射示意图;
图8为本发明实施例一提供的图形化操作项的示意图;
图9为本发明实施例二提供的一种用户终端的结构示意图;
图10为本发明实施例三提供的一种用户终端的结构示意图。
具体实施方式
为了解决现有技术中出现的上下文感知应用开发步骤繁琐、开发效率低的技术问题,本发明实施例提出了一种创建上下文感知应用的方法及用户终端。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本发明中,对于管理和操作没有做严格的界定,管理可以理解为是操作更上位的描述。本发明中为了描述的连贯性和理解的方便性出发,在某些上 下文里使用了“管理”,而在另外一些上下文中使用了“操作”。但是在没有明确界定不同的情况下,两者可以相互替换。
本发明中,为了描述特征点的方便,将终端设备记录的内容分为上下文信息和动作信息,而现实中所述上下文信息和动作信息多数是不做区分作为整体记录的。
本发明中所述上下文信息和动作信息可以是所述用户终端中存储的和/或服务器中存储的和/或用户终端所管理的至少一个终端设备中存储的上下文信息和动作信息。根据具体实施例的需求,上下文信息和动作信息的存储位置,可以进行不同的选择和组合。并且,上下文信息和动作信息可以是历史记录的和/或即时生成的信息。
下面结合附图对本申请实施例技术方案的主要实现原理、具体实施方式及其对应能够达到的有益效果进行详细的阐述。
实施例一
本申请实施例提供一种创建上下文感知应用的方法,该方法应用于管理一个或多个终端设备。其中,上下文感知应用包含由一个或多个上下文信息组合而成的场景条件及由一个或多个动作信息组合而成的场景动作,当场景条件成立时触发执行场景动作。相应的,上下文信息为:用户所处环境中,物理传感器(例如:温度传感器、光线传感器等)或虚拟传感器(例如:调用邮箱接口监测邮箱状态的一种虚拟传感器)采集的终端设备某一时刻的状态数据,比如用户所处的环境温度、噪音、光线及虚拟的心情、状态等信息。而动作信息则指:用户所处环境中,物理设备(例如:空调、电视、灯等)或虚拟设备(例如:微博、邮箱等)执行的一个或多个动作比如物理设备的“开”与“关”及虚拟设备邮件的“发邮件”等,动作信息用于记录终端设备所执行动作及执行该动作过程中的相关信息。因此,本发明所描述的管理一个或多个终端设备,还可以是管理终端设备自身已经安装了的应用程序等等。
本申请提供的一种创建上下文感知应用的方法可以应用于上下文感知系统、也可以应用于单个的终端设备。本申请提供的上下文感知系统可以包含多个终端设备和服务器,也可以只包含多个终端设备,其中,多个终端设 备中至少有一个终端设备上包含至少一个传感器(物理传感器和/或虚拟传感器),多个终端设备中运行创建上下文感知应用的方法的终端设备称为用户终端。
当上下文感知系统中包含多个终端设备和服务器时,多个终端设备通过传感器实时检测获得上下文信息,记录并上传获得的上下文信息至服务器。同样的,终端设备在执行动作的时候也记录并上传对应的动作信息至服务器。通过记录并上传上下文信息和动作信息,使得用户终端在创建上下文感知应用时可以向服务器获取需要的上下文信息和动作信息。
当上下文感知系统中包含多个终端设备时,各终端设备通过传感器获得并记录上下文信息,可以将获得的上下文信息存在本地,也可以上传给多个终端设备中的用户终端,例如:多个设备终端包括电灯、电视、空调、手机,其中,手机即为用户终端,那么电灯、电视、空调上的传感器获得的上下文信息和执行动作时获得动作信息,既可以存储在其本地也可以上传至手机。
请参考图1,针对上述上下文感知系统或终端设备,本申请实施例提供的一种创建上下文感知应用的方法,所述方法包括:
在步骤S101中,获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中所述创建因子由用户输入和/或由用户终端生成;
在步骤S102中:根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
在步骤S103中:根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
在步骤S104中:根据所述至少一条操作项生成所述上下文感知应用。
在具体实施过程中,用于创建上下文感知应用的创建指令可以由用户根据需要触发,执行创建上下文感知应用的用户终端执行步骤S101。其中,创建因子可以为用户输入或者选择的终端设备的标识和区域位置信息中的至少一项,创建因子还可以是用户终端生成的时间信息、用户终端生成的位置信息中的至少一项。
在S101之后,继续执行步骤S102根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和 动作信息。其中,上下文信息可以包括:终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息;动作信息可以包括:动作名称、执行时间、执行参数数据和执行结果。针对不同的创建因子,步骤S102的具体实施方式不同,包括:
1)、创建因子具体为上下文感知应用的类型
具体的,若创建因子为管理家居设备类型的上下文感知应用,那么获取至少一个家居设备作为与创建因子相关的至少一个终端设备;若创建因子为管理办公设备类型的上下文感知应用,那么获取至少一个办公设备作为与创建因子相关的至少一个终端设备。
2)、创建因子具体为用户输入的终端设备的标识
具体的,若创建因子为用户输入的要创建的应用所涉及的初始终端设备的标识,那么获取该初始终端设备相关的至少一个相关设备作为与创建因子相关的至少一个终端设备;其中,所述初始终端设备的标识代表所述应用生成后所要管理的至少一个终端设备中的一员;其中与初始终端设备相关的至少一个相关设备可以是初始终端设备所在局域网内的至少一个网内设备、也可以是与初始终端设备在同一设定地理区域内的终端设备。在获取到与创建因子相关的至少一个终端设备之后,继而获得至少一个终端设备历史记录的上下文信息和动作信息。
3)、创建因子具体为用户输入的区域位置信息
在所述创建因子具体为用户输入的区域位置信息时,用户终端确定所述区域位置信息所对应的区域内的至少一个终端设备。具体的,例如:用户选择了厨房作为创建因子,则用户终端会根据该区域信息,确定厨房里的电灯、抽油烟机等等终端设备。
4)、创建因子具体为用户终端生成的时间信息
在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的至少一个终端设备。具体的,例如:用户选择了5点作为创建因子,则用户终端会根据历史上由5点开始,并确定出在预设时间区间内,如4点40至5点这个时间区间操作过的至少一个终端设备。
5)、创建因子具体为用户终端生成的区域位置信息
在所述创建因子具体为用户终端生成的区域位置信息时,用户终端确定在所述位置信息区域范围内的至少一个终端设备。具体的,例如:用户选择当前所在位置的区域位置信息作为创建因子,所述区域位置信息由用户终端生成,则用户终端通过扫描获得所述区域位置信息对应的区域范围内的至少一个终端设备,如通过扫描获得用户当前所在位置的10米范围内的至少一个终端设备,从而通过确定终端设备明确了后续获取上下文信息和动作信息的范围。
6)、创建因子具体为用户终端采集的终端设备
具体的,用户终端可以通过红外、二维码或者蓝牙等方式,获取当前要创建的上下文感知应用相关的至少一个终端设备。
7)、创建因子还可以为录制上下文感知应用的起始节点和结束节点
具体的,用户确定用户终端录制上下文感知应用的起始节点可以是动作起始节点,如用户指定的起始终端设备执行一动作开始,相对应的,结束节点则可以动作结束节点,如用户指定的结束终端设备执行一动作结束,进一步的,起始终端设备和结束终端设备可以通过扫描终端设备二维码、红外匹配等方式来确定。例如:通过扫描终端设备二维码获取到用户指定的起始终端设备为电灯、结束终端设备为空调,那么步骤S102先从电灯执行开灯动作开始到空调执行开空调动作之前所有执行过动作的终端设备均为相关的至少一个终端设备,然后获得该至少一个终端设备历史记录的上下文信息和动作信息。
当然,起始节点也可以是录制上下文感知应用的起始时间,相应的,结束节点则为录制上下文感知应用的结束时间,此时与创建因子相关的至少一个终端设备则为在起始时间开始到结束之间终止有记录上下文信息和/或动作信息的至少一个终端设备。步骤S102获取至少一个终端设备历史记录的上下文信息和动作信息时,可以直接获得记录时间在起始时间与结束时间之间的上下文信息,及执行时间在起始时间与结束时间之间的动作信息。
本领域其他一些公知的用于限定或者构造上下文感知应用的创建因子也适用于本发明,在次不一一赘述。
为了更高效的利用从终端设备上获取到的上下文信息和动作信息,当获取到的上下文信息的数量为至少两条时,在可选的实施方式中还包括情景过滤策略,执行完步骤S102之后还可以执行情景过滤策略进一步筛选获得的上下文信息和动作信息。
所述情景过滤策略具体为以下三种方式中的一种或者几种的组合:
1)根据每条上下文信息中的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息。具体,可以通过查询历史记录的上下文信息中的时间参数,比较两个上下文信息中时间参数之间的时间间隔,获得时间参数之间时间间隔在预设定阈值内的至少两条上下文信息及对应的至少两条动作信息。
2)根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。例如:假设用户在18:00时点击“创建”按钮开始创建上下文感知应用、设定时间区间为18:00~18:10,那么进一步筛选出时间参数在18:00~18:10之间的至少一条上下文信息,以及该至少一条上下文信息对应的至少一条动作信息。
3)根据所述每条上下文信息中的位置信息,筛选出位置在设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
在具体实施过程中,动作信息和上下文信息除了存储在用户终端外,还可以存储在服务器中或者至少一个终端设备上。其中,在所述动作信息和上下文信息可以存储在服务器中或者至少一个终端设备上,用户终端需要向确定出的至少一个终端或服务器发送请求消息;然后,接收至少一个终端设备或服务器返回的响应,并获取返回的响应中携带的至少一个电子设备上存储的动作信息和上下文信息。
通过执行步骤S102获得上下文信息和动作信息后,继续执行步骤S103根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项。具体的,由于上下文信息对应于上下文感知应用中的条件,动作信息对应于上下文感知应用的执行动作,所以根据获得的每一条上下文信息生成一条条 件操作项,根据获得的每一条动作信息生成一条动作操作项,至少一条条件操作项和/或至少一条动作操作项构成至少一条操作项。例如:根据包含信息“环境光亮度L=150cd/m2”的上下文信息生成一条条件操作项“if L=150cd/m2”,根据包含“开灯”的动作信息生成一条动作操作项“open light”。
在具体实施过程中,根据上下文信息和动作信息可能生成多条操作项,具体可以先根据动作信息确定至少一个终端设备被操作的先后顺序,例如:根据各个动作信息中的时间参数,如记录时间、执行时间,确定控制对应终端设备检测应用条件、执行对应动作的先后顺序,从而获得至少一个终端设备中各个终端设备被操作的先后顺序。
接下来,按照确定出的先后顺序排列代表至少一个终端设备的标识(其中终端设备的标识可以是文字对象,也可以是图标形式的对象,在此不作特殊限定),并根据各终端设备的动作信息、上下文信息及标识生成至少一条操作项。具体的,根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将按先后顺序排列后的各终端设备的标识与对应的条件操作项和动作操作项关联起来。
进一步的,当至少一个终端设备中的一个终端设备历史记录的动作信息包含有至少两条时,而每条动作信息中仅动作参数值不同,例如执行动作均为“open air”,一条的动作执行参数为温度调节为24度,另一条的动作执行参数为温度调节为26度,根据所述终端设备在相同的情景下历史记录的多条上下文信息和动作信息,针对每条操作项生成可供选择的多个条件参数值和多个动作参数值,以可选的方式使至少一条条件操作项中包含条件参数值可调的条件操作项,及至少一条动作操作项中包含动作参数值可调的动作操作项;其中,所述相同的情景是通过终端设备的上下文信息和对应的动作信息所确定的,如上下文信息均为下午6点,动作均为“open air”。
在步骤S103生成至少一条操作项之后,执行步骤S104:根据所述至少一条操作项生成所述上下文感知应用。具体的,本申请实施例执行S104时还允许用户添加任一操作项或删除、修改至少一条操作项中的任一操作项,例如:将上下文信息“温度28度”中的上下文值“28”修改为“26”,将其 中某条条件操作项和/或动作操作项删除,待用户保存创建上下文感知应用时,获得用户从至少一条操作项中选定的至少一条目标操作项生成上下文感知应用。当然,执行步骤S104时,也可以不经用户编辑(包括:添加、删除、修改等操作),直接根据生成的至少一条操作项生成上下文感知应用。
下面通过一个完整的实施例对本申请实施例提供的创建上下文感知应用的方法进行举例说明。
请参考图2,本申请实施例提供一种创建上下文感知应用的用户界面,包含工具栏、情景条件设计区、情景动作设计区视图。工具栏定义了触发新建、保存应用的按钮,情景条件设计区包含触发增加、删除条件按钮及条件图形化配置面板,情景动作设计区包含触发增加、删除动作的按钮及图形化配置动作面板。
请参考图3,用户U家里客厅里包含如下终端设备:灯L、空调A、门D及名称为home的WiFi,各个终端设备中均集成有相应的传感器,如灯L上集成有光线传感器、空调A上集成有温度传感器、门D上集成有开合传感器。用户U的手机M上集成了用于创建上下文感知应用的CA_DE(Context Aware Development Environment,上下文感知应用开发环境)。
在实际应用过程中,通过客厅里的各个终端设备的传感器采集获得设备状态改变时的动作信息及状态发生变化时的自身或者自身所处环境的状态数据即上下文信息,并将获得的上下文信息上报到CA_PLT(Context Aware Platform,上下文感知平台),其中CA_PLT可以设置在各个终端设备的本地,也可以设置在家庭管理机上,还可以设置在手机M上,下面以CA_PLT设置在手机M上为例进行进一步说明。
用户U晚上下班回家手动的做了如下事情:1、打开家里门D进到客厅;2、然后打开客厅的灯L;3、接着打开客厅空调A设置温度26度。请参考图4,终端设备上报动作信息的过程如下:
1)、用户U到家后完成打开门D、客厅灯L、客厅空调A三个动作指令。
2)、终端设备门D、客厅灯L、空调A三个设备收到动作指令后执行动作指令,依次打开门D、客厅灯L及打开空调A并将温度调至26度。
3)、各终端设备执行动作指令的过程中,记录动作信息,该动作信息可以包括:动作名称、执行时间、执行结果、执行参数数据、执行设备标识及用户账号。例如:空调A记录的动作信息可以如表一所示:
Figure PCTCN2015086270-appb-000001
表一
4)、各终端设备将记录的动作信息上报到上下文感知平台CA_PLT。
5)、上下文感知平台CA_PLT接收并保存上报的动作信息。
各终端设备上报动作信息的同时,也上报其在执行动作前后的上下文信息,请参考图5,具体上下文信息上报的过程如下:
1)、各终端设备通过传感器周期性的采集记录终端设备的状态数据或终端设备所处环境的状态数据,即获得上下文信息,该上下文信息可以包含:上下文名称、上下文值、记录时间、记录设备标识、记录位置及用户账号。例如:空调A记录的上下文信息可以如表二所示:
Figure PCTCN2015086270-appb-000002
表二
2)、各终端设备将采集记录的上下文信息上报上下文感知平台CA_PLT。
3)、上下文感知平台CA_PLT接收并保存上报的上下文信息。
特别的,当一终端设备A上未集成传感器时,本申请实施例提供一种获得上下文信息和动作信息的方法:通过另一终端设备B上的传感器采集记录所处环境的上下文信息,根据上下文信息的变化推测出所处环境的终端设备A执行的动作及动作信息。例如:通过手机M的光线传感器获取手机M所处环境客厅的上下文信息,并通过对历史上下文信息的分析获得其他终端设备发生的动作,假设手机M当前采集的上下文信息中的光线强度比前一次 采集的历史上下文信息中的光线强度值大很多,则可以断定用户U打开了客厅的灯L进而推出灯L执行了开灯动作,并获得对应的动作信息。
请参考图6,在各终端设备上报上下文信息和动作信息到上下文感知平台后,用户可以点击CA_DE提供的用户界面上的“新建”按钮,触发手机M生成创建指令并执行如下创建过程:
在步骤S601中:响应用于创建上下文感知应用的创建指令,获得创建因子。假设此处的创建因子为情景过滤策略,手机M读取系统默认的或者用户U预先配置的情景过滤策略,当然也可以请求用户U配置一个情景策略,例如请求获得用户U配置的情景过滤策略S为“手机网络中,当前时刻结束前5分钟内执行的上下文信息和动作信息”。
在步骤S602中:手机M根据获得的情景过滤策略,查询上下文感知平台CA_PLT中存储的满足情景过滤策略的上下文信息。
首先,手机M可以解析情景过滤策略S“手机网络中,当前时刻结束前5分钟内执行的上下文信息和动作信息”,确定情景过滤策略S的上下文分类为手机网络mobilenet,若上下文感知平台CA_PLT上存储的上下文实体集合数据表三:
Type Name Icon Property PropertyType
mobilenet wifi wifi.png bssid string
acceleration Acceleration acc.png xpseed int
acceleration Acceleration acc.png yspeed int
..
表三
然后,查询获得手机M的用户唯一标识如test、位置数据如(GPS:122.00,5456.55)及当前时刻如2014-3-318:30,再结合情景过滤策略中的“当前时刻结束前5分钟内”生成上下文查询条件如表四:
Figure PCTCN2015086270-appb-000003
表四
接着,根据上下文查询条件查询满足条件的的上下文信息及满足条件的上下文信息对应的终端设备,如灯L、空调A及门D。
在步骤S603中:手机M根据获得的情景过滤策略、上下文信息及终端设备,查询上下文感知平台CA_PLT中存储的终端设备历史记录的动作信息。具体的,与生成上下文查询条件相同的原理生成动作查询条件。进一步的,还可以在动作查询条件中进一步限定执行时间在上下文信息的记录时间之后的设定时长内的动作信息。
在步骤S604中:由筛选获得的动作信息确定动作,并根据动作信息中的执行时间对各个动作按照时间先后顺序排序获得动作序列。
在步骤S605中:根据动作序列即终端设备被执行的先后顺序,对各终端设备对应的标识如icon进行排序。
在步骤S606中:将动作序列及其对应的标识设置为动作操作项即情景动作。其中,动作操作项中的每个动作均对应有执行该动作的终端设备的标识。
在步骤S607中:将筛选获得的上下文信息及其对应的标识设置为上下文操作项即情景条件。其中,上下文操作项中每个上下文均对应有执行检查该上下文的终端设备的标识。
在步骤S608中:获得添加、修改、删除后的至少一条目标操作项,根据至少一条目标操作项生成上下文感知应用。例如:若目标操作项中情景条件为:在18:20时刻以后、环境光线强度小于150cd/m2及环境温度大于28℃;情景动作为:打开灯L,然后打开空调A并设置制冷温度26℃,那么手机M生成上下文感知应用以检测情景条件,在检测到情景条件满足时,执行对应的情景动作。需要说明的是,本申请实施例提供的创建上下文感知应用的方法处理可以根据至少一条目标操作项生成上下文感知应用,还可以根据至少一条目标操作项生成上下文感知应用模板。
在具体实施过程中,本申请实施例提供的创建上下文感知应用的方法在生成至少一条操作项时,还可以基于上下文信息、动作信息及情景条件/情景动作图形化映射定义的映射模型渲染情景、生成图形化操作项,及以图形化 方式请求用户进一步定制图形化应用模型的情景条件模型和情景动作模型,根据用户定制信息更新情景条件模型和情景动作模型。
其中,情景条件/情景动作图形化映射定义的映射模型如下:
把构成上下文感知应用的元素(上下文、属性、值运算符【=、!=、>、<等】、属性值、逻辑运算【AND、OR等】、动作、参数)与拼图图元进行映射,映射关系如图7所示,通过图元拼图形成一个形象直观的图形化应用情景。
请参考图8,根据情景条件和情景动作模型及模型中元素与图形映射关系,生成上下文图元和动作图元。其中,上下文图元根据上下文映射图形、上下文名称及标识icon生成,上下文值运算表达式根据表达式映射图形、上下文属性名称、值运算符、属性值生成,动作图元根据动作映射图形、动作名称、标识icon生成,动作参数表达式根据动作参数表达式映射图形、参数名、值运算符、参数数据生成,通过AND或OR图元能够灵活组织更加复杂的情景条件和情景动作。
需要说明的是,本申请实施例生成的至少一条操作项不限于图形化呈现方式,本领域普通技术人员能够想到的呈现方式,如以文字、命令等方式呈现,均属于本申请所要保护的范围。
实施例二
请参考图9,本申请实施例提供一种用户终端,所述用户终端包括:
指令获取单元901,用于获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由所述用户终端生成;
信息获取单元902,用于根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
操作项生成单元903,用于根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
应用生成单元904,用于根据所述至少一条操作项生成上下文感知应用。
在具体实施过程中,所述上下文信息和动作信息具体为:历史记录的或即时生成的信息。上下文信息和动作信息具体可以存储在服务器上、具有应用创建功能的用户终端上或各个终端设备上。当所述上下文信息和动作信息存储在所述至少一个终端设备上时,所述信息获取单元902,具体用于:向所述至少一个终端设备发送请求消息;接收所述至少一个终端设备返回的响应消息,获取所述响应消息中携带的所述至少一个终端设备上存储的历史记录的所述上下文信息和所述动作信息。
本申请实施例提供的信息获取单元可以根据不同的创建因子先确定相关的终端设备,再进一步获得相关的终端设备的上下文信息和动作信息。具体的,信息获取单元902,还用于:在所述创建因子具体为上下文感知应用的类型时,确定所述上下文感知应用的类型所包含的所述至少一个终端设备;或者,在所述创建因子具体为用户输入的终端设备的标识时,确定与所述标识相关联的所述至少一个终端设备;或者,在所述创建因子具体为用户输入的或用户终端生成的区域位置信息时,确定所述区域位置信息所对应的区域内的所述至少一个终端设备;或者,在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的所述至少一个终端设备;或者,在所述创建因子具体为用户终端录制所述上下文感知应用的起始节点和结束节点时,确定所述起始节点与所述结束节点之间的所述至少一个终端设备。
在具体实施过程中,为了进一步提高上下文信息和动作信息的利用率,当所述上下文信息为至少两条上下文信息时,所述用户终端还提供信息筛选单元905,在所述信息获取单元902获取所述至少一个终端设备的上下文信息和动作信息之后,所述信息筛选单元905具体用于:根据所述至少两条上下文信息中每条上下文信息的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息。或者,所述信息筛选单元905具体用于:根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息;或者,所述信息筛选单元905具体用于:根据所述每条上下文信息中的位置信息,筛选出位置在 设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
在具体实施过程中,所述操作项生成单元903,具体用于:根据所述上下文信息生成至少一条条件操作项,及根据所述动作信息生成至少一条动作操作项;在根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项之后,所述操作项生成单元903还用于:根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将排列后的所述至少一个终端设备的标识与对应的条件操作项和动作操作项关联起来。
在具体实施过程中,为了给用户提供更灵活的应用创建方式,本申请实施例提供的所述至少一条条件操作项中包含条件参数值可调的条件操作项;所述至少一条动作操作项中包含动作参数值可调的动作操作项,以供用户选择自己实际需要的条件参数值和动作参数值。
在具体实施过程中,所述上下文信息,包括以下各项中的至少一项:终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息。所述动作信息,包括以下各项中的至少一项:动作名称、执行时间、执行参数数据和执行结果。上述上下文信息和动作信息中所包含的具体信息项可以由本领域的普通技术人员,根据实际需要按需选择。如上下文感知应用中的创建因子为位置区域选择,那么上下文信息中则需要包含检测该上下文信息的位置信息,筛选条件为筛选在预设时间区间内的上下文信息,那么上下文信息中则需要包含检测该上下文信息的时间参数等。
前述图1至图8实施例中提供的上下文感知应用的方法的各种变化方式和具体实例同样适用于本实施例的用户终端,通过前述上下文感知应用的方法的详细描述,本领域技术人员可以清楚的知道本实施例中用户终端的实施方法,所以为了说明书的简洁,在此不再详述。
实施例三
请参考图10,本申请实施例提供一种用户终端,该用户终端包括:
收发器1001,用于发送和接收数据;
存储器1002,用于存储至少一条程序指令;
处理器1003,用于执行所述至少一条程序指令,其中所述处理器执行所述至少一条程序指令时,具体执行如下步骤:
获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由所述用户终端生成;
根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
根据所述至少一条操作项生成上下文感知应用。
在具体实施过程中,所述上下文信息和动作信息具体为:历史记录的或即时生成的信息。上下文信息和动作信息具体可以存储在服务器上、具有应用创建功能的用户终端上或各个终端设备上。当所述上下文信息和动作信息存储在所述至少一个终端设备上时,处理器1003具体用于:通过收发器1001向所述至少一个终端设备发送请求消息;通过收发器1001接收所述至少一个终端设备返回的响应消息,获取所述响应消息中携带的所述至少一个终端设备上存储的历史记录的所述上下文信息和所述动作信息。
本申请实施例提供的信息获取单元可以根据不同的创建因子先确定相关的终端设备,再进一步获得相关的终端设备的上下文信息和动作信息。具体的,处理器1003,还用于:在所述创建因子具体为上下文感知应用的类型时,确定所述上下文感知应用的类型所包含的所述至少一个终端设备;或者,在所述创建因子具体为用户输入的终端设备的标识时,确定与所述标识相关联的所述至少一个终端设备;或者,在所述创建因子具体为用户输入的或用户终端生成的区域位置信息时,确定所述区域位置信息所对应的区域内的所述至少一个终端设备;或者,在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的所述至少一个终端设备;或者,在所述创建因子具体为用户终端录制所述上下文感知应用的起始节点和结束节点时,确定所述起始节点与所述结束节点之间的所述至少一个终端设备。
在具体实施过程中,为了进一步提高上下文信息和动作信息的利用率,当所述上下文信息为至少两条上下文信息时,所述用户终端还提供处理器1003还用于,在获取所述至少一个终端设备的上下文信息和动作信息之后,根据所述至少两条上下文信息中每条上下文信息的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息。或者,所述处理器1003还用于:根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息;或者,所述处理器1003还用于:根据所述每条上下文信息中的位置信息,筛选出位置在设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
在具体实施过程中,所述处理器1003还用于:根据所述上下文信息生成至少一条条件操作项,及根据所述动作信息生成至少一条动作操作项;在根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项之后,所述处理器1003还用于:根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将排列后的所述至少一个终端设备的标识与对应的条件操作项和动作操作项关联起来。
在具体实施过程中,为了给用户提供更灵活的应用创建方式,本申请实施例提供的所述至少一条条件操作项中包含条件参数值可调的条件操作项;所述至少一条动作操作项中包含动作参数值可调的动作操作项,以供用户选择自己实际需要的条件参数值和动作参数值。
在具体实施过程中,所述上下文信息,包括以下各项中的至少一项:终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息。所述动作信息,包括以下各项中的至少一项:动作名称、执行时间、执行参数数据和执行结果。上述上下文信息和动作信息中所包含的具体信息项可以由本领域的普通技术人员,根据实际需要按需选择。如上下文感知应用中的创建因子为位置区域选择,那么上下文信息中则需要包含检测该上下文信息的位 置信息,筛选条件为筛选在预设时间区间内的上下文信息,那么上下文信息中则需要包含检测该上下文信息的时间参数等。
前述图1至图8实施例中提供的上下文感知应用的方法的各种变化方式和具体实例同样适用于本实施例的用户终端,通过前述上下文感知应用的方法的详细描述,本领域技术人员可以清楚的知道本实施例中用户终端的实施方法,所以为了说明书的简洁,在此不再详述。
通过本申请实施例中的一个或多个技术方案,可以实现如下技术效果:
在获取到创建指令时,根据创建因子自动的为用户获取相关的至少一个终端设备的上下文信息和动作信息,在获取到相关的至少一个终端设备的上下文信息和动作信息后,自动生成对应的操作项即条件指令和动作并根据对应的操作项生成上下文感知应用,从而减少了用户创建上下文感知应用时对应用场景的抽象、识别、编撰工作,进而解决了现有技术中存在的上下文感知应用开发步骤繁琐、开发效率低的技术问题,达到了简化开发步骤、提高开发效率的有益效果。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储 器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (18)

  1. 一种创建上下文感知应用的方法,其特征在于,所述方法包括:
    获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由用户终端生成;
    根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
    根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
    根据所述至少一条操作项生成上下文感知应用。
  2. 如权利要求1所述的方法,其特征在于,所述上下文信息和动作信息具体为:历史记录的或即时生成的信息。
  3. 如权利要求2所述的方法,其特征在于,当所述上下文信息和动作信息存储在所述至少一个终端设备上时,所述获取所述至少一个终端设备的上下文信息和动作信息,具体包括:
    向所述至少一个终端设备发送请求消息;
    接收所述至少一个终端设备返回的响应消息,获取所述响应消息中携带的所述至少一个终端设备上存储的历史记录的所述上下文信息和所述动作信息。
  4. 如权利要求1-3任一所述的方法,其特征在于,所述根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,具体包括:
    在所述创建因子具体为上下文感知应用的类型时,确定所述上下文感知应用的类型所包含的所述至少一个终端设备;或者,
    在所述创建因子具体为用户输入的终端设备的标识时,确定与所述标识相关联的所述至少一个终端设备;或者,
    在所述创建因子具体为用户输入的或用户终端生成的区域位置信息时,确定所述区域位置信息所对应的区域内的所述至少一个终端设备;或者,
    在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的所述至少一个终端设备;或者,
    在所述创建因子具体为用户终端录制所述上下文感知应用的起始节点 和结束节点时,确定所述起始节点与所述结束节点之间的所述至少一个终端设备。
  5. 如权利要求1-4任一所述的方法,其特征在于,当所述上下文信息的数量为至少两条时,所述获取所述至少一个终端设备的上下文信息和动作信息之后,还包括:
    根据每条上下文信息中的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息;或者,
    根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息;或者,
    根据所述每条上下文信息中的位置信息,筛选出位置在设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
  6. 如权利要求1-5任一所述的方法,其特征在于,所述根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项,具体包括:
    根据所述上下文信息生成至少一条条件操作项,及根据所述动作信息生成至少一条动作操作项;
    在根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项之后,还包括:
    根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将排列后的所述至少一个终端设备的标识与对应的条件操作项和动作操作项关联起来。
  7. 如权利要求6所述的方法,其特征在于,所述至少一条条件操作项中包含条件参数值可调的条件操作项;所述至少一条动作操作项中包含动作参数值可调的动作操作项。
  8. 如权利要求1-7任一所述的方法,其特征在于,所述上下文信息,包括以下各项中的至少一项:
    终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息。
  9. 如权利要求1-8任一所述的方法,其特征在于,所述动作信息,包括以下各项中的至少一项:
    动作名称、执行时间、执行参数数据和执行结果。
  10. 一种用户终端,其特征在于,所述用户终端包括:
    指令获取单元,用于获取用于创建上下文感知应用的创建指令,所述创建指令中包含创建因子,其中,所述创建因子由用户输入和/或由所述用户终端生成;
    信息获取单元,用于根据所述创建因子,确定与所述创建因子相关的至少一个终端设备,获取所述至少一个终端设备的上下文信息和动作信息;
    操作项生成单元,用于根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项;
    应用生成单元,用于根据所述至少一条操作项生成上下文感知应用。
  11. 如权利要求9所述的用户终端,其特征在于,所述上下文信息和动作信息具体为:历史记录的或即时生成的信息。
  12. 如权利要求11所述的用户终端,其特征在于,当所述上下文信息和动作信息存储在所述至少一个终端设备上时,所述信息获取单元,具体用于:
    向所述至少一个终端设备发送请求消息;
    接收所述至少一个终端设备返回的响应消息,获取所述响应消息中携带的所述至少一个终端设备上存储的历史记录的所述上下文信息和所述动作信息。
  13. 如权利要求10-12任一所述的用户终端,其特征在于,所述信息获取单元,还用于:
    在所述创建因子具体为上下文感知应用的类型时,确定所述上下文感知应用的类型所包含的所述至少一个终端设备;或者,
    在所述创建因子具体为用户输入的终端设备的标识时,确定与所述标识相关联的所述至少一个终端设备;或者,
    在所述创建因子具体为用户输入的或用户终端生成的区域位置信息时,确定所述区域位置信息所对应的区域内的所述至少一个终端设备;或者,
    在所述创建因子具体为用户终端生成的时间信息时,基于所述时间信息,确定在预设时间区间内操作过的所述至少一个终端设备;或者,
    在所述创建因子具体为用户终端录制所述上下文感知应用的起始节点和结束节点时,确定所述起始节点与所述结束节点之间的所述至少一个终端设备。
  14. 如权利要求10-13任一所述的用户终端,其特征在于,当所述上下文信息为至少两条上下文信息时,所述用户终端还包括信息筛选单元,在所述信息获取单元获取所述至少一个终端设备的上下文信息和动作信息之后,所述信息筛选单元具体用于:
    根据所述至少两条上下文信息中每条上下文信息的时间参数,筛选出时间参数差值在预设定阈值内的至少两条上下文信息,及所述至少两条上下文信息对应的至少两条动作信息;或者,
    根据所述每条上下文信息中的时间参数,筛选出时间参数属于设定时间区间内的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息;或者,
    根据所述每条上下文信息中的位置信息,筛选出位置在设定位置区域内的位置信息对应的至少一条上下文信息,及所述至少一条上下文信息对应的至少一条动作信息。
  15. 如权利要求10-14任一所述的用户终端,其特征在于,所述操作项生成单元,具体用于:
    根据所述上下文信息生成至少一条条件操作项,及根据所述动作信息生成至少一条动作操作项;
    在根据所述至少一个终端设备的上下文信息和动作信息生成至少一条操作项之后,所述操作项生成单元还用于:
    根据动作信息确定所述至少一个终端设备历史上被操作的先后顺序,按照所述先后顺序排列代表所述至少一个终端设备的标识,将排列后的所述至少一个终端设备的标识与对应的条件操作项和动作操作项关联起来。
  16. 如权利要求15所述的用户终端,其特征在于,所述至少一条条件操作项中包含条件参数值可调的条件操作项;所述至少一条动作操作项中包 含动作参数值可调的动作操作项。
  17. 如权利要求10-16任一所述的用户终端,其特征在于,所述上下文信息,包括以下各项中的至少一项:
    终端设备标识、时间参数、上下文参数数据、设备归属类型和位置信息。
  18. 如权利要求10-17任一所述的用户终端,其特征在于,所述动作信息,包括以下各项中的至少一项:
    动作名称、执行时间、执行参数数据和执行结果。
PCT/CN2015/086270 2014-08-22 2015-08-06 一种创建上下文感知应用的方法及用户终端 WO2016026389A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15834308.7A EP3142005B1 (en) 2014-08-22 2015-08-06 Method for creating context-aware application and user terminal
US15/439,718 US10489221B2 (en) 2014-08-22 2017-02-22 Method for creating context aware application and user terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410418503.0A CN104182232B (zh) 2014-08-22 2014-08-22 一种创建上下文感知应用的方法及用户终端
CN201410418503.0 2014-08-22

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/439,718 Continuation US10489221B2 (en) 2014-08-22 2017-02-22 Method for creating context aware application and user terminal

Publications (1)

Publication Number Publication Date
WO2016026389A1 true WO2016026389A1 (zh) 2016-02-25

Family

ID=51963311

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086270 WO2016026389A1 (zh) 2014-08-22 2015-08-06 一种创建上下文感知应用的方法及用户终端

Country Status (4)

Country Link
US (1) US10489221B2 (zh)
EP (1) EP3142005B1 (zh)
CN (1) CN104182232B (zh)
WO (1) WO2016026389A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892302A (zh) * 2016-05-31 2016-08-24 北京光年无限科技有限公司 面向智能机器人的智能家居控制方法及控制系统

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182232B (zh) 2014-08-22 2017-12-15 华为技术有限公司 一种创建上下文感知应用的方法及用户终端
EP3106985B1 (en) 2015-06-16 2020-05-06 Huawei Technologies Co., Ltd. Method and apparatus for classifying virtual activities of mobile users
CN107948393A (zh) 2016-10-13 2018-04-20 阿里巴巴集团控股有限公司 基于场景的应用操作方法、装置、终端设备和操作系统
CN107948231B (zh) * 2016-10-13 2021-08-31 斑马智行网络(香港)有限公司 基于场景的服务提供方法、系统和操作系统
CN108289111B (zh) * 2017-01-09 2021-10-08 斑马智行网络(香港)有限公司 服务提供方法、装置、终端设备和操作系统
CN108614689B (zh) * 2017-01-09 2021-08-13 斑马智行网络(香港)有限公司 场景服务的生成方法、装置和终端设备
CN106970600A (zh) * 2017-03-31 2017-07-21 广东帝达聚智能科技有限责任公司 情境定位感应情境模式控制装置
CN109343911A (zh) * 2018-09-20 2019-02-15 广东美的制冷设备有限公司 空气调节设备的运行场景设置方法及空气调节设备
US11068242B2 (en) * 2019-12-16 2021-07-20 Naver Corporation Method and system for generating and executing client/server applications
CN113656007A (zh) * 2021-08-23 2021-11-16 斑马网络技术有限公司 一种场景构造方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101002175A (zh) * 2004-07-01 2007-07-18 诺基亚公司 在移动设备应用个性化方面使用上下文本体的方法、设备和计算机程序产品
CN101315632A (zh) * 2008-07-17 2008-12-03 上海交通大学 基于上下文感知的智能门户系统
CN102436371A (zh) * 2011-08-30 2012-05-02 北京科技大学 面向普适环境的上下文感知中间件构造方法及装置
CN104182232A (zh) * 2014-08-22 2014-12-03 华为技术有限公司 一种创建上下文感知应用的方法及用户终端

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9565275B2 (en) * 2012-02-09 2017-02-07 Rockwell Automation Technologies, Inc. Transformation of industrial data into useful cloud information
JP4483259B2 (ja) * 2003-10-16 2010-06-16 富士ゼロックス株式会社 応用プログラム実行システム、そのセンサ、その第1のサーバ、その第2のサーバ、そのオブジェクト及び応用プログラム実行方法
US7596583B2 (en) * 2007-03-29 2009-09-29 International Business Machines Corporation Dynamic learning in redesigning a composition of web services
KR100861329B1 (ko) * 2007-04-06 2008-10-01 한국과학기술원 상황 모니터링을 지원하는 상황 모니터링 장치 및 상황 모니터링 방법
CN101625738A (zh) * 2008-07-11 2010-01-13 国际商业机器公司 生成上下文感知的通用工作流应用的方法和装置
CN101883107B (zh) 2010-06-18 2014-06-04 华为技术有限公司 实现上下文感知业务应用的方法和相关装置
CN103699366A (zh) * 2012-09-27 2014-04-02 中国人民解放军国防科学技术大学 一种大规模上下文管理系统、方法及实现方法
US10637682B2 (en) * 2014-02-11 2020-04-28 Oracle International Corporation Smart home learning system including user behavior
US10084783B2 (en) * 2014-06-23 2018-09-25 Google Llc Selectively restricting communications from third party applications/devices to electronic devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101002175A (zh) * 2004-07-01 2007-07-18 诺基亚公司 在移动设备应用个性化方面使用上下文本体的方法、设备和计算机程序产品
CN101315632A (zh) * 2008-07-17 2008-12-03 上海交通大学 基于上下文感知的智能门户系统
CN102436371A (zh) * 2011-08-30 2012-05-02 北京科技大学 面向普适环境的上下文感知中间件构造方法及装置
CN104182232A (zh) * 2014-08-22 2014-12-03 华为技术有限公司 一种创建上下文感知应用的方法及用户终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3142005A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892302A (zh) * 2016-05-31 2016-08-24 北京光年无限科技有限公司 面向智能机器人的智能家居控制方法及控制系统

Also Published As

Publication number Publication date
EP3142005A1 (en) 2017-03-15
EP3142005B1 (en) 2022-04-20
CN104182232B (zh) 2017-12-15
US20170161123A1 (en) 2017-06-08
US10489221B2 (en) 2019-11-26
CN104182232A (zh) 2014-12-03
EP3142005A4 (en) 2017-06-07

Similar Documents

Publication Publication Date Title
WO2016026389A1 (zh) 一种创建上下文感知应用的方法及用户终端
AU2021203601B2 (en) Method and device for processing motion events
US11062580B2 (en) Methods and systems for updating an event timeline with event indicators
US9940523B2 (en) Video monitoring user interface for displaying motion events feed
US20220309076A1 (en) Computer Network Controlled Data Orchestration System And Method For Data Aggregation, Normalization, For Presentation, Analysis And Action/Decision Making
US20160105617A1 (en) Method and System for Performing Client-Side Zooming of a Remote Video Feed
US20200186869A1 (en) Method and apparatus for referencing, filtering, and combining content
CN109240098B (zh) 设备配置方法、装置、终端设备及存储介质
JP7359548B2 (ja) モバイル端末、モバイル端末のアプリケーション管理方法、ターゲット広告提供システム、およびプログラム
KR101698184B1 (ko) 홈 네트워크 가상화 장치 및 그 방법
CN115622829A (zh) 一种智能家居物联网交互平台搭建方法及系统
JP4430908B2 (ja) マルチウィンドウ表示制御装置およびこれを使用するコンピュータシステム
EP3607457A1 (en) Method and apparatus for referencing, filtering, and combining content
KR20190135146A (ko) 노드 분석 방법 및 장치
CN117171136A (zh) 一种数据汇接方法及相关装置
CN115827564A (zh) 文件存储方法、系统、存储介质及计算机设备

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: 15834308

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015834308

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015834308

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE