WO2021179148A1 - Setting method and device - Google Patents

Setting method and device Download PDF

Info

Publication number
WO2021179148A1
WO2021179148A1 PCT/CN2020/078485 CN2020078485W WO2021179148A1 WO 2021179148 A1 WO2021179148 A1 WO 2021179148A1 CN 2020078485 W CN2020078485 W CN 2020078485W WO 2021179148 A1 WO2021179148 A1 WO 2021179148A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
setting
instruction
instruction information
user
Prior art date
Application number
PCT/CN2020/078485
Other languages
French (fr)
Chinese (zh)
Inventor
茹昭
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN202080093272.4A priority Critical patent/CN115004641A/en
Priority to PCT/CN2020/078485 priority patent/WO2021179148A1/en
Publication of WO2021179148A1 publication Critical patent/WO2021179148A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Definitions

  • This application relates to the field of Internet of Things, and more specifically, to a setting method and device.
  • OCF Open Connectivity Foundation
  • the embodiments of the present application provide a setting method and device, which can automatically generate setting information for setting scene resources and/or rule resources according to user instruction information, without the user selecting or inputting multiple pieces of information, thereby reducing operation difficulty.
  • the embodiment of the application proposes a setting method, including:
  • the corresponding setting information is generated according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
  • the embodiment of the application proposes a setting device, including:
  • the setting information generating module is configured to generate corresponding setting information according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
  • An embodiment of the present application proposes a setting device, including a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the setting method described above.
  • the embodiment of the present application proposes a chip, which includes a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the above-mentioned setting method.
  • the embodiment of the present application proposes a computer-readable storage medium for storing a computer program, and the computer program enables a computer to execute the above-mentioned setting method.
  • the embodiment of the present application proposes a computer program product, which includes computer program instructions, and the computer program instructions cause a computer to execute the above-mentioned setting method.
  • the embodiment of the present application proposes a computer program that enables a computer to execute the above-mentioned setting method.
  • the setting device when it obtains the instruction information, it generates corresponding setting information according to the instruction information, which is used to set the scene resource and/or the rule resource, avoiding the user to select or input to create and modify the scene resource and / Or various information required when the resource is ruled, thus reducing the difficulty of operation.
  • Fig. 1 is a flow chart for implementing a setting method 100 according to an embodiment of the present application.
  • Fig. 2 is a flowchart for implementing step S120 in a setting method according to an embodiment of the present application.
  • Fig. 3 is an implementation flowchart of Embodiment 1 of this application.
  • Fig. 4 is a schematic structural diagram of a setting device 400 according to an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a setting information generating submodule 520 according to an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of a setting device 600 according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a setting device 700 according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a chip 800 according to an embodiment of the present application.
  • GSM Global System of Mobile Communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • LTE-A Advanced Long Term Evolution
  • NR New Radio
  • evolution system of NR system LTE (LTE-based access to unlicensed spectrum, LTE-U) system on unlicensed spectrum, NR (NR-based access to unlicensed spectrum) unlicensed spectrum, NR-U) system, universal mobile telecommunication system (UMTS), wireless local area network (Wireless Local Area Networks, WLAN), wireless fidelity (Wireless Fidelity, WiFi), next-generation communications (5th-Generation) , 5G) system or other communication systems, etc.
  • GSM Global System of Mobile Communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • LTE-A Advanced Long Term Evolution
  • NR New Radio
  • D2D Device to Device
  • M2M Machine to Machine
  • MTC machine type communication
  • V2V vehicle to vehicle
  • the communication system in the embodiments of the present application can be applied to a carrier aggregation (Carrier Aggregation, CA) scenario, can also be applied to a dual connectivity (DC) scenario, and can also be applied to a standalone (SA) deployment.
  • CA Carrier Aggregation
  • DC dual connectivity
  • SA standalone
  • the embodiment of the application does not limit the applied frequency spectrum.
  • the embodiments of this application can be applied to licensed spectrum or unlicensed spectrum.
  • the embodiments of this application describe various embodiments in conjunction with setting equipment, where the setting equipment can also be User Equipment (UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, and remote terminal. , Mobile equipment, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
  • UE User Equipment
  • access terminal subscriber unit, subscriber station, mobile station, mobile station, remote station, and remote terminal.
  • Mobile equipment user terminal, terminal, wireless communication equipment, user agent or user device, etc.
  • the setting device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, personal digital processing (Personal Digital Assistant, PDA) devices, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, and next-generation communication systems, such as terminal devices in the NR network or Terminal equipment in the public land mobile network (PLMN) network that will evolve in the future.
  • the setting device can also be a smart terminal, a personal computer, a tablet computer and other devices.
  • a tablet computer may also be called a portable computer (Tablet Personal Computer, Tablet PC), which uses a touch screen, a camera, a microphone, etc. as basic input devices.
  • the setting device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices. It is a general term for using wearable technology to intelligently design everyday wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones.
  • the embodiments of the present application can be applied to the field of Internet of Things.
  • the Internet of Things collects any equipment or process that needs to be monitored, connected, and interacted in real time, and collects its sound, light, Various required information such as heat, electricity, mechanics, chemistry, biology, location, etc., can be accessed through various possible networks to realize a wide range of connections between things and people, and realize intelligent perception of objects and processes , Identification and management.
  • the Internet of Things technology can be applied to the field of smart homes.
  • the smart home system connects various devices in the home (such as audio and video equipment, lighting system, curtain control, air conditioning control, security system, digital cinema system, audio-visual server, network home appliances, etc.) through the Internet of Things technology to provide home appliance control, Various functions and methods such as lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control, infrared forwarding, and programmable timing control.
  • devices in the home such as audio and video equipment, lighting system, curtain control, air conditioning control, security system, digital cinema system, audio-visual server, network home appliances, etc.
  • Internet of Things technology to provide home appliance control
  • Various functions and methods such as lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control, infrared forwarding, and programmable timing control.
  • a scene resource is a collective resource that references one or more scene member resources (Scene Member Resources). Each scene member resource is also a collective resource, which references a local or remote device resource.
  • device linkage is realized by defining rule resources.
  • a rule resource is a collection resource, which refers to a rule input collection resource (Rule Input Collection Resource), which refers to one or more resources (these resources are generally the functional resources of the device, which can generate the status data of the device) notify).
  • Rule resource also references a rule expression resource (Rule Expression Resource).
  • FIG. 1 is a flowchart of implementing a setting method 100 according to an embodiment of the present application, including the following steps:
  • S120 Generate corresponding setting information according to the instruction information, where the setting information is used to set scene resources and/or rule resources.
  • the above method may further include: setting the scene resource and/or the rule resource according to the setting information.
  • step S120 may include:
  • S220 Generate corresponding setting information according to the setting parameter.
  • the instruction information obtained in step S110 may include at least one of voice information, image information, action information, and gesture information.
  • the above-mentioned instruction information may refer to the control instruction issued by the user to the smart device, including the control effect that the user hopes to achieve.
  • the user utters instructions such as "turn on the living room lights and air conditioner when going home”, “turn off the living room lights when turning on the TV”, “turn on the air conditioner at 30 degrees”, and "call me to watch a football game at 2 o'clock in the middle of the night.”
  • the embodiment of the present application may use a voice receiving device to obtain the instruction information sent by the user.
  • the user draws an image of the desired effect, for example, the user draws a picture indicating "turn on the living room lights and air conditioner when going home", or the user writes the text "turn on the living room lights and air conditioner when going home”.
  • an image acquisition device may be used in the embodiment of the present application to obtain the instruction information issued by the user.
  • an image acquisition device may be used in the embodiments of the present application to capture images containing the user's actions or gestures.
  • the embodiment of the present application may use a voice semantic service to convert the instruction information into corresponding text information, and convert the text information into corresponding semantic information, and the semantic information may include setting parameters.
  • Speech semantic services include speech recognition services and semantic recognition services. Semantic recognition services can also be called natural language processing services.
  • the embodiment of the present application may use an image recognition service to extract the image feature in the image information, and use the image feature to search for the preset first correspondence to obtain the corresponding image feature Setting parameters.
  • the embodiments of the present application can capture images of user actions or gestures, and use image recognition services to identify the action features in the action information/gesture information, and use the action features to find presets The second corresponding relationship of, obtains the setting parameter corresponding to the action feature.
  • the manner of generating corresponding setting information according to the setting parameters in step S220 may include at least one of the following:
  • the corresponding setting information is generated according to the setting parameters and the smart device information, the smart device information includes the operation record and/or status data of the smart device. For example, the temperature usually set when the air conditioner is turned on, and the brightness of the lighting lamp at different times.
  • the user information including the user's preference information for the smart device.
  • These preference information can be formed by using an artificial intelligence (AI, Artificial Intelligence) system to analyze and process user behavior over a period of time.
  • AI Artificial Intelligence
  • the setting of the scene resource and/or the rule resource according to the setting information in the embodiment of the present application includes at least one of the following:
  • the new setting when the setting information is converted into a scene or rule, if a scene or rule with the same name already exists, the new setting will be used to overwrite the existing setting; if it does not exist, a new scene resource and/or rule resource will be created.
  • the embodiment of the present application may also convert the setting information into feedback information, and the feedback information includes voice information or image information; the feedback information is played or displayed.
  • the embodiment of the present application can play the feedback information in the form of voice, or display the feedback information in the form of images, etc., so as to inform the user of the setting result and prompt the user to confirm the setting result or make further adjustments.
  • multiple devices may be used to implement the above setting method, and each device shares different functions, and there is information interaction between each other. Specific examples are given below to introduce this application in detail.
  • the application program of the smart device is used to receive the instruction information in the form of voice sent by the user, the voice semantic service is used to realize the conversion of the instruction information to the semantic information (the semantic information may include the setting parameters), and the AI system is used to realize the setting parameters For the conversion to setting information, the scene/rule management program is used to realize the setting of scene resources and/or rule resources using the setting information.
  • the above-mentioned smart device may be a smart terminal, such as a smart phone.
  • a smart phone referred to as a mobile phone
  • the setting device in the embodiment of the present application is not limited to a smart phone, and the embodiment of the present application is also applicable to other forms of terminal devices.
  • the voice semantic service can run on the server, and provide voice for the application through the HyperText Transfer Protocol/HyperText Transfer Protocol (HTTP/HTTPS, HyperText Transfer Protocol/Hyper Text Transfer Protocol/Hyper Text Transfer Protocol/over Secure Socket Layer) interface on the server.
  • HTTP/HTTPS HyperText Transfer Protocol/Hyper Text Transfer Protocol/Hyper Text Transfer Protocol/over Secure Socket Layer
  • Recognition, semantic analysis, voice broadcast and other functions can receive speech input and convert it into text output after processing; the semantic analysis function can extract semantic information such as the meaning, topic, category, and similarity of the text from the text according to a specific context, such as "what is it?" , Who, when, where, and why" information; the voice broadcast function can receive text input and convert it to voice output after processing.
  • the AI system analyzes and simulates user behavior by collecting user and environmental data.
  • the AI system collects the user's operation records of the smart device, the status data of the device, etc., and can analyze the user's favorite temperature, humidity, brightness, TV channel and other user information. These user information includes User preference information for smart devices.
  • FIG. 3 is an implementation flowchart of Embodiment 1 of this application, including:
  • the mobile phone application sends the user's voice instruction information to the voice semantic service.
  • the mobile phone application sends the command information to the voice semantic service running on the server through the HTTP/HTTPS interface.
  • the speech semantic service converts speech into text, and analyzes the semantic information in the text, or key semantics, such as "what, who, when, where, and why" information.
  • the semantic information may include setting parameters used to generate the setting information.
  • the semantic information analyzed by the voice semantic service includes: “go home, turn on the living room lights, turn on the living room air conditioner”.
  • the instruction information in the form of voice is "turn off the lights in the living room when the TV is turned on”
  • the semantic information analyzed by the voice semantic service includes: “turn off the lights in the living room when the TV is turned on”.
  • the instruction information in the form of voice is "turn on the air conditioner at 30 degrees”
  • the semantic information analyzed by the voice semantic service includes: “turn on the air conditioner at 30 degrees”.
  • the instruction information in the form of voice is "Call me to watch the football game at 2 in the middle of the night”
  • the semantic information analyzed by the voice semantic service includes: “Watch the football game at 2 in the middle of the night”.
  • the semantic information in the foregoing several implementation manners includes at least one item of "what, who, when, where, and why" information.
  • the voice semantic service feeds back semantic information to the mobile phone application.
  • the voice semantic service feeds back semantic information to the mobile phone application through the HTTP/HTTPS interface.
  • S305 The mobile phone application sends the semantic information to the AI system, and requests the AI system to process the user's semantic information.
  • the AI system converts the setting parameters included in the semantic information into setting information that conforms to user habits.
  • the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner"
  • the conversion into setting information includes:
  • the operation objects are living room lights and living room air conditioners.
  • the trigger condition for the living room lamp is: the time is 19:00 in winter; the operation mode is: turn on, and set the brightness of the living room lamp to 70.
  • the trigger condition for the living room air conditioner is: the time is 19:00 in winter; the operation mode is: turn on, and set the temperature of the living room air conditioner to 25 degrees.
  • the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner"
  • the conversion into setting information includes:
  • the operation objects are living room lights and living room air conditioners.
  • the trigger condition for the living room lamp is: the door sensor is turned on; the operation mode is: open, and the brightness of the living room lamp is set to 60.
  • the trigger condition for the living room air conditioner is: the door sensor is turned on; the operation mode is: open, and the temperature of the living room air conditioner is set to 25 degrees.
  • the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner"
  • the conversion to the setting information includes:
  • the operation objects are living room lights and living room air conditioners.
  • the trigger condition for the living room lamp is: the time is 17:00 in winter and the human sensor is turned on; the operation mode is: turn on, and the brightness of the living room lamp is set to 80.
  • the trigger condition for the living room air conditioner is: the time is 17:00 in winter, and the human sensor is turned on; the operation mode is: turn on, and the temperature of the living room air conditioner is set to 26 degrees.
  • the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner"
  • the conversion into setting information includes:
  • the operation objects are living room lights and living room air conditioners.
  • the trigger condition for the living room lamp is: the voice receiving device receives the voice of "I'm back"; the operation mode is: turn on, and set the brightness of the living room lamp to 80.
  • the trigger condition for the living room air conditioner is: the voice receiving device receives the voice of "I'm back”; the operation mode is: turn on, and set the temperature of the living room air conditioner to 26 degrees.
  • the setting information is described in a JS Object Notation (JSON, JavaScript Object Notation) manner.
  • JSON JavaScript Object Notation
  • the setting information is converted into setting information according to the setting parameters contained in the semantic information. different.
  • These setting information is set by the AI system by collecting the user's operation records on the smart device, analyzing the user's preferences, and setting it according to the user's preferences.
  • user A usually goes home at 19:00 and is used to setting the brightness of the living room light to 70 and the living room air conditioner to 25 degrees.
  • User B's entrance door is equipped with a door sensor.
  • User B is used to setting the brightness of the living room lamp to 60 and the living room air conditioner to 25 degrees.
  • User C has a human body sensing device installed in his home.
  • User C is used to setting the brightness of the living room lamp to 80 and the living room air conditioner to 26 degrees.
  • User D has a sound sensing device installed in his home.
  • User D is used to setting the brightness of the living room light to 80, and the living room air conditioner to 26 degrees of cooling, and so on.
  • the AI system is used to generate the setting information.
  • predefined rules may also be used to convert the above-mentioned semantic information into setting information.
  • the aforementioned predefined rules may include: the corresponding relationship between the setting parameter representing "what” and the operation of the device in the scene, the corresponding relationship between the setting parameter representing "when"/"why" and the name or input information in the rule, and many more.
  • the "what” can be converted into the operation on the device in the scene
  • the "when"/"why" can be converted into the name and input in the rule
  • the generated scene can be used as the set of operations in the rule.
  • the automatic name for example, "scene 1"
  • the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner", and converting the setting parameters included in the semantic information into setting information includes:
  • the semantic information includes: "when the TV is turned on, turn off the living room light", and converting the setting parameters contained in the semantic information into setting information includes:
  • the semantic information includes: "when 30 degrees, turn on the air conditioner", and converting the setting parameters contained in the semantic information into setting information includes:
  • the semantic information includes: "2 o'clock in the middle of the night, watching a football game", and converting the setting parameters contained in the semantic information into setting information includes:
  • S308 The mobile phone application issues setting information to the scene/rule management program.
  • the scene/rule management program sets the scene resource and/or the rule resource according to the setting information.
  • the new setting is used to overwrite the existing setting. If it does not exist, create a new scenario or rule.
  • the scene/rule management program returns a feedback message to the mobile phone application, for example, a setting success message, which carries the above setting information.
  • S311 The mobile phone application sends the setting information to the voice semantic service, and requests the voice semantic service to convert the setting information into voice.
  • the voice semantic service converts the above setting information into voice information, and returns the voice information to the mobile phone application. For example: "When you say'I'm back', the living room light will be turned on and set to a brightness of 80, and the living room air conditioner will be turned on and set to cooling at 26 degrees.”
  • S313 The mobile phone application broadcasts the voice information and informs the user as a result of the user setting, prompting the user to confirm the foregoing setting result or make further adjustments. If the user chooses to further adjust, then jump to step S301.
  • the user may input instruction information in the form of an image.
  • an image recognition service can be used to identify image features in the image information, and obtain the setting parameters corresponding to the image features.
  • the user may input instruction information including motion information or gesture information.
  • predetermined rules may also be used to convert semantic information into corresponding setting information.
  • FIG. 4 is a schematic structural diagram of a setting device 400 according to an embodiment of the present application, including:
  • the obtaining module 410 is used to obtain instruction information
  • the setting information generating module 420 is configured to generate corresponding setting information according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
  • FIG. 5 is a schematic structural diagram of a setting information generating module 420 in a setting device according to an embodiment of the present application, including:
  • the setting parameter generation sub-module 510 is configured to generate corresponding setting parameters according to the instruction information
  • the setting information generating sub-module 520 is configured to generate corresponding setting information according to the setting parameters.
  • the instruction information includes at least one of voice information, image information, motion information, and gesture information.
  • the setting parameter generation submodule 510 is configured to generate corresponding text information according to the voice information; and generate corresponding setting parameters according to the text information.
  • a parameter generation sub-module 510 is set to extract image features in the image information; the image features are used to search for a preset first corresponding relationship to obtain the Setting parameters corresponding to image features.
  • the parameter generation sub-module 510 is set to identify the action feature in the action information/gesture information; use the action feature to search for a preset second Corresponding relationship, the setting parameter corresponding to the action feature is obtained.
  • the above-mentioned setting information generating submodule 520 includes:
  • the rule conversion unit 521 is configured to generate corresponding setting information according to the instruction information and predetermined rules; and/or,
  • the artificial intelligence conversion unit 522 is configured to generate corresponding setting information according to the instruction information and smart device information, where the smart device information includes operation records and/or status data of the smart device; and/or, according to the instruction information and The user information generates corresponding setting information, and the user information includes the user's preference information for the smart device.
  • FIG. 6 is a schematic structural diagram of a setting device 600 according to an embodiment of the present application. As shown in FIG. 6, the foregoing device further includes:
  • the feedback module 630 is used to convert the setting information into feedback information.
  • the feedback information includes voice information or image information; and to play or display the feedback information.
  • the setting device proposed in the embodiment of the present application may be implemented by an independent device, or each module of the setting device may be set in multiple devices.
  • the acquisition module 410 is set in the smart terminal
  • the setting parameter generation sub-module 510 is set in the speech semantic server or the server that provides image recognition services and semantic recognition services
  • the setting information generation sub-module 520 is set in the AI system. middle.
  • FIG. 7 is a schematic structural diagram of a setting device 700 according to an embodiment of the present application.
  • the setting device 700 shown in FIG. 7 includes a processor 710, and the processor 710 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the setting device 700 may further include a memory 720.
  • the processor 710 may call and run a computer program from the memory 720 to implement the method in the embodiment of the present application.
  • the memory 720 may be a separate device independent of the processor 710, or may be integrated in the processor 710.
  • the setting device 700 may further include a transceiver 730, and the processor 710 may control the transceiver 730 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.
  • the transceiver 730 may include a transmitter and a receiver.
  • the transceiver 730 may further include an antenna, and the number of antennas may be one or more.
  • the setting device 700 can implement the corresponding processes implemented by the setting device in each method in the embodiments of the present application. For brevity, details are not described herein again.
  • FIG. 8 is a schematic structural diagram of a chip 800 according to an embodiment of the present application.
  • the chip 800 shown in FIG. 8 includes a processor 810, and the processor 810 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
  • the chip 800 may further include a memory 820.
  • the processor 810 can call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.
  • the memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.
  • the chip 800 may further include an input interface 830.
  • the processor 810 can control the input interface 830 to communicate with other devices or chips, and specifically, can obtain information or data sent by other devices or chips.
  • the chip 800 may further include an output interface 840.
  • the processor 810 can control the output interface 840 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
  • the chip can be applied to the setting device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the setting device in each method of the embodiment of the present application.
  • the chip can implement the corresponding process implemented by the setting device in each method of the embodiment of the present application.
  • the chip mentioned in the embodiment of the present application may also be referred to as a system-level chip, a system-on-chip, a system-on-chip, or a system-on-chip, etc.
  • the aforementioned processor may be a general-purpose processor, a digital signal processor (digital signal processor, DSP), a ready-made programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC), or Other programmable logic devices, transistor logic devices, discrete hardware components, etc.
  • DSP digital signal processor
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • the aforementioned general-purpose processor may be a microprocessor or any conventional processor.
  • the above-mentioned memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM).
  • the memory in the embodiment of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is to say, the memory in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instruction may be transmitted from a website, computer, server, or data center through a cable (Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

Embodiments of the present application provide a setting method and device. The method comprises: obtaining instruction information; and generating corresponding setting information according to the instruction information, the setting information being used for setting scenario resources and/or rule resources. The embodiments of the present application can reduce the operation difficulty in setting the scenario resources and/or rule resources.

Description

一种设置方法和设备A setting method and equipment 技术领域Technical field
本申请涉及物联网领域,并且更具体地,涉及一种设置方法和设备。This application relates to the field of Internet of Things, and more specifically, to a setting method and device.
背景技术Background technique
在物联网系统中,通常使用包括设备、网络、平台、应用在内的智能家居系统构建特定的设备自动化及设备联动,以实现具体的应用和业务。In the Internet of Things system, smart home systems including equipment, networks, platforms, and applications are usually used to build specific equipment automation and equipment linkage to achieve specific applications and services.
在开放互联基金会(OCF,Open Connectivity Foundation)协议中,一般通过创建并操作场景资源(Scene Resource)来实现设备设备自动化控制,通过创建规则资源(Rule Resource)来实现设备的联动。In the Open Connectivity Foundation (OCF, Open Connectivity Foundation) protocol, the automatic control of equipment and equipment is generally realized by creating and operating a scene resource (Scene Resource), and the linkage of equipment is realized by creating a rule resource (Rule Resource).
在设置场景资源和规则资源时,用户需要选择或输入多项信息,操作繁琐,使用不便。而且应用程序的使用难度较高,因为需要用户对物联网场景/规则及其结构有所理解。When setting scene resources and rule resources, users need to select or input multiple pieces of information, which is cumbersome and inconvenient to use. Moreover, the application is more difficult to use, because users need to have an understanding of IoT scenarios/rules and their structure.
发明内容Summary of the invention
本申请实施例提供一种设置方法和设备,能够根据用户的指令信息自动生成对场景资源和/或规则资源进行设置的设置信息,无需用户选择或输入多项信息,因此能够降低操作难度。The embodiments of the present application provide a setting method and device, which can automatically generate setting information for setting scene resources and/or rule resources according to user instruction information, without the user selecting or inputting multiple pieces of information, thereby reducing operation difficulty.
本申请实施例提出一种设置方法,包括:The embodiment of the application proposes a setting method, including:
获取指令信息;Get instruction information;
根据所述指令信息生成对应的设置信息,所述设置信息用于对场景资源和/或规则资源进行设置。The corresponding setting information is generated according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
本申请实施例提出一种设置设备,包括:The embodiment of the application proposes a setting device, including:
获取模块,用于获取指令信息;Obtaining module for obtaining instruction information;
设置信息生成模块,用于根据所述指令信息生成对应的设置信息,所述设置信息用于对场景资源和/或规则资源进行设置。The setting information generating module is configured to generate corresponding setting information according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
本申请实施例提出一种设置设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计 算机程序,执行如上述设置方法。An embodiment of the present application proposes a setting device, including a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the setting method described above.
本申请实施例提出一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如上述设置方法。The embodiment of the present application proposes a chip, which includes a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the above-mentioned setting method.
本申请实施例提出一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如上述设置方法。The embodiment of the present application proposes a computer-readable storage medium for storing a computer program, and the computer program enables a computer to execute the above-mentioned setting method.
本申请实施例提出一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如上述设置方法。The embodiment of the present application proposes a computer program product, which includes computer program instructions, and the computer program instructions cause a computer to execute the above-mentioned setting method.
本申请实施例提出一种计算机程序,所述计算机程序使得计算机执行如上述设置方法。The embodiment of the present application proposes a computer program that enables a computer to execute the above-mentioned setting method.
本申请实施例,设置设备在获取到指令信息时,根据指令信息生成对应的设置信息,用于对场景资源和/或规则资源进行设置,避免了由用户来选择或输入创建及修改场景资源和/或规则资源时所需的各项信息,因此降低了操作难度。In the embodiment of the present application, when the setting device obtains the instruction information, it generates corresponding setting information according to the instruction information, which is used to set the scene resource and/or the rule resource, avoiding the user to select or input to create and modify the scene resource and / Or various information required when the resource is ruled, thus reducing the difficulty of operation.
附图说明Description of the drawings
图1是根据本申请实施例的一种设置方法100实现流程图。Fig. 1 is a flow chart for implementing a setting method 100 according to an embodiment of the present application.
图2是根据本申请实施例的一种设置方法中,步骤S120实现流程图。Fig. 2 is a flowchart for implementing step S120 in a setting method according to an embodiment of the present application.
图3为本申请实施例一的实现流程图。Fig. 3 is an implementation flowchart of Embodiment 1 of this application.
图4是根据本申请实施例的一种设置设备400结构示意图。Fig. 4 is a schematic structural diagram of a setting device 400 according to an embodiment of the present application.
图5是根据本申请实施例的设置信息生成子模块520结构示意图。Fig. 5 is a schematic structural diagram of a setting information generating submodule 520 according to an embodiment of the present application.
图6是根据本申请实施例的一种设置设备600结构示意图。Fig. 6 is a schematic structural diagram of a setting device 600 according to an embodiment of the present application.
图7是根据本申请实施例的设置设备700示意性结构图。FIG. 7 is a schematic structural diagram of a setting device 700 according to an embodiment of the present application.
图8是根据本申请实施例的芯片800的示意性结构图。FIG. 8 is a schematic structural diagram of a chip 800 according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动 通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、先进的长期演进(Advanced long term evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、免授权频谱上的LTE(LTE-based access to unlicensed spectrum,LTE-U)系统、免授权频谱上的NR(NR-based access to unlicensed spectrum,NR-U)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、无线局域网(Wireless Local Area Networks,WLAN)、无线保真(Wireless Fidelity,WiFi)、下一代通信(5th-Generation,5G)系统或其他通信系统等。The technical solutions of the embodiments of this application can be applied to various communication systems, such as: Global System of Mobile Communication (GSM) system, Code Division Multiple Access (CDMA) system, and Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced Long Term Evolution (LTE-A) system , New Radio (NR) system, evolution system of NR system, LTE (LTE-based access to unlicensed spectrum, LTE-U) system on unlicensed spectrum, NR (NR-based access to unlicensed spectrum) unlicensed spectrum, NR-U) system, universal mobile telecommunication system (UMTS), wireless local area network (Wireless Local Area Networks, WLAN), wireless fidelity (Wireless Fidelity, WiFi), next-generation communications (5th-Generation) , 5G) system or other communication systems, etc.
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(Device to Device,D2D)通信,机器到机器(Machine to Machine,M2M)通信,机器类型通信(Machine Type Communication,MTC),以及车辆间(Vehicle to Vehicle,V2V)通信等,本申请实施例也可以应用于这些通信系统。Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communication, but also support, for example, Device to Device (Device to Device, D2D) communication, machine to machine (Machine to Machine, M2M) communication, machine type communication (MTC), and vehicle to vehicle (V2V) communication, etc. The embodiments of this application can also be applied to these communications system.
可选地,本申请实施例中的通信系统可以应用于载波聚合(Carrier Aggregation,CA)场景,也可以应用于双连接(Dual Connectivity,DC)场景,还可以应用于独立(Standalone,SA)布网场景。Optionally, the communication system in the embodiments of the present application can be applied to a carrier aggregation (Carrier Aggregation, CA) scenario, can also be applied to a dual connectivity (DC) scenario, and can also be applied to a standalone (SA) deployment. Network scene.
本申请实施例对应用的频谱并不限定。例如,本申请实施例可以应用于授权频谱,也可以应用于免授权频谱。The embodiment of the application does not limit the applied frequency spectrum. For example, the embodiments of this application can be applied to licensed spectrum or unlicensed spectrum.
本申请实施例结合设置设备描述了各个实施例,其中:设置设备也可以为用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。设置设备可以是WLAN中的站点(STAION, ST),可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备以及下一代通信系统,例如,NR网络中的终端设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的终端设备等。设置设备还可以是智能终端、个人电脑、平板电脑等设备。平板电脑也可以称为便携式电脑(Tablet Personal Computer,Tablet PC),其将触摸屏、摄像头、麦克风等作为基本的输入设备。The embodiments of this application describe various embodiments in conjunction with setting equipment, where the setting equipment can also be User Equipment (UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, and remote terminal. , Mobile equipment, user terminal, terminal, wireless communication equipment, user agent or user device, etc. The setting device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, personal digital processing (Personal Digital Assistant, PDA) devices, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, and next-generation communication systems, such as terminal devices in the NR network or Terminal equipment in the public land mobile network (PLMN) network that will evolve in the future. The setting device can also be a smart terminal, a personal computer, a tablet computer and other devices. A tablet computer may also be called a portable computer (Tablet Personal Computer, Tablet PC), which uses a touch screen, a camera, a microphone, etc. as basic input devices.
作为示例而非限定,在本申请实施例中,该设置设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, in the embodiment of the present application, the setting device may also be a wearable device. Wearable devices can also be called wearable smart devices. It is a general term for using wearable technology to intelligently design everyday wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" in this article are often used interchangeably in this article. The term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, exist alone B these three situations. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
本申请实施例可以应用于物联网领域。物联网通过各种信息传感器、射频识别技术、全球定位系统、红外感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、连接、互动的设备或过程,采集其声、光、热、电、力学、化学、生物、位置等各种需要的信息,通过各类可能的网 络接入,实现物与物、物与人之间广泛的连接,实现对物品和过程的智能化感知、识别和管理。物联网技术可以应用于智能家居领域。智能家居系统通过物联网技术将家中的各种设备(如音视频设备、照明系统、窗帘控制、空调控制、安防系统、数字影院系统、影音服务器、网络家电等)连接到一起,提供家电控制、照明控制、电话远程控制、室内外遥控、防盗报警、环境监测、暖通控制、红外转发以及可编程定时控制等多种功能和手段。The embodiments of the present application can be applied to the field of Internet of Things. Through various information sensors, radio frequency identification technology, global positioning system, infrared sensors, laser scanners and other devices and technologies, the Internet of Things collects any equipment or process that needs to be monitored, connected, and interacted in real time, and collects its sound, light, Various required information such as heat, electricity, mechanics, chemistry, biology, location, etc., can be accessed through various possible networks to realize a wide range of connections between things and people, and realize intelligent perception of objects and processes , Identification and management. The Internet of Things technology can be applied to the field of smart homes. The smart home system connects various devices in the home (such as audio and video equipment, lighting system, curtain control, air conditioning control, security system, digital cinema system, audio-visual server, network home appliances, etc.) through the Internet of Things technology to provide home appliance control, Various functions and methods such as lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control, infrared forwarding, and programmable timing control.
在物联网系统中,通常使用包括设备、网络、平台、应用在内的智能家居系统构建特定的设备自动化及设备联动,以实现具体的应用和业务。In the Internet of Things system, smart home systems including equipment, networks, platforms, and applications are usually used to build specific equipment automation and equipment linkage to achieve specific applications and services.
在OCF协议中,通过操作已经创建的(用户创建或者系统预定义)场景资源(Scene Resource)来实现设备自动化控制。场景资源是一种集合资源,引用了一个或多个场景成员资源(Scene Member Resource),每个场景成员资源也是一种集合资源,它引用了一个本地或远程的设备资源。同时,在OCF协议中,通过定义规则资源(Rule Resource)来实现设备的联动。规则资源是一种集合资源,引用了一个规则输入集合资源(Rule Input Collection Resource),规则输入集合资源引用了一个或多个资源(这些资源一般是设备的功能性资源,能够产生设备的状态数据通知)。规则资源又引用了一个规则表达式资源(Rule Expression Resource)。规则资源还引用了一个规则操作集合资源(Rule Actions Collection Resource),规则操作集合资源引用了一个或多个场景资源。目前,为了创建或修改场景资源和/或规则资源,用户需要选择或输入多项信息,其操作繁琐,使用不便。为了降低操作难度,本申请实施例提出一种设置方法,图1是根据本申请实施例的一种设置方法100实现流程图,包括以下步骤:In the OCF protocol, automatic device control is achieved by operating a scene resource that has been created (created by the user or pre-defined by the system). A scene resource is a collective resource that references one or more scene member resources (Scene Member Resources). Each scene member resource is also a collective resource, which references a local or remote device resource. At the same time, in the OCF protocol, device linkage is realized by defining rule resources. A rule resource is a collection resource, which refers to a rule input collection resource (Rule Input Collection Resource), which refers to one or more resources (these resources are generally the functional resources of the device, which can generate the status data of the device) notify). The rule resource also references a rule expression resource (Rule Expression Resource). The rule resource also references a rule action collection resource (Rule Actions Collection Resource), and the rule action collection resource references one or more scene resources. Currently, in order to create or modify scene resources and/or rule resources, users need to select or input multiple pieces of information, which is cumbersome and inconvenient to use. In order to reduce the difficulty of operation, an embodiment of the present application proposes a setting method. FIG. 1 is a flowchart of implementing a setting method 100 according to an embodiment of the present application, including the following steps:
S110:获取指令信息;S110: Obtain instruction information;
S120:根据该指令信息生成对应的设置信息,该设置信息用于对场景资源和/或规则资源进行设置。S120: Generate corresponding setting information according to the instruction information, where the setting information is used to set scene resources and/or rule resources.
可选地,上述方法可以进一步包括:根据该设置信息对场景资源和/ 或规则资源进行设置。Optionally, the above method may further include: setting the scene resource and/or the rule resource according to the setting information.
可选地,如图2所示,上述步骤S120可以包括:Optionally, as shown in FIG. 2, the foregoing step S120 may include:
S210:根据指令信息生成对应的设置参数;S210: Generate corresponding setting parameters according to the instruction information;
S220:根据该设置参数生成对应的设置信息。S220: Generate corresponding setting information according to the setting parameter.
在一些实施方式中,上述步骤S110中获取的指令信息可以包括语音信息、图像信息、动作信息及手势信息中的至少一项。上述指令信息可以指用户对发出的对智能设备的控制指令,包含用户希望达成的控制效果。例如,用户说出“回家的时候开客厅灯和空调”、“打开电视的时候关客厅灯”、“30度的时候开空调”、“半夜2点叫我看球赛”等指令。在用户采用语音形式发出指令信息的情况下,本申请实施例可以采用声音接收装置获取用户发出的指令信息。又如,用户画出期望达成的效果的图像,例如用户画图示意“回家的时候开客厅灯和空调”、或者用户写出“回家的时候开客厅灯和空调”的文字。在前述用户通过图像的形式发出指令信息的情况下,本申请实施例可以采用图像采集装置获取用户发出的指令信息。又如,用户采用动作或手势等发出控制指令,本申请实施例可以采用图像采集装置摄取包含用户的动作或手势的图像。In some embodiments, the instruction information obtained in step S110 may include at least one of voice information, image information, action information, and gesture information. The above-mentioned instruction information may refer to the control instruction issued by the user to the smart device, including the control effect that the user hopes to achieve. For example, the user utters instructions such as "turn on the living room lights and air conditioner when going home", "turn off the living room lights when turning on the TV", "turn on the air conditioner at 30 degrees", and "call me to watch a football game at 2 o'clock in the middle of the night." In the case where the user sends the instruction information in the form of voice, the embodiment of the present application may use a voice receiving device to obtain the instruction information sent by the user. For another example, the user draws an image of the desired effect, for example, the user draws a picture indicating "turn on the living room lights and air conditioner when going home", or the user writes the text "turn on the living room lights and air conditioner when going home". In the case of the aforementioned user sending instruction information in the form of an image, an image acquisition device may be used in the embodiment of the present application to obtain the instruction information issued by the user. For another example, if the user issues control instructions by using actions or gestures, an image acquisition device may be used in the embodiments of the present application to capture images containing the user's actions or gestures.
在指令信息包括语音信息的情况下,本申请实施例可以采用语音语义服务将指令信息转换成对应的文本信息,并将文本信息转换成对应的语义信息,该语义信息中可以包含设置参数。语音语义服务包括语音识别服务和语义识别服务,语义识别服务也可以称为自然语言处理服务。In the case where the instruction information includes voice information, the embodiment of the present application may use a voice semantic service to convert the instruction information into corresponding text information, and convert the text information into corresponding semantic information, and the semantic information may include setting parameters. Speech semantic services include speech recognition services and semantic recognition services. Semantic recognition services can also be called natural language processing services.
在指令信息包括图像信息的情况下,本申请实施例可以采用图像识别服务,提取出所述图像信息中的图像特征,并采用该图像特征查找预设的第一对应关系,得到图像特征对应的设置参数。In the case where the instruction information includes image information, the embodiment of the present application may use an image recognition service to extract the image feature in the image information, and use the image feature to search for the preset first correspondence to obtain the corresponding image feature Setting parameters.
在指令信息包括动作信息或手势信息的情况下,本申请实施例可以摄取用户动作或手势的图像,并采用图像识别服务,识别动作信息/手势信息中的动作特征,采用该动作特征查找预设的第二对应关系,得到动作特征对应的设置参数。In the case where the instruction information includes action information or gesture information, the embodiments of the present application can capture images of user actions or gestures, and use image recognition services to identify the action features in the action information/gesture information, and use the action features to find presets The second corresponding relationship of, obtains the setting parameter corresponding to the action feature.
在一些实施方式中,上述步骤S220中根据该设置参数生成对应的设置信息的方式可以包括以下至少一种:In some implementation manners, the manner of generating corresponding setting information according to the setting parameters in step S220 may include at least one of the following:
(1)根据设置参数及预定规则生成对应的设置信息。(1) Generate corresponding setting information according to the setting parameters and predetermined rules.
(2)根据设置参数及智能设备信息生成对应的设置信息,该智能设备信息包括智能设备的操作记录和/或状态数据。例如空调开启时通常设置的温度,照明灯在不同时段通常设置的亮度等。(2) The corresponding setting information is generated according to the setting parameters and the smart device information, the smart device information includes the operation record and/or status data of the smart device. For example, the temperature usually set when the air conditioner is turned on, and the brightness of the lighting lamp at different times.
(3)根据设置参数及用户信息生成对应的设置信息,该用户信息包括用户对智能设备的偏好信息。例如用户喜欢的亮度,湿度,温度,电视频道,背景音乐,等等。这些偏好信息可以采用人工智能(AI,Artificial Intelligence)系统经过对一段时间内用户行为的分析处理之后形成。(3) Generate corresponding setting information according to the setting parameters and user information, the user information including the user's preference information for the smart device. For example, the user's favorite brightness, humidity, temperature, TV channel, background music, and so on. These preference information can be formed by using an artificial intelligence (AI, Artificial Intelligence) system to analyze and process user behavior over a period of time.
在一些实施方式中,本申请实施例根据设置信息对场景资源和/或规则资源进行设置包括以下至少一项:In some implementation manners, the setting of the scene resource and/or the rule resource according to the setting information in the embodiment of the present application includes at least one of the following:
根据所述设置信息创建场景资源和/或规则资源;Create scene resources and/or rule resources according to the setting information;
根据所述设置信息对已有的场景资源和/或规则资源进行修改。Modify the existing scene resources and/or rule resources according to the setting information.
例如,将设置信息转换为场景或规则时,如果已存在同名场景或规则,则使用新的设置覆盖已有的设置;如果不存在,则创建新的场景资源和/或规则资源。For example, when the setting information is converted into a scene or rule, if a scene or rule with the same name already exists, the new setting will be used to overwrite the existing setting; if it does not exist, a new scene resource and/or rule resource will be created.
进一步地,本申请实施例还可以将设置信息转换为反馈信息,该反馈信息包括语音信息或图像信息;播放或显示所述反馈信息。Further, the embodiment of the present application may also convert the setting information into feedback information, and the feedback information includes voice information or image information; the feedback information is played or displayed.
采用前述过程,本申请实施例可以采用语音的形式播放反馈信息、或者采用图像的形式显示反馈信息等,从而将设置的结果告知用户,提示用户确认该设置结果或者进行进一步调整。Using the foregoing process, the embodiment of the present application can play the feedback information in the form of voice, or display the feedback information in the form of images, etc., so as to inform the user of the setting result and prompt the user to confirm the setting result or make further adjustments.
本申请实施例可以采用多个装置实现上述设置方法,各个装置分担不同的功能,且相互之间存在信息交互。以下举具体的实施例详细介绍本申请。In the embodiment of the present application, multiple devices may be used to implement the above setting method, and each device shares different functions, and there is information interaction between each other. Specific examples are given below to introduce this application in detail.
在本实施例中,采用智能设备的应用程序接收用户发出的语音形式的指令信息,采用语音语义服务实现指令信息到语义信息(语义信息中可以 包括设置参数)的转换,采用AI系统实现设置参数到设置信息的转换,采用场景/规则管理程序实现利用设置信息对场景资源和/或规则资源进行设置。上述智能设备可以为智能终端,例如智能手机。在以下实施例中,以智能手机(简称手机)为例进行说明。本申请实施例中的设置设备不限于智能手机,本申请实施例对于其他形式的终端设备同样适用。In this embodiment, the application program of the smart device is used to receive the instruction information in the form of voice sent by the user, the voice semantic service is used to realize the conversion of the instruction information to the semantic information (the semantic information may include the setting parameters), and the AI system is used to realize the setting parameters For the conversion to setting information, the scene/rule management program is used to realize the setting of scene resources and/or rule resources using the setting information. The above-mentioned smart device may be a smart terminal, such as a smart phone. In the following embodiments, a smart phone (referred to as a mobile phone) is taken as an example for description. The setting device in the embodiment of the present application is not limited to a smart phone, and the embodiment of the present application is also applicable to other forms of terminal devices.
其中,语音语义服务可以运行于服务器上,以超文本传输协议/安全通道上的超文本传输协议(HTTP/HTTPS,HyperText Transfer Protocol/Hyper Text Transfer Protocol over Secure Socket Layer)接口方式为应用程序提供语音识别、语义分析、语音播报等功能。具体地,语音识别功能可以接收语音输入,处理后转换为文本输出;语义分析功能可以根据特定的上下文环境,从文本中提取该文本的意义、主题、类别和相似度等语义信息,例如“何事、何人、何时、何地、何因”信息;语音播报功能可以接收文本输入,处理后转换为语音输出。Among them, the voice semantic service can run on the server, and provide voice for the application through the HyperText Transfer Protocol/HyperText Transfer Protocol (HTTP/HTTPS, HyperText Transfer Protocol/Hyper Text Transfer Protocol/Hyper Text Transfer Protocol/over Secure Socket Layer) interface on the server. Recognition, semantic analysis, voice broadcast and other functions. Specifically, the speech recognition function can receive speech input and convert it into text output after processing; the semantic analysis function can extract semantic information such as the meaning, topic, category, and similarity of the text from the text according to a specific context, such as "what is it?" , Who, when, where, and why" information; the voice broadcast function can receive text input and convert it to voice output after processing.
AI系统通过采集用户和环境数据进行用户行为的分析和模拟。特别地,在物联网系统中,AI系统采集用户对智能设备的操作记录、设备的状态数据等,能够分析出用户所喜欢的温度,湿度,亮度,电视频道等用户信息,这些用户信息中包含用户对智能设备的偏好信息。The AI system analyzes and simulates user behavior by collecting user and environmental data. In particular, in the Internet of Things system, the AI system collects the user's operation records of the smart device, the status data of the device, etc., and can analyze the user's favorite temperature, humidity, brightness, TV channel and other user information. These user information includes User preference information for smart devices.
如图3为本申请实施例一的实现流程图,包括:Figure 3 is an implementation flowchart of Embodiment 1 of this application, including:
S301:用户自然得说出要达成的控制效果,例如“回家的时候开客厅灯和空调”,又例如“打开电视的时候关客厅灯”,又例如“30度的时候开空调”,又例如“半夜2点叫我看球赛”。S301: The user naturally has to say the control effect to be achieved, such as "turn on the living room lights and air conditioner when going home", or "turn off the lights in the living room when the TV is turned on", or "turn on the air conditioner at 30 degrees", and For example, "Tell me to watch a football game at 2 o'clock in the middle of the night."
S302:手机应用将用户的语音形式的指令信息发送至语音语义服务。可选地,手机应用通过HTTP/HTTPS接口将指令信息发送至运行于服务器上的语音语义服务。S302: The mobile phone application sends the user's voice instruction information to the voice semantic service. Optionally, the mobile phone application sends the command information to the voice semantic service running on the server through the HTTP/HTTPS interface.
S303:语音语义服务将语音转换为文本,并分析出文本中的语义信息,或称关键语义,例如“何事、何人、何时、何地、何因”信息。语义信息中可以包含用于生成设置信息的设置参数。S303: The speech semantic service converts speech into text, and analyzes the semantic information in the text, or key semantics, such as "what, who, when, where, and why" information. The semantic information may include setting parameters used to generate the setting information.
在一种实施方式中,语音形式的指令信息为“回家的时候开客厅灯和空调”时,语音语义服务分析出语义信息包括:“回家,开客厅灯,开客厅空调”。In one embodiment, when the voice instruction information is "turn on the living room lights and air conditioner when going home", the semantic information analyzed by the voice semantic service includes: "go home, turn on the living room lights, turn on the living room air conditioner".
在另一种实施方式中,语音形式的指令信息为“打开电视的时候关客厅灯”,语音语义服务分析出语义信息包括:“开电视的时候,关客厅灯”。In another embodiment, the instruction information in the form of voice is "turn off the lights in the living room when the TV is turned on", and the semantic information analyzed by the voice semantic service includes: "turn off the lights in the living room when the TV is turned on".
在另一种实施方式中,语音形式的指令信息为“30度的时候开空调”,语音语义服务分析出语义信息包括:“30度的时候,开空调”。In another embodiment, the instruction information in the form of voice is "turn on the air conditioner at 30 degrees", and the semantic information analyzed by the voice semantic service includes: "turn on the air conditioner at 30 degrees".
在另一种实施方式中,语音形式的指令信息为“半夜2点叫我看球赛”,语音语义服务分析出语义信息包括:“半夜2点,看球赛”。In another embodiment, the instruction information in the form of voice is "Call me to watch the football game at 2 in the middle of the night", and the semantic information analyzed by the voice semantic service includes: "Watch the football game at 2 in the middle of the night".
上述几种实施方式中的语义信息包括“何事、何人、何时、何地、何因”信息中的至少一项。The semantic information in the foregoing several implementation manners includes at least one item of "what, who, when, where, and why" information.
S304:语音语义服务将语义信息反馈至手机应用。可选地,语音语义服务通过HTTP/HTTPS接口将语义信息反馈至手机应用。S304: The voice semantic service feeds back semantic information to the mobile phone application. Optionally, the voice semantic service feeds back semantic information to the mobile phone application through the HTTP/HTTPS interface.
S305:手机应用将语义信息发送至AI系统,请求AI系统处理用户的语义信息。S305: The mobile phone application sends the semantic information to the AI system, and requests the AI system to process the user's semantic information.
S306:AI系统将语义信息中包含的设置参数转换为符合用户习惯的设置信息。S306: The AI system converts the setting parameters included in the semantic information into setting information that conforms to user habits.
在一种实施方式中,对于用户A,语义信息包括:“回家,开客厅灯,开客厅空调”,转换为设置信息包括:In one embodiment, for user A, the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner", and the conversion into setting information includes:
{“name”:”回家”,“desc”:”回家的时候开客厅灯和空调”,“trigger”:{“datetime”:{“season”:”winter”,“date”:”daily”,“time”:”19:00”},…},”devices”:[{”客厅灯”:{”on”:true,”brightness”:”70”}},{”客厅空调”:{”on”:true,”temperature”:”25”}},…}]}{"Name":"Go home","desc":"Turn on the living room lights and air conditioner when you go home","trigger":{"datetime":{"season":"winter","date":"daily ","Time":"19:00"},…},"devices":[{"Living room lights":{"on":true,"brightness":"70"}},{"Living room air conditioning": {"On":true,"temperature":"25"}},…}]}
上述设置信息中,操作对象为客厅灯和客厅空调。其中,对客厅灯的触发条件为:时间为冬日的19:00;操作方式为:打开,并将客厅灯亮度设置为70。对客厅空调的触发条件为:时间为冬日的19:00;操作方式为:打开,并将客厅空调的温度设置为25度。In the above setting information, the operation objects are living room lights and living room air conditioners. Among them, the trigger condition for the living room lamp is: the time is 19:00 in winter; the operation mode is: turn on, and set the brightness of the living room lamp to 70. The trigger condition for the living room air conditioner is: the time is 19:00 in winter; the operation mode is: turn on, and set the temperature of the living room air conditioner to 25 degrees.
在另一种实施方式中,对于用户B,语义信息包括:“回家,开客厅灯,开客厅空调”,转换为设置信息包括:In another implementation manner, for user B, the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner", and the conversion into setting information includes:
{“name”:”回家”,“desc”:”回家的时候开客厅灯和空调”,“trigger”:{“门磁”:{“on”:”true”},…},”devices”:[{”客厅灯”:{”on”:true,”brightness”:”60”}},{”客厅空调”:{”on”:true,”temperature”:”25”}},…}]}{"Name":"Go home","desc":"Turn on the living room lights and air conditioner when going home","trigger":{"Door sensor":{"on":"true"},…}," devices":[{"Living room lights":{"on":true,"brightness":"60"}},{"Living room air conditioning":{"on":true,"temperature":"25"}}, …}]}
上述设置信息中,操作对象为客厅灯和客厅空调。其中,对客厅灯的触发条件为:门磁被打开;操作方式为:打开,并将客厅灯亮度设置为60。对客厅空调的触发条件为:门磁被打开;操作方式为:打开,并将客厅空调的温度设置为25度。In the above setting information, the operation objects are living room lights and living room air conditioners. Among them, the trigger condition for the living room lamp is: the door sensor is turned on; the operation mode is: open, and the brightness of the living room lamp is set to 60. The trigger condition for the living room air conditioner is: the door sensor is turned on; the operation mode is: open, and the temperature of the living room air conditioner is set to 25 degrees.
在另一种实施方式中,对于用户C,语义信息包括:“回家,开客厅灯,开客厅空调”,转换为设置信息包括:In another embodiment, for user C, the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner", and the conversion to the setting information includes:
{“name”:”回家”,“desc”:”回家的时候开客厅灯和空调”,“trigger”:{“人体传感”:{“on”:”true”},“datetime”:{“season”:”winter”,“date”:”daily”,“time”:”19:00”}},…},”devices”:[{”客厅灯”:{”on”:true,”brightness”:”80”}},{”客厅空调”:{”on”:true,”temperature”:”26”}},…}]}{"Name":"Go home","desc":"Turn on the living room lights and air conditioner when going home","trigger":{"Human sensor":{"on":"true"},"datetime" :{"Season":"winter","date":"daily","time":"19:00"}},…},"devices":[{"Living room lights":{"on":true ,"Brightness":"80"}},{"Living room air conditioning":{"on":true,"temperature":"26"}},…}]}
上述设置信息中,操作对象为客厅灯和客厅空调。其中,对客厅灯的触发条件为:时间为冬日的17:00、并且人体传感器被打开;操作方式为:打开,并将客厅灯亮度设置为80。对客厅空调的触发条件为:时间为冬日的17:00、并且人体传感器被打开;操作方式为:打开,并将客厅空调的温度设置为26度。In the above setting information, the operation objects are living room lights and living room air conditioners. Among them, the trigger condition for the living room lamp is: the time is 17:00 in winter and the human sensor is turned on; the operation mode is: turn on, and the brightness of the living room lamp is set to 80. The trigger condition for the living room air conditioner is: the time is 17:00 in winter, and the human sensor is turned on; the operation mode is: turn on, and the temperature of the living room air conditioner is set to 26 degrees.
在另一种实施方式中,对于用户D,语义信息包括:“回家,开客厅灯,开客厅空调”,转换为设置信息包括:In another implementation manner, for user D, the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner", and the conversion into setting information includes:
{“name”:”回家”,“desc”:”回家的时候开客厅灯和空调”,“trigger”:{“microphone”:{“voice”:”我回来了”},…},”devices”:[{”客厅灯”:{”on”:true,”brightness”:”80”}},{”客厅空调”:{”on”:true, “mode”:”cold”,”temperature”:”26”}},…}]}{"Name":"Go home","desc":"Turn on the living room lights and air conditioner when you go home","trigger":{"microphone":{"voice":"I'm back"},…}, "Devices":[{"Living room lights":{"on":true,"brightness":"80"}},{"Living room air conditioning":{"on":true, "mode":"cold"," temperature”:”26”}},…}]}
上述设置信息中,操作对象为客厅灯和客厅空调。其中,对客厅灯的触发条件为:语音接收装置接收到“我回来了”的语音;操作方式为:打开,并将客厅灯亮度设置为80。对客厅空调的触发条件为:语音接收装置接收到“我回来了”的语音;操作方式为:打开,并将客厅空调的温度设置为26度。In the above setting information, the operation objects are living room lights and living room air conditioners. Among them, the trigger condition for the living room lamp is: the voice receiving device receives the voice of "I'm back"; the operation mode is: turn on, and set the brightness of the living room lamp to 80. The trigger condition for the living room air conditioner is: the voice receiving device receives the voice of "I'm back"; the operation mode is: turn on, and set the temperature of the living room air conditioner to 26 degrees.
在一些实施方式中,设置信息采用JS对象表示法(JSON,JavaScript Object Notation)方式描述。In some embodiments, the setting information is described in a JS Object Notation (JSON, JavaScript Object Notation) manner.
可以看出,上述几种实施方式中,虽然语义信息是相同的,但是由于用户对家居设备的设置喜好是不同的,针对不同的用户,根据语义信息中包含的设置参数所转换成的设置信息不同。这些设置信息是AI系统通过采集用户对智能设备的操作记录、分析用户的喜好、并根据用户喜好而设置的。例如,用户A一般19:00回家,习惯将客厅灯亮度设置为70,将客厅空调设置为25度。用户B的入户门安装有门磁,用户B习惯将客厅灯亮度设置为60,将客厅空调设置为25度。用户C家中安装有人体传感装置,用户C习惯将客厅灯亮度设置为80,将客厅空调设置为26度。用户D家中安装有声音感应装置,用户D习惯将客厅灯亮度设置为80,将客厅空调设置为制冷26度,等等。It can be seen that although the semantic information is the same in the above-mentioned several embodiments, because users have different preferences for the setting of home equipment, for different users, the setting information is converted into setting information according to the setting parameters contained in the semantic information. different. These setting information is set by the AI system by collecting the user's operation records on the smart device, analyzing the user's preferences, and setting it according to the user's preferences. For example, user A usually goes home at 19:00 and is used to setting the brightness of the living room light to 70 and the living room air conditioner to 25 degrees. User B's entrance door is equipped with a door sensor. User B is used to setting the brightness of the living room lamp to 60 and the living room air conditioner to 25 degrees. User C has a human body sensing device installed in his home. User C is used to setting the brightness of the living room lamp to 80 and the living room air conditioner to 26 degrees. User D has a sound sensing device installed in his home. User D is used to setting the brightness of the living room light to 80, and the living room air conditioner to 26 degrees of cooling, and so on.
上述实施方式中,采用AI系统生成设置信息。在本申请的其他实施例中,也可以采用预定义规则将上述语义信息转换设置信息。前述预定义规则可以包括:代表“何事”的设置参数与场景中对设备的操作的对应关系,代表“何时”/“何因”的设置参数与名称或规则中的输入信息的对应关系,等等。利用该预定义规则,可以将“何事”转换为场景中对设备的操作,“何时”/“何因”转换为名称和规则中的输入,生成的场景作为规则中的操作集合。无“何时”/“何因”信息时则只生成场景且采用自动名称(例如“场景1”)。In the above embodiment, the AI system is used to generate the setting information. In other embodiments of the present application, predefined rules may also be used to convert the above-mentioned semantic information into setting information. The aforementioned predefined rules may include: the corresponding relationship between the setting parameter representing "what" and the operation of the device in the scene, the corresponding relationship between the setting parameter representing "when"/"why" and the name or input information in the rule, and many more. Using this predefined rule, the "what" can be converted into the operation on the device in the scene, and the "when"/"why" can be converted into the name and input in the rule, and the generated scene can be used as the set of operations in the rule. When there is no "when"/"why" information, only the scene is generated and the automatic name is used (for example, "scene 1").
在一种实施方式中,语义信息包括:“回家,开客厅灯,开客厅空调”, 将语义信息中包含的设置参数转换为设置信息包括:In one embodiment, the semantic information includes: "go home, turn on the living room light, turn on the living room air conditioner", and converting the setting parameters included in the semantic information into setting information includes:
{“name”:”回家”,“desc”:”回家的时候开客厅灯和空调”,“trigger”:{“datetime”:{“date”:”daily”,“time”:”19:00”}},”devices”:[{”客厅灯”:{”on”:true}},{”客厅空调”:{”on”:true}},…}]}。{"Name":"Go home","desc":"Turn on the living room lights and air conditioner when you go home","trigger":{"datetime":{"date":"daily","time":"19 :00”}},”devices”:[{”Living room lights”:{”on”:true}},{”Living room air conditioning”:{”on”:true}},…}]}.
在另一种实施方式中,语义信息包括:“开电视的时候,关客厅灯”,将语义信息中包含的设置参数转换为设置信息包括:In another embodiment, the semantic information includes: "when the TV is turned on, turn off the living room light", and converting the setting parameters contained in the semantic information into setting information includes:
{“name”:”开电视”,“desc”:”打开电视的时候关客厅灯”,“trigger”:{”电视”:{“on”:”true”}},”devices”:[{”客厅灯”:{”on”:false},…}]}。{"Name":"Turn on the TV","desc":"Turn off the lights in the living room when turning on the TV","trigger":{"TV":{"on":"true"}},"devices":[{ "Living room lights": {"on":false},…}]}.
在另一种实施方式中,语义信息包括:“30度的时候,开空调”,将语义信息中包含的设置参数转换为设置信息包括:In another embodiment, the semantic information includes: "when 30 degrees, turn on the air conditioner", and converting the setting parameters contained in the semantic information into setting information includes:
{“name”:”30度”,“desc”:”30度的时候开空调”,“trigger”:{”温度传感器”:{“temperature”:”30”}},”devices”:[{”空调”:{”on”:false,“mode”:”cold”,“temperature”:25},…}]}。{"Name":"30 degrees","desc":"Turn on the air conditioner at 30 degrees","trigger":{"temperature sensor":{"temperature":"30"}},"devices":[{ "Air conditioning":{"on":false,"mode":"cold","temperature":25},…}]}.
在另一种实施方式中,语义信息包括:“半夜2点,看球赛”,将语义信息中包含的设置参数转换为设置信息包括:In another embodiment, the semantic information includes: "2 o'clock in the middle of the night, watching a football game", and converting the setting parameters contained in the semantic information into setting information includes:
{“name”:”半夜2点”,“desc”:”半夜2点叫我看球赛”,“trigger”:{“datetime”:{“date”:”2020-02-20”,“time”:”2:00”}},”devices”:[{”闹钟”:{“time”:”2:00”,”alarm”:true},{”电视”:{”on”:true,“channel”:”5”},…}]}。{"Name":"2 o'clock in the middle of the night", "desc":"Call me to watch the game at 2 o'clock in the middle of the night", "trigger":{"datetime":{"date":"2020-02-20","time" :"2:00"}},"devices":[{"Alarm":{"time":"2:00","alarm":true},{"TV":{"on":true," channel”:”5”},…}]}.
S307:AI系统将设置信息返回给手机应用。S307: The AI system returns the setting information to the mobile phone application.
S308:手机应用向场景/规则管理程序下发设置信息。S308: The mobile phone application issues setting information to the scene/rule management program.
S309:场景/规则管理程序根据设置信息对场景资源和/或规则资源进行设置。可选地,在将上述设置信息转换为场景和规则时,若已存在同名场景或规则,则使用新的设置覆盖已有的设置。如果不存在,则建立新的场景或规则。S309: The scene/rule management program sets the scene resource and/or the rule resource according to the setting information. Optionally, when converting the above setting information into scenes and rules, if a scene or rule with the same name already exists, the new setting is used to overwrite the existing setting. If it does not exist, create a new scenario or rule.
S310:场景/规则管理程序向手机应用返回反馈消息,例如设置成功消 息,其中携带上述设置信息。S310: The scene/rule management program returns a feedback message to the mobile phone application, for example, a setting success message, which carries the above setting information.
S311:手机应用将设置信息发送至语音语义服务,请求语音语义服务将设置信息转换为语音。S311: The mobile phone application sends the setting information to the voice semantic service, and requests the voice semantic service to convert the setting information into voice.
S312:语音语义服务将上述设置信息转换为语音信息,将该语音信息返回至手机应用。例如:“当您说‘我回来了’的时候,客厅灯将开启并设置为亮度80,客厅空调将开启并设置为制冷26度”。S312: The voice semantic service converts the above setting information into voice information, and returns the voice information to the mobile phone application. For example: "When you say'I'm back', the living room light will be turned on and set to a brightness of 80, and the living room air conditioner will be turned on and set to cooling at 26 degrees."
S313:手机应用播报该语音信息,作为用户设置的结果告知用户,提示用户确认前述设置结果或者进行进一步调整。若用户选择进一步调整,则跳转至步骤S301。S313: The mobile phone application broadcasts the voice information and informs the user as a result of the user setting, prompting the user to confirm the foregoing setting result or make further adjustments. If the user chooses to further adjust, then jump to step S301.
在本申请的其他实施例中,用户可以输入图像形式的指令信息。针对这种情况,可以采用图像识别服务,识别图像信息中的图像特征,并得到所述图像特征对应的设置参数。或者,用户可以输入包括动作信息或手势信息的指令信息。针对这种情况,可以拍摄包含用户的动作或手势的图形,采用图像识别服务识别图像中的动作信息/手势信息中的动作特征,并得到该动作特征对应的设置参数。另外,在本申请的其他实施例中,也可以采用预定规则,将语义信息转换为对应的设置信息。In other embodiments of the present application, the user may input instruction information in the form of an image. In view of this situation, an image recognition service can be used to identify image features in the image information, and obtain the setting parameters corresponding to the image features. Alternatively, the user may input instruction information including motion information or gesture information. In response to this situation, it is possible to take a picture containing the user's actions or gestures, use the image recognition service to recognize the action information in the image/the action feature in the gesture information, and obtain the setting parameters corresponding to the action feature. In addition, in other embodiments of the present application, predetermined rules may also be used to convert semantic information into corresponding setting information.
采用本申请实施例,在创建/修改场景资源和规则资源时,用户可以通过自然语言、图像、动作或手势等方式输入指令信息,其操作简单,用户只需要自然地描述要达成的控制效果即可,不需要理解物联网场景规则及其结构,应用程序的使用难度较低。With the embodiments of this application, when creating/modifying scene resources and rule resources, users can input instruction information through natural language, images, actions, or gestures. The operation is simple, and the user only needs to naturally describe the control effect to be achieved. However, there is no need to understand the rules and structure of the Internet of Things scenario, and the application is less difficult to use.
本申请实施例还提出一种设置设备,图4是根据本申请实施例的一种设置设备400结构示意图,包括:The embodiment of the present application also proposes a setting device. FIG. 4 is a schematic structural diagram of a setting device 400 according to an embodiment of the present application, including:
获取模块410,用于获取指令信息;The obtaining module 410 is used to obtain instruction information;
设置信息生成模块420,用于根据指令信息生成对应的设置信息,该设置信息用于对场景资源和/或规则资源进行设置。The setting information generating module 420 is configured to generate corresponding setting information according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
图5是根据本申请实施例的一种设置设备中设置信息生成模块420的结构示意图,包括:FIG. 5 is a schematic structural diagram of a setting information generating module 420 in a setting device according to an embodiment of the present application, including:
设置参数生成子模块510,用于根据所述指令信息生成对应的设置参数;The setting parameter generation sub-module 510 is configured to generate corresponding setting parameters according to the instruction information;
设置信息生成子模块520,用于根据所述设置参数生成对应的设置信息。The setting information generating sub-module 520 is configured to generate corresponding setting information according to the setting parameters.
在一些实施方式中,所述指令信息包括语音信息、图像信息、动作信息及手势信息中的至少一项。In some embodiments, the instruction information includes at least one of voice information, image information, motion information, and gesture information.
可选地,在指令信息包括语音信息的情况下,设置参数生成子模块510,用于根据所述语音信息生成对应的文本信息;根据所述文本信息生成对应的设置参数。Optionally, when the instruction information includes voice information, the setting parameter generation submodule 510 is configured to generate corresponding text information according to the voice information; and generate corresponding setting parameters according to the text information.
可选地,在指令信息包括图像信息的情况下,设置参数生成子模块510,用于提取所述图像信息中的图像特征;采用所述图像特征查找预设的第一对应关系,得到所述图像特征对应的设置参数。Optionally, when the instruction information includes image information, a parameter generation sub-module 510 is set to extract image features in the image information; the image features are used to search for a preset first corresponding relationship to obtain the Setting parameters corresponding to image features.
可选地,在指令信息包括动作信息或手势信息的情况下,设置参数生成子模块510,用于识别所述动作信息/手势信息中的动作特征;采用所述动作特征查找预设的第二对应关系,得到所述动作特征对应的设置参数。Optionally, when the instruction information includes action information or gesture information, the parameter generation sub-module 510 is set to identify the action feature in the action information/gesture information; use the action feature to search for a preset second Corresponding relationship, the setting parameter corresponding to the action feature is obtained.
如图5所示,可选地,上述设置信息生成子模块520包括:As shown in FIG. 5, optionally, the above-mentioned setting information generating submodule 520 includes:
规则转换单元521,用于根据所述指令信息及预定规则生成对应的设置信息;和/或,The rule conversion unit 521 is configured to generate corresponding setting information according to the instruction information and predetermined rules; and/or,
人工智能转换单元522,用于根据所述指令信息及智能设备信息生成对应的设置信息,所述智能设备信息包括智能设备的操作记录和/或状态数据;和/或,根据所述指令信息及用户信息生成对应的设置信息,所述用户信息包括用户对智能设备的偏好信息。The artificial intelligence conversion unit 522 is configured to generate corresponding setting information according to the instruction information and smart device information, where the smart device information includes operation records and/or status data of the smart device; and/or, according to the instruction information and The user information generates corresponding setting information, and the user information includes the user's preference information for the smart device.
图6是根据本申请实施例的一种设置设备600结构示意图,如图6所示,上述设备还包括:FIG. 6 is a schematic structural diagram of a setting device 600 according to an embodiment of the present application. As shown in FIG. 6, the foregoing device further includes:
反馈模块630,用于将设置信息转换为反馈信息,该反馈信息包括语音信息或图像信息;播放或显示该反馈信息。The feedback module 630 is used to convert the setting information into feedback information. The feedback information includes voice information or image information; and to play or display the feedback information.
应理解,根据本申请实施例的设置设备中的模块的上述及其他操作和/ 或功能分别为了实现图1的方法100中的相应流程,为了简洁,在此不再赘述。It should be understood that the above-mentioned and other operations and/or functions of the modules in the setting device according to the embodiment of the present application are used to implement the corresponding process in the method 100 in FIG. 1, and are not repeated here for brevity.
本申请实施例提出的设置设备可以采用一个独立的装置实现,也可以将设置设备的各个模块设置于多个装置中。例如,将获取模块410设置在智能终端,将设置参数生成子模块510设置在语音语义服务器、或者设置在提供图像识别服务和语义识别服务的服务器中,将设置信息生成子模块520设置在AI系统中。The setting device proposed in the embodiment of the present application may be implemented by an independent device, or each module of the setting device may be set in multiple devices. For example, the acquisition module 410 is set in the smart terminal, the setting parameter generation sub-module 510 is set in the speech semantic server or the server that provides image recognition services and semantic recognition services, and the setting information generation sub-module 520 is set in the AI system. middle.
图7是根据本申请实施例的设置设备700示意性结构图。图7所示的设置设备700包括处理器710,处理器710可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 7 is a schematic structural diagram of a setting device 700 according to an embodiment of the present application. The setting device 700 shown in FIG. 7 includes a processor 710, and the processor 710 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
可选地,如图7所示,设置设备700还可以包括存储器720。其中,处理器710可以从存储器720中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 7, the setting device 700 may further include a memory 720. The processor 710 may call and run a computer program from the memory 720 to implement the method in the embodiment of the present application.
其中,存储器720可以是独立于处理器710的一个单独的器件,也可以集成在处理器710中。The memory 720 may be a separate device independent of the processor 710, or may be integrated in the processor 710.
可选地,如图7所示,设置设备700还可以包括收发器730,处理器710可以控制该收发器730与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, as shown in FIG. 7, the setting device 700 may further include a transceiver 730, and the processor 710 may control the transceiver 730 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.
其中,收发器730可以包括发射机和接收机。收发器730还可以进一步包括天线,天线的数量可以为一个或多个。Wherein, the transceiver 730 may include a transmitter and a receiver. The transceiver 730 may further include an antenna, and the number of antennas may be one or more.
可选地,该设置设备700可以实现本申请实施例的各个方法中由设置设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the setting device 700 can implement the corresponding processes implemented by the setting device in each method in the embodiments of the present application. For brevity, details are not described herein again.
图8是根据本申请实施例的芯片800的示意性结构图。图8所示的芯片800包括处理器810,处理器810可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 8 is a schematic structural diagram of a chip 800 according to an embodiment of the present application. The chip 800 shown in FIG. 8 includes a processor 810, and the processor 810 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
可选地,如图8所示,芯片800还可以包括存储器820。其中,处理器810可以从存储器820中调用并运行计算机程序,以实现本申请实施例 中的方法。Optionally, as shown in FIG. 8, the chip 800 may further include a memory 820. The processor 810 can call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.
其中,存储器820可以是独立于处理器810的一个单独的器件,也可以集成在处理器810中。The memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.
可选地,该芯片800还可以包括输入接口830。其中,处理器810可以控制该输入接口830与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 800 may further include an input interface 830. The processor 810 can control the input interface 830 to communicate with other devices or chips, and specifically, can obtain information or data sent by other devices or chips.
可选地,该芯片800还可以包括输出接口840。其中,处理器810可以控制该输出接口840与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。Optionally, the chip 800 may further include an output interface 840. The processor 810 can control the output interface 840 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
可选地,该芯片可应用于本申请实施例中的设置设备,并且该芯片可以实现本申请实施例的各个方法中由设置设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the setting device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the setting device in each method of the embodiment of the present application. For the sake of brevity, details are not described herein again.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-level chip, a system-on-chip, a system-on-chip, or a system-on-chip, etc.
上述提及的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、现成可编程门阵列(field programmable gate array,FPGA)、专用集成电路(application specific integrated circuit,ASIC)或者其他可编程逻辑器件、晶体管逻辑器件、分立硬件组件等。其中,上述提到的通用处理器可以是微处理器或者也可以是任何常规的处理器等。The aforementioned processor may be a general-purpose processor, a digital signal processor (digital signal processor, DSP), a ready-made programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC), or Other programmable logic devices, transistor logic devices, discrete hardware components, etc. Among them, the aforementioned general-purpose processor may be a microprocessor or any conventional processor.
上述提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。The above-mentioned memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM).
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施 例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the foregoing memory is exemplary but not restrictive. For example, the memory in the embodiment of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is to say, the memory in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instruction may be transmitted from a website, computer, server, or data center through a cable (Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述 描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for convenience and concise description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
以上所述仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以该权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Covered in the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (21)

  1. 一种设置方法,包括:A setting method includes:
    获取指令信息;Get instruction information;
    根据所述指令信息生成对应的设置信息,所述设置信息用于对场景资源和/或规则资源进行设置。The corresponding setting information is generated according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
  2. 根据权利要求1或2所述的方法,其中,所述根据所述指令信息生成对应的设置信息,包括:The method according to claim 1 or 2, wherein the generating corresponding setting information according to the instruction information comprises:
    根据所述指令信息生成对应的设置参数;Generate corresponding setting parameters according to the instruction information;
    根据所述设置参数生成对应的设置信息。The corresponding setting information is generated according to the setting parameters.
  3. 根据权利要求1或2所述的方法,其中,所述指令信息包括语音信息、图像信息、动作信息及手势信息中的至少一项。The method according to claim 1 or 2, wherein the instruction information includes at least one of voice information, image information, motion information, and gesture information.
  4. 根据权利要求3所述的方法,其中,在所述指令信息包括语音信息的情况下,所述根据所述指令信息生成对应的设置参数,包括:The method according to claim 3, wherein, in the case that the instruction information includes voice information, the generating corresponding setting parameters according to the instruction information comprises:
    根据所述语音信息生成对应的文本信息;Generate corresponding text information according to the voice information;
    根据所述文本信息生成对应的设置参数。The corresponding setting parameters are generated according to the text information.
  5. 根据权利要求3所述的方法,其中,在所述指令信息包括图像信息的情况下,所述根据所述指令信息生成对应的设置参数,包括:The method according to claim 3, wherein, when the instruction information includes image information, the generating corresponding setting parameters according to the instruction information comprises:
    提取所述图像信息中的图像特征;Extracting image features in the image information;
    采用所述图像特征查找预设的第一对应关系,得到所述图像特征对应的设置参数。The image feature is used to search for the preset first corresponding relationship, and the setting parameter corresponding to the image feature is obtained.
  6. 根据权利要求3所述的方法,其中,在所述指令信息包括动作信息或手势信息的情况下,所述根据所述指令信息生成对应的设置参数,包括:The method according to claim 3, wherein, when the instruction information includes action information or gesture information, the generating corresponding setting parameters according to the instruction information comprises:
    识别所述动作信息/手势信息中的动作特征;Identifying the action feature in the action information/gesture information;
    采用所述动作特征查找预设的第二对应关系,得到所述动作特征对应的设置参数。Use the action feature to search for the preset second correspondence to obtain the setting parameter corresponding to the action feature.
  7. 根据权利要求2至6任一所述的方法,其中,所述根据所述设置参 数生成对应的设置信息,包括:The method according to any one of claims 2 to 6, wherein said generating corresponding setting information according to said setting parameters comprises:
    根据所述设置参数及预定规则生成对应的设置信息;和/或,Generate corresponding setting information according to the setting parameters and predetermined rules; and/or,
    根据所述设置参数及智能设备信息生成对应的设置信息,所述智能设备信息包括智能设备的操作记录和/或状态数据;和/或,Generate corresponding setting information according to the setting parameters and smart device information, where the smart device information includes operation records and/or status data of the smart device; and/or,
    根据所述设置参数及用户信息生成对应的设置信息,所述用户信息包括用户对智能设备的偏好信息。The corresponding setting information is generated according to the setting parameters and user information, and the user information includes the user's preference information for the smart device.
  8. 根据权利要求1至7任一所述的方法,还包括:The method according to any one of claims 1 to 7, further comprising:
    将所述设置信息转换为反馈信息,所述反馈信息包括语音信息或图像信息;Converting the setting information into feedback information, where the feedback information includes voice information or image information;
    播放或显示所述反馈信息。Play or display the feedback information.
  9. 一种设置设备,包括:A setting device, including:
    获取模块,用于获取指令信息;Obtaining module for obtaining instruction information;
    设置信息生成模块,用于根据所述指令信息生成对应的设置信息,所述设置信息用于对场景资源和/或规则资源进行设置。The setting information generating module is configured to generate corresponding setting information according to the instruction information, and the setting information is used to set scene resources and/or rule resources.
  10. 根据权利要求9所述的设备,所述设置信息生成模块包括:The device according to claim 9, wherein the setting information generating module comprises:
    设置参数生成子模块,用于根据所述指令信息生成对应的设置参数;A setting parameter generation sub-module for generating corresponding setting parameters according to the instruction information;
    设置信息生成子模块,用于根据所述设置参数生成对应的设置信息。The setting information generating sub-module is used to generate corresponding setting information according to the setting parameters.
  11. 根据权利要求9或10所述的设备,其中,所述指令信息包括语音信息、图像信息、动作信息及手势信息中的至少一项。The device according to claim 9 or 10, wherein the instruction information includes at least one of voice information, image information, motion information, and gesture information.
  12. 根据权利要求11所述的设备,其中,在所述指令信息包括语音信息的情况下,所述设置参数生成子模块,用于根据所述语音信息生成对应的文本信息;根据所述文本信息生成对应的设置参数。The device according to claim 11, wherein, when the instruction information includes voice information, the setting parameter generation sub-module is configured to generate corresponding text information according to the voice information; and generate corresponding text information according to the text information. Corresponding setting parameters.
  13. 根据权利要求11所述的设备,其中,在所述指令信息包括图像信息的情况下,所述设置参数生成子模块,用于提取所述图像信息中的图像特征;采用所述图像特征查找预设的第一对应关系,得到所述图像特征对应的设置参数。The device according to claim 11, wherein, in a case where the instruction information includes image information, the setting parameter generation sub-module is configured to extract image features in the image information; Set the first corresponding relationship to obtain the setting parameter corresponding to the image feature.
  14. 根据权利要求11所述的设备,其中,在所述指令信息包括动作信 息或手势信息的情况下,所述设置参数生成子模块,用于识别所述动作信息/手势信息中的动作特征;采用所述动作特征查找预设的第二对应关系,得到所述动作特征对应的设置参数。The device according to claim 11, wherein, in a case where the instruction information includes motion information or gesture information, the setting parameter generation sub-module is used to identify the motion characteristics in the motion information/gesture information; The action feature searches for a preset second corresponding relationship, and obtains the setting parameter corresponding to the action feature.
  15. 根据权利要求10至14任一所述的设备,其中,设置信息生成子模块包括:The device according to any one of claims 10 to 14, wherein the setting information generating sub-module comprises:
    规则转换单元,用于根据所述指令信息及预定规则生成对应的设置信息;和/或,The rule conversion unit is configured to generate corresponding setting information according to the instruction information and predetermined rules; and/or,
    人工智能转换单元,用于根据所述指令信息及智能设备信息生成对应的设置信息,所述智能设备信息包括智能设备的操作记录和/或状态数据;和/或,根据所述指令信息及用户信息生成对应的设置信息,所述用户信息包括用户对智能设备的偏好信息。The artificial intelligence conversion unit is used to generate corresponding setting information according to the instruction information and smart device information, the smart device information including the operation record and/or status data of the smart device; and/or, according to the instruction information and the user The information generates corresponding setting information, and the user information includes the user's preference information for the smart device.
  16. 根据权利要求9至15任一所述的设备,还包括:The device according to any one of claims 9 to 15, further comprising:
    反馈模块,用于将所述设置信息转换为反馈信息,所述反馈信息包括语音信息或图像信息;播放或显示所述反馈信息。The feedback module is used to convert the setting information into feedback information. The feedback information includes voice information or image information; and to play or display the feedback information.
  17. 一种设置设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至8中任一项所述的方法。A setting device, comprising: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any one of claims 1 to 8 Methods.
  18. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至8中任一项所述的方法。A chip comprising: a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1 to 8.
  19. 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至8中任一项所述的方法。A computer-readable storage medium for storing a computer program that enables a computer to execute the method according to any one of claims 1 to 8.
  20. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至8中任一项所述的方法。A computer program product comprising computer program instructions that cause a computer to execute the method according to any one of claims 1 to 8.
  21. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至8中任一项所述的方法。A computer program that causes a computer to execute the method according to any one of claims 1 to 8.
PCT/CN2020/078485 2020-03-09 2020-03-09 Setting method and device WO2021179148A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080093272.4A CN115004641A (en) 2020-03-09 2020-03-09 Setting method and device
PCT/CN2020/078485 WO2021179148A1 (en) 2020-03-09 2020-03-09 Setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/078485 WO2021179148A1 (en) 2020-03-09 2020-03-09 Setting method and device

Publications (1)

Publication Number Publication Date
WO2021179148A1 true WO2021179148A1 (en) 2021-09-16

Family

ID=77671073

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/078485 WO2021179148A1 (en) 2020-03-09 2020-03-09 Setting method and device

Country Status (2)

Country Link
CN (1) CN115004641A (en)
WO (1) WO2021179148A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170034468A1 (en) * 2015-07-29 2017-02-02 Samsung Electronics Co., Ltd. User terminal apparatus and controlling method thereof
CN106537849A (en) * 2014-05-28 2017-03-22 三星电子株式会社 Apparatus and method for controlling internet of things devices
CN106778310A (en) * 2016-12-26 2017-05-31 北京恒华伟业科技股份有限公司 A kind of data managing method and system
CN109240116A (en) * 2018-11-02 2019-01-18 合肥吴亦科技有限公司 A kind of intelligent lighting curtain Controller for smart home
CN208402155U (en) * 2018-03-20 2019-01-18 深圳市宇昊电子科技有限公司 Bluetooth remote control lamp with voice control
CN110147047A (en) * 2019-06-19 2019-08-20 深圳聚点互动科技有限公司 Smart home device screening technique, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106537849A (en) * 2014-05-28 2017-03-22 三星电子株式会社 Apparatus and method for controlling internet of things devices
US20170034468A1 (en) * 2015-07-29 2017-02-02 Samsung Electronics Co., Ltd. User terminal apparatus and controlling method thereof
CN106778310A (en) * 2016-12-26 2017-05-31 北京恒华伟业科技股份有限公司 A kind of data managing method and system
CN208402155U (en) * 2018-03-20 2019-01-18 深圳市宇昊电子科技有限公司 Bluetooth remote control lamp with voice control
CN109240116A (en) * 2018-11-02 2019-01-18 合肥吴亦科技有限公司 A kind of intelligent lighting curtain Controller for smart home
CN110147047A (en) * 2019-06-19 2019-08-20 深圳聚点互动科技有限公司 Smart home device screening technique, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115004641A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
WO2021078284A1 (en) Content continuation method and electronic device
US10650816B2 (en) Performing tasks and returning audio and visual feedbacks based on voice command
CN105515834B (en) Device packets management system, method and device
CN111752443A (en) Method, related device and system for controlling page by display equipment
CN108520746A (en) The method, apparatus and storage medium of voice control smart machine
CN108831448A (en) The method, apparatus and storage medium of voice control smart machine
WO2020132818A1 (en) Wireless short-distance audio sharing method and electronic device
US20200099545A1 (en) Method and apparatus for providing notification by interworking plurality of electronic devices
WO2021218442A1 (en) Communication method, method for controlling internet of things device, and electronic device
CN105760127A (en) Screen transfer method, screen transfer device and mobile terminal
WO2021238933A1 (en) Control method applied to electronic device, and electronic device
WO2020155870A1 (en) Device control method and devices
JP7234379B2 (en) Methods and associated devices for accessing networks by smart home devices
CN114697742A (en) Video recording method and electronic equipment
CN114448530B (en) Method for detecting video monitoring equipment and electronic equipment
CN110223500A (en) Infrared equipment control method and device
CN116074143A (en) Scene synchronization method and device, electronic equipment and readable storage medium
WO2021179148A1 (en) Setting method and device
WO2023051643A1 (en) Device control method, related apparatus, and communication system
CN112305927A (en) Equipment control method and device
CN105847094B (en) Method and device, the terminal of information processing
CN105491114B (en) Controlled plant switching method, apparatus and system
CN115729404A (en) Notification message processing method and device
CN110263211A (en) Resource synchronization method and device
CN115209213B (en) Wireless screen projection method and mobile device

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

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

Country of ref document: EP

Kind code of ref document: A1