[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115032917A - Device control method, storage medium, and electronic apparatus - Google Patents

Device control method, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN115032917A
CN115032917A CN202210590987.1A CN202210590987A CN115032917A CN 115032917 A CN115032917 A CN 115032917A CN 202210590987 A CN202210590987 A CN 202210590987A CN 115032917 A CN115032917 A CN 115032917A
Authority
CN
China
Prior art keywords
target
control
instruction
condition
configuration
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210590987.1A
Other languages
Chinese (zh)
Inventor
李青青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210590987.1A priority Critical patent/CN115032917A/en
Publication of CN115032917A publication Critical patent/CN115032917A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • 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]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses an equipment control method, a storage medium and an electronic device, which relate to the technical field of smart home/smart home, and the equipment control method comprises the following steps: the method comprises the steps that a configuration page is displayed, wherein a plurality of configuration options are displayed on the configuration page, each configuration option corresponds to at least one of a control condition, a control instruction, equipment information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled equipment to execute the corresponding action, the equipment information is used for representing the state of the controlled equipment, and the reply information is used for the controlled equipment to respond to a request instruction of a target user; responding to a configuration adjustment request triggered by a target configuration option displayed on a configuration page, and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option; and configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction. By adopting the technical scheme, the technical problem of low efficiency due to the realization of the function adjustment of the equipment through the code is solved.

Description

Device control method, storage medium, and electronic apparatus
Technical Field
The present application relates to the field of communications, and in particular, to an apparatus control method, a storage medium, and an electronic device.
Background
Currently, it is often necessary to adjust one or more functions in a device after the device is produced. For example, after the air conditioner is produced, it is desirable to adjust the voice control function of the air conditioner.
In the related art, when adjusting the functions of the device, a developer typically adjusts the codes to adjust the functions of the device. And the function adjustment of the equipment is realized through the codes, so that the time consumption is long, and the efficiency is low.
Aiming at the technical problem that the efficiency is low because the function adjustment of the equipment is realized through codes in the related technology, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides an equipment control method, a storage medium and an electronic device, which are used for at least solving the technical problem of low efficiency due to the fact that equipment function adjustment is realized through codes in the related art.
According to an embodiment of the present invention, there is provided an apparatus control method including: displaying a configuration page, wherein a plurality of configuration options are displayed on the configuration page, each configuration option corresponds to at least one of a control condition, a control instruction, device information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled device to execute a corresponding action, the device information is used for representing the state of the controlled device, and the reply information is used for the controlled device to respond to a request instruction of a target user; responding to a configuration adjustment request triggered by a target configuration option displayed on the configuration page, and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option; and configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction.
In an exemplary embodiment, after configuring the target reply information of the target controlled device based on the target control condition and/or the target control instruction, the method includes: receiving a first control request instruction and a second control request instruction uploaded by the target controlled equipment; analyzing the first control request instruction, and determining a first target control condition and/or a first target control instruction corresponding to the first control request instruction; analyzing the second control request instruction, and determining a second target control condition and/or a second target control instruction corresponding to the second control request instruction; and issuing first target reply information to the target controlled device under the condition that the first target control condition and the second target control condition are mutually exclusive or the first target control instruction and the second target control instruction are mutually exclusive, wherein the first target reply information is used for indicating that the target controlled device fails to respond.
In an exemplary embodiment, after configuring the target reply information of the target controlled device based on the target control condition and/or the target control instruction, the method includes: receiving a third control request instruction uploaded by the target controlled equipment; analyzing the third control request instruction, and judging whether the third control request instruction corresponds to a third target control condition and/or a third target control instruction; and issuing second target reply information to the target controlled device under the condition that the third control request instruction does not have the corresponding third target control condition and/or third target control instruction, wherein the second target reply information is used for determining the third target control condition and/or the third target control instruction.
In an exemplary embodiment, after configuring the target reply information of the target controlled device based on the target control condition and/or the target control instruction, the method includes: receiving a fourth control request instruction uploaded by the target controlled equipment; analyzing the fourth control request command, and judging whether the fourth control request command is a state query command or not; and issuing third target reply information to the target controlled device under the condition that the fourth control request instruction is the state query instruction, wherein the third target reply information is used for indicating the state of the target controlled device.
In an exemplary embodiment, the adjusting the target control condition and/or the target control instruction corresponding to the target configuration option includes: selecting control conditions and/or control instructions from existing configuration options; and taking the selected control condition and/or control instruction as a target control condition and/or a target control instruction corresponding to the adjusted target configuration option.
In an exemplary embodiment, after the displaying the configuration page, the method further includes: one or more processors are newly added in the configuration page; and configuring parameters for the one or more processors, wherein the parameters include at least one of a processor name, the control condition, the control instruction, the device information, and the reply information.
In an exemplary embodiment, the adding one or more processors in the configuration page includes: under the condition that the calling mode of the processor belongs to asynchronous callback, configuring a second processor in the configuration page, wherein the asynchronous callback indicates that under the condition that a first controlled device corresponding to the first processor executes a first control instruction, a second controlled device corresponding to the second processor executes a second control instruction; and under the condition that the calling mode of the processor belongs to a non-asynchronous callback, configuring a plurality of third processors in the configuration page, wherein the non-asynchronous callback indicates that under the condition that a first controlled device corresponding to the first processor executes a first control instruction, a plurality of third controlled devices corresponding to the plurality of third processors execute a plurality of third control instructions, and the plurality of third control instructions are different control instructions.
According to another embodiment of the present invention, there is also provided an apparatus control device including: a display module, configured to display a configuration page, where the configuration page displays a plurality of configuration options, each configuration option corresponds to at least one of a control condition, a control instruction, device information, and reply information, the control condition is used to trigger the corresponding control instruction, the control instruction is used to control a controlled device to execute a corresponding action, the device information is used to indicate a state of the controlled device, and the reply information is used for the controlled device to respond to a request instruction of a target user; the adjusting module is used for responding to a configuration adjusting request triggered by a target configuration option displayed on the configuration page and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option; and the configuration module is used for configuring the target reply information of the target controlled equipment based on the target control condition and/or the target control instruction.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned apparatus control method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the apparatus control method through the computer program.
In the embodiment of the invention, a configuration page is displayed, wherein a plurality of configuration options are displayed on the configuration page, each configuration option corresponds to at least one of a control condition, a control instruction, device information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled device to execute the corresponding action, the device information is used for indicating the state of the controlled device, and the reply information is used for the controlled device to respond to a request instruction of a target user; responding to a configuration adjustment request triggered by a target configuration option displayed on a configuration page, and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option; and configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction. By adopting the technical scheme, the device function is adjusted in the configuration page, the time consumption is short, the efficiency is high, and the technical problem of low efficiency due to the fact that the device function is adjusted through codes is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of an application scenario of an alternative device control method according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative appliance control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative appliance control method according to an embodiment of the present invention;
fig. 4 is a block diagram of an alternative device control apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In an embodiment of the present invention, an embodiment of the above-described device control method is provided. As an alternative embodiment, the device control method may be applied, but not limited to, in an application environment as shown in fig. 1.
Optionally, in this embodiment, after the user issues a voice instruction, for example, "i want to take a bath," the configuration page performs semantic parsing on the voice instruction, performs instruction configuration according to a parsing result, sends the configured instruction to the controlled device, and the controlled device completes the relevant operation after receiving the instruction. For example, the controlled device is a water heater, and the water heater completes the operation of turning on the water heater and setting the temperature to 42 degrees after receiving the instruction.
The above controlled device may not be limited to a PC, a mobile phone, a tablet PC, an intelligent air conditioner, an intelligent cigarette machine, an intelligent refrigerator, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video and audio, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent floor sweeping robot, an intelligent window wiping robot, an intelligent floor mopping robot, an intelligent air purification device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen treasure, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, etc.
In the present embodiment, a device control method is provided, and fig. 2 is a flowchart of the device control method according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, a configuration page is displayed, wherein a plurality of configuration options are displayed on the configuration page, each configuration option corresponds to at least one of a control condition, a control instruction, equipment information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled equipment to execute the corresponding action, the equipment information is used for representing the state of the controlled equipment, and the reply information is used for the controlled equipment to respond to a request instruction of a target user;
step S204, responding to a configuration adjustment request triggered by a target configuration option displayed on a configuration page, and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option;
and step S206, configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction.
Optionally, in this embodiment, the configuration page may be, but is not limited to, a page for configuring and adjusting a control instruction of the controlled device. The configuration page may, but is not limited to, parse a voice command issued by a user by using a natural language processing manner, determine a control condition according to a parsing result, and determine a corresponding control command based on the control condition. For example, after the user sends a voice command of 'i want to take a bath', the control condition determined by the result obtained by natural language processing and parsing is 'i want to take a bath', and the control command corresponding to 'i want to take a bath' is 'turning on the water heater, setting the temperature to 42 degrees', and sending the control command to the water heater, so as to control the water heater to complete the related operation.
It should be noted that the user's demand for the controlled device may vary at different time periods, for example, the user may want the water heater temperature to be slightly higher, for example, 42 degrees, when taking a bath in winter, and slightly lower, for example, 40 degrees, when taking a bath in summer; accordingly, upon receiving a configuration adjustment request, corresponding adjustments may be made to the control conditions and/or control instructions.
Alternatively, in the present embodiment, in a case where, after a user issues a request instruction to the controlled device, the controlled device cannot determine what type of action is performed based on the request instruction, the controlled device may issue, but is not limited to issue, a reply message to the user to inform the user that the request instruction is not clear or to further ask the user for an explicit request instruction or the like.
According to the scheme provided by the embodiment of the application, a configuration page is displayed, wherein a plurality of configuration options are displayed on the configuration page, each configuration option corresponds to at least one of a control condition, a control instruction, equipment information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled equipment to execute the corresponding action, the equipment information is used for indicating the state of the controlled equipment, and the reply information is used for the controlled equipment to respond to a request instruction of a target user; responding to a configuration adjustment request triggered by a target configuration option displayed on a configuration page, and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option; and configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction. By adopting the technical scheme, the device function is adjusted in the configuration page, the time consumption is short, the efficiency is high, and the technical problem of low efficiency due to the fact that the device function is adjusted through codes is solved.
In one exemplary embodiment, after configuring the target reply information of the target controlled device based on the target control condition and/or the target control instruction, the method includes: receiving a first control request instruction and a second control request instruction uploaded by target controlled equipment; analyzing the first control request instruction, and determining a first target control condition and/or a first target control instruction corresponding to the first control request instruction; analyzing the second control request instruction, and determining a second target control condition and/or a second target control instruction corresponding to the second control request instruction; and under the condition that the first target control condition and the second target control condition are mutually exclusive or the first target control instruction and the second target control instruction are mutually exclusive, issuing first target reply information to the target controlled equipment, wherein the first target reply information is used for indicating that the target controlled equipment fails to respond.
For example, a reply message such as "power-on failed" may be configured when the controlled device executes a request command to two mutually exclusive times.
By the scheme provided by the embodiment of the application, under the condition that the target controlled device receives two mutually exclusive request instructions, the first target reply information of the target controlled device is configured. The user experience is improved.
In one exemplary embodiment, after configuring the target reply information of the target controlled device based on the target control condition and/or the target control instruction, the method includes: receiving a third control request instruction uploaded by the target controlled equipment; analyzing the third control request instruction, and judging whether the third control request instruction corresponds to a third target control condition and/or a third target control instruction; and under the condition that the third control request instruction does not have a corresponding third target control condition and/or a corresponding third target control instruction, issuing second target reply information to the target controlled equipment, wherein the second target reply information is used for determining the third target control condition and/or the third target control instruction.
For example, a plurality of dialog turns may be configured to reply "how much the temperature is set" when the user says to turn on the air conditioner.
By the scheme provided by the embodiment of the application, under the condition that the target controlled device receives the third control request instruction, second target reply information of the target processor is configured. The user experience is improved.
In one exemplary embodiment, after configuring the target reply information of the target controlled device based on the target control condition and/or the target control instruction, the method includes: receiving a fourth control request instruction uploaded by the target controlled equipment; analyzing the fourth control request instruction, and judging whether the fourth control request instruction is a state query instruction or not; and under the condition that the fourth control request instruction is a state query instruction, issuing third target reply information to the target controlled equipment, wherein the third target reply information is used for indicating the state of the target controlled equipment.
For example, application type, attribute name, reply information, such as: the application type of the air conditioner is 'air conditioner', the attribute name is 'fresh air open', and the information is replied: "good, turn on the fresh air mode for you".
By the scheme provided by the embodiment of the application, under the condition that the target controlled device receives the fourth control request instruction, the third target reply information of the target processor is configured. The user experience is improved.
In an exemplary embodiment, adjusting the target control condition and/or the target control instruction corresponding to the target configuration option includes: adjusting the target control condition to obtain an adjusted target control condition; after the target control condition and/or the target control instruction corresponding to the target configuration option are adjusted, the method comprises the following steps: and under the condition that the first control request matched with the adjusted target control condition is obtained, obtaining a target control instruction, and controlling the controlled equipment to execute a first action through the target control instruction.
Optionally, in this embodiment, the control condition may be adjusted according to the actual requirement of the user, for example, the user is used to say "i want to take a bath", but is not used to say "i want to take a bath", and at this time, the control condition "i want to take a bath" may be adjusted to "i want to take a bath". And after a request of ' I want to take a bath ' sent by a user is obtained, a control instruction of ' turning on the water heater and setting the temperature to be 42 ℃ is sent to the water heater, and then the water heater is controlled to finish related operations.
According to the scheme provided by the embodiment of the application, the flexibility of equipment control is improved by adjusting the control conditions.
In an exemplary embodiment, adjusting the target control condition and/or the target control instruction corresponding to the target configuration option includes: adjusting the target control instruction to obtain an adjusted target control instruction; after the target control condition and/or the target control instruction corresponding to the target configuration option are adjusted, the method comprises the following steps: and under the condition that a second control request matched with the target control condition is acquired, acquiring an adjusted target control instruction, and controlling the controlled equipment to execute a second action through the adjusted target control instruction.
Optionally, in this embodiment, the control command may be adjusted according to the actual needs of the user, for example, when the user takes a bath in winter, the temperature of the water heater is expected to be slightly increased, for example, 42 degrees, and when the user takes a bath in summer, the temperature of the water heater is expected to be slightly decreased, for example, 40 degrees; thus, the control commands may be adjusted accordingly at different time periods.
According to the scheme provided by the embodiment of the application, the flexibility of equipment control is improved by adjusting the control instruction.
In an exemplary embodiment, adjusting the target control condition and/or the target control instruction corresponding to the target configuration option includes: adjusting the target control condition and the target control instruction to obtain an adjusted target control condition and an adjusted target control instruction; after the target control condition and/or the target control instruction corresponding to the target configuration option are adjusted, the method comprises the following steps: and under the condition that a third control request matched with the adjusted target control condition is acquired, acquiring an adjusted target control instruction, and controlling the controlled equipment to execute a third action through the adjusted target control instruction.
Optionally, in this embodiment, the control conditions and the control commands may be adjusted simultaneously according to the actual needs of the user, and adjusting the control conditions and the control commands may include, but is not limited to, adding new control conditions and control commands, modifying the control conditions and the control commands, and deleting the control conditions and the control commands.
According to the scheme provided by the embodiment of the application, the flexibility of equipment control is improved by adjusting the control conditions and the control instructions.
In an exemplary embodiment, adjusting the target control condition and/or the target control instruction corresponding to the target configuration option includes: selecting control conditions and/or control instructions from existing configuration options; and taking the selected control condition and/or control instruction as a target control condition and/or target control instruction corresponding to the adjusted target configuration option.
Optionally, in this embodiment, when the control condition and/or the control instruction are adjusted, the control condition and/or the control instruction may be selected from configuration options existing in the database. For example, a database stores a plurality of selectable configuration options, and control conditions and/or control commands can be adjusted by way of drop-down menu selection.
According to the scheme provided by the embodiment of the application, the control condition and/or the control instruction are adjusted in a mode of selecting from the existing configuration options, and the adjustment efficiency is improved.
In an exemplary embodiment, after displaying the configuration page, the method further includes: newly adding one or more processors in the configuration page; and configuring parameters for one or more processors, wherein the parameters comprise at least one of a processor name, the control condition, the control instruction, the equipment information and the reply information.
Optionally, in this embodiment, the controlled device may be controlled by adding a new processor in the configuration page and performing parameter configuration on the processor, and the configuration parameters may be adjusted according to a user requirement, for example, added, deleted, or adjusted.
According to the scheme provided by the embodiment of the application, the efficiency of adjusting the functions of the equipment is improved in a mode of configuring the processor in the configuration page.
In one exemplary embodiment, adding one or more processors in a configuration page includes: under the condition that the calling mode of the processor belongs to asynchronous callback, configuring a second processor in a configuration page, wherein the asynchronous callback indicates that under the condition that a first controlled device corresponding to the first processor executes a first control instruction, a second controlled device corresponding to the second processor executes a second control instruction; and under the condition that the calling mode of the processor belongs to a non-asynchronous callback, configuring a plurality of third processors in the configuration page, wherein the non-asynchronous callback indicates that under the condition that the first controlled device corresponding to the first processor executes the first control instruction, a plurality of third controlled devices corresponding to the plurality of third processors execute a plurality of third control instructions, and the plurality of third control instructions are different control instructions.
Optionally, in this embodiment, the operating mode of the processor may include, but is not limited to, asynchronous callback and non-asynchronous callback; the asynchronous callback means that after the current processor finishes processing a response instruction, the next processor is triggered to respond to other instructions; a non-asynchronous callback means that after a current processor has processed a response instruction, it triggers multiple processors to respond to multiple different instructions simultaneously. For example, in the asynchronous callback mode, after the user has taken a bath, the next processor may be triggered to execute a response instruction of "i want to listen to music"; under the non-asynchronous callback mode, after a user takes a bath, a plurality of processors can be triggered to simultaneously execute a plurality of different instructions such as 'i want to listen to music' and 'i want to blow an air conditioner'.
According to the scheme provided by the embodiment of the application, the flexibility of equipment control is improved by setting a plurality of working modes for the processor.
In order to better understand the process of the above-mentioned equipment control method, the following describes the above-mentioned equipment control method with reference to an alternative embodiment, but the invention is not limited to the technical solution of the embodiment of the present invention.
In the present embodiment, a schematic diagram of parameter configuration of a processor is provided, as shown in fig. 3.
1) Processor name
The processor name is entered and cannot be duplicated from the existing processor name.
2) Controlling conditions
Conditional options are added to the current processor. Firstly, selecting condition types, wherein parameter values comprise NLP, equipment attribute, equipment state, equipment warning, family, environment and execution result; if the 'device state' is selected, the operation expression is reconfigured, such as 'equal', 'intention' and '37 degrees', that is, the intention that the device state is configured to be equal to 37 degrees is represented.
3) Reply message
The contents of the voice reply when the current processor expects a controlled device condition to trigger are entered.
4) Built-in processing
The built-in process can select the device state and the device list, and can select whether the device to be processed is in the device list or not and the state of the device when the device process uses the processor.
5) Movement of
Different action types may be selected when the processor sets the action.
The device instructs: the application type, the instruction name and the instruction value, such as the application type "water heater", the instruction name "on/off state" and the instruction value "open", can be configured.
Mutually exclusive reply: reply messages may be configured when the device executes instructions to two mutually exclusive commands, such as "power-on failed".
Query pre-reply information: a number of dialog turns may be configured to reply "how much the temperature is set" when the user says to turn on the air conditioner.
And (3) state query: application type, attribute name, reply information, such as: the application type of the air conditioner is 'air conditioner', the attribute name is 'fresh air open', and the answer operation is as follows: "good, fresh air mode has been turned on for you".
Dotting data: the scene ID and the node ID can be configured, and when the scene and the node are triggered, cloud record logs are uploaded to collect data for analyzing the use condition of the scene and the node.
6) Asynchronous callback
Asynchronous callback is that the current device can reconfigure a processor, the configuration parameters and the configuration of the processor, and when the device completes a certain action, the configured command can be triggered.
7) Sub-processor
The sub-processors are a plurality of reconfigurable processors of the current equipment, the configuration parameters of each processor are the same as the configuration of the processor, and when the equipment completes certain action, the configured command can be triggered.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 4 is a block diagram of a configuration of an apparatus control device according to an embodiment of the present invention; as shown in fig. 4, includes:
the display module 401 is configured to display a configuration page, where the configuration page displays a plurality of configuration options, each configuration option corresponds to at least one of a control condition, a control instruction, device information, and reply information, the control condition is used to trigger the corresponding control instruction, the control instruction is used to control the controlled device to execute a corresponding action, the device information is used to indicate a state of the controlled device, and the reply information is used for the controlled device to respond to a request instruction of a target user;
an adjusting module 402, configured to respond to a configuration adjustment request triggered by a target configuration option displayed on a configuration page, and adjust a target control condition and/or a target control instruction corresponding to the target configuration option;
a configuration module 403, configured to configure target reply information controlled by a target based on a target control condition and/or a target control instruction.
According to the scheme provided by the embodiment of the application, a configuration page is displayed, wherein a plurality of configuration options are displayed on the configuration page, each configuration option corresponds to at least one of a control condition, a control instruction, equipment information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled equipment to execute the corresponding action, the equipment information is used for representing the state of the controlled equipment, and the reply information is used for the controlled equipment to respond to a request instruction of a target user; responding to a configuration adjustment request triggered by a target configuration option displayed on a configuration page, and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option; and configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction. By adopting the technical scheme, the device function is adjusted in the configuration page, the time consumption is short, the efficiency is high, and the technical problem of low efficiency due to the fact that the device function is adjusted through codes is solved.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in this embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, displaying a configuration page, wherein the configuration page is provided with a plurality of configuration options, each configuration option corresponds to at least one of a control condition, a control instruction, device information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled device to execute the corresponding action, the device information is used for representing the state of the controlled device, and the reply information is used for the controlled device to respond to the request instruction of the target user;
s2, responding to a configuration adjustment request triggered by the target configuration options displayed on the configuration page, and adjusting target control conditions and/or target control instructions corresponding to the target configuration options;
and S3, configuring target reply information of the target controlled device based on the target control condition and/or the target control instruction.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying a configuration page, wherein the configuration page is provided with a plurality of configuration options, each configuration option corresponds to at least one of a control condition, a control instruction, device information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled device to execute the corresponding action, the device information is used for representing the state of the controlled device, and the reply information is used for the controlled device to respond to the request instruction of the target user;
s2, responding to the configuration adjustment request triggered by the target configuration option displayed on the configuration page, and adjusting the target control condition and/or target control instruction corresponding to the target configuration option;
and S3, configuring the target reply information of the target controlled equipment based on the target control condition and/or the target control instruction.
Optionally, in this embodiment, the storage medium may include but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is only a preferred embodiment of the present application and it should be noted that, as will be apparent to those skilled in the art, numerous modifications and adaptations can be made without departing from the principles of the present application and such modifications and adaptations are intended to be considered within the scope of the present application.

Claims (10)

1. An apparatus control method characterized by comprising:
displaying a configuration page, wherein a plurality of configuration options are displayed on the configuration page, each configuration option corresponds to at least one of a control condition, a control instruction, device information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled device to execute a corresponding action, the device information is used for representing the state of the controlled device, and the reply information is used for the controlled device to respond to a request instruction of a target user;
responding to a configuration adjustment request triggered by a target configuration option displayed on the configuration page, and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option;
and configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction.
2. The method according to claim 1, wherein after configuring target reply information of a target controlled device based on the target control condition and/or target control instruction, the method comprises:
receiving a first control request instruction and a second control request instruction uploaded by the target controlled equipment;
analyzing the first control request instruction, and determining a first target control condition and/or a first target control instruction corresponding to the first control request instruction;
analyzing the second control request instruction, and determining a second target control condition and/or a second target control instruction corresponding to the second control request instruction;
and under the condition that the first target control condition and the second target control condition are mutually exclusive or the first target control instruction and the second target control instruction are mutually exclusive, issuing first target reply information to the target controlled equipment, wherein the first target reply information is used for indicating that the target controlled equipment fails to respond.
3. The method according to claim 1, wherein after configuring target reply information of a target controlled device based on the target control condition and/or target control instruction, the method comprises:
receiving a third control request instruction uploaded by the target controlled equipment;
analyzing the third control request instruction, and judging whether the third control request instruction corresponds to a third target control condition and/or a third target control instruction;
and issuing second target reply information to the target controlled device under the condition that the third control request instruction does not have the corresponding third target control condition and/or third target control instruction, wherein the second target reply information is used for determining the third target control condition and/or the third target control instruction.
4. The method according to claim 1, wherein after the configuring target reply information of the target controlled device based on the target control condition and/or the target control instruction, the method comprises:
receiving a fourth control request instruction uploaded by the target controlled equipment;
analyzing the fourth control request instruction, and judging whether the fourth control request instruction is a state query instruction or not;
and issuing third target reply information to the target controlled device under the condition that the fourth control request instruction is the state query instruction, wherein the third target reply information is used for representing the state of the target controlled device.
5. The method according to any one of claims 1 to 4, wherein the adjusting the target control condition and/or the target control instruction corresponding to the target configuration option comprises:
selecting control conditions and/or control instructions from existing configuration options;
and taking the selected control condition and/or control instruction as a target control condition and/or a target control instruction corresponding to the adjusted target configuration option.
6. The method of any of claims 1-4, further comprising, after the displaying a configuration page:
newly adding one or more processors in the configuration page;
configuring parameters of the one or more processors, wherein the parameters comprise at least one of a processor name, the control condition, the control instruction, the device information and the reply information.
7. The method of claim 6, wherein adding one or more processors to the configuration page comprises:
configuring a second processor in the configuration page under the condition that the calling mode of the processor belongs to an asynchronous callback, wherein the asynchronous callback indicates that a second controlled device corresponding to the second processor executes a second control instruction under the condition that a first controlled device corresponding to a first processor executes a first control instruction;
and under the condition that the calling mode of the processor belongs to a non-asynchronous callback, configuring a plurality of third processors in the configuration page, wherein the non-asynchronous callback indicates that under the condition that a first controlled device corresponding to the first processor executes a first control instruction, a plurality of third controlled devices corresponding to the plurality of third processors execute a plurality of third control instructions, and the plurality of third control instructions are different control instructions.
8. An apparatus control device, characterized by comprising:
the device comprises a display module, a configuration page and a display module, wherein the configuration page is provided with a plurality of configuration options, each configuration option corresponds to at least one of a control condition, a control instruction, device information and reply information, the control condition is used for triggering the corresponding control instruction, the control instruction is used for controlling the controlled device to execute the corresponding action, the device information is used for representing the state of the controlled device, and the reply information is used for the controlled device to respond to a request instruction of a target user;
the adjusting module is used for responding to a configuration adjusting request triggered by a target configuration option displayed on the configuration page and adjusting a target control condition and/or a target control instruction corresponding to the target configuration option;
and the configuration module is used for configuring target reply information of the target controlled equipment based on the target control condition and/or the target control instruction.
9. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202210590987.1A 2022-05-27 2022-05-27 Device control method, storage medium, and electronic apparatus Pending CN115032917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210590987.1A CN115032917A (en) 2022-05-27 2022-05-27 Device control method, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210590987.1A CN115032917A (en) 2022-05-27 2022-05-27 Device control method, storage medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN115032917A true CN115032917A (en) 2022-09-09

Family

ID=83121149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210590987.1A Pending CN115032917A (en) 2022-05-27 2022-05-27 Device control method, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN115032917A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309308A (en) * 2013-05-17 2013-09-18 华为技术有限公司 Equipment intelligent control method, device, system and plug-and-play equipment
US10098201B1 (en) * 2017-10-17 2018-10-09 Cooper Lighting, Llc Method and system for controlling functionality of lighting devices from a portable electronic device
CN109213035A (en) * 2018-08-27 2019-01-15 珠海格力电器股份有限公司 Instruction updating method and device and electronic equipment
CN109947003A (en) * 2019-03-29 2019-06-28 联想(北京)有限公司 A kind of control method and equipment
US20190252134A1 (en) * 2018-02-14 2019-08-15 Schweitzer Engineering Laboratories, Inc. Point on wave switching using slow speed processing
CN110850748A (en) * 2019-11-25 2020-02-28 北京师范大学珠海分校 Device management method, device, computer device and storage medium
CN112737901A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Operation configuration method and device in scene, storage medium and electronic device
CN113395193A (en) * 2021-05-27 2021-09-14 深圳Tcl新技术有限公司 Equipment control method and device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309308A (en) * 2013-05-17 2013-09-18 华为技术有限公司 Equipment intelligent control method, device, system and plug-and-play equipment
US10098201B1 (en) * 2017-10-17 2018-10-09 Cooper Lighting, Llc Method and system for controlling functionality of lighting devices from a portable electronic device
US20190252134A1 (en) * 2018-02-14 2019-08-15 Schweitzer Engineering Laboratories, Inc. Point on wave switching using slow speed processing
CN109213035A (en) * 2018-08-27 2019-01-15 珠海格力电器股份有限公司 Instruction updating method and device and electronic equipment
CN109947003A (en) * 2019-03-29 2019-06-28 联想(北京)有限公司 A kind of control method and equipment
CN110850748A (en) * 2019-11-25 2020-02-28 北京师范大学珠海分校 Device management method, device, computer device and storage medium
CN112737901A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Operation configuration method and device in scene, storage medium and electronic device
CN113395193A (en) * 2021-05-27 2021-09-14 深圳Tcl新技术有限公司 Equipment control method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN111487884A (en) Storage medium, and intelligent household scene generation device and method
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN116016002A (en) Intelligent household appliance network distribution method and device and electronic device
CN115327934A (en) Intelligent household scene recommendation method and system, storage medium and electronic device
CN115309062B (en) Control method and device of equipment, storage medium and electronic device
CN115032917A (en) Device control method, storage medium, and electronic apparatus
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN116540556A (en) Equipment control method and device based on user habit
CN112422383B (en) Method and device for sending prompt information, storage medium and electronic device
CN115631832A (en) Cooking plan determination method and device, storage medium and electronic device
CN115314332B (en) Equipment theme setting method and device, storage medium and electronic device
CN118963617A (en) Control method and device of target equipment, storage medium and computer program product
CN114839887B (en) Equipment attribute configuration method and device, storage medium and electronic device
CN115297103B (en) Method and device for acquiring logic constraint file, storage medium and electronic device
CN114815642B (en) Control method and device of intelligent equipment, storage medium and electronic device
CN114995726B (en) Method and device for determining interaction mode, storage medium and electronic device
CN109765794A (en) Electrical work method for inquiring status, electric appliance and medium
CN116301511A (en) Equipment interaction method and device, storage medium and electronic device
CN118519710A (en) Virtual interface generation method and device, storage medium and electronic device
CN116364079A (en) Equipment control method, device, storage medium and electronic device
CN115481179A (en) Asynchronous file export method, system, storage medium and electronic device
CN115616930A (en) Control instruction sending method and device, storage medium and electronic device
CN116483449A (en) Equipment awakening method and device, storage medium and electronic device
CN117376042A (en) Functional platform configuration method and device of intelligent equipment and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination