WO2023206701A1 - 指令执行设备的选取方法和装置、存储介质及电子装置 - Google Patents

指令执行设备的选取方法和装置、存储介质及电子装置 Download PDF

Info

Publication number
WO2023206701A1
WO2023206701A1 PCT/CN2022/096433 CN2022096433W WO2023206701A1 WO 2023206701 A1 WO2023206701 A1 WO 2023206701A1 CN 2022096433 W CN2022096433 W CN 2022096433W WO 2023206701 A1 WO2023206701 A1 WO 2023206701A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
control statement
type
preset
element type
Prior art date
Application number
PCT/CN2022/096433
Other languages
English (en)
French (fr)
Inventor
杨令铎
Original Assignee
青岛海尔科技有限公司
海尔智家股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔科技有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔科技有限公司
Publication of WO2023206701A1 publication Critical patent/WO2023206701A1/zh

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]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/211Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • 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]
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present disclosure relates to the field of communications, and specifically, to a method and device for selecting an instruction execution device, a storage medium, and an electronic device.
  • smart home devices In smart home scenarios, there are usually various smart devices (which can be smart home devices). When users control devices for the entrance through voice, they often need to select smart devices. For example, when a user says "turn up 2 degrees" to a smart device, if the user is in the living room, the user's intention may be to operate the smart air conditioner, and if the user is in the kitchen or bathroom, the user's intention is most likely to operate the smart water heater.
  • the response device In order to respond to the input control command, the response device needs to be selected based on the device selection code. Since the device selection logic is very complex, developers need to consider multiple factors when writing device selection code. The more factors are considered, the more complex the code logic becomes. However, the current device selection code is less iterable and robust, resulting in less efficient development and maintenance of the device selection engine.
  • the instruction execution device selection method in the related art has a problem of low efficiency in the development and maintenance of the device selection engine due to poor iterability and robustness of the device selection code.
  • Embodiments of the present disclosure provide a method and device for selecting an instruction execution device, a storage medium, and an electronic device, so as to at least solve the problem of poor iterability and robustness of the device selection code in the selection method of the instruction execution device in related technologies. Select the problem of low efficiency in engine development and maintenance.
  • a method for selecting an instruction execution device including: when obtaining a target control statement issued by a target object, extracting elements of the target control statement to obtain at least one target Elements; according to the element type of the at least one target element, determine the target component process that matches the target control statement, wherein the target component process includes components that match the element type of each target element, and each of the target element processes.
  • Components whose element types match the target elements are used to perform device selection operations on multiple smart devices according to each target element; each component in the target component process is sequentially called to perform device selection operations on the multiple smart devices. , obtain the target intelligent device; control the target intelligent device to perform the target device operation indicated by the target control statement.
  • a device for selecting an instruction execution device including: an extraction unit configured to, when a target control statement issued by a target object is obtained, perform the extraction on the target control statement. Elements are extracted to obtain at least one target element; the first determination unit is configured to determine the target component process matching the target control statement according to the element type of the at least one target element, wherein the target component process includes each A component that matches the element type of each target element, and the component that matches the element type of each target element is used to perform device selection operations on multiple smart devices according to each target element; the execution unit is configured to call all the Each component in the target component process performs a device selection operation on the plurality of smart devices to obtain a target smart device; the control unit is configured to control the target smart device to perform the target device operation indicated by the target control statement.
  • a computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the above instruction execution device when running. selection method.
  • an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-mentioned steps through the computer program. How to select the instruction execution device.
  • the device selection code is componentized, and when the target control statement issued by the target object is obtained, the elements of the target control statement are extracted to obtain at least one target element; according to at least one The feature type of the target feature determines the target component process that matches the target control statement, where the target component process contains components that match the feature type of each target feature, and the components that match the feature type of each target feature are used to follow each target feature's feature type.
  • a target element performs device selection operations on multiple smart devices; sequentially calls each component in the target component process to perform device selection operations on multiple smart devices to obtain the target smart device; controls the target smart device to execute the target device indicated by the target control statement Operation, since the device selection code is componentized in units of statement elements, corresponding device selection components (or device filtering components) are configured for the element types of different statement elements, and are set through the statement element types contained in the control statement
  • the corresponding component process that is, the calling process of the component, when obtaining the control statement, selects the corresponding component process based on the element type of the statement element contained in the control statement, and performs device selection according to the corresponding component process.
  • the above device selection component can Iterative use in scenarios such as version updates can achieve the purpose of improving the iterability of device code. Moreover, even if an exception occurs in a component whose element type matches the element type of a statement element, it will not affect the execution of the component process that does not include the component, and , the device selection component for the element type of a certain statement element contains a small amount of code, which is convenient for development and maintenance. It can achieve the purpose of improving the robustness of the device selection code and achieve the technology of improving the development and maintenance efficiency of the device selection engine. The effect is solved, thereby solving the problem of low efficiency in the development and maintenance of the device selection engine due to poor iterability and robustness of the device selection code in the instruction execution device selection method in related technologies.
  • Figure 1 is a schematic diagram of the hardware environment of an optional method for selecting an instruction execution device according to an embodiment of the present disclosure
  • Figure 2 is a schematic flowchart of an optional method for selecting an instruction execution device according to an embodiment of the present disclosure
  • Figure 3 is a flow chart of an optional method for selecting an instruction execution device according to an embodiment of the present disclosure
  • Figure 4 is a component diagram of an optional method for selecting an instruction execution device according to an embodiment of the present disclosure
  • Figure 5 is a code schematic diagram of an optional element encoding according to an embodiment of the present disclosure.
  • Figure 6 is a code schematic diagram of an optional process encoding according to an embodiment of the present disclosure.
  • Figure 7 is a code schematic diagram of an optional process component according to an embodiment of the present disclosure.
  • Figure 8 is a flow chart of another optional method for selecting an instruction execution device according to an embodiment of the present disclosure.
  • Figure 9 is a structural block diagram of an optional selecting device of an instruction execution device according to an embodiment of the present disclosure.
  • Figure 10 is a structural block diagram of an optional electronic device according to an embodiment of the present disclosure.
  • a method for selecting an instruction execution device is provided.
  • the selection method of command execution equipment is widely used in whole-house intelligent digital control application scenarios such as smart home, smart home, smart home device ecology, and smart residence (Intelligence House) ecology.
  • the method for selecting an instruction execution device in this embodiment can be applied to a hardware environment composed of a terminal 102 and a server 104 as shown in FIG. 1 .
  • the server 104 is connected to the terminal 102 through the network and can be used to provide services (such as application services, etc.) for the terminal or the client installed on the terminal.
  • Cloud computing and/or can be configured on the server or independently of the server.
  • Edge computing services are used to provide data computing services for the server 104.
  • the above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network.
  • the above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network.
  • the above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth.
  • the terminal 102 may be, but is not limited to, a PC, a mobile phone, a tablet, a smart air conditioner, a smart hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart dishwasher, a smart projection device, Smart TV, smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, smart Air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
  • the method for selecting an instruction execution device in the embodiment of the present disclosure may be executed by the server 104, the terminal 102, or both the server 104 and the terminal 102.
  • the method for selecting an instruction execution device for the terminal 102 to execute the embodiment of the present disclosure may also be executed by a client installed on the terminal 102 .
  • FIG. 2 is a schematic flowchart of an optional method for selecting an instruction execution device according to an embodiment of the present disclosure. As shown in FIG. 2, The process of this method may include the following steps:
  • Step S202 When the target control statement issued by the target object is obtained, elements of the target control statement are extracted to obtain at least one target element.
  • the method for selecting an instruction execution device in this embodiment can be applied to a scenario in which a smart device is controlled through a control statement to perform corresponding device operations.
  • the above-mentioned smart devices can be smart home devices located in the user's home, and can be electronic devices equipped with smart chips such as smart TVs, smart refrigerators, smart water heaters, etc. Compared with traditional home devices, smart home devices have added computing modules , network interfaces, input and output devices, etc., so that smart home devices have the functions of intelligent analysis and intelligent services.
  • the target object corresponds to the above-mentioned user. It can be an object that has established a binding relationship with the smart device, or it can be an object that has not established a binding relationship with the smart device, as long as it can be identified.
  • the target server can extract at least one target element contained in the target control statement from the target control statement.
  • the target element can be a statement element used for device selection, or it can be Not limited to the following statement elements: elements used to indicate the location area of the smart device to be selected, elements used to indicate the floor where the smart device to be selected is located, elements used to indicate the device name or device nickname of the smart device to be selected , this is not limited in this embodiment.
  • At least one target element is a preset statement element used for device selection, which has nothing to do with a specific control statement.
  • the process of extracting elements from the target control statement to obtain at least one target element may be: extracting elements from the target control statement according to the preset element type, and determining elements that can be successfully extracted from the target control statement as target elements, thereby obtaining at least one target elements.
  • preset feature types include: “floor”, “room name”, “equipment name”.
  • the control statement is "Set the temperature of the air conditioner in the bedroom on the first floor to 25 degrees”
  • the target elements contained in the control statement are: “first floor”, “bedroom”; “air conditioner” .
  • Step S204 Determine a target component process that matches the target control statement based on the element type of at least one target element, where the target component process includes components that match the element type of each target element and that match the element type of each target element. is used to perform device selection operations on multiple smart devices per target feature.
  • Each preset element type can correspond to a component respectively, and the components corresponding to different preset element types are used to perform device filtering operations on multiple smart devices according to the corresponding preset element types.
  • the component When the component is executed, multiple smart devices can be filtered according to the target elements corresponding to the component to obtain smart devices matching the corresponding target elements. For example, when the component is a component that matches a floor, you can filter based on the floor where multiple smart devices are located, and filter the smart devices located on a specific floor from the multiple smart devices.
  • the preset element types corresponding to different components may be different.
  • component A may correspond to the "floor” element type
  • component B may correspond to the "room name" element type.
  • the target server can determine the target component process that matches the target control statement based on the at least one target element.
  • the above target component process may include one or more components.
  • the components included in the component process may be executed sequentially according to a preset execution order or a randomly generated execution order.
  • the above target component process may include components that match the feature type of each target feature, and the components that match the feature type of each target feature are used to perform device selection operations on multiple smart devices according to each target feature.
  • the target component process can also include components corresponding to the element types of other elements, for example, components corresponding to the position where the statement is issued, different Other components included in the component process may be the same or different, which is not limited in this embodiment.
  • the above process of determining the target component process that matches the target control statement based on the element type of at least one target element may be: first determine the element vector that matches the element type of the at least one target element based on the element type of at least one target element, and then The component process that matches the determined element vector is determined to be the target component process that matches the element type of at least one target element, which is not limited in this embodiment.
  • Step S206 Call each component in the target component process in sequence to perform device selection operations on multiple smart devices to obtain the target smart device.
  • each component in the target component process can be sequentially called according to the target component process to perform device selection operations on multiple smart devices to obtain the target intelligence equipment.
  • the target components in the target component process are sequentially called to perform device selection operations on multiple smart devices.
  • the process of obtaining the target smart devices may be: first, use one component in the target component process to select multiple smart devices.
  • the device performs a device selection operation to obtain the selected smart device, and then uses the next component in the target component process to continue performing the device selection operation on the selected smart device until all components in the target component process have executed multiple smart devices.
  • the device selection operation of the device is determined as the target smart device.
  • the target component process includes component A, component B, and component C
  • these three components can be used in sequence to perform device selection operations on multiple smart devices to determine a specific smart device (ie, the above-mentioned target smart device).
  • the calling process of each component may be preset or random.
  • the target server can sequentially call each component according to the preset calling process to perform device selection operations on multiple smart devices; when the calling process of each component is randomly generated , the target server can randomly generate the calling process of each component in the target component process, and sequentially call each component according to the generated calling process to perform device selection operations on multiple smart devices. This is not limited in this embodiment.
  • the target server can re-perform the device selection operation on multiple smart devices, and can also send a first prompt message to the target object to remind the target object that it cannot determine the matching smart device based on the target control statement, and can also prompt the use object to re-issue the control statement.
  • the target server can re-perform the device selection operation on multiple smart devices, or can send a second prompt message to the target object to prompt the target object to select the target control instruction to be executed from multiple candidate candidate smart devices.
  • the target server can re-perform the device selection operation on multiple smart devices, or can send a second prompt message to the target object to prompt the target object to select the target control instruction to be executed from multiple candidate candidate smart devices.
  • the target server can re-perform the device selection operation on multiple smart devices, or can send a second prompt message to the target object to prompt the target object to select the target control instruction to be executed from multiple candidate candidate smart devices.
  • the target server can re-perform the device selection operation on multiple smart devices, or can send a second prompt message to the target object to prompt the target object to select the target control instruction to be executed from multiple candidate candidate smart devices.
  • the target server can re-perform the device selection operation on multiple smart devices, or can send a second prompt message to the target object to prompt the target object to select the target control instruction to
  • sequentially calling each component in the target component process to perform device selection operations on multiple smart devices can be: using the target elements corresponding to each component to call each component to perform device selection operations on multiple smart devices, and the selection operation The selected target smart device matches each target element, that is, meets the element conditions of each target element.
  • Step S208 Control the target intelligent device to execute the target device operation indicated by the target control statement.
  • the target server may control the target smart device to perform the target device operation indicated by the target control statement. For example, after determining that a specific smart device is an air conditioner for a bedroom on the first floor, the server can control the air conditioner to perform the device operation indicated by "set the temperature of the air conditioner for the bedroom on the first floor to 25 degrees" (ie, set the temperature to 25 degrees).
  • the target smart device can send a feedback message to the target server.
  • the feedback message is used to feed back the execution status of the target device operation to the target server.
  • the target server can send a feedback message to the target server based on the information sent by the target smart device. Feedback message, take the action corresponding to the feedback message.
  • the target server can immediately control the target smart device to re-execute the target device operation indicated by the target control statement, or it can wait for a certain period of time. , controlling the target intelligent device to re-execute the target device operation indicated by the target control statement, which is not limited in this embodiment.
  • the target server before controlling the target intelligent device to perform the target device operation indicated by the target control statement, can perform statement parsing on the target control statement to determine the target device operation included in the target control statement and the target device operation corresponding to the target intelligent device. equipment operating parameters. After determining the target device operation and device operation parameters, the target server can control the target smart device to perform the target device operation indicated by the target control statement according to the device operation parameters. For example, the server may determine the equipment operation (i.e., adjust the air conditioning temperature) and equipment operation parameters (i.e., 25 degrees) of "set the air conditioner temperature in the bedroom on the first floor to 25 degrees", and based on the determined equipment operation and equipment operation parameters, Control the air conditioner in the bedroom on the first floor to set the temperature to 25 degrees.
  • the equipment operation i.e., adjust the air conditioning temperature
  • equipment operation parameters i.e. 25 degrees
  • the target control statement issued by the target object when the target control statement issued by the target object is obtained, elements of the target control statement are extracted to obtain at least one target element; according to the element type of the at least one target element, the target control statement is determined
  • a matched target component process wherein the target component process contains components that match the feature type of each target feature, and the components that match the feature type of each target feature are used to perform device selection on multiple smart devices per target feature Operation; sequentially call each component in the target component process to perform device selection operations on multiple smart devices to obtain the target smart device; control the target smart device to execute the target device operation indicated by the target control statement, solving the problem of instruction execution devices in related technologies
  • the selection method has the problem of low efficiency in the development and maintenance of the device selection engine due to poor iterability and robustness of the device selection code, which improves the efficiency of the development and maintenance of the device selection engine.
  • element extraction is performed on the target control statement to obtain at least one target element, including:
  • S11 Extract elements from the target control statement according to the preset element type set to obtain at least one target element, where the element type of each target element is a preset element type, and the preset element type set includes at least one of the following: Equipment type, equipment name, and the floor where the equipment is located.
  • the target server after receiving the target control statement, can extract elements from the target control statement according to the preset element type set to obtain at least one target element.
  • the above-mentioned process of extracting elements of the target control statement according to the preset element type set to obtain at least one target element may be: first parsing the target control statement through a syntax analysis algorithm to obtain the elements included in the target control statement. elements, and then determine the elements whose element types included in the target control statement intersect with the preset element types included in the preset element type set as target elements, thereby obtaining at least one target element, or first through the dictionary
  • the library parses the target control statement to obtain the elements included in the target control statement, and then determines the elements that intersect with the element types included in the target control statement and the preset element types included in the preset element type set. is a target element, which is not limited in this embodiment.
  • the server can first parse the control statement "Set the air conditioner temperature in the bedroom on the first floor to 25 degrees”, determine the element types such as "floor”, “room name” and “device name”, and then determine whether the above element types are preset Set the feature type, and if the above feature type is a preset feature type, determine the feature corresponding to the above feature type as a specific feature (ie, the target feature).
  • control statement is parsed according to the preset element type set to obtain at least one specific element, which can simplify the steps of determining the elements included in the control statement and improve the efficiency of element determination.
  • elements of the target control statement are extracted according to a preset element type set to obtain at least one target element, including:
  • the element corresponding to the current preset element type is determined as a target element.
  • the target server can extract elements from the target control statement according to the preset element type set to obtain at least one target element.
  • each preset feature type can be used as the current preset feature type to perform the feature parsing step, thereby obtaining at least one target feature.
  • the target server can parse the target control statement according to the current preset feature type. For example, if the current preset element type is a floor element, the control statement can be parsed according to the floor; if the current preset element type is a room name element, the control statement can be parsed according to the room name.
  • the element corresponding to the current preset element type when an element corresponding to the current preset element type is parsed from the target control statement, the element corresponding to the current preset element type can be determined as a target element.
  • the feature corresponding to the floor feature type when parsed from the control statement, the feature can be used as a specific feature.
  • the above-mentioned process of parsing the target control statement according to the current preset element type may be: first parse the target control statement according to the statement analysis algorithm, determine the elements included in the target control statement, and then determine the elements included in the target control statement accordingly. Whether the feature type of the feature is the current default feature type.
  • control statement is parsed according to the current preset element type, and the element of the preset element type parsed from the control statement is determined as a specific element, which simplifies the step of determining the specific element from the control statement.
  • determining the target component process matching the target control statement according to the element type of at least one target element includes:
  • S31 Determine the target binary vector corresponding to the target control statement according to the element type of at least one target element.
  • the binary bits in the target binary vector correspond to the preset element types in the preset element type set.
  • the target binary vector The value of the binary bit in is used to indicate whether the target control statement contains elements of the corresponding preset element type;
  • the component process whose corresponding binary vector is the target binary vector is determined as the target component process, wherein the binary bit in the binary vector corresponding to each component process in the multiple component processes is the same as the predetermined binary vector.
  • the value of the binary bit in the binary vector corresponding to each component process is used to indicate whether each component process contains components that match the corresponding preset feature type.
  • the target server can determine a target binary vector corresponding to the target control statement based on the element type of the at least one target element.
  • the binary bits in the target binary vector are consistent with the preset element type. There is a one-to-one correspondence between the preset element types in the collection, and the value of the binary bit in the target binary vector is used to indicate whether the target control statement contains elements of the corresponding preset element type.
  • the binary vector corresponding to the control statement i.e., the target binary vector
  • the feature type represented by the first binary bit in the binary vector i.e., the binary bit where "0" is located
  • the feature type represented by the second binary bit in the binary vector i.e., the binary bit where the first "1” is located
  • the third binary bit in the binary vector i.e., the The element type represented by the binary bits where the two "1"s are located
  • the process of determining the target binary vector corresponding to the target control statement may be: setting the binary bit corresponding to the element type of the target element in the target binary vector to non-empty or " 1", set the value of other binary bits except the binary bit corresponding to the element type of each target element to null or "0", thereby obtaining the target binary vector corresponding to the target control statement, or first determine the The binary vector corresponding to the element type of each target element in at least one target element, and then perform a bitwise OR operation on the binary vector corresponding to the element type of each target element to obtain the target binary vector. This is not done in this embodiment. Make limitations.
  • the component process whose corresponding binary vector is the target binary vector among multiple component processes can be determined as the target component process.
  • the binary bits in the above-mentioned binary vector corresponding to each component process correspond to the preset element types in the preset element type set.
  • the value of the binary bit in the above-mentioned binary vector corresponding to each component process is used to indicate each Whether each component process contains components that match the corresponding preset feature type.
  • the above-mentioned process of determining the component process in which the corresponding binary vector is the target binary vector in multiple component processes as the target component process may be: sequentially searching the binary vector corresponding to each component process in the multiple component processes, The component process corresponding to the found binary vector that is the same as the target binary vector is determined as the target component process. This is not limited in this embodiment.
  • a specific feature vector i.e., the target binary vector
  • a binary vector matching the feature vector "011” can be searched sequentially among multiple binary vectors corresponding to multiple component processes, and the search
  • the component process corresponding to the obtained binary vector is determined as a specific component process.
  • each of the above multiple component processes corresponds to a binary vector, and the binary vectors corresponding to different component processes are also different. That is, there is no corresponding binary vector that is the same in multiple component processes. component process.
  • the component process whose binary vector is the same as the specific binary vector corresponding to the element type of at least one specific element is determined as a specific component process, which can simplify the process of determining the specific component process and improve the execution efficiency of the control instructions.
  • determining the target binary vector corresponding to the target control statement according to the element type of at least one target element includes:
  • S42 Perform a bitwise OR operation on the binary vector corresponding to the element type of each target element to obtain the target binary vector.
  • the target server may determine a binary vector corresponding to the element type of each target element in the at least one target element, and in the binary vector corresponding to the element type of each target element, the binary vector corresponding to the element type of each target element is The value of the bit corresponding to the feature type is 1, and the value of the other bits except the bit corresponding to the feature type of each target feature is 0.
  • the preset feature types include: "floor”, "equipment name”, room name”, and the binary vectors corresponding to each preset feature type are: 100, 010, 001.
  • the server can obtain the corresponding binary vectors as "100” and "010".
  • binary vector here, the default feature type in the default feature type collection corresponds to multiple binary vectors one-to-one.
  • a bitwise OR operation can be performed on the binary vector corresponding to the feature type of each target feature to obtain the target binary vector. For example, after obtaining the binary vectors "100" and "010", the server can perform a bitwise OR operation on the two binary vectors to obtain the specific binary vector "110".
  • specific binary vectors are generated according to the binary vector corresponding to the element type of each specific element, which can improve the convenience of determining the specific element vector, improve the execution efficiency of the control instructions, and thereby improve the user experience.
  • the above method further includes:
  • the preset element type when no element of any preset element type is extracted from the target control statement (that is, when the target control statement does not include an element of the preset element type), the preset element type can be The component process is determined to be the target component process that matches the target control statement. For example, component processes that filter devices based on device functions, filter devices based on user conversation context, and filter devices based on speaking device information (room, floor) can be set as preset component processes.
  • the above preset component process can be determined as a specific component process to filter out specific smart devices among multiple smart devices.
  • the components included in the preset component process can be added to the target component process, that is, in the target component process, in addition to In addition to the target component corresponding to the element type of at least one target element, it may also include components included in the preset component process, which is not limited in this embodiment.
  • the preset component process is used to perform the device filtering operation, which can improve the response rate of the control statement and improve the user experience.
  • controlling the target smart device to perform the target device operation indicated by the target control statement includes:
  • S62 Send the target control instruction to the target intelligent device to instruct the target intelligent device to perform the target device operation.
  • the target server may generate a target control instruction corresponding to the target control statement, and the above target control instruction is used to instruct the target smart device to perform the target device operation.
  • the above-mentioned process of generating a target control instruction corresponding to a target control statement may be: generating a target control instruction based on the target intelligent device and the element value of each target element in the control statement. For example, when the server "will "Set the temperature of the air conditioner in the bedroom on the first floor to 25 degrees.” When the specific smart device is determined to be the air conditioner located in the bedroom on the first floor, a control statement can be generated to adjust the temperature of the air conditioner to 25 degrees.
  • the target control instruction may carry relevant information of the target intelligent device to instruct the target server to send the target control statement to the target intelligent device.
  • the target control instruction may carry location information of a specific smart device.
  • the target server may send the target control instruction to the target smart device to instruct the target smart device to perform the target device operation.
  • the target control instruction can be encrypted before sending it to the target smart device, for example, using the target
  • the target control instructions are encrypted by the smart device's public key.
  • the above-mentioned process of sending the target control instruction to the target intelligent device may be: sending the target control instruction to the target intelligent device in a broadcast manner, or sending the target control instruction to the target intelligent device in other ways. This is not limited in the examples.
  • a control command corresponding to the control statement is generated and the control command is sent to the specific smart device, which can improve the accuracy of sending the control command and thereby improve the effect of the control command.
  • the selection method of the command execution device in related technologies mostly requires comprehensive consideration of factors such as the user's speaking location, the device included in the speaking location, what functions the device supports, the conversation context, etc. Since the more factors are considered, the code logic becomes more complex, so how to Keeping the device selection code iterable and robust poses great challenges to developers and affects the execution of control statements.
  • This optional example provides a set of methods based on component flow configuration to make the device selection engine component-based and process-based. Atomize factors such as speaking location and device functions that are considered in device selection, and configure component flows based on different trigger conditions. Through this method, the maintenance cost of the device selection engine can be greatly reduced, so that developers only need to configure the corresponding component flows according to different situations, simplifying the device selection logic in smart home scenarios, thereby improving the execution of control statements. Effect.
  • the process of the method for selecting an instruction execution device in this optional example may include the following steps:
  • Step S302 Define basic components.
  • a component list as shown in Figure 4 can be defined based on room name, floor, nickname and other elements, where each row in the component list is a component.
  • Step S304 Define element coding, process coding, and configure process components.
  • the basic encoding of elements can be defined by room name, floor, and nickname.
  • each element can be expressed by each binary bit.
  • the process code can be defined based on the elements. Since the process is a combination of elements, the process code can be easily defined through bit operations.
  • Step S306 Calculate the hit process according to the utterance, and execute the hit process.
  • the user's utterance "Set the air conditioner temperature in the bedroom on the first floor to 25 degrees” is obtained, and the semantic elements of the user's utterance are extracted to obtain the user's utterance expression element "first floor, bedroom", and then execute based on the user's utterance expression element.
  • the process code is obtained by bitwise OR operation, and the hit component stream is determined based on the process code, and then the components in the component stream are executed in order to obtain the final filtered device.
  • the device selection code is componentized, process-oriented, and configurable, which greatly facilitates the subsequent development and maintenance of the device selection engine and improves work efficiency.
  • the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM (Read-Only Memory, Read-only memory)/RAM (Random Access Memory, disk, optical disk), including a number of instructions to make a terminal device (can be a mobile phone, computer, server, or network device, etc.) to execute this Methods described in various embodiments are disclosed.
  • FIG. 9 is a structural block diagram of an optional selecting device of an instruction execution device according to an embodiment of the present disclosure. As shown in Figure 9, the device may include:
  • the extraction unit 902 is configured to, when acquiring a target control statement issued by the target object, extract elements of the target control statement to obtain at least one target element;
  • the first determination unit 904 is connected to the extraction unit 902 and is configured to determine the target component process that matches the target control statement according to the element type of at least one target element, wherein the target component process includes the element type that matches each target element.
  • Components, components that match the feature type of each target feature are used to perform device selection operations on multiple smart devices according to each target feature;
  • the execution unit 906 is connected to the first determination unit 904 and is configured to sequentially call each component in the target component process to perform device selection operations on multiple smart devices to obtain the target smart device;
  • the control unit 908 is connected to the execution unit 906 and is configured to control the target intelligent device to execute the target device operation indicated by the target control statement.
  • the extraction unit 902 in this embodiment can be configured to perform the above step S202
  • the first determination unit 904 in this embodiment can be configured to perform the above step S204
  • the execution unit 906 in this embodiment can be configured to To execute the above step S206
  • the control unit 908 in this embodiment may be configured to execute the above step S208.
  • the target component matching the target control statement is determined Process, in which the target component process includes components that match the feature type of each target feature, and the components that match the feature type of each target feature are used to perform device selection operations on multiple smart devices according to each target feature; they are called in sequence
  • Each component in the target component process performs device selection operations on multiple smart devices to obtain the target smart device; the target smart device is controlled to execute the target device operation indicated by the target control statement, which solves the problem of selecting a command execution device in related technologies.
  • the problem of low efficiency in the development and maintenance of the device selection engine due to poor iterability and robustness of the device selection code improves the efficiency of the development and maintenance of the device selection engine.
  • the extraction unit includes:
  • the extraction module is configured to extract elements from the target control statement according to a preset element type set to obtain at least one target element, wherein the element type of each target element is a preset element type, and the preset element type set includes at least the following: One: equipment type, equipment name, and the floor where the equipment is located.
  • the extraction module includes:
  • the first execution sub-module is configured to use each preset feature type as the current preset feature type to perform the following steps to obtain at least one target feature:
  • the element corresponding to the current preset element type is determined as a target element.
  • the first determining unit includes:
  • the first determination module is configured to determine the target binary vector corresponding to the target control statement based on the element type of at least one target element, wherein the binary bits in the target binary vector correspond to the preset element types in the preset element type set.
  • the value of the binary bit in the target binary vector is used to indicate whether the target control statement contains elements of the corresponding preset element type;
  • the second determination module is configured to determine the component process whose corresponding binary vector is the target binary vector among multiple component processes as the target component process, wherein the binary bits in the binary vector corresponding to each component process are the same as the preset elements.
  • the preset element types in the type collection correspond one to one, and the value of the binary bit in the binary vector corresponding to each component process is used to indicate whether each component process contains components that match the corresponding preset element type.
  • the first determining module includes:
  • Determine the submodule configured to determine the binary vector corresponding to the feature type of each target feature, wherein, in the binary vector corresponding to the feature type of each target feature, the binary bit corresponding to the feature type of each target feature The value is 1, and the value of other binary digits except the binary digit corresponding to the feature type of each target feature is 0;
  • the second execution submodule is configured to perform a bitwise OR operation on the binary vector corresponding to the feature type of each target feature to obtain the target binary vector.
  • the above device further includes:
  • the second determination unit is configured to determine the preset component process as the target component process that matches the target control statement when no element of any preset element type is extracted from the target control statement.
  • control unit includes:
  • a generation module configured to generate a target control instruction corresponding to the target control statement, wherein the target control instruction is used to instruct the target intelligent device to perform the target device operation;
  • the sending module is configured to send the target control instruction to the target intelligent device to instruct the target intelligent device to perform the target device operation.
  • the above module as part of the device, can run in the hardware environment as shown in Figure 1, and can be implemented by software or hardware, where the hardware environment includes a network environment.
  • a storage medium is also provided.
  • the above-mentioned storage medium can be used to execute the program code of any of the above-mentioned methods for selecting an instruction execution device in the embodiment of the present disclosure.
  • the above storage medium may be located on at least one network device among multiple network devices in the network shown in the above embodiment.
  • the storage medium is configured to store program codes for performing the following steps:
  • S2 determine the target component process that matches the target control statement based on the element type of at least one target element, where the target component process includes components that match the element type of each target element, and components that match the element type of each target element.
  • the component is used to perform device selection operations on multiple smart devices according to each target feature;
  • S3 sequentially call each component in the target component process to perform device selection operations on multiple smart devices to obtain the target smart device;
  • S4 Control the target intelligent device to perform the target device operation indicated by the target control statement.
  • the above-mentioned storage medium may include but is not limited to: U disk, ROM, RAM, mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
  • an electronic device for implementing the above method for selecting an instruction execution device.
  • the electronic device may be a server, a terminal, or a combination thereof.
  • Figure 10 is a structural block diagram of an optional electronic device according to an embodiment of the present disclosure. As shown in Figure 10, it includes a processor 1002, a communication interface 1004, a memory 1006 and a communication bus 1008. The processor 1002, the communication interface 1004 and memory 1006 complete communication with each other through communication bus 1008, where,
  • Memory 1006 configured to store computer programs
  • processor 1002 When the processor 1002 is configured to execute the computer program stored on the memory 1006, it implements the following steps:
  • the storage medium is configured to store program codes for performing the following steps:
  • S2 determine the target component process that matches the target control statement based on the element type of at least one target element, where the target component process includes components that match the element type of each target element, and components that match the element type of each target element.
  • the component is used to perform device selection operations on multiple smart devices according to each target feature;
  • S3 sequentially call each component in the target component process to perform device selection operations on multiple smart devices to obtain the target smart device;
  • S4 Control the target intelligent device to perform the target device operation indicated by the target control statement.
  • the communication bus may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus, or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc.
  • the communication bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 10, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above-mentioned electronic device and other equipment.
  • the above-mentioned memory may include RAM or non-volatile memory (non-volatile memory), for example, at least one disk memory.
  • the memory may also be at least one storage device located remotely from the aforementioned processor.
  • the memory 1006 may include, but is not limited to, the fetch unit 902, the first determination unit 904, the execution unit 906 and the control unit 908 in the selection device of the instruction execution device. In addition, it may also include but is not limited to other module units in the selection device of the above-mentioned instruction execution device, which will not be described again in this example.
  • the above-mentioned processor can be a general-purpose processor, which can include but is not limited to: CPU (Central Processing Unit, central processing unit), NP (Network Processor, network processor), etc.; it can also be a DSP (Digital Signal Processing, digital signal processor) ), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU Central Processing Unit, central processing unit
  • NP Network Processor, network processor
  • DSP Digital Signal Processing, digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array, field programmable gate array
  • other programmable logic devices discrete gate or transistor logic devices, discrete hardware components.
  • the device that implements the above method for selecting an instruction execution device can be a terminal device, and the terminal device can be a smart phone (such as an Android phone, an iOS phone, etc.), Tablet computers, handheld computers, and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal devices.
  • FIG. 10 does not limit the structure of the above-mentioned electronic device.
  • the electronic device may also include more or fewer components (such as network interfaces, display devices, etc.) than shown in FIG. 10 , or have a different configuration than that shown in FIG. 10 .
  • the program can be stored in a computer-readable storage medium, and the storage medium can Including: flash disk, ROM, RAM, magnetic disk or optical disk, etc.
  • the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium.
  • the technical solution of the present disclosure is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, It includes several instructions to cause one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the disclosed client can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division.
  • multiple units or components may be combined or may be Integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the units or modules may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.

Abstract

本公开提供了一种指令执行设备的选取方法和装置、存储介质及电子装置,涉及智能家居/智慧家庭技术领域,该指令执行设备的选取方法包括:在获取到目标对象发出的目标控制语句的情况下,对目标控制语句进行要素提取,得到至少一个目标要素;根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作;依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备;控制目标智能设备执行目标控制语句所指示的目标设备操作。

Description

指令执行设备的选取方法和装置、存储介质及电子装置
本公开要求于2022年04月29日提交中国专利局、申请号为202210467366.4、发明名称“指令执行设备的选取方法和装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及通信领域,具体而言,涉及一种指令执行设备的选取方法和装置、存储介质及电子装置。
背景技术
在智能家居场景中,通常会存在着各种各样的智能设备(可以是智能家居设备),当用户通过语音为入口控制设备时,往往需要进行智能设备的选择。例如,当用户对着智能设备说“调高2度”时,如果用户在客厅时,那用户意图可能是操作智能空调,而如果用户是在厨房或者卫生间,用户大概率意图是操作智能热水器。
为了对输入的控制指令进行响应,需要基于设备选择代码进行响应设备的选择。由于设备选择逻辑非常复杂,需要开发人员综合考虑多方面要素进行设备选择代码撰写,考虑要素越多,代码逻辑越发复杂。然而,目前的设备选择代码的可迭代性和健壮性较差,导致设备选择引擎的开发和维护的效率较低。
由此可见,相关技术中的指令执行设备的选取方式,存在由于设备选择代码的可迭代性和健壮性差导致的设备选择引擎的开发和维护的效率低的问题。
发明内容
本公开实施例提供一种指令执行设备的选取方法和装置、存储介质及电子装置,以至少解决相关技术中的指令执行设备的选取方式存在由于设备选择代码的可迭代性和健壮性差导致的设备选择引擎的开发和维护的效率低的问题。
根据本公开实施例的一个方面,提供了一种指令执行设备的选取方法,包括:在获取到目标对象发出的目标控制语句的情况下,对所述目标控制语句进行要素提取,得到至少一个目标要素;根据所述至少一个目标要素的要素类型,确定与所述目标控制语句匹配的目标组件流程,其中,所述目标组件流程包含与每个目标要素的要素类型匹配的组件,与所述每个目标要素的要素类型匹配的组件用于按照所述每个目标要素对多个智能设备执行设备选取操作;依次调用所述目标组件流程中的各个组件对所述多个智能设备执行设备选取操作,得到目标智能设备;控制所述目标智能设备执行所述目标控制语句所指示的目标设备操作。
根据本公开实施例的另一个方面,还提供了一种指令执行设备的选取装置,包括:提取单元,设置为在获取到目标对象发出的目标控制语句的情况下,对所述目标控制语句进行要素提取,得到至少一个目标要素;第一确定单元,设置为根据所述至少一个目标要素的要素类型,确定与所述目标控制语句匹配的目标组件流程,其中,所述目标组件流程包含与每个目标要素的要素类型匹配的组件,与所述每个目标要素的要素类型匹配的组件用于按照所述每个目标要素对多个智能设备执行设备选取操作;执行单元,设置为依次调用所述目标组件流程中的各个组件对所述多个智能设备执行设备选取操作,得到目标智能设备;控制单元,设置为控制所述目标智能设备执行所述目标控制语句所指示的目标设备操作。
根据本公开实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述指令执行设备的选取方法。
根据本公开实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述 处理器通过计算机程序执行上述的指令执行设备的选取方法。
在本公开实施例中,采用将设备选择代码进行组件化的方式,通过在获取到目标对象发出的目标控制语句的情况下,对目标控制语句进行要素提取,得到至少一个目标要素;根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作;依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备;控制目标智能设备执行目标控制语句所指示的目标设备操作,由于以语句要素为单位将设备选择代码进行组件化,为不同的语句要素的要素类型配置对应的设备选取组件(或者说,设备筛选组件),并通过控制语句中包含的语句要素类型设置对应的组件流程,即,组件的调用流程,在获取到控制语句时,基于控制语句包含的语句要素的要素类型选取对应的组件流程,并按照对应的组件流程进行设备选择,上述设备选取组件可以在版本更新等场景下迭代使用,可以实现提高设备代码的可迭代性的目的,并且,即使一个语句要素的要素类型匹配的组件发生异常,不会影响不包含该组件的组件流程的执行,并且,针对某一语句要素的要素类型的设备选取组件包含的代码量较小,方便进行开发和维护,可以实现提高设备选择代码的健壮性的目的,达到提高设备选择引擎的开发和维护效率的技术效果,进而解决了相关技术中的指令执行设备的选取方式存在由于设备选择代码的可迭代性和健壮性差导致的设备选择引擎的开发和维护的效率低的问题。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以 根据这些附图获得其他的附图。
图1是根据本公开实施例的一种可选的指令执行设备的选取方法的硬件环境的示意图;
图2是根据本公开实施例的一种可选的指令执行设备的选取方法的流程示意图;
图3是根据本公开实施例的一种可选的指令执行设备的选取方法的流程图;
图4是根据本公开实施例的一种可选的指令执行设备的选取方法的组件示意图;
图5是根据本公开实施例的一种可选的要素编码的代码示意图;
图6是根据本公开实施例的一种可选的流程编码的代码示意图;
图7是根据本公开实施例的一种可选的流程组件的代码示意图;
图8是根据本公开实施例的另一种可选的指令执行设备的选取方法的流程图;
图9是根据本公开实施例的一种可选的指令执行设备的选取装置的结构框图;
图10是根据本公开实施例的一种可选的电子装置的结构框图。
具体实施方式
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序 或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本公开实施例的一个方面,提供了一种指令执行设备的选取方法。指令执行设备的选取方法广泛应用于智慧家庭(Smart Home)、智能家居、智能家用设备生态、智慧住宅(Intelligence House)生态等全屋智能数字化控制应用场景。可选地,本实施例中的指令执行设备的选取方法可以应用于如图1所示的由终端102和服务器104所构成的硬件环境中。如图1所示,服务器104通过网络与终端102进行连接,可用于为终端或终端上安装的客户端提供服务(如应用服务等),可在服务器上或独立于服务器配置云计算和/或边缘计算服务,用于为服务器104提供数据运算服务。
上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。终端102可以并不限定于为PC、手机、平板电脑、智能空调、智能烟机、智能冰箱、智能烤箱、智能炉灶、智能洗衣机、智能热水器、智能洗涤设备、智能洗碗机、智能投影设备、智能电视、智能晾衣架、智能窗帘、智能影音、智能插座、智能音响、智能音箱、智能新风设备、智能厨卫设备、智能卫浴设备、智能扫地机器人、智能擦窗机器人、智能拖地机器人、智能空气净化设备、智能蒸箱、智能微波炉、智能厨宝、智能净化器、智能饮水机、智能门锁等。
本公开实施例的指令执行设备的选取方法可以由服务器104来执行,也可以由终端102来执行,还可以是由服务器104和终端102共同执行。其中,终端102执行本公开实施例的指令执行设备的选取方法也可以是由安装在其上的客户端来执行。
以由服务器104来执行本实施例中的指令执行设备的选取方法为例,图2是根据本公开实施例的一种可选的指令执行设备的选取方法的流程示意图,如图2所示,该方法的流程可以包括以下步骤:
步骤S202,在获取到目标对象发出的目标控制语句的情况下,对目标控制语句进行要素提取,得到至少一个目标要素。
本实施例中的指令执行设备的选取方法可以应用到通过控制语句控制智能设备执行对应的设备操作的场景中。上述智能设备可以是位于用户家庭中的智能家居设备,可以为智能电视机、智能冰箱、智能热水器等安装有智能芯片的电子设备,相比于传统的家居设备,智能家居设备中增加了计算模块、网络接口、输入输出装置等,从而使得智能家居设备具有智能分析和智能服务的功能。
用户在需要使用某一智能设备时,可以通过语音等方式发出目标控制语句,该智能设备、其他智能设备、或者控制设备(例如,智能手机、智能音箱)可以获取到目标对象发出的目标控制语句,并将获取到的目标控制语句发送给目标服务器(上述服务器104的一种示例)。这里,目标对象与上述用户对应,其可以是与智能设备建立绑定关系的对象,也可以是未与智能设备建立绑定关系的对象,只要能够被识别出即可。
在本实施例中,在获取到目标控制语句之后,目标服务器可以从目标控制语句提取出目标控制语句包含的至少一个目标要素,这里,目标要素可以是用于进行设备选取的语句要素,可以但不限于为以下语句要素:用于指示待选择的智能设备所在位置区域的要素,用于指示待选择的智能设备所在楼层的要素,用于指示待选择的智能设备的设备名称或设备昵称的要素,本实施例中对此不做限定。
需要说明的是,至少一个目标要素为预先设定的、用于进行设备选取的语句要素,其与特定的控制语句无关。对目标控制语句进行要素提取得到至少一个目标要素的过程可以是:按照预设要素类型对目标控制语句进行要素提取,将可以从目标控制语句中成功提取的要素确定为目标要素,从而得到至少一个目标要素。
例如,预设要素类型包括:“楼层”,“房间名”,“设备名称”。当控制语句为“将一楼卧室空调温度设置到25度”时,通过对该控制语句进行解析,可以确定该控制语句中包含的目标要素为:“一楼”,“卧室”;“空调”。
步骤S204,根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作。
每个预设要素类型可以分别对应于一个组件,不同的预设要素类型对应的组件用于按照对应的预设要素类型对多个智能设备执行设备筛选操作。当组件被执行时,可以按照与该组件对应的目标要素对多个智能设备进行筛选,得到与对应的目标要素匹配的智能设备。例如,当组件为与楼层匹配的组件时,可以按照多个智能设备所在的楼层进行筛选,从多个智能设备中筛选出位于特定楼层的智能设备。可选地,不同的组件所对应的预设要素类型可以是不同的,例如,组件A可以与“楼层”要素类型对应,组件B可以与“房间名”要素类型对应。
在本实施例中,在提取至少一个目标要素之后,目标服务器可以根据至少一个目标要素,确定与目标控制语句匹配的目标组件流程。上述目标组件流程中可以包括有一个或者多个组件,当组件流程被执行时,可以按照预设的执行顺序或者随机生成的执行顺序依次的执行组件流程中包括的组件。
上述目标组件流程可以包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作。可选地,目标组件流程中除了可以包括与每个目标要素的要素类型匹配的组件之外,还可以包括有与其他要素的要素类型对应的组件,例如,与语句发出位置对应的组件,不同的组件流程包含的其他组件可以是相同的,也可以是不同的,本实施例中对此不做限定。
上述根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程的过程可以是:先根据至少一个目标要素的要素类型确定与 至少一个目标要素的要素类型匹配的要素向量,再将与确定出的要素向量匹配的组件流程,确定为至少一个目标要素的要素类型匹配的目标组件流程,本实施例中对此不做限定。
步骤S206,依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备。
在本实施例中,在确定与至少一个目标要素的要素类型匹配的目标组件流程之后,可以按照目标组件流程依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备。
可选地,上述按照目标组件流程依次调用目标组件流程中的目标组件对多个智能设备执行设备选取操作,得到目标智能设备的过程可以是:先使用目标组件流程中的一个组件对多个智能设备执行设备选取操作,得到选取后的智能设备,再使用目标组件流程中的下一个组件对选取后的智能设备继续执行设备选取操作,直到目标组件流程中的所有组件都执行了对多个智能设备的设备选取操作,最后,将所有目标组件对多个智能设备设备选取操作后得到的智能设备,确定为目标智能设备。
例如,当目标组件流程包括组件A,组件B以及组件C时,可以依次使用这三个组件对多个智能设备执行设备选取操作,确定出特定智能设备(即,上述目标智能设备)。
在本实施例中,按照目标组件流程依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作的过程中,各个组件的调用流程可以是预先设定的,也可以是随机的。可选地,当各个组件的调用流程是预先设定时,目标服务器可以按照预先设定的调用流程依次调用各个组件对多个智能设备执行设备选取操作;当各个组件的调用流程是随机生成时,目标服务器可以随机生成目标组件流程中的各个组件的调用流程,并按照生成的调用流程依次调用各个组件对多个智能设备执行设备选取操作,本实施例中对此不做限定。
可选地,在按照目标组件流程依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作之后,没有获取到匹配的智能设备(即, 没有智能设备符合所有组件的筛选条件)时,目标服务器可以重新对多个智能设备执行设备选取操作,也可以向目标对象发送第一提示消息,以提示目标对象无法根据目标控制语句确定匹配的智能设备,还可以提示使用对象重新发出控制语句。
可选地,在按照目标组件流程依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作之后,如果有多个匹配的智能设备(即,有多个智能设备均符合所有组件的筛选条件)时,目标服务器可以重新对多个智能设备执行设备选取操作,也可以向目标对象发送第二提示消息,以提示目标对象从多个候选候选智能设备中选取出待执行目标控制指令的设备,并基于目标对象的响应从多个候选智能设备确定出目标智能设备。
需要说明的是,依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作可以是:使用与各个组件对应的目标要素调用各个组件,对多个智能设备执行设备选取操作,选取操作所选取出的目标智能设备与各个目标要素匹配,即,符合各个目标要素的要素条件。
步骤S208,控制目标智能设备执行目标控制语句所指示的目标设备操作。
在本实施例中,在从多个智能设备中确定目标智能设备之后,目标服务器可以控制目标智能设备执行目标控制语句所指示的目标设备操作。例如,当确定特定智能设备为一楼卧室的空调之后,服务器可以控制该空调执行“将一楼卧室空调温度设置到25度”所指示的设备操作(即,将温度设置到25度)。
在本实施例中,在执行目标设备操作之后,目标智能设备可以向目标服务器发送反馈消息,该反馈消息用于向目标服务器反馈目标设备操作的执行情况,目标服务器可以根据目标智能设备所发送的反馈消息,采取与反馈消息相对应的操作。可选地,在反馈消息为用于指示目标设备操作执行失败的反馈消息的情况下,目标服务器可以立即控制目标智能设备重新执行目标控制语句所指示的目标设备操作,也可以在等待一定时间后,控制目标智能设备重新执行目标控制语句所指示的目标设备操作,本实施例 中对此不做限定。
可选地,在控制目标智能设备执行目标控制语句所指示的目标设备操作之前,目标服务器可以对目标控制语句进行语句解析,确定出目标控制语句中所包括的目标设备操作以及与目标设备操作对应的设备操作参数。在确定目标设备操作以及设备操作参数之后,目标服务器可以按照设备操作参数控制目标智能设备执行目标控制语句所指示的目标设备操作。例如,服务器可以确定“将一楼卧室空调温度设置到25度”的设备操作(即,调节空调温度)以及设备操作参数(即,25度),并根据确定出的设备操作以及设备操作参数,控制一楼卧室空调将温度设置到25度。
通过上述步骤S202至步骤S208,在获取到目标对象发出的目标控制语句的情况下,对目标控制语句进行要素提取,得到至少一个目标要素;根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作;依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备;控制目标智能设备执行目标控制语句所指示的目标设备操作,解决了相关技术中的指令执行设备的选取方式存在由于设备选择代码的可迭代性和健壮性差导致的设备选择引擎的开发和维护的效率低的问题,提高了设备选择引擎的开发和维护效率。
在一个示例性实施例中,对目标控制语句进行要素提取,得到至少一个目标要素,包括:
S11,按照预设要素类型集合对目标控制语句进行要素提取,得到至少一个目标要素,其中,每个目标要素的要素类型为一种预设要素类型,预设要素类型集合包括以下至少之一:设备类型,设备名称,设备所在的楼层。
在本实施例中,目标服务器在接收到目标控制语句之后,可以按照预设要素类型集合对目标控制语句进行要素提取,得到至少一个目标要素。
可选地,上述按照预设要素类型集合对目标控制语句进行要素提取,得到至少一个目标要素的过程可以是:先通过句法分析算法对目标控制语句进行语句解析,得到目标控制语句中所包括的要素,再将目标控制语句中所包括的要素的要素类型与预设要素类型集合所包括的预设要素类型存在交集的要素,确定为目标要素,从而得到至少一个目标要素,或者是先通过词典库对目标控制语句进行解析,得到目标控制语句中所包括的要素,再将目标控制语句中所包括的要素的要素类型与预设要素类型集合所包括的预设要素类型存在交集的要素,确定为目标要素,本实施例中对此不做限定。
例如,服务器可以先对控制语句“将一楼卧室空调温度设置到25度”进行解析,确定“楼层”、“房间名”以及“设备名称”等要素类型之后,再判断上述要素类型是否为预设要素类型,并在上述要素类型为预设要素类型的情况下,将上述要素类型所对应的要素确定为特定要素(即,目标要素)。
通过本实施例,按照预设要素类型集合对控制语句进行解析,得到至少一个特定要素,可以简化确定控制语句中包含要素的步骤,提升要素确定的效率。
在一个示例性实施例中,按照预设要素类型集合对目标控制语句进行要素提取,得到至少一个目标要素,包括:
S21,将每个预设要素类型分别作为当前预设要素类型执行以下步骤,得到至少一个目标要素:
按照当前预设要素类型对目标控制语句进行解析;
在从目标控制语句中解析到与当前预设要素类型对应的要素的情况下,将与当前预设要素类型对应的要素确定为一个目标要素。
在本实施例中,目标服务器可以按照预设要素类型集合对目标控制语句进行要素提取,得到至少一个目标要素。可选地,可以将每个预设要素类型分别作为当前预设要素类型执行要素解析步骤,从而得到至少一个目标要素。
可选地,目标服务器可以按照当前预设要素类型对目标控制语句进行解析。例如,如果当前预设要素类型为楼层要素,可以按照楼层对控制语句进行解析;如果当前预设要素类型为房间名要素,可以按照房间名对控制语句进行解析。
可选地,在从目标控制语句中解析到与当前预设要素类型对应的要素的情况下,可以将与当前预设要素类型对应的要素确定为一个目标要素。例如,当从控制语句中解析到楼层要素类型对应的要素时,可以将该要素作为特定要素。
上述按照当前预设要素类型对目标控制语句进行解析的过程可以是:先按照语句分析算法对目标控制语句进行解析,确定出目标控制语句中包括的要素,再依此确定目标控制语句中所包括的要素的要素类型是否为当前预设要素类型。
通过本实施例,按照当前预设要素类型对控制语句进行解析,并将从控制语句中解析到的预设要素类型的要素确定为一个特定要素,简化了从控制语句中确定特定要素的步骤。
在一个示例性实施例中,根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,包括:
S31,根据至少一个目标要素的要素类型,确定与目标控制语句对应的目标二进制向量,其中,目标二进制向量中的二进制位与预设要素类型集合中的预设元素类型一一对应,目标二进制向量中的二进制位的值用于指示目标控制语句中是否包含对应的预设元素类型的要素;
S32,将多个组件流程中,对应的二进制向量为目标二进制向量的组件流程,确定为目标组件流程,其中,与多个组件流程中的每个组件流程对应的二进制向量中的二进制位与预设要素类型集合中的预设元素类型一一对应,与每个组件流程对应的二进制向量中的二进制位的值用于指示每个组件流程中是否包含与对应的预设要素类型匹配的组件。
在本实施例中,在确定至少一个目标要素之后,目标服务器可以根据 至少一个目标要素的要素类型,确定与目标控制语句对应的目标二进制向量,上述目标二进制向量中的二进制位与预设要素类型集合中的预设元素类型一一对应,目标二进制向量中的二进制位的值用于指示目标控制语句中是否包含对应的预设元素类型的要素。
例如,与控制语句对应的二进制向量(即,目标二进制向量)为“011”,二进制向量中的第一个二进制位(即,“0”所在的二进制位)所表示的要素类型可以为“楼层”,二进制向量中的第二个二进制位(即,第一个“1”所在的二进制位)所表示的要素类型可以为“设备名称”,二进制向量中的第三个二进制位(即,第二个“1”所在的二进制位)所表示的要素类型可以为“房间名”。
可选地,根据至少一个目标要素的要素类型,确定与目标控制语句对应的目标二进制向量的过程可以是:将目标二进制向量中与目标要素的要素类型对应的二进制位设定为非空或者“1”,将除了与每个目标要素的要素类型对应的二进制位以外的其他二进制位的值设定为空或者“0”,从而得到与目标控制语句对应的目标二进制向量,或者是先确定与至少一个目标要素中的每个目标要素的要素类型对应的二进制向量,再对与每个目标要素的要素类型对应的二进制向量执行按位或操作,得到目标二进制向量,本实施例中对此不做限定。
在确定目标二进制向量之后,可以将多个组件流程中,对应的二进制向量为目标二进制向量的组件流程,确定为目标组件流程。上述与每个组件流程对应的二进制向量中的二进制位与预设要素类型集合中的预设元素类型一一对应,上述与每个组件流程对应的二进制向量中的二进制位的值用于指示每个组件流程中是否包含与对应的预设要素类型匹配的组件。
上述将多个组件流程中,对应的二进制向量为目标二进制向量的组件流程,确定为目标组件流程的过程可以是:在与多个组件流程中的每个组件流程对应的二进制向量依次进行查找,将查找到的、与目标二进制向量相同的二进制向量所对应的组件流程确定为目标组件流程。本实施例中对此不做限定。
例如,在确定特定要素向量(即,目标二进制向量)为“011”之后,可以在与多个组件流程对应的多个二进制向量中依次查找与要素向量“011”匹配的二进制向量,并将查找到的二进制向量对应的组件流程,确定为特定组件流程。
需要说明的是,上述多个组件流程中每个组件流程分别对应一个二进制向量,不同的组件流程所对应的二进制向量也是不同的,即,在多个组件流程中不存在对应的二进制向量相同的组件流程。
通过本实施例,将二进制向量与至少一个特定要素的要素类型对应的特定二进制向量相同的组件流程确定为特定组件流程,可以简化确定特定组件流程的过程,提升控制指令的执行效率。
在一个示例性实施例中,根据至少一个目标要素的要素类型,确定与目标控制语句对应的目标二进制向量,包括:
S41,确定与每个目标要素的要素类型对应的二进制向量,其中,在与每个目标要素的要素类型对应的二进制向量中,与每个目标要素的要素类型对应的二进制位的值为1,除了与每个目标要素的要素类型对应的二进制位以外的其他二进制位的值为0;
S42,对与每个目标要素的要素类型对应的二进制向量执行按位或操作,得到目标二进制向量。
在本实施例中,目标服务器可以确定与至少一个目标要素中的每个目标要素的要素类型对应的二进制向量,在与每个目标要素的要素类型对应的二进制向量中,与每个目标要素的要素类型对应的二进制位的值为1,除了与每个目标要素的要素类型对应的二进制位以外的其他二进制位的值为0。
例如,预设要素类型包括:“楼层”,“设备名称”,房间名”,每个预设要素类型对应的二进制向量分别为:100,010,001。当控制语句中存在“楼层”和“设备名称”这两个要素类型时,服务器可以获取到对应的二进制向量为“100”和“010”。
可选地,确定与每个目标要素的要素类型对应的二进制向量,在与预设要素类型集合中的每个预设要素类型对应的二进制向量中,分别查找与每个目标要素的要素类型对应的二进制向量,这里,预设要素类型集合中的预设要素类型与多个二进制向量一一对应。
在确定与每个目标要素的要素类型对应的二进制向量之后,可以对与每个目标要素的要素类型对应的二进制向量执行按位或操作,得到目标二进制向量。例如,在获取到二进制向量“100”和“010”,服务器可以对这两个二进制向量执行按位或操作,得到特定二进制向量“110”。
通过本实施例,根据每个特定要素的要素类型对应的二进制向量,生成特定二进制向量,可以提高确定出的特定要素向量的便捷性,提升控制指令的执行效率,进而提升用户的使用体验。
在一个示例性实施例中,上述方法还包括:
S51,在从目标控制语句中未提取出任一预设要素类型的要素的情况下,将预设组件流程,确定为与目标控制语句匹配的目标组件流程。
在本实施例中,在从目标控制语句中未提取出任一预设要素类型的要素的情况下(即,在目标控制语句中不包括预设要素类型的要素的情况下),可以将预设组件流程,确定为与目标控制语句匹配的目标组件流程。例如,可以将根据设备功能筛选设备、根据用户对话上下文筛选设备以及根据发话设备信息(所在房间、楼层)筛选设备的组件流程设置为预设组件流程。当控制语句中不包括预设要素类型的要素时,可以将上述预设组件流程确定为特定组件流程,以在多个智能设备中筛选出特定智能设备。
可选地,在从目标控制语句中提取出任一预设要素类型的要素的情况下,可以将预设组件流程所包括的组件添加到目标组件流程中,也就是说,在目标组件流程中除了可以包括至少一个目标要素的要素类型对应的目标组件外,还可以包括预设组件流程中所包括的组件,本实施例中对此不做限定。
通过本实施例,在控制语句中不包含预设要素类型的要素时,采用预 设组件流程执行设备筛选操作,可以提升控制语句的响应率,提升用户的使用体验。
在一个示例性实施例中,控制目标智能设备执行目标控制语句所指示的目标设备操作,包括:
S61,生成与目标控制语句对应的目标控制指令,其中,目标控制指令用于指示目标智能设备执行目标设备操作;
S62,将目标控制指令发送给目标智能设备,以指示目标智能设备执行目标设备操作。
在本实施例中,在确定目标智能设备之后,目标服务器可以生成与目标控制语句对应的目标控制指令,上述目标控制指令用于指示目标智能设备执行目标设备操作。可选地,上述生成与目标控制语句对应的目标控制指令的过程可以是:根据目标智能设备以及控制语句中每个目标要素的要素值,生成目标控制指令,例如,当服务器根据控制语句“将一楼卧室空调温度设置到25度”确定特定智能设备为位于一楼卧室的空调时,可以生成一条控制语句,以将该空调的温度调节到25度。
可选地,在目标控制指令中可以携带有目标智能设备的相关信息,以指示目标服务器将目标控制语句发送给目标智能设备。例如,可以在目标控制指令中携带有特定智能设备的位置信息。
在生成与目标控制语句对应的目标控制指令之后,目标服务器可以将目标控制指令发送给目标智能设备,以指示目标智能设备执行目标设备操作。可选地,由于目标控制指令在发送给目标智能设备的过程中,存在被窃取的可能性,因此可以在将目标控制指令发送给目标智能设备之前,对目标控制指令进行加密,例如,使用目标智能设备的公钥对目标控制指令进行加密。
需要说明的是,上述将目标控制指令发送给目标智能设备的过程可以是:将目标控制指令以广播的方式发送至目标智能设备,或者将目标控制指令以其他的方式发送至目标智能设备,本实施例中对此不做限定。
通过本实施例,在确定特定智能设备之后,生成与控制语句的对应的控制指令,并将控制指令发送至特定智能设备,可以提高控制指令发送的精准度,进而提升控制指令的效果。
下面结合可选示例对本公开实施例中的指令执行设备的选取方法进行解释说明。
相关技术中的指令执行设备的选取方法,大多需要综合考虑用户发话位置、发话位置包含的设备、设备支持哪些功能、对话上下文等等要素,由于考虑要素越多,代码逻辑越发的复杂,因此如何保持设备选择代码的可迭代性和健壮性,给开发人员带来了很大的挑战,并且对控制语句的执行效果造成了影响。
本可选实例中提供了一套基于组件流配置的方法,使设备选择引擎组件化,流程化。将设备选择中考虑的发话位置、设备功能等等因素原子化,并根据不同的触发条件,配置组件流。通过这种方法,可以大大降低设备选择引擎的维护成本,使得开发人员只需要根据不同的情况配置对应的组件流即可,简化了智能家居场景中的设备选择逻辑,进而提高了控制语句的执行效果。
结合图3所示,本可选示例中的指令执行设备的选取方法的流程可以包括以下步骤:
步骤S302,定义基本组件。
例如,可以根据房间名、楼层、昵称等要素,定义如图4所示的组件列表,其中,组件列表中的每一行都为一种组件。
步骤S304,定义要素编码、流程编码、配置流程组件。
例如,如图5所示,可以以房间名、楼层、昵称,定义要素基本编码,可选地,可以二进制的每一位表达一种要素。如图6所示,在完成要素的编码之后,可以根据要素定义流程编码,由于流程是要素的组合,因此通过位运算,可以很方便的定义出流程编码。
在定义出流程编码之后,可以通过枚举不同要素组合情况,枚举八种可能的流程(即,上述组件流程),并可以根据不同的流程构造不同的流程组件,roomAndFloor这个流程的流程组件可以如图7所示。
步骤S306,根据发话计算命中流程,并执行所命中的流程。
如图8所示,获取用户发话“一楼卧室空调温度设置到25度”,并对用户发话进行语义要素抽取,得到用户发话表达要素“一楼,卧室”,然后根据用户发话表达要素,执行按位或运算得到流程编码,并根据流程编码确定出命中的组件流,然后按顺序执行组件流中的组件,即可获得最后筛选的设备。
通过本可选示例,实现了设备选择代码的组件化、流程化、可配置化,极大地方便了设备选择引擎的后续开发和维护,提升了工作效率。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本公开所必须的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM(Read-Only Memory,只读存储器)/RAM(Random Access Memory,随机存取存储器)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。
根据本公开实施例的另一个方面,还提供了一种用于实施上述指令执 行设备的选取方法的处理装置。图9是根据本公开实施例的一种可选的指令执行设备的选取装置的结构框图,如图9所示,该装置可以包括:
提取单元902,设置为在获取到目标对象发出的目标控制语句的情况下,对目标控制语句进行要素提取,得到至少一个目标要素;
第一确定单元904,与提取单元902相连,设置为根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作;
执行单元906,与第一确定单元904相连,设置为依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备;
控制单元908,与执行单元906相连,设置为控制目标智能设备执行目标控制语句所指示的目标设备操作。
需要说明的是,该实施例中的提取单元902可以设置为执行上述步骤S202,该实施例中的第一确定单元904可以设置为执行上述步骤S204,该实施例中的执行单元906可以设置为执行上述步骤S206,该实施例中的控制单元908可以设置为执行上述步骤S208。
通过上述模块,在获取到目标对象发出的目标控制语句的情况下,对目标控制语句进行要素提取,得到至少一个目标要素;根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作;依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备;控制目标智能设备执行目标控制语句所指示的目标设备操作,解决了相关技术中的指令执行设备的选取方式存在由于设备选择代码的可迭代性和健壮性差导致的设备选择引擎的开发和维护的效率低的问题,提高了设备选择引擎的开发和维护效率。
在一个示例性实施例中,提取单元包括:
提取模块,设置为按照预设要素类型集合对目标控制语句进行要素提取,得到至少一个目标要素,其中,每个目标要素的要素类型为一种预设要素类型,预设要素类型集合包括以下至少之一:设备类型,设备名称,设备所在的楼层。
在一个示例性实施例中,提取模块包括:
第一执行子模块,设置为将每个预设要素类型分别作为当前预设要素类型执行以下步骤,得到至少一个目标要素:
按照当前预设要素类型对目标控制语句进行解析;
在从目标控制语句中解析到与当前预设要素类型对应的要素的情况下,将与当前预设要素类型对应的要素确定为一个目标要素。
在一个示例性实施例中,第一确定单元包括:
第一确定模块,设置为根据至少一个目标要素的要素类型,确定与目标控制语句对应的目标二进制向量,其中,目标二进制向量中的二进制位与预设要素类型集合中的预设要素类型一一对应,目标二进制向量中的二进制位的值用于指示目标控制语句中是否包含对应的预设元素类型的要素;
第二确定模块,设置为将多个组件流程中,对应的二进制向量为目标二进制向量的组件流程,确定为目标组件流程,其中,每个组件流程对应的二进制向量中的二进制位与预设要素类型集合中的预设元素类型一一对应,与每个组件流程对应的二进制向量中的二进制位的值用于指示每个组件流程中是否包含与对应的预设要素类型匹配的组件。
在一个示例性实施例中,第一确定模块包括:
确定子模块,设置为确定与每个目标要素的要素类型对应的二进制向量,其中,在与每个目标要素的要素类型对应的二进制向量中,与每个目标要素的要素类型对应的二进制位的值为1,除了与每个目标要素的要素 类型对应的二进制位以外的其他二进制位的值为0;
第二执行子模块,设置为对与每个目标要素的要素类型对应的二进制向量执行按位或操作,得到目标二进制向量。
在一个示例性实施例中,上述装置还包括:
第二确定单元,设置为在从目标控制语句中未提取出任一预设要素类型的要素的情况下,将预设组件流程确定为与目标控制语句匹配的目标组件流程。
在一个示例性实施例中,控制单元包括:
生成模块,设置为生成与目标控制语句对应的目标控制指令,其中,目标控制指令用于指示目标智能设备执行目标设备操作;
发送模块,设置为将目标控制指令发送给目标智能设备,以指示目标智能设备执行目标设备操作。
此处需要说明的是,上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实现,也可以通过硬件实现,其中,硬件环境包括网络环境。
根据本公开实施例的又一个方面,还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于执行本公开实施例中上述任一项指令执行设备的选取方法的程序代码。
可选地,在本实施例中,上述存储介质可以位于上述实施例所示的网络中的多个网络设备中的至少一个网络设备上。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:
S1,在获取到目标对象发出的目标控制语句的情况下,对目标控制语 句进行要素提取,得到至少一个目标要素;
S2,根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作;
S3,依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备;
S4,控制目标智能设备执行目标控制语句所指示的目标设备操作。
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例中对此不再赘述。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、ROM、RAM、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
根据本公开实施例的又一个方面,还提供了一种用于实施上述指令执行设备的选取方法的电子装置,该电子装置可以是服务器、终端、或者其组合。
图10是根据本公开实施例的一种可选的电子装置的结构框图,如图10所示,包括处理器1002、通信接口1004、存储器1006和通信总线1008,其中,处理器1002、通信接口1004和存储器1006通过通信总线1008完成相互间的通信,其中,
存储器1006,设置为存储计算机程序;
处理器1002,设置为执行存储器1006上所存放的计算机程序时,实现如下步骤:
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:
S1,在获取到目标对象发出的目标控制语句的情况下,对目标控制语句进行要素提取,得到至少一个目标要素;
S2,根据至少一个目标要素的要素类型,确定与目标控制语句匹配的目标组件流程,其中,目标组件流程包含与每个目标要素的要素类型匹配的组件,与每个目标要素的要素类型匹配的组件用于按照每个目标要素对多个智能设备执行设备选取操作;
S3,依次调用目标组件流程中的各个组件对多个智能设备执行设备选取操作,得到目标智能设备;
S4,控制目标智能设备执行目标控制语句所指示的目标设备操作。
可选地,在本实施例中,通信总线可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线、或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于上述电子装置与其他设备之间的通信。
上述的存储器可以包括RAM,也可以包括非易失性存储器(non-volatile memory),例如,至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器的存储装置。
作为一种示例,上述存储器1006中可以但不限于包括上述指令执行设备的选取装置中的提取单元902、第一确定单元904、执行单元906以及控制单元908。此外,还可以包括但不限于上述指令执行设备的选取装置中的其他模块单元,本示例中不再赘述。
上述处理器可以是通用处理器,可以包含但不限于:CPU(Central Processing Unit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(Digital Signal Processing,数字信号处理器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶 体管逻辑器件、分立硬件组件。
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。
本领域普通技术人员可以理解,图10所示的结构仅为示意,实施上述指令执行设备的选取方法的设备可以是终端设备,该终端设备可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图10其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图10中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图10所示的不同的配置。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、ROM、RAM、磁盘或光盘等。
上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。
在本公开的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本公开所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外 的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例中所提供的方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上所述仅是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。

Claims (14)

  1. 一种指令执行设备的选取方法,包括:
    在获取到目标对象发出的目标控制语句的情况下,对所述目标控制语句进行要素提取,得到至少一个目标要素;
    根据所述至少一个目标要素的要素类型,确定与所述目标控制语句匹配的目标组件流程,其中,所述目标组件流程包含与每个目标要素的要素类型匹配的组件,与所述每个目标要素的要素类型匹配的组件用于按照所述每个目标要素对多个智能设备执行设备选取操作;
    依次调用所述目标组件流程中的各个组件对所述多个智能设备执行设备选取操作,得到目标智能设备;
    控制所述目标智能设备执行所述目标控制语句所指示的目标设备操作。
  2. 根据权利要求1所述的方法,其中,所述对所述目标控制语句进行要素提取,得到至少一个目标要素,包括:
    按照预设要素类型集合对所述目标控制语句进行要素提取,得到所述至少一个目标要素,其中,所述每个目标要素的要素类型为一种预设要素类型,所述预设要素类型集合包括以下至少之一:设备类型,设备名称,设备所在的楼层。
  3. 根据权利要求2所述的方法,其中,所述按照预设要素类型集合对所述目标控制语句进行要素提取,得到所述至少一个目标要素,包括:
    将每个所述预设要素类型分别作为当前预设要素类型执行以下步骤,得到所述至少一个目标要素:
    按照所述当前预设要素类型对所述目标控制语句进行解析;
    在从所述目标控制语句中解析到与所述当前预设要素类型对应的要素的情况下,将与所述当前预设要素类型对应的要素确定为一个目标要素。
  4. 根据权利要求2所述的方法,其中,所述根据所述至少一个目标要素 的要素类型,确定与所述目标控制语句匹配的目标组件流程,包括:
    根据所述至少一个目标要素的要素类型,确定与所述目标控制语句对应的目标二进制向量,其中,所述目标二进制向量中的二进制位与所述预设要素类型集合中的预设要素类型一一对应,所述目标二进制向量中的二进制位的值用于指示所述目标控制语句中是否包含对应的预设元素类型的要素;
    将多个组件流程中,对应的二进制向量为所述目标二进制向量的组件流程,确定为所述目标组件流程,其中,每个组件流程对应的二进制向量中的二进制位与所述预设要素类型集合中的预设元素类型一一对应,与所述每个组件流程对应的二进制向量中的二进制位的值用于指示所述每个组件流程中是否包含与对应的预设要素类型匹配的组件。
  5. 根据权利要求4所述的方法,其中,所述根据所述至少一个目标要素的要素类型,确定与所述目标控制语句对应的目标二进制向量,包括:
    确定与所述每个目标要素的要素类型对应的二进制向量,其中,在与所述每个目标要素的要素类型对应的二进制向量中,与所述每个目标要素的要素类型对应的二进制位的值为1,除了与所述每个目标要素的要素类型对应的二进制位以外的其他二进制位的值为0;
    对与所述每个目标要素的要素类型对应的二进制向量执行按位或操作,得到所述目标二进制向量。
  6. 根据权利要求2所述的方法,其中,所述方法还包括:
    在从所述目标控制语句中未提取出任一预设要素类型的要素的情况下,将预设组件流程确定为与所述目标控制语句匹配的目标组件流程。
  7. 根据权利要求1至6中任一项所述的方法,其中,所述控制所述目标智能设备执行所述目标控制语句所指示的目标设备操作,包括:
    生成与所述目标控制语句对应的目标控制指令,其中,所述目标控制指令用于指示所述目标智能设备执行所述目标设备操作;
    将所述目标控制指令发送给所述目标智能设备,以指示所述目标智能设备执行所述目标设备操作。
  8. 一种指令执行设备的选取装置,包括:
    提取单元,设置为在获取到目标对象发出的目标控制语句的情况下,对所述目标控制语句进行要素提取,得到至少一个目标要素;
    确定单元,设置为根据所述至少一个目标要素的要素类型,确定与所述目标控制语句匹配的目标组件流程,其中,所述目标组件流程包含与每个目标要素的要素类型匹配的组件,与所述每个目标要素的要素类型匹配的组件用于按照所述每个目标要素对多个智能设备执行设备选取操作;
    执行单元,设置为依次调用所述目标组件流程中的各个组件对所述多个智能设备执行设备选取操作,得到目标智能设备;
    控制单元,设置为控制所述目标智能设备执行所述目标控制语句所指示的目标设备操作。
  9. 根据权利要求8所述的装置,其中,所述提取单元包括:
    提取模块,设置为按照预设要素类型集合对所述目标控制语句进行要素提取,得到所述至少一个目标要素,其中,所述每个目标要素的要素类型为一种预设要素类型,所述预设要素类型集合包括以下至少之一:设备类型,设备名称,设备所在的楼层。
  10. 根据权利要求9所述的装置,其中,所述提取模块包括:
    第一执行子模块,设置为将每个所述预设要素类型分别作为当前预设要素类型执行以下步骤,得到所述至少一个目标要素:
    按照所述当前预设要素类型对所述目标控制语句进行解析;
    在从所述目标控制语句中解析到与所述当前预设要素类型对应的要素的情况下,将与所述当前预设要素类型对应的要素确定为一个目标要素。
  11. 根据权利要求9所述的装置,其中,所述确定单元包括:
    第一确定模块,设置为根据所述至少一个目标要素的要素类型,确定与所述目标控制语句对应的目标二进制向量,其中,所述目标二进制向量中的二进制位与所述预设要素类型集合中的预设要素类型一一对 应,所述目标二进制向量中的二进制位的值用于指示所述目标控制语句中是否包含对应的预设元素类型的要素;
    第二确定模块,设置为将多个组件流程中,对应的二进制向量为所述目标二进制向量的组件流程,确定为所述目标组件流程,其中,每个组件流程对应的二进制向量中的二进制位与所述预设要素类型集合中的预设元素类型一一对应,与所述每个组件流程对应的二进制向量中的二进制位的值用于指示所述每个组件流程中是否包含与对应的预设要素类型匹配的组件。
  12. 根据权利要求11所述的装置,其中,所述第一确定模块包括:
    确定子模块,设置为确定与所述每个目标要素的要素类型对应的二进制向量,其中,在与所述每个目标要素的要素类型对应的二进制向量中,与所述每个目标要素的要素类型对应的二进制位的值为1,除了与所述每个目标要素的要素类型对应的二进制位以外的其他二进制位的值为0;
    第二执行子模块,设置为对与所述每个目标要素的要素类型对应的二进制向量执行按位或操作,得到所述目标二进制向量。
  13. 一种计算机可读的存储介质,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至7中任一项所述的方法。
  14. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行权利要求1至7中任一项所述的方法。
PCT/CN2022/096433 2022-04-29 2022-05-31 指令执行设备的选取方法和装置、存储介质及电子装置 WO2023206701A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210467366.4A CN117014245A (zh) 2022-04-29 2022-04-29 指令执行设备的选取方法和装置、存储介质及电子装置
CN202210467366.4 2022-04-29

Publications (1)

Publication Number Publication Date
WO2023206701A1 true WO2023206701A1 (zh) 2023-11-02

Family

ID=88517111

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096433 WO2023206701A1 (zh) 2022-04-29 2022-05-31 指令执行设备的选取方法和装置、存储介质及电子装置

Country Status (2)

Country Link
CN (1) CN117014245A (zh)
WO (1) WO2023206701A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147047A (zh) * 2019-06-19 2019-08-20 深圳聚点互动科技有限公司 智能家居设备筛选方法、装置、计算机设备和存储介质
US20190327106A1 (en) * 2018-04-20 2019-10-24 Baidu Online Network Technology (Beijing) Co., Ltd Method, apparatus, device, system and storage medium for controlling smart home
CN110597082A (zh) * 2019-10-23 2019-12-20 北京声智科技有限公司 智能家居设备控制方法、装置、计算机设备及存储介质
CN110687817A (zh) * 2019-11-05 2020-01-14 深圳市欧瑞博科技有限公司 智能家居的控制方法、装置、终端及计算机可读存储介质
CN113658590A (zh) * 2021-06-30 2021-11-16 深圳市艾特智能科技有限公司 智能家居设备的控制方法、装置、可读存储介质及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190327106A1 (en) * 2018-04-20 2019-10-24 Baidu Online Network Technology (Beijing) Co., Ltd Method, apparatus, device, system and storage medium for controlling smart home
CN110147047A (zh) * 2019-06-19 2019-08-20 深圳聚点互动科技有限公司 智能家居设备筛选方法、装置、计算机设备和存储介质
CN110597082A (zh) * 2019-10-23 2019-12-20 北京声智科技有限公司 智能家居设备控制方法、装置、计算机设备及存储介质
CN110687817A (zh) * 2019-11-05 2020-01-14 深圳市欧瑞博科技有限公司 智能家居的控制方法、装置、终端及计算机可读存储介质
CN113658590A (zh) * 2021-06-30 2021-11-16 深圳市艾特智能科技有限公司 智能家居设备的控制方法、装置、可读存储介质及终端

Also Published As

Publication number Publication date
CN117014245A (zh) 2023-11-07

Similar Documents

Publication Publication Date Title
CN108683574B (zh) 一种设备控制方法、服务器和智能家居系统
EP3640936B1 (en) Apparatus control device, method, and apparatus having same
US11809150B1 (en) Interoperability of secondary-device hubs
CN108986821B (zh) 一种设置房间与设备关系的方法和设备
CN110932953A (zh) 智能家居控制方法、装置、计算机设备及存储介质
US20230289198A1 (en) Configuring application scene
WO2022142623A1 (zh) 智能设备控制方法、装置、电子设备和计算机可读介质
CN109257503A (zh) 一种语音控制应用程序的方法、装置及终端设备
CN110647044A (zh) 一种家电设备控制方法、装置、电子设备及可读存储介质
WO2016184095A1 (zh) 操作事件的执行方法及装置、终端
CN115327932A (zh) 场景创建方法、装置、电子设备及存储介质
CN113615141A (zh) 账号关联方法、装置、系统、服务器以及存储介质
WO2020019623A1 (zh) 信息的发送方法及装置、家电设备、存储介质、电子装置
WO2024036694A1 (zh) 控制指令的发送方法、控制装置、存储介质及电子装置
CN109842515B (zh) 一种多设备配网的方法、服务器和计算机存储介质
CN112908326A (zh) 家居语音控制学习和应用方法及装置
CN112332997A (zh) 终端设备的配网方法、终端设备及计算机可读存储介质
CN115175152A (zh) 智能设备绑定方法和装置、存储介质及电子装置
CN112486031A (zh) 一种智能家居设备的控制方法、存储介质及智能终端
WO2023206701A1 (zh) 指令执行设备的选取方法和装置、存储介质及电子装置
WO2024021546A1 (zh) 行为偏好表的生成方法和装置、存储介质及电子装置
CN114911535B (zh) 应用程序组件配置方法、存储介质及电子装置
CN110909522A (zh) 一种数据处理方法、装置和电子设备及介质
CN110838973B (zh) 智能网关的按键配置方法、装置及电子设备
CN114189402A (zh) 网络切换方法、装置、设备及存储介质

Legal Events

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

Ref document number: 22939534

Country of ref document: EP

Kind code of ref document: A1