WO2020206693A1 - Smart home scheduling method, apparatus and system, server and storage medium - Google Patents

Smart home scheduling method, apparatus and system, server and storage medium Download PDF

Info

Publication number
WO2020206693A1
WO2020206693A1 PCT/CN2019/082514 CN2019082514W WO2020206693A1 WO 2020206693 A1 WO2020206693 A1 WO 2020206693A1 CN 2019082514 W CN2019082514 W CN 2019082514W WO 2020206693 A1 WO2020206693 A1 WO 2020206693A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
terminal
instruction
household device
manufacturer
Prior art date
Application number
PCT/CN2019/082514
Other languages
French (fr)
Chinese (zh)
Inventor
黄翔文
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to CN201980089697.5A priority Critical patent/CN113330724A/en
Priority to PCT/CN2019/082514 priority patent/WO2020206693A1/en
Publication of WO2020206693A1 publication Critical patent/WO2020206693A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • This application relates to the field of smart home technology, and more specifically, to a smart home scheduling method, device, system, server, and storage medium.
  • Smart homes connect various smart home devices (such as audio and video equipment, lighting systems, curtain control, air conditioning control, etc.) through the Internet of Things technology, and control various devices through mobile phones, computers and other terminals.
  • smart home manufacturers they usually develop their own applications to control the smart home devices belonging to that manufacturer.
  • smart home devices account for an increasing proportion of home devices, and more and more smart home devices are controlled.
  • the smart home devices used by a user may belong to different manufacturers, so it is necessary to use applications of different manufacturers to control various smart home devices, and the control operation is very cumbersome.
  • this application proposes a smart home scheduling method, device, system, server and storage medium to improve the above problems.
  • the embodiments of the present application provide a smart home scheduling method, which is applied to a terminal server.
  • Multiple vendor servers communicate with the terminal server according to the same communication protocol of the terminal server.
  • the respective communication protocols are communicatively connected with the household equipment, and the method includes: receiving a control instruction sent by the terminal; if the control instruction includes a first instruction, acquiring the target action in the first instruction and the household device used to execute the target action The device, as the first household device, sends a control request to the manufacturer server to which the first household device is communicatively connected to notify the manufacturer server to control the first household device to execute the target action; if the control instruction includes The second instruction is to obtain the execution condition in the second instruction and the household device corresponding to the execution condition, as the second household device, and send a subscription request to the manufacturer server to which the second household device is communicatively connected to notify the manufacturer server When the environmental information collected by the second household device meets the execution condition, feedback to the terminal server.
  • the embodiments of the present application provide a smart home scheduling method, which is applied to a smart home scheduling system.
  • the smart home scheduling system includes a terminal, a terminal server, and multiple manufacturer servers.
  • the terminal is connected to the terminal server network Connection, a plurality of manufacturer servers respectively communicate and connect with the terminal server according to the same communication protocol of the terminal server, and different manufacturer servers communicate and connect with the household equipment according to their respective communication protocols.
  • the method includes: the terminal server receives The control instruction sent by the terminal; if the control instruction includes the first instruction, the terminal server obtains the target action in the first instruction and the household device used to execute the target action, as the first household device, the terminal server Send a control request to the vendor server that is in communication with the first household device, and the vendor server that receives the control request controls the first household device to execute the target action; if the control instruction includes a second instruction, the The terminal server obtains the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device, the terminal server sends a subscription request to the manufacturer server to which the second household device is in communication, and receives the subscription request When the environmental information collected by the second household equipment meets the execution condition, the manufacturer server of the manufacturer feeds back to the terminal server.
  • the embodiments of the present application provide a smart home scheduling device, which is applied to a terminal server.
  • Multiple vendor servers communicate with the terminal server according to the same communication protocol of the terminal server.
  • the respective communication protocols are communicatively connected with the household equipment, and the device includes: an instruction receiving module for receiving a control instruction sent by the terminal; a first processing module for obtaining the first instruction if the control instruction includes a first instruction
  • the target action and the household device used to execute the target action in the first household device are used as the first household device, and the request sending module is used to send a control request to the manufacturer’s server to which the first household device is in communication, for notifying the manufacturer’s server to control
  • the first household device executes the target action;
  • a second processing module is configured to, if the control instruction includes a second instruction, obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the first 2.
  • Household equipment a subscription module, configured to send a subscription request to a vendor server that is communicatively
  • an embodiment of the present application provides a smart home scheduling system, including a terminal, a terminal server, and multiple manufacturer servers.
  • the terminal is connected to the terminal server in a network, and the multiple manufacturer servers are based on the terminal server.
  • the same communication protocol is respectively connected to the terminal server, and different manufacturer’s servers communicate with the household equipment according to their respective communication protocols, and each household equipment is connected to a manufacturer’s server, wherein the terminal server is used to receive the terminal Control instruction; if the control instruction includes the first instruction, the terminal server is used to obtain the target action in the first instruction and the household device used to execute the target action, as the first household device, the terminal server uses Sending a control request to the vendor server that is in communication with the first household device, and the vendor server that receives the control request is used to control the first household device to execute the target action; if the control instruction includes a second instruction The terminal server is used to obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device, and the terminal server is used to
  • an embodiment of the present application provides a server, including: one or more processors; a memory; and one or more programs.
  • the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the aforementioned method.
  • an embodiment of the present application provides a computer-readable storage medium in which program code is stored, and the program code can be invoked by a processor to execute the above-mentioned method.
  • the smart home scheduling method, device, system, server, and storage medium provided by the embodiments of the application connect the manufacturer's server and the terminal server in communication, and the terminal server receives the control instructions of the terminal, and the terminal passes through the client that can interact with the terminal server. It realizes the control of various smart home equipment without having to interact with the servers of various manufacturers through various applications, which reduces the cumbersomeness of terminal operations.
  • Fig. 1 shows an interaction diagram of a smart home dispatching system provided by an embodiment of the present application.
  • Fig. 2 shows a flowchart of a smart home scheduling method provided by an embodiment of the present application.
  • Fig. 3 shows a flowchart of some steps of a smart home scheduling method provided by another embodiment of the present application.
  • Fig. 4 shows a flowchart of some steps of a smart home scheduling method provided by another embodiment of the present application.
  • Fig. 5 shows a flowchart of a smart home scheduling method provided by still another embodiment of the present application.
  • Fig. 6 shows a flowchart of a smart home scheduling method provided by still another embodiment of the present application.
  • Fig. 7 shows a functional module diagram of a smart home dispatching device provided by an embodiment of the present application.
  • Fig. 8 shows a structural block diagram of a server provided by an embodiment of the present application.
  • Fig. 9 is a storage unit for storing or carrying program code for implementing the smart home scheduling method according to the embodiment of the present application.
  • Smart home equipment can be controlled by various smart terminal devices such as mobile phones, computers, and tablets. Under the control of smart terminals, they can change their working status, feed back their own status, and collect various environmental information.
  • smart terminal devices can wirelessly control the on or off of lighting equipment, control the on/off of audio and video equipment, volume and other parameters, control the on/off of air conditioners, temperature settings, etc., and obtain the ambient temperature collected by the temperature sensor and the humidity sensor collected Environmental humidity and environmental information collected by various other sensors.
  • the control of smart home devices and the acquisition of data from smart home devices need to be implemented through servers connected to the network of each smart home device. In other words, each smart home device has its network connected server, and the smart home device is controlled through the network connected server of each smart home device.
  • the servers that interact with them are the manufacturer servers of their manufacturers, and the servers of different manufacturers communicate with the home devices according to their respective communication protocols.
  • the vendor server of each vendor and the smart home equipment produced by the vendor conduct data interaction through the communication protocol formulated by the vendor.
  • the manufacturer's server of its manufacturer has the authority to control it and obtain data from the smart home device.
  • a user has smart home devices a1, a2, a3, b1, c1, where a1, a2, a3 are the products of manufacturer A, b1 is the product of manufacturer B, and c1 is the product of manufacturer C, and you need to pass the For data interaction between the manufacturer’s server and a1, a2, and a3, data interaction with b1 is required through the manufacturer server of manufacturer B, and data interaction with c1 is required through the manufacturer server of manufacturer C.
  • one way can be that the user downloads the clients corresponding to various manufacturers in his smart terminal, and interacts with the server of the manufacturer through the client of the manufacturer, thus Home equipment is controlled.
  • the user downloads the client of manufacturer A in the smart terminal for interactive control of a1, a2, and a3 with the manufacturer's server of manufacturer A; downloads the client of manufacturer B for interactive control of b1 with the manufacturer's server of manufacturer B; and Download the client of manufacturer C to interact with the server of manufacturer C to control c1.
  • SDK software development kit
  • the first one needs to download various clients.
  • the user needs to know which manufacturer each household device belongs to, and which one is the client of each manufacturer, and then find it from the various clients downloaded by the smart terminal
  • the client of the corresponding manufacturer controls the smart home equipment, and the operation is cumbersome, which increases the difficulty of the user's operation, and increases the storage pressure and data processing pressure of the smart terminal.
  • the second control method every time a client adds supportable vendors, the client needs to be upgraded, and it will gradually increase the pressure on the client to use memory and storage space.
  • the smart terminal interacts with a terminal server, that is, the control instructions for each smart home device are sent to the smart terminal for interaction.
  • Terminal server The terminal server then communicates with each manufacturer's server, and finds the corresponding manufacturer's server to interact according to the control instructions.
  • the corresponding manufacturer's server controls the smart home equipment, reducing the difficulty of terminal operation, and does not require the client to increase the pressure and development difficulty of the client .
  • FIG. 1 shows a smart home dispatching system 100 provided by an embodiment of the present application.
  • the smart home dispatching system includes a terminal 101, a terminal server 102, and multiple manufacturer servers 103.
  • Figure 1 shows three vendor servers. It is understandable that in the smart home scheduling system, the vendor servers are servers of various vendors, and the number is not limited, and it is set according to actual control requirements.
  • the terminal is the aforementioned smart terminal, which can be a mobile phone, a computer, a tablet computer, a desktop computer, and other terminals that can install a client and perform control operations of smart home devices.
  • the terminal is connected to the terminal server network.
  • the communication protocol between the terminal and the terminal server can be a protocol supported by the terminal server and used to communicate with the terminal. It is a rule for interaction between the terminal and the terminal server and is used for communication between the terminal and the server. Data and action interaction meet the basic data functions of the terminal.
  • each manufacturer's server respectively communicates with the terminal server according to the same communication protocol of the terminal server. That is to say, each vendor server and terminal server follow the same communication protocol and interact through the same interaction rules.
  • the communication protocol between the manufacturer’s server and the terminal server is a set of cloud interaction communication protocols designated on the terminal server side. All equipment manufacturers accessing the terminal server must follow the rules of the communication protocol, otherwise the terminal server cannot be Access.
  • the protocol is consistent and unified, and will not be modified due to different manufacturers. It is as common as possible, so that the terminal server can freely expand the support of subsequent manufacturers.
  • the access communication protocol is certain, the access process is simple and convenient, and the terminal server is also easier to operate when interacting with the servers of various manufacturers.
  • the smart home dispatching system also includes smart home devices 104.
  • Servers of different manufacturers are then connected to the smart home devices 104 of the manufacturer, wherein the servers of different manufacturers communicate with the home devices according to their respective communication protocols. Since a household device belongs to a manufacturer, each household device is connected to a manufacturer's server; and a manufacturer may produce different household devices, therefore, a manufacturer's server can be connected to multiple different household devices. Among them, the household equipment is the aforementioned smart household equipment.
  • the terminal server is used to receive the control instruction sent by the terminal; if the control instruction includes the first instruction, the terminal server is used to obtain the target action in the first instruction and The household device that performs the target action is used as the first household device, and the terminal server is used to send a control request to the manufacturer server to which the first household device is communicatively connected, and the manufacturer server that receives the control request is used to control the first household device.
  • a household device executes the target action; if the control instruction includes a second instruction, the terminal server is used to obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device, The terminal server is configured to send a subscription request to the vendor server that is in communication with the second household device, and the vendor server that receives the subscription request is configured to, when the environmental information collected by the second household device meets the execution condition, Feedback to the terminal server.
  • the terminal can install a client that controls smart home devices.
  • the user can initiate control commands for the home devices on the client terminal of the terminal, and the terminal sends the control commands to the terminal server, and then
  • the terminal server parses the control instructions, determines the manufacturer of the household equipment that needs to be controlled, determines the manufacturer's server connected to the household equipment that needs to be controlled, and initiates a data request to the manufacturer's server connected to the household equipment that needs to be controlled.
  • Home equipment exchanges data.
  • Figure 2 shows a smart home scheduling method provided by an embodiment of the present application, which can be applied to a server. Specifically, the method includes:
  • Step S110 Receive the control instruction sent by the terminal. If the control instruction includes the first instruction, step S120 is executed; if the control instruction includes the second instruction, step S140 is executed.
  • the terminal When a user needs to control a smart home device, he can initiate a control command through the terminal, and the terminal sends the control command to the terminal server.
  • the editing and sending of the control instruction can be performed by a client installed in the terminal, and the client is a client that interacts between the terminal and the terminal server.
  • the control instruction may be the first instruction or the second instruction, or include the first instruction and the second instruction.
  • the first instruction is an instruction that does not need to be executed according to environmental conditions, that is, the execution of the instruction is not affected by environmental conditions, and there is no need to determine whether the instruction is executed according to the environmental conditions fed back by the smart home device, such as "turn on the air conditioner", “ Turn on the corridor lights” and so on.
  • the second instruction is an instruction that is executed according to environmental conditions, that is, the second instruction includes the execution condition of the action execution, that is, the corresponding action in the second instruction is executed when the execution condition is satisfied.
  • the execution condition is that the environmental conditions meet the corresponding standards, which need to be determined according to the environmental conditions fed back by the corresponding smart home equipment. For example, "turn on the air conditioner when the room temperature reaches 27 degrees" is the second command, and the room temperature reaches 27 degrees is the execution condition of turning on the air conditioner. It needs to be executed when the temperature sensor in the room detects that the ambient temperature is greater than or equal to 27 degrees.
  • the action of turning on the air conditioner for another example, “turn on the corridor lighting when the corridor sound reaches 50 decibels” is the second command, and the corridor sound reaches 50 decibels as the execution condition for turning on the corridor lighting.
  • the sound sensor in the corridor needs to detect the corridor sound When it is higher than or equal to 50 decibels, the corridor lighting is turned on.
  • Step S120 Obtain the target action in the first instruction and the household device used to execute the target action as the first household device.
  • control instruction includes the first instruction
  • the household device performing the target action is the first household device.
  • the target action is the action that needs to be performed by the first household device in the first instruction, such as the instruction "turn on the air conditioner", the target action is to turn on, and the first household device that performs the target action is the air conditioner.
  • the number of household devices and the actions to be performed are not limited.
  • the first instruction may include multiple household devices, and each household device serves as the first household device.
  • Each first household device has a corresponding target action. For example, if the first instruction is "Turn on the air conditioner and turn on the corridor lights", the first household device is the air conditioner and the corridor lights respectively.
  • the target action of the air conditioner is to turn on, and the target action of the corridor lights The action is also open.
  • Step S130 Send a control request to the manufacturer server to which the first household device is communicatively connected, for informing the manufacturer server to control the first household device to execute the target action.
  • the manufacturer server to which the first household device is in communication is determined, so as to request the manufacturer server to control the first household device to execute a corresponding target action.
  • the air conditioner belongs to manufacturer A and communicates with the manufacturer server of manufacturer A, and then sends a control request for turning on the air conditioner to manufacturer server A of manufacturer A, so that the control request is received
  • the manufacturer's server A controls the air conditioner to turn on.
  • the first instruction includes multiple first household devices, it is necessary to respectively determine the manufacturer server to which each first household device is connected, and send a control request to the corresponding manufacturer server.
  • the first instruction is "turn on the air conditioner and turn on the corridor lights", the air conditioner belongs to manufacturer A and communicates with the manufacturer's server A; the corridor lights belong to the manufacturer B and communicate with the manufacturer's server B. Then send a control request to turn on the air conditioner to the manufacturer server A, so that the manufacturer server A that receives the control request turns on the air conditioner; send a control request to turn on the corridor lights to the manufacturer server B, so that the manufacturer server B controls the corridor lights to turn on .
  • the manufacturer server to which the first household device is in communication connection may also feed back the control result to the terminal server, so that the terminal server can learn the control status.
  • the terminal server may also feed back the control result to the terminal, so that the user can learn the control status through the terminal.
  • Step S140 Obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device.
  • Step S150 Send a subscription request to the vendor server to which the second household device is in communication, for notifying the vendor server to feed back to the terminal server when the environmental information collected by the second household device meets the execution condition .
  • the terminal server may parse the second instruction, obtain the execution condition therein and the household device corresponding to the execution condition, and define the household device corresponding to the execution condition as the second household device.
  • the household equipment corresponding to the execution condition is the household equipment that monitors the environmental conditions to which the execution condition belongs.
  • a subscription request may be sent to the vendor server connected to the second household device.
  • the subscription request indicates that when the environmental information collected by the second household device meets the execution conditions, it is fed back to the terminal server so that the terminal server can know that the execution The conditions are met.
  • the environmental information collected by the second household device indicates the environmental conditions of the environment where the second household device is located.
  • the control instruction sent by the terminal is received by the terminal server.
  • the terminal server sends a control request or a subscription request to the corresponding manufacturer’s server according to the control instruction, and obtains data or controls the household equipment through interaction with the manufacturer’s server, so that the terminal side does not have to directly connect with each manufacturer’s server, reducing the terminal side The difficulty of operation to reduce the storage pressure on the terminal side.
  • the servers of various manufacturers are connected to the terminal server with the same communication protocol, the operation difficulty for the terminal server to access the server of the new manufacturer can be reduced.
  • the embodiment of the present application may also include the terminal server receiving feedback when the execution condition is satisfied.
  • the embodiment of the present application may further include:
  • Step S160 Receive the execution condition satisfaction information returned by the manufacturer's server to which the second household device is communicatively connected.
  • the manufacturer's server to which the second household device is communicatively connected can obtain the environmental information detected by the second household device.
  • the manufacturer server to which the second household device is communicatively connected may periodically obtain the detected environmental information from the second household device, or may notify the second household device to periodically feed back the detected environmental information to the manufacturer's server.
  • the execution condition satisfaction information is returned to the terminal server so that the terminal server can determine the execution condition in the second instruction Satisfy.
  • the execution condition satisfaction information may be information notifying the terminal server that the execution condition in the second instruction is satisfied, or it may be sending environmental information satisfying the execution condition to the terminal server, so that the terminal server can determine the second The execution condition of the instruction terminal is satisfied.
  • Step S170 According to the second instruction, search for a specified action that needs to be executed when the execution condition is met and a third household device corresponding to the specified action.
  • the second instruction also includes the action that needs to be executed when the execution condition is met and the household equipment that executes the action. Define the action that needs to be executed when the execution condition is met as the specified action, and define the household device that executes the specified action as the third device.
  • the execution condition satisfaction information returned by the manufacturer's server connected to the second home appliance, it indicates that the specified action in the second instruction needs to be executed, and the specified action can be found in the second instruction and the execution of the specified action The third home appliance.
  • Step S180 Send a control request to the found vendor server to which the third household device is in communication, for notifying the vendor server to control the third household device to perform the specified action.
  • the specified action needs to be executed by the third household device, and the control of the third household device needs to be implemented by the vendor server to which the third household device is communicatively connected, then the terminal server can send a control request to the third household device's communicatively connected vendor server, The control request is used to notify the vendor server of the third household device communication connection to control the third household device to perform the specified action, so as to realize the requirement of controlling the third household device to perform the specified action in the second instruction when the execution condition is met.
  • An actual instruction is used as the second instruction for description. If the received second instruction is "turn on the air conditioner when the room temperature reaches 27 degrees", it can be learned from the second instruction that the execution condition is "the room temperature reaches 27 degrees", and its environmental condition is the room temperature, and the corresponding home
  • the device is a temperature sensor that monitors the room temperature. If the temperature sensor is connected to vendor server B, a subscription request is sent to vendor server B. The vendor server B that receives the subscription request obtains the temperature detected by the temperature sensor, and when the temperature detected by the temperature sensor reaches 27 degrees, it feeds back to the terminal server so that the terminal server knows that the room temperature reaches 27 degrees at this time.
  • the terminal server determines that the room temperature reaches 27 degrees, it can find from the second instruction that the specified action to be performed is "on", and the third household device that performs the specified action is "air conditioner". If the manufacturer server connected to the air conditioner is the manufacturer server A of the manufacturer A, the terminal server sends a control request to the manufacturer server A to notify the manufacturer server A to turn on the air conditioner. Thereby, the second instruction of turning on the air conditioner when the room temperature reaches 27 degrees is realized.
  • the execution conditions and the number of corresponding second household devices are not limited.
  • the second instruction can also be, "Turn on the air conditioner when the room temperature reaches 27 degrees, and turn on the corridor lighting when the corridor sound reaches 50 decibels", the execution conditions include that the room temperature reaches 27 degrees, and the corresponding second home device is the right room A temperature sensor for temperature monitoring; it also includes a corridor sound up to 50 decibels, and the corresponding second home device is a sound sensor that monitors the corridor sound.
  • the terminal server sends a subscription request, it sends a subscription request to the vendor server B connected to the temperature sensor for room temperature monitoring, and informs the vendor server B that when the temperature detected by the temperature sensor for room temperature monitoring reaches 27 degrees, it sends a feedback to the terminal server ; Send a subscription request to the vendor server A connected to the sound sensor that monitors the sound in the corridor, and notify the vendor server A to feedback to the terminal server when the sound sensor detects a sound greater than or equal to 50 decibels.
  • the terminal server When the terminal server receives the information that the execution condition satisfies the room temperature of 27 degrees fed back by the manufacturer server B, it sends a control request to turn on the air conditioner to the manufacturer server A, so that the manufacturer server A turns on the air conditioner.
  • the terminal server receives the information that the execution condition satisfies the corridor sound feedback from the manufacturer server A to reach 50 decibels, it sends a control request to turn on the corridor lights to the manufacturer server B, so that the manufacturer server B controls the corridor lights to turn on.
  • the vendor server to which the third household device is communicatively connected may also feed back the control result to the terminal server, so that the terminal server can learn the control status.
  • the terminal server may also feed back the control result to the terminal, so that the user can learn the control status through the terminal.
  • the detection of the environmental information corresponding to the execution condition in the second instruction and the execution of the specified action can be performed by household equipment of different manufacturers.
  • the execution condition can be obtained from one manufacturer's server.
  • the server of another manufacturer is notified to control the corresponding home equipment to perform the specified action, so that the control scenarios that can be implemented in the smart home system are various and are not restricted by the manufacturer.
  • the terminal server can subscribe to the feedback information of the execution condition from the manufacturer's server.
  • the terminal server can obtain the execution condition according to the subscription from the manufacturer's server Meet the information.
  • the terminal server can send a control request to the vendor server to which the third household device is connected, so that the vendor server that receives the control request can control the third household device to complete the specified action and realize the second Execution of instructions.
  • step S180 when the execution condition in the second instruction is satisfied, the instruction action in the second instruction is executed, and when the execution condition in the second instruction is not satisfied, the first instruction can be cancelled.
  • the specified action in the second instruction Specifically, as shown in FIG. 4, in this embodiment of the present application, after step S180, it may further include:
  • Step S191 Receive feedback information that does not satisfy the execution condition returned by the manufacturer's server to which the second household device is communicatively connected.
  • Step S192 Send a control request to the vendor server to which the third household device is communicatively connected to notify the vendor server to control the third household device to cancel the execution of the specified action.
  • the manufacturer’s server to which the second household device is in communication continues to obtain the detected environmental information from the second household device.
  • the environmental information obtained from the second household device no longer satisfies the execution conditions, it can feed back to the terminal server to make the terminal server perform Specifies the operation to cancel the action.
  • the terminal server may receive the feedback information that does not meet the execution condition returned by the manufacturer's server to which the second household device is in communication, and upon receiving the feedback information, determine the specified action that needs to be executed when the execution condition is satisfied and the third corresponding to the specified action. Home equipment.
  • the terminal server sends a control request for canceling the execution of the specified action to the third household device, and the vendor server that receives the control request controls the third household device to cancel the execution of the specified action.
  • the cancellation of the specified action may be to return the third household device to the state before the specified action is performed, or to change the third household device to the state opposite to the specified action.
  • the second command is "Turn on the air conditioner when the room temperature reaches 27 degrees.”
  • the manufacturer server B connected to the temperature sensor that detects the room temperature can feedback the room temperature to the terminal server
  • the terminal server sends a control request to cancel the opening of the air conditioner to the manufacturer server A, and the manufacturer server controls the air conditioner to be turned off.
  • the execution condition in the second instruction when the execution condition in the second instruction is not satisfied, the execution of the specified action in the second instruction can be cancelled, so that the control of the smart home dispatching system is more abundant.
  • This application also provides an embodiment, in which the query process of the vendor server may be included. Specifically, please refer to Figure 5.
  • the method includes:
  • Step S210 Receive the device identification query request sent by the terminal.
  • Step S220 Return the corresponding relationship between the device name and the device identifier to the terminal, so that the terminal searches for the device identifier corresponding to the received device name according to the corresponding relationship.
  • Step S230 Receive the control instruction sent by the terminal. If the control instruction includes the first instruction, step S240 is executed; if the control instruction includes the second instruction, step S260 is executed.
  • the terminal can receive the user's control operation, and send a control instruction to the terminal server according to the control operation.
  • the control operation may be a command input by the user's voice, to parse the voice input by the user, and obtain a control instruction that needs to be sent to the terminal server; the control operation may also be a user input or selection on the operation interface of the terminal to the household equipment control.
  • the control operation received by the terminal includes the name of the household device that needs to be controlled.
  • the household device list can be pulled from the terminal server to find the device identification of each household device.
  • a device identification query request may be initiated to the terminal server, and the terminal server that receives the query request sends the corresponding relationship between the device name and the device identification to the terminal.
  • the terminal searches for the device identifier corresponding to the device name input by the user according to the corresponding relationship. Therefore, when the terminal sends a control instruction to the terminal server, the household equipment in the control instruction can be indicated by the device identifier.
  • the action to be executed can also be indicated by the corresponding action code.
  • the terminal may initiate an action code query request to the terminal server.
  • the terminal server may receive the action code query request sent by the terminal, and return the corresponding relationship between the action name and the action code to the terminal. Then, at the terminal that receives the corresponding relationship, the action name in the user's control operation can be replaced with the corresponding action code, and the control instruction is sent according to the action code.
  • the corresponding relationship between the server device name and the device identifier is used to find the device identifier of the air conditioner from the corresponding relationship. If in the correspondence between the device name and the device identifier, the device identifier corresponding to the air conditioner is "ac", the device identifier of the air conditioner in “Turn on the air conditioner” can be obtained as “ac”.
  • the corresponding relationship between the action name and the action code is obtained from the server. For example, the obtained action code of "open” is "power: true”. Then the terminal can call the device control interface of the terminal server, and send the control instruction of executing "power: true” on “ac” to the terminal server.
  • Step S240 Obtain the target action in the first instruction and the household device used to execute the target action as the first household device.
  • control instruction includes the first instruction, directly obtain the action to be executed and the household device that executes the action, so as to control the household device to execute the action through the corresponding vendor server.
  • the user can pre-set the control of the household equipment through the terminal. Therefore, the first instruction may include an execution time requirement, and the execution time requirement indicates the execution time of the first instruction. For example, if the first instruction is "turn on the air conditioner tomorrow when the room temperature is higher than 27 degrees", the execution time requirement is the day after the day when the first instruction is received.
  • this step may further include: determining the execution time requirement of the first instruction. If there is no clear execution time requirement in the first instruction, it can be considered that the execution time requirement of the first instruction is current; if there is a clear execution time requirement in the first instruction, the execution time requirement is taken as the execution time of the first instruction.
  • the terminal server determines whether the current time meets the execution time requirement. For example, if the execution time requirement of the first instruction is current, then the current time meets the execution time requirement. If the execution time requirement of the first instruction is tomorrow, the current time does not meet the execution time requirement. time requirement.
  • the first instruction can be executed. Specifically, the step of acquiring the target action in the first instruction and the household equipment used to execute the target action can be executed and thereafter A step of.
  • the current time does not meet the execution time requirement, wait until the execution time requirement is met, and then execute the step of acquiring the target action in the first instruction and the household equipment used to execute the target action and thereafter A step of. For example, if the execution time requirement is "tomorrow" when the first instruction is received, then wait until the next day to execute the step of acquiring the target action in the first instruction and the household equipment used to execute the target action and the subsequent steps .
  • Step S250 Send a control request to the manufacturer server to which the first household device is communicatively connected, for notifying the manufacturer server to control the first household device to execute the target action.
  • the terminal server first sends a control request to the manufacturer server to which the first household device is in communication.
  • the manufacturer server For the specific execution process of this step, please refer to the aforementioned corresponding steps, which will not be repeated here.
  • the first instruction includes the device identifier of the first household device
  • the terminal server may obtain the device identifier of the first household device from the first instruction.
  • the corresponding relationship between the device identifier and the vendor server is stored in the terminal server, so that the terminal server can find the vendor identifier corresponding to the device identifier of the first household device according to the corresponding relationship between the device identifier and the vendor identifier, Send a control request to the vendor server corresponding to the vendor identifier.
  • the terminal server sending a control request to the manufacturer’s server may be based on the communication protocol between the manufacturer’s server and the terminal server, converting the instruction in the first instruction that controls the first household device to execute the target action into the manufacturer’s server.
  • the instructions for identification and use are sent to the manufacturer's server.
  • the target action may be state control of the household device, such as adjusting the state of the first household device to a specified state.
  • the aforementioned controlling the air conditioner to turn on means adjusting the state of the air conditioner to the on state.
  • the status of the household device can be inquired, and the target action is to feed back the current status of the first household device.
  • the manufacturer server controls the first household device to perform the target action
  • the first household device feeds back its current state to the manufacturer server, and the manufacturer server sends the current state of the first household device to the terminal server.
  • the terminal server may receive the current state of the first household device returned by the manufacturer's server.
  • the terminal server continues to send the current status of the first household device to the terminal, so as to enable the user to query the status of the household device through the terminal.
  • the first command is to query the on/off status of the air conditioner
  • the target action is that the air conditioner reports its current "on” or “off” state
  • the manufacturer server connected to the air conditioner sends the on/off status of the air conditioner to the terminal server .
  • Step S260 Obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device.
  • Step S270 Send a subscription request to the vendor server to which the second household device is communicatively connected, for notifying the vendor server to feed back to the terminal server when the environmental information collected by the second household device meets the execution condition .
  • the second instruction may also have a corresponding execution time requirement, that is, the time for executing the second instruction. Therefore, before step S270, the execution time requirement of the second instruction may be determined first.
  • the execution time requirement can be carried when sending the subscription request in step S270, so that the vendor server that receives the subscription request can determine the information feedback time.
  • the terminal server may send a subscription request carrying the execution time requirement to the manufacturer server of the second home appliance communication connection, for notifying the manufacturer’s server that when the execution time requirement is met, when the second home appliance When the environmental information collected by the household equipment meets the execution condition, it is fed back to the terminal server.
  • the second instruction is, "From 7 pm to 7 am, if the corridor sound reaches 50 decibels, turn on the corridor lights.” It can be determined that in the second instruction, the execution time requirement is "7 pm to 7 am”, and the execution condition is "corridor sound reaches 50 decibels", then the terminal server sends the execution to the vendor server connected to the sound sensor in the corridor. Time requirements and execution conditions. Therefore, between 7 pm and 7 am, if the sound sensor detects that the corridor sound reaches 50 decibels, the manufacturer's server feeds back to the terminal server feedback information that the execution condition of "corridor sound reaches 50 decibels" is satisfied.
  • the vendor server corresponding to the device identifier of the corresponding household device may also be found.
  • the search for the vendor server through the device identifier under the first instruction which will not be repeated here.
  • the specified action that needs to be performed when the execution condition is satisfied in the second instruction may also be feedback of the current state of the third household device, or the The state is adjusted to the specified state. Specifically, it can be performed according to the corresponding execution mode executed with reference to the first instruction, which will not be repeated here.
  • the interaction between the terminal and the terminal server, and the data interaction between the terminal server and the servers of various manufacturers can all be implemented through the control interface between each other.
  • the terminal can obtain the device identification and the action code from the terminal server, so there is no need to maintain the data corresponding to the device identification on the terminal, nor the data corresponding to the action code on the terminal, which reduces the data storage capacity of the terminal.
  • the embodiment of the present application also provides a smart home scheduling method, which is applied to a smart home scheduling system. Specifically, as shown in Figure 6, the method includes:
  • Step S310 The terminal server receives the control instruction sent by the terminal. If the control instruction includes the first instruction, step S320 is executed; if the control instruction includes the second instruction, step S350 is executed.
  • Step S320 The terminal server obtains the target action in the first instruction and the household device used to execute the target action as the first household device.
  • Step S330 The terminal server sends a control request to the manufacturer server to which the first household device is in communication connection.
  • Step S340 The vendor server receiving the control request controls the first household device to execute the target action.
  • Step S350 The terminal server obtains the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device.
  • Step S360 The terminal server sends a subscription request to the manufacturer server to which the second household device is in communication connection.
  • Step S370 The vendor server that received the subscription request feeds back to the terminal server when the environmental information collected by the second household device meets the execution condition.
  • the terminal may also receive a user's control operation; the terminal sends a control instruction to the terminal server according to the control operation.
  • the terminal server may also receive the execution condition satisfaction information returned by the manufacturer's server to which the second household device is communicatively connected; according to the second instruction, the terminal server searches for the specified action that needs to be executed when the execution condition is satisfied And the third household device corresponding to the specified action; the terminal server sends a control request to the found vendor server that is in communication with the third household device; the vendor server that receives the control request controls the third household device to execute the Specify the action.
  • control instruction may only include the first instruction, may only include the second instruction, or may include both the first instruction and the second instruction, in this embodiment, step S320 and step S350 may be It is executed by one or both.
  • the device 400 includes: an instruction receiving module 410, configured to receive a control instruction sent by a terminal; a first processing module 420, configured to obtain a first instruction in the first instruction if the control instruction includes a first instruction The target action and the household device used to execute the target action are used as the first household device; the request sending module 430 is used to send a control request to the manufacturer server to which the first household device is in communication, for notifying the manufacturer server to control the office The first household device executes the target action; the second processing module 440 is configured to, if the control instruction includes a second instruction, obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the first Two household equipment; a subscription module 450, configured to send a subscription request to the vendor server to which the second household device is in communication, used to notify the vendor server when the environmental information collected by the second household device meets the execution conditions , Feedback to the terminal server
  • the request sending module 430 may include an identification acquiring unit, configured to acquire the device identification of the first household device from the first instruction; and a searching unit, configured according to the correspondence between the device identification and the manufacturer identification Relationship, search for the manufacturer ID corresponding to the device ID; the request unit is used to send a control request to the manufacturer server corresponding to the manufacturer ID.
  • the device may further include a condition receiving module, which is used to receive the execution condition satisfaction information returned by the manufacturer's server to which the second household equipment is communicatively connected; and the search module is used to search for satisfying the execution condition according to the second instruction The specified action that needs to be executed at the time and the third household device corresponding to the specified action; the request sending module is also used to send a control request to the found vendor server that is in communication with the third household device to notify the vendor server to control The third household device executes the specified action.
  • a condition receiving module which is used to receive the execution condition satisfaction information returned by the manufacturer's server to which the second household equipment is communicatively connected
  • the search module is used to search for satisfying the execution condition according to the second instruction
  • the specified action that needs to be executed at the time and the third household device corresponding to the specified action
  • the request sending module is also used to send a control request to the found vendor server that is in communication with the third household device to notify the vendor server to control
  • the third household device executes the specified action.
  • the device may further include a time determining module, configured to determine the execution time requirement of the first instruction and determine whether the current time meets the execution time requirement.
  • a time determining module configured to determine the execution time requirement of the first instruction and determine whether the current time meets the execution time requirement.
  • the time determining module may also be used to determine the execution time requirement of the second instruction.
  • the subscription module 450 may be used to send a subscription request carrying the execution time requirement to the vendor server of the second home appliance communication connection, and is used to notify the vendor server that when the second home appliance server meets the execution time requirement, when the second home appliance When the environmental information collected by the device meets the execution condition, it is fed back to the terminal server.
  • the device further includes a query feedback module for receiving a device identification query request sent by the terminal; and returning the corresponding relationship between the device name and the device identifier to the terminal for the terminal to find and receive according to the corresponding relationship.
  • the device ID corresponding to the device name.
  • the query feedback module may also receive an action code query request sent by the terminal; return the corresponding relationship between the action name and the action code to the terminal, so that the terminal can query the action name according to the received action name Corresponding action code, according to the action code to send control instructions.
  • the device may further include a status receiving module, configured to receive the current status of the first household equipment returned by the manufacturer's server; and send the current status of the first household equipment to the terminal.
  • a status receiving module configured to receive the current status of the first household equipment returned by the manufacturer's server; and send the current status of the first household equipment to the terminal.
  • the device may further include a cancellation module, configured to receive feedback information that does not meet the execution condition returned by the manufacturer server of the second household device communication connection; and send to the manufacturer server of the third household device communication connection
  • the control request is used to notify the vendor server to control the third household device to cancel the execution of the specified action.
  • the terminal is in communication connection with the terminal server, and the terminal server is in communication connection with the servers of multiple manufacturers.
  • the terminal server sends interactive data to the corresponding manufacturer’s server according to the manufacturer of the household equipment in the control command, so as to control the household equipment through the corresponding manufacturer’s server, or obtain the information of the household equipment from the corresponding manufacturer’s server.
  • Status obtain data collected by household equipment.
  • the terminal server sends requests to different equipment manufacturers in batches according to the different manufacturers to which the equipment belongs.
  • the terminal server sends control instructions through one client, the terminal
  • the difficulty of operation reduces the cost of client access to different vendors, and improves the user experience of adding multiple smart vendors’ devices.
  • Multiple devices can be flexibly scheduled, and an intelligent scene experience can be built at the same time;
  • the integration of home furnishing equipment from different manufacturers and the combination of multiple manufacturers’ equipment query, subscription, and control interfaces can realize cross-equipment manufacturer scheduling and rich scene scheduling functions.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
  • FIG. 8 shows a structural block diagram of a server 500 provided by an embodiment of the present application.
  • the server 500 may be a terminal server or any vendor server.
  • the server 500 has one or more processors 510 (only one is shown in the figure), a memory 520 and one or more programs.
  • the one or more programs are stored in the memory 520 and configured to be executed by the one or more processors 510.
  • the one or more programs are configured to execute the methods described in the foregoing embodiments.
  • the one or more programs may be application programs and various quick applications respectively.
  • the processor 510 may include one or more processing cores.
  • the processor 510 uses various interfaces and lines to connect various parts of the entire server 500, and executes the server by running or executing instructions, programs, code sets, or instruction sets stored in the memory 520, and calling data stored in the memory 520. 500's various functions and processing data.
  • the processor 510 may use at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 510 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the memory 520 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory 520 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 520 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing each of the foregoing method embodiments, and the like.
  • the data storage area can also store data created by the server in use.
  • FIG. 9 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable storage medium 600 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment.
  • the computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 600 has a storage space for the program code 610 for executing any method steps in the above methods. These program codes can be read out from or written into one or more computer program products.
  • the program code 610 may be compressed in a suitable form, for example.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

Disclosed are a smart home scheduling method, apparatus and system, a server and a storage medium, wherein same relate to the technical field of smart homes. The method comprises: receiving a control instruction sent by a terminal; if the control instruction comprises a first instruction, acquiring a target action in the first instruction and a home device used for executing the target action, and the home device sending, as a first home device, a control request to a manufacturer server in communication connection with the first home device; and if the control instruction comprises a second instruction, acquiring an execution condition in the second instruction and a home device corresponding to the execution condition, and the home device sending, as a second home device, a subscription request to a manufacturer server in communication connection with the second home device. According to the solution, there is no need to interact with various manufacturer servers by means of various application programs, which reduces the cumbersomeness of terminal operations.

Description

智能家居调度方法、装置、系统、服务器及存储介质Smart home scheduling method, device, system, server and storage medium 技术领域Technical field
本申请涉及智能家居技术领域,更具体地,涉及一种智能家居调度方法、装置、系统、服务器及存储介质。This application relates to the field of smart home technology, and more specifically, to a smart home scheduling method, device, system, server, and storage medium.
背景技术Background technique
智能家居通过物联网技术将各种智能家居设备(如音视频设备、照明系统、窗帘控制、空调控制等)连接到一起,通过手机、电脑等终端对各种设备进行控制。对于不同的智能家居厂商,通常开发有自己的应用程序对属于该厂商的智能家居设备进行控制。Smart homes connect various smart home devices (such as audio and video equipment, lighting systems, curtain control, air conditioning control, etc.) through the Internet of Things technology, and control various devices through mobile phones, computers and other terminals. For different smart home manufacturers, they usually develop their own applications to control the smart home devices belonging to that manufacturer.
随着经济和社会的发展,智能家居设备在家居设备中的占比越来越高,进行控制的智能家居设备越来越多。通常,一个用户所使用的智能家居设备,可能属于不同的厂商,从而需要使用不同厂商的应用程序对各种智能家居设备进行控制,控制操作很繁琐。With the development of economy and society, smart home devices account for an increasing proportion of home devices, and more and more smart home devices are controlled. Generally, the smart home devices used by a user may belong to different manufacturers, so it is necessary to use applications of different manufacturers to control various smart home devices, and the control operation is very cumbersome.
发明内容Summary of the invention
鉴于上述问题,本申请提出了一种智能家居调度方法、装置、系统、服务器及存储介质,以改善上述问题。In view of the above problems, this application proposes a smart home scheduling method, device, system, server and storage medium to improve the above problems.
第一方面,本申请实施例提供了一种智能家居调度方法,应用于终端服务器,多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,所述方法包括:接收终端发送的控制指令;若所述控制指令中包括第一指令,获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,向所述第一家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制所述第一家居设备执行所述目标动作;若所述控制指令中包括第二指令,获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,向所述第二家居设备通信连接的厂商服务器发送订阅请求,用于通知该厂商服务器当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。In the first aspect, the embodiments of the present application provide a smart home scheduling method, which is applied to a terminal server. Multiple vendor servers communicate with the terminal server according to the same communication protocol of the terminal server. The respective communication protocols are communicatively connected with the household equipment, and the method includes: receiving a control instruction sent by the terminal; if the control instruction includes a first instruction, acquiring the target action in the first instruction and the household device used to execute the target action The device, as the first household device, sends a control request to the manufacturer server to which the first household device is communicatively connected to notify the manufacturer server to control the first household device to execute the target action; if the control instruction includes The second instruction is to obtain the execution condition in the second instruction and the household device corresponding to the execution condition, as the second household device, and send a subscription request to the manufacturer server to which the second household device is communicatively connected to notify the manufacturer server When the environmental information collected by the second household device meets the execution condition, feedback to the terminal server.
第二方面,本申请实施例提供了一种智能家居调度方法,应用于智能家居调度系统,所述智能家居调度系统包括终端、终端服务器以及多个厂商服务器,所述终端与所述终端服务器网络连接,多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,所述方法包括:所述终端服务器接收终端发送的控制指令;若所述控制指令中包括第一指令,所述终端服务器获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,所述终端服务器向所述第一家居设备通信连接的厂商服务器发送控制请求,接收到该控制请求的厂商服务器控制所述第一家居设备 执行所述目标动作;若所述控制指令中包括第二指令,所述终端服务器获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,所述终端服务器向所述第二家居设备通信连接的厂商服务器发送订阅请求,接收到订阅请求的厂商服务器在所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。In the second aspect, the embodiments of the present application provide a smart home scheduling method, which is applied to a smart home scheduling system. The smart home scheduling system includes a terminal, a terminal server, and multiple manufacturer servers. The terminal is connected to the terminal server network Connection, a plurality of manufacturer servers respectively communicate and connect with the terminal server according to the same communication protocol of the terminal server, and different manufacturer servers communicate and connect with the household equipment according to their respective communication protocols. The method includes: the terminal server receives The control instruction sent by the terminal; if the control instruction includes the first instruction, the terminal server obtains the target action in the first instruction and the household device used to execute the target action, as the first household device, the terminal server Send a control request to the vendor server that is in communication with the first household device, and the vendor server that receives the control request controls the first household device to execute the target action; if the control instruction includes a second instruction, the The terminal server obtains the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device, the terminal server sends a subscription request to the manufacturer server to which the second household device is in communication, and receives the subscription request When the environmental information collected by the second household equipment meets the execution condition, the manufacturer server of the manufacturer feeds back to the terminal server.
第三方面,本申请实施例提供了一种智能家居调度装置,应用于终端服务器,多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,所述装置包括:指令接收模块,用于接收终端发送的控制指令;第一处理模块,用于若所述控制指令中包括第一指令,获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,请求发送模块,用于向所述第一家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制所述第一家居设备执行所述目标动作;第二处理模块,用于若所述控制指令中包括第二指令,获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,订阅模块,用于向所述第二家居设备通信连接的厂商服务器发送订阅请求,用于通知该厂商服务器当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。In the third aspect, the embodiments of the present application provide a smart home scheduling device, which is applied to a terminal server. Multiple vendor servers communicate with the terminal server according to the same communication protocol of the terminal server. The respective communication protocols are communicatively connected with the household equipment, and the device includes: an instruction receiving module for receiving a control instruction sent by the terminal; a first processing module for obtaining the first instruction if the control instruction includes a first instruction The target action and the household device used to execute the target action in the first household device are used as the first household device, and the request sending module is used to send a control request to the manufacturer’s server to which the first household device is in communication, for notifying the manufacturer’s server to control The first household device executes the target action; a second processing module is configured to, if the control instruction includes a second instruction, obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the first 2. Household equipment, a subscription module, configured to send a subscription request to a vendor server that is communicatively connected to the second household device, for notifying the vendor server when the environmental information collected by the second household device meets the execution condition, Feedback to the terminal server.
第四方面,本申请实施例提供了一种智能家居调度系统,包括终端、终端服务器以及多个厂商服务器,所述终端与所述终端服务器网络连接,所述多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,每个家居设备连接一个厂商服务器,其中,所述终端服务器用于接收终端发送的控制指令;若所述控制指令中包括第一指令,所述终端服务器用于获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,所述终端服务器用于向所述第一家居设备通信连接的厂商服务器发送控制请求,接收到该控制请求的厂商服务器用于控制所述第一家居设备执行所述目标动作;若所述控制指令中包括第二指令,所述终端服务器用于获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,所述终端服务器用于向所述第二家居设备通信连接的厂商服务器发送订阅请求,接收到订阅请求的厂商服务器用于在所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。In a fourth aspect, an embodiment of the present application provides a smart home scheduling system, including a terminal, a terminal server, and multiple manufacturer servers. The terminal is connected to the terminal server in a network, and the multiple manufacturer servers are based on the terminal server. The same communication protocol is respectively connected to the terminal server, and different manufacturer’s servers communicate with the household equipment according to their respective communication protocols, and each household equipment is connected to a manufacturer’s server, wherein the terminal server is used to receive the terminal Control instruction; if the control instruction includes the first instruction, the terminal server is used to obtain the target action in the first instruction and the household device used to execute the target action, as the first household device, the terminal server uses Sending a control request to the vendor server that is in communication with the first household device, and the vendor server that receives the control request is used to control the first household device to execute the target action; if the control instruction includes a second instruction The terminal server is used to obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device, and the terminal server is used to send to the manufacturer server to which the second household device is communicatively connected A subscription request. The vendor server that receives the subscription request is used to feed back to the terminal server when the environmental information collected by the second household device meets the execution condition.
第五方面,本申请实施例提供了一种服务器,包括:一个或多个处理器;存储器;一个或多个程序。其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。In a fifth aspect, an embodiment of the present application provides a server, including: one or more processors; a memory; and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the aforementioned method.
第六方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium in which program code is stored, and the program code can be invoked by a processor to execute the above-mentioned method.
本申请实施例提供的智能家居调度方法、装置、系统、服务器及存储介质,将厂商服务器与终端服务器通信连接,由终端服务器接收终端的控制指令,终端通过可与终端服务器交互的客户端即可实现对各种智能家居设备的控制,而不必通过各种应用程序与各个厂商服务器交互,降低了终端操作的繁琐 性。The smart home scheduling method, device, system, server, and storage medium provided by the embodiments of the application connect the manufacturer's server and the terminal server in communication, and the terminal server receives the control instructions of the terminal, and the terminal passes through the client that can interact with the terminal server. It realizes the control of various smart home equipment without having to interact with the servers of various manufacturers through various applications, which reduces the cumbersomeness of terminal operations.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1示出了本申请一实施例提供的智能家居调度系统的交互图。Fig. 1 shows an interaction diagram of a smart home dispatching system provided by an embodiment of the present application.
图2示出了本申请一实施例提供的智能家居调度方法的流程图。Fig. 2 shows a flowchart of a smart home scheduling method provided by an embodiment of the present application.
图3示出了本申请另一实施例提供的智能家居调度方法的部分步骤的流程图。Fig. 3 shows a flowchart of some steps of a smart home scheduling method provided by another embodiment of the present application.
图4示出了本申请又一实施例提供的智能家居调度方法的部分步骤的流程图。Fig. 4 shows a flowchart of some steps of a smart home scheduling method provided by another embodiment of the present application.
图5示出了本申请再一实施例提供的智能家居调度方法的流程图。Fig. 5 shows a flowchart of a smart home scheduling method provided by still another embodiment of the present application.
图6示出了本申请还一实施例提供的智能家居调度方法的流程图。Fig. 6 shows a flowchart of a smart home scheduling method provided by still another embodiment of the present application.
图7示出了本申请实施例提供的智能家居调度装置的功能模块图。Fig. 7 shows a functional module diagram of a smart home dispatching device provided by an embodiment of the present application.
图8示出了本申请实施例提供的服务器的结构框图。Fig. 8 shows a structural block diagram of a server provided by an embodiment of the present application.
图9是本申请实施例的用于保存或者携带实现根据本申请实施例的智能家居调度方法的程序代码的存储单元。Fig. 9 is a storage unit for storing or carrying program code for implementing the smart home scheduling method according to the embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
智能家居设备可由手机、电脑、平板电脑等各种智能终端设备进行控制,在智能终端的控制下改变工作状态、反馈自身状态以及采集各种环境信息等。例如,可以由智能终端设备无线控制照明设备的开或关,控制音视频设备的开关、音量等各种参数,控制空调的开关、温度设置等,获取温度传感器采集的环境温度、湿度传感器采集的环境湿度以及其他各种传感器采集的环境信息等。其中,对智能家居设备的控制以及从智能家居设备获取数据,需要通过各个智能家居设备所网络连接的服务器实现。也就是说,每个智能家居设备具有其网络连接的服务器,通过各个智能家居设备的网络连接的服务器对智能家居设备进行控制。Smart home equipment can be controlled by various smart terminal devices such as mobile phones, computers, and tablets. Under the control of smart terminals, they can change their working status, feed back their own status, and collect various environmental information. For example, smart terminal devices can wirelessly control the on or off of lighting equipment, control the on/off of audio and video equipment, volume and other parameters, control the on/off of air conditioners, temperature settings, etc., and obtain the ambient temperature collected by the temperature sensor and the humidity sensor collected Environmental humidity and environmental information collected by various other sensors. Among them, the control of smart home devices and the acquisition of data from smart home devices need to be implemented through servers connected to the network of each smart home device. In other words, each smart home device has its network connected server, and the smart home device is controlled through the network connected server of each smart home device.
通常情况下,不同智能家居设备的生产厂商生产的智能家居设备,其进行交互的服务器都是其生产厂商的厂商服务器,不同的厂商服务器根据各自的通信协议与家居设备通信连接。也就是说,每个厂商的厂商服务器与该厂商生产的智能家居设备通过该厂商制定的通信协议进行数据交互。对于每个智能家居设备,只有其生产厂商的厂商服务器才有权限对其进行控制以及从该智能家居设备获取数据。例如,某用户具有智能家居设备a1、a2、a3以及b1、c1,其中,a1、a2、a3为A厂商的产品,b1为B厂商的产品,c1为C厂商的产品,则需要通过A厂商的厂商服务器与a1、a2以及a3进行数据交互,需要通过B厂商的厂商服务器与b1进行数据交互,需要通过C厂商的厂商服务器与c1进行数据交互。Generally, for the smart home devices produced by different smart home device manufacturers, the servers that interact with them are the manufacturer servers of their manufacturers, and the servers of different manufacturers communicate with the home devices according to their respective communication protocols. In other words, the vendor server of each vendor and the smart home equipment produced by the vendor conduct data interaction through the communication protocol formulated by the vendor. For each smart home device, only the manufacturer's server of its manufacturer has the authority to control it and obtain data from the smart home device. For example, a user has smart home devices a1, a2, a3, b1, c1, where a1, a2, a3 are the products of manufacturer A, b1 is the product of manufacturer B, and c1 is the product of manufacturer C, and you need to pass the For data interaction between the manufacturer’s server and a1, a2, and a3, data interaction with b1 is required through the manufacturer server of manufacturer B, and data interaction with c1 is required through the manufacturer server of manufacturer C.
为了控制属于不同厂商的智能家居设备,一种方式可以是,用户在其智能终端中下载对应各种厂商的客户端,通过厂商的客户端与该厂商的服务器进行交互,从而对该厂商的智能家居设备进行控制。例如,用户在智能终端中下载A厂商的客户端,用于与A厂商的厂商服务器交互控制a1、a2以及a3;下载B厂商的客户端,用于与B厂商的厂商服务器交互控制b1;并且下载C厂商的客户端,用于与C厂商的厂商服务器交互控制c1。In order to control the smart home devices belonging to different manufacturers, one way can be that the user downloads the clients corresponding to various manufacturers in his smart terminal, and interacts with the server of the manufacturer through the client of the manufacturer, thus Home equipment is controlled. For example, the user downloads the client of manufacturer A in the smart terminal for interactive control of a1, a2, and a3 with the manufacturer's server of manufacturer A; downloads the client of manufacturer B for interactive control of b1 with the manufacturer's server of manufacturer B; and Download the client of manufacturer C to interact with the server of manufacturer C to control c1.
另一种控制属于不同厂商的智能家居设备的方式可以是,在一个客户端中集成各个厂商的软件开发工具包(Software Development Kit,SDK),每个厂商的SDK可以与该厂商进行的服务器进行交互。在智能终端,可以通过厂商的SDK向该厂商的厂商服务器发送控制指令,再有厂商服务器根据控制指令对智能家居设备进行控制。Another way to control smart home devices belonging to different manufacturers is to integrate the software development kit (SDK) of each manufacturer in a client, and the SDK of each manufacturer can communicate with the server of the manufacturer. Interactive. In the smart terminal, a control instruction can be sent to the vendor server of the vendor through the vendor's SDK, and then the vendor server controls the smart home equipment according to the control instruction.
在上面两种控制方式中,第一种需要下载各种客户端,用户需要了解各个家居设备属于哪一个厂商,各个厂商的客户端为哪一个,再从智能终端下载的各个客户端中寻找到相应的厂商的客户端,对智能家居设备进行控制,操作繁琐,提升了用户的操作难度,且提高了智能终端的存储压力以及数据处理压力。对于上述的第二种控制方式,客户端每次新增可支持的厂商都需要对客户端进行升级,同时也会逐步加大客户端使用内存及存储空间的压力。Among the above two control methods, the first one needs to download various clients. The user needs to know which manufacturer each household device belongs to, and which one is the client of each manufacturer, and then find it from the various clients downloaded by the smart terminal The client of the corresponding manufacturer controls the smart home equipment, and the operation is cumbersome, which increases the difficulty of the user's operation, and increases the storage pressure and data processing pressure of the smart terminal. For the above-mentioned second control method, every time a client adds supportable vendors, the client needs to be upgraded, and it will gradually increase the pressure on the client to use memory and storage space.
因此,发明人提出了本申请实施例提供的智能家居调度方法、装置、系统、服务器及存储介质,智能终端与一个终端服务器进行交互,即将对各个智能家居设备的控制指令发送到智能终端所交互的终端服务器。终端服务器再与各个厂商服务器进行通信连接,根据控制指令寻找对应的厂商服务器进行交互,由相应的厂商服务器对智能家居设备进行控制,降低终端操作难度,且无需客户端增加客户端的压力及开发难度。Therefore, the inventor proposes the smart home scheduling method, device, system, server, and storage medium provided by the embodiments of the application. The smart terminal interacts with a terminal server, that is, the control instructions for each smart home device are sent to the smart terminal for interaction. Terminal server. The terminal server then communicates with each manufacturer's server, and finds the corresponding manufacturer's server to interact according to the control instructions. The corresponding manufacturer's server controls the smart home equipment, reducing the difficulty of terminal operation, and does not require the client to increase the pressure and development difficulty of the client .
如图1示出了本申请实施例提供的智能家居调度系统100,该智能家居调度系统包括终端101、终端服务器102以及多个厂商服务器103。图1中以3个厂商服务器进行示意,可以理解的,在该智能家居调度系统中,厂商服务器为各个厂商的服务器,其个数并不限制,根据实际控制需求设置。该终端为前述的智能终端,可以是手机、电脑、平板电脑、台式电脑以及其他可以安装客户端并进行智能家居设备的控制操作的终端。FIG. 1 shows a smart home dispatching system 100 provided by an embodiment of the present application. The smart home dispatching system includes a terminal 101, a terminal server 102, and multiple manufacturer servers 103. Figure 1 shows three vendor servers. It is understandable that in the smart home scheduling system, the vendor servers are servers of various vendors, and the number is not limited, and it is set according to actual control requirements. The terminal is the aforementioned smart terminal, which can be a mobile phone, a computer, a tablet computer, a desktop computer, and other terminals that can install a client and perform control operations of smart home devices.
在该系统中,所述终端与所述终端服务器网络连接。具体的,终端与终端服务器之间的通信协议,可以是该终端服务器支持的、用于与终端进行通信协议,是终端与终端服务器之间进行交互的规则,用于终端与服务端之间的数据及动作交互,满足终端的基本数据功能。In this system, the terminal is connected to the terminal server network. Specifically, the communication protocol between the terminal and the terminal server can be a protocol supported by the terminal server and used to communicate with the terminal. It is a rule for interaction between the terminal and the terminal server and is used for communication between the terminal and the server. Data and action interaction meet the basic data functions of the terminal.
如图1所示,在该系统中,所述多个厂商服务器分别与终端服务器通信连接。其中,各个厂商服务器根据终端服务器的同一通信协议分别与所述终端服务器进行通信连接。也就是说,各个厂商服务器与终端服务器之间遵循相同的通信协议,通过相同的交互规则进行交互。该厂商服务器与终端服务器之间的通信协议为终端服务器一侧指定的一套的云端交互的通信协议、所有接入终端服务器的设备厂商都需要遵循该通信协议的规则,否则无法实现对终端服务器的接入。对于各个接入的厂商服务器来说,协议 是一致统一的,不会因为厂商不同而有所修改,尽量通用,从而终端服务器可以自由扩展后续的厂商支持,当该系统中接入新的厂商服务器时,接入的通信协议一定,接入过程简单方便,终端服务器在与各个厂商服务器交互时也操作更简单。As shown in Figure 1, in this system, the multiple vendor servers are respectively connected to the terminal server in communication. Wherein, each manufacturer's server respectively communicates with the terminal server according to the same communication protocol of the terminal server. That is to say, each vendor server and terminal server follow the same communication protocol and interact through the same interaction rules. The communication protocol between the manufacturer’s server and the terminal server is a set of cloud interaction communication protocols designated on the terminal server side. All equipment manufacturers accessing the terminal server must follow the rules of the communication protocol, otherwise the terminal server cannot be Access. For the server of each connected manufacturer, the protocol is consistent and unified, and will not be modified due to different manufacturers. It is as common as possible, so that the terminal server can freely expand the support of subsequent manufacturers. When the system is connected to a new manufacturer's server At the same time, the access communication protocol is certain, the access process is simple and convenient, and the terminal server is also easier to operate when interacting with the servers of various manufacturers.
如图1所示,该智能家居调度系统还包括智能家居设备104,不同的厂商服务器再与该厂商的智能家居设备104连接,其中,不同的厂商服务器根据各自的通信协议与家居设备通信连接。由于一个家居设备属于一个厂商,从而每个家居设备连接一个厂商服务器;而一个厂商可能生产不同的家居设备,因此,一个厂商服务器可以连接多个不同的家居设备。其中,该家居设备即前述的智能家居设备。As shown in FIG. 1, the smart home dispatching system also includes smart home devices 104. Servers of different manufacturers are then connected to the smart home devices 104 of the manufacturer, wherein the servers of different manufacturers communicate with the home devices according to their respective communication protocols. Since a household device belongs to a manufacturer, each household device is connected to a manufacturer's server; and a manufacturer may produce different household devices, therefore, a manufacturer's server can be connected to multiple different household devices. Among them, the household equipment is the aforementioned smart household equipment.
在该智能家居调度系统100中,所述终端服务器用于接收终端发送的控制指令;若所述控制指令中包括第一指令,所述终端服务器用于获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,所述终端服务器用于向所述第一家居设备通信连接的厂商服务器发送控制请求,接收到该控制请求的厂商服务器用于控制所述第一家居设备执行所述目标动作;若所述控制指令中包括第二指令,所述终端服务器用于获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,所述终端服务器用于向所述第二家居设备通信连接的厂商服务器发送订阅请求,接收到订阅请求的厂商服务器用于在所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。In the smart home dispatch system 100, the terminal server is used to receive the control instruction sent by the terminal; if the control instruction includes the first instruction, the terminal server is used to obtain the target action in the first instruction and The household device that performs the target action is used as the first household device, and the terminal server is used to send a control request to the manufacturer server to which the first household device is communicatively connected, and the manufacturer server that receives the control request is used to control the first household device. A household device executes the target action; if the control instruction includes a second instruction, the terminal server is used to obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device, The terminal server is configured to send a subscription request to the vendor server that is in communication with the second household device, and the vendor server that receives the subscription request is configured to, when the environmental information collected by the second household device meets the execution condition, Feedback to the terminal server.
也就是说,终端可以安装一个控制智能家居设备的客户端,通过该智能家居调度系统100,用户可以在终端的客户端发起对家居设备的控制指令,终端将控制指令发送到终端服务器,再由终端服务器对控制指令进行解析,确定需要控制的家居设备所属的厂商,从而确定需要控制的家居设备所连接的厂商服务器,向需要控制的家居设备所连接的厂商服务器发起数据请求,通过厂商服务器与家居设备进行数据交互。下面将通过具体实施例对本申请实施例提供的智能家居调度方法、装置、系统、服务器及存储介质进行详细说明。In other words, the terminal can install a client that controls smart home devices. Through the smart home scheduling system 100, the user can initiate control commands for the home devices on the client terminal of the terminal, and the terminal sends the control commands to the terminal server, and then The terminal server parses the control instructions, determines the manufacturer of the household equipment that needs to be controlled, determines the manufacturer's server connected to the household equipment that needs to be controlled, and initiates a data request to the manufacturer's server connected to the household equipment that needs to be controlled. Home equipment exchanges data. The smart home scheduling method, device, system, server, and storage medium provided by the embodiments of the present application will be described in detail below through specific embodiments.
图2示出了本申请实施例提供的智能家居调度方法,该方法可以应用于服务器。具体的,该方法包括:Figure 2 shows a smart home scheduling method provided by an embodiment of the present application, which can be applied to a server. Specifically, the method includes:
步骤S110:接收终端发送的控制指令。若所述控制指令中包括第一指令,执行步骤S120;若所述控制指令中包括第二指令,执行步骤S140。Step S110: Receive the control instruction sent by the terminal. If the control instruction includes the first instruction, step S120 is executed; if the control instruction includes the second instruction, step S140 is executed.
用户需要对智能家居设备进行控制时,可以通过终端向发起控制指令,终端将该控制指令发送到终端服务器。其中,可以通过安装于终端的客户端进行控制指令的编辑和发送,该客户端为终端与终端服务器进行交互的客户端。When a user needs to control a smart home device, he can initiate a control command through the terminal, and the terminal sends the control command to the terminal server. Wherein, the editing and sending of the control instruction can be performed by a client installed in the terminal, and the client is a client that interacts between the terminal and the terminal server.
该控制指令可以是第一指令,也可以是第二指令,或者包括第一指令以及第二指令。The control instruction may be the first instruction or the second instruction, or include the first instruction and the second instruction.
其中,第一指令为不需要根据环境状况进行执行的指令,即该指令的执行不受环境条件的影响,不需要根据智能家居设备反馈的环境条件确定指令是否执行,如“打开空调”、“打开走廊灯”等。Among them, the first instruction is an instruction that does not need to be executed according to environmental conditions, that is, the execution of the instruction is not affected by environmental conditions, and there is no need to determine whether the instruction is executed according to the environmental conditions fed back by the smart home device, such as "turn on the air conditioner", " Turn on the corridor lights" and so on.
第二指令为根据环境状况进行执行的指令,即在第二指令中,包括动作执行的执行条件,即满足该 执行条件时才执行第二指令中相应的动作。其中,该执行条件为环境条件达到相应的标准,需要根据相应的智能家居设备反馈的环境条件确定。如“房间温度达到27度时打开空调”为第二指令,房间温度达到27度为打开空调这一动作的执行条件,需要在房间中的温度传感器监测到环境温度为大于或等于27度时执行打开空调的动作;又如,“走廊声音达到50分贝时开启走廊照明灯”为第二指令,走廊声音达到50分贝为开启走廊照明灯的执行条件,需要在走廊的声音传感器监测到走廊的声音高于或等于50分贝时,才开启走廊的照明灯。The second instruction is an instruction that is executed according to environmental conditions, that is, the second instruction includes the execution condition of the action execution, that is, the corresponding action in the second instruction is executed when the execution condition is satisfied. Among them, the execution condition is that the environmental conditions meet the corresponding standards, which need to be determined according to the environmental conditions fed back by the corresponding smart home equipment. For example, "turn on the air conditioner when the room temperature reaches 27 degrees" is the second command, and the room temperature reaches 27 degrees is the execution condition of turning on the air conditioner. It needs to be executed when the temperature sensor in the room detects that the ambient temperature is greater than or equal to 27 degrees. The action of turning on the air conditioner; for another example, “turn on the corridor lighting when the corridor sound reaches 50 decibels” is the second command, and the corridor sound reaches 50 decibels as the execution condition for turning on the corridor lighting. The sound sensor in the corridor needs to detect the corridor sound When it is higher than or equal to 50 decibels, the corridor lighting is turned on.
步骤S120:获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备。Step S120: Obtain the target action in the first instruction and the household device used to execute the target action as the first household device.
若控制指令包括第一指令,由于第一指令不需要在监测到环境条件满足执行条件时才进行指令执行,可以获取第一指令中的目标动作以及用于执行该目标动作的家居设备,定义用于执行该目标动作的家居设备为第一家居设备。If the control instruction includes the first instruction, since the first instruction does not need to be executed when the environmental conditions are monitored to meet the execution conditions, the target action in the first instruction and the household equipment used to execute the target action can be obtained, and the definition is used The household device performing the target action is the first household device.
其中,目标动作即第一指令中需要第一家居设备进行执行的动作,如“打开空调”这一指令,目标动作为打开,执行该目标动作的第一家居设备为空调。Among them, the target action is the action that needs to be performed by the first household device in the first instruction, such as the instruction "turn on the air conditioner", the target action is to turn on, and the first household device that performs the target action is the air conditioner.
在该第一指令中,家居设备的数量以及需要执行的动作并不限定,例如,该第一指令中可以包括多个家居设备,每个家居设备都作为第一家居设备。每个第一家居设备具有对应的目标动作,如,第一指令为“打开空调且打开走廊灯”,则第一家居设备分别为空调以及走廊灯,空调的目标动作为打开,走廊灯的目标动作也是打开。In the first instruction, the number of household devices and the actions to be performed are not limited. For example, the first instruction may include multiple household devices, and each household device serves as the first household device. Each first household device has a corresponding target action. For example, if the first instruction is "Turn on the air conditioner and turn on the corridor lights", the first household device is the air conditioner and the corridor lights respectively. The target action of the air conditioner is to turn on, and the target action of the corridor lights The action is also open.
步骤S130:向所述第一家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制所述第一家居设备执行所述目标动作。Step S130: Send a control request to the manufacturer server to which the first household device is communicatively connected, for informing the manufacturer server to control the first household device to execute the target action.
确定第一家居设备通信连接的厂商服务器,以向该厂商服务器请求控制第一家居设备执行相应的目标动作。The manufacturer server to which the first household device is in communication is determined, so as to request the manufacturer server to control the first household device to execute a corresponding target action.
例如,第一指令为“打开空调”,该空调属于厂商A,与厂商A的厂商服务器通信连接,则向厂商A的厂商服务器A发送请求打开该空调的控制请求,从而使接收到该控制请求的厂商服务器A控制该空调打开。For example, if the first instruction is "turn on the air conditioner", the air conditioner belongs to manufacturer A and communicates with the manufacturer server of manufacturer A, and then sends a control request for turning on the air conditioner to manufacturer server A of manufacturer A, so that the control request is received The manufacturer's server A controls the air conditioner to turn on.
若第一指令中包括多个第一家居设备,则需要分别确定各个第一家居设备所连接的厂商服务器,向相应的厂商服务器发送控制请求。例如,第一指令为“打开空调且打开走廊灯”,空调属于厂商A,与厂商服务器A通信连接;走廊灯属于厂商B,与厂商服务器B通信连接。则向厂商服务器A发送打开空调的控制请求,以使接收到该控制请求的厂商服务器A打开该空调;向厂商服务器B发送打开走廊灯的控制请求,以使该厂商服务器B控制该走廊灯打开。If the first instruction includes multiple first household devices, it is necessary to respectively determine the manufacturer server to which each first household device is connected, and send a control request to the corresponding manufacturer server. For example, the first instruction is "turn on the air conditioner and turn on the corridor lights", the air conditioner belongs to manufacturer A and communicates with the manufacturer's server A; the corridor lights belong to the manufacturer B and communicate with the manufacturer's server B. Then send a control request to turn on the air conditioner to the manufacturer server A, so that the manufacturer server A that receives the control request turns on the air conditioner; send a control request to turn on the corridor lights to the manufacturer server B, so that the manufacturer server B controls the corridor lights to turn on .
可选的,在本申请实施例中,第一家居设备通信连接的厂商服务器还可以将控制结果反馈给终端服务器,以使终端服务器获知控制情况。终端服务器也可以将控制结果反馈给终端,以使用户通过终端获知控制情况。Optionally, in this embodiment of the present application, the manufacturer server to which the first household device is in communication connection may also feed back the control result to the terminal server, so that the terminal server can learn the control status. The terminal server may also feed back the control result to the terminal, so that the user can learn the control status through the terminal.
步骤S140:获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备。Step S140: Obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device.
步骤S150:向所述第二家居设备通信连接的厂商服务器发送订阅请求,用于通知该厂商服务器当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。Step S150: Send a subscription request to the vendor server to which the second household device is in communication, for notifying the vendor server to feed back to the terminal server when the environmental information collected by the second household device meets the execution condition .
由于第二指令中包括执行条件,则需要在确定相应的环境条件满足执行条件的情况下,再执行第二指令中相关的动作。因此,终端服务器可以对第二指令进行解析,获取其中的执行条件以及该执行条件对应的家居设备,定义该执行条件对应的家居设备为第二家居设备。其中,执行条件对应的家居设备,即对该执行条件所属的环境条件进行监测的家居设备。Since the second instruction includes execution conditions, it is necessary to execute the related actions in the second instruction when it is determined that the corresponding environmental conditions meet the execution conditions. Therefore, the terminal server may parse the second instruction, obtain the execution condition therein and the household device corresponding to the execution condition, and define the household device corresponding to the execution condition as the second household device. The household equipment corresponding to the execution condition is the household equipment that monitors the environmental conditions to which the execution condition belongs.
确定第二家居设备所连接的厂商服务器,从该厂商服务器订阅第二家居设备的监测到的环境条件。具体的,可以向第二家居设备连接的厂商服务器发送订阅请求,该订阅请求表示,当第二家居设备采集到的环境信息满足执行条件时,向终端服务器反馈,使终端服务器可以获知此时执行条件满足。其中,第二家居设备采集到的环境信息即表明了第二家居设备所在的环境的环境条件。Determine the manufacturer server to which the second household device is connected, and subscribe to the monitored environmental conditions of the second household device from the manufacturer server. Specifically, a subscription request may be sent to the vendor server connected to the second household device. The subscription request indicates that when the environmental information collected by the second household device meets the execution conditions, it is fed back to the terminal server so that the terminal server can know that the execution The conditions are met. Among them, the environmental information collected by the second household device indicates the environmental conditions of the environment where the second household device is located.
在本申请实施例中,终端发送的控制指令由终端服务器接收。终端服务器根据控制指令向相应的厂商服务器发送控制请求或者订阅请求,通过与厂商服务器的交互获取家居设备的数据或者对家居设备进行控制,从而使终端侧不必直接与各个厂商服务器连接,降低终端侧的操作难度,以降低终端侧的存储压力。并且,由于各个厂商服务器以相同的通信协议接入到终端服务器,从而可以降低终端服务器接入新的厂商服务器的操作难度。In the embodiment of the present application, the control instruction sent by the terminal is received by the terminal server. The terminal server sends a control request or a subscription request to the corresponding manufacturer’s server according to the control instruction, and obtains data or controls the household equipment through interaction with the manufacturer’s server, so that the terminal side does not have to directly connect with each manufacturer’s server, reducing the terminal side The difficulty of operation to reduce the storage pressure on the terminal side. In addition, since the servers of various manufacturers are connected to the terminal server with the same communication protocol, the operation difficulty for the terminal server to access the server of the new manufacturer can be reduced.
可选的,在本申请实施例中,还可以包括终端服务器对执行条件满足时的反馈进行接收。具体的,步骤S150后,请参见图3,本申请实施例还可以包括:Optionally, in the embodiment of the present application, it may also include the terminal server receiving feedback when the execution condition is satisfied. Specifically, after step S150, referring to FIG. 3, the embodiment of the present application may further include:
步骤S160:接收第二家居设备通信连接的厂商服务器返回的执行条件满足信息。Step S160: Receive the execution condition satisfaction information returned by the manufacturer's server to which the second household device is communicatively connected.
第二家居设备通信连接的厂商服务器可以获取第二家居设备检测到的环境信息。其中,第二家居设备通信连接的厂商服务器可以周期性向第二家居设备获取检测到的环境信息,也可以通知第二家居设备周期性向该厂商服务器反馈检测到的环境信息。The manufacturer's server to which the second household device is communicatively connected can obtain the environmental information detected by the second household device. The manufacturer server to which the second household device is communicatively connected may periodically obtain the detected environmental information from the second household device, or may notify the second household device to periodically feed back the detected environmental information to the manufacturer's server.
当第二家居设备连接的厂商服务器从第二家居设备获取到的环境信息表示该环境信息满足执行条件,则向终端服务器返回执行条件满足信息,以使终端服务器可以确定第二指令中的执行条件满足。其中,该执行条件满足信息可以是通知终端服务器第二指令中的执行条件满足的信息,也可以是将满足执行条件的环境信息发送给终端服务器,以使终端服务器可以通过该环境信息确定第二指令终端执行条件满足。When the environment information obtained by the manufacturer's server to which the second household device is connected from the second household device indicates that the environmental information meets the execution condition, the execution condition satisfaction information is returned to the terminal server so that the terminal server can determine the execution condition in the second instruction Satisfy. Wherein, the execution condition satisfaction information may be information notifying the terminal server that the execution condition in the second instruction is satisfied, or it may be sending environmental information satisfying the execution condition to the terminal server, so that the terminal server can determine the second The execution condition of the instruction terminal is satisfied.
步骤S170:根据所述第二指令,查找满足所述执行条件时需要执行的指定动作以及该指定动作对应的第三家居设备。Step S170: According to the second instruction, search for a specified action that needs to be executed when the execution condition is met and a third household device corresponding to the specified action.
在第二指令中,还包括满足执行条件时需要执行的动作以及对该动作进行执行的家居设备。定义满足执行条件时需要执行的动作为指定动作,定义对指定动作进行执行的家居设备为第三设备。在接收到第二家居设备通信连接的厂商服务器返回的执行条件满足信息时,表明第二指令中的指定动作需要执行,则可以根据第二指令中查找该指定动作以及对该指定动作进行执行的第三家居设备。The second instruction also includes the action that needs to be executed when the execution condition is met and the household equipment that executes the action. Define the action that needs to be executed when the execution condition is met as the specified action, and define the household device that executes the specified action as the third device. When receiving the execution condition satisfaction information returned by the manufacturer's server connected to the second home appliance, it indicates that the specified action in the second instruction needs to be executed, and the specified action can be found in the second instruction and the execution of the specified action The third home appliance.
步骤S180:向查找到的第三家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制该第三家居设备执行所述指定动作。Step S180: Send a control request to the found vendor server to which the third household device is in communication, for notifying the vendor server to control the third household device to perform the specified action.
指定动作需要有第三家居设备进行执行,而对第三家居设备的控制需要由第三家居设备通信连接的厂商服务器实现,则终端服务器可以向第三家居设备通信连接的厂商服务器发送控制请求,该控制请求用于通知第三家居设备通信连接的厂商服务器控制该第三家居设备执行指定动作,从而实现第二指令中,在满足执行条件的情况下控制第三家居设备执行指定动作的要求。The specified action needs to be executed by the third household device, and the control of the third household device needs to be implemented by the vendor server to which the third household device is communicatively connected, then the terminal server can send a control request to the third household device's communicatively connected vendor server, The control request is used to notify the vendor server of the third household device communication connection to control the third household device to perform the specified action, so as to realize the requirement of controlling the third household device to perform the specified action in the second instruction when the execution condition is met.
以一个实际指令作为第二指令进行说明。若接收到的第二指令为“房间温度达到27度时打开空调”,从该第二指令中可以获知执行条件为“房间温度达到27度”,其所属的环境条件为房间温度,对应的家居设备为房间温度进行监测的温度传感器。若该温度传感器所连接的为厂商服务器B,则向厂商服务器B发送订阅请求。接收到该订阅请求的厂商服务器B获取该温度传感器所检测到的温度,当温度传感器检测到的温度达到27度时,向终端服务器反馈,使终端服务器获知此时房间温度达到27度。An actual instruction is used as the second instruction for description. If the received second instruction is "turn on the air conditioner when the room temperature reaches 27 degrees", it can be learned from the second instruction that the execution condition is "the room temperature reaches 27 degrees", and its environmental condition is the room temperature, and the corresponding home The device is a temperature sensor that monitors the room temperature. If the temperature sensor is connected to vendor server B, a subscription request is sent to vendor server B. The vendor server B that receives the subscription request obtains the temperature detected by the temperature sensor, and when the temperature detected by the temperature sensor reaches 27 degrees, it feeds back to the terminal server so that the terminal server knows that the room temperature reaches 27 degrees at this time.
终端服务器确定房间温度达到27度时,可以从第二指令中查找到需要执行的指定动作为“打开”,执行该指定动作的第三家居设备为“空调”。若该空调连接的厂商服务器为厂商A的厂商服务器A,则终端服务器向厂商服务器A发送控制请求,通知厂商服务器A打开该空调。从而实现,在房间温度达到27度时打开空调这一第二指令。When the terminal server determines that the room temperature reaches 27 degrees, it can find from the second instruction that the specified action to be performed is "on", and the third household device that performs the specified action is "air conditioner". If the manufacturer server connected to the air conditioner is the manufacturer server A of the manufacturer A, the terminal server sends a control request to the manufacturer server A to notify the manufacturer server A to turn on the air conditioner. Thereby, the second instruction of turning on the air conditioner when the room temperature reaches 27 degrees is realized.
当然,在第二指令中,执行条件以及相应的第二家居设备的数量并不限定。例如,第二指令也可以是,“房间温度达到27度时打开空调,走廊声音达到50分贝时开启走廊照明灯”,则执行条件包括房间温度达到27度,对应的第二家居设备为对房间温度监测的温度传感器;还包括走廊声音达到50分贝,对应的第二家居设备为对走廊声音进行监测的声音传感器。则终端服务器发送订阅请求时,向对房间温度监测的温度传感器连接的厂商服务器B发送订阅请求,通知厂商服务器B当该对房间温度监测的温度传感器检测到的温度达到27度时向终端服务器反馈;向对走廊声音进行监测的声音传感器连接的厂商服务器A发送订阅请求,通知厂商服务器A当该声音传感器检测到大于或等于50分贝的声音时,向终端服务器反馈。Of course, in the second instruction, the execution conditions and the number of corresponding second household devices are not limited. For example, the second instruction can also be, "Turn on the air conditioner when the room temperature reaches 27 degrees, and turn on the corridor lighting when the corridor sound reaches 50 decibels", the execution conditions include that the room temperature reaches 27 degrees, and the corresponding second home device is the right room A temperature sensor for temperature monitoring; it also includes a corridor sound up to 50 decibels, and the corresponding second home device is a sound sensor that monitors the corridor sound. Then when the terminal server sends a subscription request, it sends a subscription request to the vendor server B connected to the temperature sensor for room temperature monitoring, and informs the vendor server B that when the temperature detected by the temperature sensor for room temperature monitoring reaches 27 degrees, it sends a feedback to the terminal server ; Send a subscription request to the vendor server A connected to the sound sensor that monitors the sound in the corridor, and notify the vendor server A to feedback to the terminal server when the sound sensor detects a sound greater than or equal to 50 decibels.
当终端服务器接收到厂商服务器B反馈的房间温度达到27度的执行条件满足信息,则向厂商服务器A发送打开该空调的控制请求,使厂商服务器A打开该空调。当终端服务器接收到厂商服务器A反馈的走廊声音达到50分贝的执行条件满足信息,则向厂商服务器B发送打开走廊灯的控制请求,以使该厂商服务器B控制该走廊灯打开。When the terminal server receives the information that the execution condition satisfies the room temperature of 27 degrees fed back by the manufacturer server B, it sends a control request to turn on the air conditioner to the manufacturer server A, so that the manufacturer server A turns on the air conditioner. When the terminal server receives the information that the execution condition satisfies the corridor sound feedback from the manufacturer server A to reach 50 decibels, it sends a control request to turn on the corridor lights to the manufacturer server B, so that the manufacturer server B controls the corridor lights to turn on.
可选的,在本申请实施例中,第三家居设备通信连接的厂商服务器还可以将控制结果反馈给终端服务器,以使终端服务器获知控制情况。终端服务器也可以将控制结果反馈给终端,以使用户通过终端获知控制情况。Optionally, in this embodiment of the present application, the vendor server to which the third household device is communicatively connected may also feed back the control result to the terminal server, so that the terminal server can learn the control status. The terminal server may also feed back the control result to the terminal, so that the user can learn the control status through the terminal.
在本申请实施例中,第二指令中执行条件对应的环境信息的检测与指定动作的执行可以分别是不同厂商的家居设备完成,通过终端服务器的统一调度,可以从一个厂商服务器获取到执行条件满足的信息, 通知另一个厂商服务器控制相应的家居设备执行指定动作,从而使智能家居系统中可以实现的控制场景各种各样,不受厂商的限制。In the embodiment of the present application, the detection of the environmental information corresponding to the execution condition in the second instruction and the execution of the specified action can be performed by household equipment of different manufacturers. Through the unified scheduling of the terminal server, the execution condition can be obtained from one manufacturer's server. With the satisfied information, the server of another manufacturer is notified to control the corresponding home equipment to perform the specified action, so that the control scenarios that can be implemented in the smart home system are various and are not restricted by the manufacturer.
在本申请实施例中,终端服务器可以从厂商服务器订阅执行条件的反馈信息,当厂商服务器所连接的家居设备检测到环境信息满足执行条件时,终端服务器根据从厂商服务器的订阅可以获取到执行条件满足信息。接收到执行条件满足信息的情况下,终端服务器可以向第三家居设备所连接的厂商服务器发送控制请求,从而使接收到该控制请求的厂商服务器可以控制第三家居设备完成指定动作,实现第二指令的执行。In the embodiment of this application, the terminal server can subscribe to the feedback information of the execution condition from the manufacturer's server. When the household equipment connected to the manufacturer's server detects that the environmental information meets the execution condition, the terminal server can obtain the execution condition according to the subscription from the manufacturer's server Meet the information. In the case of receiving the information that the execution conditions are satisfied, the terminal server can send a control request to the vendor server to which the third household device is connected, so that the vendor server that receives the control request can control the third household device to complete the specified action and realize the second Execution of instructions.
可选的,在本申请实施例中,在第二指令中的执行条件满足的情况下,执行第二指令中的指令动作,在第二指令中的执行条件不满足的情况下,可以取消第二指令中的指定动作。具体的,如图4所示,本申请实施例中,在步骤S180之后,还可以包括:Optionally, in the embodiment of the present application, when the execution condition in the second instruction is satisfied, the instruction action in the second instruction is executed, and when the execution condition in the second instruction is not satisfied, the first instruction can be cancelled. The specified action in the second instruction. Specifically, as shown in FIG. 4, in this embodiment of the present application, after step S180, it may further include:
步骤S191:接收该第二家居设备通信连接的厂商服务器返回的不满足所述执行条件的反馈信息。Step S191: Receive feedback information that does not satisfy the execution condition returned by the manufacturer's server to which the second household device is communicatively connected.
步骤S192:向所述第三家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制该第三家居设备取消所述指定动作的执行。Step S192: Send a control request to the vendor server to which the third household device is communicatively connected to notify the vendor server to control the third household device to cancel the execution of the specified action.
第二家居设备通信连接的厂商服务器继续从第二家居设备获取检测到的环境信息,当从第二家居设备获取到环境信息不再满足执行条件时,可以向终端服务器反馈,以使终端服务器进行指定动作取消的操作。The manufacturer’s server to which the second household device is in communication continues to obtain the detected environmental information from the second household device. When the environmental information obtained from the second household device no longer satisfies the execution conditions, it can feed back to the terminal server to make the terminal server perform Specifies the operation to cancel the action.
终端服务器可以接收第二家居设备通信连接的厂商服务器返回的不满足执行条件的反馈信息,在接收到该反馈信息时,确定该执行条件满足时需要执行的指定动作以及该指定动作对应的第三家居设备。终端服务器向第三家居设备发送取消指定动作执行的控制请求,接收到该控制请求的厂商服务器控制第三家居设备取消指定动作的执行。其中,对指定动作的取消,可以是使第三家居设备回到执行指定动作之前的状态,或者使第三家居设备变为与指定动作相反的状态。The terminal server may receive the feedback information that does not meet the execution condition returned by the manufacturer's server to which the second household device is in communication, and upon receiving the feedback information, determine the specified action that needs to be executed when the execution condition is satisfied and the third corresponding to the specified action. Home equipment. The terminal server sends a control request for canceling the execution of the specified action to the third household device, and the vendor server that receives the control request controls the third household device to cancel the execution of the specified action. Wherein, the cancellation of the specified action may be to return the third household device to the state before the specified action is performed, or to change the third household device to the state opposite to the specified action.
例如,第二指令为“房间温度达到27度时打开空调”,则当房间内的温度低于27度时,对房间温度进行检测的温度传感器所连接的厂商服务器B可以向终端服务器反馈房间温度低于27度,则终端服务器向厂商服务器A发送取消空调打开的控制请求,厂商服务器控制空调关闭。For example, the second command is "Turn on the air conditioner when the room temperature reaches 27 degrees." When the temperature in the room is lower than 27 degrees, the manufacturer server B connected to the temperature sensor that detects the room temperature can feedback the room temperature to the terminal server When the temperature is lower than 27 degrees, the terminal server sends a control request to cancel the opening of the air conditioner to the manufacturer server A, and the manufacturer server controls the air conditioner to be turned off.
在本申请实施例中,当第二指令中的执行条件不满足时,可以取消第二指令中指定动作的执行,使该智能家居调度系统的控制更加丰富。In the embodiment of the present application, when the execution condition in the second instruction is not satisfied, the execution of the specified action in the second instruction can be cancelled, so that the control of the smart home dispatching system is more abundant.
本申请还提供了一种实施例,在该实施例中,可以包括对厂商服务器的查询过程。具体的,请参见图5,该方法包括:This application also provides an embodiment, in which the query process of the vendor server may be included. Specifically, please refer to Figure 5. The method includes:
步骤S210:接收终端发送的设备标识查询请求。Step S210: Receive the device identification query request sent by the terminal.
步骤S220:向所述终端返回设备名称与设备标识的对应关系,以用于所述终端根据所述对应关系查找接收到的设备名称对应的设备标识。Step S220: Return the corresponding relationship between the device name and the device identifier to the terminal, so that the terminal searches for the device identifier corresponding to the received device name according to the corresponding relationship.
步骤S230:接收终端发送的控制指令。若所述控制指令中包括第一指令,执行步骤S240;若所述 控制指令中包括第二指令,执行步骤S260。Step S230: Receive the control instruction sent by the terminal. If the control instruction includes the first instruction, step S240 is executed; if the control instruction includes the second instruction, step S260 is executed.
终端可以接收用户的控制操作,从而根据该控制操作向终端服务器发送控制指令。其中,该控制操作可以是用户语音输入的命令,对用户输入的语音进行解析,获得需要向终端服务器发送的控制指令;该控制操作也可以是用户在终端的操作界面输入或者选择的对家居设备的控制。The terminal can receive the user's control operation, and send a control instruction to the terminal server according to the control operation. Among them, the control operation may be a command input by the user's voice, to parse the voice input by the user, and obtain a control instruction that needs to be sent to the terminal server; the control operation may also be a user input or selection on the operation interface of the terminal to the household equipment control.
终端接收到的控制操作中,包括的需要控制的家居设备的名称,则在接收到控制操作后,可以从终端服务器拉取家居设备列表,以寻找各个家居设备的设备标识。具体的,可以向终端服务器发起设备标识查询请求,接收到该查询请求的终端服务器将设备名称与设备标识的对应关系发送给终端。终端根据该对应关系查找接收到用户输入的设备名称对应的设备标识。从而,终端在向终端服务器发送控制指令时,控制指令中的家居设备可以通过设备标识表示。The control operation received by the terminal includes the name of the household device that needs to be controlled. After receiving the control operation, the household device list can be pulled from the terminal server to find the device identification of each household device. Specifically, a device identification query request may be initiated to the terminal server, and the terminal server that receives the query request sends the corresponding relationship between the device name and the device identification to the terminal. The terminal searches for the device identifier corresponding to the device name input by the user according to the corresponding relationship. Therefore, when the terminal sends a control instruction to the terminal server, the household equipment in the control instruction can be indicated by the device identifier.
可选的,在控制指令中,所要执行的动作也可以通过相应的动作代码表示。具体的,终端可以向终端服务器发起动作代码查询请求,对应的,终端服务器可以接收终端发送的动作代码查询请求,并且向所述终端返回动作名称与动作代码之间的对应关系。则在接收到该对应关系的终端,可以将用户的控制操作中的动作名称替换为对应的动作代码,根据该动作代码发送控制指令。Optionally, in the control instruction, the action to be executed can also be indicated by the corresponding action code. Specifically, the terminal may initiate an action code query request to the terminal server. Correspondingly, the terminal server may receive the action code query request sent by the terminal, and return the corresponding relationship between the action name and the action code to the terminal. Then, at the terminal that receives the corresponding relationship, the action name in the user's control operation can be replaced with the corresponding action code, and the control instruction is sent according to the action code.
例如,接收到“打开空调”的控制操作,则从服务器设备名称与设备标识的对应关系,从该对应关系中查找空调的设备标识。若在设备名称与设备标识的对应关系的对应关系中,空调对应的设备标识为“ac”,则可以获得“打开空调”中空调的设备标识为“ac”。再从服务器获取动作名称与动作代码之间的对应关系,例如,获得的“打开”的动作代码为“power:true”。则终端可以调用终端服务器的设备控制接口,将对“ac”执行“power:true”的控制指令发送到终端服务器。For example, if a control operation of "turn on the air conditioner" is received, the corresponding relationship between the server device name and the device identifier is used to find the device identifier of the air conditioner from the corresponding relationship. If in the correspondence between the device name and the device identifier, the device identifier corresponding to the air conditioner is "ac", the device identifier of the air conditioner in "Turn on the air conditioner" can be obtained as "ac". The corresponding relationship between the action name and the action code is obtained from the server. For example, the obtained action code of "open" is "power: true". Then the terminal can call the device control interface of the terminal server, and send the control instruction of executing "power: true" on "ac" to the terminal server.
步骤S240:获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备。Step S240: Obtain the target action in the first instruction and the household device used to execute the target action as the first household device.
若控制指令中包括第一指令,则直接获取其中需要执行的动作以及对该动作进行执行的家居设备,以便通过相应的厂商服务器控制该家居设备执行该动作。具体的实现方式可以参照前述实施例中相应的步骤,在此不做赘述。If the control instruction includes the first instruction, directly obtain the action to be executed and the household device that executes the action, so as to control the household device to execute the action through the corresponding vendor server. For the specific implementation manner, reference may be made to the corresponding steps in the foregoing embodiments, and details are not described herein.
可选的,用户可以通过终端预先设置家居设备的控制,因此,在第一指令中,可以包括执行时间要求,该执行时间要求表示该第一指令的执行时间。例如,第一指令为“明天在房间温度高于27度时打开空调”,则执行时间要求为接收到该第一指令这一天的次日。Optionally, the user can pre-set the control of the household equipment through the terminal. Therefore, the first instruction may include an execution time requirement, and the execution time requirement indicates the execution time of the first instruction. For example, if the first instruction is "turn on the air conditioner tomorrow when the room temperature is higher than 27 degrees", the execution time requirement is the day after the day when the first instruction is received.
因此,在该步骤之前,还可以包括:确定所述第一指令的执行时间要求。若第一指令中没有明确的执行时间要求,可以认为该第一指令的执行时间要求为当前;若第一指令中有明确的执行时间要求,以该执行时间要求作为第一指令的执行时间。终端服务器判断当前时间是否满足所述执行时间要求,例如,第一指令的执行时间要求为当前,则当前时间满足执行时间要求,若第一指令的执行时间要求为明天,则当前时间不满足执行时间要求。Therefore, before this step, it may further include: determining the execution time requirement of the first instruction. If there is no clear execution time requirement in the first instruction, it can be considered that the execution time requirement of the first instruction is current; if there is a clear execution time requirement in the first instruction, the execution time requirement is taken as the execution time of the first instruction. The terminal server determines whether the current time meets the execution time requirement. For example, if the execution time requirement of the first instruction is current, then the current time meets the execution time requirement. If the execution time requirement of the first instruction is tomorrow, the current time does not meet the execution time requirement. time requirement.
若当前时间满足第一指令中的执行时间要求,则可以对第一指令进行执行,具体的,可以执行获取第一指令中的目标动作以及用于执行该目标动作的家居设备的步骤及其之后的步骤。If the current time meets the execution time requirement in the first instruction, the first instruction can be executed. Specifically, the step of acquiring the target action in the first instruction and the household equipment used to execute the target action can be executed and thereafter A step of.
若当前时间不满足所述执行时间要求,则等待到满足所述执行时间要求的时刻,再执行所述获取第一指令中的目标动作以及用于执行该目标动作的家居设备的步骤及其之后的步骤。例如,执行时间要求为接收到第一指令的“明天”,则等待到次日再执行所述获取第一指令中的目标动作以及用于执行该目标动作的家居设备的步骤及其之后的步骤。If the current time does not meet the execution time requirement, wait until the execution time requirement is met, and then execute the step of acquiring the target action in the first instruction and the household equipment used to execute the target action and thereafter A step of. For example, if the execution time requirement is "tomorrow" when the first instruction is received, then wait until the next day to execute the step of acquiring the target action in the first instruction and the household equipment used to execute the target action and the subsequent steps .
步骤S250:向所述第一家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制所述第一家居设备执行所述目标动作。Step S250: Send a control request to the manufacturer server to which the first household device is communicatively connected, for notifying the manufacturer server to control the first household device to execute the target action.
根据第一指令,终端服务器先第一家居设备通信连接的厂商服务器发送控制请求。该步骤的具体执行过程可以参见前述相应的步骤,在此不再赘述。According to the first instruction, the terminal server first sends a control request to the manufacturer server to which the first household device is in communication. For the specific execution process of this step, please refer to the aforementioned corresponding steps, which will not be repeated here.
可选的,在本申请实施例中,还可以包括对第一家居设备通信连接的厂商服务器的确定。具体的,第一指令中包括了第一家居设备的设备标识,终端服务器可以从所述第一指令中获取所述第一家居设备的设备标识。另外,在终端服务器中存储有设备标识与厂商服务器之间的对应关系,从而,终端服务器可以根据设备标识与厂商标识之间的对应关系,查找第一家居设备的设备标识所对应的厂商标识,向所述厂商标识对应的厂商服务器发送控制请求。Optionally, in this embodiment of the present application, it may also include the determination of the vendor server to which the first household device is communicatively connected. Specifically, the first instruction includes the device identifier of the first household device, and the terminal server may obtain the device identifier of the first household device from the first instruction. In addition, the corresponding relationship between the device identifier and the vendor server is stored in the terminal server, so that the terminal server can find the vendor identifier corresponding to the device identifier of the first household device according to the corresponding relationship between the device identifier and the vendor identifier, Send a control request to the vendor server corresponding to the vendor identifier.
具体的,终端服务器向厂商服务器发送控制请求,可以是根据厂商服务器与终端服务器之间的通信协议,将第一指令中控制所述第一家居设备执行所述目标动作的指令转换为厂商服务器可以识别和使用的指令,发送到厂商服务器。Specifically, the terminal server sending a control request to the manufacturer’s server may be based on the communication protocol between the manufacturer’s server and the terminal server, converting the instruction in the first instruction that controls the first household device to execute the target action into the manufacturer’s server. The instructions for identification and use are sent to the manufacturer's server.
可选的,在本申请实施例中,该目标动作可以是对家居设备的状态控制,如将所述第一家居设备的状态调整到指定状态。例如前述的控制空调打开,即将空调的状态调整到打开的状态。Optionally, in this embodiment of the present application, the target action may be state control of the household device, such as adjusting the state of the first household device to a specified state. For example, the aforementioned controlling the air conditioner to turn on means adjusting the state of the air conditioner to the on state.
可选的,在本申请实施例中,可以对家居设备的状态的查询,该目标动作为反馈该第一家居设备的当前状态。则该厂商服务器控制第一家居设备执行所述目标动作时,第一家居设备向厂商服务器反馈自身的当前状态,厂商服务器再将第一家居设备的当前状态发送到终端服务器。对应的,终端服务器可以接收厂商服务器返回的所述第一家居设备的当前状态。可选的,终端服务器继续将所述第一家居设备的当前状态发送给所述终端,以实现用户通过终端对家居设备状态的查询。接收到的控制指令中,第一指令为查询空调开关状态,则目标动作为空调反馈其当前是“开”或“关”的状态,连接该空调的厂商服务器将空调的开关状态发送到终端服务器。Optionally, in this embodiment of the present application, the status of the household device can be inquired, and the target action is to feed back the current status of the first household device. When the manufacturer server controls the first household device to perform the target action, the first household device feeds back its current state to the manufacturer server, and the manufacturer server sends the current state of the first household device to the terminal server. Correspondingly, the terminal server may receive the current state of the first household device returned by the manufacturer's server. Optionally, the terminal server continues to send the current status of the first household device to the terminal, so as to enable the user to query the status of the household device through the terminal. Among the received control commands, the first command is to query the on/off status of the air conditioner, and the target action is that the air conditioner reports its current "on" or "off" state, and the manufacturer server connected to the air conditioner sends the on/off status of the air conditioner to the terminal server .
步骤S260:获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备。Step S260: Obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device.
步骤S270:向所述第二家居设备通信连接的厂商服务器发送订阅请求,用于通知该厂商服务器当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。Step S270: Send a subscription request to the vendor server to which the second household device is communicatively connected, for notifying the vendor server to feed back to the terminal server when the environmental information collected by the second household device meets the execution condition .
在本申请实施例中,对接收到第二指令的具体执行过程可以参照前述实施例中相应的步骤,在此不再赘述。In the embodiment of the present application, for the specific execution process of the received second instruction, reference may be made to the corresponding steps in the foregoing embodiment, which will not be repeated here.
可选的,在本申请实施例中,第二指令也可以有对应的执行时间要求,即该第二指令进行执行的时间。因此,在步骤S270之前,可以先确定所述第二指令的执行时间要求。Optionally, in the embodiment of the present application, the second instruction may also have a corresponding execution time requirement, that is, the time for executing the second instruction. Therefore, before step S270, the execution time requirement of the second instruction may be determined first.
在确定第二指令中执行时间要求后,步骤S270中发送订阅请求时可以携带该执行时间要求,以使接收到订阅请求的厂商服务器可以确定信息的反馈时间。具体的,终端服务器可以是向所述第二家居设备通信连接的厂商服务器发送携带该执行时间要求的订阅请求,用于通知该厂商服务器在满足该执行时间要求的情况下,当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。After the execution time requirement in the second instruction is determined, the execution time requirement can be carried when sending the subscription request in step S270, so that the vendor server that receives the subscription request can determine the information feedback time. Specifically, the terminal server may send a subscription request carrying the execution time requirement to the manufacturer server of the second home appliance communication connection, for notifying the manufacturer’s server that when the execution time requirement is met, when the second home appliance When the environmental information collected by the household equipment meets the execution condition, it is fed back to the terminal server.
例如,第二指令为,“晚上7点到凌晨7点期间,若走廊声音达到50分贝,打开走廊灯”。则可以确定该第二指令中,执行时间要求为“晚上7点到凌晨7点”,执行条件为“走廊声音达到50分贝”,则终端服务器向走廊的声音传感器通信连接的厂商服务器发送该执行时间要求以及执行条件。从而,在晚上7点到凌晨7点之间,若声音传感器检测到走廊声音达到50分贝,该厂商服务器向终端服务器反馈“走廊声音达到50分贝”这一执行条件满足的反馈信息。For example, the second instruction is, "From 7 pm to 7 am, if the corridor sound reaches 50 decibels, turn on the corridor lights." It can be determined that in the second instruction, the execution time requirement is "7 pm to 7 am", and the execution condition is "corridor sound reaches 50 decibels", then the terminal server sends the execution to the vendor server connected to the sound sensor in the corridor. Time requirements and execution conditions. Therefore, between 7 pm and 7 am, if the sound sensor detects that the corridor sound reaches 50 decibels, the manufacturer's server feeds back to the terminal server feedback information that the execution condition of "corridor sound reaches 50 decibels" is satisfied.
可选的,在本申请实施例中,根据第二指令向厂商服务器发送订阅请求或者发送控制请求时,也可以根据相应的家居设备的设备标识查找器对应的厂商服务器。具体可以参照在第一指令下通过设备标识查找厂商服务器,在此不再赘述。Optionally, in this embodiment of the present application, when sending a subscription request or sending a control request to the vendor server according to the second instruction, the vendor server corresponding to the device identifier of the corresponding household device may also be found. For details, refer to the search for the vendor server through the device identifier under the first instruction, which will not be repeated here.
可选的,在本申请实施例中,第二指令中满足所述执行条件时需要执行的指定动作也可以是反馈所述第三家居设备的当前状态,或者是将所述第三家居设备的状态调整到指定状态。具体可以根据参照第一指令执行的相应执行方式,在此不做赘述。Optionally, in the embodiment of the present application, the specified action that needs to be performed when the execution condition is satisfied in the second instruction may also be feedback of the current state of the third household device, or the The state is adjusted to the specified state. Specifically, it can be performed according to the corresponding execution mode executed with reference to the first instruction, which will not be repeated here.
另外,可选的,在本申请实施例中,终端与终端服务器之间的交互,终端服务器与各个厂商服务器之间的数据交互,都可以通过彼此之间的控制接口实现。In addition, optionally, in the embodiments of the present application, the interaction between the terminal and the terminal server, and the data interaction between the terminal server and the servers of various manufacturers, can all be implemented through the control interface between each other.
在本申请实施例中,终端可以从终端服务器获取设备标识以及动作代码,从而不必在终端维护设备标识相应的数据,也不必在终端维护动作代码相应的数据,减小了终端的数据存储量。In the embodiment of the present application, the terminal can obtain the device identification and the action code from the terminal server, so there is no need to maintain the data corresponding to the device identification on the terminal, nor the data corresponding to the action code on the terminal, which reduces the data storage capacity of the terminal.
本申请实施例还提供了一种智能家居调度方法,应用于智能家居调度系统。具体的,如图6所述,该方法包括:The embodiment of the present application also provides a smart home scheduling method, which is applied to a smart home scheduling system. Specifically, as shown in Figure 6, the method includes:
步骤S310:所述终端服务器接收终端发送的控制指令。若所述控制指令中包括第一指令,执行步骤S320;若所述控制指令中包括第二指令,执行步骤S350。Step S310: The terminal server receives the control instruction sent by the terminal. If the control instruction includes the first instruction, step S320 is executed; if the control instruction includes the second instruction, step S350 is executed.
步骤S320:所述终端服务器获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备。Step S320: The terminal server obtains the target action in the first instruction and the household device used to execute the target action as the first household device.
步骤S330:所述终端服务器向所述第一家居设备通信连接的厂商服务器发送控制请求。Step S330: The terminal server sends a control request to the manufacturer server to which the first household device is in communication connection.
步骤S340:接收到该控制请求的厂商服务器控制所述第一家居设备执行所述目标动作。Step S340: The vendor server receiving the control request controls the first household device to execute the target action.
步骤S350:所述终端服务器获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备。Step S350: The terminal server obtains the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device.
步骤S360:所述终端服务器向所述第二家居设备通信连接的厂商服务器发送订阅请求。Step S360: The terminal server sends a subscription request to the manufacturer server to which the second household device is in communication connection.
步骤S370:接收到订阅请求的厂商服务器在所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。Step S370: The vendor server that received the subscription request feeds back to the terminal server when the environmental information collected by the second household device meets the execution condition.
可选的,在本申请实施例中,所述终端还可以接收用户的控制操作;所述终端根据所述控制操作,向所述终端服务器发送控制指令。Optionally, in this embodiment of the present application, the terminal may also receive a user's control operation; the terminal sends a control instruction to the terminal server according to the control operation.
可选的,所述终端服务器还可以接收第二家居设备通信连接的厂商服务器返回的执行条件满足信息;所述终端服务器根据所述第二指令,查找满足所述执行条件时需要执行的指定动作以及该指定动作对应的第三家居设备;所述终端服务器向查找到的第三家居设备通信连接的厂商服务器发送控制请求;接收到控制请求的该厂商服务器控制所述第三家居设备执行所述指定动作。Optionally, the terminal server may also receive the execution condition satisfaction information returned by the manufacturer's server to which the second household device is communicatively connected; according to the second instruction, the terminal server searches for the specified action that needs to be executed when the execution condition is satisfied And the third household device corresponding to the specified action; the terminal server sends a control request to the found vendor server that is in communication with the third household device; the vendor server that receives the control request controls the third household device to execute the Specify the action.
在该实施例中,各个步骤的具体执行可以参照前述实施例,在此不再赘述。In this embodiment, the specific execution of each step can be referred to the foregoing embodiment, which will not be repeated here.
另外,可以理解的,由于控制指令中可能只包括第一指令,可能只包括第二指令,也可能同时包括第一指令以及第二指令,因此,在该实施例中,步骤S320以及步骤S350可能是择一执行,也可能都执行。In addition, it is understandable that since the control instruction may only include the first instruction, may only include the second instruction, or may include both the first instruction and the second instruction, in this embodiment, step S320 and step S350 may be It is executed by one or both.
本申请实施例还提供了一种智能家居调度装置400,应用于终端服务器。如图7所示,该装置400包括:指令接收模块410,用于接收终端发送的控制指令;第一处理模块420,用于若所述控制指令中包括第一指令,获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备;请求发送模块430,用于向所述第一家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制所述第一家居设备执行所述目标动作;第二处理模块440,用于若所述控制指令中包括第二指令,获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备;订阅模块450,用于向所述第二家居设备通信连接的厂商服务器发送订阅请求,用于通知该厂商服务器当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。The embodiment of the present application also provides a smart home scheduling device 400, which is applied to a terminal server. As shown in FIG. 7, the device 400 includes: an instruction receiving module 410, configured to receive a control instruction sent by a terminal; a first processing module 420, configured to obtain a first instruction in the first instruction if the control instruction includes a first instruction The target action and the household device used to execute the target action are used as the first household device; the request sending module 430 is used to send a control request to the manufacturer server to which the first household device is in communication, for notifying the manufacturer server to control the office The first household device executes the target action; the second processing module 440 is configured to, if the control instruction includes a second instruction, obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the first Two household equipment; a subscription module 450, configured to send a subscription request to the vendor server to which the second household device is in communication, used to notify the vendor server when the environmental information collected by the second household device meets the execution conditions , Feedback to the terminal server.
可选的,请求发送模块430可以包括标识获取到单元,用于从所述第一指令中获取所述第一家居设备的设备标识;查找单元,用于根据设备标识与厂商标识之间的对应关系,查找所述设备标识对应的厂商标识;请求单元,用于向所述厂商标识对应的厂商服务器发送控制请求。Optionally, the request sending module 430 may include an identification acquiring unit, configured to acquire the device identification of the first household device from the first instruction; and a searching unit, configured according to the correspondence between the device identification and the manufacturer identification Relationship, search for the manufacturer ID corresponding to the device ID; the request unit is used to send a control request to the manufacturer server corresponding to the manufacturer ID.
可选的,该装置还可以包括条件接收模块,用于接收第二家居设备通信连接的厂商服务器返回的执行条件满足信息;查找模块,用于根据所述第二指令,查找满足所述执行条件时需要执行的指定动作以及该指定动作对应的第三家居设备;所述请求发送模块,还用于向查找到的第三家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制该第三家居设备执行所述指定动作。Optionally, the device may further include a condition receiving module, which is used to receive the execution condition satisfaction information returned by the manufacturer's server to which the second household equipment is communicatively connected; and the search module is used to search for satisfying the execution condition according to the second instruction The specified action that needs to be executed at the time and the third household device corresponding to the specified action; the request sending module is also used to send a control request to the found vendor server that is in communication with the third household device to notify the vendor server to control The third household device executes the specified action.
可选的,该装置还可以包括时间确定模块,用于确定所述第一指令的执行时间要求,判断当前时间是否满足所述执行时间要求。Optionally, the device may further include a time determining module, configured to determine the execution time requirement of the first instruction and determine whether the current time meets the execution time requirement.
可选的,时间确定模块还可以用于确定所述第二指令的执行时间要求。订阅模块450可以用于向所述第二家居设备通信连接的厂商服务器发送携带该执行时间要求的订阅请求,用于通知该厂商服务器在满足该执行时间要求的情况下,当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。Optionally, the time determining module may also be used to determine the execution time requirement of the second instruction. The subscription module 450 may be used to send a subscription request carrying the execution time requirement to the vendor server of the second home appliance communication connection, and is used to notify the vendor server that when the second home appliance server meets the execution time requirement, when the second home appliance When the environmental information collected by the device meets the execution condition, it is fed back to the terminal server.
可选的,该装置还包括查询反馈模块,用于接收终端发送的设备标识查询请求;向所述终端返回设 备名称与设备标识的对应关系,以用于所述终端根据所述对应关系查找接收到的设备名称对应的设备标识。Optionally, the device further includes a query feedback module for receiving a device identification query request sent by the terminal; and returning the corresponding relationship between the device name and the device identifier to the terminal for the terminal to find and receive according to the corresponding relationship. The device ID corresponding to the device name.
可选的,查询反馈模块还可以接收终端发送的动作代码查询请求;向所述终端返回动作名称与动作代码之间的对应关系,以用于所述终端根据接收到的动作名称查询该动作名称对应的动作代码,根据该动作代码发送控制指令。Optionally, the query feedback module may also receive an action code query request sent by the terminal; return the corresponding relationship between the action name and the action code to the terminal, so that the terminal can query the action name according to the received action name Corresponding action code, according to the action code to send control instructions.
可选的,该装置还可以包括状态接收模块,用于接收厂商服务器返回的所述第一家居设备的当前状态;将所述第一家居设备的当前状态发送给所述终端。Optionally, the device may further include a status receiving module, configured to receive the current status of the first household equipment returned by the manufacturer's server; and send the current status of the first household equipment to the terminal.
可选的,该装置还可以包括取消模块,用于接收该第二家居设备通信连接的厂商服务器返回的不满足所述执行条件的反馈信息;向所述第三家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制该第三家居设备取消所述指定动作的执行。Optionally, the device may further include a cancellation module, configured to receive feedback information that does not meet the execution condition returned by the manufacturer server of the second household device communication connection; and send to the manufacturer server of the third household device communication connection The control request is used to notify the vendor server to control the third household device to cancel the execution of the specified action.
在本申请实施例提供的智能家居调度方法、装置、系统、服务器及存储介质中,终端和终端服务器通信连接,终端服务器和多个厂商服务器通信连接。当接收到终端的控制指令,终端服务器根据控制指令中家居设备所属厂商,向相应的厂商服务器发送交互数据,以通过相应的厂商服务器对家居设备进行控制,或者从相应的厂商服务器获取家居设备的状态、获取家居设备采集的数据。当控制指令中包括与属于不同厂商的家居设备的数据交互,终端服务器根据设备所属的不同厂商,批量将请求发送到不同设备厂商,既使终端服务器通过一个客户的实现控制指令的发送,降低终端的操作难度,减少了客户端接入不同厂商的成本,改善了用户添加多个智能厂商设备的体验,可对多个设备进行灵活调度,同时构建智能化的场景体验;另外,又实现了对不同厂商的家居设备的整合,组合多个厂商的设备查询、订阅、控制接口,可以实现跨设备厂商调度、丰富场景调度功能。In the smart home scheduling method, device, system, server, and storage medium provided by the embodiments of the present application, the terminal is in communication connection with the terminal server, and the terminal server is in communication connection with the servers of multiple manufacturers. When receiving a control command from the terminal, the terminal server sends interactive data to the corresponding manufacturer’s server according to the manufacturer of the household equipment in the control command, so as to control the household equipment through the corresponding manufacturer’s server, or obtain the information of the household equipment from the corresponding manufacturer’s server. Status, obtain data collected by household equipment. When the control instruction includes data interaction with household equipment belonging to different manufacturers, the terminal server sends requests to different equipment manufacturers in batches according to the different manufacturers to which the equipment belongs. Even if the terminal server sends control instructions through one client, the terminal The difficulty of operation reduces the cost of client access to different vendors, and improves the user experience of adding multiple smart vendors’ devices. Multiple devices can be flexibly scheduled, and an intelligent scene experience can be built at the same time; The integration of home furnishing equipment from different manufacturers and the combination of multiple manufacturers’ equipment query, subscription, and control interfaces can realize cross-equipment manufacturer scheduling and rich scene scheduling functions.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述的各个方法实施例之间可以相互参照;每个方法实施例中各个实施方式之间也可以相互参照。上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for convenience and brevity of description, the various method embodiments described above may refer to each other; each method embodiment may also refer to each other in each method embodiment. For the specific working process of the above described device and module, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In the several embodiments provided in this application, the coupling between the modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
请参考图8,其示出了本申请实施例提供的一种服务器500的结构框图。该服务器500可以是终端服务器或者任意一个厂商服务器。该服务器500一个或多个处理器510(图中仅示出一个),存储器520以及一个或多个程序。其中,所述一个或多个程序被存储在所述存储器520中,并被配置为由所述一个或多个处理器510执行。所述一个或多个程序配置用于执行前述实施例所描述的方法。Please refer to FIG. 8, which shows a structural block diagram of a server 500 provided by an embodiment of the present application. The server 500 may be a terminal server or any vendor server. The server 500 has one or more processors 510 (only one is shown in the figure), a memory 520 and one or more programs. The one or more programs are stored in the memory 520 and configured to be executed by the one or more processors 510. The one or more programs are configured to execute the methods described in the foregoing embodiments.
在本申请实施例中,该一个或多个程序可以分别为应用程序以及各个快应用。In the embodiment of the present application, the one or more programs may be application programs and various quick applications respectively.
处理器510可以包括一个或者多个处理核。处理器510利用各种接口和线路连接整个服务器 500内的各个部分,通过运行或执行存储在存储器520内的指令、程序、代码集或指令集,以及调用存储在存储器520内的数据,执行服务器500的各种功能和处理数据。可选地,处理器510可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器510可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。The processor 510 may include one or more processing cores. The processor 510 uses various interfaces and lines to connect various parts of the entire server 500, and executes the server by running or executing instructions, programs, code sets, or instruction sets stored in the memory 520, and calling data stored in the memory 520. 500's various functions and processing data. Optionally, the processor 510 may use at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 510 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
存储器520可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器520可用于存储指令、程序、代码、代码集或指令集。存储器520可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令、用于实现上述各个方法实施例的指令等。存储数据区还可以服务器在使用中所创建的数据等。The memory 520 may include random access memory (RAM) or read-only memory (Read-Only Memory). The memory 520 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 520 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing each of the foregoing method embodiments, and the like. The data storage area can also store data created by the server in use.
请参考图9,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读存储介质600中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 9, which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable storage medium 600 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment.
计算机可读存储介质600可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质600包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质600具有执行上述方法中的任何方法步骤的程序代码610的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码610可以例如以适当形式进行压缩。The computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 600 has a storage space for the program code 610 for executing any method steps in the above methods. These program codes can be read out from or written into one or more computer program products. The program code 610 may be compressed in a suitable form, for example.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种智能家居调度方法,其特征在于,应用于终端服务器,多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,所述方法包括:A smart home scheduling method, characterized in that it is applied to a terminal server, multiple manufacturer servers communicate with the terminal server according to the same communication protocol of the terminal server, and different manufacturer servers communicate with the home according to their respective communication protocols. Device communication connection, the method includes:
    接收终端发送的控制指令;Receive control instructions sent by the terminal;
    若所述控制指令中包括第一指令,获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,If the control instruction includes the first instruction, acquire the target action in the first instruction and the household device used to execute the target action as the first household device,
    向所述第一家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制所述第一家居设备执行所述目标动作;Sending a control request to the manufacturer server to which the first household device is in communication connection, for informing the manufacturer server to control the first household device to execute the target action;
    若所述控制指令中包括第二指令,获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,If the control instruction includes a second instruction, obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device,
    向所述第二家居设备通信连接的厂商服务器发送订阅请求,用于通知该厂商服务器当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。Sending a subscription request to the manufacturer server to which the second household device is communicatively connected is used to notify the manufacturer server to feed back to the terminal server when the environmental information collected by the second household device meets the execution condition.
  2. 根据权利要求1所述的方法,其特征在于,所述获取第一指令中的目标动作以及用于执行该目标动作的家居设备之前,还包括:The method according to claim 1, wherein before acquiring the target action in the first instruction and the household equipment used to execute the target action, the method further comprises:
    确定所述第一指令的执行时间要求;Determine the execution time requirement of the first instruction;
    判断当前时间是否满足所述执行时间要求,Determine whether the current time meets the execution time requirements,
    若满足,执行所述获取第一指令中的目标动作以及用于执行该目标动作的家居设备的步骤。If it is satisfied, execute the step of acquiring the target action in the first instruction and the household equipment used to execute the target action.
  3. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, wherein:
    若当前时间不满足所述执行时间要求,等待到满足所述执行时间要求的时刻,执行所述获取第一指令中的目标动作以及用于执行该目标动作的家居设备的步骤。If the current time does not meet the execution time requirement, wait until the execution time requirement is met, and execute the step of acquiring the target action in the first instruction and the household equipment used to execute the target action.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述向所述第一家居设备通信连接的厂商服务器发送控制请求,包括:The method according to any one of claims 1 to 3, wherein the sending a control request to the vendor server to which the first household device is communicatively connected comprises:
    从所述第一指令中获取所述第一家居设备的设备标识;Acquiring the device identifier of the first household device from the first instruction;
    根据设备标识与厂商标识之间的对应关系,查找所述设备标识对应的厂商标识;According to the corresponding relationship between the device ID and the manufacturer ID, search for the manufacturer ID corresponding to the device ID;
    向所述厂商标识对应的厂商服务器发送控制请求。Send a control request to the vendor server corresponding to the vendor identifier.
  5. 根据权利要求4所述的方法,其特征在于,所述接收终端发送的控制指令之前,还包括:The method according to claim 4, wherein before said receiving the control instruction sent by the terminal, the method further comprises:
    接收终端发送的设备标识查询请求;Receiving the device identification query request sent by the terminal;
    向所述终端返回设备名称与设备标识的对应关系,以用于所述终端根据所述对应关系查找接收到的设备名称对应的设备标识。The corresponding relationship between the device name and the device identifier is returned to the terminal for the terminal to find the device identifier corresponding to the received device name according to the corresponding relationship.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述目标动作为反馈所述第一家居设备的当前状态,所述方法还包括:The method according to any one of claims 1-5, wherein the target action is to feed back the current state of the first household device, and the method further comprises:
    接收厂商服务器返回的所述第一家居设备的当前状态;Receiving the current state of the first household device returned by the manufacturer's server;
    将所述第一家居设备的当前状态发送给所述终端。Sending the current state of the first household device to the terminal.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述目标动作还包括,将所述第一家居设备的状态调整到指定状态。The method according to any one of claims 1-6, wherein the target action further comprises adjusting the state of the first household device to a specified state.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    接收第二家居设备通信连接的厂商服务器返回的执行条件满足信息;Receiving the execution condition satisfaction information returned by the manufacturer's server that is in communication with the second household device;
    根据所述第二指令,查找满足所述执行条件时需要执行的指定动作以及该指定动作对应的第三家居设备;According to the second instruction, search for a specified action that needs to be executed when the execution condition is met and a third household device corresponding to the specified action;
    向查找到的第三家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制该第三家居设备执行所述指定动作。Send a control request to the found vendor server that is in communication with the third household device, for informing the vendor server to control the third household device to perform the specified action.
  9. 根据权利要求8所述的方法,其特征在于,所述向查找到的第三家居设备通信连接的厂商服务器发送控制请求之后,还包括:The method according to claim 8, characterized in that, after sending a control request to the found vendor server of the third household device communication connection, the method further comprises:
    接收该第二家居设备通信连接的厂商服务器返回的不满足所述执行条件的反馈信息;Receiving feedback information that does not meet the execution condition returned by the manufacturer's server to which the second household device is in communication;
    向所述第三家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制该第三家居设备取消所述指定动作的执行。Sending a control request to the vendor server to which the third household device is in communication connection is used to notify the vendor server to control the third household device to cancel the execution of the specified action.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述向所述第二家居设备通信连接的厂商服务器发送订阅请求之前,还包括:The method according to any one of claims 1-9, wherein before the sending a subscription request to the vendor server to which the second household device is communicatively connected, the method further comprises:
    确定所述第二指令的执行时间要求;Determine the execution time requirement of the second instruction;
    所述向所述第二家居设备通信连接的厂商服务器发送订阅请求,包括:The sending a subscription request to the manufacturer's server to which the second household device is in communication connection includes:
    向所述第二家居设备通信连接的厂商服务器发送携带该执行时间要求的订阅请求,用于通知该厂商服务器在满足该执行时间要求的情况下,当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。Sending a subscription request carrying the execution time requirement to the manufacturer's server to which the second household device is in communication is used to notify the manufacturer server of the environmental information collected by the second household device when the execution time requirement is met When the execution condition is met, feedback to the terminal server.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述接收终端发送的控制指令之前,还包括:The method according to any one of claims 1-10, wherein before the receiving the control instruction sent by the terminal, the method further comprises:
    接收终端发送的动作代码查询请求;Receive the action code query request sent by the terminal;
    向所述终端返回动作名称与动作代码之间的对应关系,以用于所述终端根据接收到的动作名称查询该动作名称对应的动作代码,根据该动作代码发送控制指令。The corresponding relationship between the action name and the action code is returned to the terminal for the terminal to query the action code corresponding to the action name according to the received action name, and send a control command according to the action code.
  12. 一种智能家居调度方法,其特征在于,应用于智能家居调度系统,所述智能家居调度系统包括终端、终端服务器以及多个厂商服务器,所述终端与所述终端服务器网络连接,多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,所述方法包括:A smart home scheduling method, characterized in that it is applied to a smart home scheduling system. The smart home scheduling system includes a terminal, a terminal server, and multiple manufacturer servers. The terminal is connected to the terminal server in a network, and the multiple manufacturer servers According to the same communication protocol of the terminal server, respectively communicate and connect with the terminal server, and the servers of different manufacturers communicate with the household equipment according to their respective communication protocols, and the method includes:
    所述终端服务器接收终端发送的控制指令;The terminal server receives the control instruction sent by the terminal;
    若所述控制指令中包括第一指令,所述终端服务器获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,If the control instruction includes the first instruction, the terminal server obtains the target action in the first instruction and the household device used to execute the target action as the first household device,
    所述终端服务器向所述第一家居设备通信连接的厂商服务器发送控制请求,The terminal server sends a control request to the manufacturer server to which the first household device is in communication connection,
    接收到该控制请求的厂商服务器控制所述第一家居设备执行所述目标动作;The vendor server that receives the control request controls the first household device to execute the target action;
    若所述控制指令中包括第二指令,所述终端服务器获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,If the control instruction includes a second instruction, the terminal server obtains the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device,
    所述终端服务器向所述第二家居设备通信连接的厂商服务器发送订阅请求,Sending, by the terminal server, a subscription request to the manufacturer server to which the second household device is in communication connection,
    接收到订阅请求的厂商服务器在所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。The vendor server that receives the subscription request feeds back to the terminal server when the environmental information collected by the second household device meets the execution condition.
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method of claim 12, wherein the method further comprises:
    所述终端接收用户的控制操作;The terminal receives a user's control operation;
    所述终端根据所述控制操作,向所述终端服务器发送控制指令。The terminal sends a control instruction to the terminal server according to the control operation.
  14. 根据权利要求12或13所述的方法,其特征在于,所述方法还包括:The method according to claim 12 or 13, wherein the method further comprises:
    所述终端服务器接收第二家居设备通信连接的厂商服务器返回的执行条件满足信息;The terminal server receives the execution condition satisfaction information returned by the manufacturer server to which the second household device is in communication;
    所述终端服务器根据所述第二指令,查找满足所述执行条件时需要执行的指定动作以及该指定动作对应的第三家居设备;According to the second instruction, the terminal server searches for a specified action that needs to be executed when the execution condition is satisfied and a third household device corresponding to the specified action;
    所述终端服务器向查找到的第三家居设备通信连接的厂商服务器发送控制请求;The terminal server sends a control request to the found vendor server of the third household device communication connection;
    接收到控制请求的该厂商服务器控制所述第三家居设备执行所述指定动作。The vendor server that receives the control request controls the third household device to execute the specified action.
  15. 一种智能家居调度装置,其特征在于,应用于终端服务器,多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,所述装置包括:A smart home dispatching device, which is characterized in that it is applied to a terminal server. Multiple manufacturer servers communicate with the terminal server according to the same communication protocol of the terminal server, and different manufacturer servers communicate with the home according to their respective communication protocols. Device communication connection, the device includes:
    指令接收模块,用于接收终端发送的控制指令;Instruction receiving module for receiving control instructions sent by the terminal;
    第一处理模块,用于若所述控制指令中包括第一指令,获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,The first processing module is configured to, if the control instruction includes the first instruction, obtain the target action in the first instruction and the household device used to execute the target action as the first household device,
    请求发送模块,用于向所述第一家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制所述第一家居设备执行所述目标动作;The request sending module is configured to send a control request to the manufacturer server to which the first household device is in communication, and is used to notify the manufacturer server to control the first household device to execute the target action;
    第二处理模块,用于若所述控制指令中包括第二指令,获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,The second processing module is configured to, if the control instruction includes the second instruction, obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device,
    订阅模块,用于向所述第二家居设备通信连接的厂商服务器发送订阅请求,用于通知该厂商服务器当所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。The subscription module is configured to send a subscription request to the vendor server that the second household device is in communication with, and is used to notify the vendor server to notify the terminal when the environmental information collected by the second household device meets the execution condition. Server feedback.
  16. 根据权利要求15所述的装置,其特征在于,请求发送模块包括:The device according to claim 15, wherein the request sending module comprises:
    标识获取到单元,用于从所述第一指令中获取所述第一家居设备的设备标识;An identification acquiring unit, configured to acquire the device identification of the first household device from the first instruction;
    查找单元,用于根据设备标识与厂商标识之间的对应关系,查找所述设备标识对应的厂商标识;The searching unit is configured to search for the manufacturer ID corresponding to the device ID according to the corresponding relationship between the device ID and the manufacturer ID;
    请求单元,用于向所述厂商标识对应的厂商服务器发送控制请求。The request unit is used to send a control request to the vendor server corresponding to the vendor identifier.
  17. 根据权利要求15或16所述的装置,其特征在于,所述装置还包括:The device according to claim 15 or 16, wherein the device further comprises:
    条件接收模块,用于接收第二家居设备通信连接的厂商服务器返回的执行条件满足信息;The condition receiving module is configured to receive the execution condition satisfaction information returned by the manufacturer's server to which the second household device is in communication;
    查找模块,用于根据所述第二指令,查找满足所述执行条件时需要执行的指定动作以及该指定动作对应的第三家居设备;The search module is configured to search for a specified action that needs to be executed when the execution condition is satisfied and the third household equipment corresponding to the specified action according to the second instruction;
    所述请求发送模块,还用于向查找到的第三家居设备通信连接的厂商服务器发送控制请求,用于通知该厂商服务器控制该第三家居设备执行所述指定动作。The request sending module is further configured to send a control request to the found vendor server of the third household device communication connection, for informing the vendor server to control the third household device to perform the specified action.
  18. 一种智能家居调度系统,其特征在于,包括终端、终端服务器以及多个厂商服务器,所述终端与所述终端服务器网络连接,所述多个厂商服务器根据所述终端服务器的同一通信协议分别与所述终端服务器进行通信连接,不同的厂商服务器根据各自的通信协议与家居设备通信连接,每个家居设备连接一个厂商服务器,其中,A smart home dispatching system, characterized in that it includes a terminal, a terminal server, and multiple manufacturer servers, the terminal is connected to the terminal server in a network, and the multiple manufacturer servers are connected to the terminal server according to the same communication protocol. The terminal server performs a communication connection, and different manufacturer servers communicate with the household equipment according to their respective communication protocols, and each household equipment is connected to a manufacturer server, where,
    所述终端服务器用于接收终端发送的控制指令;The terminal server is used to receive a control instruction sent by a terminal;
    若所述控制指令中包括第一指令,所述终端服务器用于获取第一指令中的目标动作以及用于执行该目标动作的家居设备,作为第一家居设备,If the control instruction includes the first instruction, the terminal server is used to obtain the target action in the first instruction and the household device used to execute the target action as the first household device,
    所述终端服务器用于向所述第一家居设备通信连接的厂商服务器发送控制请求,The terminal server is used to send a control request to the manufacturer server to which the first household device is in communication,
    接收到该控制请求的厂商服务器用于控制所述第一家居设备执行所述目标动作;The vendor server that receives the control request is used to control the first household device to execute the target action;
    若所述控制指令中包括第二指令,所述终端服务器用于获取第二指令中的执行条件以及所述执行条件对应的家居设备,作为第二家居设备,If the control instruction includes a second instruction, the terminal server is used to obtain the execution condition in the second instruction and the household device corresponding to the execution condition as the second household device,
    所述终端服务器用于向所述第二家居设备通信连接的厂商服务器发送订阅请求,The terminal server is configured to send a subscription request to the manufacturer server to which the second household device is in communication,
    接收到订阅请求的厂商服务器用于在所述第二家居设备采集到的环境信息满足所述执行条件时,向所述终端服务器反馈。The vendor server that receives the subscription request is used to feed back to the terminal server when the environmental information collected by the second household device meets the execution condition.
  19. 一种服务器,其特征在于,包括:A server, characterized in that it comprises:
    一个或多个处理器;One or more processors;
    存储器;Memory
    一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-11任一项所述的方法。One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute as claimed The method of any one of 1-11.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-11任一项所述的方法。A computer-readable storage medium, wherein a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the method according to any one of claims 1-11.
PCT/CN2019/082514 2019-04-12 2019-04-12 Smart home scheduling method, apparatus and system, server and storage medium WO2020206693A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980089697.5A CN113330724A (en) 2019-04-12 2019-04-12 Intelligent home scheduling method, device, system, server and storage medium
PCT/CN2019/082514 WO2020206693A1 (en) 2019-04-12 2019-04-12 Smart home scheduling method, apparatus and system, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/082514 WO2020206693A1 (en) 2019-04-12 2019-04-12 Smart home scheduling method, apparatus and system, server and storage medium

Publications (1)

Publication Number Publication Date
WO2020206693A1 true WO2020206693A1 (en) 2020-10-15

Family

ID=72750811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/082514 WO2020206693A1 (en) 2019-04-12 2019-04-12 Smart home scheduling method, apparatus and system, server and storage medium

Country Status (2)

Country Link
CN (1) CN113330724A (en)
WO (1) WO2020206693A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286067A (en) * 2020-10-29 2021-01-29 深圳创维-Rgb电子有限公司 Intelligent household control method, device, server and readable storage medium
CN112764351A (en) * 2020-12-18 2021-05-07 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent device, electronic device and storage medium
CN112783001A (en) * 2021-01-08 2021-05-11 珠海格力电器股份有限公司 Water quality treatment method, device, server and storage medium
CN113110147A (en) * 2021-03-31 2021-07-13 青岛海尔科技有限公司 Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium
CN113625574A (en) * 2021-07-19 2021-11-09 青岛海尔科技有限公司 Control method, device and equipment of intelligent household equipment and storage medium
CN113757976A (en) * 2021-09-14 2021-12-07 重庆海尔空调器有限公司 Air conditioner Internet of things control method, control system, electronic equipment and storage medium
CN114035443A (en) * 2021-11-22 2022-02-11 上海富芮坤微电子有限公司 Intelligent household control system and method based on Bluetooth communication
CN114115074A (en) * 2021-12-10 2022-03-01 珠海格力电器股份有限公司 Device control method and device, computer readable storage medium, processor
CN114153153A (en) * 2021-12-13 2022-03-08 珠海格力电器股份有限公司 Device control method, system, apparatus, electronic device, and storage medium
CN114513561A (en) * 2022-02-16 2022-05-17 拉扎斯网络科技(上海)有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium
CN115225420A (en) * 2022-07-18 2022-10-21 深圳市华曦达科技股份有限公司 Security linkage method and device for intelligent household equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113985743A (en) * 2021-09-26 2022-01-28 青岛海尔科技有限公司 Equipment control method, device and system, storage medium and electronic device
CN114137843A (en) * 2021-11-15 2022-03-04 青岛海尔科技有限公司 Equipment control method, device, terminal, server and storage medium
CN115174299B (en) * 2022-06-13 2024-04-09 海信集团控股股份有限公司 Binding method of household equipment and electronic equipment
CN115884004B (en) * 2023-01-28 2023-05-23 北京蓝色星际科技股份有限公司 Security equipment control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159133A (en) * 2015-10-14 2015-12-16 北京幻腾科技有限公司 Control method of smart home system, server, and system
CN105306677A (en) * 2015-09-14 2016-02-03 北京奇虎科技有限公司 Method, apparatus and system for controlling intelligent device
US20170346649A1 (en) * 2016-05-31 2017-11-30 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device
CN107493211A (en) * 2017-08-29 2017-12-19 海信集团有限公司 The control method and device of intelligent home device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807617B (en) * 2014-12-30 2018-11-02 西安Tcl软件开发有限公司 The control method and device of smart home device
CN107608225A (en) * 2017-09-29 2018-01-19 深圳市艾特智能科技有限公司 Control method, system, storage medium and the computer equipment of intelligent home device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306677A (en) * 2015-09-14 2016-02-03 北京奇虎科技有限公司 Method, apparatus and system for controlling intelligent device
CN105159133A (en) * 2015-10-14 2015-12-16 北京幻腾科技有限公司 Control method of smart home system, server, and system
US20170346649A1 (en) * 2016-05-31 2017-11-30 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device
CN107493211A (en) * 2017-08-29 2017-12-19 海信集团有限公司 The control method and device of intelligent home device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286067A (en) * 2020-10-29 2021-01-29 深圳创维-Rgb电子有限公司 Intelligent household control method, device, server and readable storage medium
CN112764351A (en) * 2020-12-18 2021-05-07 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent device, electronic device and storage medium
CN112783001A (en) * 2021-01-08 2021-05-11 珠海格力电器股份有限公司 Water quality treatment method, device, server and storage medium
CN112783001B (en) * 2021-01-08 2022-02-08 珠海格力电器股份有限公司 Water quality treatment method, device, server and storage medium
CN113110147B (en) * 2021-03-31 2022-09-06 青岛海尔科技有限公司 Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium
CN113110147A (en) * 2021-03-31 2021-07-13 青岛海尔科技有限公司 Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium
CN113625574A (en) * 2021-07-19 2021-11-09 青岛海尔科技有限公司 Control method, device and equipment of intelligent household equipment and storage medium
CN113757976A (en) * 2021-09-14 2021-12-07 重庆海尔空调器有限公司 Air conditioner Internet of things control method, control system, electronic equipment and storage medium
CN113757976B (en) * 2021-09-14 2022-11-18 重庆海尔空调器有限公司 Air conditioner Internet of things control method, control system, electronic equipment and storage medium
CN114035443A (en) * 2021-11-22 2022-02-11 上海富芮坤微电子有限公司 Intelligent household control system and method based on Bluetooth communication
CN114035443B (en) * 2021-11-22 2023-10-31 上海富芮坤微电子有限公司 Intelligent home control system and method based on Bluetooth communication
CN114115074A (en) * 2021-12-10 2022-03-01 珠海格力电器股份有限公司 Device control method and device, computer readable storage medium, processor
CN114153153A (en) * 2021-12-13 2022-03-08 珠海格力电器股份有限公司 Device control method, system, apparatus, electronic device, and storage medium
CN114153153B (en) * 2021-12-13 2024-05-03 珠海格力电器股份有限公司 Device control method, system, device, electronic device and storage medium
CN114513561A (en) * 2022-02-16 2022-05-17 拉扎斯网络科技(上海)有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium
CN115225420A (en) * 2022-07-18 2022-10-21 深圳市华曦达科技股份有限公司 Security linkage method and device for intelligent household equipment

Also Published As

Publication number Publication date
CN113330724A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
WO2020206693A1 (en) Smart home scheduling method, apparatus and system, server and storage medium
WO2020223854A1 (en) Device network configuration method and apparatus, electronic device and storage medium
US10264424B2 (en) Information processing method and central control device
CN113348725B (en) Device operation method, device, gateway, electronic device and computer readable medium
CN106487928B (en) Message pushing method and device
CN106909081B (en) Household electrical appliance and expansion platform based on same
US20220052866A1 (en) Smart home system control method and apparatus, electronic device
CN113572799B (en) Method and device for accessing equipment to control platform and server
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
CN112751699B (en) OTA upgrading and upgrading management method, equipment, network and storage medium
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
WO2015137740A1 (en) Home network system using robot and control method thereof
CN113254038B (en) Upgrade confirmation method, server, line controller and mobile terminal
CN111965989B (en) System updating method and device, intelligent home control panel and storage medium
CN110808044A (en) Voice control method and device for intelligent household equipment, electronic equipment and storage medium
CN110824948A (en) Intelligent household control method and device based on IOT virtual service
CN113031452B (en) Method and system for batch processing of intelligent household equipment control instructions
WO2020228033A1 (en) Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
CN113053369A (en) Voice control method and device of intelligent household appliance and intelligent household appliance
CN113986349A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN116055538A (en) Control method and device of Internet of things equipment, terminal equipment and storage medium
CN112019409B (en) Equipment distribution network processing method, equipment distribution network processing device and electronic equipment
CN113179197B (en) Household appliance resource sharing method, household appliance resource sharing device and storage device
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
CN113835347A (en) Equipment state management method and device

Legal Events

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

Ref document number: 19924507

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/02/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19924507

Country of ref document: EP

Kind code of ref document: A1