WO2016206645A1 - Method and apparatus for loading control data into machine device - Google Patents

Method and apparatus for loading control data into machine device Download PDF

Info

Publication number
WO2016206645A1
WO2016206645A1 PCT/CN2016/087260 CN2016087260W WO2016206645A1 WO 2016206645 A1 WO2016206645 A1 WO 2016206645A1 CN 2016087260 W CN2016087260 W CN 2016087260W WO 2016206645 A1 WO2016206645 A1 WO 2016206645A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
control data
machine device
search
perceptual
Prior art date
Application number
PCT/CN2016/087260
Other languages
French (fr)
Chinese (zh)
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
Priority claimed from CN201510363348.1A external-priority patent/CN106325065A/en
Priority claimed from CN201510363346.2A external-priority patent/CN106325113B/en
Priority claimed from CN201510364661.7A external-priority patent/CN106325228B/en
Application filed by 北京贝虎机器人技术有限公司 filed Critical 北京贝虎机器人技术有限公司
Publication of WO2016206645A1 publication Critical patent/WO2016206645A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices

Definitions

  • the present invention relates to the field of intelligent control technologies, and in particular, to a method and apparatus for loading control data for a machine device.
  • Machine devices may include, but are not limited to, smart devices or devices such as robots.
  • a method for loading control data for a machine device comprising: inputting perceptual data corresponding to a machine device, wherein the perceptual data is generated according to at least a portion of a predefined plurality of data elements based on information sensed by the machine device; Providing the perceptual data to a plurality of search modules, wherein each of the plurality of search modules is configured to search for control data matching the perceptual data from different sets of control data, wherein the control data is used to cause the machine device to generate an action And wherein the action generated by the machine device includes an action type and/or a motion type of action; providing a candidate for at least one control data from the plurality of search modules; and controlling the machine device to generate an action using the candidate of the control data.
  • the perceptual data described above may be provided to a plurality of search modules separately until one of the plurality of search modules provides control data.
  • a plurality of search modules may be ordered in order of priority, and the perceptual data is separately provided to the plurality of search modules in accordance with the priority.
  • the perceptual data can be provided in parallel to a plurality of search modules, in which case candidates for control data from the plurality of search modules can also be selected based on the global algorithm.
  • one of the different sets of control data is stored locally on the machine device and/or the local area to which the machine device is connected.
  • another of the different sets of control data may be stored in a remote computer system.
  • each of the different sets of control data data corresponds to a different mode of the machine device.
  • the different sets of control data include any combination of the control data set of the machine device, or the control data set of the machine device corresponding machine version, or a control data set common to a plurality of machine devices.
  • different sets of control data may be ordered by priority.
  • the perceptual data is separately provided to the plurality of search modules until one of the plurality of search modules provides the control data; and the plurality of search modules are ordered according to the priority of the different control data sets
  • the sensing data is separately provided to the plurality of search modules in accordance with the priority.
  • the perceptual data may be provided to a plurality of search modules in parallel, and candidates for control data from the plurality of search modules may also be selected based on a global algorithm.
  • the parameters of the global algorithm may include different priorities of the control data set.
  • the plurality of search modules can search for control data based on conditional data associated with the control data, wherein the conditional data is generated based on a plurality of data elements corresponding to a predefined plurality of data elements that generate the perceptual data.
  • a plurality of data elements in the condition data may be at least partially ordered in order of priority, and the plurality of search modules sort the candidates of the control data that the perceptual data matches in order of priority.
  • the plurality of search modules can load candidates for the control data that are aware of the data match based on the sensing data matching at least a portion of the data elements in the condition data.
  • control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly performed by the machine device.
  • each of the basic behaviors is defined by a behavior name and behavior control parameters.
  • multiple search modules correspond to different search algorithms.
  • a method for loading control data for a machine device comprising: inputting perceptual data corresponding to the machine device, wherein the perceptual data is based on at least a portion of the predefined plurality of data elements based on the information sensed by the machine device generate;
  • the device corresponds to any combination of a control data set of the machine device version or a control data set common to the plurality of machine devices, wherein the action generated by the machine device includes an action type and/or a motion type action; determining at least one based on the plurality of search algorithms The candidate of the item control data; and the candidate for controlling the data is used to control the machine device to generate an action.
  • the perceptual data is provided separately to a plurality of search algorithms until one of the plurality of search algorithms provides control data.
  • multiple search algorithms are ordered by priority, and perceptual data is separately provided to multiple search algorithms in accordance with priority.
  • the order of priority from high to low is: a control data set of the machine device, a control data set corresponding to the machine device version of the machine device, and a control data set common to a plurality of machine devices.
  • the perceptual data may be provided to multiple search algorithms in parallel, and candidates for control data from multiple search algorithms may also be selected based on the global algorithm.
  • control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly executed by the machine device.
  • each of the basic behaviors is defined by a behavior name and behavior control parameters.
  • control data is associated with conditional data
  • the plurality of search algorithms can search for control data based on conditional data associated with the control data, wherein the conditional data is based on a plurality of predefined plurality of data elements corresponding to the generated perceptual data Data elements are pre-generated.
  • an apparatus for loading control data for a machine device comprising: an input module, configured to input sensory data corresponding to the machine device, wherein the sensory data is based on a plurality of predefined data elements based on information sensed by the device device At least partially generated; a first providing module, configured to provide the sensing data to the plurality of search modules, wherein each of the plurality of search modules is configured to search for control data matching the sensing data from different control data sets, wherein The control data is used to cause the machine device to generate an action, wherein the action generated by the machine device includes an action type and/or a motion type of action; the second providing module is configured to provide a candidate for the at least one control data from the plurality of search modules; And a control module for controlling the machine device to generate an action using the candidate of the control data.
  • the perceptual data can be provided to the plurality of search modules separately until one of the plurality of search modules provides control data.
  • multiple search modules may be prioritized and perceptual data is provided to multiple search modules separately according to the priority.
  • the perceptual data is provided in parallel to a plurality of search modules, and the second providing module is further configured to select candidates for control data from the plurality of search modules based on the global algorithm.
  • one of the different sets of control data is stored locally on the machine device and/or the local area to which the machine device is connected.
  • the other of the different sets of control data is stored in a remote computer system.
  • each of the different sets of control data data corresponds to a different mode of the machine device.
  • the different sets of control data include any combination of the control data set of the machine device, or the control data set of the machine device corresponding machine version, or the control data set common to the plurality of machine devices, but is not limited thereto.
  • different sets of control data are ordered by priority.
  • the perceptual data is separately provided to a plurality of search modules until one of the plurality of search modules provides the control data; and the plurality of search modules are ordered according to a prioritization of different sets of control data, the perceptual data They are separately provided to a plurality of search modules in accordance with the priority.
  • the perceptual data is provided to the plurality of search modules in parallel, wherein the first providing module is further configured to select candidates of the control data from the plurality of search modules based on the global algorithm, wherein the parameters of the global algorithm include at least different Controls the priority of the data collection.
  • control data is associated with conditional data
  • the plurality of search modules searching for control data based on conditional data associated with the control data, wherein the conditional data is based on data elements corresponding to a predefined plurality of data elements that generate the perceptual data produce.
  • the plurality of data elements in the condition data are at least partially ordered in order of priority, and the plurality of search modules sort the candidates of the control data that the perceptual data matches in order of priority.
  • the plurality of search modules can load candidates for the control data that are aware of the data match based on the sensing data matching at least a portion of the data elements in the condition data.
  • control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly executed by the machine device.
  • each of the basic behaviors is defined by a behavior name and a behavior control parameter.
  • multiple search modules correspond to different search algorithms.
  • an apparatus for loading control data for a machine device comprising: an input module, configured to input sensing data corresponding to the machine device, wherein the sensing data is based on the information sensed by the machine device according to a predefined plurality of data elements.
  • the perceptual data is provided separately to the plurality of search algorithms until one of the plurality of search algorithms provides a candidate for the control data.
  • the plurality of search algorithms are ordered by priority, and the perceptual data is separately provided to the plurality of search algorithms in accordance with the priority.
  • the order of priority from high to low is: a control data set of the machine device, a control data set corresponding to the machine device version of the machine device, and a control data set common to the plurality of machine devices.
  • the perceptual data is provided in parallel to a plurality of search algorithms, wherein candidates for control data from the plurality of search algorithms are also selected based on the global algorithm.
  • control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly executed by the machine device.
  • each of the basic behaviors is defined by a behavior name and behavior control parameters.
  • control data is associated with conditional data
  • the plurality of search algorithms searching for control data based on the conditional data associated with the control data, the conditional data being based on a plurality of the plurality of predefined data elements corresponding to the generated perceptual data Data elements are generated.
  • the machine device may perceive information including information of the physical environment in which the machine device is located (such as an item, or an entity such as a human user, or a machine device), and/or information of the machine device itself.
  • the machine device may include one or more sensor devices, which may include sensor modules of software combination and/or hardware components, may include sensor devices physically coupled to the device devices, and/or sensor devices communicatively coupled to the device devices, But it is not limited to this.
  • the information sensed by the machine device may include at least one or any combination of visual, or tactile, or audible, or gesture, etc., but is not limited thereto, and any information that can be perceived may be.
  • the machine device may include a robot having human-computer interaction capabilities, a mobile robot, etc., and in some examples, the machine device may include moving parts (such as limbs, wheels, tracked, etc.) to generate mechanical motion. , but not limited to this.
  • the machine device is controlled to generate actions according to different control data sets, and the effect of controlling the machine device is improved.
  • FIG. 1 is a schematic diagram of an example of a machine device communication system 100
  • FIG. 2 is a schematic structural view of a machine device 110
  • FIG. 3 is a schematic diagram of a system 300 for loading control data for a machine device 110;
  • FIG. 4 is a schematic diagram of loading control data for the machine device 110 at the local and server;
  • Figure 5 is a schematic diagram of loading control data from different control data ranges
  • FIG. 6 is a schematic structural view of a machine device 110
  • FIG. 7 is a flow chart of a method of loading control data for machine device 110.
  • FIG. 1 is a schematic diagram of an example of a machine device communication system 100.
  • communication system 100 includes machine device 110, local user terminal 120, remote user terminal 130, one or more servers 140, static sensor 180, and static sensor 181.
  • Machine device 110 can communicate with local user terminal 120, and/or static sensor 180 and/or static sensor 181 via private network 150.
  • Machine device 110 can communicate with remote user terminal 130, and/or server 140 via private network 150 and public network 160.
  • Machine device 110 can also communicate with static sensor 180 and/or static sensor 181, etc. via hub 170.
  • the communication link herein is for illustrative purposes only and is not a limitation of the manner of communication. In fact, any suitable communication link is possible. This embodiment does not rely on a particular communication link.
  • machine device 110 may perceive information, which may include information of the physical environment in which machine device 110 is located and/or information of machine device 110 itself, including but not limited to items, or human users.
  • the information of the human user may include at least one or any combination of visual, or audible, or tactile, or gestures, etc., but is not limited thereto.
  • machine device 110 may include one or more sensor devices 111.
  • the sensor device 111 may include a camera (such as a camera, a depth camera, etc.), or a microphone, or an infrared sensor, or a motion sensor, a global positioning system (GPS) module, an accelerometer, a gyroscope, a light sensor, a nearby device signal strength detection module, and the like.
  • GPS global positioning system
  • some of the sensor devices 111 include software-based sensors that can provide high level or fine granularity of information.
  • the sensor device 111 processes the appropriate input data to provide meaningful information, for example, the sensor device 111 can include, for example, a sensor module 112 that can include the words and/or body gesture/movement identification module, Face recognition module and more.
  • sensor device 111 of machine device 110 may also include a proxy for static sensor 180 and/or static sensor 181 as shown in FIG. 1, which may be in communication with static sensor 180 and/or static sensor 181 to The static sensor 180 and/or the static sensor 181 acquire data or send instructions or the like to the static sensor 180 and/or the static sensor 181.
  • local user terminal 120 and remote user terminal 130 can control machine device 110.
  • the local user terminal 120 and the remote user terminal 130 can transmit control data in a message, and the machine device 110 can receive the message and read the control data to generate an action based on the control data.
  • the control data may be edited by the local user terminal 120 and the remote user terminal 130, but is not limited thereto.
  • the local user terminal 120 and the remote user terminal 130 may include an application, such as a mobile application, or a web program, or an application, to control the machine device 110.
  • server 140 can control machine device 110 to generate an action.
  • the server 140 can transmit control data in the communication signal for receipt at the machine device 110, and the machine device 110 can generate an action based on the control data transmitted by the server 140.
  • the machine device 110 may include a robot, or a mobile robot or the like, but is not limited thereto.
  • machine device 110 may transmit information perceived by machine device 110 in a communication signal over private network 150 and public network 160 for receipt at server 140.
  • Server 140 may generate control data for machine device 110 based on information sensed by machine device 110 and transmit control data in the communication signal for receipt at machine device 110.
  • the machine device 110 receives the control data and performs an action based on the control data.
  • the actions to be performed by the machine device 110 include actions of a type of behavior and/or type of motion.
  • machine device 110 may take control data locally on machine device 110 and/or a local network to which machine device 110 is connected, and generate an action based on the control data.
  • the machine device 110 may, based on the sensed information, obtain control data that matches the perceived information locally on the local network to which the machine device 110 and/or the machine device 110 is connected, and generates an action for the perceived information.
  • control data may correspond to a basic behavior or a plurality of basic behaviors with execution logic.
  • Execution of logical constraints may include logic that is constrained by time logic and/or event logic.
  • Machine device 110 may include/have a plurality of components for performing basic behaviors, each of which performs a basic behavior for performing a corresponding basic behavior.
  • the basic behavior may be defined by a behavior name and a behavior control parameter, and the behavior control parameter may be "Null" (empty).
  • Components that perform basic behavior can perform basic behavior based on behavioral control parameters.
  • Non-limiting basic behaviors may include:
  • the behavior name is: audio_speak;
  • Behavior control parameters can include: text (content to say), volume (volume of speech), etc. (eg, vocal gender, or vocal age, etc.)
  • JSON JSON is expressed as follows:
  • text may include a conversion character that corresponds to a parameter.
  • the "owner” conversion character can be defined as "@master”.
  • JSON representation containing the conversion characters is as follows:
  • volume is set to a percentage, and the machine device 110 can calculate the specific parameters of the machine device 110 based on the percentage value of "volume”.
  • volume may also be represented as a specific parameter of machine device 110.
  • the behavior name is: audio_sound_music
  • Behavior control parameters may include: path (path to play music, or file name, etc.), volume (volume of playing music), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: audio_sound_info
  • Behavior control parameters include: name (the name of the tone to be played), volume (play volume), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: motion_head;
  • Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
  • JSON JSON is expressed as follows:
  • “velocity” is represented as a gear position, and the machine device 110 can calculate a specific "velocity” based on the gear position. In fact, “velocity” can also be expressed as a specific parameter of the head movement of the machine device 110.
  • angle is represented as the angle of the motor, and actually, “angle” can be expressed as relative data such as percentage, for example, “angle”: “50%”, and the machine device 110 can determine according to the angle range
  • the specific parameters for example, the maximum angle is 180 degrees, then the specific angle is calculated to be 90 degrees, but is not limited thereto.
  • the behavior name is: motion_neck;
  • Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: motion_shoulder;
  • Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: motion_elbow;
  • Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: motion_wrist
  • Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: motion_waist
  • Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: motion_eye;
  • Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: display_emotion
  • Behavior control parameters can include: content (displayed emoticons), velocity (display speed), etc.
  • JSON JSON is expressed as follows:
  • the behavior name is: program_photo;
  • the behavior control parameters may include: flash (whether the flash is turned on) or the like (such as known camera control parameters, but are not limited thereto)
  • JSON JSON is expressed as follows:
  • control_tv The behavior name is: control_tv;
  • Behavior control parameters can include: state (eg open, close), etc.
  • JSON JSON is expressed as follows:
  • control_led The behavior name is: control_led;
  • Behavior control parameters can include: state (eg open, close), color, etc.
  • JSON JSON is expressed as follows:
  • the basic behavior is merely illustrative and is not an exhaustive description of the basic behavior and the classification of the basic behavior.
  • the basic behavior can use any behavior name, and the behavior control parameter can be any data.
  • basic behaviors related to mobility capabilities may also be defined, but are not limited thereto.
  • the execution logic constraint can include at least a time logic constraint and/or an event logic constraint to cause at least the machine device 110 to generate one or a set of actions in accordance with time logic, and/or to generate an event corresponding to the event in response to the event. Or a set of actions, but not limited to this.
  • the time logic constraint includes a time-dependent constraint.
  • One or more basic actions may be included to start execution at the same time; or one or more basic actions may be performed after performing a predetermined time to perform one or more basic actions of the next time node; or after one or more basic behaviors are executed, execution is started One or more basic behaviors of the node at the next time; or a plurality of basic behaviors according to the "timeline" are distributed at corresponding time points on the timeline, and the corresponding basic behavior is performed at the time of arrival.
  • the temporal logic constraint may be one or a combination of the above, as well as other time constraints, but is not limited thereto.
  • control data may be a script containing execution logic of basic behavior and basic behavior
  • corresponding JSON control data may be expressed as follows ("//" is a commentary description of the corresponding item) :
  • control data corresponds to: first open the eyes, then display the "happy” expression, and finally say "How are you?"
  • the event logic constraint includes performing an action in response to the event.
  • the actions of the event logic constraints may include interactive action flows.
  • the control data of the interactive action flow may include a behavior frame and a logical control frame, the behavior frame includes a start behavior frame, and each logical control frame is connected to one or more previous behavior frames and one or more subsequent behavior frames, and the logical control frame A one or more control conditions and subsequent behavior frames corresponding to the one or more control conditions are included, wherein the behavioral frame corresponds to a basic behavior or a plurality of basic behaviors that are logically constrained by time.
  • the JSON control data of the interactive action flow can be as follows (the content comment description after "//").
  • Page_id 1000; / / interactive action flow unique identifier;
  • a logical control frame in /item0 which is connected to the trigger of item0 as its previous behavior frame, and is linked to the behavior frame in "item1" and “item2" based on the control condition as its subsequent behavior frame;
  • FIG. 2 is a schematic structural view of the machine unit 110.
  • the machine device 110 includes a sensor device 112, a communication unit 113, and a computing unit 114.
  • Computing unit 114 can include one or more processors and storage devices and one or more meters stored in the storage device Computer program or instruction set.
  • the storage device of computing unit 114 includes local storage devices and/or storage devices on the network, and storage devices on the network provide access to content stored by one or more processors.
  • the sensor device 112 of the machine device 110 can sense information external to the machine device 110, such as an item in the environment in which the machine device 110 is located, or an entity such as a human user, or a robot, or a computing device, or information of a physical environment such as temperature, or Humidity, or gas concentration, etc.
  • the sensor device of machine device 110 may also sense information of machine device 110 itself, such as the amount of power of machine device 110, or the temperature of machine device 110, or the length of time of machine device 110, the posture state of machine device 110, and the like.
  • sensor device 112 can include any sensor that can provide information, such as a microphone, or a camera, or a camera, or an infrared sensor, or a light sensor, or a GPS position sensor, or a gyroscope, motion detection sensor, or acceleration.
  • a microphone or a camera, or a camera, or an infrared sensor, or a light sensor, or a GPS position sensor, or a gyroscope, motion detection sensor, or acceleration.
  • sensor device 112 may also include other sensors that provide information.
  • sensor device 112 can include a software-based sensor that can provide high level or fine granularity of information. In addition to the raw sensor inputs, these sensor devices 112 process the appropriate input data to provide meaningful information, for example, the sensor device 112 can include the words and/or body gesture/moving identification module, facial recognition module, event detection module. and many more.
  • sensor device 112 can include a voice recognition device that can recognize the audio to a corresponding text using known speech recognition techniques.
  • the speech recognition device can be a local speech recognition module of the machine device 110, and the process of speech recognition is performed locally at the machine device 110.
  • the voice recognition device may be a proxy with the remote voice recognition server for transmitting at least part of the information of the audio data to the remote voice recognition server, so that the remote voice recognition server recognizes the audio data to obtain text corresponding to the audio, and receives The text returned by the remote speech recognition server.
  • the speech recognition apparatus is not limited to the above form, and virtually any speech recognition method can be employed.
  • sensor device 112 can include an image recognition device that can employ at least some of the information captured by the camera of machine device 110 using known image recognition algorithms.
  • the image recognition device may recognize the device device 110 locally, or may cooperate with the remote image recognition server to complete image recognition, but is not limited thereto. This example does not limit the image recognition device.
  • sensor device 112 may also include an agent of sensors distributed in a physical environment, such as a static sensor 180 and/or a proxy for static sensor 181 as shown in FIG. 1, which may be associated with static sensor 180 and/or The static sensor 181 communicates to acquire data from the static sensor 180 and/or the static sensor 181, or to send instructions or the like to the static sensor 180 and/or the static sensor 181.
  • agent of sensors distributed in a physical environment such as a static sensor 180 and/or a proxy for static sensor 181 as shown in FIG. 1, which may be associated with static sensor 180 and/or
  • the static sensor 181 communicates to acquire data from the static sensor 180 and/or the static sensor 181, or to send instructions or the like to the static sensor 180 and/or the static sensor 181.
  • computing unit 114 can include data fusion component 119 that can incorporate multi-sensor input data input by sensor device 112 or the like to obtain sensory data.
  • data fusion component 119 can generate perceptual data containing one or more data elements based on multi-sensor input data in accordance with a plurality of predefined data elements. The information perceived by the machine device 110 can thus be at least partially formatted into data for a plurality of data elements.
  • data fusion component 119 and, when at least a portion of sensor device 112 senses a change in information, generates perceptual data containing one or more data elements based on the multi-sensor input data, but is not limited thereto.
  • a plurality of data elements may be pre-set, it being understood that the setting of the exemplary data elements described below is not a division of data elements, or a number of data elements, or a definition of a data element, in fact any The division of data elements can all be considered. Examples of data elements are shown in Table 1.
  • perceptual data is not the number of elements of perceptual data, or the definition of perceptual data elements, or the format or perception of perceptual data.
  • perceptual data is not the number of elements of perceptual data, or the definition of perceptual data elements, or the format or perception of perceptual data.
  • the JSON-aware data of an example case is expressed as follows, but is not limited thereto, and other methods are also possible.
  • "vision_human_position” records that the human user is behind ("back") relative to the machine device 110, and “back” can also be represented by other characters, which can distinguish different positions, and should The position of understanding can also be expressed by "angle value”, such as “vision_human_position”: “45°” and the like.
  • "sensing_touch” records the touch of the human user on the machine device 110. The position of the touch is a hand ("hand"), and the "hand” can also be represented by other characters, which can distinguish different positions, it should be understood The touch position can be multiple, and the value of "sensing_touch” can be an array that records multiple locations.
  • “audio_speak_txt” records what the human user said “very happy to see you”, and the content can also be audio data.
  • “audio_speak_language” records the language “chinese” spoken by human users.
  • “vision_human_posture” records the human user's gesture “posture1", and “posture1” can also be represented by other characters, which can distinguish different postures.
  • “system_date” records the date “2016/3/16" of the generation of the perceptual data
  • “system_time” records the time “13-00-00” of the perceptual data generation.
  • “system_power” records the “80%” of the power of the machine unit 110, it being understood that the amount of power can also be identified in other ways.
  • condition data may be expressed as follows, it being understood that the condition data of the following examples is not a data element included in the condition data, or a format of the condition data, or a condition setting of the condition data, or other aspects of the condition data.
  • the limitation is merely exemplified.
  • various types of conditions can be set based on a plurality of predefined data elements to obtain condition data of each type, and the condition data is expressed by any expression.
  • a JSON condition data is shown below, but is not limited thereto, and other methods are also possible.
  • the condition data includes the following conditions: 1) "vision_human_position”: “back””, indicating that the human user is behind the machine device 110; 2) “sensing_touch”: “hand””, indicating The human user touches the hand of the machine device 110; 3) “audio_speak_txt”: “I am very happy to see you”, indicating that the human user said "very happy to see you” to the machine device 110; and 4) "audio_speak_language “: “chinese”” means that the language spoken by human users is Chinese.
  • the condition data indicates a scene when the human user is behind the machine device 110 and touches the hand of the machine device 110 and says “I am very happy to see you” in Chinese.
  • the condition data is associated with the control data, and the corresponding control data can be obtained at least by the condition data.
  • the control data corresponding to the condition data may be a reaction to the scenario.
  • the control data corresponding to the condition data may be:
  • control data there are several basic behaviors of “motion_neck”, “motion_eye”, “display_emotion”, and “audio_speak”, and the execution order of the basic behavior is defined in the control data.
  • the head is turned first, then Open your eyes, then show the expression “happy”, then say “hi, nice to meet you.”
  • the computing unit 114 can include a scheduling component 117 that can schedule a plurality of components 118 for performing basic behavior based on the control data to cause the machine device 110 to generate an action. Each component 118 for performing basic behavior is used to perform a corresponding basic behavior.
  • the scheduling component 117 can schedule a plurality of components 118 for performing basic behavior based on execution logic constraints of the basic behavior corresponding to the control data, and the scheduling component 117 can determine the basic behavior for performing the behavior name according to the behavior name in the control data.
  • the component 118 is executed to perform the basic behavior, and the behavior control parameter is passed to the component 118 for performing the basic behavior such that the component 118 for performing the basic behavior performs the basic behavior in accordance with the behavior control parameter.
  • the execution logic of the basic behavior may include time logic constraints and/or event logic constraints.
  • the scheduling component 117 is further configured to convert control parameters in the base behavior to behavior control parameters of the component 118 for performing the base behavior based on the parameter conversion strategy. For example, the scheduling component 117 can convert the volume "80%" to a particular volume value "32" of the component 118 for performing the basic behavior, or convert the volume "comfort” to a specific volume value of the component 118 for performing the basic behavior. "32", but not limited to this.
  • the behavior control parameters of the basic behavior in the control data can be converted into behavior control parameters of the component 118 for performing the basic behavior by a preset mapping relationship or algorithm or the like.
  • the scheduling component 117 can determine that the control data is a plurality of basic behaviors of temporal logic constraints, and the scheduling component 117 determines the basic behavior as "neck motion” according to "motion_neck” ", and then dispatch the component 118 for "neck movement", which will be “motor”, Behavioral control parameters such as “velocity”, “angle” are passed to component 118 for "neck motion", and component 118 of "neck motion” performs actions based on behavioral control parameters such as "motor”, “velocity”, “angle”, and the like. .
  • the execution completion status can be returned to the dispatch component 117.
  • the scheduling component 117 determines that the component 118 for "eye movement” is scheduled to perform an action based on "motion_eye", and after the execution of the component 118 for "eye movement” is completed, the scheduling component 117 determines the schedule for "expression display” based on "display_emotion” The component 118 displays an expression, and the scheduling component 117 determines to schedule the component 118 for "talking" to speak based on "audio_speak.”
  • the control data may correspond to an interactive action flow (including a plurality of basic behaviors constrained by event logic), and the scheduling component 117 may schedule a plurality of components 118 for performing basic behavior to cause the machine device 110 to generate an action based on the interactive action flow.
  • “page_id” is a unique identifier of the interactive action flow
  • “item” is an interactive action item
  • “item” has a unique identifier in the interactive action flow.
  • “item” may include a behavior frame “trigger” and a logical control frame “flow_map”
  • “trigger” may include one or more basic behaviors that are logically constrained by time
  • “flow_map” may include one or more control conditions "ifs” and The subsequent behavior frame corresponding (marked with “goto” in this example) is referred to in this example by the unique identifier of the interactive action item "item”.
  • the end tag "end” may also be included in “item”.
  • the scheduling component 117 can determine the starting behavior frame based on the unique identification of the item and execute the starting behavior frame, in this example, the starting behavior frame is in "item0", executing in “item0” "trigger", the “trigger” includes four behaviors that are logically constrained by time, and the time logic is represented by numbers “0", "1", "2”, and the like.
  • the number “0” corresponds to the basic behavior, the content to be said is set to "How are you?", the volume of the speech is set to "50%”, and the component that causes the machine device 100 to speak can be scheduled according to the set parameters. How are you”.
  • the number "1” is executed, and the component 118 for "speaking” returns the execution completion result after execution and starts execution of the number "1".
  • the number “1” corresponds to the basic behavior of playing music, the music to be played is "http//bpeer.com/happy.mp3", the volume of the play is "50%”, and the scheduling component 117 can call the machine device 110 to play music. The component plays “http//bpeer.com/happy.mp3". After the number "1" is executed, the number "2" is executed.
  • the number “2” includes two basic behaviors performed simultaneously, namely head movement and neck movement, wherein the head movement is performed by the head motor “1", the movement speed is set to “1", and the movement angle is "45”. “degree; neck movement is performed by the neck motor “1”, the movement speed is set to “2”, and the movement angle is "60" degrees.
  • component 118 performing head motion and performing neck motion may determine a motor to be controlled based on the motor identification of the performance behavior, and machine device 110 may maintain a mapping table that will perform the behavior in the interactive motion stream.
  • the motor identification is mapped to a motor corresponding to machine device 110.
  • a mapping table can be maintained to map the motion speed to the motion speed performed by the motor.
  • the motion speed in the interactive motion stream can be a speed gear. For example, “1” means slow speed, “2” means normal speed, “3”. Expressed quickly.
  • the angle of motion can also be a relative value that machine device 100 can convert to a final value of execution.
  • the motor is not limited to the actuator, and other controlled objects can be controlled in a similar manner.
  • the behavior frame "trigger" of “item 1” includes two basic behaviors, firstly the “0" eye movement, which is performed by the eye motor “1", and the movement speed is “2". "50” degrees; then speak for "1", the content of the speech is "Don't be sad, how about telling a joke to you?", and the volume of the speech is "50%".
  • the text of the spoken content is given in the example, in some examples, the audio data of the spoken content may also be directly given.
  • Component 118 for performing basic behaviors can include software components and/or hardware components.
  • the component 118 for performing the basic behavior can be scheduled by the scheduling component 117 and can provide one or more behavior control parameters, such as a call interface via a software interface.
  • the component 118 for "speaking” may include a speech synthesis portion and an audio playback portion, the speech synthesis portion may synthesize audio corresponding to the text, and the speech synthesis portion may include local speech synthesis, or may be For the interface with the speech synthesis server, the text is transmitted to the speech synthesis server and the audio returned by the speech synthesis server is received.
  • the audio playback portion includes an audio circuit and a speaker, and the like, and an audio processing program for converting the data signal into an electrical signal, transmitting the electrical signal as a speaker, the speaker generating the sound based on the electrical signal, and the audio processing program for the audio data. Perform decoding and so on.
  • the component 118 for "talking" may also not include a speech synthesis portion, such as audio data may be included in the control data.
  • the component 118 for "expression display” may include an expression acquisition portion and a display portion for acquiring a corresponding expression image (for example, an action composed of a multi-frame image) according to the expression control parameter, the display portion A program for causing the display to display content allows the display to display an emoticon image.
  • component 118 for "eye movement” can include an eye executor and a command generation portion for generating a control command to the actuator based on the behavior control parameter
  • the actuator can include a motor , or a relay or the like that causes the actuator to produce motion.
  • component 118 for performing the basic behavior is not limited to the above-described form, and the above examples are not limitations on the component 118 for performing basic behavior, and may actually include any type of component 118 for performing basic behavior. I will not repeat them here.
  • FIG. 3 is a schematic diagram of a system 300 for loading control data for a machine device 110.
  • a system 300 for loading control data for a machine device 110 can include a search management component 310, a plurality of search modules 320 (shown as 320 1 - 320 n in FIG. 3).
  • the search management component 310 is configured to provide the sensory data corresponding to the machine device 110 to the plurality of search modules 320. Each of the plurality of search modules 320 is configured to search for control data that matches the perceptual data from a different set of control data. The search management component 310 provides candidates for at least one control data from the plurality of search modules 320. The machine device 110 controls the machine device 110 to generate an action using the candidate of the control data.
  • one of the plurality of search modules 320 is configured to search for control data matching the perceptual data from a set of control data of the local network to which the machine device 110 is local and/or connected to the machine device 110, multiple searches
  • the other of the modules 320 is configured to search for control data matching the perceptual data from the control data set of the remote computer system, but is not limited thereto.
  • one of the plurality of search modules 320 can be configured to search for control data that matches the perceptual data from the control data set of the machine device 110, and the other of the plurality of search modules 320 can be configured to Searching for control matching the sensory data from the control data set corresponding to the machine device version of the machine device 110 Data, yet another one of the plurality of search modules 320 is configured to search for control data that matches the perceptual data from a common set of control data, but is not limited thereto.
  • control data set of machine device 110 may include user-configured control data for machine device 110, and the control data set for the machine device version of machine device 110 may include control data provided by the manufacturer of the machine device, multiple medium machine devices
  • the general control data set may include control data suitable for a variety of machine devices, but is not limited thereto.
  • the plurality of search modules 320 are configured to search for control data that matches the perceptual data from a set of control data data corresponding to the different modes.
  • the different modes may correspond to different sets of control data, which may be divided in various ways, such as different scenes, different emotions, different personalities, different professional attributes, and the like, but are not limited thereto.
  • the search management component 310 is configured to provide the perceptual data corresponding to the machine device 110 to the plurality of search modules 320, respectively, until one of the plurality of search modules 320 provides control data candidates.
  • the search management component 310 can provide control data to the machine device 110, which can use the control control data of the search management component 310 to control the machine device 110 to generate actions.
  • the search management component 310 is configured to provide the perceptual data to the plurality of search modules 320 in parallel, the search management component 310 selecting controls from the candidates of the control data provided by the plurality of search modules 320 based on a global algorithm.
  • the data is used to obtain control data that controls the machine device 110 to generate an action.
  • the global algorithm may select control data provided to the machine device 110 from among a plurality of candidates for control data data.
  • search management component 310 is configured to maintain the priority of different control data sets or multiple search modules 320.
  • the search management component 310 can be configured to provide the perceptual data to the plurality of search modules 320, respectively, according to the priority, until one of the plurality of search modules 320 provides a candidate for control data that matches the perceptual data item.
  • the global algorithm of the search management component 310 can select control data provided to the machine device 110 from among a plurality of candidates for the control data data, depending at least on the priority of the different control data sets or the plurality of search modules 320.
  • the multiple search modules 320 may use different algorithms or the same algorithm, which is not limited in this embodiment.
  • the plurality of search modules 320 can be configured to match the perceptual data to the condition data to obtain control data that matches the perceptual data.
  • the sensing data and the condition data may include a plurality of data elements, and the plurality of data elements may be prioritized, the priority may be used to determine the degree of matching of the sensing data with the condition data, but is not limited thereto.
  • FIG. 4 is a schematic diagram of loading control data for machine device 110 locally and at a server.
  • the machine device 110 includes a search management module 121 and a first search module 122, wherein the first search module 122 is configured to search and search for local control data sets on the local network connected to or connected to the machine device 110.
  • the candidate of the control data matched by the sensor data of the machine device 110.
  • Server 140 includes a second search module 142.
  • the search management module 121 can transmit the sensory data of the machine device 110 in the communication signal for receipt at the server 140.
  • the server 140 can receive the perceptual data in the communication signal, and the second search module 142 can search the server control data set 143 for candidates for the control data that match the perceptual data.
  • Server 140 may send a candidate for control data in the communication signal to be received at search management module 121 at machine device 110.
  • the search management module 121 at the machine device 110 can receive candidates for control data provided by the second search module 142 at the server 140.
  • the search management module 121 at the machine device 110 can provide the perceptual data to the first search module 122 and the second search module 142 at the server 140, respectively, until the first search module 122 or the second search One of the modules 142 provides control data candidates.
  • the search management module 121 can be configured to maintain a prioritization in which the perceptual data is provided to the first search module 122 and the second search module 142, respectively, but is not limited thereto.
  • the search management module 121 at the machine device 110 can provide the perceptual data to the first search module 122 and the second search module 142 at the server 140 in parallel, the search management module 121 based on a global algorithm Control data for controlling the machine device 110 to generate an action is selected among the control data candidates provided by the first search module 122 and the second search module 142.
  • the global algorithm may be selected for control based on the priority of the first search module 122 and the second search module 142, and/or the degree of matching of the control data, and/or the time at which the data candidates are provided, and the like.
  • the machine device 110 generates control data for the action. It should be noted that the example is merely illustrative, and the embodiment of the present invention is not limited thereto.
  • Figure 5 is a schematic diagram of loading control data from different control data ranges.
  • control data sets are included, as shown in FIG. 5, respectively, a first control data set 511, a second control data set 521, and a third control data set 531.
  • the first search module 510 is configured to search the first control data set 511
  • the second search module 520 is configured to search the second control data set 521
  • the cable module 530 is used to search for the third control data set 531. It should be understood that in this example, more or better control data sets and/or search modules may be included, and FIG. 5 is not a limitation on the number.
  • the first control data set 511 can be a control data set of the machine device 110, and the control data set of the machine device 110 can be control data specific to the machine device 110, but is not limited thereto; the second control data set 521
  • the control data set of the machine device version of the machine device 110 may be different.
  • the different device device versions may be set with different or the same control data set, which is not limited in this embodiment; the third control data set 531 may be a general control data set. It can be used by a variety of machine versions.
  • the search management module 500 can provide the perceptual data to the first search module 510, the second search module 520, and the third search module 530, respectively, until one of them provides a candidate for the control data.
  • the search management module 500 can maintain a priority, and the search management module 500 can provide the perceived data to the first search module 510, the second search module 520, and the third search module 530, respectively, according to the priority.
  • the first search module 510, the second search module 520, and the third search module 530 may correspond to different search algorithms, and may also correspond to the same search algorithm, which is not limited in this example.
  • the order of priority from high to low is: a control data set of the machine device 110, a control data set corresponding to the machine device version of the machine device 110, and a general control data set.
  • the search management module 500 can provide the perceptual data to the first search module 510, the second search module 520, and the third search module 530 in parallel.
  • the search management module 500 may select control data for controlling the machine device 110 to generate an action from the candidates of the control data provided by the first search module 510, the second search module 520, and the third search module 530 based on a global algorithm.
  • the first control data set 511, the second control data set 521, and the third control data set 531 may correspond to different modes, and the different modes correspond to different actions of the machine device.
  • the first control data set 511 may correspond to a convenience mode
  • the second control data set 521 may correspond to an interaction mode
  • the third control data set 531 may correspond to a sleep mode, but is not limited thereto.
  • the data elements in the corresponding condition data may be different, and the basic behavior in the control data may be different, but this embodiment does not limit this.
  • FIG. 6 is a schematic structural view of the machine unit 110.
  • machine device 110 includes a sensory device that senses an entity or environment, which can represent sources 202 1 - 202 m of data corresponding to possible input modules, the data of which is comprised of multi-sensor input data 206.
  • the sources 202 1 - 202 4 may show specific examples of various sensor modules, these examples are not exhaustive of the potential configuration of the sensor modules, and other sensor modules 202 m may include any number of sensor modules including sensing entity activity states, such as Infrared body sensors and more.
  • Other input data that can be utilized include electronic ink from the device, touch, voice, body position/body language, facial expressions, brainwave computer input, keyboard, manipulation of physical interfaces (eg, gloves or tactile interfaces), and the like.
  • Emotional sensing such as facial expressions and facial color changes, temperature, grip pressure and/or other possible indications of emotions, can also be used as a viable input data.
  • motion detection sensor module 202 1 provides various environmental and/or entity data, including physical movements and/or gestures, and the like.
  • the speech recognition module 202 2 can parse the audio data into words and/or sentences according to the syntax of the speech. Alternatively, the voiceprint of the sound source, the direction of the sound source, and the like can be extracted from the audio data.
  • Event detection device 202 3 can detect events of the environment and/or entity, providing event data for entities and/or environments.
  • the facial recognition module 202 4 can detect and identify (human) faces in image data (eg, an image or a set of images) and/or video data (eg, video frames).
  • the facial recognition module 202 4 can include hardware components and/or software components.
  • data fusion component 204 can integrate multi-sensor input data 206 of sources 202 1 - 202 m to form one or more data elements based on at least a portion of the multi-sensor input data in accordance with a predefined plurality of data elements Perceptual data 212.
  • Data fusion component 204 can update perceptual data 206 based on multi-sensor input data.
  • the data elements can be referred to the data elements shown in Table 1, but are not limited thereto.
  • the data fusion component 204 can form the perceptual data comprising one or more data elements based on at least a portion of the plurality of sensor input data in accordance with the predefined plurality of data elements as the multi-sensor input data 206 of the sources 202 1 - 202 m changes. 212.
  • the sources 202 1 - 202 m may update the multi-sensor input data when the perceived information changes, causing the data fusion component 204 to generate the perceptual data, but is not limited thereto.
  • the search component 222 can search the control data 216 in the control data set 214 based on the perceptual data 212 to obtain control data 220 for controlling the machine device 110 to generate an action.
  • Control data 216 in control data set 214 may include control data edited by a user of machine device 110, and/or control data executed by machine device 110, as well as other more control data, and the like.
  • the scheduling component 218 can schedule the component 210 for performing the basic behavior based on the control data 220 to cause the machine device 110 to generate an action.
  • FIG. 6 illustrates components for performing the basic behavior 210 1 -210 m, the fundamental behavior for each component performs a corresponding executable basic behavior of the 210 1 -210 m.
  • Transmission component 208 can transmit perceptual data 212 in the communication signal to be received at transmission module 141 at server 140, and/or at local user terminal 120 or remote user terminal 130. Transmission component 208 can receive control data 220 transmitted by server 140 and/or receive control data 220 transmitted by local user terminal 120 or remote user terminal 130.
  • the scheduling component 218 can schedule the components 210 1 - 210 m for performing the basic behavior based on the control data 220 received by the transmission component 208 to cause the machine device 110 to generate an action.
  • the search component 222 can cause the transmission component 208 to transmit the sensing data 212 to the server 140 to obtain the control data 220 corresponding to the sensing data 212 from the server 140 when the control data 220 corresponding to the sensing data 212 is not found. But it is not limited to this.
  • FIG. 7 is a flow chart of a method of loading control data for machine device 110.
  • the method includes steps 701 to 704.
  • step 701 the sensory data of the machine device 110 is input.
  • Step 702 providing the sensing data to the plurality of search modules.
  • each of the plurality of search modules is for searching for control data matching the perceptual data from a different set of control data, wherein the control data is for causing the machine device to generate an action, wherein the action comprises a behavior type and/or a motion type Actions.
  • Step 703 providing candidates for at least one control data from the plurality of search modules.
  • Step 704 using the candidate of the control data to control the machine device 110 to generate an action.
  • the perceptual data described above may be provided to a plurality of search modules separately until one of the plurality of search modules provides control data.
  • a plurality of search modules may be ordered in order of priority, and the perceptual data is separately provided to the plurality of search modules in accordance with the priority.
  • the perceptual data can be provided in parallel to a plurality of search modules, in which case candidates for control data from the plurality of search modules can also be selected based on the global algorithm.
  • one of the different sets of control data is stored locally on the machine device and/or the local area to which the machine device is connected.
  • another of the different sets of control data may be stored in a remote computer system.
  • each of the different sets of control data data corresponds to a different mode of the machine device.
  • the different sets of control data include any combination of the control data set of the machine device, or the control data set of the machine device corresponding machine version, or a control data set common to a plurality of machine devices.
  • different sets of control data may be ordered by priority.
  • the perceptual data is separately provided to the plurality of search modules until one of the plurality of search modules provides the control data; and the plurality of search modules are ordered according to the priority of the different control data sets
  • the sensing data is separately provided to the plurality of search modules in accordance with the priority.
  • the perceptual data may be provided to a plurality of search modules in parallel, and candidates for control data from the plurality of search modules may also be selected based on a global algorithm.
  • the parameters of the global algorithm include at least the priority of different sets of control data.
  • the plurality of search modules can search for control data based on conditional data associated with the control data, wherein the conditional data is generated based on a plurality of data elements corresponding to a predefined plurality of data elements that generate the perceptual data.
  • a plurality of data elements in the condition data may be at least partially ordered in order of priority, and the plurality of search modules sort the candidates of the control data that the perceptual data matches in order of priority.
  • the plurality of search modules can load candidates for the control data that are aware of the data match based on the sensing data matching at least a portion of the data elements in the condition data.
  • control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly performed by the machine device.
  • each of the basic behaviors is defined by a behavior name and behavior control parameters.
  • multiple search modules correspond to different search algorithms.
  • the embodiment of the invention achieves the following technical effects: controlling the machine device to generate an action according to different control data sets, and improving the effect of controlling the machine device.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manipulator (AREA)

Abstract

A method and apparatus for loading control data into a machine device are provided. The method comprises the following steps: inputting perceptual data corresponding to a machine device (701), wherein the perceptual data is generated according to at least a portion of the predefined plurality of data elements based on the information perceived by the machine device; providing the perceptual data to a plurality of search modules (702), wherein each of the plurality of search modules is used for searching for control data matched with a perceptual data in different groups of control data, wherein the control data is used for urging the machine device to generate actions, and the actions include an action of the behavior type and an action of the motion type; providing at least one control data candidate derived from the plurality of search modules is provided (703); and urging the machine device to generate an action using control data candidate (704). The method improves the control effect of the robot and other equipments through a plurality of control data groups.

Description

为机器装置加载控制数据的方法及装置Method and device for loading control data for machine devices 技术领域Technical field
本发明涉及智能控制技术领域,特别涉及一种为机器装置加载控制数据的方法及装置。The present invention relates to the field of intelligent control technologies, and in particular, to a method and apparatus for loading control data for a machine device.
背景技术Background technique
对于诸如机器人等机器装置,相关技术中存在多种控制方法,但相关技术中的控制方法也不理想,并且控制方法较为复杂。For a machine device such as a robot, there are various control methods in the related art, but the control method in the related art is also not satisfactory, and the control method is complicated.
发明内容Summary of the invention
提供本概述以便以简化形式介绍将在以下具体实施方式中进一步描述的一些带表性概念。本概述不旨在表示出所要求保护的主题的关键特征或必要特征,也不旨在以限制所要求保护的主题和范围的任何方式来使用。This Summary is provided to introduce a selection of concepts in the <RTIgt; The summary is not intended to identify key features or essential features of the claimed subject matter, and is not intended to be used in any way to limit the claimed subject matter.
简要地,在此描述的主题的各个方面涉及为机器装置加载控制数据的方法及装置,以至少便于对机器装置进行控制。机器装置可包括但不限于机器人等智能装置或设备。Briefly, various aspects of the subject matter described herein relate to methods and apparatus for loading control data for a machine device to facilitate at least control of the machine device. Machine devices may include, but are not limited to, smart devices or devices such as robots.
一个方面,提供了一种为机器装置加载控制数据的方法,包括:输入机器装置对应的感知数据,其中,该感知数据基于机器装置感知的信息按照预定义的多个数据元素中至少部分生成;将该感知数据提供给多个搜索模块,其中,该多个搜索模块中的每一个用于从不同的控制数据集合搜索与上述感知数据匹配的控制数据,其中控制数据用于使机器装置产生动作,其中使机器装置产生的动作包括行为类型和/或运动类型的动作;提供来自多个搜索模块的至少一个控制数据的候选项;以及使用该控制数据的候选项控制机器装置产生动作。In one aspect, a method for loading control data for a machine device is provided, comprising: inputting perceptual data corresponding to a machine device, wherein the perceptual data is generated according to at least a portion of a predefined plurality of data elements based on information sensed by the machine device; Providing the perceptual data to a plurality of search modules, wherein each of the plurality of search modules is configured to search for control data matching the perceptual data from different sets of control data, wherein the control data is used to cause the machine device to generate an action And wherein the action generated by the machine device includes an action type and/or a motion type of action; providing a candidate for at least one control data from the plurality of search modules; and controlling the machine device to generate an action using the candidate of the control data.
在一个示例中,上述感知数据可被分别地提供给多个搜索模块,直到多个搜索模块中的一个提供控制数据。非限制性地,多个搜索模块可被按照优先级排序,感知数据被按照该优先级分别地提供给该多个搜索模块。In one example, the perceptual data described above may be provided to a plurality of search modules separately until one of the plurality of search modules provides control data. Without limitation, a plurality of search modules may be ordered in order of priority, and the perceptual data is separately provided to the plurality of search modules in accordance with the priority.
在一个示例中,感知数据可被并行地提供给多个搜索模块,在该示例中还可基于全局算法选择来自多个搜索模块的控制数据的候选项。 In one example, the perceptual data can be provided in parallel to a plurality of search modules, in which case candidates for control data from the plurality of search modules can also be selected based on the global algorithm.
在一个示例中,不同的控制数据集合中的一个存储在机器装置本地和/或机器装置连接到的局域网络。非限制性地,不同的控制数据集合中的另一个可存储在远程计算机系统中。In one example, one of the different sets of control data is stored locally on the machine device and/or the local area to which the machine device is connected. Without limitation, another of the different sets of control data may be stored in a remote computer system.
在一个示例中,不同的控制数据集合中的每个控制数据数据集合对应于机器装置的不同模式。In one example, each of the different sets of control data data corresponds to a different mode of the machine device.
在一个示例中,不同的控制数据集合包括所述机器装置的控制数据集合、或所述机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合。非限制性地,不同的控制数据集合可被按照优先级排序。In one example, the different sets of control data include any combination of the control data set of the machine device, or the control data set of the machine device corresponding machine version, or a control data set common to a plurality of machine devices. Without limitation, different sets of control data may be ordered by priority.
在一个示例中,感知数据被分别地提供给所述多个搜索模块,直到多个搜索模块中的一个提供所述控制数据;且,多个搜索模块被按照不同的控制数据集合的优先级排序,感知数据被按照该优先级分别地提供给多个搜索模块。In one example, the perceptual data is separately provided to the plurality of search modules until one of the plurality of search modules provides the control data; and the plurality of search modules are ordered according to the priority of the different control data sets The sensing data is separately provided to the plurality of search modules in accordance with the priority.
在一个示例中,感知数据可被并行地提供给多个搜索模块,还可基于全局算法选择来自所述多个搜索模块的控制数据的候选项。非限制性地,该全局算法的参数可包括不同的控制数据集合的优先级。In one example, the perceptual data may be provided to a plurality of search modules in parallel, and candidates for control data from the plurality of search modules may also be selected based on a global algorithm. Without limitation, the parameters of the global algorithm may include different priorities of the control data set.
在一个示例中,多个搜索模块可基于与控制数据关联的条件数据搜索控制数据,其中,条件数据基于与生成感知数据的预定义的多个数据元素对应的多个数据元素产生。In one example, the plurality of search modules can search for control data based on conditional data associated with the control data, wherein the conditional data is generated based on a plurality of data elements corresponding to a predefined plurality of data elements that generate the perceptual data.
在一个示例中,条件数据中多个数据元素至少部分可被按照优先级排序,多个搜索模块按照优先级排序搜索感知数据匹配的控制数据的候选项。In one example, a plurality of data elements in the condition data may be at least partially ordered in order of priority, and the plurality of search modules sort the candidates of the control data that the perceptual data matches in order of priority.
在一个示例中,多个搜索模块可基于感知数据与条件数据中至少部分数据元素匹配,来加载感知数据匹配的控制数据的候选项。In one example, the plurality of search modules can load candidates for the control data that are aware of the data match based on the sensing data matching at least a portion of the data elements in the condition data.
在一个示例中,其中控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,该基本行为中的每一个可直接地被机器装置执行。非限制性地,基本行为的每一个由行为名称和行为控制参数定义。In one example, where the control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly performed by the machine device. Without limitation, each of the basic behaviors is defined by a behavior name and behavior control parameters.
在一个示例中,多个搜索模块对应不同的搜索算法。In one example, multiple search modules correspond to different search algorithms.
另一方面,提供了另一为机器装置加载控制数据的方法,包括:输入机器装置对应的感知数据,其中,该感知数据基于机器装置感知到的信息按照预定义的多个数据元素中至少部分生成;In another aspect, a method for loading control data for a machine device is provided, comprising: inputting perceptual data corresponding to the machine device, wherein the perceptual data is based on at least a portion of the predefined plurality of data elements based on the information sensed by the machine device generate;
将感知数据提供给多个搜索算法,以从不同的控制数据范围搜索用于使机器装置产生动作的控制数据,其中,不同的控制数据范围包括机器装置的控制数据集合、或机器 装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合,其中使机器装置产生的动作包括行为类型和/或运动类型的动作;基于多个搜索算法确定至少一项控制数据的候选项;以及,使用控制数据的候选项控制机器装置产生动作。Providing the perceptual data to a plurality of search algorithms to search for control data for causing the machine device to generate an action from a different range of control data, wherein the different control data ranges include control data sets of the machine device, or machine The device corresponds to any combination of a control data set of the machine device version or a control data set common to the plurality of machine devices, wherein the action generated by the machine device includes an action type and/or a motion type action; determining at least one based on the plurality of search algorithms The candidate of the item control data; and the candidate for controlling the data is used to control the machine device to generate an action.
在一个示例中,感知数据被分别地提供给多个搜索算法,直到多个搜索算法中的一个提供控制数据。In one example, the perceptual data is provided separately to a plurality of search algorithms until one of the plurality of search algorithms provides control data.
在一个示例中,多个搜索算法被按照优先级排序,感知数据被按照优先级分别地提供给多个搜索算法。非限制性地,优先级从高到低的顺序为:机器装置的控制数据集合、机器装置对应机器装置版本的控制数据集合、多种机器装置通用的控制数据集合。In one example, multiple search algorithms are ordered by priority, and perceptual data is separately provided to multiple search algorithms in accordance with priority. Non-limiting, the order of priority from high to low is: a control data set of the machine device, a control data set corresponding to the machine device version of the machine device, and a control data set common to a plurality of machine devices.
在一个示例中,感知数据可被并行地提供给多个搜索算法,还可基于全局算法选择来自多个搜索算法的控制数据的候选项。In one example, the perceptual data may be provided to multiple search algorithms in parallel, and candidates for control data from multiple search algorithms may also be selected based on the global algorithm.
在一个示例中,控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,基本行为中的每一个可直接地被机器装置执行。非限制性地,基本行为的每一个由行为名称和行为控制参数定义。In one example, the control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly executed by the machine device. Without limitation, each of the basic behaviors is defined by a behavior name and behavior control parameters.
在一个示例中,控制数据与条件数据相关联,多个搜索算法可基于与控制数据关联的条件数据搜索控制数据,其中,条件数据基于与生成感知数据的预定义的多个数据元素对应的多个数据元素预先产生。In one example, the control data is associated with conditional data, and the plurality of search algorithms can search for control data based on conditional data associated with the control data, wherein the conditional data is based on a plurality of predefined plurality of data elements corresponding to the generated perceptual data Data elements are pre-generated.
又一个方面,提供了一为机器装置加载控制数据的装置,包括:输入模块,用于输入机器装置对应的感知数据,其中,该感知数据基于机器装置感知的信息按照预定义的多个数据元素中至少部分生成;第一提供模块,用于将感知数据提供给多个搜索模块,其中,多个搜索模块中的每一个用于从不同的控制数据集合搜索与感知数据匹配的控制数据,其中控制数据用于使机器装置产生动作,其中使机器装置产生的动作包括行为类型和/或运动类型的动作;第二提供模块,用于提供来自多个搜索模块的至少一个控制数据的候选项;以及,控制模块,用于使用控制数据的候选项控制机器装置产生动作。In still another aspect, an apparatus for loading control data for a machine device is provided, comprising: an input module, configured to input sensory data corresponding to the machine device, wherein the sensory data is based on a plurality of predefined data elements based on information sensed by the device device At least partially generated; a first providing module, configured to provide the sensing data to the plurality of search modules, wherein each of the plurality of search modules is configured to search for control data matching the sensing data from different control data sets, wherein The control data is used to cause the machine device to generate an action, wherein the action generated by the machine device includes an action type and/or a motion type of action; the second providing module is configured to provide a candidate for the at least one control data from the plurality of search modules; And a control module for controlling the machine device to generate an action using the candidate of the control data.
在一个示例中,感知数据可被分别地提供给所述多个搜索模块,直到多个搜索模块中的一个提供控制数据。In one example, the perceptual data can be provided to the plurality of search modules separately until one of the plurality of search modules provides control data.
在一个示例中,多个搜索模块可被按照优先级排序,感知数据被按照该优先级分别地提供给多个搜索模块。 In one example, multiple search modules may be prioritized and perceptual data is provided to multiple search modules separately according to the priority.
在一个示例中,感知数据被并行地提供给多个搜索模块,第二提供模块还用于基于全局算法选择来自多个搜索模块的控制数据的候选项。In one example, the perceptual data is provided in parallel to a plurality of search modules, and the second providing module is further configured to select candidates for control data from the plurality of search modules based on the global algorithm.
在一个示例中,不同的控制数据集合中的一个存储在机器装置本地和/或机器装置连接到的局域网络。非限制性地,不同的控制数据集合中的另一个存储在远程计算机系统中。In one example, one of the different sets of control data is stored locally on the machine device and/or the local area to which the machine device is connected. Without limitation, the other of the different sets of control data is stored in a remote computer system.
在一个示例中,不同的控制数据集合中的每个控制数据数据集合对应于机器装置的不同模式。In one example, each of the different sets of control data data corresponds to a different mode of the machine device.
在一个示例中,不同的控制数据集合包括机器装置的控制数据集合、或机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合,但不限于此。In one example, the different sets of control data include any combination of the control data set of the machine device, or the control data set of the machine device corresponding machine version, or the control data set common to the plurality of machine devices, but is not limited thereto.
在一个示例中,不同的控制数据集合被按照优先级排序。In one example, different sets of control data are ordered by priority.
在一个示例中,感知数据被分别地提供给多个搜索模块,直到多个搜索模块中的一个提供所述控制数据;且多个搜索模块被按照不同的控制数据集合的优先级排序,感知数据被按照该优先级分别地提供给多个搜索模块。In one example, the perceptual data is separately provided to a plurality of search modules until one of the plurality of search modules provides the control data; and the plurality of search modules are ordered according to a prioritization of different sets of control data, the perceptual data They are separately provided to a plurality of search modules in accordance with the priority.
在一个示例中,感知数据被并行地提供给多个搜索模块,其中第一提供模块还用于基于全局算法选择来自多个搜索模块的控制数据的候选项,其中,全局算法的参数至少包括不同的控制数据集合的优先级。In one example, the perceptual data is provided to the plurality of search modules in parallel, wherein the first providing module is further configured to select candidates of the control data from the plurality of search modules based on the global algorithm, wherein the parameters of the global algorithm include at least different Controls the priority of the data collection.
在一个示例中,控制数据与条件数据相关联,多个搜索模块基于与控制数据关联的条件数据搜索控制数据,其中,条件数据基于与生成感知数据的预定义的多个数据元素对应的数据元素产生。In one example, the control data is associated with conditional data, the plurality of search modules searching for control data based on conditional data associated with the control data, wherein the conditional data is based on data elements corresponding to a predefined plurality of data elements that generate the perceptual data produce.
在一个示例中,条件数据中多个数据元素至少部分被按照优先级排序,多个搜索模块按照优先级排序搜索感知数据匹配的控制数据的候选项。In one example, the plurality of data elements in the condition data are at least partially ordered in order of priority, and the plurality of search modules sort the candidates of the control data that the perceptual data matches in order of priority.
在一个示例中,多个搜索模块可基于感知数据与条件数据中至少部分数据元素匹配,来加载感知数据匹配的控制数据的候选项。In one example, the plurality of search modules can load candidates for the control data that are aware of the data match based on the sensing data matching at least a portion of the data elements in the condition data.
在一个示例中,控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,基本行为中的每一个可直接地被机器装置执行。可选地,基本行为的每一个由行为名称和行为控制参数定义。In one example, the control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly executed by the machine device. Optionally, each of the basic behaviors is defined by a behavior name and a behavior control parameter.
在一个示例中,多个搜索模块对应不同的搜索算法。 In one example, multiple search modules correspond to different search algorithms.
再一个方面,提供一为机器装置加载控制数据的装置,包括:输入模块,用于输入机器装置对应的感知数据,其中,感知数据基于机器装置感知到的信息按照预定义的多个数据元素中至少部分生成;提供模块,用于将感知数据提供给多个搜索算法,以从不同的控制数据范围搜索用于使机器装置产生动作的控制数据,其中,该不同的控制数据范围包括机器装置的控制数据集合、或机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合,其中动作包括行为类型和/或运动类型的动作;确定模块,用于基于多个搜索算法确定至少一项控制数据的候选项;以及,控制模块,用于使用控制数据的候选项控制机器装置产生动作。In still another aspect, an apparatus for loading control data for a machine device is provided, comprising: an input module, configured to input sensing data corresponding to the machine device, wherein the sensing data is based on the information sensed by the machine device according to a predefined plurality of data elements. At least partially generating; providing a module for providing the sensing data to the plurality of search algorithms to search for control data for causing the machine device to generate an action from a different control data range, wherein the different control data ranges include the machine device Controlling a data set, or a control data set of a machine device corresponding machine version, or any combination of control data sets common to a plurality of machine devices, wherein the action comprises an action type and/or a motion type of action; the determining module is configured to The search algorithm determines candidates for at least one piece of control data; and a control module for controlling the machine device to generate an action using the candidate of the control data.
在一个示例中,感知数据被分别地提供给所述多个搜索算法,直到多个搜索算法中的一个提供控制数据的候选项。In one example, the perceptual data is provided separately to the plurality of search algorithms until one of the plurality of search algorithms provides a candidate for the control data.
在一个示例中,所述多个搜索算法被按照优先级排序,感知数据被按照优先级分别地提供给多个搜索算法。非限制性地,该优先级从高到低的顺序为:机器装置的控制数据集合、机器装置对应机器装置版本的控制数据集合、多种机器装置通用的控制数据集合。In one example, the plurality of search algorithms are ordered by priority, and the perceptual data is separately provided to the plurality of search algorithms in accordance with the priority. Without limitation, the order of priority from high to low is: a control data set of the machine device, a control data set corresponding to the machine device version of the machine device, and a control data set common to the plurality of machine devices.
在一个示例中,感知数据被并行地提供给多个搜索算法,其中还基于全局算法选择来自多个搜索算法的控制数据的候选项。In one example, the perceptual data is provided in parallel to a plurality of search algorithms, wherein candidates for control data from the plurality of search algorithms are also selected based on the global algorithm.
在一个示例中,控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中基本行为中的每一个可直接地被机器装置执行。非限制性地,基本行为的每一个由行为名称和行为控制参数定义。In one example, the control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly executed by the machine device. Without limitation, each of the basic behaviors is defined by a behavior name and behavior control parameters.
在一个示例中,控制数据与条件数据相关联,多个搜索算法基于与控制数据关联的条件数据搜索控制数据,条件数据基于与生成感知数据的所述预定义的多个数据元素对应的多个数据元素产生。In one example, the control data is associated with conditional data, the plurality of search algorithms searching for control data based on the conditional data associated with the control data, the conditional data being based on a plurality of the plurality of predefined data elements corresponding to the generated perceptual data Data elements are generated.
作为一个非限制性示例,机器装置可感知信息,感知的信息包括机器装置所在物理环境(诸如物品、或人类用户、或机器装置等实体)的信息、和/或机器装置自身的信息。机器装置可包括一个或多个传感器装置,该传感器装置可包括软件组合和/或硬件组件的传感器模块,可包括物理连接到机器装置的传感器装置和/或通信地连接到机器装置的传感器装置,但不限于此。As a non-limiting example, the machine device may perceive information including information of the physical environment in which the machine device is located (such as an item, or an entity such as a human user, or a machine device), and/or information of the machine device itself. The machine device may include one or more sensor devices, which may include sensor modules of software combination and/or hardware components, may include sensor devices physically coupled to the device devices, and/or sensor devices communicatively coupled to the device devices, But it is not limited to this.
作为一个非限制性示例,机器装置感知到的信息可至少包含视觉、或触觉、或听觉、或手势等中至少之一或任意组合,但不限于此,任何能被感知的信息均可。 As a non-limiting example, the information sensed by the machine device may include at least one or any combination of visual, or tactile, or audible, or gesture, etc., but is not limited thereto, and any information that can be perceived may be.
在限制性地,机器装置可包括具有人机交互能力的机器人、移动式机器人等,某些示例中,机器装置可包括运动部件(诸如肢体、轮式、履带式等运动部件)以产生机械运动,但不限于此。Restrictively, the machine device may include a robot having human-computer interaction capabilities, a mobile robot, etc., and in some examples, the machine device may include moving parts (such as limbs, wheels, tracked, etc.) to generate mechanical motion. , but not limited to this.
通过本发明实施例,根据不同的控制数据集合来控制机器装置产生动作,提高控制机器装置的效果。Through the embodiment of the invention, the machine device is controlled to generate actions according to different control data sets, and the effect of controlling the machine device is improved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。在附图中:The drawings described herein are provided to provide a further understanding of the invention, and are not intended to limit the invention. In the drawing:
图1为机器装置通信系统100的一示例的示意图;1 is a schematic diagram of an example of a machine device communication system 100;
图2为机器装置110的结构示意图;2 is a schematic structural view of a machine device 110;
图3为为机器装置110加载控制数据的系统300的示意图;3 is a schematic diagram of a system 300 for loading control data for a machine device 110;
图4为在本地和服务器为机器装置110加载控制数据的示意图;4 is a schematic diagram of loading control data for the machine device 110 at the local and server;
图5为从不同的控制数据范围加载控制数据的示意图;Figure 5 is a schematic diagram of loading control data from different control data ranges;
图6为机器装置110的一结构示意图;以及6 is a schematic structural view of a machine device 110;
图7为为机器装置110加载控制数据的方法的流程图。7 is a flow chart of a method of loading control data for machine device 110.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下面结合实施方式和附图,对本发明做进一步详细说明。在此,本发明的示意性实施方式及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail with reference to the embodiments and drawings. The illustrative embodiments of the present invention and the description thereof are intended to explain the present invention, but are not intended to limit the invention.
应当理解,此处的任何示例都是非限制性的。因此,本发明不限于此处所描述的任何特定实施例、方面、概念、结构、功能或示例。相反,此处所描述的任何一个实施例、方面、结构、功能或示例都是为限制性的。It should be understood that any examples herein are non-limiting. Therefore, the invention is not limited to any specific embodiments, aspects, concepts, structures, functions or examples described herein. On the contrary, any one embodiment, aspect, structure, function, or example described herein is limited.
针对一个实施例或示例描述和/或例示的特征,可以在一个或更多个其它实施例或示例中以相同方式或以类似方式使用,和/或与其他实施例或示例的特征相结合或代替其他实施例或示例的特征。Features described and/or illustrated with respect to one embodiment or example may be used in the same manner or in a similar manner in one or more other embodiments or examples, and/or combined with features of other embodiments or examples or Instead of the features of other embodiments or examples.
应当强调的是,词语“包括”、“基于”或“根据”当在本说明书中使用时用来指所引述的特征、要素、步骤、组件或组成部分的存在,但不排除一个或更多个其它特征、要素、步骤、组成部分或它们的组合的存在或增加。 It should be emphasized that the words "including", "based on" or "comprising", when used in the specification, are used to mean the presence of the recited features, elements, steps, components or components, but do not exclude one or more The presence or addition of other features, elements, steps, components, or combinations thereof.
图1为机器装置通信系统100的一示例的示意图。FIG. 1 is a schematic diagram of an example of a machine device communication system 100.
参考图1,通信系统100包括机器装置110、本地用户终端120、远程用户终端130、一个或多个服务器140、静态传感器180和静态传感器181。Referring to FIG. 1, communication system 100 includes machine device 110, local user terminal 120, remote user terminal 130, one or more servers 140, static sensor 180, and static sensor 181.
机器装置110可通过私有网络150与本地用户终端120、和/或静态传感器180和/或静态传感器181通信。机器装置110可通过私有网络150和公共网络160与远程用户终端130、和/或服务器140通信。机器装置110也可通过枢纽170与静态传感器180和/或静态传感器181等通信。应当理解,此处的通信链路仅作为示例性说明,并不是对通信方式的限定,实际上任何合适的通信链路均是可行,本实施例并不依赖于特定通信链路。 Machine device 110 can communicate with local user terminal 120, and/or static sensor 180 and/or static sensor 181 via private network 150. Machine device 110 can communicate with remote user terminal 130, and/or server 140 via private network 150 and public network 160. Machine device 110 can also communicate with static sensor 180 and/or static sensor 181, etc. via hub 170. It should be understood that the communication link herein is for illustrative purposes only and is not a limitation of the manner of communication. In fact, any suitable communication link is possible. This embodiment does not rely on a particular communication link.
在某些示例中,机器装置110可感知信息,感知的信息可包括机器装置110所在的物理环境的信息和/或机器装置110本身的信息,物理环境的信息包括但不限于物品、或人类用户、或其他机器装置等,人类用户的信息可包括视觉、或听觉、或触觉、或手势等信息中至少之一或任意组合,但不限于此。In some examples, machine device 110 may perceive information, which may include information of the physical environment in which machine device 110 is located and/or information of machine device 110 itself, including but not limited to items, or human users. The information of the human user may include at least one or any combination of visual, or audible, or tactile, or gestures, etc., but is not limited thereto.
在某些示例中,机器装置110可包括一个或多个传感器装置111。传感器装置111可包括摄像头(诸如相机、深度摄像头等)、或麦克风、或红外传感器、或运动传感器、全球定位系统(GPS)模块、加速度计、陀螺仪、光传感器、附近设备信号强度检测模块等。另外,传感器装置111中的一些包括基于软件的传感器,其可提供高等级或精细粒度的信息。除了原始传感器输入以外,这些传感器装置111处理合适的输入数据以提供有意义的信息,例如,传感器装置111可包括例如传感器装置112可包括所说的词语和/或身体姿态/移动的识别模块、面部识别模块等等。In some examples, machine device 110 may include one or more sensor devices 111. The sensor device 111 may include a camera (such as a camera, a depth camera, etc.), or a microphone, or an infrared sensor, or a motion sensor, a global positioning system (GPS) module, an accelerometer, a gyroscope, a light sensor, a nearby device signal strength detection module, and the like. . Additionally, some of the sensor devices 111 include software-based sensors that can provide high level or fine granularity of information. In addition to the raw sensor inputs, these sensor devices 111 process the appropriate input data to provide meaningful information, for example, the sensor device 111 can include, for example, a sensor module 112 that can include the words and/or body gesture/movement identification module, Face recognition module and more.
在某些示例中,机器装置110的传感器装置111还可包括如图1所示的静态传感器180和/或静态传感器181的代理,其可与静态传感器180和/或静态传感器181通信,以从静态传感器180和/或静态传感器181获取数据,或者向静态传感器180和/或静态传感器181发送指令等。In some examples, sensor device 111 of machine device 110 may also include a proxy for static sensor 180 and/or static sensor 181 as shown in FIG. 1, which may be in communication with static sensor 180 and/or static sensor 181 to The static sensor 180 and/or the static sensor 181 acquire data or send instructions or the like to the static sensor 180 and/or the static sensor 181.
在某些示例中,本地用户终端120和远程用户终端130可控制机器装置110。本地用户终端120和远程用户终端130可在消息中发送控制数据,机器装置110可接收消息并读取控制数据,根据控制数据产生动作。控制数据可由本地用户终端120和远程用户终端130编辑产生,但不限于此。本地用户终端120和远程用户终端130可包括应用程序,例如移动应用程序、或Web程序、或应用程序等,用以控制机器装置110。 In some examples, local user terminal 120 and remote user terminal 130 can control machine device 110. The local user terminal 120 and the remote user terminal 130 can transmit control data in a message, and the machine device 110 can receive the message and read the control data to generate an action based on the control data. The control data may be edited by the local user terminal 120 and the remote user terminal 130, but is not limited thereto. The local user terminal 120 and the remote user terminal 130 may include an application, such as a mobile application, or a web program, or an application, to control the machine device 110.
在某些示例中,服务器140可控制机器装置110产生动作。服务器140可在通信信号中发送控制数据,以在机器装置110处被接收,机器装置110可基于服务器140发送的控制数据产生动作。非限制性地,机器装置110可包括机器人、或移动式机器人等,但不限于此。In some examples, server 140 can control machine device 110 to generate an action. The server 140 can transmit control data in the communication signal for receipt at the machine device 110, and the machine device 110 can generate an action based on the control data transmitted by the server 140. Without limitation, the machine device 110 may include a robot, or a mobile robot or the like, but is not limited thereto.
在某些示例中,机器装置110可通过私有网络150和公共网络160在通信信号中发送机器装置110感知到的信息,以在服务器140出被接收。服务器140可基于机器装置110感知到的信息产生对机器装置110的控制数据,并在通信信号中发送控制数据,以在机器装置110处被接收。机器装置110接收控制数据,并基于控制数据执行动作。要被机器装置110执行的动作包括行为类型和/或运动类型的动作。In some examples, machine device 110 may transmit information perceived by machine device 110 in a communication signal over private network 150 and public network 160 for receipt at server 140. Server 140 may generate control data for machine device 110 based on information sensed by machine device 110 and transmit control data in the communication signal for receipt at machine device 110. The machine device 110 receives the control data and performs an action based on the control data. The actions to be performed by the machine device 110 include actions of a type of behavior and/or type of motion.
在某些示例中,机器装置110可在机器装置110本地和/或机器装置110连接到的本地网络取得控制数据,并基于该控制数据产生动作。机器装置110可基于感知到的信息,在机器装置110本地和/或机器装置110连接到的本地网络取得与感知得到的信息匹配的控制数据,针对感知到到的信息产生动作。In some examples, machine device 110 may take control data locally on machine device 110 and/or a local network to which machine device 110 is connected, and generate an action based on the control data. The machine device 110 may, based on the sensed information, obtain control data that matches the perceived information locally on the local network to which the machine device 110 and/or the machine device 110 is connected, and generates an action for the perceived information.
在某些示例中,控制数据可对应于一个基本行为或者具有执行逻辑的多个基本行为。执行逻辑约束可包括按照时间逻辑和/或事件逻辑约束的逻辑。机器装置110可包括/具有多个用于执行基本行为的组件,用于执行基本行为的组件每一个可执行对应的基本行为。非限制性地,基本行为可由行为名称和行为控制参数定义,行为控制参数可以为“Null”(空)。用于执行基本行为的组件可根据行为控制参数执行基本行为。In some examples, the control data may correspond to a basic behavior or a plurality of basic behaviors with execution logic. Execution of logical constraints may include logic that is constrained by time logic and/or event logic. Machine device 110 may include/have a plurality of components for performing basic behaviors, each of which performs a basic behavior for performing a corresponding basic behavior. Without limitation, the basic behavior may be defined by a behavior name and a behavior control parameter, and the behavior control parameter may be "Null" (empty). Components that perform basic behavior can perform basic behavior based on behavioral control parameters.
基本行为Basic behavior
作为一个非限制性示例,基本行为可用JSON语言编写,但不限于此,其他方式也是可行的。非限制性的基本行为可包括:As a non-limiting example, the basic behavior can be written in the JSON language, but is not limited thereto, and other methods are also possible. Non-limiting basic behaviors may include:
1、让机器装置110说话1. Let the machine device 110 speak
行为名称为:audio_speak;The behavior name is: audio_speak;
行为控制参数可包括:text(要说的内容)、volume(说话的音量)等(例如,发声性别、或发声年龄等)Behavior control parameters can include: text (content to say), volume (volume of speech), etc. (eg, vocal gender, or vocal age, etc.)
JSON表示如下:JSON is expressed as follows:
“audio_speak”:{“text”:“你好吗”,“volume”:“50%”}"audio_speak": {"text": "How are you", "volume": "50%"}
非限制性地,“text”可包括转换字符,转换字符与参数对应。例如,“主人”的转换字符可被定义为“@master”,作为一个例子,包含转换字符的JSON表示如下:Without limitation, "text" may include a conversion character that corresponds to a parameter. For example, the "owner" conversion character can be defined as "@master". As an example, the JSON representation containing the conversion characters is as follows:
“audio_speak”:{“text”:“你好,@master”,“volume”:“50%”} "audio_speak": {"text": "Hello, @master", "volume": "50%"}
在执行“audio_speak”时,可将“@master”替换成“主人”的姓名。When "audio_speak" is executed, "@master" can be replaced with the name of "owner".
另外,在上述示例中“volume”被设置为百分比,机器装置110可根据“volume”的百分比值计算得到机器装置110的具体参数。作为另一个示例,“volume”也可以被表示为机器装置110的具体参数。In addition, in the above example, "volume" is set to a percentage, and the machine device 110 can calculate the specific parameters of the machine device 110 based on the percentage value of "volume". As another example, "volume" may also be represented as a specific parameter of machine device 110.
2、让机器装置110播放音乐2. Let the machine device 110 play music
行为名称为:audio_sound_music;The behavior name is: audio_sound_music;
行为控制参数可包括:path(要播放音乐的路径、或文件名等)、volume(播放音乐的音量)等Behavior control parameters may include: path (path to play music, or file name, etc.), volume (volume of playing music), etc.
JSON表示如下:JSON is expressed as follows:
“audio_sound_music”:{“path”:“http//bpeer.com/happy.mp3”,“volume”:“50%”}"audio_sound_music": {"path": "http//bpeer.com/happy.mp3", "volume": "50%"}
3、让机器装置110播放提示音3. Let the machine device 110 play the prompt tone
行为名称为:audio_sound_info;The behavior name is: audio_sound_info;
行为控制参数包括:name(要播放的提示音的名称)、volume(播放音量)等Behavior control parameters include: name (the name of the tone to be played), volume (play volume), etc.
JSON表示如下:JSON is expressed as follows:
“audio_sound_info”:{“name”:“warning”,“volume”:“normal”}"audio_sound_info": {"name": "warning", "volume": "normal"}
4、让机器装置110的头部运动4. Let the head movement of the machine unit 110
行为名称为:motion_head;The behavior name is: motion_head;
行为控制参数可包括:motor(执行运动的电机)、velocity(电机运动速度),angle(电机运动角度)等Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
JSON表示如下:JSON is expressed as follows:
“motion_head”:{“motor”:“1”,“velocity”:“1”,“angle”:“45”}"motion_head": {"motor": "1", "velocity": "1", "angle": "45"}
在上述示例中,“velocity”被表示为档位,机器装置110可根据该档位计算得到具体的“velocity”。实际上,“velocity”也可表示为机器装置110头部运动的具体参数。In the above example, "velocity" is represented as a gear position, and the machine device 110 can calculate a specific "velocity" based on the gear position. In fact, "velocity" can also be expressed as a specific parameter of the head movement of the machine device 110.
另外,上述示例中,“angle”被表示为电机的角度,实际上,“angle”可被表示为百分比等相对数据,例如,“angle”:“50%”,机器装置110可根据角度范围确定具体的参数,例如最大角度为180度,那么计算得到具体角度为90度,但不限于此。In addition, in the above example, "angle" is represented as the angle of the motor, and actually, "angle" can be expressed as relative data such as percentage, for example, "angle": "50%", and the machine device 110 can determine according to the angle range The specific parameters, for example, the maximum angle is 180 degrees, then the specific angle is calculated to be 90 degrees, but is not limited thereto.
5、让机器装置110的脖子运动5. Let the neck of the machine device 110 move
行为名称为:motion_neck; The behavior name is: motion_neck;
行为控制参数可包括:motor(执行运动的电机)、velocity(电机运动速度),angle(电机运动角度)等Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
JSON表示如下:JSON is expressed as follows:
“motion_neck”:{“motor”:“1”,“velocity”:“2”,“angle”:“60”}"motion_neck": {"motor": "1", "velocity": "2", "angle": "60"}
6、让机器装置110的肩膀运动6. Let the shoulder movement of the machine device 110
行为名称为:motion_shoulder;The behavior name is: motion_shoulder;
行为控制参数可包括:motor(执行运动的电机)、velocity(电机运动速度),angle(电机运动角度)等Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
JSON表示如下:JSON is expressed as follows:
“motion_shoulder”:{“motor”:“1”,“velocity”:“3”,“angle”:“60”}"motion_shoulder": {"motor": "1", "velocity": "3", "angle": "60"}
7、让机器装置110的肘部运动7. Let the elbow movement of the machine unit 110
行为名称为:motion_elbow;The behavior name is: motion_elbow;
行为控制参数可包括:motor(执行运动的电机)、velocity(电机运动速度),angle(电机运动角度)等Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
JSON表示如下:JSON is expressed as follows:
“motion_elbow”:{“motor”:“1”,“velocity”:“2”,“angle”:“50”}"motion_elbow": {"motor": "1", "velocity": "2", "angle": "50"}
8、让机器装置110的腕部运动8. Let the wrist of the machine device 110 move
行为名称为:motion_wrist;The behavior name is: motion_wrist;
行为控制参数可包括:motor(执行运动的电机)、velocity(电机运动速度),angle(电机运动角度)等Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
JSON表示如下:JSON is expressed as follows:
“motion_wrist”:{“motor”:“1”,“velocity”:“2”,“angle”:“50”}"motion_wrist": {"motor": "1", "velocity": "2", "angle": "50"}
9、让机器装置110的腰部运动9. Let the waist of the machine unit 110 move
行为名称为:motion_waist;The behavior name is: motion_waist;
行为控制参数可包括:motor(执行运动的电机)、velocity(电机运动速度),angle(电机运动角度)等Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
JSON表示如下:JSON is expressed as follows:
“motion_waist”:{“motor”:“1”,“velocity”:“2”,“angle”:“50”}"motion_waist": {"motor": "1", "velocity": "2", "angle": "50"}
10、让机器装置110的眼睛运动10. Let the eye movement of the machine device 110
行为名称为:motion_eye; The behavior name is: motion_eye;
行为控制参数可包括:motor(执行运动的电机)、velocity(电机运动速度),angle(电机运动角度)等Behavior control parameters may include: motor (motor that performs motion), velocity (motor speed), angle (motor motion angle), etc.
JSON表示如下:JSON is expressed as follows:
“motion_eye”:{“motor”:“1”,“velocity”:“2”,“angle”:“50”}"motion_eye": {"motor": "1", "velocity": "2", "angle": "50"}
11、让机器装置110显示表情11. Let the machine device 110 display an expression
行为名称为:display_emotion;The behavior name is: display_emotion;
行为控制参数可包括:content(有显示的表情内容)、velocity(显示速度)等Behavior control parameters can include: content (displayed emoticons), velocity (display speed), etc.
JSON表示如下:JSON is expressed as follows:
“display_emotion”:{“content”:“happy”,“velocity”:“3”}"display_emotion": {"content": "happy", "velocity": "3"}
12、让机器装置110拍照12, let the machine device 110 take pictures
行为名称为:program_photo;The behavior name is: program_photo;
行为控制参数可包括:flash(是否打开闪光灯)等(诸如已知的相机控制参数,但不限于此)The behavior control parameters may include: flash (whether the flash is turned on) or the like (such as known camera control parameters, but are not limited thereto)
JSON表示如下:JSON is expressed as follows:
“program_photo”:{“flash”:“1”}"program_photo": {"flash": "1"}
13、让机器装置110控制电视13. Let the machine device 110 control the television
行为名称为:control_tv;The behavior name is: control_tv;
行为控制参数可包括:state(例如open、close)等Behavior control parameters can include: state (eg open, close), etc.
JSON表示如下:JSON is expressed as follows:
“control_tv”:{“state”:“open”}"control_tv": {"state": "open"}
14、让机器装置110控制LED灯14. Let the machine unit 110 control the LED lights
行为名称为:control_led;The behavior name is: control_led;
行为控制参数可包括:state(例如open、close)、color等Behavior control parameters can include: state (eg open, close), color, etc.
JSON表示如下:JSON is expressed as follows:
“control_led”:{“state”:“open”,“color”:“yellow”}"control_led": {"state": "open", "color": "yellow"}
应当理解,基本行为仅作为示例性说明,并不是对基本行为的穷举以及对基本行为的分类的限定。实际上,基本行为可以使用任意行为名称,行为控制参数可以为任意数据。例如,对于具有移动能力的机器装置110,还可以定义与移动能力相关的基本行为,但不限于此。 It should be understood that the basic behavior is merely illustrative and is not an exhaustive description of the basic behavior and the classification of the basic behavior. In fact, the basic behavior can use any behavior name, and the behavior control parameter can be any data. For example, for the mobile device 110 having mobility capabilities, basic behaviors related to mobility capabilities may also be defined, but are not limited thereto.
控制数据Control data
在某些示例中,执行逻辑约束可至少包括时间逻辑约束和/或事件逻辑约束,以至少使机器装置110按照时间逻辑产生一个或一组动作,和/或响应于事件产生与事件对应的一个或一组动作,但不限于此。In some examples, the execution logic constraint can include at least a time logic constraint and/or an event logic constraint to cause at least the machine device 110 to generate one or a set of actions in accordance with time logic, and/or to generate an event corresponding to the event in response to the event. Or a set of actions, but not limited to this.
在某些示例中,时间逻辑约束包括与时间有关的约束。可包括一个或多个基本行为同一时刻开始执行;或一个或多个基本行为执行预定时间后执行下一时间节点的一个或多个基本行为;或一个或多个基本行为执行结束后,开始执行下一时间节点的一个或多个基本行为;或按照“时间线”多个基本行为分布在时间线上对应的时间点,在到达时间点时执行相应的基本行为。应当理解,时间逻辑约束可以是上述之一或者组合,以及其他时间约束,但不限于此。In some examples, the time logic constraint includes a time-dependent constraint. One or more basic actions may be included to start execution at the same time; or one or more basic actions may be performed after performing a predetermined time to perform one or more basic actions of the next time node; or after one or more basic behaviors are executed, execution is started One or more basic behaviors of the node at the next time; or a plurality of basic behaviors according to the "timeline" are distributed at corresponding time points on the timeline, and the corresponding basic behavior is performed at the time of arrival. It should be understood that the temporal logic constraint may be one or a combination of the above, as well as other time constraints, but is not limited thereto.
基于上述的基本行为的定义,作为一个例子,控制数据可为包含基本行为和基本行为的执行逻辑的脚本,对应的JSON控制数据可表示如下(“//”中为对对应项的注释说明):Based on the definition of the basic behavior described above, as an example, the control data may be a script containing execution logic of basic behavior and basic behavior, and the corresponding JSON control data may be expressed as follows ("//" is a commentary description of the corresponding item) :
trigger:Trigger:
[“0”:“motion_eye”:{“motor”:“1”,“velocity”:“2”,“angle”:“90”},//眼睛以速度“2”打开“90”(例如90%);[“0”: “motion_eye”: {“motor”: “1”, “velocity”: “2”, “angle”: “90”}, // eye opens “90” with speed “2” (eg 90 %);
“1”:“display_emotion”:{“content”:“happy”,“velocity”:“3”},//显示“happy”表情,并且显示速度为“3”;"1": "display_emotion": {"content": "happy", "velocity": "3"}, / / display "happy" expression, and the display speed is "3";
“2”:“audio_speak”:{“text”:“你好吗”,“volume”:“50%”}//使机器装置说“你好吗?”音量为50%;"2": "audio_speak": {"text": "How are you", "volume": "50%"} / / Make the machine say "How are you?" The volume is 50%;
]]
其中,“0”、“1”和“2”为基本行为的时间逻辑约束,这些行为从“0”到“1”再到“2”依次被执行。该控制数据对应于:先睁开眼睛,然后显示“高兴”表情,最后说“你好吗”。Among them, "0", "1" and "2" are time logic constraints of basic behavior, and these behaviors are sequentially executed from "0" to "1" to "2". The control data corresponds to: first open the eyes, then display the "happy" expression, and finally say "How are you?"
在某些示例中,事件逻辑约束包括响应事件执行动作。事件逻辑约束的动作可包括交互式动作流。交互之动作流的控制数据可包括行为帧和逻辑控制帧,行为帧包括起始行为帧,每个逻辑控制帧连接到一个或多个先前行为帧和一个或多个后续行为帧,逻辑控制帧包括一个或多个控制条件和与该一个或多个控制条件对应的后续行为帧,其中,行为帧对应于一个基本行为或按照时间逻辑约束的多个基本行为。 In some examples, the event logic constraint includes performing an action in response to the event. The actions of the event logic constraints may include interactive action flows. The control data of the interactive action flow may include a behavior frame and a logical control frame, the behavior frame includes a start behavior frame, and each logical control frame is connected to one or more previous behavior frames and one or more subsequent behavior frames, and the logical control frame A one or more control conditions and subsequent behavior frames corresponding to the one or more control conditions are included, wherein the behavioral frame corresponds to a basic behavior or a plurality of basic behaviors that are logically constrained by time.
作为一个非限制性示例,基于上述基本行为的定义,交互式动作流的JSON控制数据可如下所示(“//”后的内容注释说明)。As a non-limiting example, based on the definition of the basic behavior described above, the JSON control data of the interactive action flow can be as follows (the content comment description after "//").
{{
page_id:1000;//交互式动作流唯一标识;Page_id: 1000; / / interactive action flow unique identifier;
item:0{Item:0{
trigger:[Trigger:[
0:[“audio_speak”:{“text”:“你好吗”,“volume”:“50%”}];//基本行为“0”,基本行为的编号为基本行为执行的时间顺序;基本行为“0”为说话,说话的内容被设置为“你好吗”,音量被设置为“50%”;0:["audio_speak":{"text": "How are you", "volume": "50%"}];//Basic behavior "0", the basic behavior number is the chronological order of basic behavior execution; basic The behavior “0” is speaking, the content of the speech is set to “How are you?”, and the volume is set to “50%”;
1:[“audio_sound_music”:{“path”:“http//bpeer.com/happy.mp3”,“volume”:“50%”}];//基本行为“1”,在此为播放音乐,其参数设置为路径“path”和音量“volume”;1:["audio_sound_music":{"path":"http//bpeer.com/happy.mp3", "volume": "50%"}];//Basic behavior "1", here is playing music, Its parameters are set to the path "path" and the volume "volume";
2:[“motion_head”:{“motor”:“1”,“velocity”:“1”,“angle”:“45”},“motion_neck”:{“motor”:“1”,“velocity”:“2”,“angle”:“60”}];//基本“2”,包含两个同时执行的基本行为,头部运动和颈部运动,头部运动被设置为由头部电机“1”执行,运动速度为“1”并且角度为“45”度,颈部运动类似;2: ["motion_head": {"motor": "1", "velocity": "1", "angle": "45"}, "motion_neck": {"motor": "1", "velocity": "2", "angle": "60"}]; / / basic "2", contains two basic behaviors performed simultaneously, head movement and neck movement, head movement is set to be by head motor "1 "Execution, the speed of movement is "1" and the angle is "45" degrees, the neck movement is similar;
]//item0中的行为帧Behavior frame in //item0
flow_map:[Flow_map:[
ifs{Ifs{
ear:“text”:[“好啊”,“我很好”,“你也好”];//控制条件为听到的对话;Ear: "text": ["good", "I am very good", "you are good"]; / / control conditions for the conversation heard;
goto:item 2;Goto:item 2;
}//在听到的内容为“好啊”、或“我很好”、或“你也好”时进入“item2”执行对应的行为帧;}//When the content heard is "good", or "I am fine", or "you are good", enter "item2" to execute the corresponding behavior frame;
ifs{Ifs{
ear:“text”:[“好伤心”,“我不好”,“太难过了”];Ear: "text": ["good sad", "I am not good", "too sad"];
goto:item 1;}Goto:item 1;}
];//item0中的逻辑控制帧,其与item0的trigger相连,作为其先前行为帧,并且基于控制条件链接到“item1”和“item2”中的行为帧,作为其后续行为帧;a logical control frame in /item0, which is connected to the trigger of item0 as its previous behavior frame, and is linked to the behavior frame in "item1" and "item2" based on the control condition as its subsequent behavior frame;
};//交互式动作项“0”,其行为帧作为起始行为帧;}; / / interactive action item "0", its behavior frame as the starting behavior frame;
item:1{Item:1{
trigger:[ Trigger:[
0:[“motion_eye”:{“motor”:“1”,“velocity”:“2”,“angle”:“50”}];0: ["motion_eye": {"motor": "1", "velocity": "2", "angle": "50"}];
1:[“audio_speak”:{“text”:“不要伤心啦,我给你讲个笑话怎么样啊?”,“volume”:“50%”}];];1:["audio_speak":{"text": "Don't be sad, how about telling a joke to you?", "volume": "50%"}];];
flow_map:[Flow_map:[
ifs{Ifs{
ear:“text”:[“好呀”,“好吧”,“可以”];Ear: "text": ["good", "okay", "may"];
goto:item 3;};Goto:item 3;};
ifs{Ifs{
ear:“text”:[“不用了”,“不要”];Ear: "text": ["No need", "Don't"];
goto:item 4;}};Goto:item 4;}};
item:2{Item:2{
trigger:[Trigger:[
0:[“display_emotion”:{“content”:“happy”,“velocity”:“3”}];//该行为帧的基本动作“0”,基本行为为显示表情,表情内容被设置为“happy”,并且显示表情的速度被设置为“3”0: ["display_emotion": {"content": "happy", "velocity": "3"}]; / / The basic action of the behavior frame "0", the basic behavior is to display the expression, the expression content is set to " Happy", and the speed at which the expression is displayed is set to "3"
];];
end;End;
};//交互式动作项“1”;};// interactive action item "1";
item:3{Item:3{
trigger:[Trigger:[
0:[“audio_speak”:{“text”:“笑话”,“volume”:“50%”}];]0: ["audio_speak": {"text": "joke", "volume": "50%"}];]
end;]};End;]};
item:4{Item:4{
trigger:[Trigger:[
0:[“motion_shoulder”:{“motor”:“1”,“velocity”:“3”,“angle”:“60”}];]0:["motion_shoulder": {"motor": "1", "velocity": "3", "angle": "60"}];]
end;]};End;]};
}}
图2为机器装置110的结构示意图。FIG. 2 is a schematic structural view of the machine unit 110.
参考图2,机器装置110包括传感器装置112、通信单元113和计算单元114。计算单元114可包括一个或多个处理器和存储装置以及存储在该存储装置中的一个或多个计 算机程序或者指令集。计算单元114的存储装置包括本地存储装置和/或网络上的存储装置,网络上的存储装置提供了一个或多个处理器对其存储的内容的访问。Referring to FIG. 2, the machine device 110 includes a sensor device 112, a communication unit 113, and a computing unit 114. Computing unit 114 can include one or more processors and storage devices and one or more meters stored in the storage device Computer program or instruction set. The storage device of computing unit 114 includes local storage devices and/or storage devices on the network, and storage devices on the network provide access to content stored by one or more processors.
机器装置110的传感器装置112可感知机器装置110外界的信息,诸如机器装置110所处环境的物品、或人类用户、或机器人、或计算设备等实体的信息,或者物理环境的信息例如温度、或湿度、或气体浓度等。机器装置110的传感器装置还可感知机器装置110本身的信息,例如机器装置110的电量、或机器装置110的温度、或机器装置110的运行时长、机器装置110的姿势状态等。The sensor device 112 of the machine device 110 can sense information external to the machine device 110, such as an item in the environment in which the machine device 110 is located, or an entity such as a human user, or a robot, or a computing device, or information of a physical environment such as temperature, or Humidity, or gas concentration, etc. The sensor device of machine device 110 may also sense information of machine device 110 itself, such as the amount of power of machine device 110, or the temperature of machine device 110, or the length of time of machine device 110, the posture state of machine device 110, and the like.
在某些示例中,传感器装置112可包括可提供信息的任何传感器,诸如麦克风、或摄像头、或照相机、或红外传感器、或感光传感器、或GPS定位传感器、或陀螺仪、运动检测传感器、或加速度传感器、触觉式传感器之一或者任意组合,但不限于此,应当理解传感器装置112还可包括其他可提供信息的传感器。In some examples, sensor device 112 can include any sensor that can provide information, such as a microphone, or a camera, or a camera, or an infrared sensor, or a light sensor, or a GPS position sensor, or a gyroscope, motion detection sensor, or acceleration. One or any combination of sensors, tactile sensors, but not limited thereto, it should be understood that sensor device 112 may also include other sensors that provide information.
在某些示例中,传感器装置112可包括基于软件的传感器,其可提供高等级或精细粒度的信息。除了原始传感器输入以外,这些传感器装置112处理合适的输入数据以提供有意义的信息,例如传感器装置112可包括所说的词语和/或身体姿态/移动的识别模块、面部识别模块、事件检测模块等等。In some examples, sensor device 112 can include a software-based sensor that can provide high level or fine granularity of information. In addition to the raw sensor inputs, these sensor devices 112 process the appropriate input data to provide meaningful information, for example, the sensor device 112 can include the words and/or body gesture/moving identification module, facial recognition module, event detection module. and many more.
在某些示例中,传感器装置112可包括语音识别装置,其可采用已知的语音识别技术,将音频识别得到对应的文本。语音识别装置可为机器装置110本地语音识别模块,语音识别的过程在机器装置110本地执行。或者语音识别装置可为与远程语音识别服务器的代理,用以将音频数据的至少部分信息发送至远程语音识别服务器,以使远程语音识别服务器对音频数据进行识别得到与音频对应的文本,并接收远程语音识别服务器返回的文本。应当理解,语音识别装置不限于上述形式,实际上任何语音识别方法都是可以被采用的。In some examples, sensor device 112 can include a voice recognition device that can recognize the audio to a corresponding text using known speech recognition techniques. The speech recognition device can be a local speech recognition module of the machine device 110, and the process of speech recognition is performed locally at the machine device 110. Or the voice recognition device may be a proxy with the remote voice recognition server for transmitting at least part of the information of the audio data to the remote voice recognition server, so that the remote voice recognition server recognizes the audio data to obtain text corresponding to the audio, and receives The text returned by the remote speech recognition server. It should be understood that the speech recognition apparatus is not limited to the above form, and virtually any speech recognition method can be employed.
在某些示例中,传感器装置112可包括图像识别装置,其可采用已知的图像识别算法,至少识别由机器装置110的摄像头采集到的图像中至少部分信息。图像识别装置可在机器装置110本地进行识别,也可以与远程图像识别服务器配合完成图像识别,但不限于此。本示例对图像识别装置不做限定。In some examples, sensor device 112 can include an image recognition device that can employ at least some of the information captured by the camera of machine device 110 using known image recognition algorithms. The image recognition device may recognize the device device 110 locally, or may cooperate with the remote image recognition server to complete image recognition, but is not limited thereto. This example does not limit the image recognition device.
在某些示例中,传感器装置112还可包括分布在物理环境中的传感器的代理,诸如如图1所示的静态传感器180和/或静态传感器181的代理,其可与静态传感器180和/或静态传感器181通信,以从静态传感器180和/或静态传感器181获取数据,或者向静态传感器180和/或静态传感器181发送指令等。 In some examples, sensor device 112 may also include an agent of sensors distributed in a physical environment, such as a static sensor 180 and/or a proxy for static sensor 181 as shown in FIG. 1, which may be associated with static sensor 180 and/or The static sensor 181 communicates to acquire data from the static sensor 180 and/or the static sensor 181, or to send instructions or the like to the static sensor 180 and/or the static sensor 181.
在某些示例中,计算单元114可包含数据融合组件119,数据融合组件119可融合传感器装置112等输入的多传感器输入数据,得到感知数据。例如,数据融合组件119可按照预先定义的多个数据元素,基于多传感器输入数据生成包含一个或多个数据元素的感知数据。因此可至少部分将机器装置110感知到的信息格式化为多个数据元素的数据。非限制性地,数据融合组件119和在至少部分传感器装置112感知的到信息发生变化时,基于多传感器输入数据生成包含一个或多个数据元素的感知数据,但不限于此。In some examples, computing unit 114 can include data fusion component 119 that can incorporate multi-sensor input data input by sensor device 112 or the like to obtain sensory data. For example, data fusion component 119 can generate perceptual data containing one or more data elements based on multi-sensor input data in accordance with a plurality of predefined data elements. The information perceived by the machine device 110 can thus be at least partially formatted into data for a plurality of data elements. Without limitation, data fusion component 119 and, when at least a portion of sensor device 112 senses a change in information, generates perceptual data containing one or more data elements based on the multi-sensor input data, but is not limited thereto.
作为一个非限制性示例,可预先设定多个数据元素,应当理解下述示例性数据元素的设置不是对数据元素的划分、或数据元素的数量、或数据元素的表达的限定,实际上任何数据元素的划分都是可以被考虑的。数据元素的示例如表1所示。As a non-limiting example, a plurality of data elements may be pre-set, it being understood that the setting of the exemplary data elements described below is not a division of data elements, or a number of data elements, or a definition of a data element, in fact any The division of data elements can all be considered. Examples of data elements are shown in Table 1.
表1 数据元素示例表Table 1 Data element example table
Figure PCTCN2016087260-appb-000001
Figure PCTCN2016087260-appb-000001
Figure PCTCN2016087260-appb-000002
Figure PCTCN2016087260-appb-000002
以表1中数据元素的定义,以下给出了一个示例性感知数据,应当理解,以下感知数据并不是对感知数据的元素个数、或感知数据元素的定义、或感知数据的格式、或感知数据的表达方式的限定。一个示例情况的JSON感知数据表示如下,但不限于此,其他方式也是可行的。With the definition of the data elements in Table 1, an exemplary perceptual data is given below. It should be understood that the following perceptual data is not the number of elements of perceptual data, or the definition of perceptual data elements, or the format or perception of perceptual data. The definition of the way the data is expressed. The JSON-aware data of an example case is expressed as follows, but is not limited thereto, and other methods are also possible.
Figure PCTCN2016087260-appb-000003
Figure PCTCN2016087260-appb-000003
在该示例性的感知数据中,“vision_human_position”记录了人类用户在相对于机器装置110的后面(“back”),“back”也可以用其他字符表示,能区分开不同的位置即可,应当理解位置也可以用“角度值”表示,例如“vision_human_position”:“45°”等。“sensing_touch”记录了人类用户在机器装置110上的触摸,触摸的位置为手(“hand”),“hand”也可以用其他字符表示,能区分开不同的位置即可,应当理解 触摸位置可以由多个,“sensing_touch”的值可以为数组,其记录多个位置。“audio_speak_txt”记录了人类用户所说的内容“很高兴见到你”,所说的内容也可以为音频数据。“audio_speak_language”记录了人类用户所说的语种“chinese”。“vision_human_posture”记录了人类用户的姿势“posture1”,“posture1”也可以用其他字符表示,能区分开不同的姿势即可。“system_date”记录了感知数据产生的日期“2016/3/16”,“system_time”记录了感知数据产生的时间“13-00-00”。“system_power”记录了机器装置110的电量“80%”,应当理解,电量还可以按照其他方式标识。In the exemplary perceptual data, "vision_human_position" records that the human user is behind ("back") relative to the machine device 110, and "back" can also be represented by other characters, which can distinguish different positions, and should The position of understanding can also be expressed by "angle value", such as "vision_human_position": "45°" and the like. "sensing_touch" records the touch of the human user on the machine device 110. The position of the touch is a hand ("hand"), and the "hand" can also be represented by other characters, which can distinguish different positions, it should be understood The touch position can be multiple, and the value of "sensing_touch" can be an array that records multiple locations. "audio_speak_txt" records what the human user said "very happy to see you", and the content can also be audio data. "audio_speak_language" records the language "chinese" spoken by human users. "vision_human_posture" records the human user's gesture "posture1", and "posture1" can also be represented by other characters, which can distinguish different postures. "system_date" records the date "2016/3/16" of the generation of the perceptual data, and "system_time" records the time "13-00-00" of the perceptual data generation. "system_power" records the "80%" of the power of the machine unit 110, it being understood that the amount of power can also be identified in other ways.
作为一个非限制性示例,条件数据可表示如下,应当理解,以下示例的条件数据并不是对条件数据包含的数据元素、或条件数据的格式、或条件数据的条件设置、或条件数据的其他方面的限制,其仅作为示例性说明,实际上,可基于多个预定义的数据元素设置各种类型的条件得到各个类型的条件数据,用任何表达方式来表达条件数据。一个JSON条件数据如下所示,但不限于此,其他方式也是可行的。As a non-limiting example, the condition data may be expressed as follows, it being understood that the condition data of the following examples is not a data element included in the condition data, or a format of the condition data, or a condition setting of the condition data, or other aspects of the condition data. The limitation is merely exemplified. In fact, various types of conditions can be set based on a plurality of predefined data elements to obtain condition data of each type, and the condition data is expressed by any expression. A JSON condition data is shown below, but is not limited thereto, and other methods are also possible.
Figure PCTCN2016087260-appb-000004
Figure PCTCN2016087260-appb-000004
在以上示例的条件数据中,条件数据中包括以下条件:1)““vision_human_position”:“back””,表示人类用户在机器装置110的后面;2)““sensing_touch”:“hand””,表示人类用户触摸机器装置110的手(hand);3)““audio_speak_txt”:“很高兴见到你””,表示人类用户对机器装置110说“很高兴见到你”;以及4)““audio_speak_language”:“chinese””,表示人类用户说话的语言为中文。该条件数据表明了一个场景,当人类用户在机器装置110后面、并触摸机器装置110的手、并用中文说“很高兴见到你”。In the condition data of the above example, the condition data includes the following conditions: 1) "vision_human_position": "back"", indicating that the human user is behind the machine device 110; 2) "sensing_touch": "hand"", indicating The human user touches the hand of the machine device 110; 3) "audio_speak_txt": "I am very happy to see you", indicating that the human user said "very happy to see you" to the machine device 110; and 4) "audio_speak_language ": "chinese"" means that the language spoken by human users is Chinese. The condition data indicates a scene when the human user is behind the machine device 110 and touches the hand of the machine device 110 and says "I am very happy to see you" in Chinese.
条件数据与控制数据相关联,可至少通过条件数据得到对应的控制数据。上述条件数据对应的控制数据可为针对这一场景的反应,例如,作为一个非限制性示例,该条件数据对应的控制数据可为:The condition data is associated with the control data, and the corresponding control data can be obtained at least by the condition data. The control data corresponding to the condition data may be a reaction to the scenario. For example, as a non-limiting example, the control data corresponding to the condition data may be:
“trigger”:{ "trigger": {
“0”:“motion_neck”:{“motor”:“1”,“velocity”:“2”,“angle”:“180”},//颈部电机“1”以速度“2”转动“180”度“0”: “motion_neck”: {“motor”: “1”, “velocity”: “2”, “angle”: “180”}, // neck motor “1” rotates at speed “2” “180” "degree
“1”:“motion_eye”:{“motor”:“1”,“velocity”:“2”,“angle”:“90”},//眼睛以速度“2”打开“90”(例如90%);"1": "motion_eye": {"motor": "1", "velocity": "2", "angle": "90"}, / / eyes open "90" with speed "2" (for example 90% );
“2”:“display_emotion”:{“content”:“happy”,“velocity”:“3”},//显示“happy”表情,并且显示速度为“3”;"2": "display_emotion": {"content": "happy", "velocity": "3"}, / / display "happy" expression, and the display speed is "3";
“3”:“audio_speak”:{“text”:“hi,很高兴见到你”,“volume”:“50%”}//使机器装置说“hi,很高兴见到你”音量为50%;"3": "audio_speak": {"text": "hi, nice to meet you", "volume": "50%"}// Make the machine say "hi, nice to see you" volume is 50 %;
}}
在该示例性控制数据中,包含了“motion_neck”、“motion_eye”“display_emotion”、“audio_speak”几个基本行为,控制数据中定义了基本行为的执行顺序,在该示例中,首先转过头、然后睁开眼睛、然后显示表情“happy”、然后说“hi,很高兴见到你”。In the exemplary control data, there are several basic behaviors of “motion_neck”, “motion_eye”, “display_emotion”, and “audio_speak”, and the execution order of the basic behavior is defined in the control data. In this example, the head is turned first, then Open your eyes, then show the expression "happy", then say "hi, nice to meet you."
计算单元114可包括调度组件117,调度组件117可基于控制数据调度多个用于执行基本行为的组件118,以使机器装置110产生动作。每个用于执行基本行为的组件118用以执行对应的基本行为。调度组件117可基于控制数据对应的基本行为的执行逻辑约束,调度多个用于执行基本行为的组件118,调度组件117可根据控制数据中行为名称确定用于执行行为名称对应的基本行为的用于执行基本行为的组件118,并将行为控制参数传递为该用于执行基本行为的组件118,以使该用于执行基本行为的组件118按照行为控制参数执行该基本行为。基本行为的执行逻辑可包括时间逻辑约束和/或事件逻辑约束。The computing unit 114 can include a scheduling component 117 that can schedule a plurality of components 118 for performing basic behavior based on the control data to cause the machine device 110 to generate an action. Each component 118 for performing basic behavior is used to perform a corresponding basic behavior. The scheduling component 117 can schedule a plurality of components 118 for performing basic behavior based on execution logic constraints of the basic behavior corresponding to the control data, and the scheduling component 117 can determine the basic behavior for performing the behavior name according to the behavior name in the control data. The component 118 is executed to perform the basic behavior, and the behavior control parameter is passed to the component 118 for performing the basic behavior such that the component 118 for performing the basic behavior performs the basic behavior in accordance with the behavior control parameter. The execution logic of the basic behavior may include time logic constraints and/or event logic constraints.
在某些示例中,调度组件117还用于基于参数转换策略,将基本行为中的控制参数转换为用于执行基本行为的组件118的行为控制参数。例如,调度组件117可将音量“80%”转换成用于执行基本行为的组件118的具体音量值“32”,或者将音量“舒适”转换成用于执行基本行为的组件118的具体音量值“32”,但不限于此。实际上,可以通过预置的映射关系或者算法等,将控制数据中基本行为的行为控制参数转换成用于执行基本行为的组件118的行为控制参数。In some examples, the scheduling component 117 is further configured to convert control parameters in the base behavior to behavior control parameters of the component 118 for performing the base behavior based on the parameter conversion strategy. For example, the scheduling component 117 can convert the volume "80%" to a particular volume value "32" of the component 118 for performing the basic behavior, or convert the volume "comfort" to a specific volume value of the component 118 for performing the basic behavior. "32", but not limited to this. In fact, the behavior control parameters of the basic behavior in the control data can be converted into behavior control parameters of the component 118 for performing the basic behavior by a preset mapping relationship or algorithm or the like.
以上述示例的控制数据为例,作为一个非限制性示例,调度组件117可确定控制好数据为时间逻辑约束的多个基本行为,调度组件117根据“motion_neck”判断出基本行为为“颈部运动”,进而调度用于“颈部运动”的组件118,将“motor”、 “velocity”、“angle”等行为控制参数传递给用于“颈部运动”的组件118,“颈部运动”的组件118基于“motor”、“velocity”、“angle”等行为控制参数执行动作。“颈部运动”的组件118执行动作完成时,可向调度组件117返回执行完成状态。调度组件117基于“motion_eye”确定调度用于“眼部运动”的组件118执行动作,用于“眼部运动”的组件118执行完成后,调度组件117基于“display_emotion”确定调度用于“表情显示”的组件118显示表情,调度组件117基于“audio_speak”确定调度用于“说话”的组件118说话。Taking the control data of the above example as an example, as a non-limiting example, the scheduling component 117 can determine that the control data is a plurality of basic behaviors of temporal logic constraints, and the scheduling component 117 determines the basic behavior as "neck motion" according to "motion_neck" ", and then dispatch the component 118 for "neck movement", which will be "motor", Behavioral control parameters such as "velocity", "angle" are passed to component 118 for "neck motion", and component 118 of "neck motion" performs actions based on behavioral control parameters such as "motor", "velocity", "angle", and the like. . When the component 118 of the "neck motion" performs the action completion, the execution completion status can be returned to the dispatch component 117. The scheduling component 117 determines that the component 118 for "eye movement" is scheduled to perform an action based on "motion_eye", and after the execution of the component 118 for "eye movement" is completed, the scheduling component 117 determines the schedule for "expression display" based on "display_emotion" The component 118 displays an expression, and the scheduling component 117 determines to schedule the component 118 for "talking" to speak based on "audio_speak."
控制数据可对应于交互式动作流(包括按照事件逻辑约束的多个基本行为),调度组件117可基于交互式动作流调度多个用于执行基本行为的组件118使机器装置110产生动作。The control data may correspond to an interactive action flow (including a plurality of basic behaviors constrained by event logic), and the scheduling component 117 may schedule a plurality of components 118 for performing basic behavior to cause the machine device 110 to generate an action based on the interactive action flow.
作为一个非限制性示例,以上述交互式动作流为例,“page_id”为交互式动作流的唯一标识,“item”为交互式动作项,在交互式动作流中“item”具有唯一标识,“item”可包括行为帧“trigger”和逻辑控制帧“flow_map”,“trigger”可包括按照时间逻辑约束的一个或多个基本行为,“flow_map”可包括一个或多个控制条件“ifs”以及对应(在该示例中用“goto”标记)的后续行为帧,在该示例中用交互式动作项“item”的唯一标识指代。“item”中还可包括结束标记“end”。As a non-limiting example, taking the above interactive action flow as an example, "page_id" is a unique identifier of the interactive action flow, "item" is an interactive action item, and "item" has a unique identifier in the interactive action flow. "item" may include a behavior frame "trigger" and a logical control frame "flow_map", "trigger" may include one or more basic behaviors that are logically constrained by time, and "flow_map" may include one or more control conditions "ifs" and The subsequent behavior frame corresponding (marked with "goto" in this example) is referred to in this example by the unique identifier of the interactive action item "item". The end tag "end" may also be included in "item".
进入交互式动作流时,调度组件117可基于item的唯一标识确定起始行为帧,并执行起始行为帧,在该示例中,起始行为帧在“item0”中,执行“item0”中的“trigger”,该“trigger”包括按照时间逻辑约束的四个行为,时间逻辑用编号“0”、“1”、“2”等表示。编号“0”对应于基本行为说话,要说的内容被设置为“你好吗”,说话的音量被设置为“50%”,可调度使机器装置100说话的组件按照设定的参数说“你好吗”。在编号“0”执行完成后,执行编号“1”,用于“说话”的组件118在执行完后和返回执行完成的结果,以开始执行编号“1”。编号“1”对应于基本行为播放音乐,要播放的音乐为“http//bpeer.com/happy.mp3”,播放的音量为“50%”,调度组件117可调用使机器装置110播放音乐的组件播放“http//bpeer.com/happy.mp3”。编号“1”执行完后,执行编号“2”。编号“2”包括两个同时执行的基本行为,分别为头部运动和颈部运动,其中,头部运动由头部电机“1”执行,运动速度设置为“1”,运动角度为“45”度;颈部运动由颈部电机“1”执行,运动速度设置为“2”,运动角度为“60”度。 Upon entering the interactive action flow, the scheduling component 117 can determine the starting behavior frame based on the unique identification of the item and execute the starting behavior frame, in this example, the starting behavior frame is in "item0", executing in "item0" "trigger", the "trigger" includes four behaviors that are logically constrained by time, and the time logic is represented by numbers "0", "1", "2", and the like. The number "0" corresponds to the basic behavior, the content to be said is set to "How are you?", the volume of the speech is set to "50%", and the component that causes the machine device 100 to speak can be scheduled according to the set parameters. How are you". After the execution of the number "0" is completed, the number "1" is executed, and the component 118 for "speaking" returns the execution completion result after execution and starts execution of the number "1". The number "1" corresponds to the basic behavior of playing music, the music to be played is "http//bpeer.com/happy.mp3", the volume of the play is "50%", and the scheduling component 117 can call the machine device 110 to play music. The component plays "http//bpeer.com/happy.mp3". After the number "1" is executed, the number "2" is executed. The number "2" includes two basic behaviors performed simultaneously, namely head movement and neck movement, wherein the head movement is performed by the head motor "1", the movement speed is set to "1", and the movement angle is "45". "degree; neck movement is performed by the neck motor "1", the movement speed is set to "2", and the movement angle is "60" degrees.
在某些示例中,执行头部运动和执行颈部运动的组件118可基于执行行为的电机标识确定得到被控制的电机,机器装置110可维护一映射表,将交互式动作流中执行行为的电机标识映射到机器装置110对应的电机。另外,还可维护一映射表将运动速度映射到电机执行的运动速度,交互式动作流中运动速度可为速度档位,例如“1”表示慢速、“2”表示正常速度、“3”表示快速。运动角度也可为相对值,机器装置100可将该相对值转换成执行的最终值。当然,电机并不是对执行机构的限定,其他的被控制对象也可按照相似的方式进行控制。In some examples, component 118 performing head motion and performing neck motion may determine a motor to be controlled based on the motor identification of the performance behavior, and machine device 110 may maintain a mapping table that will perform the behavior in the interactive motion stream. The motor identification is mapped to a motor corresponding to machine device 110. In addition, a mapping table can be maintained to map the motion speed to the motion speed performed by the motor. The motion speed in the interactive motion stream can be a speed gear. For example, “1” means slow speed, “2” means normal speed, “3”. Expressed quickly. The angle of motion can also be a relative value that machine device 100 can convert to a final value of execution. Of course, the motor is not limited to the actuator, and other controlled objects can be controlled in a similar manner.
起始行为帧执行完后,进入与之连接的逻辑控制帧“flow_map”,在“item0”中“flow_map”基于控制条件对应于两个后续行为帧,如果听到“好伤心”、或“我不好”、或“太难过了”,进入“item 1”,以执行“item 1”中的行为帧以及进入“item 1”中的逻辑控制帧中判断;如果听到“好啊”、或“我很好”、或“你也好”,进入“item2”,以执行“item 2”中的行为帧以及进入“item 2”中的逻辑控制帧中判断。After the initial behavior frame is executed, enter the logical control frame "flow_map" connected to it. In "item0", "flow_map" corresponds to two subsequent behavior frames based on the control condition. If you hear "good sad" or "I" Not good, or "too sad", enter "item 1" to perform the behavior frame in "item 1" and enter the logical control frame in "item 1"; if you hear "good", or "I am fine", or "you are good", enter "item2" to perform the behavior frame in "item 2" and enter the logical control frame in "item 2" to judge.
参见上述编码,“item 1”的行为帧“trigger”包括两个基本行为,首先是“0”眼部运动,该行为由眼部电机“1”执行,并且运动速度为“2”运动角度为“50”度;接着为“1”说话,说话的内容为“不要伤心啦,我给你讲个笑话怎么样啊?”,并且说话的音量为“50%”。虽然示例中给出了说话的内容的文本,在某些示例中,也可直接给出说话的内容的音频数据。基本行为“1”说话完成后,进入与之连接的逻辑控制帧“flow_map”,该“flow_map”基于控制条件连接到两个后续行为帧,分别为“item3”和“item4”中的行为帧,其中,如果控制输入中听到的内容为“好呀”或者“好吧”或者“可以”,进入“item3”执行其中的行为帧;如果控制输入中听到的内容为“不用了”或者“不要”,进入“item4”执行其中的行为帧。Referring to the above code, the behavior frame "trigger" of "item 1" includes two basic behaviors, firstly the "0" eye movement, which is performed by the eye motor "1", and the movement speed is "2". "50" degrees; then speak for "1", the content of the speech is "Don't be sad, how about telling a joke to you?", and the volume of the speech is "50%". Although the text of the spoken content is given in the example, in some examples, the audio data of the spoken content may also be directly given. After the basic behavior "1" is completed, it enters the logical control frame "flow_map" connected thereto, and the "flow_map" is connected to two subsequent behavior frames based on the control condition, which are behavior frames in "item3" and "item4", respectively. If the content heard in the control input is "good" or "okay" or "may", enter "item3" to execute the behavior frame; if the content heard in the control input is "not used" or " Don't go to "item4" to execute the behavior frame in it.
在上述示例中,“0:[“display_emotion”:{“content”:“happy”,“velocity”:“3”}]”定义了机器装置110显示表情的行为,被显示的表情为“happy”,机器装置110可维护一表情动画与表情标识的对应关系,基于“happy”获取与之对应的表情动画,并显示该表情动画,但不限于此。In the above example, "0: ["display_emotion": {"content": "happy", "velocity": "3"}]" defines the behavior of the machine device 110 displaying an expression, and the displayed expression is "happy" The machine device 110 can maintain a correspondence between an expression animation and an expression identifier, acquire an animation corresponding to the expression based on “happy”, and display the animation of the expression, but is not limited thereto.
用于执行基本行为的组件118可包括软件组件和/或硬件组件。用于执行基本行为的组件118可被调度组件117调度,并可提供一个或多个行为控制参数,例如通过软件接口的方式提供调用接口。 Component 118 for performing basic behaviors can include software components and/or hardware components. The component 118 for performing the basic behavior can be scheduled by the scheduling component 117 and can provide one or more behavior control parameters, such as a call interface via a software interface.
作为非限制性示例,用于“说话”的组件118可包括语音合成部分和音频播放部分,语音合成部分可合成文本对应的音频,语音合成部分可包括本地语音合成,也可作 为与语音合成服务器的接口,将文本传输至语音合成服务器并接收语音合成服务器返回的音频。音频播放部分包括音频电路和扬声器等硬件还包括音频处理程序,音频电路用于向数据信号转换成电信号,将电信号传输为扬声器,扬声器基于电信号产生声音,音频处理程序用于对音频数据进行解码等。用于“说话”的组件118也可不包括语音合成部分,例如控制数据中可包含音频数据。As a non-limiting example, the component 118 for "speaking" may include a speech synthesis portion and an audio playback portion, the speech synthesis portion may synthesize audio corresponding to the text, and the speech synthesis portion may include local speech synthesis, or may be For the interface with the speech synthesis server, the text is transmitted to the speech synthesis server and the audio returned by the speech synthesis server is received. The audio playback portion includes an audio circuit and a speaker, and the like, and an audio processing program for converting the data signal into an electrical signal, transmitting the electrical signal as a speaker, the speaker generating the sound based on the electrical signal, and the audio processing program for the audio data. Perform decoding and so on. The component 118 for "talking" may also not include a speech synthesis portion, such as audio data may be included in the control data.
作为非限制性示例,用于“表情显示”的组件118可包括表情获取部分和显示部分,表情获取部分用于根据表情控制参数获取对应的表情图像(例如多帧图像构成的动作),显示部分包括用于使显示器显示内容的程序,可使显示器显示表情图像。As a non-limiting example, the component 118 for "expression display" may include an expression acquisition portion and a display portion for acquiring a corresponding expression image (for example, an action composed of a multi-frame image) according to the expression control parameter, the display portion A program for causing the display to display content allows the display to display an emoticon image.
作为非限制性示例,用于“眼部运动”的组件118,可包括眼部执行器和命令生成部分,命令生成部分用于基于行为控制参数产生对执行器的控制命令,执行器可包括电机、或继电器等可使执行机构产生运动的装置。As a non-limiting example, component 118 for "eye movement" can include an eye executor and a command generation portion for generating a control command to the actuator based on the behavior control parameter, the actuator can include a motor , or a relay or the like that causes the actuator to produce motion.
应当理解,用于执行基本行为的组件118并不限于上述的形式,上述示例并不是对用于执行基本行为的组件118的限定,实际上,可包括任何类型的用于执行基本行为的组件118,在此不再一一赘述。It should be understood that the component 118 for performing the basic behavior is not limited to the above-described form, and the above examples are not limitations on the component 118 for performing basic behavior, and may actually include any type of component 118 for performing basic behavior. I will not repeat them here.
图3为为机器装置110加载控制数据的系统300的示意图。FIG. 3 is a schematic diagram of a system 300 for loading control data for a machine device 110.
参考图3,为机器装置110加载控制数据的系统300可包括:搜索管理组件310、多个搜索模块320(在图3中示为3201~320n)。Referring to FIG. 3, a system 300 for loading control data for a machine device 110 can include a search management component 310, a plurality of search modules 320 (shown as 320 1 - 320 n in FIG. 3).
搜索管理组件310被配置为将机器装置110对应的感知数据提供给多个搜索模块320。多个搜索模块320中的每一个被配置为从不同的控制数据集合搜索与该感知数据匹配的控制数据。搜索管理组件310提供来自多个搜索模块320的至少一个控制数据的候选项。机器装置110使用控制数据的候选项控制机器装置110产生动作。The search management component 310 is configured to provide the sensory data corresponding to the machine device 110 to the plurality of search modules 320. Each of the plurality of search modules 320 is configured to search for control data that matches the perceptual data from a different set of control data. The search management component 310 provides candidates for at least one control data from the plurality of search modules 320. The machine device 110 controls the machine device 110 to generate an action using the candidate of the control data.
作为一个非限制性示例,多个搜索模块320中的一个被配置为从机器装置110本地和/或者机器装置110连接的本地网络的控制数据集合中搜索与感知数据匹配的控制数据,多个搜索模块320中的另一个被配置为从远程计算机系统的控制数据集合中搜索与感知数据匹配的控制数据,但不限于此。As a non-limiting example, one of the plurality of search modules 320 is configured to search for control data matching the perceptual data from a set of control data of the local network to which the machine device 110 is local and/or connected to the machine device 110, multiple searches The other of the modules 320 is configured to search for control data matching the perceptual data from the control data set of the remote computer system, but is not limited thereto.
作为一个非限制性示例,多个搜索模块320中的一个可被配置为从机器装置110的控制数据集合中搜索与感知数据匹配的控制数据,多个搜索模块320中的另一个可被配置为从机器装置110的机器装置版本对应的控制数据集合中搜索与感知数据匹配的控制 数据,多个搜索模块320中的又一个被配置为从通用的控制数据集合中搜索与感知数据匹配的控制数据,但不限于此。As a non-limiting example, one of the plurality of search modules 320 can be configured to search for control data that matches the perceptual data from the control data set of the machine device 110, and the other of the plurality of search modules 320 can be configured to Searching for control matching the sensory data from the control data set corresponding to the machine device version of the machine device 110 Data, yet another one of the plurality of search modules 320 is configured to search for control data that matches the perceptual data from a common set of control data, but is not limited thereto.
非限制性地,机器装置110的控制数据集合可包括机器装置110的用户配置的控制数据,机器装置110的机器装置版本的控制数据集合可包括机器装置的厂商提供的控制数据,多中机器装置的通用的控制数据集合可包括适用于多种机器装置的控制数据,但不限于此。Without limitation, the control data set of machine device 110 may include user-configured control data for machine device 110, and the control data set for the machine device version of machine device 110 may include control data provided by the manufacturer of the machine device, multiple medium machine devices The general control data set may include control data suitable for a variety of machine devices, but is not limited thereto.
作为一个非限制性示例,多个搜索模块320被配置为从不同模式对应的控制数据数据集合中搜索与感知数据匹配的控制数据。非限制性地,不同模式可对应不同的控制数据集合,该不同模式可按照多种方式划分,诸如不同的场景、不同的情绪、不同的性格、不同的职业属性等等,但不限于此。As a non-limiting example, the plurality of search modules 320 are configured to search for control data that matches the perceptual data from a set of control data data corresponding to the different modes. Without limitation, the different modes may correspond to different sets of control data, which may be divided in various ways, such as different scenes, different emotions, different personalities, different professional attributes, and the like, but are not limited thereto.
在某些示例中,搜索管理组件310被配置为将机器装置110对应的感知数据分别地提供给多个搜索模块320,直到多个搜索模块320中的一个提供控制数据候选项。搜索管理组件310可将控制数据提供给机器装置110,机器装置110可使用搜索管理组件310的控制控制数据控制机器装置110产生动作。In some examples, the search management component 310 is configured to provide the perceptual data corresponding to the machine device 110 to the plurality of search modules 320, respectively, until one of the plurality of search modules 320 provides control data candidates. The search management component 310 can provide control data to the machine device 110, which can use the control control data of the search management component 310 to control the machine device 110 to generate actions.
在某些示例中,搜索管理组件310被配置为并行地将感知数据提供给多个搜索模块320,搜索管理组件310基于一全局算法从多个搜索模块320提供的控制数据的候选项中选择控制数据,以得到控制机器装置110产生动作的控制数据。非限制性地,全局算法可从多个控制数据数据的候选项中选择提供给机器装置110的控制数据。In some examples, the search management component 310 is configured to provide the perceptual data to the plurality of search modules 320 in parallel, the search management component 310 selecting controls from the candidates of the control data provided by the plurality of search modules 320 based on a global algorithm. The data is used to obtain control data that controls the machine device 110 to generate an action. Without limitation, the global algorithm may select control data provided to the machine device 110 from among a plurality of candidates for control data data.
在某些示例中,搜索管理组件310被配置为维护不同控制数据集合或多个搜索模块320的优先级。非限制性地,搜索管理组件310可被配置为按照该优先级,将感知数据分别地提供给多个搜索模块320,直到多个搜索模块320中的一个提供与感知数据匹配的控制数据的候选项。非限制性地,搜索管理组件310的全局算法可至少依据不同控制数据集合或多个搜索模块320的优先级,从多个控制数据数据的候选项中选择提供给机器装置110的控制数据。In some examples, search management component 310 is configured to maintain the priority of different control data sets or multiple search modules 320. Without limitation, the search management component 310 can be configured to provide the perceptual data to the plurality of search modules 320, respectively, according to the priority, until one of the plurality of search modules 320 provides a candidate for control data that matches the perceptual data item. Without limitation, the global algorithm of the search management component 310 can select control data provided to the machine device 110 from among a plurality of candidates for the control data data, depending at least on the priority of the different control data sets or the plurality of search modules 320.
在某些示例中,多个搜索模块320可以采用不同的算法,也可以采用相同的算法,本实施例对此不做限定。In some examples, the multiple search modules 320 may use different algorithms or the same algorithm, which is not limited in this embodiment.
作为一个非限制性示例,多个搜索模块320可被配置为将感知数据与条件数据进行匹配,得到与感知数据匹配的控制数据。在某些示例中,感知数据和条件数据中可包含多个数据元素,多个数据元素可被设定优先级,该优先级可用于确定感知数据与条件数据的匹配程度,但不限于此。 As a non-limiting example, the plurality of search modules 320 can be configured to match the perceptual data to the condition data to obtain control data that matches the perceptual data. In some examples, the sensing data and the condition data may include a plurality of data elements, and the plurality of data elements may be prioritized, the priority may be used to determine the degree of matching of the sensing data with the condition data, but is not limited thereto.
下面对为机器装置110加载控制数据的示例进行说明。An example of loading control data for the machine device 110 will now be described.
图4为在本地和服务器为机器装置110加载控制数据的示意图。4 is a schematic diagram of loading control data for machine device 110 locally and at a server.
参考图4,机器装置110包括搜索管理模块121和第一搜索模块122,其中,第一搜索模块122,被配置为在机器装置110本地或连接到的本地网络上的本地控制数据集合中搜索与机器装置110的感知数据匹配的控制数据的候选项。Referring to FIG. 4, the machine device 110 includes a search management module 121 and a first search module 122, wherein the first search module 122 is configured to search and search for local control data sets on the local network connected to or connected to the machine device 110. The candidate of the control data matched by the sensor data of the machine device 110.
服务器140包括第二搜索模块142。搜索管理模块121可在通信信号中发送机器装置110的感知数据,以在服务器140处被接收。服务器140可在通信信号中接收感知数据,第二搜索模块142可在服务器控制数据集合143中搜索与感知数据匹配的控制数据的候选项。服务器140可在通信信号中发送控制数据的候选项,以在机器装置110处的搜索管理模块121处被接收。机器装置110处的搜索管理模块121可接收服务器处140处的第二搜索模块142提供的控制数据的候选项。 Server 140 includes a second search module 142. The search management module 121 can transmit the sensory data of the machine device 110 in the communication signal for receipt at the server 140. The server 140 can receive the perceptual data in the communication signal, and the second search module 142 can search the server control data set 143 for candidates for the control data that match the perceptual data. Server 140 may send a candidate for control data in the communication signal to be received at search management module 121 at machine device 110. The search management module 121 at the machine device 110 can receive candidates for control data provided by the second search module 142 at the server 140.
作为一个非限制性示例,机器装置110处的搜索管理模块121可分别地将感知数据提供给第一搜索模块122和服务器140处的第二搜索模块142,直到第一搜索模块122或第二搜索模块142中的一个提供控制数据候选项。在某些示例中,搜索管理模块121可被配置为维护一优先级排序,按照该优先级排序将感知数据分别地提供给第一搜索模块122和第二搜索模块142,但不限于此。As a non-limiting example, the search management module 121 at the machine device 110 can provide the perceptual data to the first search module 122 and the second search module 142 at the server 140, respectively, until the first search module 122 or the second search One of the modules 142 provides control data candidates. In some examples, the search management module 121 can be configured to maintain a prioritization in which the perceptual data is provided to the first search module 122 and the second search module 142, respectively, but is not limited thereto.
作为另一个非限制性示例,机器装置110处的搜索管理模块121可并行地将感知数据提供给第一搜索模块122和服务器140处的第二搜索模块142,搜索管理模块121基于一全局算法从第一搜索模块122和第二搜索模块142提供的控制数据候选项中选择用来控制机器装置110产生动作的控制数据。在某些示例中,全局算法可依据第一搜索模块122和第二搜索模块142的优先级、和/或控制数据的匹配程度、和/或提供控制数据候选项的时间等来选择用来控制机器装置110产生动作的控制数据,应当说明的是,该示例仅作为举例说明,本发明实施例并不限于此。As another non-limiting example, the search management module 121 at the machine device 110 can provide the perceptual data to the first search module 122 and the second search module 142 at the server 140 in parallel, the search management module 121 based on a global algorithm Control data for controlling the machine device 110 to generate an action is selected among the control data candidates provided by the first search module 122 and the second search module 142. In some examples, the global algorithm may be selected for control based on the priority of the first search module 122 and the second search module 142, and/or the degree of matching of the control data, and/or the time at which the data candidates are provided, and the like. The machine device 110 generates control data for the action. It should be noted that the example is merely illustrative, and the embodiment of the present invention is not limited thereto.
图5为从不同的控制数据范围加载控制数据的示意图。Figure 5 is a schematic diagram of loading control data from different control data ranges.
参考图5,在示例中,包括三个控制数据集合,如图5所示分别为第一控制数据集合511、第二控制数据集合521和第三控制数据集合531。其中,第一搜索模块510用于搜索第一控制数据集合511,第二搜索模块520用于搜索第二控制数据集合521,第三搜 索模块530用于搜索第三控制数据集合531。应当理解,该示例中,可以包括更多或更好的控制数据集合和/或搜索模块,图5并不是对数量的限制。Referring to FIG. 5, in the example, three control data sets are included, as shown in FIG. 5, respectively, a first control data set 511, a second control data set 521, and a third control data set 531. The first search module 510 is configured to search the first control data set 511, and the second search module 520 is configured to search the second control data set 521, the third search The cable module 530 is used to search for the third control data set 531. It should be understood that in this example, more or better control data sets and/or search modules may be included, and FIG. 5 is not a limitation on the number.
在一个示例中,第一控制数据集合511可为机器装置110的控制数据集合,机器装置110的控制数据集合可为专用于机器装置110的控制数据,但不限于此;第二控制数据集合521可为机器装置110的机器装置版本的控制数据集合,不同的机器装置版本可设置不同或相同的控制数据集合,本实施例对此不做限定;第三控制数据集合531可为通用控制数据集合,其可被多种机器装置版本使用。In one example, the first control data set 511 can be a control data set of the machine device 110, and the control data set of the machine device 110 can be control data specific to the machine device 110, but is not limited thereto; the second control data set 521 The control data set of the machine device version of the machine device 110 may be different. The different device device versions may be set with different or the same control data set, which is not limited in this embodiment; the third control data set 531 may be a general control data set. It can be used by a variety of machine versions.
在该示例中,搜索管理模块500可分别地将感知数据提供给第一搜索模块510、第二搜索模块520和第三搜索模块530,直到其中一个提供控制数据的候选项。非限制性地,搜索管理模块500可维护一优先级,搜索管理模块500可按照该优先级将感知数据分别地提供给第一搜索模块510、第二搜索模块520和第三搜索模块530。第一搜索模块510、第二搜索模块520和第三搜索模块530可对应于不同的搜索算法,也可对应于相同的搜索算法,本示例对此不做限定。作为一个示例,上述优先级从高到低的顺序为:机器装置110的控制数据集合、机器装置110对应机器装置版本的控制数据集合、通用的控制数据集合。In this example, the search management module 500 can provide the perceptual data to the first search module 510, the second search module 520, and the third search module 530, respectively, until one of them provides a candidate for the control data. Without limitation, the search management module 500 can maintain a priority, and the search management module 500 can provide the perceived data to the first search module 510, the second search module 520, and the third search module 530, respectively, according to the priority. The first search module 510, the second search module 520, and the third search module 530 may correspond to different search algorithms, and may also correspond to the same search algorithm, which is not limited in this example. As an example, the order of priority from high to low is: a control data set of the machine device 110, a control data set corresponding to the machine device version of the machine device 110, and a general control data set.
在该示例中,搜索管理模块500可并行地将感知数据提供给第一搜索模块510、第二搜索模块520和第三搜索模块530。搜索管理模块500可基于一全局算法,从第一搜索模块510、第二搜索模块520和第三搜索模块530提供的控制数据的候选项中,选择用于控制机器装置110产生动作的控制数据。In this example, the search management module 500 can provide the perceptual data to the first search module 510, the second search module 520, and the third search module 530 in parallel. The search management module 500 may select control data for controlling the machine device 110 to generate an action from the candidates of the control data provided by the first search module 510, the second search module 520, and the third search module 530 based on a global algorithm.
在另一个示例中,第一控制数据集合511、第二控制数据集合521和第三控制数据集合531,可对应于不同模式,不同的模式对应于机器装置不同的动作。作为一个例子,第一控制数据集合511可对应于独处模式,第二控制数据集合521可对应于交互模式,第三控制数据集合531可对应于睡眠模式,但不限于此。不同模式对应的控制数据集合中,相应的条件数据中的数据元素可以不同,控制数据中的基本行为可以不同,但本实施例对此不做限定。In another example, the first control data set 511, the second control data set 521, and the third control data set 531 may correspond to different modes, and the different modes correspond to different actions of the machine device. As an example, the first control data set 511 may correspond to a solitude mode, the second control data set 521 may correspond to an interaction mode, and the third control data set 531 may correspond to a sleep mode, but is not limited thereto. In the control data set corresponding to the different modes, the data elements in the corresponding condition data may be different, and the basic behavior in the control data may be different, but this embodiment does not limit this.
图6为机器装置110的一结构示意图。FIG. 6 is a schematic structural view of the machine unit 110.
参考图6,机器装置110包括可感知实体或者环境的传感器装置,其可表示对应于可能的输入模块的数据的源2021-202m,多个数据源的数据构成多传感器输入数据206。 Referring to Figure 6, machine device 110 includes a sensory device that senses an entity or environment, which can represent sources 202 1 - 202 m of data corresponding to possible input modules, the data of which is comprised of multi-sensor input data 206.
尽管源2021-2024可示出各种传感器模块的特定示例,这些示例不是传感器模块的潜在配置的穷尽,且其他传感器模块202m可包括任何数量的包括感知实体活动状态的传感器模块,诸如红外人体传感器等等。其他可被利用的输入数据包括来自设备的电子墨水、触摸、语音、身体位置/身体语言、面部表情、脑波计算机输入、键盘、操纵物理接口(例如手套或触觉接口)等。情绪感应,诸如将面部表情与面部颜色改变、温度、握力压力和/或情绪的其他可能的指示,也可作为一个可行的输入数据。Although the sources 202 1 - 202 4 may show specific examples of various sensor modules, these examples are not exhaustive of the potential configuration of the sensor modules, and other sensor modules 202 m may include any number of sensor modules including sensing entity activity states, such as Infrared body sensors and more. Other input data that can be utilized include electronic ink from the device, touch, voice, body position/body language, facial expressions, brainwave computer input, keyboard, manipulation of physical interfaces (eg, gloves or tactile interfaces), and the like. Emotional sensing, such as facial expressions and facial color changes, temperature, grip pressure and/or other possible indications of emotions, can also be used as a viable input data.
在某些示例中,运动检测传感器模块2021提供各种环境和/或实体数据,包括实体移动和/或姿势等。语音识别模块2022可根据所说语音的语法将音频数据解析为词语和/或句子,可替代地,还可从音频数据中提取声源的声纹、声源的方向等。事件检测装置2023可检测环境和/或实体的事件,提供实体和/或环境的事件数据。面部识别模块2024可检测并标识图像数据(例如,一个图像或一组图像)和/或视频数据(例如,视频帧)中的(人)脸。面部识别模块2024可包括硬件组件和/或软件组件。In some examples, motion detection sensor module 202 1 provides various environmental and/or entity data, including physical movements and/or gestures, and the like. The speech recognition module 202 2 can parse the audio data into words and/or sentences according to the syntax of the speech. Alternatively, the voiceprint of the sound source, the direction of the sound source, and the like can be extracted from the audio data. Event detection device 202 3 can detect events of the environment and/or entity, providing event data for entities and/or environments. The facial recognition module 202 4 can detect and identify (human) faces in image data (eg, an image or a set of images) and/or video data (eg, video frames). The facial recognition module 202 4 can include hardware components and/or software components.
在某些示例中,数据融合组件204可集成源2021-202m的多传感器输入数据206,基于多传感器输入数据的至少部分按照预定义的多个数据元素,形成包含一个或多个数据元素的感知数据212。数据融合组件204可基于多传感器输入数据更新感知数据206。数据元素可参见表1所示的数据元素,但不限于此。数据融合组件204可在源2021-202m的多传感器输入数据206发生变化时,基于多传感器输入数据的至少部分按照预定义的多个数据元素,形成包含一个或多个数据元素的感知数据212。源2021-202m可在感知到的信息发生变化时,更新多传感器输入数据,使数据融合组件204产生感知数据,但不限于此。In some examples, data fusion component 204 can integrate multi-sensor input data 206 of sources 202 1 - 202 m to form one or more data elements based on at least a portion of the multi-sensor input data in accordance with a predefined plurality of data elements Perceptual data 212. Data fusion component 204 can update perceptual data 206 based on multi-sensor input data. The data elements can be referred to the data elements shown in Table 1, but are not limited thereto. The data fusion component 204 can form the perceptual data comprising one or more data elements based on at least a portion of the plurality of sensor input data in accordance with the predefined plurality of data elements as the multi-sensor input data 206 of the sources 202 1 - 202 m changes. 212. The sources 202 1 - 202 m may update the multi-sensor input data when the perceived information changes, causing the data fusion component 204 to generate the perceptual data, but is not limited thereto.
搜索组件222可基于感知数据212搜索控制数据集合214中的控制数据216,以得到用于控制机器装置110产生动作的控制数据220。控制数据集合214中的控制数据216可包括机器装置110的用户编辑的控制数据、和/或机器装置110执行过的控制数据、以及其他更多控制数据等。The search component 222 can search the control data 216 in the control data set 214 based on the perceptual data 212 to obtain control data 220 for controlling the machine device 110 to generate an action. Control data 216 in control data set 214 may include control data edited by a user of machine device 110, and/or control data executed by machine device 110, as well as other more control data, and the like.
调度组件218可基于控制数据220调度用于执行基本行为的组件210,以使机器装置110产生动作。参考图6,示出了用于执行基本行为的组件2101-210m,用于执行基本行为的组件2101-210m的每一个可执行对应的基本行为。The scheduling component 218 can schedule the component 210 for performing the basic behavior based on the control data 220 to cause the machine device 110 to generate an action. Referring to Figure 6, illustrates components for performing the basic behavior 210 1 -210 m, the fundamental behavior for each component performs a corresponding executable basic behavior of the 210 1 -210 m.
传输组件208可在通信信号中发送感知数据212,以在服务器140处的传输模块141被接收,和/或在本地用户终端120或远程用户终端130处被接收。传输组件208可接收由服务器140传送的控制数据220,和/或接收由本地用户终端120或远程用户终端130 传送的控制数据220。调度组件218可基于传输组件208接收到的控制数据220,调度用于执行基本行为的组件2101-210m以使机器装置110产生动作。 Transmission component 208 can transmit perceptual data 212 in the communication signal to be received at transmission module 141 at server 140, and/or at local user terminal 120 or remote user terminal 130. Transmission component 208 can receive control data 220 transmitted by server 140 and/or receive control data 220 transmitted by local user terminal 120 or remote user terminal 130. The scheduling component 218 can schedule the components 210 1 - 210 m for performing the basic behavior based on the control data 220 received by the transmission component 208 to cause the machine device 110 to generate an action.
在某些示例中,搜索组件222可在未找到感知数据212对应的控制数据220时,使传输组件208向服务器140传输感知数据212,以从服务器140处获取感知数据212对应的控制数据220,但不限于此。In some examples, the search component 222 can cause the transmission component 208 to transmit the sensing data 212 to the server 140 to obtain the control data 220 corresponding to the sensing data 212 from the server 140 when the control data 220 corresponding to the sensing data 212 is not found. But it is not limited to this.
图7为为机器装置110加载控制数据的方法的流程图。7 is a flow chart of a method of loading control data for machine device 110.
参考图7,该方法包括步骤701至步骤704。Referring to FIG. 7, the method includes steps 701 to 704.
步骤701,输入机器装置110的感知数据。In step 701, the sensory data of the machine device 110 is input.
步骤702,将感知数据提供给多个搜索模块。其中,多个搜索模块中的每一个用于从不同的控制数据集合搜索与所述感知数据匹配的控制数据,其中控制数据用于使机器装置产生动作,其中动作包括行为类型和/或运动类型的动作。 Step 702, providing the sensing data to the plurality of search modules. Wherein each of the plurality of search modules is for searching for control data matching the perceptual data from a different set of control data, wherein the control data is for causing the machine device to generate an action, wherein the action comprises a behavior type and/or a motion type Actions.
步骤703,提供来自多个搜索模块的至少一个控制数据的候选项。 Step 703, providing candidates for at least one control data from the plurality of search modules.
步骤704,使用控制数据的候选项控制机器装置110产生动作。 Step 704, using the candidate of the control data to control the machine device 110 to generate an action.
在一个示例中,上述感知数据可被分别地提供给多个搜索模块,直到多个搜索模块中的一个提供控制数据。非限制性地,多个搜索模块可被按照优先级排序,感知数据被按照该优先级分别地提供给该多个搜索模块。In one example, the perceptual data described above may be provided to a plurality of search modules separately until one of the plurality of search modules provides control data. Without limitation, a plurality of search modules may be ordered in order of priority, and the perceptual data is separately provided to the plurality of search modules in accordance with the priority.
在一个示例中,感知数据可被并行地提供给多个搜索模块,在该示例中还可基于全局算法选择来自多个搜索模块的控制数据的候选项。In one example, the perceptual data can be provided in parallel to a plurality of search modules, in which case candidates for control data from the plurality of search modules can also be selected based on the global algorithm.
在一个示例中,不同的控制数据集合中的一个存储在机器装置本地和/或机器装置连接到的局域网络。非限制性地,不同的控制数据集合中的另一个可存储在远程计算机系统中。In one example, one of the different sets of control data is stored locally on the machine device and/or the local area to which the machine device is connected. Without limitation, another of the different sets of control data may be stored in a remote computer system.
在一个示例中,不同的控制数据集合中的每个控制数据数据集合对应于机器装置的不同模式。In one example, each of the different sets of control data data corresponds to a different mode of the machine device.
在一个示例中,不同的控制数据集合包括所述机器装置的控制数据集合、或所述机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合。非限制性地,不同的控制数据集合可被按照优先级排序。In one example, the different sets of control data include any combination of the control data set of the machine device, or the control data set of the machine device corresponding machine version, or a control data set common to a plurality of machine devices. Without limitation, different sets of control data may be ordered by priority.
在一个示例中,感知数据被分别地提供给所述多个搜索模块,直到多个搜索模块中的一个提供所述控制数据;且,多个搜索模块被按照不同的控制数据集合的优先级排序,感知数据被按照该优先级分别地提供给多个搜索模块。 In one example, the perceptual data is separately provided to the plurality of search modules until one of the plurality of search modules provides the control data; and the plurality of search modules are ordered according to the priority of the different control data sets The sensing data is separately provided to the plurality of search modules in accordance with the priority.
在一个示例中,感知数据可被并行地提供给多个搜索模块,还可基于全局算法选择来自所述多个搜索模块的控制数据的候选项。非限制性地,该全局算法的参数至少包括不同的控制数据集合的优先级。In one example, the perceptual data may be provided to a plurality of search modules in parallel, and candidates for control data from the plurality of search modules may also be selected based on a global algorithm. Without limitation, the parameters of the global algorithm include at least the priority of different sets of control data.
在一个示例中,多个搜索模块可基于与控制数据关联的条件数据搜索控制数据,其中,条件数据基于与生成感知数据的预定义的多个数据元素对应的多个数据元素产生。In one example, the plurality of search modules can search for control data based on conditional data associated with the control data, wherein the conditional data is generated based on a plurality of data elements corresponding to a predefined plurality of data elements that generate the perceptual data.
在一个示例中,条件数据中多个数据元素至少部分可被按照优先级排序,多个搜索模块按照优先级排序搜索感知数据匹配的控制数据的候选项。In one example, a plurality of data elements in the condition data may be at least partially ordered in order of priority, and the plurality of search modules sort the candidates of the control data that the perceptual data matches in order of priority.
在一个示例中,多个搜索模块可基于感知数据与条件数据中至少部分数据元素匹配,来加载感知数据匹配的控制数据的候选项。In one example, the plurality of search modules can load candidates for the control data that are aware of the data match based on the sensing data matching at least a portion of the data elements in the condition data.
在一个示例中,其中控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,该基本行为中的每一个可直接地被机器装置执行。非限制性地,基本行为的每一个由行为名称和行为控制参数定义。In one example, where the control data corresponds to a basic behavior or has a plurality of basic behaviors that perform logical constraints, wherein each of the basic behaviors can be directly performed by the machine device. Without limitation, each of the basic behaviors is defined by a behavior name and behavior control parameters.
在一个示例中,多个搜索模块对应不同的搜索算法。In one example, multiple search modules correspond to different search algorithms.
上述方法的其他部分参见上述示例的描述,在此不再一一赘述。For other parts of the above method, refer to the description of the above example, and details are not described herein again.
本发明实施例实现了如下技术效果:根据不同的控制数据集合来控制机器装置产生动作,提高控制机器装置的效果。The embodiment of the invention achieves the following technical effects: controlling the machine device to generate an action according to different control data sets, and improving the effect of controlling the machine device.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various changes and modifications may be made to the embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (50)

  1. 一种为机器装置加载控制数据的方法,其特征在于,包括:A method for loading control data for a machine device, comprising:
    输入机器装置对应的感知数据,其中,所述感知数据基于所述机器装置感知的信息按照预定义的多个数据元素中至少部分生成;Entering perceptual data corresponding to the machine device, wherein the perceptual data is generated according to information sensed by the machine device according to at least part of a predefined plurality of data elements;
    将所述感知数据提供给多个搜索模块,其中,所述多个搜索模块中的每一个用于从不同的控制数据集合搜索与所述感知数据匹配的控制数据,其中所述控制数据用于使机器装置产生动作,其中所述动作包括行为类型和/或运动类型的动作;Providing the perceptual data to a plurality of search modules, wherein each of the plurality of search modules is configured to search for control data matching the perceptual data from different sets of control data, wherein the control data is for Generating an action by the machine device, wherein the action comprises an action type and/or a motion type of action;
    提供来自所述多个搜索模块的至少一个控制数据的候选项;以及Providing candidates for at least one control data from the plurality of search modules;
    使用所述控制数据的候选项控制所述机器装置产生动作。The machine device is used to generate an action using the candidate of the control data.
  2. 如权利要求1所述的方法,其特征在于,所述感知数据被分别地提供给所述多个搜索模块,直到所述多个搜索模块中的一个提供所述控制数据。The method of claim 1 wherein said perceptual data is provided to said plurality of search modules separately until one of said plurality of search modules provides said control data.
  3. 如权利要求2所述的方法,其特征在于,所述多个搜索模块或所述不同的控制数据集合被按照优先级排序,所述感知数据被按照所述优先级分别地提供给所述多个搜索模块。The method of claim 2, wherein the plurality of search modules or the different sets of control data are prioritized, the perceptual data being separately provided to the plurality according to the priority Search modules.
  4. 如权利要求1所述的方法,其特征在于,所述感知数据被并行地提供给所述多个搜索模块,其中所述方法还包括基于全局算法选择来自所述多个搜索模块的控制数据的候选项。The method of claim 1 wherein said perceptual data is provided to said plurality of search modules in parallel, wherein said method further comprises selecting control data from said plurality of search modules based on a global algorithm Candidate.
  5. 如权利要求1或2所述的方法,其特征在于,所述不同的控制数据集合中的一个存储在所述机器装置本地和/或所述机器装置连接到的局域网络。A method according to claim 1 or 2, wherein one of said different sets of control data is stored locally in said machine device and/or in a local area network to which said machine device is connected.
  6. 如权利要求5所述的方法,其特征在于,所述不同的控制数据集合中的另一个存储在远程计算机系统中。The method of claim 5 wherein the other of the different sets of control data is stored in a remote computer system.
  7. 如权利要求1所述的方法,其特征在于,所述不同的控制数据集合中的每个控制数据数据集合对应于机器装置的不同模式。The method of claim 1 wherein each of said different sets of control data data corresponds to a different mode of the machine device.
  8. 如权利要求1或5或6所述的方法,其特征在于,所述不同的控制数据集合包括所述机器装置的控制数据集合、或所述机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合。The method according to claim 1 or 5 or 6, wherein said different control data set comprises a control data set of said machine device, or a control data set of said machine device corresponding machine device version, or more Any combination of control data sets common to machine devices.
  9. 如权利要求8所述的方法,其特征在于,所述不同的控制数据集合被按照优先级排序。The method of claim 8 wherein said different sets of control data are ordered by priority.
  10. 如权利要求9所述的方法,其特征在于,所述感知数据被分别地提供给所述多个搜索模块,直到所述多个搜索模块中的一个提供所述控制数据;且 The method of claim 9, wherein the perceptual data is separately provided to the plurality of search modules until one of the plurality of search modules provides the control data;
    所述多个搜索模块被按照所述不同的控制数据集合的优先级排序,所述感知数据被按照所述优先级分别地提供给所述多个搜索模块。The plurality of search modules are ordered according to priorities of the different sets of control data, and the perceptual data is separately provided to the plurality of search modules according to the priority.
  11. 如权利要求8所述的方法,其特征在于,所述感知数据被并行地提供给所述多个搜索模块,其中所述方法还包括基于全局算法选择来自所述多个搜索模块的控制数据的候选项。The method of claim 8 wherein said perceptual data is provided to said plurality of search modules in parallel, wherein said method further comprises selecting control data from said plurality of search modules based on a global algorithm Candidate.
  12. 如权利要求1至11中任一项所述的方法,其特征在于,所述多个搜索模块基于与控制数据关联的条件数据搜索控制数据,其中,所述条件数据基于与生成感知数据的所述预定义的多个数据元素对应的多个数据元素产生。The method according to any one of claims 1 to 11, wherein the plurality of search modules search for control data based on condition data associated with control data, wherein the condition data is based on a location with which the sensory data is generated A plurality of data elements corresponding to a plurality of predefined data elements are generated.
  13. 如权利要求12所述的方法,其特征在于,所述条件数据中多个数据元素至少部分被按照优先级排序,所述多个搜索模块按照所述优先级排序搜索所述感知数据匹配的控制数据的候选项。The method according to claim 12, wherein a plurality of data elements in said condition data are at least partially ordered in order of priority, said plurality of search modules searching for said sensing data matching control according to said priority ranking The candidate for the data.
  14. 如权利要求12或13所述的方法,其特征在于,所述多个搜索模块基于所述感知数据与所述条件数据中至少部分数据元素匹配,来加载所述感知数据匹配的控制数据的候选项。The method according to claim 12 or 13, wherein the plurality of search modules load candidate of control data matching the perceptual data based on the sensing data matching at least part of the data elements in the condition data item.
  15. 如权利要求1至14中任一项所述的方法,其特征在于,其中所述控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,所述基本行为中的每一个可直接地被所述机器装置执行。The method according to any one of claims 1 to 14, wherein the control data corresponds to a basic behavior or a plurality of basic behaviors having execution logic constraints, wherein each of the basic behaviors It can be directly executed by the machine device.
  16. 如权利要求15所述的方法,其特征在于,所述基本行为的每一个由行为名称和行为控制参数定义。The method of claim 15 wherein each of said basic behaviors is defined by a behavior name and a behavior control parameter.
  17. 如权利要求1至16中任一项所述的方法,其特征在于,所述多个搜索模块对应不同的搜索算法。The method of any of claims 1 to 16, wherein the plurality of search modules correspond to different search algorithms.
  18. 一种为机器装置加载控制数据的方法,其特征在于,包括:A method for loading control data for a machine device, comprising:
    输入机器装置对应的感知数据,其中,所述感知数据基于所述机器装置感知到的信息按照预定义的多个数据元素中至少部分生成;Entering perceptual data corresponding to the machine device, wherein the perceptual data is generated according to at least part of a predefined plurality of data elements based on information sensed by the machine device;
    将所述感知数据提供给多个搜索算法,以从不同的控制数据范围搜索用于使机器装置产生动作的控制数据,其中,所述不同的控制数据范围包括所述机器装置的控制数据集合、或所述机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合,其中所述动作包括行为类型和/或运动类型的动作;Providing the perceptual data to a plurality of search algorithms to search for control data for causing a machine device to generate an action from a different control data range, wherein the different control data ranges include control data sets of the machine device, Or any combination of the control device data set of the machine device version or the control data set common to the plurality of machine devices, wherein the action comprises an action type and/or a motion type action;
    基于所述多个搜索算法确定至少一项控制数据的候选项;以及Determining at least one candidate for control data based on the plurality of search algorithms;
    使用所述控制数据的候选项控制所述机器装置产生动作。 The machine device is used to generate an action using the candidate of the control data.
  19. 如权利要求18所述的方法,其特征在于,所述感知数据被分别地提供给所述多个搜索算法,直到所述多个搜索算法中的一个提供所述控制数据。The method of claim 18 wherein said perceptual data is separately provided to said plurality of search algorithms until one of said plurality of search algorithms provides said control data.
  20. 如权利要求19所述的方法,其特征在于,所述多个搜索算法或所述不同的控制数据范围被按照优先级排序,所述感知数据被按照所述优先级分别地提供给所述多个搜索算法。The method according to claim 19, wherein said plurality of search algorithms or said different control data ranges are ordered in order of priority, said sensing data being separately provided to said plurality according to said priority Search algorithms.
  21. 如权利要求20所述的方法,其特征在于,所述优先级从高到低的顺序为:所述机器装置的控制数据集合、所述机器装置对应机器装置版本的控制数据集合、多种机器装置通用的控制数据集合。The method according to claim 20, wherein the order of priority from high to low is: a control data set of said machine device, a control data set of said machine device corresponding machine version, and a plurality of machines A set of control data common to the device.
  22. 如权利要求18所述的方法,其特征在于,所述感知数据被并行地提供给所述多个搜索算法,其中所述方法还包括基于全局算法选择来自所述多个搜索算法的控制数据的候选项。The method of claim 18, wherein the perceptual data is provided to the plurality of search algorithms in parallel, wherein the method further comprises selecting control data from the plurality of search algorithms based on a global algorithm Candidate.
  23. 如权利要求18至22中任一项所述的方法,其特征在于,其中所述控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,所述基本行为中的每一个可直接地被所述机器装置执行。The method according to any one of claims 18 to 22, wherein the control data corresponds to a basic behavior or a plurality of basic behaviors having execution logic constraints, wherein each of the basic behaviors It can be directly executed by the machine device.
  24. 如权利要求23所述的方法,其特征在于,所述基本行为的每一个由行为名称和行为控制参数定义。The method of claim 23 wherein each of said basic behaviors is defined by a behavior name and a behavior control parameter.
  25. 如权利要求18至23中任一项所述的方法,其特征在于,所述多个搜索算法基于与控制数据关联的条件数据搜索控制数据,其中,所述条件数据基于与生成感知数据的所述预定义的多个数据元素对应的多个数据元素产生。The method according to any one of claims 18 to 23, wherein the plurality of search algorithms search for control data based on condition data associated with control data, wherein the condition data is based on a location with which the sensory data is generated A plurality of data elements corresponding to a plurality of predefined data elements are generated.
  26. 一种为机器装置加载控制数据的装置,其特征在于,包括:An apparatus for loading control data for a machine device, comprising:
    用于输入机器装置对应的感知数据的模块,其中,所述感知数据基于所述机器装置感知的信息按照预定义的多个数据元素中至少部分生成;a module for inputting perceptual data corresponding to a machine device, wherein the perceptual data is generated based on at least a portion of a predefined plurality of data elements based on information sensed by the machine device;
    用于将所述感知数据提供给多个搜索模块的模块,其中,所述多个搜索模块中的每一个用于从不同的控制数据集合搜索与所述感知数据匹配的控制数据,其中所述控制数据用于使机器装置产生动作,其中所述动作包括行为类型和/或运动类型的动作;a module for providing the perceptual data to a plurality of search modules, wherein each of the plurality of search modules is configured to search for control data matching the perceptual data from different sets of control data, wherein Control data is used to cause an action by the machine device, wherein the action comprises an action type and/or a motion type of action;
    用于提供来自所述多个搜索模块的至少一个控制数据的候选项的模块;以及a module for providing candidates for at least one control data from the plurality of search modules;
    用于使用所述控制数据的候选项控制所述机器装置产生动作的模块。A module for controlling the machine device to generate an action using a candidate for the control data.
  27. 如权利要求26所述的装置,其特征在于,所述感知数据被分别地提供给所述多个搜索模块,直到所述多个搜索模块中的一个提供所述控制数据。 The apparatus of claim 26, wherein the perceptual data is separately provided to the plurality of search modules until one of the plurality of search modules provides the control data.
  28. 如权利要求27所述的装置,其特征在于,所述多个搜索模块或所述不同的控制数据集合被按照优先级排序,所述感知数据被按照所述优先级分别地提供给所述多个搜索模块。The apparatus according to claim 27, wherein said plurality of search modules or said different control data sets are ordered in order of priority, said sensing data being separately provided to said plurality according to said priority Search modules.
  29. 如权利要求26所述的装置,其特征在于,所述感知数据被并行地提供给所述多个搜索模块,其中所述装置还包括基于全局算法选择来自所述多个搜索模块的控制数据的候选项。The apparatus of claim 26, wherein the perceptual data is provided to the plurality of search modules in parallel, wherein the apparatus further comprises selecting control data from the plurality of search modules based on a global algorithm Candidate.
  30. 如权利要求26或27所述的装置,其特征在于,所述不同的控制数据集合中的一个存储在所述机器装置本地和/或所述机器装置连接到的局域网络。Apparatus according to claim 26 or 27, wherein one of said different sets of control data is stored locally in said machine means and/or in a local area network to which said machine means is connected.
  31. 如权利要求30所述的装置,其特征在于,所述不同的控制数据集合中的另一个存储在远程计算机系统中。30. Apparatus according to claim 30 wherein the other of said different sets of control data is stored in a remote computer system.
  32. 如权利要求26或27或29所述的装置,其特征在于,所述不同的控制数据集合中的每个控制数据数据集合对应于机器装置的不同模式。Apparatus according to claim 26 or 27 or 29 wherein each of said different sets of control data corresponds to a different mode of the machine means.
  33. 如权利要求26所述的装置,其特征在于,所述不同的控制数据集合包括所述机器装置的控制数据集合、或所述机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合。The apparatus of claim 26, wherein said different set of control data comprises a control data set of said machine device, or a control data set of said machine device corresponding machine version, or a plurality of machine means Any combination of control data sets.
  34. 如权利要求33所述的装置,其特征在于,所述不同的控制数据集合被按照优先级排序。The apparatus of claim 33 wherein said different sets of control data are ordered by priority.
  35. 如权利要求34所述的装置,其特征在于,所述感知数据被分别地提供给所述多个搜索模块,直到所述多个搜索模块中的一个提供所述控制数据;且The apparatus of claim 34, wherein the perceptual data is separately provided to the plurality of search modules until one of the plurality of search modules provides the control data;
    所述多个搜索模块被按照所述不同的控制数据集合的优先级排序,所述感知数据被按照所述优先级分别地提供给所述多个搜索模块。The plurality of search modules are ordered according to priorities of the different sets of control data, and the perceptual data is separately provided to the plurality of search modules according to the priority.
  36. 如权利要求33所述的装置,其特征在于,所述感知数据被并行地提供给所述多个搜索模块,其中所述装置还包括基于全局算法选择来自所述多个搜索模块的控制数据的候选项。The apparatus of claim 33, wherein the perceptual data is provided to the plurality of search modules in parallel, wherein the apparatus further comprises selecting control data from the plurality of search modules based on a global algorithm Candidate.
  37. 如权利要求26至36中任一项所述的装置,其特征在于,所述多个搜索模块基于与控制数据关联的条件数据搜索控制数据,其中,所述条件数据基于与生成感知数据的所述预定义的多个数据元素对应的多个数据元素产生。The apparatus according to any one of claims 26 to 36, wherein the plurality of search modules search for control data based on condition data associated with control data, wherein the condition data is based on a location with which the sensory data is generated A plurality of data elements corresponding to a plurality of predefined data elements are generated.
  38. 如权利要求37所述的装置,其特征在于,所述条件数据中多个数据元素至少部分被按照优先级排序,所述多个搜索模块按照所述优先级排序搜索所述感知数据匹配的控制数据的候选项。 The apparatus according to claim 37, wherein a plurality of data elements in said condition data are at least partially ordered in order of priority, said plurality of search modules searching for said sensing data matching control according to said priority ranking The candidate for the data.
  39. 如权利要求37所述的装置,其特征在于,所述多个搜索模块基于所述感知数据与所述条件数据中至少部分数据元素匹配,来加载所述感知数据匹配的控制数据的候选项。The apparatus according to claim 37, wherein said plurality of search modules load candidates of said control data matching control data based on said perceptual data matching at least a portion of said data elements.
  40. 如权利要求26至39中任一项所述的装置,其特征在于,所述控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,所述基本行为中的每一个可直接地被所述机器装置执行。The apparatus according to any one of claims 26 to 39, wherein the control data corresponds to a basic behavior or has a plurality of basic behaviors of performing logical constraints, wherein each of the basic behaviors is Directly executed by the machine device.
  41. 如权利要求40所述的装置,其特征在于,所述基本行为的每一个由行为名称和行为控制参数定义。The apparatus of claim 40 wherein each of said basic behaviors is defined by a behavior name and a behavior control parameter.
  42. 如权利要求26至41中任一项所述的装置,其特征在于,所述多个搜索模块对应不同的搜索算法。The apparatus of any one of claims 26 to 41, wherein the plurality of search modules correspond to different search algorithms.
  43. 一种为机器装置加载控制数据的装置,其特征在于,包括:An apparatus for loading control data for a machine device, comprising:
    用于输入机器装置对应的感知数据的模块,其中,所述感知数据基于所述机器装置感知到的信息按照预定义的多个数据元素中至少部分生成;a module for inputting perceptual data corresponding to a machine device, wherein the perceptual data is generated according to at least a portion of a predefined plurality of data elements based on information sensed by the machine device;
    用于将所述感知数据提供给多个搜索算法,以从不同的控制数据范围搜索用于使机器装置产生动作的控制数据的模块,其中,所述不同的控制数据范围包括所述机器装置的控制数据集合、或所述机器装置对应机器装置版本的控制数据集合、或多种机器装置通用的控制数据集合中任意组合,其中所述动作包括行为类型和/或运动类型的动作;Means for providing the perceptual data to a plurality of search algorithms to search for control data for causing a machine device to generate an action from a different control data range, wherein the different control data ranges include the machine device Controlling the data set, or any combination of the control data set of the machine device corresponding machine version, or the control data set common to the plurality of machine devices, wherein the action comprises an action type and/or a motion type of action;
    用于基于所述多个搜索算法确定至少一项控制数据的候选项的模块;以及a module for determining candidates for at least one piece of control data based on the plurality of search algorithms;
    用于使用所述控制数据的候选项控制所述机器装置产生动作的模块。A module for controlling the machine device to generate an action using a candidate for the control data.
  44. 如权利要求43所述的装置,其特征在于,所述感知数据被分别地提供给所述多个搜索算法,直到所述多个搜索算法中的一个提供所述控制数据。The apparatus of claim 43, wherein the perceptual data is separately provided to the plurality of search algorithms until one of the plurality of search algorithms provides the control data.
  45. 如权利要求44所述的装置,其特征在于,所述多个搜索算法或所述不同的控制数据范围被按照优先级排序,所述感知数据被按照所述优先级分别地提供给所述多个搜索算法。The apparatus according to claim 44, wherein said plurality of search algorithms or said different control data ranges are ordered in order of priority, said sensing data being separately provided to said plurality according to said priority Search algorithms.
  46. 如权利要求45所述的装置,其特征在于,所述优先级从高到低的顺序为:所述机器装置的控制数据集合、所述机器装置对应机器装置版本的控制数据集合、多种机器装置通用的控制数据集合。The apparatus according to claim 45, wherein said order of priority from high to low is: a control data set of said machine device, a control data set of said machine device corresponding machine version, and a plurality of machines A set of control data common to the device.
  47. 如权利要求43所述的装置,其特征在于,所述感知数据被并行地提供给所述多个搜索算法,其中所述装置还包括基于全局算法选择来自所述多个搜索算法的控制数据的候选项。 The apparatus of claim 43, wherein the perceptual data is provided to the plurality of search algorithms in parallel, wherein the apparatus further comprises selecting control data from the plurality of search algorithms based on a global algorithm Candidate.
  48. 如权利要求43至47中任一项所述的装置,其特征在于,其中所述控制数据对应于一个基本行为或具有执行逻辑约束的多个基本行为,其中,所述基本行为中的每一个可直接地被所述机器装置执行。The apparatus according to any one of claims 43 to 47, wherein the control data corresponds to a basic behavior or a plurality of basic behaviors having execution logic constraints, wherein each of the basic behaviors It can be directly executed by the machine device.
  49. 如权利要求48所述的装置,其特征在于,所述基本行为的每一个由行为名称和行为控制参数定义。The apparatus of claim 48 wherein each of said basic behaviors is defined by a behavior name and a behavior control parameter.
  50. 如权利要求43至48中任一项所述的装置,其特征在于,所述多个搜索算法基于与控制数据关联的条件数据搜索控制数据,其中,所述条件数据基于与生成感知数据的所述预定义的多个数据元素对应的多个数据元素产生。 The apparatus according to any one of claims 43 to 48, wherein the plurality of search algorithms search for control data based on condition data associated with control data, wherein the condition data is based on a location with which the sensory data is generated A plurality of data elements corresponding to a plurality of predefined data elements are generated.
PCT/CN2016/087260 2015-06-26 2016-06-27 Method and apparatus for loading control data into machine device WO2016206645A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201510363348.1A CN106325065A (en) 2015-06-26 2015-06-26 Robot interactive behavior control method, device and robot
CN201510363348.1 2015-06-26
CN201510363346.2A CN106325113B (en) 2015-06-26 2015-06-26 Robot controls engine and system
CN201510364661.7A CN106325228B (en) 2015-06-26 2015-06-26 Method and device for generating control data of robot
CN201510364661.7 2015-06-26
CN201510363346.2 2015-06-26

Publications (1)

Publication Number Publication Date
WO2016206645A1 true WO2016206645A1 (en) 2016-12-29

Family

ID=57584497

Family Applications (6)

Application Number Title Priority Date Filing Date
PCT/CN2016/087260 WO2016206645A1 (en) 2015-06-26 2016-06-27 Method and apparatus for loading control data into machine device
PCT/CN2016/087261 WO2016206646A1 (en) 2015-06-26 2016-06-27 Method and system for urging machine device to generate action
PCT/CN2016/087262 WO2016206647A1 (en) 2015-06-26 2016-06-27 System for controlling machine apparatus to generate action
PCT/CN2016/087258 WO2016206643A1 (en) 2015-06-26 2016-06-27 Method and device for controlling interactive behavior of robot and robot thereof
PCT/CN2016/087259 WO2016206644A1 (en) 2015-06-26 2016-06-27 Robot control engine and system
PCT/CN2016/087257 WO2016206642A1 (en) 2015-06-26 2016-06-27 Method and apparatus for generating control data of robot

Family Applications After (5)

Application Number Title Priority Date Filing Date
PCT/CN2016/087261 WO2016206646A1 (en) 2015-06-26 2016-06-27 Method and system for urging machine device to generate action
PCT/CN2016/087262 WO2016206647A1 (en) 2015-06-26 2016-06-27 System for controlling machine apparatus to generate action
PCT/CN2016/087258 WO2016206643A1 (en) 2015-06-26 2016-06-27 Method and device for controlling interactive behavior of robot and robot thereof
PCT/CN2016/087259 WO2016206644A1 (en) 2015-06-26 2016-06-27 Robot control engine and system
PCT/CN2016/087257 WO2016206642A1 (en) 2015-06-26 2016-06-27 Method and apparatus for generating control data of robot

Country Status (1)

Country Link
WO (6) WO2016206645A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11220008B2 (en) * 2017-07-18 2022-01-11 Panasonic Intellectual Property Management Co., Ltd. Apparatus, method, non-transitory computer-readable recording medium storing program, and robot
CN108388399B (en) * 2018-01-12 2021-04-06 北京光年无限科技有限公司 Virtual idol state management method and system
JP7188950B2 (en) * 2018-09-20 2022-12-13 株式会社Screenホールディングス Data processing method and data processing program
TWI735168B (en) * 2020-02-27 2021-08-01 東元電機股份有限公司 Voice robot

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957215B2 (en) * 2001-12-10 2005-10-18 Hywire Ltd. Multi-dimensional associative search engine
CN1778072A (en) * 2003-11-20 2006-05-24 松下电器产业株式会社 Association control apparatus, association control method and service association system
CN103324100A (en) * 2013-05-02 2013-09-25 郭海锋 Emotion vehicle-mounted robot driven by information
CN103793536A (en) * 2014-03-03 2014-05-14 陈念生 Intelligent platform obtaining method and device
CN104025095A (en) * 2011-10-05 2014-09-03 奥普唐公司 Methods, apparatus, and systems for monitoring and/or controlling dynamic environments

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001353678A (en) * 2000-06-12 2001-12-25 Sony Corp Authoring system and method and storage medium
JP4108342B2 (en) * 2001-01-30 2008-06-25 日本電気株式会社 Robot, robot control system, and program thereof
US7089184B2 (en) * 2001-03-22 2006-08-08 Nurv Center Technologies, Inc. Speech recognition for recognizing speaker-independent, continuous speech
JP2005193331A (en) * 2004-01-06 2005-07-21 Sony Corp Robot device and its emotional expression method
WO2006093394A1 (en) * 2005-03-04 2006-09-08 Chutnoon Inc. Server, method and system for providing information search service by using web page segmented into several information blocks
JP2007044825A (en) * 2005-08-10 2007-02-22 Toshiba Corp Action control device, action control method and program therefor
US7945441B2 (en) * 2007-08-07 2011-05-17 Microsoft Corporation Quantized feature index trajectory
WO2009157733A1 (en) * 2008-06-27 2009-12-30 Yujin Robot Co., Ltd. Interactive learning system using robot and method of operating the same in child education
FR2946160B1 (en) * 2009-05-26 2014-05-09 Aldebaran Robotics SYSTEM AND METHOD FOR EDIT AND ORDER BEHAVIOR OF MOBILE ROBOT.
CN101618280B (en) * 2009-06-30 2011-03-23 哈尔滨工业大学 Humanoid-head robot device with human-computer interaction function and behavior control method thereof
CN102665590B (en) * 2009-11-16 2015-09-23 皇家飞利浦电子股份有限公司 For the man-robot Compliance control of Endoscope-assisted robot
US20110213659A1 (en) * 2010-02-26 2011-09-01 Marcus Fontoura System and Method for Automatic Matching of Contracts in an Inverted Index to Impression Opportunities Using Complex Predicates and Confidence Threshold Values
FR2963132A1 (en) * 2010-07-23 2012-01-27 Aldebaran Robotics HUMANOID ROBOT HAVING A NATURAL DIALOGUE INTERFACE, METHOD OF USING AND PROGRAMMING THE SAME
CN201940040U (en) * 2010-09-27 2011-08-24 深圳市杰思谷科技有限公司 Domestic robot
KR20120047577A (en) * 2010-11-04 2012-05-14 주식회사 케이티 Apparatus and method for providing robot interaction services using interactive behavior model
US8996167B2 (en) * 2012-06-21 2015-03-31 Rethink Robotics, Inc. User interfaces for robot training
JPWO2014050192A1 (en) * 2012-09-27 2016-08-22 オムロン株式会社 Device management apparatus and device search method
CN103399637B (en) * 2013-07-31 2015-12-23 西北师范大学 Based on the intelligent robot man-machine interaction method of kinect skeleton tracing control
CN103729476A (en) * 2014-01-26 2014-04-16 王玉娇 Method and system for correlating contents according to environmental state
CN105511608B (en) * 2015-11-30 2018-12-25 北京光年无限科技有限公司 Exchange method and device, intelligent robot based on intelligent robot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957215B2 (en) * 2001-12-10 2005-10-18 Hywire Ltd. Multi-dimensional associative search engine
CN1778072A (en) * 2003-11-20 2006-05-24 松下电器产业株式会社 Association control apparatus, association control method and service association system
CN104025095A (en) * 2011-10-05 2014-09-03 奥普唐公司 Methods, apparatus, and systems for monitoring and/or controlling dynamic environments
CN103324100A (en) * 2013-05-02 2013-09-25 郭海锋 Emotion vehicle-mounted robot driven by information
CN103793536A (en) * 2014-03-03 2014-05-14 陈念生 Intelligent platform obtaining method and device

Also Published As

Publication number Publication date
WO2016206642A1 (en) 2016-12-29
WO2016206643A1 (en) 2016-12-29
WO2016206646A1 (en) 2016-12-29
WO2016206647A1 (en) 2016-12-29
WO2016206644A1 (en) 2016-12-29

Similar Documents

Publication Publication Date Title
KR102306624B1 (en) Persistent companion device configuration and deployment platform
US11148296B2 (en) Engaging in human-based social interaction for performing tasks using a persistent companion device
US20170206064A1 (en) Persistent companion device configuration and deployment platform
AU2014236686B2 (en) Apparatus and methods for providing a persistent companion device
US8942849B2 (en) Humanoid robot equipped with a natural dialogue interface, method for controlling the robot and corresponding program
KR20200046117A (en) Joint audio-video facial animation system
WO2016011159A9 (en) Apparatus and methods for providing a persistent companion device
WO2019072104A1 (en) Interaction method and device
WO2016206645A1 (en) Method and apparatus for loading control data into machine device
JP2018008316A (en) Learning type robot, learning type robot system, and program for learning type robot
KR20200092207A (en) Electronic device and method for providing graphic object corresponding to emotion information thereof
US20200257954A1 (en) Techniques for generating digital personas
KR102369309B1 (en) Electronic device for performing an operation for an user input after parital landing
JP6798258B2 (en) Generation program, generation device, control program, control method, robot device and call system
KR20200080389A (en) Electronic apparatus and method for controlling the electronicy apparatus
Wang et al. A gesture-based method for natural interaction in smart spaces
KR20240034189A (en) Creating semantically augmented context representations
WO2018183812A1 (en) Persistent companion device configuration and deployment platform
US20240023857A1 (en) System and Method for Recognizing Emotions

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16813761

Country of ref document: EP

Kind code of ref document: A1